I am trying SOSL for first time and have some questions related to limits. As per document http://www.salesforce.com/us/developer/docs/soql_sosl/Content/sforce_api_calls_sosl_limit.htm It says, maximum no of records that can be returned in one query is 2000.
My question is:
Is this limit on per query or per API call. If I understand correctly, per query limit means no matter what I can not retrieve more than 2000 results for same search string while per API call limit means that search might have returned more than 2000 records but in one API call, I can retrieve only 2000 records. To get more records, I would have to make more API calls, something like 'SearchResult.hasMoreRecords' and get next set of search result records, though I see that
com.sforce.soap.enterprise.SearchResult
does not have any hasMoreRecords function or any function to get next set of results.What does Total number of SOSL queries issued: 20 mean? It's mentioned in www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm. Is it per day/per hour?
Any pointers to help me clarify this would be appreciated.
Thanks