add query types also to field query
This commit is contained in:
parent
0cebcc56a4
commit
7a23b4f0b6
|
@ -155,6 +155,8 @@ public class FieldQueryParser implements QueryParser {
|
|||
qpSettings.queryString(org.apache.lucene.queryParser.QueryParser.escape(qpSettings.queryString()));
|
||||
}
|
||||
|
||||
qpSettings.queryTypes(parseContext.queryTypes());
|
||||
|
||||
Query query = parseContext.indexCache().queryParserCache().get(qpSettings);
|
||||
if (query != null) {
|
||||
return query;
|
||||
|
|
Loading…
Reference in New Issue