[Groonga-commit] pgroonga/pgroonga.github.io at cf1fec5 [master] Use common format

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 25 22:09:56 JST 2015


Kouhei Sutou	2015-10-25 22:09:56 +0900 (Sun, 25 Oct 2015)

  New Revision: cf1fec5fbf94bc95859bc8816540705b0f81777b
  https://github.com/pgroonga/pgroonga.github.io/commit/cf1fec5fbf94bc95859bc8816540705b0f81777b

  Message:
    Use common format

  Modified files:
    _po/ja/reference/operators/like.po
    ja/reference/operators/like.md
    reference/operators/like.md

  Modified: _po/ja/reference/operators/like.po (+42 -16)
===================================================================
--- _po/ja/reference/operators/like.po    2015-10-25 22:02:07 +0900 (4237b23)
+++ _po/ja/reference/operators/like.po    2015-10-25 22:09:56 +0900 (dbc8ebe)
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"PO-Revision-Date: 2015-10-25 22:00+0900\n"
+"PO-Revision-Date: 2015-10-25 22:08+0900\n"
 "Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,6 +22,9 @@ msgstr ""
 msgid "# `LIKE` operator"
 msgstr "# `LIKE`演算子"
 
+msgid "## Summary"
+msgstr "## 概要"
+
 msgid ""
 "PGroonga converts `column LIKE '%KEYWORD%'` condition to `column %% 'KEYWORD'`"
 " internally. [`%%` operator](match.html) does full text search with index. It'"
@@ -30,6 +33,26 @@ msgstr ""
 "PGroongaは内部的に`column LIKE '%キーワード%'`条件を`column %% 'キーワード'`条件に変換します。[`%%`演算子](m"
 "atch.html)はインデックスを使って全文検索をします。これはインデックスを使わない`LIKE`演算子より速いです。"
 
+msgid "## Syntax"
+msgstr "## 構文"
+
+msgid "Here is the syntax of this operator:"
+msgstr "この演算子の構文は次の通りです。"
+
+msgid ""
+"```sql\n"
+"column LIKE pattern\n"
+"```"
+msgstr ""
+
+msgid "`column` is a column to be searched."
+msgstr "`column`は検索対象のカラムです。"
+
+msgid ""
+"`pattern` is a search pattern. It's `text` type. It must be `'%KEYWORD%'` form"
+"at."
+msgstr "`pattern`は検索パターンです。`text`型です。`'%キーワード%'`というフォーマットではなければいけません。"
+
 msgid ""
 "Both beginning `%` and ending `%` are important. `'KEYWORD%'`, `'%KEYWORD'` an"
 "d so on aren't converted to `column %% 'KEYWORD'`. PGroonga returns no records"
@@ -38,22 +61,11 @@ msgstr ""
 "最初の`%`と最後の`%`はどちらも重要です。`'キーワード%'`、`'%キーワード'`などは`column %% 'キーワード'`に変換されます。このよう"
 "なパターンを指定するとPGroongaは1件もレコードを返しません。なぜならPGroongaはインデックスなしではこれらのパターンを検索できないからです。"
 
-msgid ""
-"The original `LIKE` operator searches against text as is. But `%%` operator do"
-"es full text search against normalized text. It means that search result of `L"
-"IKE` operator with index and search result of the original `LIKE` operator may"
-" be different."
-msgstr ""
-"元の`LIKE`演算子は対象テキストに対して検索します。しかし、`%%`演算子は正規化したテキストに対して検索します。これは、インデックスを使った`LIKE"
-"`演算子の検索結果と、元の`LIKE`演算子の検索結果は異なるということです。"
+msgid "## Usage"
+msgstr "## 使い方"
 
-msgid ""
-"For example, the original `LIKE` operator searches with case sensitive. But `L"
-"IKE` operator with index searches with case insensitive."
-msgstr "たとえば、元の`LIKE`演算子は大文字小文字を区別して検索します。しかし、インデックスを使った`LIKE`演算子は大文字小文字を区別しません。"
-
-msgid "Here are sample schema and data:"
-msgstr ""
+msgid "Here are sample schema and data for examples:"
+msgstr "例に使うサンプルスキーマとデータは次の通りです。"
 
 msgid ""
 "```sql\n"
@@ -87,6 +99,20 @@ msgstr ""
 "INSERT INTO memos VALUES (4, 'groongaコマンドがあります。');\n"
 "```"
 
+msgid ""
+"The original `LIKE` operator searches against text as is. But `%%` operator do"
+"es full text search against normalized text. It means that search result of `L"
+"IKE` operator with index and search result of the original `LIKE` operator may"
+" be different."
+msgstr ""
+"元の`LIKE`演算子は対象テキストに対して検索します。しかし、`%%`演算子は正規化したテキストに対して検索します。これは、インデックスを使った`LIKE"
+"`演算子の検索結果と、元の`LIKE`演算子の検索結果は異なるということです。"
+
+msgid ""
+"For example, the original `LIKE` operator searches with case sensitive. But `L"
+"IKE` operator with index searches with case insensitive."
+msgstr "たとえば、元の`LIKE`演算子は大文字小文字を区別して検索します。しかし、インデックスを使った`LIKE`演算子は大文字小文字を区別しません。"
+
 msgid "A search result of the original `LIKE` operator:"
 msgstr "元の`LIKE`演算子の結果です。"
 

  Modified: ja/reference/operators/like.md (+20 -4)
===================================================================
--- ja/reference/operators/like.md    2015-10-25 22:02:07 +0900 (873ce81)
+++ ja/reference/operators/like.md    2015-10-25 22:09:56 +0900 (681ac7c)
@@ -5,15 +5,27 @@ layout: ja
 
 # `LIKE`演算子
 
+## 概要
+
 PGroongaは内部的に`column LIKE '%キーワード%'`条件を`column %% 'キーワード'`条件に変換します。[`%%`演算子](match.html)はインデックスを使って全文検索をします。これはインデックスを使わない`LIKE`演算子より速いです。
 
-最初の`%`と最後の`%`はどちらも重要です。`'キーワード%'`、`'%キーワード'`などは`column %% 'キーワード'`に変換されます。このようなパターンを指定するとPGroongaは1件もレコードを返しません。なぜならPGroongaはインデックスなしではこれらのパターンを検索できないからです。
+## 構文
 
-元の`LIKE`演算子は対象テキストに対して検索します。しかし、`%%`演算子は正規化したテキストに対して検索します。これは、インデックスを使った`LIKE`演算子の検索結果と、元の`LIKE`演算子の検索結果は異なるということです。
+この演算子の構文は次の通りです。
 
-たとえば、元の`LIKE`演算子は大文字小文字を区別して検索します。しかし、インデックスを使った`LIKE`演算子は大文字小文字を区別しません。
+```sql
+column LIKE pattern
+```
 
-Here are sample schema and data:
+`column`は検索対象のカラムです。
+
+`pattern`は検索パターンです。`text`型です。`'%キーワード%'`というフォーマットではなければいけません。
+
+最初の`%`と最後の`%`はどちらも重要です。`'キーワード%'`、`'%キーワード'`などは`column %% 'キーワード'`に変換されます。このようなパターンを指定するとPGroongaは1件もレコードを返しません。なぜならPGroongaはインデックスなしではこれらのパターンを検索できないからです。
+
+## 使い方
+
+例に使うサンプルスキーマとデータは次の通りです。
 
 ```sql
 CREATE TABLE memos (
@@ -31,6 +43,10 @@ INSERT INTO memos VALUES (3, 'PGroongaはインデックスとしてGroongaを
 INSERT INTO memos VALUES (4, 'groongaコマンドがあります。');
 ```
 
+元の`LIKE`演算子は対象テキストに対して検索します。しかし、`%%`演算子は正規化したテキストに対して検索します。これは、インデックスを使った`LIKE`演算子の検索結果と、元の`LIKE`演算子の検索結果は異なるということです。
+
+たとえば、元の`LIKE`演算子は大文字小文字を区別して検索します。しかし、インデックスを使った`LIKE`演算子は大文字小文字を区別しません。
+
 元の`LIKE`演算子の結果です。
 
 ```sql

  Modified: reference/operators/like.md (+20 -4)
===================================================================
--- reference/operators/like.md    2015-10-25 22:02:07 +0900 (0011c99)
+++ reference/operators/like.md    2015-10-25 22:09:56 +0900 (89678f0)
@@ -5,15 +5,27 @@ layout: en
 
 # `LIKE` operator
 
+## Summary
+
 PGroonga converts `column LIKE '%KEYWORD%'` condition to `column %% 'KEYWORD'` internally. [`%%` operator](match.html) does full text search with index. It's fast rather than `LIKE` operator without index.
 
-Both beginning `%` and ending `%` are important. `'KEYWORD%'`, `'%KEYWORD'` and so on aren't converted to `column %% 'KEYWORD'`. PGroonga returns no records for these patterns. Because PGroonga can't search these patterns with index.
+## Syntax
 
-The original `LIKE` operator searches against text as is. But `%%` operator does full text search against normalized text. It means that search result of `LIKE` operator with index and search result of the original `LIKE` operator may be different.
+Here is the syntax of this operator:
 
-For example, the original `LIKE` operator searches with case sensitive. But `LIKE` operator with index searches with case insensitive.
+```sql
+column LIKE pattern
+```
 
-Here are sample schema and data:
+`column` is a column to be searched.
+
+`pattern` is a search pattern. It's `text` type. It must be `'%KEYWORD%'` format.
+
+Both beginning `%` and ending `%` are important. `'KEYWORD%'`, `'%KEYWORD'` and so on aren't converted to `column %% 'KEYWORD'`. PGroonga returns no records for these patterns. Because PGroonga can't search these patterns with index.
+
+## Usage
+
+Here are sample schema and data for examples:
 
 ```sql
 CREATE TABLE memos (
@@ -31,6 +43,10 @@ INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groon
 INSERT INTO memos VALUES (4, 'There is groonga command.');
 ```
 
+The original `LIKE` operator searches against text as is. But `%%` operator does full text search against normalized text. It means that search result of `LIKE` operator with index and search result of the original `LIKE` operator may be different.
+
+For example, the original `LIKE` operator searches with case sensitive. But `LIKE` operator with index searches with case insensitive.
+
 A search result of the original `LIKE` operator:
 
 ```sql
-------------- next part --------------
HTML����������������������������...
Download 



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