[
https://issues.apache.org/jira/browse/LUCENE-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560117#comment-14560117
]
Robert Muir commented on LUCENE-6371:
-------------------------------------
{quote}
I've removed SpanSimilarity, in favour of passing a map of Terms to
TermContexts to the SpanWeight constructor. If this is null, then scoring isn't
required; if not, then SpanWeight builds a SimScorer and passes that to its
scorer.
{quote}
I still don't understand what the purpose here was/is. We already have a
parameter {{needsScores}} for Query.createWeight. Why must there be another way
to do the same thing? Even a null seems like duplication of what already exists.
> Improve Spans payload collection
> --------------------------------
>
> Key: LUCENE-6371
> URL: https://issues.apache.org/jira/browse/LUCENE-6371
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Paul Elschot
> Assignee: Alan Woodward
> Priority: Minor
> Fix For: Trunk, 5.3
>
> Attachments: LUCENE-6371.patch, LUCENE-6371.patch, LUCENE-6371.patch,
> LUCENE-6371.patch
>
>
> Spin off from LUCENE-6308, see the comments there from around 23 March 2015.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]