[
https://issues.apache.org/jira/browse/LUCENE-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612529#comment-13612529
]
Simon Willnauer commented on LUCENE-4878:
-----------------------------------------
robert, I agree I just committed a IAE to trunk, branch_4x and 4.2.1
> 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, 4.2
> Reporter: Adam Rauch
> Assignee: Simon Willnauer
> Fix For: 5.0, 4.2.1
>
> Attachments: LUCENE-4878.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]