[
https://issues.apache.org/jira/browse/LUCENE-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743293#comment-14743293
]
ASF subversion and git services commented on LUCENE-6716:
---------------------------------------------------------
Commit 1702892 from [~romseygeek] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1702892 ]
LUCENE-6716: Change SpanPayloadCheckQuery to take List<BytesRef>
> Improve SpanPayloadCheckQuery API
> ---------------------------------
>
> Key: LUCENE-6716
> URL: https://issues.apache.org/jira/browse/LUCENE-6716
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: LUCENE-6716.patch
>
>
> SpanPayloadCheckQuery currently takes a Collection<byte[]> to check its
> payloads against. This is suboptimal a) because payloads internally use
> BytesRef rather than byte[] and b) Collection is unordered, but the
> implementation does actually care about the order in which the payloads
> appear.
> We should change the constructor to take a List<BytesRef> instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]