public interface ConfluenceIndexer
extends com.atlassian.bonnie.Indexer
Modifier and Type | Method and Description |
---|---|
void |
index(com.atlassian.bonnie.Searchable obj)
Indexes the object without removing any existing copies from the index
|
void |
indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
Add a content object and all its dependents (attachments, comments, children, etc.) to the index
|
void |
reIndex(com.atlassian.bonnie.Searchable obj)
Updates an object in the index
|
void |
reIndexExcludingDependents(com.atlassian.bonnie.Searchable obj)
Updates just an object itself in the index, excluding any dependents (attachments, comments, children, etc.)
|
void |
reindexUsersInGroup(String groupName)
Optimised reindex of all indexed information relating to the given group
|
default ConfluenceIndexer |
synchronous()
Return synchronous indexer that will perform index in the caller thread.
|
void |
unIndex(com.atlassian.bonnie.Searchable obj)
Removes any existing copies of the object from the index
|
void |
unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
Remove a content object and all its dependents (attachments, comments, children, etc.) from the index
|
void |
unIndexSpace(Space space)
Optimised unindex of all content in a space
|
void index(com.atlassian.bonnie.Searchable obj)
index
in interface com.atlassian.bonnie.Indexer
void unIndex(com.atlassian.bonnie.Searchable obj)
unIndex
in interface com.atlassian.bonnie.Indexer
void reIndex(com.atlassian.bonnie.Searchable obj)
reIndex
in interface com.atlassian.bonnie.Indexer
void reIndexExcludingDependents(com.atlassian.bonnie.Searchable obj)
void unIndexSpace(Space space)
void reindexUsersInGroup(String groupName)
groupName
- the group to reindexvoid unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
void indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
default ConfluenceIndexer synchronous()
Copyright © 2003–2021 Atlassian. All rights reserved.