public class QueuingChangeIndexer extends Object implements ChangeIndexer
Constructor and Description |
---|
QueuingChangeIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
index(com.atlassian.bonnie.Searchable searchable) |
void |
reIndex(com.atlassian.bonnie.Searchable searchable) |
void |
reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
Reindexes all versions of the specified content.
|
void |
reindexUsersInGroup(String groupName) |
void |
setIndexerControl(IndexerControl indexerControl) |
void |
setIndexTaskFactory(IndexTaskFactory indexTaskFactory) |
void |
setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection) |
void |
setTaskQueue(IndexTaskQueue taskQueue) |
ChangeIndexer |
synchronous()
Return synchronous indexer that will perform index in the caller thread.
|
void |
unIndex(com.atlassian.bonnie.Searchable searchable) |
void |
unIndexSpace(Space space) |
public void index(com.atlassian.bonnie.Searchable searchable)
index
in interface com.atlassian.bonnie.Indexer
public void unIndex(com.atlassian.bonnie.Searchable searchable)
unIndex
in interface com.atlassian.bonnie.Indexer
public void unIndexSpace(Space space)
unIndexSpace
in interface ChangeIndexer
public void reindexUsersInGroup(String groupName)
reindexUsersInGroup
in interface ChangeIndexer
public void reIndex(com.atlassian.bonnie.Searchable searchable)
reIndex
in interface com.atlassian.bonnie.Indexer
public void reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
ChangeIndexer
Indexer.reIndex(com.atlassian.bonnie.Searchable)
if what has been updated in
the specified searchable is information that is duplicated across all versions of the changeable in the index
(say permissions).reIndexAllVersions
in interface ChangeIndexer
searchable
- a Versioned
changeable.public ChangeIndexer synchronous()
ChangeIndexer
synchronous
in interface ChangeIndexer
public void setTaskQueue(IndexTaskQueue taskQueue)
public void setIndexTaskFactory(IndexTaskFactory indexTaskFactory)
public void setIndexerControl(IndexerControl indexerControl)
public void setLuceneConnection(com.atlassian.bonnie.ILuceneConnection luceneConnection)
Copyright © 2003–2021 Atlassian. All rights reserved.