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

Unmatched right parentheses truncates query

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4, 1.9, 2.0.0, 2.1
    • Fix Version/s: 2.2
    • Component/s: core/queryparser
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Lucene Fields:
      Patch Available
    • Bugzilla Id:
      34447

      Description

      The query processor truncates a query when right parentheses are unmatched.
      E.g.:

      secret AND illegal) AND access:confidential

      will not result in a ParseException instead will run as:

      secret AND illegal

        Attachments

        1. Lucene-372.patch
          5 kB
          Andreas Neumann
        2. LUCENE-372.patch.txt
          4 kB
          Steven Parkes

          Activity

            People

            • Assignee:
              michaelbusch Michael Busch
              Reporter:
              patrick.hochstenbach@ugent.be Patrick Hochstenbach
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: