FTS on patterns

Поиск
Список
Период
Сортировка
От Vyacheslav Kalinin
Тема FTS on patterns
Дата
Msg-id 9b1af80e0808050703y4b40b4cgef17ceb313bd6fa8@mail.gmail.com
обсуждение исходный текст
Ответы Re: FTS on patterns  (Felipe de Jesús Molina Bravo<felipe.molina@inegi.gob.mx>)
Re: FTS on patterns  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

In our application we need a pattern based text search, that is if user supplies 'foo bar' he receives only documents containing words that begin with 'foo' or 'bar', including themselves (something similar to MySQL '+foo* +bar*' text search query). Currently we use separate table for unique words in document and do LIKE 'foo%' search on that table, combining the results afterwards, and I am not really happy with that solution because of its speed and overcomplication of the queries involved. Does anyone know of a better approach? Could this be achieved with Postgres full text search?


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Initdb problem on debian mips cobalt: Bus error
Следующее
От: Felipe de Jesús Molina Bravo
Дата:
Сообщение: Re: FTS on patterns