[ 
https://issues.apache.org/jira/browse/LUCENE-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215550#comment-17215550
 ] 

ASF subversion and git services commented on LUCENE-9578:
---------------------------------------------------------

Commit c3a7a583f37c498ade401184d60ba017de618355 in lucene-solr's branch 
refs/heads/master from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=c3a7a58 ]

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
>             Fix For: 8.7
>
>          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

Reply via email to