SOLR-9275: add defaultField protected field to queryparser/xml's CoreParser

This commit is contained in:
Christine Poerschke 2016-07-18 14:25:22 +01:00
parent 05b38f5f21
commit 9f13bf6718
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ import java.io.InputStream;
*/
public class CoreParser implements QueryBuilder {
protected String defaultField;
protected Analyzer analyzer;
protected QueryParser parser;
protected QueryBuilderFactory queryFactory;
@ -59,6 +60,7 @@ public class CoreParser implements QueryBuilder {
}
protected CoreParser(String defaultField, Analyzer analyzer, QueryParser parser) {
this.defaultField = defaultField;
this.analyzer = analyzer;
this.parser = parser;