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

QueryParser treatment of unescaped internal operators

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core/queryparser
    • 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

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

            Dates

              Created:
              Updated: