MarkLogic Server 11.0 Product Documentation
xdmp.documentGetQuality

xdmp.documentGetQuality(
   uri as String
) as Number?

Summary

Returns the quality of the specified document if the document exists. Otherwise, returns the empty sequence.

Parameters
uri The URI of the document in question.

Example

xdmp.documentGetQuality("example.xml");
=> 10
Powered by MarkLogic Server | Terms of Use | Privacy Policy