xdmp.documentSetQuality( uri as String, quality as Number ) as null
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. |
declareUpdate(); xdmp.documentSetQuality("/test.json","10"); => ()