Kouhei Sutou
null+****@clear*****
Wed Jun 7 22:54:36 JST 2017
Kouhei Sutou 2017-06-07 22:54:36 +0900 (Wed, 07 Jun 2017) New Revision: e4010acbb51754ca68be9c07dcde7574571f1627 https://github.com/pgroonga/pgroonga.github.io/commit/e4010acbb51754ca68be9c07dcde7574571f1627 Message: match-v2 ja: translate Modified files: _po/ja/reference/operators/match-v2.po ja/reference/operators/match-v2.md reference/operators/match-v2.md Modified: _po/ja/reference/operators/match-v2.po (+60 -13) =================================================================== --- _po/ja/reference/operators/match-v2.po 2017-06-07 18:07:08 +0900 (7499147) +++ _po/ja/reference/operators/match-v2.po 2017-06-07 22:54:36 +0900 (6ff6d13) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2016-12-05 15:51+0900\n" +"PO-Revision-Date: 2017-06-07 22:54+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -22,6 +22,9 @@ msgstr "" msgid "# `&@` operator" msgstr "# `&@`演算子" +msgid "Since 1.2.0." +msgstr "1.2.0で追加。" + msgid "## Summary" msgstr "## 概要" @@ -37,11 +40,43 @@ msgid "" "```" msgstr "" -msgid "`column` is a column to be searched." -msgstr "`column`は検索対象のカラムです。" +msgid "" +"`column` is a column to be searched. It's `text` type, `text[]` type or `varch" +"ar` type." +msgstr "`column`は検索対象のカラムです。型は`text`型、`text[]`型、`varchar`型のどれかです。" + +msgid "" +"`keyword` is a keyword for full text search. It's `text` type for `text` type " +"or `text[]` type `column`. It's `varchar` type for `varchar` type `column`." +msgstr "" +"`keyword`は全文検索で使うキーワードです。`column`が`text`型または`text[]`型なら`keyword`は`text`型です。`co" +"lumn`が`varchar`型なら`keyword`は`varchar`型です。" + +msgid "## Operator classes" +msgstr "## 演算子クラス" + +msgid "" +"You need to specify one of the following operator classes to use this operator" +":" +msgstr "この演算子を使うには次のどれかの演算子クラスを指定する必要があります。" + +msgid " * `pgroonga.text_full_text_search_ops`: Default for `text`" +msgstr " * `pgroonga.text_full_text_search_ops`:`text`のデフォルト" + +msgid " * `pgroonga.text_array_full_text_search_ops`: Default for `text[]`" +msgstr " * `pgroonga.text_array_full_text_search_ops`:`text[]`のデフォルト" -msgid "`keyword` is a keyword for full text search. It's `text` type." -msgstr "`keyword`は全文検索で使うキーワードです。`text`型です。" +msgid " * `pgroonga.varchar_full_text_search_ops`: For `varchar`" +msgstr " * `pgroonga.varchar_full_text_search_ops`:`varchar`用" + +msgid " * `pgroonga.text_full_text_search_ops_v2`: For `text`" +msgstr " * `pgroonga.text_full_text_search_ops_v2`:`text`用" + +msgid " * `pgroonga.text_array_full_text_search_ops_v2`: For `text[]`" +msgstr " * `pgroonga.text_array_full_text_search_ops_v2`:`text[]`用" + +msgid " * `pgroonga.varchar_full_text_search_ops_v2`: For `varchar`" +msgstr " * `pgroonga.varchar_full_text_search_ops_v2`:`varchar`用" msgid "## Usage" msgstr "## 使い方" @@ -96,22 +131,34 @@ msgid "" "-- (1 row)\n" "```" msgstr "" +"```sql\n" +"SELECT * FROM memos WHERE content &@ 'エンジン';\n" +"-- id | content \n" +"-- ----+---------------------------------------------------\n" +"-- 2 | Groongaは日本語対応の高速な全文検索エンジンです。\n" +"-- (1 row)\n" +"```" msgid "" "If you want to perform full text search with multiple keywords or AND/OR searc" -"h, use [`&?` operator](query-v2.html)." -msgstr "複数のキーワードで検索したいときやAND/ORを使った検索をしたいときは[`&?`演算子](query-v2.html)を使います。" +"h, use [`&?` operator][query-v2]." +msgstr "複数のキーワードで全文検索したいときやAND/ORを使った検索をしたいときは[`&?`演算子][query-v2]を使います。" msgid "" "If you want to perform full text search with multiple keywords OR search, use " -"[`&@>` operator](match-contain-v2.html)." -msgstr "複数のキーワードでOR検索をしたいときは[`&@>`演算子](match-contain-v2.html)を使います。" +"[`&@|` operator][match-in-v2]." +msgstr "複数のキーワードでOR全文検索をしたいときは[`&@|`演算子][match-in-v2]を使います。" msgid "## See also" msgstr "## 参考" -msgid " * [`&?` operator](query-v2.html)" -msgstr " * [`&?`演算子](query-v2.html)" +msgid " * [`&?` operator][query-v2]: Full text search by easy to use query language" +msgstr " * [`&?`演算子][query-v2]:便利なクエリー言語を使った全文検索" + +msgid " * [`&@|` operator][match-in-v2]: Full text search by an array of keywords" +msgstr " * [`&@|`演算子][match-in-v2]:キーワードの配列での全文検索" -msgid " * [`&@>` operator](match-contain-v2.html)" -msgstr " * [`&@>`演算子](match-contain-v2.html)" +msgid "" +"[query-v2]:query-v2.html\n" +"[match-in-v2]:match-in-v2.html" +msgstr "" Modified: ja/reference/operators/match-v2.md (+31 -10) =================================================================== --- ja/reference/operators/match-v2.md 2017-06-07 18:07:08 +0900 (47af56d) +++ ja/reference/operators/match-v2.md 2017-06-07 22:54:36 +0900 (3409db4) @@ -5,6 +5,8 @@ upper_level: ../ # `&@`演算子 +1.2.0で追加。 + ## 概要 `&@`演算子は1つのキーワードで全文検索を実行します。 @@ -15,9 +17,25 @@ upper_level: ../ column &@ keyword ``` -`column`は検索対象のカラムです。 +`column`は検索対象のカラムです。型は`text`型、`text[]`型、`varchar`型のどれかです。 + +`keyword`は全文検索で使うキーワードです。`column`が`text`型または`text[]`型なら`keyword`は`text`型です。`column`が`varchar`型なら`keyword`は`varchar`型です。 + +## 演算子クラス + +この演算子を使うには次のどれかの演算子クラスを指定する必要があります。 + + * `pgroonga.text_full_text_search_ops`:`text`のデフォルト -`keyword`は全文検索で使うキーワードです。`text`型です。 + * `pgroonga.text_array_full_text_search_ops`:`text[]`のデフォルト + + * `pgroonga.varchar_full_text_search_ops`:`varchar`用 + + * `pgroonga.text_full_text_search_ops_v2`:`text`用 + + * `pgroonga.text_array_full_text_search_ops_v2`:`text[]`用 + + * `pgroonga.varchar_full_text_search_ops_v2`:`varchar`用 ## 使い方 @@ -42,19 +60,22 @@ INSERT INTO memos VALUES (4, 'groongaコマンドがあります。'); `&@`演算子を使うと1つキーワードで全文検索できます。 ```sql -SELECT * FROM memos WHERE content &@ 'engine'; --- id | content --- ----+------------------------------------------------------------------------ --- 2 | Groonga is a fast full text search engine that supports all languages. +SELECT * FROM memos WHERE content &@ 'エンジン'; +-- id | content +-- ----+--------------------------------------------------- +-- 2 | Groongaは日本語対応の高速な全文検索エンジンです。 -- (1 row) ``` -複数のキーワードで検索したいときやAND/ORを使った検索をしたいときは[`&?`演算子](query-v2.html)を使います。 +複数のキーワードで全文検索したいときやAND/ORを使った全文検索をしたいときは[`&?`演算子][query-v2]を使います。 -複数のキーワードでOR検索をしたいときは[`&@>`演算子](match-contain-v2.html)を使います。 +複数のキーワードでOR全文検索をしたいときは[`&@|`演算子][match-in-v2]を使います。 ## 参考 - * [`&?`演算子](query-v2.html) + * [`&?`演算子][query-v2]:便利なクエリー言語を使った全文検索 + + * [`&@|`演算子][match-in-v2]:キーワードの配列での全文検索 - * [`&@>`演算子](match-contain-v2.html) +[query-v2]:query-v2.html +[match-in-v2]:match-in-v2.html Modified: reference/operators/match-v2.md (+2 -2) =================================================================== --- reference/operators/match-v2.md 2017-06-07 18:07:08 +0900 (1a1e3f9) +++ reference/operators/match-v2.md 2017-06-07 22:54:36 +0900 (9959050) @@ -73,9 +73,9 @@ If you want to perform full text search with multiple keywords OR search, use [` ## See also - * [`&?` operator][query-v2] + * [`&?` operator][query-v2]: Full text search by easy to use query language - * [`&@|` operator][match-in-v2] + * [`&@|` operator][match-in-v2]: Full text search by an array of keywords [query-v2]:query-v2.html [match-in-v2]:match-in-v2.html -------------- next part -------------- HTML����������������������������...Télécharger