Kouhei Sutou
null+****@clear*****
Mon Nov 9 11:21:27 JST 2015
Kouhei Sutou 2015-11-09 11:21:27 +0900 (Mon, 09 Nov 2015) New Revision: b176ea4a5e781d4f24dbd117875eee2b4526b5f4 https://github.com/pgroonga/pgroonga.github.io/commit/b176ea4a5e781d4f24dbd117875eee2b4526b5f4 Message: Fix ID markup Modified files: _po/ja/community/index.po _po/ja/install/centos.po _po/ja/install/os-x.po _po/ja/news/index.po _po/ja/reference/create-index-using-pgroonga.po _po/ja/reference/functions/pgroonga-command.po _po/ja/tutorial/index.po community/index.md install/centos.md install/os-x.md ja/community/index.md ja/install/centos.md ja/install/os-x.md ja/news/index.md ja/reference/create-index-using-pgroonga.md ja/reference/functions/pgroonga-command.md ja/tutorial/index.md news/index.md reference/create-index-using-pgroonga.md reference/functions/pgroonga-command.md tutorial/index.md Modified: _po/ja/community/index.po (+12 -24) =================================================================== --- _po/ja/community/index.po 2015-11-09 11:13:13 +0900 (73bd9ed) +++ _po/ja/community/index.po 2015-11-09 11:21:27 +0900 (3aa235e) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-15 11:51+0900\n" +"PO-Revision-Date: 2015-11-09 11:16+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -52,11 +52,8 @@ msgid "" "lve your problem." msgstr "PGroongaの問題を見つけた場合は、GitHubのissueが適切です。開発者がその問題を解決します。" -msgid "{: #mailing-list}" -msgstr "" - -msgid "### Mailing list" -msgstr "### メーリングリスト" +msgid "### Mailing list {#mailing-list}" +msgstr "### メーリングリスト {#mailing-list}" msgid "Here is the mailing list for PGroonga:" msgstr "PGroongaのメーリングリストは次の通りです。" @@ -70,11 +67,8 @@ msgstr "" "k)\n" " * [groonga-dev(日本語)](http://lists.osdn.me/mailman/listinfo/groonga-dev)" -msgid "{: #github-issues}" -msgstr "" - -msgid "### GitHub issues" -msgstr "### GitHubのissue" +msgid "### GitHub issues {#github-issues}" +msgstr "### GitHubのissue {#github-issues}" msgid "Here is a list of PGroonga related the GitHub issues:" msgstr "PGroonga関連のGitHubのissueは次の通りです。" @@ -90,11 +84,8 @@ msgstr "" " * [Issues - pgroonga/pgroonga.github.io](https://github.com/pgroonga/pgroonga" ".github.io/issues):このWebサイト用。" -msgid "{: #chat}" -msgstr "" - -msgid "### Chat room" -msgstr "### チャット" +msgid "### Chat room {#chat}" +msgstr "### チャット {#chat}" msgid "" "You can join [groonga/public chat room on Gitter](https://gitter.im/groonga/pu" @@ -111,13 +102,13 @@ msgid "" "example, you can get release announce." msgstr "メーリングリスト、Twitter、Facebookで最新情報を入手できます。最新情報とは、たとえばリリースアナウンスのことです。" +msgid "### Mailing list" +msgstr "### メーリングリスト" + msgid "See [the above section](#mailing-list)." msgstr "[前述のセクション](#mailing-list)を参照してください。" -msgid "{: #twitter}" -msgstr "" - -msgid "### Twitter" +msgid "### Twitter {#twitter}" msgstr "" msgid "[@groonga](https://twitter.com/groonga/) tweets PGroonga related information." @@ -126,10 +117,7 @@ msgstr "[@groonga](https://twitter.com/groonga/)がPGroonga関連の情報をツ msgid "Please follow the account to get the latest PGroonga related information!" msgstr "PGroonga関連の最新情報を入手するためにこのアカウントをフォローしてください!" -msgid "{: #facebook}" -msgstr "" - -msgid "### Facebook" +msgid "### Facebook {#facebook}" msgstr "" msgid "" Modified: _po/ja/install/centos.po (+5 -11) =================================================================== --- _po/ja/install/centos.po 2015-11-09 11:13:13 +0900 (333c0c4) +++ _po/ja/install/centos.po 2015-11-09 11:21:27 +0900 (6940966) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-15 00:03+0900\n" +"PO-Revision-Date: 2015-11-09 11:17+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -37,11 +37,8 @@ msgid "" " * [CentOS 7](#install-on-7)" msgstr "" -msgid "{: #install-on-5-or-6}" -msgstr "" - -msgid "## How to install on CentOS 5 or CentOS 6" -msgstr "## CentOS 5またはCentOS 6にインストールする方法" +msgid "## How to install on CentOS 5 or CentOS 6 {#install-on-5-or-6}" +msgstr "## CentOS 5またはCentOS 6にインストールする方法 {#install-on-5-or-6}" msgid "" "You can use the following instruction to install PGroonga on CentOS 5 or CentO" @@ -117,11 +114,8 @@ msgstr "これで終わりです!" msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga." msgstr "[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。" -msgid "{: #install-on-7}" -msgstr "" - -msgid "## How to install on CentOS 7" -msgstr "## CentOS 7にインストールする方法" +msgid "## How to install on CentOS 7 {#install-on-7}" +msgstr "## CentOS 7にインストールする方法 {#install-on-7}" msgid "You can use the following instruction to install PGroonga on CentOS 7." msgstr "CentOS 7にPGroongaをインストールする方法は次の通りです。" Modified: _po/ja/install/os-x.po (+3 -6) =================================================================== --- _po/ja/install/os-x.po 2015-11-09 11:13:13 +0900 (8a607c0) +++ _po/ja/install/os-x.po 2015-11-09 11:21:27 +0900 (4945b7a) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-11-05 16:50+0900\n" +"PO-Revision-Date: 2015-11-09 11:17+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -25,11 +25,8 @@ msgstr "# OS Xにインストール" msgid "This document describes how to install PGroonga on OS X." msgstr "このドキュメントはPGroongaをOS Xにインストールする方法を説明します。" -msgid "{: #homebrew}" -msgstr "" - -msgid "## How to install by Homebrew" -msgstr "## Homebrewを使ったインストール方法" +msgid "## How to install by Homebrew {#homebrew}" +msgstr "## Homebrewを使ったインストール方法 {#homebrew}" msgid "You can install PGroonga by Homebrew:" msgstr "Homebrewを使ってPGroongaをインストールできます。" Modified: _po/ja/news/index.po (+2 -8) =================================================================== --- _po/ja/news/index.po 2015-11-09 11:13:13 +0900 (c81fa4b) +++ _po/ja/news/index.po 2015-11-09 11:21:27 +0900 (bfb7f87) @@ -22,10 +22,7 @@ msgstr "" msgid "# News" msgstr "# おしらせ" -msgid "{: #version-1-0-0}" -msgstr "" - -msgid "## 1.0.0: 2015-10-29" +msgid "## 1.0.0: 2015-10-29 {#version-1-0-0}" msgstr "" msgid "It's the first major release!!!" @@ -74,10 +71,7 @@ msgstr "" msgid " * Hiroaki Tachikawa" msgstr "" -msgid "{: #version-0-9-0}" -msgstr "" - -msgid "## 0.9.0: 2015-09-29" +msgid "## 0.9.0: 2015-09-29 {#version-0-9-0}" msgstr "" msgid "" Modified: _po/ja/reference/create-index-using-pgroonga.po (+3 -6) =================================================================== --- _po/ja/reference/create-index-using-pgroonga.po 2015-11-09 11:13:13 +0900 (07742fa) +++ _po/ja/reference/create-index-using-pgroonga.po 2015-11-09 11:21:27 +0900 (63ab8f3) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-29 11:25+0900\n" +"PO-Revision-Date: 2015-11-09 11:17+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -89,11 +89,8 @@ msgid "" " the case." msgstr "この場合は`pgroonga.varchar_full_text_search_ops`オペレータークラスを指定する必要があります。" -msgid "{: #customization}" -msgstr "" - -msgid "### Customization" -msgstr "### カスタマイズ" +msgid "### Customization {#customization}" +msgstr "### カスタマイズ {#customization}" msgid "You can custom the followings by `WITH` option of `CREATE INDEX`:" msgstr "`CREATE INDEX`の`WITH`オプションを使って次の項目をカスタマイズできます。" Modified: _po/ja/reference/functions/pgroonga-command.po (+3 -6) =================================================================== --- _po/ja/reference/functions/pgroonga-command.po 2015-11-09 11:13:13 +0900 (163fa53) +++ _po/ja/reference/functions/pgroonga-command.po 2015-11-09 11:21:27 +0900 (30ed6b9) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-25 21:49+0900\n" +"PO-Revision-Date: 2015-11-09 11:18+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -65,11 +65,8 @@ msgstr "## 使い方" msgid "See [examples in tutorial](../../tutorial/#groonga)." msgstr "[チュートリアルの例](../../tutorial/#groonga)も参照してください。" -msgid "{: #attention}" -msgstr "" - -msgid "## Attention for `select` Groonga command" -msgstr "## Groongaの`select`コマンドに関する注意事項" +msgid "## Attention for `select` Groonga command {#attention}" +msgstr "## Groongaの`select`コマンドに関する注意事項 {#attention}" msgid "" "You need to take care about invalid records when you use [`select` Groonga com" Modified: _po/ja/tutorial/index.po (+15 -36) =================================================================== --- _po/ja/tutorial/index.po 2015-11-09 11:13:13 +0900 (a2b03e5) +++ _po/ja/tutorial/index.po 2015-11-09 11:21:27 +0900 (8da82e4) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-29 17:11+0900\n" +"PO-Revision-Date: 2015-11-09 11:20+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -247,11 +247,8 @@ msgstr "" msgid "See [`@@` operator](../reference/operators/query.html) for more details." msgstr "詳細は[`@@`演算子](../reference/operators/query.html)を参照してください。" -msgid "{: #like}" -msgstr "" - -msgid "#### `LIKE` operator" -msgstr "#### `LIKE`演算子" +msgid "#### `LIKE` operator {#like}" +msgstr "#### `LIKE`演算子 {#like}" msgid "" "PGroonga supports `LIKE` operator. You can perform fast full text search by PG" @@ -267,11 +264,8 @@ msgstr "詳細は[`LIKE`演算子](../reference/operators/like.html)を参照し msgid "You can also use `ILIKE` operator like `LIKE` operator." msgstr "`LIKE`演算子のように`ILIKE`演算子を使うこともできます。" -msgid "{: #score}" -msgstr "" - -msgid "### Score" -msgstr "### スコアー" +msgid "### Score {#score}" +msgstr "### スコアー {#score}" msgid "" "You can use `pgroonga.score` function to get precision as a number. If a recor" @@ -400,11 +394,8 @@ msgstr "" "マッチした度合いの計算方法など詳細は[`pgroonga.score`関数](../reference/functions/pgroonga-score.h" "tml)を参照してください。" -msgid "{: #snippet}" -msgstr "" - -msgid "### Snippet (KWIC, keyword in context)" -msgstr "### スニペット(KWIC、keyword in context)" +msgid "### Snippet (KWIC, keyword in context) {#snippet}" +msgstr "### スニペット(KWIC、keyword in context) {#snippet}" msgid "" "You can use `pgroonga.snippet_html` function to get texts around keywords from" @@ -803,11 +794,8 @@ msgid "" "```" msgstr "" -msgid "{: #json}" -msgstr "" - -msgid "## How to use PGroonga for JSON" -msgstr "## JSONに対してPGroongaを使う方法" +msgid "## How to use PGroonga for JSON {#json}" +msgstr "## JSONに対してPGroongaを使う方法 {#json}" msgid "" "PGroonga also supports `jsonb` type. You can search JSON data by one or more k" @@ -920,11 +908,8 @@ msgid "" "```" msgstr "" -msgid "{: #jsonb-contain}" -msgstr "" - -msgid "### `@>` operator" -msgstr "### `@>`演算子" +msgid "### `@>` operator {#jsonb-contain}" +msgstr "### `@>`演算子 {#jsonb-contain}" msgid "" "`@>` operator specify search condition by `jsonb` value. If condition `jsonb` " @@ -1017,11 +1002,8 @@ msgid "" "ore details." msgstr "詳細は[`jsonb`用の`@@`演算子](../reference/operators/jsonb-query.html)を参照してください。" -msgid "{: #groonga}" -msgstr "" - -msgid "## How to use Groonga throw PGroonga" -msgstr "## PGroonga経由でGroongaを使う方法" +msgid "## How to use Groonga throw PGroonga {#groonga}" +msgstr "## PGroonga経由でGroongaを使う方法 {#groonga}" msgid "This is an advanced topic." msgstr "これは上級者向けの内容です。" @@ -1132,11 +1114,8 @@ msgstr "" "詳細は[`pgroonga.command`関数](../reference/functions/pgroonga-command.html)を参照してくだ" "さい。" -msgid "{: #pgroonga-table-name}" -msgstr "" - -msgid "### `pgroonga.table_name` function" -msgstr "### `pgroonga.table_name`関数" +msgid "### `pgroonga.table_name` function {#pgroonga-table-name}" +msgstr "### `pgroonga.table_name`関数 {#pgroonga-table-name}" msgid "" "PGroonga stores values of index target columns. You can use these values to se" Modified: community/index.md (+5 -15) =================================================================== --- community/index.md 2015-11-09 11:13:13 +0900 (25f4f5f) +++ community/index.md 2015-11-09 11:21:27 +0900 (d33c9df) @@ -15,27 +15,21 @@ If you have a question about how to use PGroonga, mailing list or chat room is b If you get a PGroonga problem, GitHub issues is better. The developers will solve your problem. -{: #mailing-list} - -### Mailing list +### Mailing list {#mailing-list} Here is the mailing list for PGroonga: * [groonga-talk (English)](https://lists.sourceforge.net/lists/listinfo/groonga-talk) * [groonga-dev (Japanese)](http://lists.osdn.me/mailman/listinfo/groonga-dev) -{: #github-issues} - -### GitHub issues +### GitHub issues {#github-issues} Here is a list of PGroonga related the GitHub issues: * [Issues - pgroonga/pgroonga](https://github.com/pgroonga/pgroonga/issues) for PGroonga. * [Issues - pgroonga/pgroonga.github.io](https://github.com/pgroonga/pgroonga.github.io/issues) for this Web site. -{: #chat} - -### Chat room +### Chat room {#chat} You can join [groonga/public chat room on Gitter](https://gitter.im/groonga/public>). @@ -47,17 +41,13 @@ You can get the latest information on mailing list, Twitter and Facebook. For ex See [the above section](#mailing-list). -{: #twitter} - -### Twitter +### Twitter {#twitter} [@groonga](https://twitter.com/groonga/) tweets PGroonga related information. Please follow the account to get the latest PGroonga related information! -{: #facebook} - -### Facebook +### Facebook {#facebook} [Groonga page on Facebook](http://www.facebook.com/groonga) shares PGroonga related information. Modified: install/centos.md (+2 -6) =================================================================== --- install/centos.md 2015-11-09 11:13:13 +0900 (d625987) +++ install/centos.md 2015-11-09 11:21:27 +0900 (bf8d027) @@ -15,9 +15,7 @@ Here are supported CentOS versions: * [CentOS 6](#install-on-5-or-6) * [CentOS 7](#install-on-7) -{: #install-on-5-or-6} - -## How to install on CentOS 5 or CentOS 6 +## How to install on CentOS 5 or CentOS 6 {#install-on-5-or-6} You can use the following instruction to install PGroonga on CentOS 5 or CentOS 6. @@ -62,9 +60,7 @@ That's all! Try [tutorial](../tutorial/). You can understand more about PGroonga. -{: #install-on-7} - -## How to install on CentOS 7 +## How to install on CentOS 7 {#install-on-7} You can use the following instruction to install PGroonga on CentOS 7. Modified: install/os-x.md (+1 -3) =================================================================== --- install/os-x.md 2015-11-09 11:13:13 +0900 (42c68da) +++ install/os-x.md 2015-11-09 11:21:27 +0900 (c532ccd) @@ -7,9 +7,7 @@ layout: en This document describes how to install PGroonga on OS X. -{: #homebrew} - -## How to install by Homebrew +## How to install by Homebrew {#homebrew} You can install PGroonga by Homebrew: Modified: ja/community/index.md (+5 -15) =================================================================== --- ja/community/index.md 2015-11-09 11:13:13 +0900 (a615eb0) +++ ja/community/index.md 2015-11-09 11:21:27 +0900 (e29cf29) @@ -15,27 +15,21 @@ PGroongaの使い方に関する質問がある場合は、メーリングリス PGroongaの問題を見つけた場合は、GitHubのissueが適切です。開発者がその問題を解決します。 -{: #mailing-list} - -### メーリングリスト +### メーリングリスト {#mailing-list} PGroongaのメーリングリストは次の通りです。 * [groonga-talk(英語)](https://lists.sourceforge.net/lists/listinfo/groonga-talk) * [groonga-dev(日本語)](http://lists.osdn.me/mailman/listinfo/groonga-dev) -{: #github-issues} - -### GitHubのissue +### GitHubのissue {#github-issues} PGroonga関連のGitHubのissueは次の通りです。 * [Issues - pgroonga/pgroonga](https://github.com/pgroonga/pgroonga/issues):PGroonga用。 * [Issues - pgroonga/pgroonga.github.io](https://github.com/pgroonga/pgroonga.github.io/issues):このWebサイト用。 -{: #chat} - -### チャット +### チャット {#chat} だれでも[Gitterにあるgroonga/publicチャットルーム](https://gitter.im/groonga/public>)に参加できます。 @@ -47,17 +41,13 @@ PGroonga関連のGitHubのissueは次の通りです。 [前述のセクション](#mailing-list)を参照してください。 -{: #twitter} - -### Twitter +### Twitter {#twitter} [@groonga](https://twitter.com/groonga/)がPGroonga関連の情報をツイートしています。 PGroonga関連の最新情報を入手するためにこのアカウントをフォローしてください! -{: #facebook} - -### Facebook +### Facebook {#facebook} [FacebookのGroongaページ](http://www.facebook.com/groonga)はPGroonga関連の情報を共有しています。 Modified: ja/install/centos.md (+2 -6) =================================================================== --- ja/install/centos.md 2015-11-09 11:13:13 +0900 (301a016) +++ ja/install/centos.md 2015-11-09 11:21:27 +0900 (92d563f) @@ -15,9 +15,7 @@ layout: ja * [CentOS 6](#install-on-5-or-6) * [CentOS 7](#install-on-7) -{: #install-on-5-or-6} - -## CentOS 5またはCentOS 6にインストールする方法 +## CentOS 5またはCentOS 6にインストールする方法 {#install-on-5-or-6} 次の方法でPGroongaをCentOS 5またはCentOS 6にインストールできます。 @@ -62,9 +60,7 @@ PostgreSQLを実行します。 [チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。 -{: #install-on-7} - -## CentOS 7にインストールする方法 +## CentOS 7にインストールする方法 {#install-on-7} CentOS 7にPGroongaをインストールする方法は次の通りです。 Modified: ja/install/os-x.md (+1 -3) =================================================================== --- ja/install/os-x.md 2015-11-09 11:13:13 +0900 (7db0c21) +++ ja/install/os-x.md 2015-11-09 11:21:27 +0900 (e2b2ff9) @@ -7,9 +7,7 @@ layout: ja このドキュメントはPGroongaをOS Xにインストールする方法を説明します。 -{: #homebrew} - -## Homebrewを使ったインストール方法 +## Homebrewを使ったインストール方法 {#homebrew} Homebrewを使ってPGroongaをインストールできます。 Modified: ja/news/index.md (+2 -6) =================================================================== --- ja/news/index.md 2015-11-09 11:13:13 +0900 (d0d8dee) +++ ja/news/index.md 2015-11-09 11:21:27 +0900 (86305a7) @@ -5,9 +5,7 @@ layout: ja # おしらせ -{: #version-1-0-0} - -## 1.0.0: 2015-10-29 +## 1.0.0: 2015-10-29 {#version-1-0-0} It's the first major release!!! @@ -33,9 +31,7 @@ You need to run `DROP EXTENSION pgroonga CASCADE`, upgrade PGroonga binary, run * Hiroaki Tachikawa -{: #version-0-9-0} - -## 0.9.0: 2015-09-29 +## 0.9.0: 2015-09-29 {#version-0-9-0} You can update to 0.9.0 from 0.8.0 by override install and executing the following SQL: Modified: ja/reference/create-index-using-pgroonga.md (+1 -3) =================================================================== --- ja/reference/create-index-using-pgroonga.md 2015-11-09 11:13:13 +0900 (71b4aff) +++ ja/reference/create-index-using-pgroonga.md 2015-11-09 11:21:27 +0900 (47d28f9) @@ -37,9 +37,7 @@ CREATE INDEX ${INDEX_NAME} この場合は`pgroonga.varchar_full_text_search_ops`オペレータークラスを指定する必要があります。 -{: #customization} - -### カスタマイズ +### カスタマイズ {#customization} `CREATE INDEX`の`WITH`オプションを使って次の項目をカスタマイズできます。 Modified: ja/reference/functions/pgroonga-command.md (+1 -3) =================================================================== --- ja/reference/functions/pgroonga-command.md 2015-11-09 11:13:13 +0900 (1cb5805) +++ ja/reference/functions/pgroonga-command.md 2015-11-09 11:21:27 +0900 (79704e0) @@ -25,9 +25,7 @@ Groongaのコマンドは結果をJSONとして返します。`pgroonga.command` [チュートリアルの例](../../tutorial/#groonga)も参照してください。 -{: #attention} - -## Groongaの`select`コマンドに関する注意事項 +## Groongaの`select`コマンドに関する注意事項 {#attention} [Groongaの`select`コマンド](http://groonga.org/ja/docs/reference/commands/select.html)を使うとき、不正なレコードについて注意する必要があります。 Modified: ja/tutorial/index.md (+7 -21) =================================================================== --- ja/tutorial/index.md 2015-11-09 11:13:13 +0900 (09d36e0) +++ ja/tutorial/index.md 2015-11-09 11:21:27 +0900 (9371260) @@ -117,9 +117,7 @@ SELECT * FROM memos WHERE content @@ 'PGroonga OR PostgreSQL'; 詳細は[`@@`演算子](../reference/operators/query.html)を参照してください。 -{: #like} - -#### `LIKE`演算子 +#### `LIKE`演算子 {#like} PGroongaは`LIKE`演算子をサポートしています。既存のSQLを変更しなくてもPGroongaを使った高速な全文検索を実現できます。 @@ -138,9 +136,7 @@ SELECT * FROM memos WHERE content %% '全文検索'; `LIKE`演算子のように`ILIKE`演算子を使うこともできます。 -{: #score} - -### スコアー +### スコアー {#score} `pgroonga.score`関数を使うとマッチした度合いを数値で取得することができます。検索したクエリーに対してよりマッチしているレコードほど高い数値になります。 @@ -203,9 +199,7 @@ SELECT *, pgroonga.score(score_memos) マッチした度合いの計算方法など詳細は[`pgroonga.score`関数](../reference/functions/pgroonga-score.html)を参照してください。 -{: #snippet} - -### スニペット(KWIC、keyword in context) +### スニペット(KWIC、keyword in context) {#snippet} `pgroonga.snippet_html`関数を使うと検索対象のテキストからキーワード周辺のテキストを抽出できます。この処理を[KWIC](https://ja.wikipedia.org/wiki/KWIC)(keyword in context)とも言います。Webの検索エンジンの検索結果でみたことがある人も多いでしょう。 @@ -445,9 +439,7 @@ SELECT * FROM products WHERE tags %% 'PostgreSQL'; -- (2 rows) ``` -{: #json} - -## JSONに対してPGroongaを使う方法 +## JSONに対してPGroongaを使う方法 {#json} PGroongaは`jsonb`型にも対応しています。PGroongaを使うとJSON中のキー・値に対して検索することができます。 @@ -525,9 +517,7 @@ INSERT INTO logs SET enable_seqscan = off; ``` -{: #jsonb-contain} - -### `@>`演算子 +### `@>`演算子 {#jsonb-contain} `@>`演算子は`jsonb`の値で検索条件を指定します。もし、条件に指定した`jsonb`の値が検索対象の`jsonb`の値のサブセットなら`@>`演算子は`true`を返します。 @@ -590,9 +580,7 @@ SELECT jsonb_pretty(record) FROM logs WHERE record @@ 'paths @ ".code" && number 詳細は[`jsonb`用の`@@`演算子](../reference/operators/jsonb-query.html)を参照してください。 -{: #groonga} - -## PGroonga経由でGroongaを使う方法 +## PGroonga経由でGroongaを使う方法 {#groonga} これは上級者向けの内容です。 @@ -640,9 +628,7 @@ SELECT * FROM json_each(pgroonga.command('status')::json->1); 詳細は[`pgroonga.command`関数](../reference/functions/pgroonga-command.html)を参照してください。 -{: #pgroonga-table-name} - -### `pgroonga.table_name`関数 +### `pgroonga.table_name`関数 {#pgroonga-table-name} PGroongaはインデックス対象のカラムの値を保存しています。これらの値を[Groongaの`select`コマンド](http://groonga.org/ja/docs/reference/commands/select.html)で検索・出力するために使うことができます。 Modified: news/index.md (+2 -6) =================================================================== --- news/index.md 2015-11-09 11:13:13 +0900 (714a397) +++ news/index.md 2015-11-09 11:21:27 +0900 (8c05a08) @@ -5,9 +5,7 @@ layout: en # News -{: #version-1-0-0} - -## 1.0.0: 2015-10-29 +## 1.0.0: 2015-10-29 {#version-1-0-0} It's the first major release!!! @@ -33,9 +31,7 @@ You need to run `DROP EXTENSION pgroonga CASCADE`, upgrade PGroonga binary, run * Hiroaki Tachikawa -{: #version-0-9-0} - -## 0.9.0: 2015-09-29 +## 0.9.0: 2015-09-29 {#version-0-9-0} You can update to 0.9.0 from 0.8.0 by override install and executing the following SQL: Modified: reference/create-index-using-pgroonga.md (+1 -3) =================================================================== --- reference/create-index-using-pgroonga.md 2015-11-09 11:13:13 +0900 (b3613dc) +++ reference/create-index-using-pgroonga.md 2015-11-09 11:21:27 +0900 (cc9fdb7) @@ -37,9 +37,7 @@ CREATE INDEX ${INDEX_NAME} You need to specify `pgroonga.varchar_full_text_search_ops` operator class for the case. -{: #customization} - -### Customization +### Customization {#customization} You can custom the followings by `WITH` option of `CREATE INDEX`: Modified: reference/functions/pgroonga-command.md (+1 -3) =================================================================== --- reference/functions/pgroonga-command.md 2015-11-09 11:13:13 +0900 (b329d91) +++ reference/functions/pgroonga-command.md 2015-11-09 11:21:27 +0900 (da919f1) @@ -25,9 +25,7 @@ Groonga command returns result as JSON. `pgroonga.command` returns the JSON as ` See [examples in tutorial](../../tutorial/#groonga). -{: #attention} - -## Attention for `select` Groonga command +## Attention for `select` Groonga command {#attention} You need to take care about invalid records when you use [`select` Groonga command](http://groonga.org/docs/reference/commands/select.html). Modified: tutorial/index.md (+7 -21) =================================================================== --- tutorial/index.md 2015-11-09 11:13:13 +0900 (9653e6f) +++ tutorial/index.md 2015-11-09 11:21:27 +0900 (58139f3) @@ -116,9 +116,7 @@ See [Groonga document](http://groonga.org/docs/reference/grn_expr/query_syntax.h See [`@@` operator](../reference/operators/query.html) for more details. -{: #like} - -#### `LIKE` operator +#### `LIKE` operator {#like} PGroonga supports `LIKE` operator. You can perform fast full text search by PGroonga without changing existing SQL. @@ -136,9 +134,7 @@ See [`LIKE` operator](../reference/operators/like.html) for more details. You can also use `ILIKE` operator like `LIKE` operator. -{: #score} - -### Score +### Score {#score} You can use `pgroonga.score` function to get precision as a number. If a record is more precision against searched query, the record has more higher number. @@ -201,9 +197,7 @@ SELECT *, pgroonga.score(score_memos) See [`pgroonga.score` function](../reference/functions/pgroonga-score.html) for more details such as how to compute precision. -{: #snippet} - -### Snippet (KWIC, keyword in context) +### Snippet (KWIC, keyword in context) {#snippet} You can use `pgroonga.snippet_html` function to get texts around keywords from search target text. It's also known as [KWIC](https://en.wikipedia.org/wiki/Key_Word_in_Context) (keyword in context). You can see it in search result on Web search engine. @@ -442,9 +436,7 @@ SELECT * FROM products WHERE tags %% 'PostgreSQL'; -- (2 rows) ``` -{: #json} - -## How to use PGroonga for JSON +## How to use PGroonga for JSON {#json} PGroonga also supports `jsonb` type. You can search JSON data by one or more keys and/or one or more values with PGroonga. @@ -522,9 +514,7 @@ Disable sequential scan: SET enable_seqscan = off; ``` -{: #jsonb-contain} - -### `@>` operator +### `@>` operator {#jsonb-contain} `@>` operator specify search condition by `jsonb` value. If condition `jsonb` value is a subset of the search target `jsonb` value, `@>` operator returns `true`. @@ -587,9 +577,7 @@ SELECT jsonb_pretty(record) FROM logs WHERE record @@ 'paths @ ".code" && number See [`@@` operator for `jsonb`](../reference/operators/jsonb-query.html) for more details. -{: #groonga} - -## How to use Groonga throw PGroonga +## How to use Groonga throw PGroonga {#groonga} This is an advanced topic. @@ -637,9 +625,7 @@ SELECT * FROM json_each(pgroonga.command('status')::json->1); See [`pgroonga.command` function](../reference/functions/pgroonga-command.html) for more details. -{: #pgroonga-table-name} - -### `pgroonga.table_name` function +### `pgroonga.table_name` function {#pgroonga-table-name} PGroonga stores values of index target columns. You can use these values to search and output by [`select` Groonga command](http://groonga.org/docs/reference/commands/select.html). -------------- next part -------------- HTML����������������������������...다운로드