@Override public void flush(IndexedTypeSet entityTypes) { performShardAwareOperation(entityTypes, (im, type) -> { im.performStreamOperation(new FlushLuceneWork(null, type), progressMonitor, false); }); }
@Override public void flush(IndexedTypeSet entityTypes) { performShardAwareOperation(entityTypes, (im, type) -> { im.performStreamOperation(new FlushLuceneWork(null, type), progressMonitor, false); }); }
public static void flush(SearchIntegrator si, IndexedTypeIdentifier typeId) { for ( IndexManager indexManager : si.getIndexBinding( typeId ).getIndexManagerSelector().all() ) { indexManager.performStreamOperation( new FlushLuceneWork( null, typeId ), null, false ); } }