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
Vinothini murugesh 10Vinothini murugesh 10 

System.UnexpectedException: Search Term exceeded max length: in apex class

I am getting maximum lenght error in below line in my code. String sosl = 'FIND {' + String.join(new List(SAPs),' OR ') + '} IN ALL FIELDS RETURNING Contact (Id)';
my SAP contains 3125 SAP numbers. and it is trying to find the contact id of all