The <productname>PostgreSQL</productname> source distribution includes
several examples of index methods implemented using
<acronym>GiST</acronym>. The core system currently provides text search
support (indexing for <type>tsvector</type> and <type>tsquery</type>) as well as
R-Tree equivalent functionality for some of the built-in geometric data types
(see <filename>src/backend/access/gist/gistproc.c</filename>). The following
<filename>contrib</filename> modules also contain <acronym>GiST</acronym>
operator classes:
PostgreSQLのソース配布物にはGiSTを使用したインデックスメソッドの実装のいくつかの事例が含まれています。
コアシステムは現在全文検索サポート(tsvector
とtsquery
のインデックス付け)や組み込みの幾何データ型の一部に対するR-Treeと等価な機能を提供します
(src/backend/access/gist/gistproc.c
を参照してください)。
以下のcontrib
モジュールも同時にGiST演算子クラスを含みます。
btree_gist
いくつかのデータ型に対するB-tree等価機能
cube
多次元の立方体用のインデックス
hstore
(キー、値)の組み合わせを格納するモジュール
intarray
int4値の1次元配列用のRD-Tree
ltree
疑似ツリー構造用のインデックス
pg_trgm
トライグラム一致を使用したテキストの類似性
seg
「浮動小数点範囲」のインデックス