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 Constructor Description QueuingConfluenceIndexer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidindex(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.)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)voidsetSearchIndexAccessor(SearchIndexAccessor searchIndexAccessor)voidsetSyncIndexer(Supplier<ConfluenceIndexer> syncIndexer)voidsetTaskQueue(IndexTaskQueue taskQueue)ConfluenceIndexersynchronous()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
-
-
-
Method Detail
-
index
public void index(Searchable searchable)
Description copied from interface:ConfluenceIndexerIndexes the object without removing any existing copies from the index- Specified by:
indexin interfaceConfluenceIndexer- Specified by:
indexin interfaceIndexer
-
unIndex
public void unIndex(Searchable searchable)
Description copied from interface:ConfluenceIndexerRemoves any existing copies of the object from the index- Specified by:
unIndexin interfaceConfluenceIndexer- Specified by:
unIndexin interfaceIndexer
-
reIndex
public void reIndex(Searchable searchable)
Description copied from interface:ConfluenceIndexerUpdates an object in the index- Specified by:
reIndexin interfaceConfluenceIndexer- Specified by:
reIndexin interfaceIndexer
-
reIndexExcludingDependents
public void reIndexExcludingDependents(Searchable searchable)
Description copied from interface:ConfluenceIndexerUpdates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)- Specified by:
reIndexExcludingDependentsin interfaceConfluenceIndexer
-
unIndexSpace
public void unIndexSpace(Space space)
Description copied from interface:ConfluenceIndexerOptimised unindex of all content in a space- Specified by:
unIndexSpacein interfaceConfluenceIndexer
-
reindexUsersInGroup
public void reindexUsersInGroup(String groupName)
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
public void unIndexIncludingDependents(Searchable searchable)
Description copied from interface:ConfluenceIndexerRemove a content object and all its dependents (attachments, comments, children, etc.) from the index- Specified by:
unIndexIncludingDependentsin interfaceConfluenceIndexer
-
indexIncludingDependents
public void indexIncludingDependents(Searchable searchable)
Description copied from interface:ConfluenceIndexerAdd a content object and all its dependents (attachments, comments, children, etc.) to the index- Specified by:
indexIncludingDependentsin interfaceConfluenceIndexer
-
synchronous
public ConfluenceIndexer synchronous()
Description copied from interface:ConfluenceIndexerReturn synchronous indexer that will perform index in the caller thread.- Specified by:
synchronousin interfaceConfluenceIndexer
-
setSyncIndexer
public void setSyncIndexer(Supplier<ConfluenceIndexer> syncIndexer)
-
setAsyncIndexer
public void setAsyncIndexer(Supplier<ConfluenceIndexer> asyncIndexer)
-
setTaskQueue
public void setTaskQueue(IndexTaskQueue taskQueue)
-
setIndexTaskFactory
public void setIndexTaskFactory(IndexTaskFactoryInternal indexTaskFactory)
-
setIndexerControl
public void setIndexerControl(IndexerControl indexerControl)
-
setChangeIndexer
public void setChangeIndexer(ChangeIndexer changeIndexer)
-
setSearchIndexAccessor
public void setSearchIndexAccessor(SearchIndexAccessor searchIndexAccessor)
-
-