MarkLogic 10 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"
Powered by MarkLogic Server | Terms of Use | Privacy Policy