You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alan Woodward (Jira)" <ji...@apache.org> on 2022/02/04 15:31:00 UTC
[jira] [Resolved] (LUCENE-10402) Intervals.prefix() handles multicharacter unicode incorrectly
[ https://issues.apache.org/jira/browse/LUCENE-10402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward resolved LUCENE-10402.
------------------------------------
Fix Version/s: 9.1
Assignee: Alan Woodward
Resolution: Fixed
> 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
> Assignee: Alan Woodward
> Priority: Major
> Fix For: 9.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org