
cts:boost-query-boosting-query( $query as cts:boost-query ) as cts:query
Returns the boosting (second parameter) query used to construct the specified boost query.
| Parameters | |
|---|---|
| query | A query. | 
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.