Re: [basex-talk] Mapping query-params to $options argement of ft:functionj

2020-10-05 Thread Christian Grün
> thanks for your help. Is there a way to combine ft:search with ft:mark, cause > at the end I need the results marked. Yes, you can combine ft:search and ft:mark. Try e.g. the following query: ft:mark(ft:search('db', 'term')/..)

Re: [basex-talk] Mapping query-params to $options argement of ft:functionj

2020-10-05 Thread Günter Dunz-Wolff
Hi Christian, thanks for your help. Is there a way to combine ft:search with ft:mark, cause at the end I need the results marked. Kind regards Guenter > Am 05.10.2020 um 09:30 schrieb Christian Grün : > > Hi Günter, > > The function ft:search [1] was added to BaseX to fill this shortcoming >

Re: [basex-talk] Mapping query-params to $options argement of ft:functionj

2020-10-05 Thread Christian Grün
Hi Günter, The function ft:search [1] was added to BaseX to fill this shortcoming of the official spec. Hope this helps Christian [1] https://docs.basex.org/wiki/Full-Text_Module#ft:search On Mon, Sep 28, 2020 at 11:06 AM Günter Dunz-Wolff wrote: > > Hi all, > is there a possibility to

[basex-talk] Mapping query-params to $options argement of ft:functionj

2020-09-28 Thread Günter Dunz-Wolff
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")