com.atlassian.confluence.search
Interface ChangeIndexer

All Superinterfaces:
com.atlassian.bonnie.Indexer
All Known Implementing Classes:
QueuingChangeIndexer

public interface ChangeIndexer
extends com.atlassian.bonnie.Indexer

Indexer for changes.


Method Summary
 void reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
          Reindexes all versions of the specified content.
 
Methods inherited from interface com.atlassian.bonnie.Indexer
index, reIndex, unIndex
 

Method Detail

reIndexAllVersions

void reIndexAllVersions(com.atlassian.bonnie.Searchable searchable)
Reindexes all versions of the specified content. This could be expensive as the cost is proportional to the number of versions present. This should be invoked instead of 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).

Parameters:
searchable - a Versioned changeable.


Copyright © 2003-2014 Atlassian. All Rights Reserved.