You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/02/21 15:42:11 UTC
[jira] [Resolved] (LUCENE-6262) No need to wrap with ConstantWeight
when needsScores is false
[ https://issues.apache.org/jira/browse/LUCENE-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved LUCENE-6262.
----------------------------------
Resolution: Fixed
Fix Version/s: 5.1
Trunk
You're welcome. :)
> 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
> Fix For: Trunk, 5.1
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org