mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
Query DSL: term
filter to have _cache
set to true
by default, closes #453,
This commit is contained in:
parent
442f1d7677
commit
5804e9132a
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user