[
https://issues.apache.org/jira/browse/LUCENE-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462485#comment-16462485
]
David Smiley commented on LUCENE-8270:
--------------------------------------
{quote}That ought to be one term unless the indexed data had more than one term
at this position and furthermore the query matched more than one of the terms
at this position.
{quote}
Actually that's easy too – just iterate to these terms at this same position as
well. This will happen automatically if the MatchesIterator is 1-1 with a
PostingsEnum.
> Remove MatchesIterator.term()
> -----------------------------
>
> Key: LUCENE-8270
> URL: https://issues.apache.org/jira/browse/LUCENE-8270
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8270.patch
>
>
> As discussed on LUCENE-8268, we don't have a clear use-case for this yet, and
> it's complicating adding Matches to phrase queries, so let's just remove it
> for now.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]