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

Comparison operators >,>=,<,<= and = support as RangeQuery syntax in QueryParser

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: modules/queryparser
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      To offer better interoperability with other search engines and to provide an easier and more straight forward syntax,
      the operators >, >=, <, <= and = should be available to express an open range query.
      They should at least work for numeric queries.
      '=' can be made a synonym for ':'.

        Attachments

        1. NumCompQueryParser-3x.patch
          92 kB
          Olivier Favre
        2. NumCompQueryParser.patch
          53 kB
          Olivier Favre

          Issue Links

            Activity

              People

              • Assignee:
                adriano_crestani Adriano Crestani
                Reporter:
                ofavre Olivier Favre
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified