I have two queries
List<sobject> soslRecords1 = Search.query('FIND {I need help res*}
in all fields returning Incident__c (id)
where ID IN:rec_ids')[0];
List<sobject> soslRecords2 = Search.query('FIND {I need help res*}
in all fields returning Incident__c (id)')[0];
In first query rec_ids
is Set of 2000 Id's of Incident__c
object which returns 2000 matching records correctly, whereas from second query only 250 records are returning even if there are more than 2000 records in Incident__c object.
Can you please tell me why this is happening?