changeset 1572:45e42f403fb3

minor - lucene query parser
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Dec 2020 20:23:45 -0700
parents a23b02693d3b
children c6b50b7b958c
files src/goodjava/lucene/queryparser/GoodQueryParser.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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();