Package org.infinispan.query
Interface MassIndexer
-
@Deprecated public interface MassIndexer
Deprecated.Since 11.0, replaced byIndexer
, obtained fromSearch.getIndexer(Cache)
Component to rebuild the indexes from the existing data. This process starts by removing all existing indexes, and then a distributed task is executed to rebuild the indexes. This task can take a long time to run, depending on data size, used stores, indexing complexity.While reindexing is being performed queries should not be executed as they will very likely miss many or all results.
- Author:
- Sanne Grinovero < ;sanne@hibernate.org> (C) 2012 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
isRunning()
Deprecated.Since 11.0, useIndexer.isRunning()
fromSearch.getIndexer(Cache)
.CompletableFuture<Void>
purge()
Deprecated.Since 11.0, useIndexer.remove()
fromSearch.getIndexer(Cache)
.CompletableFuture<Void>
reindex(Object... keys)
Deprecated.Since 11.0, useIndexer.run(Object...)
fromSearch.getIndexer(Cache)
.void
start()
Deprecated.Since 11.0, useIndexer.run()
fromSearch.getIndexer(Cache)
and wait for completion.CompletableFuture<Void>
startAsync()
Deprecated.Since 11.0, useIndexer.run()
fromSearch.getIndexer(Cache)
.
-
-
-
Method Detail
-
start
@Deprecated void start()
Deprecated.Since 11.0, useIndexer.run()
fromSearch.getIndexer(Cache)
and wait for completion.
-
purge
@Deprecated CompletableFuture<Void> purge()
Deprecated.Since 11.0, useIndexer.remove()
fromSearch.getIndexer(Cache)
.Deletes all the indexes and skip the reindexing.
-
startAsync
@Deprecated CompletableFuture<Void> startAsync()
Deprecated.Since 11.0, useIndexer.run()
fromSearch.getIndexer(Cache)
.- Returns:
CompletableFuture
-
reindex
@Deprecated CompletableFuture<Void> reindex(Object... keys)
Deprecated.Since 11.0, useIndexer.run(Object...)
fromSearch.getIndexer(Cache)
.
-
isRunning
@Deprecated boolean isRunning()
Deprecated.Since 11.0, useIndexer.isRunning()
fromSearch.getIndexer(Cache)
.- Returns:
- true if the MassIndexer process was started on this node and hasn't finished yet.
-
-