[ https://issues.apache.org/jira/browse/LUCENE-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578782#comment-14578782 ]
David Smiley commented on LUCENE-6527: -------------------------------------- I would better understand your point if it was all but unusable -- e.g. threw UnsupportedOperation exceptions left & right but it seems like a constant Similarity that is innocent enough; I don't know how anyone would use this class by accident. But my point isn't important; just a matter of taste. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org