Re: Simplifying Text Search

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Simplifying Text Search
Дата
Msg-id 200711131332.56853.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Simplifying Text Search  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Simplifying Text Search  (Gregory Stark <stark@enterprisedb.com>)
Re: Simplifying Text Search  (Simon Riggs <simon@2ndquadrant.com>)
Re: Simplifying Text Search  ("Trevor Talbot" <quension@gmail.com>)
Список pgsql-hackers
Am Dienstag, 13. November 2007 schrieb Gregory Stark:
> "Peter Eisentraut" <peter_e@gmx.net> writes:
> > What we'd need is a way to convert a LIKE pattern into a tsquery
> > ('%foo%bar%' => 'foo & bar').  Then you might even be able to sneak
> > index-optimized text search into existing applications.  Might be worth a
> > try.
>
> I don't think that's the right direction to go. Notably "%foo%bar%" isn't
> the same thing as "foo & bar". Also most tsearch queries can't be expressed
> as LIKE patterns anyways.

The requirement is to express LIKE patterns as tsearch queries, not the other 
way around.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Simplifying Text Search
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Simplifying Text Search