Re: wildcard search support for pg_trgm

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: wildcard search support for pg_trgm
Date: 2011-01-24 17:26:24
Message-ID: 9507.1295889984@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jesper Krogh <jesper(at)krogh(dot)cc> writes:
> Would it be hard to make it support "n-grams" (e.g. making the length
> configurable) instead of trigrams?

That would be a complete rewrite with an incompatible on-disk index
representation, which seems a bit beyond the scope of this patch.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-01-24 18:00:22 Re: Patch to add a primary key using an existing index
Previous Message Chris Browne 2011-01-24 17:07:27 Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED