[
https://issues.apache.org/jira/browse/SOLR-13080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726602#comment-16726602
]
Daniel Lowe commented on SOLR-13080:
------------------------------------
Thanks. I didn't know Lucene had its own timSort implementation, being
consistent with how this is done elsewhere makes sense to me, it should be a
simple change if in the future Lucene/Solr wants to use Java's implementation
(LUCENE-7268)
> TermsQParserPlugin automaton method fails to sort input
> -------------------------------------------------------
>
> Key: SOLR-13080
> URL: https://issues.apache.org/jira/browse/SOLR-13080
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: query parsers
> Affects Versions: 7.5
> Reporter: Daniel Lowe
> Assignee: David Smiley
> Priority: Minor
> Attachments: SOLR-13080.patch
>
>
> The contract for Automata.makeStringUnion is that the input is sorted. As
> BytesRef implements Comparable. The simplest fix would probably to make
> Arrays.sort(bytesRefs);
> The first line of automaton's makeFilter method in TermsQParserPlugin.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]