Re: First implementation of GIN for pg_trgm

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: First implementation of GIN for pg_trgm
Дата
Msg-id 1d4e0c10702220842k34b0d216re263eed3063a7360@mail.gmail.com
обсуждение исходный текст
Ответ на Re: First implementation of GIN for pg_trgm  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: First implementation of GIN for pg_trgm  (Oleg Bartunov <oleg@sai.msu.su>)
Re: First implementation of GIN for pg_trgm  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-patches
On 2/22/07, Teodor Sigaev <teodor@sigaev.ru> wrote:
> How long is average length of strings in table?

test=# SELECT MIN(length(word)), MAX(length(word)), AVG(length(word))
FROM lieu_mots_gin;
 min | max |        avg
-----+-----+--------------------
   1 |  38 | 7.4615463141373282
(1 row)

I don't see how to have a more precise similarity without having the
number of entries registered by the indexed value somewhere.

I think it can be interesting for other flavours of GIN usage. Is
there a way to add the number of entries of the considered indexed
item to the consistent prototype without adding too much overhead and
complexity?

--
Guillaume

В списке pgsql-patches по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: First implementation of GIN for pg_trgm
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: First implementation of GIN for pg_trgm