Re: Full Text Search: howto manage multiple languages ?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Cédric MOULLET <cedric(dot)moullet(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Full Text Search: howto manage multiple languages ?
Date: 2010-03-22 06:29:08
Message-ID: Pine.LNX.4.64.1003220925190.3205@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 21 Mar 2010, C?dric MOULLET wrote:

> Hi,
> I have the following problem with the FTS: the database contains information
> in several languages. As I understand, the FTS requires to associate a
> language when ts_vector is created. Is there any way to make a kind of

FTS doesn't needs to be asscociated with specific language ! FTS requires
its configuration, which binds specific lexeme type with stack of dictionaries
and this has nothing with language.

> international search, without having to associate a specific language to the
> ts_vector ? I must admit that it's quite ambiguous, but let's imagine that
> you have a worldwide address repository. In that case, you can find "Rue",
> "Street", "Strasse" etc... which have all a low significancy.

This particular problem can be solved using synonym dictionary, for example.

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian von Bidder 2010-03-22 07:22:31 Re: Licence
Previous Message Carlo Stonebanks 2010-03-22 06:02:52 Re: How to dump JUST procedures/funnctions?