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: 1d4e0c10702260458w31c1f01bu64c924b543e811a9@mail.gmail.com (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group