lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmuir <...@git.apache.org>
Subject [GitHub] lucene-solr issue #375: LUCENE-8287: Ensure that empty regex completion quer...
Date Wed, 16 May 2018 23:56:07 GMT
Github user rmuir commented on the issue:

    https://github.com/apache/lucene-solr/pull/375
  
    {quote}
    When PrefixCompletionQuery has an empty term, its automaton is actually * -- maybe we
could look into adding a fix/ optimization there in a follow-up.
    {quote}
    
    Regexp query should handle that case fine though. It uses Operations.isEmpty (see the
CompiledAutomaton class) to detect that the automation accepts no strings. The logic here
is different and a subset of that, and I think thats why there might be such cases.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message