Fulltext-Search: wildcards and thesaurus
Tuesday, 12 January 2016 · 3 messages · last reply 13 Jan 2016
K
kleist12 Jan 2016 21:54 #
Hi all, hi Christian,
is it possible to combine wildcards and thesaurus in a fulltext-search, for example:
contains text "nachricht.*" using wildcards using thesaurus at "thesaurus.xml"
Best regards,
Günter
CG
Christian Grün13 Jan 2016 00:04 #
Quoted text · kleist · 1 line
> is it possible to combine wildcards and thesaurus in a fulltext-search, for example:
It is… But the exact semantics still need to be documented I guess.
GD
Günter Dunz-Wolff13 Jan 2016 13:44 #
Yes, true. My experience is, if you want to include wildcard-searching based on thesaurus, you have to define the entries something like this:
<entry>
<term>Brief</term>
<synonym>
<term>Brief.*</term>
<relationship>RT</relationship>
</synonym>
<synonym>
<term>Nachricht</term>
<relationship>RT</relationship>
</synonym>
<synonym>
<term>Nachricht.*</term>
<relationship>RT</relationship>
</synonym>
<synonym>
<term>Schreiben</term>
<relationship>RT</relationship>
</synonym>
<synonym>
<term>Schreiben.*</term>
<relationship>RT</relationship>
</synonym>
<synonym>
</entry>Quoted text · Christian Grün · 6 lines
> Am 13.01.2016 um 00:04 schrieb Christian Grün <christian.gruen at gmail.com>: > >> is it possible to combine wildcards and thesaurus in a fulltext-search, for example: > > It is… But the exact semantics still need to be documented I guess. >
Written for BaseX 8.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery