Lucene - Core
  1. Lucene - Core
  2. LUCENE-1823

QueryParser with new features for Lucene 3

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.9, Trunk
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I'd like to have a new QueryParser implementation in Lucene 3.1, ideally based on the new QP framework in contrib. It should share as much code as possible with the current StandardQueryParser implementation for easy maintainability.

      Wish list (feel free to extend):

      1. Operator precedence: Support operator precedence for boolean operators
      2. Opaque terms: Ability to plugin an external parser for certain syntax extensions, e.g. XML query terms
      3. Improved RangeQuery syntax: Use more intuitive <=, =, >= instead of [] and {}
      4. Support for trierange queries: See LUCENE-1768
      5. Complex phrases: See LUCENE-1486
      6. ANY operator: E.g. (a b c d) ANY 3 should match if 3 of the 4 terms occur in the same document
      7. New syntax for Span queries: I think the surround parser supports this?
      8. Escaped wildcards: See LUCENE-588

        Issue Links

          Activity

          Michael Busch created issue -
          Michael Busch made changes -
          Field Original Value New Value
          Link This issue is related to LUCENE-588 [ LUCENE-588 ]
          Michael Busch made changes -
          Link This issue is related to LUCENE-1768 [ LUCENE-1768 ]
          Michael Busch made changes -
          Link This issue is related to LUCENE-1486 [ LUCENE-1486 ]
          Michael Busch made changes -
          Link This issue is related to LUCENE-1567 [ LUCENE-1567 ]
          Michael Busch made changes -
          Description I'd like to have a new QueryParser implementation in Lucene 3.1, ideally based on the new QP framework in contrib. It should share as much code as possible with the current StandardQueryParser implementation for easy maintainability.

          Wish list (feel free to extend):

          1. Operator precedence: Support operator precedence for boolean operators
          2. Opaque terms: Ability to plugin an external parser for certain syntax extensions, e.g. XML query terms
          3. Improved RangeQuery syntax: Use more intuitive <=, =, >= instead of [] and {}
          4. Support for trierange queries: See LUCENE-1768
          5. Complex phrases: See LUCENE-1486
          6. ANY operator: E.g. (a b c d) ANY 3 should match if 3 of the 4 terms occur in the same document
          7. New syntax for Span queries: I think the surround parser supports this?
          8. Escaped wildcards: see LUCENE-588
          I'd like to have a new QueryParser implementation in Lucene 3.1, ideally based on the new QP framework in contrib. It should share as much code as possible with the current StandardQueryParser implementation for easy maintainability.

          Wish list (feel free to extend):

          1. *Operator precedence*: Support operator precedence for boolean operators
          2. *Opaque terms*: Ability to plugin an external parser for certain syntax extensions, e.g. XML query terms
          3. *Improved RangeQuery syntax*: Use more intuitive <=, =, >= instead of [] and {}
          4. *Support for trierange queries*: See LUCENE-1768
          5. *Complex phrases*: See LUCENE-1486
          6. *ANY operator*: E.g. (a b c d) ANY 3 should match if 3 of the 4 terms occur in the same document
          7. *New syntax for Span queries*: I think the surround parser supports this?
          8. *Escaped wildcards*: See LUCENE-588
          Michael Busch made changes -
          Link This issue is related to LUCENE-1820 [ LUCENE-1820 ]
          Luis Alves made changes -
          Link This issue incorporates LUCENE-995 [ LUCENE-995 ]
          Luis Alves made changes -
          Link This issue incorporates LUCENE-996 [ LUCENE-996 ]
          Luis Alves made changes -
          Link This issue is related to LUCENE-950 [ LUCENE-950 ]
          Luis Alves made changes -
          Link This issue incorporates LUCENE-167 [ LUCENE-167 ]
          Luis Alves made changes -
          Link This issue incorporates LUCENE-375 [ LUCENE-375 ]
          Adriano Crestani made changes -
          Attachment lucene_1823_foo_bug_08_26_2009.patch [ 12417772 ]
          Luis Alves made changes -
          Link This issue is related to LUCENE-2039 [ LUCENE-2039 ]
          Luis Alves made changes -
          Attachment lucene_1823_any_opaque_precedence_fuzzybug.patch [ 12425395 ]
          Michael Busch made changes -
          Assignee Michael Busch [ michaelbusch ] Luis Alves [ lafa ]
          Luis Alves made changes -
          Luis Alves made changes -
          Attachment lucene_1823_any_opaque_precedence_fuzzybug.patch [ 12425395 ]
          Simon Willnauer made changes -
          Link This issue is related to LUCENE-2604 [ LUCENE-2604 ]
          Adriano Crestani made changes -
          Link This issue is blocked by LUCENE-1938 [ LUCENE-1938 ]
          Mark Thomas made changes -
          Workflow jira [ 12473527 ] Default workflow, editable Closed status [ 12563830 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12563830 ] jira [ 12584474 ]
          Olivier Favre made changes -
          Link This issue is related to LUCENE-3343 [ LUCENE-3343 ]
          Jan Høydahl made changes -
          Link This issue is depended upon by LUCENE-3130 [ LUCENE-3130 ]
          Simon Willnauer made changes -
          Fix Version/s 4.1 [ 12321140 ]
          Fix Version/s 4.0 [ 12314025 ]
          Steve Rowe made changes -
          Fix Version/s 4.2 [ 12323899 ]
          Fix Version/s 4.1 [ 12321140 ]
          Robert Muir made changes -
          Fix Version/s 4.3 [ 12324143 ]
          Fix Version/s 4.2 [ 12323899 ]
          Uwe Schindler made changes -
          Fix Version/s 4.4 [ 12324323 ]
          Fix Version/s 4.3 [ 12324143 ]
          Steve Rowe made changes -
          Fix Version/s 5.0 [ 12321663 ]
          Fix Version/s 4.5 [ 12324742 ]
          Fix Version/s 4.4 [ 12324323 ]
          Adrien Grand made changes -
          Fix Version/s 4.6 [ 12324999 ]
          Fix Version/s 5.0 [ 12321663 ]
          Fix Version/s 4.5 [ 12324742 ]
          Simon Willnauer made changes -
          Fix Version/s 4.7 [ 12325572 ]
          Fix Version/s 4.6 [ 12324999 ]
          Tim Allison made changes -
          Link This issue is related to LUCENE-5205 [ LUCENE-5205 ]
          David Smiley made changes -
          Fix Version/s 4.8 [ 12326269 ]
          Fix Version/s 4.7 [ 12325572 ]
          Uwe Schindler made changes -
          Fix Version/s 4.9 [ 12326730 ]
          Fix Version/s 5.0 [ 12321663 ]
          Fix Version/s 4.8 [ 12326269 ]

            People

            • Assignee:
              Luis Alves
              Reporter:
              Michael Busch
            • Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:

                Development