You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "mosh (JIRA)" <ji...@apache.org> on 2018/06/04 06:33:00 UTC

[jira] [Comment Edited] (SOLR-12209) add Paging Streaming Expression

    [ https://issues.apache.org/jira/browse/SOLR-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499799#comment-16499799 ] 

mosh edited comment on SOLR-12209 at 6/4/18 6:32 AM:
-----------------------------------------------------

I have just uploaded a new patch in which the tests were moved to StreamDecoratorTest.


was (Author: moshebla):
I just uploaded a new patch in which the tests were moved to StreamDecoratorTest.

> add Paging Streaming Expression
> -------------------------------
>
>                 Key: SOLR-12209
>                 URL: https://issues.apache.org/jira/browse/SOLR-12209
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: mosh
>            Priority: Major
>         Attachments: SOLR-12209.patch, SOLR-12209.patch, SOLR-12209.patch
>
>
> Currently the closest streaming expression that allows some sort of pagination is top.
> I propose we add a new streaming expression, which is based on the RankedStream class to add offset to the stream. currently it can only be done in code by reading the stream until the desired offset is reached.
> The new expression will be used as such:
> {{paging(rows=3, search(collection1, q="*:*", qt="/export", fl="id,a_s,a_i,a_f", sort="a_f desc, a_i desc"), sort="a_f asc, a_i asc", start=100)}}
> {{this will offset the returned stream by 100 documents}}
>  
> [~joel.bernstein] what to you think?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org