We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
term
_cache
true
1 parent 442f1d7 commit 5804e91Copy full SHA for 5804e91
modules/elasticsearch/src/main/java/org/elasticsearch/index/query/xcontent/TermFilterParser.java
@@ -53,7 +53,7 @@ public class TermFilterParser extends AbstractIndexComponent implements XContent
53
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
54
XContentParser parser = parseContext.parser();
55
56
- boolean cache = false;
+ boolean cache = true; // since usually term filter is on repeating terms, cache it by default
57
String fieldName = null;
58
String value = null;
59
0 commit comments