MarkLogic 12 EA 1 Product Documentation
cts.fieldWordQueryFieldName

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

Summary

Returns the names used to construct the specified cts:field-word-query.

Parameters
query A query.

Example

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

=> "myField"
Powered by MarkLogic Server | Terms of Use | Privacy Policy