You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/12/21 05:19:00 UTC

[jira] [Assigned] (SOLR-13080) TermsQParserPlugin automaton method fails to sort input

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

David Smiley reassigned SOLR-13080:
-----------------------------------

    Assignee: David Smiley

> 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
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org