+ 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