5 things about SOSL

Scenario 1: Name Search with __r use



Output:
lookup objects is User object and the user name of the record will get displayed in the log.



Scenario 2: Data Search(Custom text field search)


Output:
Custom field has "TestDataSearchKey", same will be dispplayed in the log.




Scenario 3.
Object must be searchable to use SOSL.




Scenario 4. 
"UserRecordAccess.HasRecordAccess" these fields are not allowed in SOSL.




Scenario 5. 
Time take to SOQL is 40-60ms then SOSL will take approximately 800-900msms

Comments