
cts:near-query-options( $query as cts:near-query ) as xs:string*
Returns the options for the specified query.
| Parameters | |
|---|---|
| query | A query. | 
let $query := cts:near-query(
                 (cts:word-query("wanted"),
                 cts:word-query("unwanted")),
                 12,
                 "ordered")
return
  cts:near-query-options($query)
  => "ordered"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.