Loading TOC...

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"

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