xdmp:forest-validate-replica-index( $forest-IDs as xs:unsignedLong*, $options as xs:string* ) as empty-sequence()
Validate index data for the database replica forests of the specified forests. Log results in ErrorLog.txt. Optionally repair the index data.
http://marklogic.com/xdmp/privileges/xdmp-forest-validate-replica-index
http://marklogic.com/xdmp/privileges/xdmp-forest-validate-replica-index/forest/{id}
http://marklogic.com/xdmp/privileges/xdmp-forest-validate-replica-index/database/{id}
xdmp:forest-validate-replica-index
on each forest.
xdmp:forest-validate-replica-index( xdmp:forest-open-replica(xdmp:database-forests($dbid)),("repair")) => ()