Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Query DSL: term filter to have _cache set to true by default, c…
…loses elastic#453,
  • Loading branch information
kimchy committed Oct 26, 2010
1 parent 442f1d7 commit 5804e91
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ public class TermFilterParser extends AbstractIndexComponent implements XContent
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
XContentParser parser = parseContext.parser();

boolean cache = false;
boolean cache = true; // since usually term filter is on repeating terms, cache it by default
String fieldName = null;
String value = null;

Expand Down

0 comments on commit 5804e91

Please sign in to comment.