diff src/goodjava/lucene/queryparser/GoodQueryParser.java @ 1572:45e42f403fb3

minor - lucene query parser
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Dec 2020 20:23:45 -0700
parents b1195cfe8712
children 83caee2ed4ad
line wrap: on
line diff
--- a/src/goodjava/lucene/queryparser/GoodQueryParser.java	Wed Nov 18 20:44:09 2020 -0700
+++ b/src/goodjava/lucene/queryparser/GoodQueryParser.java	Thu Dec 10 20:23:45 2020 -0700
@@ -96,10 +96,10 @@
 		if( query == null )
 			query = RangeTerm(field);
 		if( query == null ) {
-			parser.begin();
+			//parser.begin();
 			String match = SimpleTerm(NOT_IN_TERM);
 			query = fieldParser.getQuery(this,field,match);
-			parser.success();
+			//parser.success();
 		}
 		if( parser.match('^') ) {
 			Spaces();