Houston Putman created SOLR-17786:
-------------------------------------
Summary: Support reverse pagination with cursorMark
Key: SOLR-17786
URL: https://issues.apache.org/jira/browse/SOLR-17786
Project: Solr
Issue Type: New Feature
Reporter: Houston Putman
Currently cursorMark can be used to do deep paging of results, however, if one
wants to support "previous page" functionality, they would need to store the
previous cursorMark results. Given that we can reverse the sort, we should be
able to execute a "reverseCursorMark".
The idea here would be to add another response in addition to "nextCursorMark",
"previousCursorMark", which would be the cursorMark of the first result. Users
could then pass in this "previousCursorMark" to the "reverseCursorMark"
parameter, much like they pass "nextCursorMark" to the "cursorMark" parameter.
Then the results would be the regular sorted (not reverse sorted) set of
results, with another "previousCursorMark" and "nextCursorMark" provided.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]