MarkLogic Server 11.0 Product Documentation
cts.jsonPropertyScopeQueryQuery

cts.jsonPropertyScopeQueryQuery(
   query as cts.jsonPropertyScopeQuery
) as cts.query

Summary

Returns the query used to construct the property scope query.

Parameters
query A query.

Example

const query = cts.jsonPropertyScopeQuery(
              "help",
              cts.wordQuery("wanted");
cts.jsonPropertyScopeQueryQuery(query);

  => cts:word-query("wanted", ("lang=en"), 1)
Powered by MarkLogic Server | Terms of Use | Privacy Policy