[
https://issues.apache.org/jira/browse/LUCENE-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330259#comment-14330259
]
ASF subversion and git services commented on LUCENE-6262:
---------------------------------------------------------
Commit 1661367 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1661367 ]
LUCENE-6262: Don't wrap the inner weight in ConstantScoreQuery when scores are
not required.
> 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
> Attachments: LUCENE-6262.patch
>
>
> 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]