public class QueuingConfluenceIndexer extends Object implements ConfluenceIndexer
| Constructor and Description |
|---|
QueuingConfluenceIndexer() |
| 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
|
void |
setChangeIndexer(ChangeIndexer changeIndexer) |
void |
setIndexerControl(IndexerControl indexerControl) |
void |
setIndexTaskFactory(IndexTaskFactory indexTaskFactory) |
void |
setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection) |
void |
setTaskQueue(IndexTaskQueue taskQueue) |
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
|
public void index(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexerindex in interface com.atlassian.bonnie.Indexerindex in interface ConfluenceIndexerpublic void unIndex(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexerunIndex in interface com.atlassian.bonnie.IndexerunIndex in interface ConfluenceIndexerpublic void reIndex(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexerreIndex in interface com.atlassian.bonnie.IndexerreIndex in interface ConfluenceIndexerpublic void reIndexExcludingDependents(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexerreIndexExcludingDependents in interface ConfluenceIndexerpublic void unIndexSpace(Space space)
ConfluenceIndexerunIndexSpace in interface ConfluenceIndexerpublic void reindexUsersInGroup(String groupName)
ConfluenceIndexerreindexUsersInGroup in interface ConfluenceIndexergroupName - the group to reindexpublic void unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexerunIndexIncludingDependents in interface ConfluenceIndexerpublic void indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexerindexIncludingDependents in interface ConfluenceIndexerpublic ConfluenceIndexer synchronous()
ConfluenceIndexersynchronous in interface ConfluenceIndexerpublic void setTaskQueue(IndexTaskQueue taskQueue)
public void setIndexTaskFactory(IndexTaskFactory indexTaskFactory)
public void setIndexerControl(IndexerControl indexerControl)
public void setChangeIndexer(ChangeIndexer changeIndexer)
public void setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
Copyright © 2003–2021 Atlassian. All rights reserved.