Pass on filterStrategy in XFilteredQuery if query is rewritten
This commit is contained in:
parent
a5bd57ed6c
commit
0b730aae81
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue