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

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

Reply via email to