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

Alan Woodward commented on LUCENE-10402:
----------------------------------------

I opened a PR with a fix: https://github.com/apache/lucene/pull/646

> Intervals.prefix() handles multicharacter unicode incorrectly
> -------------------------------------------------------------
>
>                 Key: LUCENE-10402
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10402
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Priority: Major
>
> Intervals.prefix() takes its input and builds a CompiledAutomaton, before 
> passing this on to a new MultiTermAutomatonIntervalsSource.  However, while 
> PrefixQuery.toAutomaton() builds a binary automaton, we don't tell 
> CompiledAutomaton this and so it (incorrectly) does some unicode conversion 
> on its input.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to