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 |
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) |
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 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–2020 Atlassian. All rights reserved.