Re: Full text search ranking: ordering using index and proximiti ranking with OR queries - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Full text search ranking: ordering using index and proximiti ranking with OR queries
Date
Msg-id CAHyXU0xG1PBqB8muQDOe=1xESvAK8HciAVP0KGuQhGptM4onww@mail.gmail.com
Whole thread Raw
In response to Re: Full text search ranking: ordering using index and proximiti ranking with OR queries  (Andrey Chursin <andll@danasoft.ws>)
List 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 by date:

Previous
From: hartrc
Date:
Subject: PostgreSQL logging - restrict error messages
Next
From: Shaun Thomas
Date:
Subject: Noticed something odd with pgbench