Re: phrase search

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: phrase search
Дата
Msg-id 48480836.6000306@sigaev.ru
обсуждение исходный текст
Ответ на Re: phrase search  (Sushant Sinha <sushant354@gmail.com>)
Ответы Re: phrase search
Список 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@sigaev.ru
  WWW: http://www.sigaev.ru/
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Overhauling GUCS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Overhauling GUCS