You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quite possible the server you're connecting to has a limit of 1000 per query. If this is true, you'll have to process that first thousand results and use OFFSET in your next query (to skip what you've already pulled.)
So where you were setting LIMIT_NONE and OFFSET_NONE, pass values.
GetTotal returns more than 80000 records, but when I do the while loop, it only process 1000 records. Any idea why ?
`
searchRequest.SetSelect(selectFields);
searchRequest.SetLimit(SearchRequest.LIMIT_NONE);
searchRequest.SetOffset(SearchRequest.OFFSET_NONE);
searchRequest.SetCountType(SearchRequest.CountType.RECORD_COUNT_AND_RESULTS);
searchRequest.SetFormatType(SearchRequest.FormatType.COMPACT_DECODED);
var results = session.Search(searchRequest);
var total = results.GetCount();
/// do something
}`
The text was updated successfully, but these errors were encountered: