Thread: GiN indexes

GiN indexes

From
"Stavroula Gasparotto"
Date:

Currently, only the B-tree, GiST and GIN index types support multicolumn indexes.”

 

What does this mean exactly if I’m trying to create a multicolumn GIN index? Does this mean the index can contain one or more tsvector type fields only, or can I combine tsvector type field with other type fields in the index, such as a timestamp column?

 

Re: GiN indexes

From
Oleg Bartunov
Date:
On Tue, 31 Aug 2010, Stavroula Gasparotto wrote:

> "Currently, only the B-tree, GiST and GIN index types support
> multicolumn indexes."
>
>
>
> What does this mean exactly if I'm trying to create a multicolumn GIN
> index? Does this mean the index can contain one or more tsvector type
> fields only, or can I combine tsvector type field with other type fields
> in the index, such as a timestamp column?

It does both.

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83