lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-1223) Query Filter fq with OR operator
Date Tue, 16 Jun 2009 21:03:07 GMT


Yonik Seeley commented on SOLR-1223:

The hardest part to this is passing the information through the Solr APIs to tell Solr to
cache the clauses of a particular boolean query separately.

2 approaches:
- a SolrQuery that wrapps a normal Query and adds extra metadata like "cache separately" or
"don't cache"
- replace Query with SolrFilter (that contains a Query as well as the extra metadata)... involves
many deprecations.

> 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.
You can reply to this email to add a comment to the issue online.

View raw message