Use of tsvector in array

Поиск
Список
Период
Сортировка
От Huang, Suya
Тема Use of tsvector in array
Дата
Msg-id D83E55F5F4D99B4A9B4C4E259E6227CD014C312B@AUX1EXC01.apac.experian.local
обсуждение исходный текст
Ответы Re: Use of tsvector in array
Список pgsql-general

Hi,

 

We have the requirement of using the data type tsvector [], however, I didn’t find out how to:

·         Use array operator together with tsquery operator

o   I have to unnest the array and then do query like “ts@@ to_tsquery('ipod')

·         Create GIN index on tsvector[]

o   ERROR:  data type tsvector[] has no default operator class for access method "gin"

 

Not sure if anyone ever has this experience could share?

 

Thanks,

Suya

 

 

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Windows Installation User account - Correct database for us
Следующее
От: David G Johnston
Дата:
Сообщение: Re: Windows Installation User account - Correct database for us