Delete By Query wrongly persisted to translog, closes #1198.

This commit is contained in:
Shay Banon 2011-08-03 11:30:01 +03:00
parent ff2a4ed783
commit 50ccb665a0
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ public interface Translog extends IndexShardComponent {
} }
public DeleteByQuery(Engine.DeleteByQuery deleteByQuery) { public DeleteByQuery(Engine.DeleteByQuery deleteByQuery) {
this(deleteByQuery.source(), deleteByQuery.types()); this(deleteByQuery.source(), deleteByQuery.filteringAliases(), deleteByQuery.types());
} }
public DeleteByQuery(byte[] source, String[] filteringAliases, String... types) { public DeleteByQuery(byte[] source, String[] filteringAliases, String... types) {