Re: Creating an index-type for LIKE '%value%'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cgg007(at)yahoo(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating an index-type for LIKE '%value%'
Date: 2005-02-07 18:09:24
Message-ID: 28315.1107799764@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CG <cgg007(at)yahoo(dot)com> writes:
> Tsearch2 is fantastic, but it works best for fields that contain
> words. I have to sift through alphanumeric identification numbers.

Can't you adjust tsearch2's notion of what is a word? Sure seems like
that would be easier than reinventing this wheel ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yury Don 2005-02-07 18:16:30 Re: Creating an index-type for LIKE '%value%'
Previous Message Martijn van Oosterhout 2005-02-07 18:07:15 Re: Creating an index-type for LIKE '%value%'