Re: Full text search ranking: ordering using index and proximiti ranking with OR queries

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Full text search ranking: ordering using index and proximiti ranking with OR queries
Дата
Msg-id CAHyXU0xG1PBqB8muQDOe=1xESvAK8HciAVP0KGuQhGptM4onww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Full text search ranking: ordering using index and proximiti ranking with OR queries  (Andrey Chursin <andll@danasoft.ws>)
Список pgsql-general
On Wed, Mar 7, 2012 at 11:59 AM, Andrey Chursin <andll@danasoft.ws> wrote:
> Is there any way to sort by ranking, avoiding seq scan?
> The only way i see now is to use pg_trgm instead of ts_rank, but we
> did not check yet how applicable is it for our purposes.

pg_tgrm works very well in terms of measuring similarity between two
ascii strings...many non-english languages will struggle.  I doubt
(although I ever tried) it's useful for matching a small phrase to a
large document.

merlin


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

Предыдущее
От: hartrc
Дата:
Сообщение: PostgreSQL logging - restrict error messages
Следующее
От: Shaun Thomas
Дата:
Сообщение: Noticed something odd with pgbench