MarkLogic 12 EA 1 Product Documentation
xdmp:document-set-quality

xdmp:document-set-quality(
   $uri as xs:string,
   $quality as xs:integer
) as empty-sequence()

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

xdmp:document-set-quality(
  "http://www.marklogic.com/test.xml",10)
=> ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy