[ https://issues.apache.org/jira/browse/LUCENE-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574413#comment-14574413 ]
ASF subversion and git services commented on LUCENE-6526: --------------------------------------------------------- Commit 1683734 from [~jpountz] in branch 'dev/trunk' [ https://svn.apache.org/r1683734 ] LUCENE-6526: Asserting(Query|Weight|Scorer) now ensure scores are not computed if they are not needed. > Make AssertingWeight check that scores are not computed when needsScores is > false > --------------------------------------------------------------------------------- > > Key: LUCENE-6526 > URL: https://issues.apache.org/jira/browse/LUCENE-6526 > Project: Lucene - Core > Issue Type: Test > Reporter: Adrien Grand > Assignee: Adrien Grand > Attachments: LUCENE-6526.patch > > > Today nothing prevents you from calling score() if you don't need scores. But > we could make AssertingWeight check it in order to make sure that we do not > waste resources computing something we don't need. -- 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