fts, compond words?

From: Marcus Engene <mengpg(at)engene(dot)se>
To: POSTGRESQL <pgsql-general(at)postgresql(dot)org>
Subject: fts, compond words?
Date: 2005-12-05 11:40:10
Message-ID: 4394271A.5040703@engene.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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')

Thanks,
Marcus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2005-12-05 12:08:16 Re: fts, compond words?
Previous Message Martijn van Oosterhout 2005-12-05 10:46:14 Re: PG_exception_stack