function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ChitraChitra 

SOSL and QueryMore

We are trying to query for huge set of data with SOSL. As the data set is huge , it times out even before the entire set is retrieved . Org session timeout is max at 8hrs. Is there any way to kinda QueryMore into this set.

We tried the SOQL , but this is quering more than one table and the performance is bad.. So is there a way to do SOSL and retreive some small subset of data and not the entire set and still not timeout??

Thanks,

Chitra

 

DevAngelDevAngel
Nope, SOSL is used for search where you do not have specific criteria.  Query More only exists for Query.
ChitraChitra

Thanks Dave

Chitra

benjasikbenjasik
SOSL was never designed for large result sets. You should be using SOQL for big sets
ChitraChitra

Yes, we switched back to SOQL

Thanks,

Chitra