cts:and-not-query-negative-query( $query as cts:and-not-query ) as cts:query
Returns the negative (second parameter) query used to construct the specified query.
Parameters | |
---|---|
query | A query. |
let $query := cts:and-not-query( cts:word-query("wanted"), cts:word-query("unwanted")) return cts:and-not-query-negative-query($query) => cts:word-query("unwanted", ("lang=en"), 1)