cts:near-query-distance( $query as cts:near-query ) as xs:integer
Returns the distance used to construct the near query.
Parameters | |
---|---|
query | A query. |
let $query := cts:near-query( cts:word-query("wanted"), cts:word-query("unwanted"), 12) return cts:near-query-distance($query) => 12