Package com.atlassian.confluence.search
Interface ConfluenceIndexer
- All Superinterfaces:
Indexer
- All Known Implementing Classes:
QueuingConfluenceIndexer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
index
(Searchable obj) Indexes the object without removing any existing copies from the indexvoid
indexIncludingDependents
(Searchable searchable) Add a content object and all its dependents (attachments, comments, children, etc.) to the indexvoid
reIndex
(Searchable obj) Updates an object in the indexvoid
Updates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)void
Updates just an object itself in the Content index, excluding any dependents (attachments, comments, children, etc.)void
reIndexPermissions
(Searchable searchable) Add 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.void
reindexUsersInGroup
(String groupName) Optimised reindex of all indexed information relating to the given groupdefault ConfluenceIndexer
Return synchronous indexer that will perform index in the caller thread.void
unIndex
(Searchable obj) Removes any existing copies of the object from the indexvoid
unIndexIncludingDependents
(Searchable searchable) Remove a content object and all its dependents (attachments, comments, children, etc.) from the indexvoid
unIndexSpace
(Space space) Optimised unindex of all content in a space
-
Method Details
-
index
Indexes the object without removing any existing copies from the index -
unIndex
Removes any existing copies of the object from the index -
reIndex
Updates an object in the index -
reIndexExcludingDependents
Updates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)- Since:
- 6.13.0
-
reIndexExcludingDependentsAndChangeIndex
Updates just an object itself in the Content index, excluding any dependents (attachments, comments, children, etc.)- Since:
- 9.5.0
-
unIndexSpace
Optimised unindex of all content in a space -
reindexUsersInGroup
Optimised reindex of all indexed information relating to the given group- Parameters:
groupName
- the group to reindex
-
unIndexIncludingDependents
Remove a content object and all its dependents (attachments, comments, children, etc.) from the index -
indexIncludingDependents
Add a content object and all its dependents (attachments, comments, children, etc.) to the index -
reIndexPermissions
Add 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.- Parameters:
searchable
- The content to be reindexed for permissions- Since:
- 9.2.5
-
synchronous
Return synchronous indexer that will perform index in the caller thread.
-