You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/04/23 08:41:00 UTC

[jira] [Updated] (LUCENE-8268) MatchesIterator.term() should return an array

     [ https://issues.apache.org/jira/browse/LUCENE-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward updated LUCENE-8268:
----------------------------------
    Attachment: LUCENE-8268.patch

> MatchesIterator.term() should return an array
> ---------------------------------------------
>
>                 Key: LUCENE-8268
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8268
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8268.patch
>
>
> At the moment, we return a single BytesRef from MatchesIterator.term(), which works well for the queries that currently implement this.  This won't be enough for queries that operate on more than one term, however, such as phrase or Span queries.
> In preparation for LUCENE-8249, this issue will change the method to return an array of BytesRef



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org