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