Re: fts, compond words?
От | Oleg Bartunov |
---|---|
Тема | Re: fts, compond words? |
Дата | |
Msg-id | Pine.GSO.4.63.0512051507040.13553@ra.sai.msu.su обсуждение исходный текст |
Ответ на | fts, compond words? (Marcus Engene <mengpg@engene.se>) |
Ответы |
Re: fts, compond words?
|
Список | pgsql-general |
On Mon, 5 Dec 2005, Marcus Engene wrote: > Hi, > > I use the tsearch full text search with pg 8.0.3. It works great, but I > wonder if it's possible to search for compound words? > Ie if I search for "New York" i want to get a match on > New York has traffic problems. > but not on > New axe murderer incident in brittish York. > > Is this possible? > > I don't use any wrapper, just > select > ... > from > ... > where > idxfti @@ to_tsquery('default', 'searchstring') ranking function is what you need. Read documentation. > > Thanks, > Marcus > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83
В списке pgsql-general по дате отправления: