mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-15 09:25:40 +00:00
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…
x
Reference in New Issue
Block a user