public class QueuingConfluenceIndexer extends Object implements ConfluenceIndexer
Constructor and Description |
---|
QueuingConfluenceIndexer(IndexTaskQueue<ConfluenceIndexTask> taskQueue,
IndexTaskFactory indexTaskFactory,
ChangeIndexer changeIndexer) |
Modifier and Type | Method and Description |
---|---|
void |
index(com.atlassian.bonnie.Searchable searchable)
Index the specified searchable object
|
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 searchable)
Updates an object in the index
|
void |
reindexPermissions(com.atlassian.bonnie.Searchable searchable)
Reindex object hierarchy when the content permission is changed.
|
void |
reindexUsersInGroup(String groupName)
Optimised reindex of all indexed information relating to the given group
|
void |
unIndex(com.atlassian.bonnie.Searchable searchable)
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reIndex
public QueuingConfluenceIndexer(IndexTaskQueue<ConfluenceIndexTask> taskQueue, IndexTaskFactory indexTaskFactory, ChangeIndexer changeIndexer)
public void unIndexSpace(Space space)
ConfluenceIndexer
unIndexSpace
in interface ConfluenceIndexer
public void reindexUsersInGroup(String groupName)
ConfluenceIndexer
reindexUsersInGroup
in interface ConfluenceIndexer
groupName
- the group to reindexpublic void unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
unIndexIncludingDependents
in interface ConfluenceIndexer
public void unIndex(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
unIndex
in interface com.atlassian.bonnie.Indexer
unIndex
in interface ConfluenceIndexer
public void reIndex(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
reIndex
in interface com.atlassian.bonnie.Indexer
reIndex
in interface ConfluenceIndexer
public void indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
indexIncludingDependents
in interface ConfluenceIndexer
public void reindexPermissions(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
reindexPermissions
in interface ConfluenceIndexer
public void index(com.atlassian.bonnie.Searchable searchable)
index
in interface com.atlassian.bonnie.Indexer
index
in interface ConfluenceIndexer
Copyright © 2003–2017 Atlassian. All rights reserved.