Loading TOC...

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");
=> ()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.