lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <>
Subject [jira] [Commented] (SOLR-1223) Query Filter fq with OR operator
Date Fri, 11 Nov 2011 08:18:51 GMT


Jan Høydahl commented on SOLR-1223:

Brian, if you'd like to get the ball rolling, one way is do an initial patch, and then hope
for involvement.
Another way is to hire someone (see for the programming.

Personally I like the Lance's approach with individually cached sub-filters referenced by
variables. Perhaps using $ syntax as we do for query substitution? fq=($fq1 AND $fq2) OR ($fq3
& $fq4).
> Query Filter fq with OR operator
> --------------------------------
>                 Key: SOLR-1223
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Brian Pearson
> See this [issue|]
for some background.    Today, all of the Query filters specified with the fq parameter are
AND'd together.  
> This issue is about allowing a set of filters to be OR'd together (in addition to having
another set of filters that are AND'd).    The OR'd filters would of course be applied before
any scoring is done.  
> The advantage of this feature is that you will be able to break up complex filters into
simple, more cacheable filters, which should improve performance.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message