Tsearch2 - list of words or phrase with count

Поиск
Список
Период
Сортировка
От Michal Hlavac
Тема Tsearch2 - list of words or phrase with count
Дата
Msg-id 40FF748B.8070800@medium13.sk
обсуждение исходный текст
Ответы Re: Tsearch2 - list of words or phrase with count
Список pgsql-general
hello,

I have table with text attribute and fulltext index...

is it possible to do query with result:

word or phrase, count

for example:
SELECT word, my_count(word) FROM table WHERE expression.

   word    |   my_count
----------|------------
  'hello'  |      3
  'bye'    |      4
  'yellow' |      1
  'blue'   |      5

thanx, hlavki

--

[ miso hlavac ][ hlavki@medium13.sk ][ http://hlavki.sk ]
[ icq:94900232 ][ callto://hlavki ]

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

Предыдущее
От: "Andrew Bartley"
Дата:
Сообщение: Hex to char
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Tsearch2 - list of words or phrase with count