lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-12209) add Paging Streaming Expression
Date Thu, 12 Apr 2018 15:45:00 GMT


David Smiley commented on SOLR-12209:

Wouldn't we want this logic to "push down" to search()?  I know it's nice fo have a generic
capability but search() is a Solr search which is pageable.

> add Paging Streaming Expression
> -------------------------------
>                 Key: SOLR-12209
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message