Interface Reindexer
- All Known Implementing Classes:
- AbstractReindexer,- BlueGreenReindexer,- PropagableReindexer
@Internal
public interface Reindexer
Responsible for triggering re-indexing / rebuilding of the Confluence search index.
 
 Warning: Client code should use IndexManager.reIndex() instead of this class, because it will
 ensure proper locking is in place. Calling ReIndexer directly can result to races with other
 index operations.
- Since:
- 8.0 - This class is for internal use only. Please use IndexManager.reIndex()in plugins instead.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidTriggers a system wide re-index.voidreIndex(EnumSet<ReIndexOption> options, @NonNull SearchQuery searchQuery, Progress progress) Triggers a system wide re-index all entities loaded from searchQuery.voidreIndex(EnumSet<ReIndexOption> options, Progress progress) Triggers a system wide re-index all entities from the database.voidTriggers a re-index all entities from a space.booleanGets whether journal flush should be suspended when this reindexer is performing a reindex.
- 
Method Details- 
reIndexTriggers a system wide re-index.- Parameters:
- progress- object to track progress of re-index.
 
- 
reIndexTriggers a system wide re-index all entities from the database.- Parameters:
- options- Optional. Allows a subset of all searchable content to be re-indexed.
- progress- object to track progress of re-index.
 
- 
reIndexTriggers a system wide re-index all entities loaded from searchQuery.- Parameters:
- options- Optional. Allows a subset of all searchable content to be re-indexed.
- searchQuery- A query that may be used to load the entities to be re-indexed.
- progress- object to track progress of re-index.
 
- 
reIndexTriggers a re-index all entities from a space.- Parameters:
- options- Optional. Allows a subset of all searchable content to be re-indexed.
- spaceKeys- The keys of the spaces where the entities are loaded from.
- progress- object to track progress of re-index.
 
- 
shouldSuspendJournalFlushboolean shouldSuspendJournalFlush()Gets whether journal flush should be suspended when this reindexer is performing a reindex.- Returns:
- true if journal flush should be suspended when this reindexer is performing a reindex
- Since:
- 9.0
 
 
-