cts:reverse-query-weight( $query as cts:reverse-query ) as xs:double
Returns the weight with which the specified query was constructed.
Parameters | |
---|---|
query | A query. |
let $query := <query>{cts:word-query("hello")}</query> let $x := <bar>hello</bar> let $rev := cts:reverse-query($x) return cts:reverse-query-weight($rev) => 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.