MarkLogic 10 Product Documentation
cts:boost-query-matching-query

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

Summary

Returns the matching (first 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-matching-query($query)

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