MarkLogic 10 Product Documentation
cts.jsonPropertyWordQueryWeight

cts.jsonPropertyWordQueryWeight(
   query as cts.jsonPropertyWordQuery
) as Number

Summary

Returns the weight with which the specified query was constructed.

Parameters
query A query.

Example

  const query = cts.json-propertyWordQuery("prop", "choice of law");
  cts.jsonPropertyWordQueryWeight(query);
  => 1
Powered by MarkLogic Server | Terms of Use | Privacy Policy