Package com.atlassian.confluence.search
Interface ChangeIndexer
-
- All Superinterfaces:
Indexer
- All Known Implementing Classes:
QueuingChangeIndexer
public interface ChangeIndexer extends Indexer
Indexer for changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidreIndexAllVersions(Searchable searchable)Reindexes all versions of the specified content.voidreindexUsersInGroup(String groupName)default ChangeIndexersynchronous()Return synchronous indexer that will perform index in the caller thread.voidunIndexSpace(Space space)
-
-
-
Method Detail
-
reIndexAllVersions
void reIndexAllVersions(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 ofIndexer.reIndex(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- aVersionedchangeable.
-
synchronous
default ChangeIndexer synchronous()
Return synchronous indexer that will perform index in the caller thread.
-
unIndexSpace
void unIndexSpace(Space space)
- Since:
- 7.9.0
-
reindexUsersInGroup
void reindexUsersInGroup(String groupName)
- Since:
- 7.9.0
-
-