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
MrBungleMrBungle 

Does SOSL have OFFSET capabilites?

I have a VF page that populates 2 page block tables. One with Contact info and one with Account info based on a phone number parameter. I am using SOSL because the phone number param is in ########## format (with no hyphen delimiters) and when using the "IN PHONE FIELDS" declaration it finds the records. If I used SOQL I would have to figure out a way to have the matching work because most of the phone numbers in the DB are in (###) ###-#### format. 

 

I would like to have pagination in the page block tables which would be easy if it was using SOQL because I could utilize the OFFSET feature. Is there any way that I could mimic this feature using SOSL?

 

Thank you.

Vinit_KumarVinit_Kumar

In short,NO.OFFSET is only available for SOQL not for SOSL.