Hi Fabrice -

Maybe something like
ft:search("the-database", "YET_ANOTHER_SILLY_KEYWORD", map { "mode":
"phrase", "ordered": true() })?

I confess that I don't know the full text module behavior at all, but I
coincidentally had it open... Anyway, I hope that's helpful.
Best,
Bridger

On Fri, Jun 5, 2020 at 8:38 AM ETANCHAUD Fabrice <fabrice.etanch...@maif.fr>
wrote:

> Hi all BaseX users,
>
> When I search for 'YET_ANOTHER_SILLY_KEYWORD', ft:search gives me all text
> nodes containing any of the YET ANOTHER SILLY KEYWORD words.
> I tried the different search modes, but could not find a way to get
> ft:search return only the text nodes containing the concatenation.
> Does anybody have a solution ?
>
> Best regards,
>
>
> [image: MAIF]
>
> *Fabrice ETANCHAUD*
>
> Unité Etudes Informatiques - MAIF VIE
>
> 50 avenue Salvador Allende 79029 Niort Cedex 9
>
> fabrice.etanch...@maif.fr
>
> *MAIF*.FR <http://www.maif.fr/> | Retrouvez-nous aussi sur [image:
> Facebook] <https://www.facebook.com/MAIFassureur>[image: Twitter]
> <https://twitter.com/MAIF>[image: Youtube]
> <https://www.youtube.com/user/maif>
>
>
>

Reply via email to