Christoph Büscher created LUCENE-9578: -----------------------------------------
Summary: TermRangeQuery with empty string lower bound edge case Key: LUCENE-9578 URL: https://issues.apache.org/jira/browse/LUCENE-9578 Project: Lucene - Core Issue Type: Bug Components: core/search Affects Versions: 8.6.3, trunk Reporter: Christoph Büscher Currently a TermRangeQuery with the empty String ("") as lower bound and includeLower=false leads internally constructs an Automaton that doesn't match anything. This is unexpected expecially for open upper bounds where any string should be considered to be "higher" than the empty string. I think "Automata#makeBinaryInterval" should be changed so that for an empty string lower bound and an open upper bound, any String should match the query regardless or the includeLower flag. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org