lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Rauch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4878) Regular expression syntax with MultiFieldQueryParser causes assert/NPE
Date Mon, 25 Mar 2013 05:05:15 GMT
Adam Rauch created LUCENE-4878:
----------------------------------

             Summary: Regular expression syntax with MultiFieldQueryParser causes assert/NPE
                 Key: LUCENE-4878
                 URL: https://issues.apache.org/jira/browse/LUCENE-4878
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/queryparser
    Affects Versions: 4.1
            Reporter: Adam Rauch


Using regex syntax causes MultiFieldQueryParser.parse() to throw an AssertionError (if asserts
are on) or causes subsequent searches using the returned Query instance to throw NullPointerException
(if asserts are off). Simon Willnauer's comment on the java-user alias: "This is in-fact a
bug in the MultiFieldQueryParser [...] MultifieldQueryParser should override getRegexpQuery
but it doesn't"


--
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