changeset 1564:b1195cfe8712

lucene/queryparser fix
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 10 Nov 2020 22:40:43 -0700
parents 8fbcc4747091
children 44e444a8da64
files src/goodjava/lucene/queryparser/GoodQueryParser.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/goodjava/lucene/queryparser/GoodQueryParser.java	Mon Nov 09 01:37:57 2020 -0700
+++ b/src/goodjava/lucene/queryparser/GoodQueryParser.java	Tue Nov 10 22:40:43 2020 -0700
@@ -207,6 +207,7 @@
 			char c = parser.lastChar();
 			switch(c) {
 			case '"':
+				Spaces();
 				return parser.success(sb.toString());
 			case '\\':
 				if( parser.anyChar() ) {