Hi all,
is there a possibility to match the query-parameters more directly to the $options argument of a ft:function? In the moment I have a rather complicated if-else-if-else-if…-scenario.
Example:
if ($wildcards = "on" and $all = "on" and $case_sensitive = "on" and $using_diacritics = "on") then $collection[.//text() contains text {$query} all words using case sensitive using diacritics sensitive using wildcards] else if and so on.
Depending on query-params I want to build the ft:function with $options argument more directly. (But for example string-concatenation doesn’t work.)
Thanks for any advice.
Guenter