cts:not-query-weight( $query as cts:not-query ) as xs:double
Returns the weight with which the specified query was constructed.
let $query := cts:not-query("MarkLogic Server); return cts:not-query-weight($query) => 1