On 10/1/2018 7:36 AM, Li, Yi wrote:
cursorMark appears as something like
AoE/E2Zhdm9yaXRlUGxhY2UvZjg1MzMzYzEtYzQ0NC00Y2ZiLWFmZDctMzcyODFhMDdiMGY3
and the document says it is “Base64 encoded serialized representation of the
sort values encapsulated by this object”
I like to know if I can decode and what content I will see in there.
I did a test with the techproducts example, with a sort of "id asc".
The "nextCursorMark" value was AoEjR0JQ which is base64 encoding for a
value that includes the text "GBP" which was the value in the uniqueKey
field (id) for the last entry on the page.
Then I tried it again with a different sort -- "cat desc,id asc" ... and
the decoded nextCursorMark value included the values for *both* sort
fields found in the last document on the page.
The value(s) in nextCursorMark are used to build range filter(s) in the
query. The rest of the query can likely be satisfied from Solr's
caches. This is how cursorMark gets good performance.
Vincenzo gave you the decoded value of your nextCursorMark string. You
can get this yourself by running it through a base64 decoder.
Thanks,
Shawn