xdmp.forestValidateReplicaIndex( forest-IDs as (Number|String)[], options as String[] ) as null
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.forestValidateReplicaIndex
on each forest.
xdmp.forestValidateReplicaIndex( xdmp.forestOpenReplica(xdmp.databaseForests(dbid)),["repair"]) => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.