The module contains an InstallHook implementation for content-packages that contain index definitions.
It helps to trigger a reindex when necessary but not otherwise, when a package containing Oak index definitions is installed.
To use this index hook:
META-INF/vault/hooks
The hook manages the properties reindex
and reindexCount
on an index
definition. So it makes sense to avoid using these two properties in the
content package.
Reindexing is triggered if an index definition has changed. I.e. if the definition node or any of its descendants was added, modified or deleted.
<dependency>
<groupId>net.distilledcode</groupId>
<artifactId>filevault-oak-reindex-hook</artifactId>
<version><!-- latest version --></version>
</dependency>
To find the latest version available, please look on Maven Central.