[
https://issues.apache.org/jira/browse/LUCENE-7384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387689#comment-15387689
]
ASF subversion and git services commented on LUCENE-7384:
---------------------------------------------------------
Commit 180f9562aa9c1e271d8dce48ac5695d0612bf808 in lucene-solr's branch
refs/heads/apiv2 from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=180f956 ]
LUCENE-7384: Tweak SpanWeight.buildSimWeight to reuse the existing similarity.
> Remove ScoringWrapperSpans
> --------------------------
>
> Key: LUCENE-7384
> URL: https://issues.apache.org/jira/browse/LUCENE-7384
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: 6.2
>
> Attachments: LUCENE_7384.patch
>
>
> In LUCENE-6919 (Lucene 5.5), ScoringWrapperSpans was modified in such a way
> that made the existence of this class pointless, and possibly broke anyone
> who was using it as it's SimScorer argument isn't used anymore. We should
> now delete it. SpanWeight has getSimScorer() so people can customize the
> SimScorer that way.
> Another small change I observe to improve is have SpanWeight.buildSimWeight's
> last line use the existing Similarity that has already been populated on the
> field?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]