[
https://issues.apache.org/jira/browse/LUCENE-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578776#comment-14578776
]
Adrien Grand commented on LUCENE-6527:
--------------------------------------
The reason I put in on IndexSearcher is that it can only be used for searching
as it can't compute norms. So I think it makes sense to keep in on
IndexSearcher and private so that it is less likely to get used by accident.
> TermWeight should not load norms when needsScores is false
> ----------------------------------------------------------
>
> Key: LUCENE-6527
> URL: https://issues.apache.org/jira/browse/LUCENE-6527
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Fix For: Trunk, 5.2.1
>
> Attachments: LUCENE-6527.patch, LUCENE-6527.patch, LUCENE-6527.patch
>
>
> TermWeight currently loads norms all the time, even when needsScores is false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]