Loading TOC...

cts.fitnessOrder

cts.fitnessOrder(
   [$options as String[]]
) as cts.order

Summary

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

Parameters
$options Options. The default is ().

Options include:

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

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.fitnessOrder("descending");
=>
cts.fitnessOrder("descending")

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy