[ 
https://issues.apache.org/jira/browse/LUCENE-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579447#comment-14579447
 ] 

ASF subversion and git services commented on LUCENE-6527:
---------------------------------------------------------

Commit 1684506 from [~jpountz] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1684506 ]

LUCENE-6527: Queries now get a dummy Similarity when scores are not needed in 
order to not load unnecessary information like norms.

> 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

Reply via email to