Query DSL: `constant_score` and `filtered` queries cache filters by default, remove it, closes #449.
This commit is contained in:
parent
835a81c16c
commit
deada942e5
|
@ -53,7 +53,7 @@ public class ConstantScoreQueryParser extends AbstractIndexComponent implements
|
|||
|
||||
Filter filter = null;
|
||||
float boost = 1.0f;
|
||||
boolean cache = true;
|
||||
boolean cache = false;
|
||||
|
||||
String currentFieldName = null;
|
||||
XContentParser.Token token;
|
||||
|
|
|
@ -53,7 +53,7 @@ public class FilteredQueryParser extends AbstractIndexComponent implements XCont
|
|||
Query query = null;
|
||||
Filter filter = null;
|
||||
float boost = 1.0f;
|
||||
boolean cache = true;
|
||||
boolean cache = false;
|
||||
|
||||
String currentFieldName = null;
|
||||
XContentParser.Token token;
|
||||
|
|
Loading…
Reference in New Issue