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,15 +255,15 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine,
break;
}
}
if (bulk.refresh()) {
try {
refresh(new Refresh(false));
} catch (Exception e) {
//ignore
}
}
}
dirty = true;
if (bulk.refresh()) {
try {
refresh(new Refresh(false));
} catch (Exception e) {
//ignore
}
}
} finally {
rwl.readLock().unlock();
}