Adrien Grand created LUCENE-6746:
------------------------------------

             Summary: Compound queries should create sub weights through 
IndexSearcher
                 Key: LUCENE-6746
                 URL: https://issues.apache.org/jira/browse/LUCENE-6746
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor
         Attachments: LUCENE-6746.patch

By creating sub weights through IndexSearcher, we give IndexSearcher a chance 
to add a caching wrapper. We were already doing it for BooleanQuery and 
ConstantScoreQuery but forgot to also modify DisjunctionMaxQuery, BoostingQuery 
and BoostedQuery.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to