Hi France,
Could you provide us with an example that we can reproduce? The attached query returns the same result both versions. What is the leading * supposed to do in your query string?
The wildcard syntax didn’t change with 8.5.2, but we changed minor details regarding the way how queries are compiled.
Thanks Christian
-----------------
let $search-subset := <x> <title>one</title> <text>two</text> </x> let $operator := 'and' let $wild-words := '*.*' return if ($operator = 'and') then $search-subset[(descendant::title[1] contains text ({$wild-words} all using wildcards weight {2})) or (. contains text ({$wild-words} all using wildcards weight {0.5}))] else $search-subset[(descendant::title[1] contains text ({$wild-words} any using wildcards weight {2})) or (. contains text ({$wild-words} any using wildcards weight {0.5}))]