Package com.atlassian.confluence.search
Interface ChangeIndexer
- All Superinterfaces:
Indexer
- All Known Implementing Classes:
QueuingChangeIndexer
Indexer for changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reIndexAllVersions
(Searchable searchable) Reindexes all versions of the specified content.void
reindexUsersInGroup
(String groupName) default ChangeIndexer
Return synchronous indexer that will perform index in the caller thread.void
unIndexSpace
(Space space)
-
Method Details
-
reIndexAllVersions
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
- aVersioned
changeable.
-
synchronous
Return synchronous indexer that will perform index in the caller thread. -
unIndexSpace
- Since:
- 7.9.0
-
reindexUsersInGroup
- Since:
- 7.9.0
-