Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Fixed
-
5.0
-
None
-
New
Description
In order to be consistent with QueryParser, SimpleQueryParser should return an empty BooleanQuery instead of null when the analyzed query state is null (if the query text is entirely removed during analysis, for instance).
Long term it would also be nice to be able to return a MatchNoDocsQuery (or something like that) instead of using null as a stand-in value for this.