[Groonga-commit] pgroonga/pgroonga.github.io at 707a370 [master] Translate JSON related documents

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 23 18:40:20 JST 2015


Kouhei Sutou	2015-10-23 18:40:20 +0900 (Fri, 23 Oct 2015)

  New Revision: 707a3707f0952c185b046ea6b7621effe7dcbe96
  https://github.com/pgroonga/pgroonga.github.io/commit/707a3707f0952c185b046ea6b7621effe7dcbe96

  Message:
    Translate JSON related documents

  Modified files:
    _po/ja/tutorial/index.po
    ja/tutorial/index.md
    tutorial/index.md

  Modified: _po/ja/tutorial/index.po (+46 -26)
===================================================================
--- _po/ja/tutorial/index.po    2015-10-23 13:33:42 +0900 (6302884)
+++ _po/ja/tutorial/index.po    2015-10-23 18:40:20 +0900 (9db0813)
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"PO-Revision-Date: 2015-10-23 13:33+0900\n"
+"PO-Revision-Date: 2015-10-23 18:37+0900\n"
 "Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -694,21 +694,23 @@ msgid "{: #json}"
 msgstr ""
 
 msgid "## How to use PGroonga for JSON"
-msgstr ""
+msgstr "## JSONに対してPGroongaを使う方法"
 
 msgid ""
 "PGroonga also supports `jsonb` type. You can search JSON data by one or more k"
 "eys and/or one or more values with PGroonga."
-msgstr ""
+msgstr "PGroongaは`jsonb`型にも対応しています。PGroongaを使うとJSON中のキー・値に対して検索することができます。"
 
 msgid ""
 "You can also search JSON data by full text search against all text values in J"
 "SON. It's an unique feature of PGroonga. Built-in PostgreSQL features and [JsQ"
 "uery](https://github.com/postgrespro/jsquery) don't support it."
 msgstr ""
+"JSON中のすべてのテキスト値に対して全文検索することもできます。これはPGroonga独自の機能です。PostgreSQL組み込みの機能でも[JsQuer"
+"y](https://github.com/postgrespro/jsquery)でもこの機能はサポートしていません。"
 
 msgid "Think about the following JSON:"
-msgstr ""
+msgstr "次のJSONを考えてください。"
 
 msgid ""
 "```json\n"
@@ -726,34 +728,41 @@ msgid ""
 "You can find the JSON by full text search with `search`, `example` or `web` be"
 "cause all text values are full text search target."
 msgstr ""
+"`search`、`example`、`web`のどれで全文検索してもこのJSONを見つけることができます。なぜなら、すべてのテキスト値が全文検索対象だから"
+"です。"
 
 msgid "PGroonga provides the following two operators for searching against `jsonb`:"
-msgstr ""
+msgstr "PGroongaは`jsonb`に対して検索するために次の2つの演算子を提供しています。"
 
 msgid ""
 "  * `@>` operator\n"
 "  * `@@` operator"
 msgstr ""
+"  * `@>`演算子\n"
+"  * `@@`演算子"
 
 msgid ""
 "[`@>` operator is a built-in PostgreSQL operator](http://www.postgresql.org/do"
 "cs/current/static/functions-json.html#FUNCTIONS-JSONB-OP-TABLE). `@>` returns "
 "true when the right hand side `jsonb` is a subset of left hand side `jsonb`."
 msgstr ""
+"[`@>`演算子はPostgreSQL組み込みの演算子](http://www.postgresql.jp/document/current/html/fu"
+"nctions-json.html#FUNCTIONS-JSONB-OP-TABLE)です。`@>`は右辺の`jsonb`が左辺の`jsonb`のサブセット"
+"なら真を返します。"
 
 msgid "You can execute `@>` faster by PGroonga."
-msgstr ""
+msgstr "PGroongaを使うことで高速に`@>`を実行出来ます。"
 
 msgid ""
-"`@@` operator is a PGroonga original operator. You can use complex condition t"
-"hat can't be written by `@>` operator such as range search."
-msgstr ""
+"`@@` operator is a PGroonga original operator. You can write complex condition"
+" that can't be written by `@>` operator such as range search."
+msgstr "`@@`演算子はPGroonga独自の演算子です。`@>`演算子では記述することができない範囲検索のような複雑な条件も使えます。"
 
 msgid "### Sample schema and data"
-msgstr ""
+msgstr "### サンプルスキーマとデータ"
 
 msgid "Here are sample schema and data for examples:"
-msgstr ""
+msgstr "例に使うサンプルスキーマとデータは次の通りです。"
 
 msgid ""
 "```sql\n"
@@ -801,22 +810,27 @@ msgid "{: #jsonb-contain}"
 msgstr ""
 
 msgid "### `@>` operator"
-msgstr ""
+msgstr "### `@>`演算子"
 
 msgid ""
 "`@>` operator specify search condition by `jsonb` value. If condition `jsonb` "
 "value is a subset of the search target `jsonb` value, `@>` operator returns `t"
 "rue`."
 msgstr ""
+"`@>`演算子は`jsonb`の値で検索条件を指定します。もし、条件に指定した`jsonb`の値が検索対象の`jsonb`の値のサブセットなら`@>`演算子"
+"は`true`を返します。"
 
 msgid "Here is an example:"
-msgstr ""
+msgstr "例です。"
 
 msgid ""
 "(It uses [`jsonb_pretty()` function](http://www.postgresql.org/docs/devel/stat"
 "ic/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE) provided since Postgre"
 "SQL 9.5 for readability.)"
 msgstr ""
+"(読みやすくするためにPostgreSQL 9.5以降で使える[`jsonb_pretty()`関数](http://www.postgresql.jp/d"
+"ocument/current/html/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE)を使ってい"
+"ます。)"
 
 msgid ""
 "```sql\n"
@@ -848,25 +862,22 @@ msgstr ""
 msgid ""
 "See [`@>` operator](../reference/operators/jsonb-contain.html) for more detail"
 "s."
-msgstr ""
+msgstr "詳細は[`@>`演算子](../reference/operators/jsonb-contain.html)を参照してください。"
 
 msgid "### `@@` operator"
-msgstr ""
-
-msgid ""
-"`@@` operator is a PGroonga original operator. You can write complex condition"
-" that can't be written by `@>` operator such as range search."
-msgstr ""
+msgstr "### `@@`演算子"
 
 msgid ""
 "Here is an example for range search. The `SELECT` returns records that is matc"
 "hed with the following conditions:"
-msgstr ""
+msgstr "範囲検索をする例です。この`SELECT`は次の条件にマッチするレコードを返します。"
 
 msgid ""
 "  * `code` key exists at the top-level object\n"
 "  * Value of the `code` is greater than or equal to `200` and less than `300`"
 msgstr ""
+"  * トップレベルのオブジェクトに`code`というキーが存在する\n"
+"  * その`code`の値が`200`以上`300`未満である"
 
 msgid ""
 "```sql\n"
@@ -890,19 +901,19 @@ msgstr ""
 msgid ""
 "See [`@@` operator for `jsonb`](../reference/operators/jsonb-query.html) for m"
 "ore details."
-msgstr ""
+msgstr "詳細は[`jsonb`用の`@@`演算子](../reference/operators/jsonb-query.html)を参照してください。"
 
 msgid "{: #groonga}"
 msgstr ""
 
 msgid "## How to use Groonga throw PGroonga"
-msgstr ""
+msgstr "## PGroonga経由でGroongaを使う方法"
 
 msgid "This is an advanced topic."
-msgstr ""
+msgstr "これは上級者向けの内容です。"
 
 msgid "In most cases, Groonga is faster than PostgreSQL."
-msgstr ""
+msgstr "多くの場合、GroongaはPostgreSQLより高速です。"
 
 msgid ""
 "For example, [drilldown feature](http://groonga.org/docs/reference/commands/se"
@@ -910,6 +921,9 @@ msgid ""
 "P BY`s (or one `GROUP BY GROUPING SET`) by PostgreSQL. Because all needed resu"
 "lts can be done by one query in Groonga."
 msgstr ""
+"たとえば、Groongaの[ドリルダウン機能](http://groonga.org/ja/docs/reference/commands/select.h"
+"tml#drilldown)はPostgreSQLで`SELECT`1回と複数の`GROUP BY`(または1回の`GROUP BY GROUPING SE"
+"T`)を実行するよりも速いです。なぜならGroongaでは1回のクエリーで必要な結果をすべて返すからです。"
 
 msgid ""
 "In another instance, Groonga can perform query that doesn't use all columns in"
@@ -919,14 +933,20 @@ msgid ""
 " all columns in record to access only partial columns. Column oriented data st"
 "ore just need to read only target columns in record."
 msgstr ""
+"別の例も紹介します。レコード中の一部のカラムしか使わないクエリーの実行はPostgreSQLよりGroongaの方が速いです。なぜなら、Groongaはカラ"
+"ム指向(列指向)のデータストアを実装しているからです。カラム指向のデータストア(Groonga)は行指向のデータストア(PostgreSQL)よりも一部のカ"
+"ラムにアクセスするのが速いのです。行指向のデータストアは一部のカラムにアクセスするだけでよい場合でもすべてのカラムを読み込む必要があります。一方、絡む指向の"
+"データストアは必要なカラムだけを読み込むことができます。"
 
 msgid ""
 "You can't use SQL to use Groonga directory. It's not PostgrSQL user friendly. "
 "But PGroonga provides a feature to use Groonga directly throw SQL."
 msgstr ""
+"GroongaそのものはSQLのインターフェイスを提供していません。これはPostgreSQLユーザーには使いづらいです。しかし、PGroongaはSQL経"
+"由でGroongaを使う機能を提供しています。"
 
 msgid "### `pgroonga.command` function"
-msgstr ""
+msgstr "### `pgroonga.command`関数"
 
 msgid ""
 "You can execute [Groonga commands](http://groonga.org/docs/reference/command.h"

  Modified: ja/tutorial/index.md (+32 -32)
===================================================================
--- ja/tutorial/index.md    2015-10-23 13:33:42 +0900 (860406a)
+++ ja/tutorial/index.md    2015-10-23 18:40:20 +0900 (0df26ac)
@@ -431,13 +431,13 @@ SELECT * FROM products WHERE tags %% 'PostgreSQL';
 
 {: #json}
 
-## How to use PGroonga for JSON
+## JSONに対してPGroongaを使う方法
 
-PGroonga also supports `jsonb` type. You can search JSON data by one or more keys and/or one or more values with PGroonga.
+PGroongaは`jsonb`型にも対応しています。PGroongaを使うとJSON中のキー・値に対して検索することができます。
 
-You can also search JSON data by full text search against all text values in JSON. It's an unique feature of PGroonga. Built-in PostgreSQL features and [JsQuery](https://github.com/postgrespro/jsquery) don't support it.
+JSON中のすべてのテキスト値に対して全文検索することもできます。これはPGroonga独自の機能です。PostgreSQL組み込みの機能でも[JsQuery](https://github.com/postgrespro/jsquery)でもこの機能はサポートしていません。
 
-Think about the following JSON:
+次のJSONを考えてください。
 
 ```json
 {
@@ -449,22 +449,22 @@ Think about the following JSON:
 }
 ```
 
-You can find the JSON by full text search with `search`, `example` or `web` because all text values are full text search target.
+`search`、`example`、`web`のどれで全文検索してもこのJSONを見つけることができます。なぜなら、すべてのテキスト値が全文検索対象だからです。
 
-PGroonga provides the following two operators for searching against `jsonb`:
+PGroongaは`jsonb`に対して検索するために次の2つの演算子を提供しています。
 
-  * `@>` operator
-  * `@@` operator
+  * `@>`演算子
+  * `@@`演算子
 
-[`@>` operator is a built-in PostgreSQL operator](http://www.postgresql.org/docs/current/static/functions-json.html#FUNCTIONS-JSONB-OP-TABLE). `@>` returns true when the right hand side `jsonb` is a subset of left hand side `jsonb`.
+[`@>`演算子はPostgreSQL組み込みの演算子](http://www.postgresql.jp/document/current/html/functions-json.html#FUNCTIONS-JSONB-OP-TABLE)です。`@>`は右辺の`jsonb`が左辺の`jsonb`のサブセットなら真を返します。
 
-You can execute `@>` faster by PGroonga.
+PGroongaを使うことで高速に`@>`を実行出来ます。
 
-`@@` operator is a PGroonga original operator. You can use complex condition that can't be written by `@>` operator such as range search.
+`@@`演算子はPGroonga独自の演算子です。`@>`演算子では記述することができない範囲検索のような複雑な条件も使えます。
 
-### Sample schema and data
+### サンプルスキーマとデータ
 
-Here are sample schema and data for examples:
+例に使うサンプルスキーマとデータは次の通りです。
 
 ```sql
 CREATE TABLE logs (
@@ -511,13 +511,13 @@ SET enable_seqscan = off;
 
 {: #jsonb-contain}
 
-### `@>` operator
+### `@>`演算子
 
-`@>` operator specify search condition by `jsonb` value. If condition `jsonb` value is a subset of the search target `jsonb` value, `@>` operator returns `true`.
+`@>`演算子は`jsonb`の値で検索条件を指定します。もし、条件に指定した`jsonb`の値が検索対象の`jsonb`の値のサブセットなら`@>`演算子は`true`を返します。
 
-Here is an example:
+例です。
 
-(It uses [`jsonb_pretty()` function](http://www.postgresql.org/docs/devel/static/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE) provided since PostgreSQL 9.5 for readability.)
+(読みやすくするためにPostgreSQL 9.5以降で使える[`jsonb_pretty()`関数](http://www.postgresql.jp/document/current/html/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE)を使っています。)
 
 ```sql
 SELECT jsonb_pretty(record) FROM logs WHERE record @> '{"host": "www.example.com"}'::jsonb;
@@ -543,18 +543,18 @@ SELECT jsonb_pretty(record) FROM logs WHERE record @> '{"host": "www.example.com
 -- (2 rows)
 ```
 
-See [`@>` operator](../reference/operators/jsonb-contain.html) for more details.
+詳細は[`@>`演算子](../reference/operators/jsonb-contain.html)を参照してください。
 
-### `@@` operator
+### `@@`演算子
 
-`@@` operator is a PGroonga original operator. You can write complex condition that can't be written by `@>` operator such as range search.
+`@@`演算子はPGroonga独自の演算子です。`@>`演算子では記述することができない範囲検索のような複雑な条件も使えます。
 
-Here is an example for range search. The `SELECT` returns records that is matched with the following conditions:
+範囲検索をする例です。この`SELECT`は次の条件にマッチするレコードを返します。
 
-  * `code` key exists at the top-level object
-  * Value of the `code` is greater than or equal to `200` and less than `300`
+  * トップレベルのオブジェクトに`code`というキーが存在する
+  * その`code`の値が`200`以上`300`未満である
 
-(It uses [`jsonb_pretty()` function](http://www.postgresql.org/docs/devel/static/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE) provided since PostgreSQL 9.5 for readability.)
+(読みやすくするためにPostgreSQL 9.5以降で使える[`jsonb_pretty()`関数](http://www.postgresql.jp/document/current/html/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE)を使っています。)
 
 ```sql
 SELECT jsonb_pretty(record) FROM logs WHERE record @@ 'paths @ ".code" && number >= 200 && number < 300';
@@ -572,23 +572,23 @@ SELECT jsonb_pretty(record) FROM logs WHERE record @@ 'paths @ ".code" && number
 -- (1 row)
 ```
 
-See [`@@` operator for `jsonb`](../reference/operators/jsonb-query.html) for more details.
+詳細は[`jsonb`用の`@@`演算子](../reference/operators/jsonb-query.html)を参照してください。
 
 {: #groonga}
 
-## How to use Groonga throw PGroonga
+## PGroonga経由でGroongaを使う方法
 
-This is an advanced topic.
+これは上級者向けの内容です。
 
-In most cases, Groonga is faster than PostgreSQL.
+多くの場合、GroongaはPostgreSQLより高速です。
 
-For example, [drilldown feature](http://groonga.org/docs/reference/commands/select.html#drilldown) in Groonga is faster than one `SELECT` and multiple `GROUP BY`s (or one `GROUP BY GROUPING SET`) by PostgreSQL. Because all needed results can be done by one query in Groonga.
+たとえば、Groongaの[ドリルダウン機能](http://groonga.org/ja/docs/reference/commands/select.html#drilldown)はPostgreSQLで`SELECT`1回と複数の`GROUP BY`(または1回の`GROUP BY GROUPING SET`)を実行するよりも速いです。なぜならGroongaでは1回のクエリーで必要な結果をすべて返すからです。
 
-In another instance, Groonga can perform query that doesn't use all columns in record faster than PostgreSQL. Because Groonga has column oriented data store. Column oriented data store (Groonga) is faster than row oriented data store (PostgreSQL) for accessing some columns. Row oriented data store needs to read all columns in record to access only partial columns. Column oriented data store just need to read only target columns in record.
+別の例も紹介します。レコード中の一部のカラムしか使わないクエリーの実行はPostgreSQLよりGroongaの方が速いです。なぜなら、Groongaはカラム指向(列指向)のデータストアを実装しているからです。カラム指向のデータストア(Groonga)は行指向のデータストア(PostgreSQL)よりも一部のカラムにアクセスするのが速いのです。行指向のデータストアは一部のカラムにアクセスするだけでよい場合でもすべてのカラムを読み込む必要があります。一方、絡む指向のデータストアは必要なカラムだけを読み込むことができます。
 
-You can't use SQL to use Groonga directory. It's not PostgrSQL user friendly. But PGroonga provides a feature to use Groonga directly throw SQL.
+GroongaそのものはSQLのインターフェイスを提供していません。これはPostgreSQLユーザーには使いづらいです。しかし、PGroongaはSQL経由でGroongaを使う機能を提供しています。
 
-### `pgroonga.command` function
+### `pgroonga.command`関数
 
 You can execute [Groonga commands](http://groonga.org/docs/reference/command.html) and get the result of the execution as string by `pgroonga.command` function.
 

  Modified: tutorial/index.md (+1 -1)
===================================================================
--- tutorial/index.md    2015-10-23 13:33:42 +0900 (0942ea2)
+++ tutorial/index.md    2015-10-23 18:40:20 +0900 (06f755f)
@@ -459,7 +459,7 @@ PGroonga provides the following two operators for searching against `jsonb`:
 
 You can execute `@>` faster by PGroonga.
 
-`@@` operator is a PGroonga original operator. You can use complex condition that can't be written by `@>` operator such as range search.
+`@@` operator is a PGroonga original operator. You can write complex condition that can't be written by `@>` operator such as range search.
 
 ### Sample schema and data
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index