Daniel Lowe created SOLR-13080:
----------------------------------

             Summary: 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


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]

Reply via email to