Full Text Search, avoiding lexemes search

Started by Daniel Vázquezover 14 years ago2 messagesgeneral
Jump to latest
#1Daniel Vázquez
daniel2d2art@gmail.com

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!

#2Oleg Bartunov
oleg@sai.msu.su
In reply to: Daniel Vázquez (#1)
Re: Full Text Search, avoiding lexemes search

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