mirror of https://github.com/apache/lucene.git
SOLR-9275: add defaultField protected field to queryparser/xml's CoreParser
This commit is contained in:
parent
05b38f5f21
commit
9f13bf6718
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue