Loading TOC...

MarkLogic 12 EA 2 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)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.