Re: Full Text Search: howto manage multiple languages ?

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

Thanks for your answer,
Could you point me to documentation regarding the configuration (dictionary
creation, synonym creation) of FTS and how to do it ?
Thanks,
Cédric

2010/3/22 Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>

> 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/<http://www.sai.msu.su/%7Emegera/>
> phone: +007(495)939-16-83, +007(495)939-23-83
>

--
Welcome to my world: http://www.cedricmoullet.com/
My Linked In profile: http://www.linkedin.com/in/cedricmoullet
Twitter: http://twitter.com/cedricmoullet

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2010-03-22 08:51:15 Re: AIX postgresql error
Previous Message Adrian von Bidder 2010-03-22 07:24:11 Re: Restrict allowed database names?