MarkLogic 9 Product Documentation
cts:boost-query-boosting-query

cts:boost-query-boosting-query(
   $query as cts:boost-query
) as cts:query

Summary

Returns the boosting (second parameter) query used to construct the specified boost query.

Parameters
query A query.

Example

let $query := cts:boost-query(
                cts:word-query("wanted"),
                cts:word-query("unwanted"))
return cts:boost-query-boosting-query($query)

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