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

Rename RangeQuery -> TermRangeQuery

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.9
    • None
    • None
    • New

    Description

      Since we now have NumericRangeQuery (LUCENE-1701) we should rename RangeQuery to TextRangeQuery to make it clear that TextRangeQuery (TermRangeQuery? StringRangeQuery) is based entirely on text comparison.

      And, existing users on upgrading to 2.9 and using RangeQuery for [slow] numeric searching would realize they now have a good option for numeric range searching.

      Attachments

        1. LUCENE-1713.patch
          140 kB
          Uwe Schindler
        2. LUCENE-1713.patch
          136 kB
          Uwe Schindler
        3. LUCENE-1713.patch
          102 kB
          Uwe Schindler
        4. LUCENE-1713-backwards-branch.patch
          41 kB
          Uwe Schindler
        5. RangeFilter.java
          4 kB
          Uwe Schindler
        6. RangeFilter.java
          4 kB
          Uwe Schindler
        7. RangeQuery.java
          6 kB
          Uwe Schindler
        8. RangeQuery.java
          3 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: