
cts:path-range-query-weight( $query as cts:path-range-query ) as xs:double
Returns the weight with which the specified query was constructed.
| Parameters | |
|---|---|
| query | A query. |
let $query := cts:path-range-query("/a/b/c",">","Jim",
"collation=http://marklogic.com/collation/", xs:double("3.13"))
return
cts:path-range-query-weight($query)
=> 3.13