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

RangeQuery and RangeFilter should use collation to check for range inclusion

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: core/search
    • Labels:
      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
          Steve Rowe
        2. LUCENE-1279.patch
          93 kB
          Steve Rowe
        3. LUCENE-1279.patch
          59 kB
          Steve Rowe
        4. LUCENE-1279.patch
          13 kB
          Steve Rowe

          Issue Links

            Activity

              People

              • Assignee:
                gsingers Grant Ingersoll
                Reporter:
                steve_rowe Steve Rowe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: