Loading

Difference between SOSL and SOQL search types

Publiceringsdatum: Oct 13, 2022
Beskrivning
What are the key differences between SOQL and SOSL?
SOQL and SOSL Reference
Lösning
 There are two different types of search languages in Salesforce. SOSL & SOQL. The chart below describes the differences.
 
SOQL vs SOSL
 SOQLSOSL
Full NameSalesforce Object Query LanguageSalesforce Object Search Language
Used In:List Views, Reports, Apex(Global, Sidebar, Advanced) Search, Apex
Indexing Happens:Synchronously (Can have Custom Indexes or Standard Indexes)Happens Asynchronously. Usually 2-3 min. If over 9000 records loaded at one time, the excess are moved to the bulk index queue. (slower).
Search Focus:Accuracy. Gives full set of results that match criteria. Relevance & Speed. Similar to Google Search. Weightage placed on recently viewed records. 
Search ScopeCan search 1 object at a time.Can search multiple objects at a time. 
Knowledge-artikelnummer

000385852

 
Laddar
Salesforce Help | Article