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

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

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0
    • modules/queryparser
    • 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.patch
          53 kB
          Olivier Favre
        2. NumCompQueryParser-3x.patch
          92 kB
          Olivier Favre

        Issue Links

          Activity

            People

              adriano_crestani Adriano Crestani
              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