Hi! I know that by using the hint Enable(ft_thesaurus_search) would help us pull records with words in the thesaurs list. But now we would just like to know if there is a way in DQL to pull the uploaded thesaurus list?
For example we have in the thesaurus the following:
<skos:Concept rdf:about="http://www.my.com/#INTERNATIONAL">
<skos:prefLabel>INTERNATIONAL</skos:prefLabel>
<skos:altLabel>INTL</skos:altLabel>
<skos:altLabel>INT’L</skos:altLabel>
</skos:Concept>
<skos:Concept rdf:about="http://www.my.com/#INTL">
<skos:prefLabel>INTL</skos:prefLabel>
<skos:altLabel>INTERNATIONAL</skos:altLabel>
<skos:altLabel>INT’L</skos:altLabel>
</skos:Concept>
<skos:Concept rdf:about="http://www.my.com/#INTL.">
<skos:prefLabel>INTL.</skos:prefLabel>
<skos:altLabel>INTERNATIONAL</skos:altLabel>
<skos:altLabel>INT’L</skos:altLabel>
</skos:Concept>
We would to do a select statement like:
Select * from Thesaurus
Result:
INTERNATIONAL
INTL
INT'L