lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmuir <>
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:
    When PrefixCompletionQuery has an empty term, its automaton is actually * -- maybe we
could look into adding a fix/ optimization there in a follow-up.
    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:
For additional commands, e-mail:

View raw message