Reply
New Contributor
Posts: 1
Registered: ‎01-16-2019

Solrj null cursor marks

Hello,

I'm using SolrJ to connect to a CDH-5 SolrCloud cluster using cursors for pagination. There are instances where after retrieving a page of results, the next cursor mark pointing to the next page will be null. My understanding is that when using cursors, the next cursor mark should either be a new cursor mark that denotes the position of the next page of data, or the previous cursor mark, which indicates that the last page has been retrieved. There doesn't appear to be any consistency about when this condition occurs. There are instances where only the first few pages of data are retrieved before the issue manifests. Most other instances, all expected pages are returned successfully. Is resubmitting the previous page query a viable workaround or will subsequent retries using the prior cursor also yield null cursor marks?

 

Thanks in advance -

Announcements