Hi Joel,

Thanks for your reply.

For the "having" expression, it says that it requires a BooleanEvaluator.
Which means I can only use it to filter if there is Boolean Evaluator, and
not if it is just a normal query?

And yes, it will be good to support filter queries with fetch. Should I put
that as a possible improvement in Jira?

Regards,
Edwin


On 13 June 2017 at 23:42, Joel Bernstein <joels...@gmail.com> wrote:

> Currently you cannot specify a query for fetch. You can filter tuples
> emitted by fetch by wrapping it in a "having" expression.
>
> In the future I think it makes sense to support filter queries with fetch.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Tue, Jun 13, 2017 at 4:46 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com
> >
> wrote:
>
> > Hi,
> >
> > For the Streaming expression on Fetch, is it possible to have set the q
> > parameter for the "addresses" collection?
> > In the below example from the Solr Documentation, it is only setting the
> q
> > parameter for the "people" collection.
> >
> > I'm using Solr 6.5.1.
> >
> > fetch(addresses,
> >       search(people, q="*:*", fl="username, firstName, lastName",
> > sort="username
> > asc"),
> >       fl="streetAddress, city, state, country, zip",
> >       on="username=userId")
> >
> > Regards,
> > Edwin
> >
>

Reply via email to