Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.10.4
-
None
-
None
-
New
Description
I have encountered a very special case where parsing a certain String with the MultiFieldQueryParser causes an IllegalArgumentException thrown in the constructor of org.apache.lucene.util.automaton.RegExp. I would have expected a ParseException instead (as stated in the API doc).
QueryParser parser = new MultiFieldQueryParser(...); parser.parse("/x)/");
The "evil" search string is /x)/.