call shard refresh API and not directly the engine one

This commit is contained in:
kimchy 2011-03-29 17:17:39 +02:00
parent ff8dc2673f
commit 0e6bbf3f85
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ public class InternalIndexShard extends AbstractIndexShardComponent implements I
@Override public void run() {
try {
if (engine.refreshNeeded()) {
engine.refresh(new Engine.Refresh(false));
refresh(new Engine.Refresh(false));
}
} catch (EngineClosedException e) {
// we are being closed, ignore