Query DSL: `constant_score` and `filtered` queries cache filters by default, remove it, closes #449.

This commit is contained in:
kimchy 2010-10-25 13:52:15 +02:00
parent 835a81c16c
commit deada942e5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;