pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Nicolas Paris <nicolas.paris@riseup.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Full-text Search - Thesaurus relationships
Date: Wed, 31 Oct 2018 07:56:28 +0100
Message-ID: <505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at> (raw)
In-Reply-To: <20181030230507.rgz2wys23vejimcq@riseup.net>
References: <20181030230507.rgz2wys23vejimcq@riseup.net>

Nicolas Paris wrote:

> The documentation[1] says thesaurus can include informations of terms
> relationships such broader terms, preferred terms ...
> 
> I haven't been able to find out how to exploit those relationship in
> postgres. Is there any keyword to and associated syntax to make use of
> them ?

No, it should happen automatically.

Essentially, it is an extended synonym dictionary, and if you specify it
for a certain token type in your text search configuration, it will replace
certain phrases with something else.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (5+ messages)  latest in thread

Message-ID: <505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at>
Permalink:  ../505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at/
Also on:    postgresql.org/message-id/505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, nicolas.paris@riseup.net
  Subject: Re: Full-text Search - Thesaurus relationships
  In-Reply-To: <505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at>
  References: <20181030230507.rgz2wys23vejimcq@riseup.net> <505afc361e3f8871f78b5195c6a0bc2e312efcf5.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox