Re: Full Text Search, avoiding lexemes search

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Daniel Vázquez <daniel2d2art(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Full Text Search, avoiding lexemes search
Date: 2012-01-27 16:05:40
Message-ID: Pine.LNX.4.64.1201271946572.12612@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel,

just use different fts configuration for search, which doesn't
includes stemmers.

Regards,
Oleg
On Fri, 27 Jan 2012, Daniel V?zquez wrote:

> Hi guys!
>
> Full text search, searches by lexemes, this minds that if you are finding
> for "gato" word you are really finding for {gat} lexeme.
> I you construct vectors for the words "gato", "gatos", "gata", "gatas", all
> have the same lexema {gat}
> Then the search "gato" that is to say the search {gat} matches with all
> previous vectors.
>
> There some way (configuration, query....) to match only for "gato" and
> avoid "gatos" "gata" "gatas", with FTS ??
> Or match only for "gato" "gatos" buy no for "gata" "gatas"?
>
> Tnks!
>

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

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2012-01-27 16:16:56 Re: How to typecast an integer into a timestamp?
Previous Message Adrian Klaver 2012-01-27 15:56:44 Re: How to typecast an integer into a timestamp?