refresh param to bulk not working, closes #614.

This commit is contained in:
kimchy 2011-01-09 22:06:51 +02:00
parent 373af6b1e0
commit d650705a03
1 changed files with 7 additions and 7 deletions

View File

@ -255,6 +255,8 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine,
break; break;
} }
} }
}
dirty = true;
if (bulk.refresh()) { if (bulk.refresh()) {
try { try {
refresh(new Refresh(false)); refresh(new Refresh(false));
@ -262,8 +264,6 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine,
//ignore //ignore
} }
} }
}
dirty = true;
} finally { } finally {
rwl.readLock().unlock(); rwl.readLock().unlock();
} }