Global Search & Sidebar Search

Global Search

Note: this article discusses search in the context of Salesforce Classic; search within the Lightning Experience is discussed in the [link id=4022] section.

Global Search is automatically enabled when Chatter is enabled.  It cannot be enabled otherwise.  As you can see, the position of the search bar is above the tabs.  Global Search returns personalized results, based on which records a user views most (opportunities are placed at the top if the user views opportunity most frequently).

Global Search will return more search results than sidebar search, as it indexes most custom fields and additional data (including articles, documents, products, and more).

1-23-2013 3-16-57 PM

Sidebar Search

When Chatter is disabled, sidebar search is present.  Sidebar search does not return personalized results.  It also returns fewer search results than Global Search, as it indexes only select fields (name, address, phone, email, custom fields that are either unique or an external id).

1-23-2013 3-19-36 PM

Example

Here’s an account with a unique value populated in custom field “SLA Serial Number”:

1-23-2013 3-33-53 PM

Global Search

Global Search indexes custom fields, therefore search results are returned:

1-23-2013 3-33-08 PM

Sidebar Search

Disabling Chatter changes the org to sidebar search, which does not index most custom fields.  Therefore the same search using sidebar search returns no results:1-23-2013 3-24-05 PM

Comparison Summary

[sc:link id=https://help.salesforce.com/apex/HTViewHelpDoc?id=search_limitations.htm&language=en_US text=”Limitations for Search in Salesforce Classic”]
[Should / Long / Salesforce.com]

[twocol_one][table id=36 /][/twocol_one] [twocol_one_last][table id=37/][/twocol_one_last]

19 thoughts on “Global Search & Sidebar Search”

  1. What could cause search results in a Global search to not display records (or even have them show up in the record count for an object) that you know for a fact are there? I’ve had this happen on more than one occasion.

    1. Not having access to the record (from a security standpoint), having the tab where the record is stored hidden from the user – there are probably other reasons this would occur, but those are the first places I would check.

    1. Got the Answer , Once i un-check enable checkbox in chatter settings and save , Global search is disabled and Sidebar search and Advanced search are available.

  2. I’m a bit confused about the relationship between “Chatter” and “Global Search”. Your information seems to indicate if you DO NOT have Chatter enabled you DO NOT have access to Global Search. Is this correct?

  3. Somewhat confusing because under Sidebar Search you state that you can search custom fields that are either unique or an external id. Then you give an example of a field that is a unique number, and state that a Global Search would find it, a Sidebar Search would not. Seems contradictory.

    1. Ah I see what you mean – “unique” is a field-level specification (similar to an external ID).

      If you specify a field as “unique” then all values in that object MUST have unique values – AND search results are returned with sidebar search.

      However if you simply create a field (not required as unique) and all values in the field happen to be unique – then sidebar search would not search this field (as requiring unique values is what makes the field indexed).

    1. If you are using contact roles (e.g. a contact can be related to many accounts), then you would need to a use a trigger to copy the related contact names to a text field on the account.

      By default you should be able to search for a contact and see the related (single) account.

  4. so the assumption for the example is that “SLA Serial Number” field is configured such that both Unique & External ID checkboxes are set to false, correct?

Leave a Reply