xdmp:document-set-quality( $uri as xs:string, $quality as xs:integer ) as empty-sequence()
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. |
xdmp:document-set-quality( "http://www.marklogic.com/test.xml",10) => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.