Results 1 to 6 of 6

Thread: Searching bugs

  1. #1
    george_bbch is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    Switzerland
    Posts
    349

    Default Searching bugs

    Hi,

    Are there any instructions for searching bugs by keywords? I'd like to know:
    - if the search includes all recorded info: the bug name, description and notes (subject and text) or only some of it
    - how to search for multiple keywords (use AND / OR operators, commas, wildcards, etc)

    Suggestions (feature requests):
    - saved searches
    - export search results (including description and notes)

    Thanks,
    George

  2. #2
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Searching bugs

    Hello george_bbch,

    I believe we are using MySQL's FULLTEXT search for the 'Keywords' column. The search is being performed against the bug's name and description fields, and is run as a natural language search, so no special operators (AND/OR) are available.

    Eventually we'll be moving to Sugar's new portal framework, so I expect some of the features you suggested will be present.
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  3. #3
    margreet is offline Junior Member
    Join Date
    Mar 2007
    Posts
    3

    Default Re: Searching bugs

    HI,
    I have problems with searching.

    For example:
    In the advanced search option I type in one word of an account.

    what do I expect
    That Sugar is presenting all the result with that word in it.

    what do I get
    I don't get anything, because I need to write in the search engine the exact first word the accountname starts with.

    conclusion
    This is not very practical. Do I do something wrong? Do I miss something?

    Please let me know.

  4. #4
    Join Date
    Feb 2007
    Location
    San Jose, CA
    Posts
    1,169

    Default Re: Searching bugs

    Hi there,


    This thread has to do with searching the bugs portal and not searching within Sugar itself, but I think I can give you an answer to your question.

    Put a percent (%) sign before your first keyword. That will signify that you want to find that keyword somewhere within the string. For example, to search for my name (Susie Williams) I could type this:

    %usie
    %Williams

    (you get the idea).

    Hope this helps.
    Susie Williams

  5. #5
    margreet is offline Junior Member
    Join Date
    Mar 2007
    Posts
    3

    Default Re: Searching bugs

    He Susie,

    Thanks a lot!
    It's working. Great.

    Maybe you can also tell me where I can customize the search engine?
    I would like to add a pulldown menu I made instead of the pulldown menu 'industry'.

    Please let me know!
    Margreet
    Last edited by margreet; 2007-06-28 at 10:05 AM.

  6. #6
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Searching bugs

    Hello Margreet,

    I believe the setup() function in ./include/SearchForm/SearchForm.php is responsible for pulling dropdown lists. This is where you would make your customization.

    Also, please keep in mind that this code will all be changing when Sugar 5.0 is released. If you'd like to access a Developer Preview to begin looking through the code, check here:

    http://www.sugarforge.org/projects/sugardevbuild50/
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •