-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0.2
-
Fix Version/s: None
-
Component/s: core/queryparser
-
Labels:
-
Lucene Fields:New
I was using org.apache.lucene.queryParser.QueryParser for parsing the input.
My input:
Input query string: "category: (4 or 6 or 8)"
Analyzer: StandardAnalyzer
QueryParser's parse() method is resulting in Null Pointer Exception.
If i give input query string as "category: (4 OR 6 OR 8)" which is uppercase 'OR', it works fine and i get the desired results.
I'm seeing the problem only with lower case 'or'