Lucene - Core
  1. Lucene - Core
  2. LUCENE-1279

RangeQuery and RangeFilter should use collation to check for range inclusion

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

      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

          Steve Rowe created issue -
          Steve Rowe made changes -
          Field Original Value New Value
          Attachment LUCENE-1279.patch [ 12381404 ]
          Steve Rowe made changes -
          Attachment LUCENE-1279.patch [ 12381741 ]
          Grant Ingersoll made changes -
          Assignee Grant Ingersoll [ gsingers ]
          Steve Rowe made changes -
          Attachment LUCENE-1279.patch [ 12390025 ]
          Steve Rowe made changes -
          Attachment LUCENE-1279.patch [ 12390062 ]
          Grant Ingersoll made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Lucene Fields [New]
          Resolution Fixed [ 1 ]
          Michael McCandless made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Steve Rowe made changes -
          Link This issue is related to LUCENE-1435 [ LUCENE-1435 ]
          Mark Thomas made changes -
          Workflow jira [ 12430245 ] Default workflow, editable Closed status [ 12562510 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12562510 ] jira [ 12583479 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development