Jan Urbański wrote:
> Heikki Linnakangas wrote:
>> Jan Urbański wrote:
>>> So right now the idea is to:
>>> (1) pre-sort STATISTIC_KIND_MCELEM values
>>> (2) build an array of pointers to detoasted values in tssel()
>>> (3) use binary search when looking for MCELEMs during tsquery analysis
>> Sounds like a plan. In (2), it's even better to detoast the values
>> lazily. For a typical one-word tsquery, the binary search will only
>> look at a small portion of the elements.
> Here's another version.
Context diff this time, always forget to convert them...
GPG key ID: E583D7D2
In response to
pgsql-hackers by date
|Next:||From: Andrew Satori||Date: 2008-08-14 20:33:59|
|Subject: API for Managing pg_hba and postgresql.conf |
|Previous:||From: Jan Urbański||Date: 2008-08-14 19:45:18|
|Subject: Re: gsoc, oprrest function for text search take 2|