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

Joel Bernstein commented on SOLR-12209:
---------------------------------------

With streaming you would often be dealing with paging following some kind of 
relational algebra. For example joining multiple streams. In these scenarios 
you can't push down the paging behavior. So there really needs to be support 
for both pushed down paging and paging using decorator expressions. The 
functions described in this ticket are the decorator expressions.

We could also make changes to the search expression to support pushed down 
paging in this ticket. Or we could create two separate tickets.

> 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) 
>            Reporter: mosh
>            Priority: Major
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to