lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amrit Sarkar <>
Subject Re: Streaming Expression usage
Date Wed, 08 Nov 2017 04:35:54 GMT

Not sure what do you mean by making two request to get documents. A
"search" streaming expression can be passed with "fq" parameter to filter
the results and rollup on top of that will fetch you desired results. This
maybe not mentioned in official docs:

Sample streaming expression:

>     search(collection1,
>         zkHost="localhost:9983",
>         qt="/export",
>         q="*:*",
>         fq=a_s:filter_a
>         fl="id,a_s,a_i,a_f",
>         sort="a_f asc"),
>        over=a_f)
Amrit Sarkar
Search Engineer
Lucidworks, Inc.

On Wed, Nov 8, 2017 at 7:41 AM, Kojo <> wrote:

> Hi,
> I am working on PoC of a front-end web to provide an interface to the end
> user search and filter data on Solr indexes.
> I am trying Streaming Expression for about a week and I am fairly keen
> about using it to search and filter indexes on Solr side. But I am not sure
> whether this is the right approach or not.
> A simple question to illustrate my doubts: If use the search and some
> Streaming Expressions more to get and filter the indexes to get documents,
> and I want to rollup the result, will I have to make two requests? Is this
> a good use for Streaming Expressions?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message