Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


In response to


pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group