Hi,

This query works with 8.5.1 when the value of $wild-words is *.*, but not in 8.5.2. It works in 8.5.2 for real text values, so the issue seems to be with the *.* expression: 

let $search-result :=

      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}))]


​Not seeing info about changes at 
http://docs.basex.org/wiki/Full-Text
​.​



--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com