Re: pg_trgm performance

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: pg_trgm performance
Date: 2007-02-26 12:58:20
Message-ID: 1d4e0c10702260458w31c1f01bu64c924b543e811a9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 2/26/07, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> wrote:
> Did you rewrite query manually or use rewrite feature of tsearch2 ?

Currently, it's manual. I perform a pg_trgm query for each word of the
search words (a few stop words excluded) and I generate the ts_query
with the similar words instead of using the search words.
Is there any benefit of using rewrite() in this case?

--
Guillaume

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Oleg Bartunov 2007-02-26 13:10:17 Re: pg_trgm performance
Previous Message Oleg Bartunov 2007-02-26 12:53:16 Re: pg_trgm performance