diff --git a/src/main/java/org/elasticsearch/common/lucene/search/XFilteredQuery.java b/src/main/java/org/elasticsearch/common/lucene/search/XFilteredQuery.java index b7e52389887..1bcb20ad98f 100644 --- a/src/main/java/org/elasticsearch/common/lucene/search/XFilteredQuery.java +++ b/src/main/java/org/elasticsearch/common/lucene/search/XFilteredQuery.java @@ -365,7 +365,7 @@ public class XFilteredQuery extends Query { if (queryRewritten != query) { // rewrite to a new FilteredQuery wrapping the rewritten query - final Query rewritten = new XFilteredQuery(queryRewritten, filter); + final Query rewritten = new XFilteredQuery(queryRewritten, filter, strategy); rewritten.setBoost(this.getBoost()); return rewritten; } else {