Adrien Grand created LUCENE-6262:
------------------------------------

             Summary: No need to wrap with ConstantWeight when needsScores is 
false
                 Key: LUCENE-6262
                 URL: https://issues.apache.org/jira/browse/LUCENE-6262
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


Today ConstantScoreQuery always wraps the inner weight into a ConstantWeight, 
but this is only necessary if scores are needed.



--
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