lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Commented] (SOLR-1223) Query Filter fq with OR operator
Date Mon, 01 Aug 2011 16:58:10 GMT


Shawn Heisey commented on SOLR-1223:

bq. I'd rather see a new filterQuery type like ofq than being stuck with the current options.
Nested filterQueries including variables would obviously be the most flexible solution, but
imho having two different filter types would add enough benefit in the meantime.

I see that someone else had the same idea a long time before I did.  I just brought this up
on the solr-user list a few days ago, but I couldn't think of a good parameter name.  The
parameter name I came up with (fqu, filter query union) is not as good as ofq.

I like Brian and Frederik's idea.

> Query Filter fq with OR operator
> --------------------------------
>                 Key: SOLR-1223
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Brian Pearson
>            Priority: Minor
> 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.
For more information on JIRA, see:


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

View raw message