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

+ - operators allow any amount of whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6
    • 4.0-ALPHA, 3.6.1
    • core/queryparser
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: