dls:validate-all-documents( $verbose as xs:boolean ) as element(dls:validation-results)
Returns a report of the status of the DLS upgrade process.
Parameters | |
---|---|
verbose |
dls-admin
role is required to run
this function, or the privilege:http://marklogic.com/xdmp/privileges/dls-admin
xquery version "1.0-ml"; import module namespace dls = "http://marklogic.com/xdmp/dls" at "/MarkLogic/dls.xqy"; dls:validate-all-documents( fn:false() ) ==> <dls:validation-results xmlns:dls="http://marklogic.com/xdmp/dls"> <dls:validation-status>partial</dls:validation-status> <dls:validation-date>2014-12-02T15:14:51.111829-05:00</dls:validation-date> <dls:database-documents>800004</dls:database-documents> <dls:managed-documents>400001</dls:managed-documents> <dls:managed-versions>400001</dls:managed-versions> <dls:latest-property>400001</dls:latest-property> <dls:latest-collection>59000</dls:latest-collection> <dls:latest-or-collection>400001</dls:latest-or-collection> <dls:latest-and-collection>59000</dls:latest-and-collection> <dls:not-upgraded>341001</dls:not-upgraded> <dls:bare-versions>4</dls:bare-versions> <dls:invalid-collection>0</dls:invalid-collection> </dls:validation-results>