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

Unmatched right parentheses truncates query

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4, 1.9, 2.0.0, 2.1
    • 2.2
    • core/queryparser
    • None
    • Operating System: Linux
      Platform: PC

    • Patch Available
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: