Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.elementWordQueryOptions

cts.elementWordQueryOptions(
   query as cts.elementWordQuery
) as Sequence

Summary

Returns the options for the specified query.

Parameters
query A query.

Example

  const query = cts.elementWordQuery(xs.QName("elem"), "choice of law");
  cts.elementWordQueryOptions(query);
  => "lang=en"

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