[ https://issues.apache.org/jira/browse/LUCENE-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215540#comment-17215540 ]
ASF subversion and git services commented on LUCENE-9578: --------------------------------------------------------- Commit 4ea1b47e37390e05868eeb47699ff514441682c0 in lucene-solr's branch refs/heads/branch_8x from Adrien Grand [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4ea1b47 ] LUCENE-9578: Add CHANGES entry. > 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: trunk, 8.6.3 > Reporter: Christoph Büscher > Priority: Minor > Time Spent: 2h > Remaining Estimate: 0h > > 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