Re: full text index and most frequently used words
От
Teodor Sigaev
Тема
Re: full text index and most frequently used words
Дата
Msg-id
47ACA0FA.7020401@sigaev.ru
Ответ на
full text index and most frequently used words (Bryan Murphy)
Список
Дерево обсуждения
full text index and most frequently used words "Bryan Murphy" <bryan.murphy@gmail.com>
Re: full text index and most frequently used words Teodor Sigaev <teodor@sigaev.ru>
> What I'd like to know is if there is an easy to way to use the full
> text index to generate a list of the most common words. I could write
> this code manually, but I'm hoping there's a better (simpler) way.
For 8.3
http://www.postgresql.org/docs/8.3/static/textsearch-features.html#TEXTSEARCH-STATISTICS
For versions before 8.3 just use stat() function instead of ts_stat().
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/
В списке pgsql-general по дате отправления