MarkLogic 12 EA 1 Product Documentation
cts.nearQueryOptions

cts.nearQueryOptions(
   query as cts.nearQuery
) as Sequence

Summary

Returns the options for the specified query.

Parameters
query A query.

Example

const query = cts.nearQuery(
                 [cts.wordQuery("wanted"),
                 cts.wordQuery("unwanted")],
                 12,
                 "ordered");
cts.nearQueryOptions(query);
  => "ordered"
Powered by MarkLogic Server | Terms of Use | Privacy Policy