Class QueuingChangeIndexer
java.lang.Object
com.atlassian.confluence.impl.search.QueuingChangeIndexer
- All Implemented Interfaces:
Indexer,ChangeIndexer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidindex(Searchable searchable) voidreIndex(Searchable searchable) voidreIndexAllVersions(Searchable searchable) Reindexes all versions of the specified content.voidreindexUsersInGroup(String groupName) voidsetAsyncIndexer(Supplier<ChangeIndexer> asyncIndexer) voidsetIndexerControl(IndexerControl indexerControl) voidsetIndexTaskFactory(IndexTaskFactoryInternal indexTaskFactory) voidsetSearchIndexAccessor(SearchIndexAccessor searchIndexAccessor) voidsetSyncIndexer(Supplier<ChangeIndexer> syncIndexer) voidsetTaskQueue(IndexTaskQueue taskQueue) Return synchronous indexer that will perform index in the caller thread.voidunIndex(Searchable searchable) voidunIndexSpace(Space space)
-
Constructor Details
-
QueuingChangeIndexer
public QueuingChangeIndexer()
-
-
Method Details
-
index
-
unIndex
-
unIndexSpace
- Specified by:
unIndexSpacein interfaceChangeIndexer
-
reindexUsersInGroup
- Specified by:
reindexUsersInGroupin interfaceChangeIndexer
-
reIndex
-
reIndexAllVersions
Description copied from interface:ChangeIndexerReindexes all versions of the specified content. This could be expensive as the cost is proportional to the number of versions present. This should be invoked instead ofIndexer.reIndex(Searchable)if what has been updated in the specified searchable is information that is duplicated across all versions of the changeable in the index (say permissions).- Specified by:
reIndexAllVersionsin interfaceChangeIndexer- Parameters:
searchable- aVersionedchangeable.
-
synchronous
Description copied from interface:ChangeIndexerReturn synchronous indexer that will perform index in the caller thread.- Specified by:
synchronousin interfaceChangeIndexer
-
setTaskQueue
-
setIndexTaskFactory
-
setIndexerControl
-
setSearchIndexAccessor
-
setAsyncIndexer
-
setSyncIndexer
-