Information and Questions about Unified Search (Global Search)

Good Day - thanks in advance for your time.
Version 7.7.9 Sugar Version 6.5.24 (Build 509)

I am trying to get some more information on the function/processes of ‘Unified Search’. Can you provide any good
links or pointers to documentation that will help educate me more on the subject?

  1. Global Search (Advanced) uses OR for the strings entered. Correct?

The issue that is being reported is that a search for an email address does not return the appropriate contact and is a lot of data (due to the OR, I think).

  1. A Global Search seems to default to the Advanced Search solution. Correct?

When a search is done, there is a specific test email that is being used, the Advanced Search does not return the Contact.
IF the ‘Use Basic Search’ is selected the results return the Contact. (The searched email address string is only in the Email Address as text for the Contact).

Here is an example:

  • I create an Account as “Account, Inc.”
  • I create a Contact as “A Person”
  • I add the email “ilovesuite@crm.test” as the email address for “A Person”

Then I do a Global Search for “ilovesuite@crm.test”

This returned results but not the Contact.

IF I select ‘Use Basic Search’, the Contact is found.

  1. So, why the difference?
  2. Does Global Search / Advanced look at the email address?
  3. Does there need to be some refresh or prime of a search set before emails can be found? How to do this?

Below are some of the URL I have read through:
(Not sure these are all correct detail for the SuiteCRM Version 7.7.9 Sugar Version 6.5.24 (Build 509) installed version but it was a start)

https://www.sugarcrm.com/feature/search-filters-tagging

https://developer.sugarcrm.com/tag/global-search/
https://developer.sugarcrm.com/2011/04/29/howto-add-custom-fields-into-the-global-search/

  1. Do I need to provide more details?

Thanks again for your attention.

Any feedback?

Is there a way to make the Basic Search be default?

I don’t know most of what you ask, but I know a few things that might help you find answers.

Advanced search is based on a package called Lucene Search. You can try to find about their syntax online.

Advanced search depends on your Scheduler jobs running correctly (you can check that in Admin > Schedulers), specifically a job called something like AOD Index and another called something like Lucene Search.

Finally, I seem to remember that you can tell SuiteCRM which fields to Index for each module. I don’t quite know where this is done, maybe from Studio? I think you could tick a checkbox called “searchable” to include the email field in the index (and, therefore, in the Search results).

I hope this helps.

1 Like

Ah it was a good idea. Yet the field for email in the Contact module in Studio does not have an option to make it Searchable.

I am going to dig into a means to add that field so it is searchable. Your feedback is helpful thanks.

All - any other input/solutions/feedback is welcome

Thanks

Maybe they don’t let you set it as searchable, because it is always searchable. I just tried searching by email address in my system and it worked just fine.

Are you sure your Sheduler jobs for indexing are running without errors?