lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073611#comment-13073611
] 

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: https://issues.apache.org/jira/browse/SOLR-1223
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Brian Pearson
>            Priority: Minor
>
> See this [issue|http://www.nabble.com/Query-Filter-fq-with-OR-operator-td23895837.html]
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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message