Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts.fieldWordQueryOptions

cts.fieldWordQueryOptions(
   query as cts.fieldWordQuery
) as Sequence

Summary

Returns the options for the specified cts:field-word-query.

Parameters
query A query.

Example

const query = cts.fieldWordQuery("myField", "choice of law");
cts.fieldWordQueryOptions(query);

=> "lang=en"

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