Verify indexes
You can verify that indexes correspond to current directory data, and do not contain errors.
Use the verify-index
command.
The following example verifies the cn
index offline:
$ stop-ds
$ verify-index \
--baseDN dc=example,dc=com \
--index cn \
--clean \
--countErrors
The output indicates whether any errors are found in the index.