MarkLogic 10 Product Documentation
cts:near-query-options

cts:near-query-options(
   $query as cts:near-query
) as xs:string*

Summary

Returns the options for the specified query.

Parameters
query A query.

Example

let $query := cts:near-query(
                 (cts:word-query("wanted"),
                 cts:word-query("unwanted")),
                 12,
                 "ordered")
return
  cts:near-query-options($query)
  => "ordered"
Powered by MarkLogic Server | Terms of Use | Privacy Policy