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

RangeQuery and RangeFilter should use collation to check for range inclusion

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.4
    • core/search
    • None

    Description

      See this java-user discussion of problems caused by Unicode code-point comparison, instead of collation, in RangeQuery.

      RangeQuery could take in a Locale via a setter, which could be used with a java.text.Collator and/or CollationKey's, to handle ranges for languages which have alphabet orderings different from those in Unicode.

      Attachments

        1. LUCENE-1279.patch
          93 kB
          Steven Rowe
        2. LUCENE-1279.patch
          93 kB
          Steven Rowe
        3. LUCENE-1279.patch
          59 kB
          Steven Rowe
        4. LUCENE-1279.patch
          13 kB
          Steven Rowe

        Issue Links

          Activity

            People

              gsingers Grant Ingersoll
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: