MarkLogic 12 EA 1 Product Documentation
xdmp.documentSetQuality

xdmp.documentSetQuality(
   uri as String,
   quality as Number
) as null

Summary

Sets the quality of the document with the given URI. If the quality of the document is positive, the relevance score of the document is increased in text search functions. The converse is true for "negative" quality.

Parameters
uri The URI of the document to which you are setting the quality.
quality The quality to which to set the document.

Example

declareUpdate();
xdmp.documentSetQuality("/test.json","10");
=> ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy