Skip to content

Commit 81a8349

Browse files
committed
doc install ubuntu almalinux: add install procedure for semantic search
1 parent 750eb44 commit 81a8349

6 files changed

Lines changed: 74 additions & 0 deletions

File tree

_po/ja/install/almalinux.po

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,24 @@ msgid ""
8383
"```"
8484
msgstr ""
8585

86+
msgid ""
87+
"If you want to use [`<&@*>` operator](https://pgroonga.github.io/reference/"
88+
"operators/semantic-distance-v2.html) or [`&@*` operator](https://pgroonga."
89+
"github.io/reference/operators/semantic-search-v2.html) for semantic search, "
90+
"you also need to install `groonga-plugin-language-model` package:"
91+
msgstr ""
92+
"セマンティックサーチ用に、[`<&@*>`演算子](https://pgroonga.github.io/ja/"
93+
"reference/operators/semantic-distance-v2.html) または、 [`&@*`演算子]"
94+
"(https://pgroonga.github.io/ja/reference/operators/semantic-search-v2.html)を"
95+
"使いたい場合は、`groonga-plugin-language-model`パッケージもインストールする必"
96+
"要があります。"
97+
98+
msgid ""
99+
"```console\n"
100+
"$ sudo -H dnf install -y groonga-plugin-language-model\n"
101+
"```"
102+
msgstr ""
103+
86104
msgid "Run PostgreSQL:"
87105
msgstr "PostgreSQLを実行します。"
88106

@@ -150,6 +168,9 @@ msgid ""
150168
"You can use the following instruction to install PGroonga on AlmaLinux 8."
151169
msgstr "AlmaLinux 8にPGroongaをインストールする方法は次の通りです。"
152170

171+
msgid "*Semantic search is not supported on AlmaLinux 8.*"
172+
msgstr "*AlmaLinux 8ではセマンティックサーチは利用できません。*"
173+
153174
msgid ""
154175
"```console\n"
155176
"$ sudo -H dnf module -y disable postgresql\n"

_po/ja/install/ubuntu.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ msgid ""
8686
"```"
8787
msgstr ""
8888

89+
msgid ""
90+
"If you want to use [`<&@*>` operator](https://pgroonga.github.io/reference/"
91+
"operators/semantic-distance-v2.html) or [`&@*` operator](https://pgroonga."
92+
"github.io/reference/operators/semantic-search-v2.html) for semantic search, "
93+
"you also need to install `groonga-plugin-language-model` package:"
94+
msgstr ""
95+
96+
msgid ""
97+
"```console\n"
98+
"$ sudo apt install -y -V groonga-plugin-language-model\n"
99+
"```"
100+
msgstr ""
101+
89102
msgid "Create a database:"
90103
msgstr "データベースを作成します。"
91104

install/almalinux.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you
3737
$ sudo -H dnf install -y groonga-tokenizer-mecab
3838
```
3939

40+
If you want to use [`<&@*>` operator](https://pgroonga.github.io/reference/operators/semantic-distance-v2.html) or [`&@*` operator](https://pgroonga.github.io/reference/operators/semantic-search-v2.html) for semantic search, you also need to install `groonga-plugin-language-model` package:
41+
42+
```console
43+
$ sudo -H dnf install -y groonga-plugin-language-model
44+
```
45+
4046
Run PostgreSQL:
4147

4248
```console
@@ -70,6 +76,8 @@ On AlmaLinux 9, follow the same installation procedure as AlmaLinux 10. Please r
7076

7177
You can use the following instruction to install PGroonga on AlmaLinux 8.
7278

79+
*Semantic search is not supported on AlmaLinux 8.*
80+
7381
Install `postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga` package:
7482

7583
```console

install/ubuntu.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you
4040
$ sudo apt install -y -V groonga-tokenizer-mecab
4141
```
4242

43+
If you want to use [`<&@*>` operator](https://pgroonga.github.io/reference/operators/semantic-distance-v2.html) or [`&@*` operator](https://pgroonga.github.io/reference/operators/semantic-search-v2.html) for semantic search, you also need to install `groonga-plugin-language-model` package:
44+
45+
```console
46+
$ sudo apt install -y -V groonga-plugin-language-model
47+
```
48+
4349
Create a database:
4450

4551
```console
@@ -84,6 +90,12 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you
8490
$ sudo apt install -y -V groonga-tokenizer-mecab
8591
```
8692

93+
If you want to use [`<&@*>` operator](https://pgroonga.github.io/reference/operators/semantic-distance-v2.html) or [`&@*` operator](https://pgroonga.github.io/reference/operators/semantic-search-v2.html) for semantic search, you also need to install `groonga-plugin-language-model` package:
94+
95+
```console
96+
$ sudo apt install -y -V groonga-plugin-language-model
97+
```
98+
8799
Create a database:
88100

89101
```console

ja/install/almalinux.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ $ sudo -H dnf install -y postgresql{{ site.latest_postgresql_version }}-pgdg-pgr
3737
$ sudo -H dnf install -y groonga-tokenizer-mecab
3838
```
3939

40+
セマンティックサーチ用に、[`<&@*>`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-distance-v2.html) または、 [`&@*`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-search-v2.html)を使いたい場合は、`groonga-plugin-language-model`パッケージもインストールする必要があります。
41+
42+
```console
43+
$ sudo -H dnf install -y groonga-plugin-language-model
44+
```
45+
4046
PostgreSQLを実行します。
4147

4248
```console
@@ -70,6 +76,8 @@ AlmaLinux 9のインストール方法は、AlmaLinux 10のインストール方
7076

7177
AlmaLinux 8にPGroongaをインストールする方法は次の通りです。
7278

79+
*AlmaLinux 8ではセマンティックサーチは利用できません。*
80+
7381
`postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga`パッケージをインストールします。
7482

7583
```console

ja/install/ubuntu.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ $ sudo apt install -y -V postgresql-16-pgroonga
4040
$ sudo apt install -y -V groonga-tokenizer-mecab
4141
```
4242

43+
セマンティックサーチ用に、[`<&@*>`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-distance-v2.html) または、 [`&@*`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-search-v2.html)を使いたい場合は、`groonga-plugin-language-model`パッケージもインストールする必要があります。
44+
45+
```console
46+
$ sudo apt install -y -V groonga-plugin-language-model
47+
```
48+
4349
データベースを作成します。
4450

4551
```console
@@ -84,6 +90,12 @@ $ sudo apt install -y -V postgresql-{{ site.latest_postgresql_version }}-pgdg-pg
8490
$ sudo apt install -y -V groonga-tokenizer-mecab
8591
```
8692

93+
セマンティックサーチ用に、[`<&@*>`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-distance-v2.html) または、 [`&@*`演算子](https://pgroonga.github.io/ja/reference/operators/semantic-search-v2.html)を使いたい場合は、`groonga-plugin-language-model`パッケージもインストールする必要があります。
94+
95+
```console
96+
$ sudo apt install -y -V groonga-plugin-language-model
97+
```
98+
8799
データベースを作成します。
88100

89101
```console

0 commit comments

Comments
 (0)