Loading TOC...

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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.