On Wednesday 31 March 2004 10:51, Priem, Alexander wrote:
> Hi everyone,
> I am building a query which uses a clause like "Where doc_description like
> '%keyword%'". I know a normal index won't be of any use here, but since the
> table in question will get fairly big, I do want to use an index.
> Can anyone give me some advise on what kind of index I can use here? Or
> shouldn't I use one in this case?
You probably want to look at the contrib/tsearch2 full-text indexing module.
In response to
pgsql-performance by date
|Next:||From: Jaime Casanova||Date: 2004-03-31 14:27:50|
|Subject: Re: select slow?|
|Previous:||From: Priem, Alexander||Date: 2004-03-31 09:51:02|
|Subject: What index for 'like (%keyword%)' ???|