Class QueuingConfluenceIndexer
java.lang.Object
com.atlassian.confluence.internal.search.QueuingConfluenceIndexer
- All Implemented Interfaces:
Indexer,ConfluenceIndexer
@LuceneIndependent
@Internal
public class QueuingConfluenceIndexer
extends Object
implements ConfluenceIndexer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidindex(Searchable searchable) Indexes the object without removing any existing copies from the indexvoidindexIncludingDependents(Searchable searchable) Add a content object and all its dependents (attachments, comments, children, etc.) to the indexvoidreIndex(Searchable searchable) Updates an object in the indexvoidreIndexExcludingDependents(Searchable searchable) Updates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)voidreIndexExcludingDependentsAndChangeIndex(Searchable searchable) Updates just an object itself in the Content index, excluding any dependents (attachments, comments, children, etc.)voidAdd a content object and all its dependents (attachments, comments, children, etc.) to the index, but (in place) update only the permissions in the index document.voidreindexUsersInGroup(String groupName) Optimised reindex of all indexed information relating to the given groupvoidsetAsyncIndexer(Supplier<ConfluenceIndexer> asyncIndexer) voidsetChangeIndexer(ChangeIndexer changeIndexer) voidsetIndexerControl(IndexerControl indexerControl) voidsetIndexTaskFactory(IndexTaskFactoryInternal indexTaskFactory) voidsetSearchableResolver(SearchableResolver searchableResolver) voidsetSearchIndexAccessor(SearchIndexAccessor searchIndexAccessor) voidsetTaskQueue(IndexTaskQueue<ConfluenceIndexTask> taskQueue) Return synchronous indexer that will perform index in the caller thread.voidunIndex(Searchable searchable) Removes any existing copies of the object from the indexvoidunIndexIncludingDependents(Searchable searchable) Remove a content object and all its dependents (attachments, comments, children, etc.) from the indexvoidunIndexSpace(Space space) Optimised unindex of all content in a space
-
Constructor Details
-
QueuingConfluenceIndexer
public QueuingConfluenceIndexer()
-
-
Method Details
-
index
Description copied from interface:ConfluenceIndexerIndexes the object without removing any existing copies from the index- Specified by:
indexin interfaceConfluenceIndexer- Specified by:
indexin interfaceIndexer
-
unIndex
Description copied from interface:ConfluenceIndexerRemoves any existing copies of the object from the index- Specified by:
unIndexin interfaceConfluenceIndexer- Specified by:
unIndexin interfaceIndexer
-
reIndex
Description copied from interface:ConfluenceIndexerUpdates an object in the index- Specified by:
reIndexin interfaceConfluenceIndexer- Specified by:
reIndexin interfaceIndexer
-
reIndexExcludingDependents
Description copied from interface:ConfluenceIndexerUpdates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)- Specified by:
reIndexExcludingDependentsin interfaceConfluenceIndexer
-
reIndexExcludingDependentsAndChangeIndex
Description copied from interface:ConfluenceIndexerUpdates just an object itself in the Content index, excluding any dependents (attachments, comments, children, etc.)- Specified by:
reIndexExcludingDependentsAndChangeIndexin interfaceConfluenceIndexer
-
unIndexSpace
Description copied from interface:ConfluenceIndexerOptimised unindex of all content in a space- Specified by:
unIndexSpacein interfaceConfluenceIndexer
-
reindexUsersInGroup
Description copied from interface:ConfluenceIndexerOptimised reindex of all indexed information relating to the given group- Specified by:
reindexUsersInGroupin interfaceConfluenceIndexer- Parameters:
groupName- the group to reindex
-
unIndexIncludingDependents
Description copied from interface:ConfluenceIndexerRemove a content object and all its dependents (attachments, comments, children, etc.) from the index- Specified by:
unIndexIncludingDependentsin interfaceConfluenceIndexer
-
indexIncludingDependents
Description copied from interface:ConfluenceIndexerAdd a content object and all its dependents (attachments, comments, children, etc.) to the index- Specified by:
indexIncludingDependentsin interfaceConfluenceIndexer
-
reIndexPermissions
Description copied from interface:ConfluenceIndexerAdd a content object and all its dependents (attachments, comments, children, etc.) to the index, but (in place) update only the permissions in the index document. OpenSearch Only. DO NOT USE for Lucene.- Specified by:
reIndexPermissionsin interfaceConfluenceIndexer- Parameters:
obj- The content to be reindexed for permissions
-
synchronous
Description copied from interface:ConfluenceIndexerReturn synchronous indexer that will perform index in the caller thread.- Specified by:
synchronousin interfaceConfluenceIndexer
-
setAsyncIndexer
-
setTaskQueue
-
setIndexTaskFactory
-
setSearchableResolver
-
setIndexerControl
-
setChangeIndexer
-
setSearchIndexAccessor
-