pg_fts_greek
1.0.0
今のところ拡張機能としてパッケージ化されています。
to_tsvector('greek_ext', 'το κείμενο') to_tsvector('greek', 'το κείμενο')ように使用する別の構成greek_extを追加します。
以下のソースは、 greek.stopを作成するために使用されます。その後、 prefix/share/tsearch_dataの下に置かれます。
| t | to_tsvector( 'greek'、t) | to_tsvector( 'greek_ext'、t) |
|---|---|---|
| 「長方形の三角形の部下の正方形」 | 'en':5 '長方形':6 't':3 'square':2 'the':1 '三角形':7 '下位':4 | 「en」:5「長方形」:6「正方形」:2「三角形」:7「下位 ':4 |
| 「ジョージはunningです」 | 'giorg':2 'eina':3 'o':1 'syright':4 | 「giorg」:2 'adiria':4 |
| 「太陽が昇る太陽の太陽」 | 'o':5 'anatell':8 'sun':2.6 'o':1.3 'p':7 '緑':4 | 「アナテル」:8「太陽」:2.6 '緑':4 |
git submodule init
make greek.stop
make install
psql -c " CREATE EXTENSION pg_fts_greek "