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

+ - operators allow any amount of whitespace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 4.0-ALPHA, 3.6.1
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      As an example, (foo - bar) is treated like (foo -bar).
      It seems like for +- to be treated as unary operators, they should be immediately followed by the operand.

        Attachments

        1. LUCENE-2566.patch
          32 kB
          Yonik Seeley
        2. LUCENE-2566-3x.patch
          55 kB
          Jan Høydahl

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              yseeley@gmail.com Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: