Loading TOC...

cts.boostQueryMatchingQuery

cts.boostQueryMatchingQuery(
   $query as cts.boostQuery
) as cts.query

Summary

Returns the matching (first parameter) query used to construct the specified boost query.

Parameters
$query A query.

Example

var query = cts.boostQuery(
                cts.wordQuery("wanted"),
                cts.wordQuery("unwanted"));
cts.boostQueryMatchingQuery(query);

  => cts.wordQuery("wanted", ["lang=en"], 1)

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy