lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gibb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4454) QueryParser throws exception for string queries ending with ! (exclamation)
Date Mon, 01 Oct 2012 01:54:07 GMT
Andrew Gibb created LUCENE-4454:
-----------------------------------

             Summary: QueryParser throws exception for string queries ending with ! (exclamation)
                 Key: LUCENE-4454
                 URL: https://issues.apache.org/jira/browse/LUCENE-4454
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 3.6.1, 3.5
            Reporter: Andrew Gibb
            Priority: Minor


Query parser does not handle the ! (exclamation point) in the same way as the - (hyphen).

A string query with the final character being a ! causes a ParseException

"foo-" OK
"foo+" OK
"foo!" ERROR - Parse Exception
"foo! " OK

I am using version 3.5 (have tried 3.6.1 - same issue) I was hoping 2566 may also have fixed
this issue

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message