Thread: Full Text Search, avoiding lexemes search

Full Text Search, avoiding lexemes search

From
Daniel Vázquez
Date:
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!

Re: Full Text Search, avoiding lexemes search

From
Oleg Bartunov
Date:
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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83