[ 
https://issues.apache.org/jira/browse/SOLR-6635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaliy Zhovtyuk updated SOLR-6635:
-----------------------------------
    Attachment: SOLR-6635.patch

As i understood skip case its about using skip to calculate next cursor mark, 
so this is pure cursor functionality. org.apache.solr.CursorPagingTest#testSkip 
illustrate the idea. This will require changes in TopDocs length calculation 
taking into account skip value for next cursor mark calculation. Also this code 
need to be refactored to remove duplicates. 
Another approach could be serialization for skip parameter  and with sort 
values in Cursor and use skip value in offset for next call.

> Cursormark should support skipping/goto functionality
> -----------------------------------------------------
>
>                 Key: SOLR-6635
>                 URL: https://issues.apache.org/jira/browse/SOLR-6635
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Thomas Blitz
>              Labels: cursormark, pagination, search, solr
>         Attachments: SOLR-6635.patch
>
>
> Deep pagination is possible with the cursormark.
> We have discovered a need to be able to 'skip' a number of results.
> Using the cursormark it should be possible to define a request with a skip 
> parameter, allowing the cursormark to simple skip a number of articles, kinda 
> like a goto, and then return results from that point in the resultset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to