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)
Updates index documents associated with this changeable in the index.
|
void |
reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
Removes all versions of the changeable from the index and rebuilds them from scratch.
|
void |
setIndexerControl(IndexerControl indexerControl) |
void |
setIndexTaskFactory(IndexTaskFactory indexTaskFactory) |
void |
setTaskQueue(IndexTaskQueue taskQueue) |
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
searchable
- the changeable.public void reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
reIndex(com.atlassian.bonnie.Searchable)
.reIndexAllVersions
in interface ChangeIndexer
searchable
- a Versioned
changeable.public void setTaskQueue(IndexTaskQueue taskQueue)
public void setIndexTaskFactory(IndexTaskFactory indexTaskFactory)
public void setIndexerControl(IndexerControl indexerControl)
Copyright © 2003–2016 Atlassian. All rights reserved.