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.Indexerpublic void unIndex(com.atlassian.bonnie.Searchable searchable)
unIndex in interface com.atlassian.bonnie.Indexerpublic void reIndex(com.atlassian.bonnie.Searchable searchable)
reIndex in interface com.atlassian.bonnie.Indexerpublic void reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
ChangeIndexerIndexer.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 ChangeIndexersearchable - a Versioned changeable.public ChangeIndexer synchronous()
ChangeIndexersynchronous in interface ChangeIndexerpublic 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.