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

QueryParser treatment of unescaped internal operators

    XMLWordPrintableJSON

    Details

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

      Description

      myfield:foo-bar and myfield:foo+bar are treated as myfield:"foo-bar" and myfield:"foo+bar"
      but myfield:foo!bar is treated as myfield:foo -defaultfield:bar

      Somewhat related, temp:70 works fine, but temp:-10 throws an exception. Many people hit this and figure out how to work around it relatively quickly, but just fixing the grammar to accept it might be better?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yseeley@gmail.com Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: