refresh param to bulk not working, closes #614.
This commit is contained in:
parent
373af6b1e0
commit
d650705a03
|
@ -255,15 +255,15 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bulk.refresh()) {
|
|
||||||
try {
|
|
||||||
refresh(new Refresh(false));
|
|
||||||
} catch (Exception e) {
|
|
||||||
//ignore
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dirty = true;
|
dirty = true;
|
||||||
|
if (bulk.refresh()) {
|
||||||
|
try {
|
||||||
|
refresh(new Refresh(false));
|
||||||
|
} catch (Exception e) {
|
||||||
|
//ignore
|
||||||
|
}
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
rwl.readLock().unlock();
|
rwl.readLock().unlock();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue