Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
7.5
-
None
Description
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.