From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | sushant354(at)gmail(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: phrase search |
Date: | 2008-06-05 15:37:26 |
Message-ID: | 48480836.6000306@sigaev.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> I can add index support and support for arbitrary distance between
> lexeme.
> It appears to me that supporting arbitrary boolean expression will be
> complicated. Can we pull out something from TSQuery?
I don't very like an idea to have separated interface for phrase search. Your
patch may be a module and used by people who really wants to have a phrase search.
Introducing new operator in tsquery allows to use already existing
infrastructure of tsquery such as concatenations (&&, ||, !!), rewrite subsystem
etc. But new operation/types specially designed for phrase search makes needing
to make that work again.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-06-05 15:49:18 | Re: Overhauling GUCS |
Previous Message | Martijn van Oosterhout | 2008-06-05 15:18:02 | Re: Overhauling GUCS |