Lucene - Core
  1. Lucene - Core
  2. LUCENE-3343

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

    Details

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

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

        Issue Links

          Activity

          Olivier Favre created issue -
          Olivier Favre made changes -
          Field Original Value New Value
          Attachment NumCompQueryParser.patch [ 12487828 ]
          Olivier Favre made changes -
          Link This issue relates to LUCENE-1823 [ LUCENE-1823 ]
          Olivier Favre made changes -
          Fix Version/s 3.4 [ 12316675 ]
          Olivier Favre made changes -
          Attachment NumCompQueryParser-3x.patch [ 12487986 ]
          Adriano Crestani made changes -
          Assignee Adriano Crestani [ adriano_crestani ]
          Adriano Crestani made changes -
          Link This issue depends on LUCENE-3338 [ LUCENE-3338 ]
          Michael McCandless made changes -
          Fix Version/s 3.5 [ 12317877 ]
          Fix Version/s 3.4 [ 12316675 ]
          Simon Willnauer made changes -
          Fix Version/s 3.6 [ 12319070 ]
          Fix Version/s 3.5 [ 12317877 ]
          Hoss Man made changes -
          Fix Version/s 3.6 [ 12319070 ]
          Robert Muir made changes -
          Fix Version/s 4.1 [ 12321140 ]
          Fix Version/s 4.0 [ 12314025 ]
          Steve Rowe made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 4.0 [ 12322550 ]
          Fix Version/s 4.1 [ 12321140 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Link This issue depends on LUCENE-3338 [ LUCENE-3338 ]
          Gavin made changes -
          Link This issue depends upon LUCENE-3338 [ LUCENE-3338 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Adriano Crestani
              Reporter:
              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

                  Development