You need to sign in to do that
Don't have an account?

Can we fetch 10000 records using SOSL query?
Using SOSL query we can fetch 2000 records, but can fetch 10000 records using SOSL query? If not possible then is there any other way to do so?
You need to sign in to do that
Don't have an account?
Thunder, what's the use case here?
SOQL limits the return to 50k. I'd opt for SOQL if you need more than 2k records - but the cross object searching is not an option with a single query.
Another option, is to run multiple SOSLs. For example, if you are searching Contacts and Accounts, instead of 1 SOSL for both objects, you could run 1 SOSL per object and then display the results after all the queries.
Thanks.
This question was only for knowledge purpose.