Using cursorMark:
sortmust include a tie-breaker sort on theidfield. This prevents tie-breaking by internal lucene document id (which can change).startmust be 0 for all calls including acursorMark.- pass
cursorMark=*for the first request. - Solr will return a
nextCursorMarkin the response. Simply use this value forcursorMarkon the next call to continue paging through the results.
Read full article from Solr Deep Paging and Sorting
No comments:
Post a Comment