Query DSL: Revert back and have range, terms, and prefix filter _cache set to true, closes #456.
This commit is contained in:
parent
3a9dc8f452
commit
d487d809ea
|
@ -53,7 +53,7 @@ public class PrefixFilterParser extends AbstractIndexComponent implements XConte
|
||||||
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
|
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
|
||||||
XContentParser parser = parseContext.parser();
|
XContentParser parser = parseContext.parser();
|
||||||
|
|
||||||
boolean cache = false;
|
boolean cache = true;
|
||||||
String fieldName = null;
|
String fieldName = null;
|
||||||
String value = null;
|
String value = null;
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class RangeFilterParser extends AbstractIndexComponent implements XConten
|
||||||
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
|
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
|
||||||
XContentParser parser = parseContext.parser();
|
XContentParser parser = parseContext.parser();
|
||||||
|
|
||||||
boolean cache = false;
|
boolean cache = true;
|
||||||
String fieldName = null;
|
String fieldName = null;
|
||||||
String from = null;
|
String from = null;
|
||||||
String to = null;
|
String to = null;
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class TermsFilterParser extends AbstractIndexComponent implements XConten
|
||||||
XContentParser parser = parseContext.parser();
|
XContentParser parser = parseContext.parser();
|
||||||
|
|
||||||
MapperService.SmartNameFieldMappers smartNameFieldMappers = null;
|
MapperService.SmartNameFieldMappers smartNameFieldMappers = null;
|
||||||
boolean cache = false;
|
boolean cache = true;
|
||||||
TermsFilter termsFilter = new PublicTermsFilter();
|
TermsFilter termsFilter = new PublicTermsFilter();
|
||||||
String filterName = null;
|
String filterName = null;
|
||||||
String currentFieldName = null;
|
String currentFieldName = null;
|
||||||
|
|
Loading…
Reference in New Issue