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

Re: Proposal: q-gram GIN and GiST indexes

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: q-gram GIN and GiST indexes
Date: 2011-04-04 17:01:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, Apr 4, 2011 at 12:38 PM, Alexander Korotkov
<aekorotkov(at)gmail(dot)com> wrote:
> relatively small when q <= 5. Accordingly, I think we should expect indexes
> to be usable with at least with q = 5.

I defer to your opinion on this, since you know more about it than I
do.  But I think it would still be worthwhile to write a quick Perl
script and calculate the number q-grams in various sample texts for
various values of q.  The worst case is surely exponential in q, so
it'd be nice to have some evidence of what the real-world behavior is.

Robert Haas
The Enterprise PostgreSQL Company

In response to


pgsql-hackers by date

Next:From: Gabriele BartoliniDate: 2011-04-04 17:18:21
Subject: Re: [HACKERS] Uppercase SGML entity declarations
Previous:From: Robert HaasDate: 2011-04-04 16:50:03
Subject: Re: GSoC proposal: Fast GiST index build

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