Re: Full text index without accents

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: lbarcala(at)freeresearch(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Full text index without accents
Date: 2008-07-03 15:58:56
Message-ID: Pine.LNX.4.64.0807031957520.11363@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You can preprocess text (replace accent by nothing) before
to_tsvector or to_tsquery

Oleg
On Thu, 3 Jul 2008, lbarcala(at)freeresearch(dot)org wrote:

> Hi again:
>
> I am trying to create a full text configuration to ignore word accents in
> my searches. My approach is similar to simple dicionary one, but i want to
> remove accents after converting to lower.
>
> Is it the only way to do it to develop another .c and write my own
> dict_noaccent.c, and then compile and install it into the system?
>
> Regars,
>
> Mario Barcala
>
>
>

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 Sam Mason 2008-07-03 16:00:31 Re: Functional index adding one
Previous Message Tom Lane 2008-07-03 15:29:46 Re: Delete from Join