Query DSL: Revert back and have range, terms, and prefix filter _cache set to true, closes #456.

This commit is contained in:
kimchy 2010-10-27 20:34:02 +02:00
parent 3a9dc8f452
commit d487d809ea
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ public class PrefixFilterParser extends AbstractIndexComponent implements XConte
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
XContentParser parser = parseContext.parser();
boolean cache = false;
boolean cache = true;
String fieldName = null;
String value = null;

View File

@ -52,7 +52,7 @@ public class RangeFilterParser extends AbstractIndexComponent implements XConten
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
XContentParser parser = parseContext.parser();
boolean cache = false;
boolean cache = true;
String fieldName = null;
String from = null;
String to = null;

View File

@ -56,7 +56,7 @@ public class TermsFilterParser extends AbstractIndexComponent implements XConten
XContentParser parser = parseContext.parser();
MapperService.SmartNameFieldMappers smartNameFieldMappers = null;
boolean cache = false;
boolean cache = true;
TermsFilter termsFilter = new PublicTermsFilter();
String filterName = null;
String currentFieldName = null;