MarkLogic 9 Product Documentation
cts:confidence-order

cts:confidence-order(
   [$options as xs:string*]
) as cts:order

Summary

Creates a confidence-based ordering clause, for use as an option to cts:search.

Parameters
options Options.

Options include:

"descending"
Results should be returned in descending order of confidence.
"ascending"
Results should be returned in ascending order of confidence.

Usage Notes

Only one of "ascending" or "descending" may be specified in the options parameter. If neither "ascending" nor "descending" is specified, then the default is "ascending".

Example

cts:confidence-order("descending")
(: Returns the specified opaque cts:order object :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy