Lucene - Core
  1. Lucene - Core
  2. LUCENE-995

Add open ended range query syntax to QueryParser

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0.0, 2.1, 2.2
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The QueryParser fails to generate open ended range queries.
      Parsing e.g. "date:[1990 TO *]" gives zero results,
      but
      ConstantRangeQuery("date","1990",null,true,true)
      does produce the expected results.

      "date:[* TO 1990]" gives the same results as ConstantRangeQuery("date",null,"1990",true,true).

      1. LUCENE-995.patch
        17 kB
        Michael McCandless
      2. LUCENE-995-backport-3x.patch
        9 kB
        Ingo Renner
      3. LUCENE-995.patch
        11 kB
        Yonik Seeley
      4. LUCENE-995.patch
        10 kB
        Yonik Seeley
      5. LUCENE-995_09_21_2009.patch
        94 kB
        Adriano Crestani

        Issue Links

          Activity

          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue is depended upon by SOLR-2189 [ SOLR-2189 ]
          Gavin made changes -
          Link This issue blocks SOLR-2189 [ SOLR-2189 ]
          Michael McCandless made changes -
          Fix Version/s 3.6 [ 12319070 ]
          Michael McCandless made changes -
          Attachment LUCENE-995.patch [ 12509597 ]
          Michael McCandless made changes -
          Assignee Yonik Seeley [ yseeley@gmail.com ] Michael McCandless [ mikemccand ]
          Ingo Renner made changes -
          Attachment LUCENE-995-backport-3x.patch [ 12509545 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12563824 ] jira [ 12585351 ]
          Mark Thomas made changes -
          Workflow jira [ 12412605 ] Default workflow, editable Closed status [ 12563824 ]
          Yonik Seeley made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Yonik Seeley made changes -
          Attachment LUCENE-995.patch [ 12457880 ]
          Yonik Seeley made changes -
          Attachment LUCENE-995.patch [ 12457878 ]
          Yonik Seeley made changes -
          Assignee Luis Alves [ lafa ] Yonik Seeley [ yseeley@gmail.com ]
          Yonik Seeley made changes -
          Link This issue blocks SOLR-2189 [ SOLR-2189 ]
          Adriano Crestani made changes -
          Attachment LUCENE-995_09_21_2009.patch [ 12420254 ]
          Luis Alves made changes -
          Fix Version/s 3.1 [ 12314025 ]
          Luis Alves made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Luis Alves made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Luis Alves made changes -
          Assignee Luis Alves [ lafa ]
          Luis Alves made changes -
          Link This issue is related to LUCENE-1567 [ LUCENE-1567 ]
          Luis Alves made changes -
          Link This issue is part of LUCENE-1823 [ LUCENE-1823 ]
          Mark Miller made changes -
          Summary Add open ended query syntax to QueryParser Add open ended range query syntax to QueryParser
          Mark Miller made changes -
          Summary Parsed open ended range queries give zero results Add open ended query syntax to QueryParser
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Jonas Gorski made changes -
          Field Original Value New Value
          Affects Version/s 2.0.0 [ 12310853 ]
          Affects Version/s 2.1 [ 12310854 ]
          Affects Version/s 1.9 [ 12310334 ]
          Jonas Gorski created issue -

            People

            • Assignee:
              Michael McCandless
              Reporter:
              Jonas Gorski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development