Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10402

Intervals.prefix() handles multicharacter unicode incorrectly

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m

                  Slack

                    Issue deployment