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)
ConfluenceIndexer
index
in interface com.atlassian.bonnie.Indexer
index
in interface ConfluenceIndexer
public void unIndex(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexer
unIndex
in interface com.atlassian.bonnie.Indexer
unIndex
in interface ConfluenceIndexer
public void reIndex(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexer
reIndex
in interface com.atlassian.bonnie.Indexer
reIndex
in interface ConfluenceIndexer
public void reIndexExcludingDependents(com.atlassian.bonnie.Searchable obj)
ConfluenceIndexer
reIndexExcludingDependents
in interface ConfluenceIndexer
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 indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
ConfluenceIndexer
indexIncludingDependents
in interface ConfluenceIndexer
public ConfluenceIndexer synchronous()
ConfluenceIndexer
synchronous
in interface ConfluenceIndexer
public 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–2019 Atlassian. All rights reserved.