Ishan Chattopadhyaya created SOLR-10179:
-------------------------------------------

             Summary: DBQ should use a Occur.FILTER instead of Occur.MUST
                 Key: SOLR-10179
                 URL: https://issues.apache.org/jira/browse/SOLR-10179
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Ishan Chattopadhyaya
            Priority: Minor


In DUH2's getQuery() method, which is used to generate a BooleanQuery for the 
DBQ operations, the main deletion clause uses Occur.MUST. Since this query 
doesn't need any scoring, this clause is ultimately re-written to a 
Occur.FILTER (at BooleanQuery's rewriteNoScoring()). We can avoid this query 
rewrite if we use Occur.FILTER instead of Occur.MUST in the first place.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to