public class DelegatingChangeIndexer extends Object implements ChangeIndexer
Constructor and Description |
---|
DelegatingChangeIndexer(ESFeatureManager esFeatureManager,
com.google.common.base.Supplier<QueuingChangeIndexer> journalChangeIndexer,
com.google.common.base.Supplier<AmqChangeIndexer> amqChangeIndexer) |
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 |
unIndex(com.atlassian.bonnie.Searchable searchable) |
public DelegatingChangeIndexer(ESFeatureManager esFeatureManager, com.google.common.base.Supplier<QueuingChangeIndexer> journalChangeIndexer, com.google.common.base.Supplier<AmqChangeIndexer> amqChangeIndexer)
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 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
Copyright © 2003–2017 Atlassian. All rights reserved.