From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Robert John Shepherd <robert(at)reviewer(dot)co(dot)uk> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: TSearch and phrase searches |
Date: | 2002-10-29 19:45:23 |
Message-ID: | Pine.GSO.4.44.0210292242350.12464-100000@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 29 Oct 2002, Robert John Shepherd wrote:
> After exploring various options for full text indexing, I've settled on
> using tsearch, since it appears to offer the most flexible options (and
> is easy enough to use on an imported database not created from scratch),
> but...
>
> I can't seem to work out how to search for phrases with it. Is this
> possible? Or do I have to use a nested SELECT query to pull out all the
> entries containing the words in a phrase, and then search those again
> using a LIKE query?
>
> OpenFTS seems to perform phrase searches, and that uses tsearch, so it
> must be possible!
OpenFTS uses additional tables with coordinate information, that's why
it could range results based on proximity between query words.
There were many requests to add ranking feature to tsearch but we are very
busy this year.
>
> Ta for any help.
>
>
>
> Yours Unwhettedly,
> Robert John Shepherd.
>
> Editor
> DVD REVIEWER
> The UK's BIGGEST Online DVD Magazine
> http://www.dvd.reviewer.co.uk
>
> For a copy of my Public PGP key, email: pgp(at)robertsworld(dot)org(dot)uk
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | john-paul delaney | 2002-10-29 20:10:03 | Re: command-line history (readline) fails |
Previous Message | Bruce Momjian | 2002-10-29 19:00:49 | Re: DAFS? |