Kouhei Sutou
null+****@clear*****
Sat Oct 8 22:17:01 JST 2016
Kouhei Sutou 2016-10-08 22:17:01 +0900 (Sat, 08 Oct 2016) New Revision: ba5fb3f544f831052687e4267e42c7f7bad74ebc https://github.com/pgroonga/pgroonga.github.io/commit/ba5fb3f544f831052687e4267e42c7f7bad74ebc Message: PGroonga 1.1.4 has been released!!! Modified files: _config.yml _po/ja/install/centos.po _po/ja/news/index.po _po/ja/upgrade/index.po install/centos.md ja/install/centos.md ja/news/index.md ja/upgrade/index.md news/index.md upgrade/index.md Modified: _config.yml (+4 -4) =================================================================== --- _config.yml 2016-09-29 17:11:39 +0900 (201a9e8) +++ _config.yml 2016-10-08 22:17:01 +0900 (7ffcaa0) @@ -1,12 +1,12 @@ title: PGroonga markdown: kramdown highlighter: rouge -pgroonga_version: 1.1.3 +pgroonga_version: 1.1.4 pgroonga_release_date: 2016-09-29 copyright_year: 2015-2016 -postgresql_short_version: 9.5 -windows_postgresql_version: 9.5.4-1 -windows_postgresql_short_version: 9.5 +postgresql_short_version: 9.6 +windows_postgresql_version: 9.6.0-1 +windows_postgresql_short_version: 9.6 exclude: ["Rakefile", "Gemfile", "Gemfile.lock"] description: en: Make PostgreSQL fast full text search platform for all languages! Modified: _po/ja/install/centos.po (+37 -13) =================================================================== --- _po/ja/install/centos.po 2016-09-29 17:11:39 +0900 (a5c22e2) +++ _po/ja/install/centos.po 2016-10-08 22:17:01 +0900 (b4ae146) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2016-03-09 11:25+0900\n" +"PO-Revision-Date: 2016-10-08 22:55+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,18 +30,16 @@ msgid "Here are supported CentOS versions:" msgstr "サポートしているCentOSのバージョンは次の通りです。" msgid "" -" * [CentOS 5](#install-on-5-or-6)\n" -" * [CentOS 6](#install-on-5-or-6)\n" +" * [CentOS 5](#install-on-5)\n" +" * [CentOS 6](#install-on-6)\n" " * [CentOS 7](#install-on-7)" msgstr "" -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 "## How to install on CentOS 5 {#install-on-5}" +msgstr "## CentOS 5にインストールする方法 {#install-on-5}" -msgid "" -"You can use the following instruction to install PGroonga on CentOS 5 or CentO" -"S 6." -msgstr "次の方法でPGroongaをCentOS 5またはCentOS 6にインストールできます。" +msgid "You can use the following instruction to install PGroonga on CentOS 5." +msgstr "CentOS 5にPGroongaをインストールする方法は次の通りです。" msgid "Install `postgresql-pgroonga` package:" msgstr "`postgresql-pgroonga`パッケージをインストールします。" @@ -50,7 +48,7 @@ msgid "" "```text\n" "% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf -" "-queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH" -"}\" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm\n" +"}\" /etc/redhat-release)/pgdg-centos95-9.5-3.noarch.rpm\n" "% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1." "1.0-1.noarch.rpm\n" "% sudo -H yum makecache\n" @@ -115,6 +113,32 @@ msgstr "これで終わりです!" msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga." msgstr "[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。" +msgid "## How to install on CentOS 6 {#install-on-6}" +msgstr "## CentOS 6にインストールする方法 {#install-on-6}" + +msgid "You can use the following instruction to install PGroonga on CentOS 6." +msgstr "CentOS 76PGroongaをインストールする方法は次の通りです。" + +msgid "" +"```text\n" +"% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf -" +"-queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH" +"}\" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm\n" +"% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1." +"1.0-1.noarch.rpm\n" +"% sudo -H yum makecache\n" +"% sudo -H yum install -y postgresql96-pgroonga\n" +"```" +msgstr "" + +msgid "" +"```text\n" +"% sudo -H /sbin/service postgresql-9.6 initdb\n" +"% sudo -H /sbin/chkconfig postgresql-9.6 on\n" +"% sudo -H /sbin/service postgresql-9.6 start\n" +"```" +msgstr "" + msgid "## How to install on CentOS 7 {#install-on-7}" msgstr "## CentOS 7にインストールする方法 {#install-on-7}" @@ -123,8 +147,8 @@ msgstr "CentOS 7にPGroongaをインストールする方法は次の通りで msgid "" "```text\n" -"% sudo -H /usr/pgsql-9.5/bin/postgresql95-setup initdb\n" -"% sudo -H systemctl enable postgresql-9.5\n" -"% sudo -H systemctl start postgresql-9.5\n" +"% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb\n" +"% sudo -H systemctl enable postgresql-9.6\n" +"% sudo -H systemctl start postgresql-9.6\n" "```" msgstr "" Modified: _po/ja/news/index.po (+25 -10) =================================================================== --- _po/ja/news/index.po 2016-09-29 17:11:39 +0900 (17fb29e) +++ _po/ja/news/index.po 2016-10-08 22:17:01 +0900 (d34f838) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2016-09-05 17:39+0900\n" +"PO-Revision-Date: 2016-10-08 22:16+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,22 +20,43 @@ msgstr "" msgid "# News" msgstr "# おしらせ" -msgid "## 1.1.3: 2016-09-29 {#version-1-1-2}" +msgid "## 1.1.4: 2016-10-08 {#version-1-1-4}" msgstr "" msgid "### Improvements" msgstr "### 改良" -msgid " * [[Windows](../install/windows.html)] Upgraded bundled Groonga to 6.0.9." +msgid " * [[Windows](../install/windows.html)] Upgraded target PostgreSQL to 9.6.0." msgstr "" -msgid " * Supported `Windows-1252` encoding." +msgid " * [[CentOS](../install/centos.html)] Supported PostgreSQL 9.6.0." msgstr "" msgid "### Fixes" msgstr "### 修正" msgid "" +" * Fixed a bug that living records may be removed from index unexpectedly whe" +"n you `UPDATE` or `DELETE` one or more records. [GitHub#23][Reported by yongxi" +"anggao-chanjet]" +msgstr "" + +msgid "### Thanks" +msgstr "### 感謝" + +msgid " * yongxianggao-chanjet" +msgstr "" + +msgid "## 1.1.3: 2016-09-29 {#version-1-1-3}" +msgstr "" + +msgid " * [[Windows](../install/windows.html)] Upgraded bundled Groonga to 6.0.9." +msgstr "" + +msgid " * Supported `Windows-1252` encoding." +msgstr "" + +msgid "" " * Fixed a bug that [`pgroonga.flush`](../reference/functions/pgroonga-flush." "html) function doesn't work against JSONB." msgstr "" @@ -55,9 +76,6 @@ msgid "" "hed." msgstr "" -msgid "### Thanks" -msgstr "### 感謝" - msgid " * Truong Dinh Anh Duy" msgstr "" @@ -72,9 +90,6 @@ msgid "" "ported by Tim Abbott]" msgstr "" -msgid " * yongxianggao-chanjet" -msgstr "" - msgid " * Tim Abbott" msgstr "" Modified: _po/ja/upgrade/index.po (+4 -1) =================================================================== --- _po/ja/upgrade/index.po 2016-09-29 17:11:39 +0900 (a63fbc3) +++ _po/ja/upgrade/index.po 2016-10-08 22:17:01 +0900 (4095987) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2016-09-29 10:51+0900\n" +"PO-Revision-Date: 2016-10-08 22:16+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,6 +32,9 @@ msgstr "" msgid "Here is a list of compatibility:" msgstr "以下は互換性のリストです。" +msgid " * 1.1.3 -> 1.1.4: Compatible" +msgstr " * 1.1.3 -> 1.1.4: 互換" + msgid " * 1.1.2 -> 1.1.3: Compatible" msgstr " * 1.1.2 -> 1.1.3: 互換" Modified: install/centos.md (+55 -10) =================================================================== --- install/centos.md 2016-09-29 17:11:39 +0900 (2670147) +++ install/centos.md 2016-10-08 22:17:01 +0900 (a69526c) @@ -10,18 +10,18 @@ This document describes how to install PGroonga on CentOS. Here are supported CentOS versions: - * [CentOS 5](#install-on-5-or-6) - * [CentOS 6](#install-on-5-or-6) + * [CentOS 5](#install-on-5) + * [CentOS 6](#install-on-6) * [CentOS 7](#install-on-7) -## How to install on CentOS 5 or CentOS 6 {#install-on-5-or-6} +## How to install on CentOS 5 {#install-on-5} -You can use the following instruction to install PGroonga on CentOS 5 or CentOS 6. +You can use the following instruction to install PGroonga on CentOS 5. Install `postgresql-pgroonga` package: ```text -% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-3.noarch.rpm % sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm % sudo -H yum makecache % sudo -H yum install -y postgresql95-pgroonga @@ -59,6 +59,51 @@ That's all! Try [tutorial](../tutorial/). You can understand more about PGroonga. +## How to install on CentOS 6 {#install-on-6} + +You can use the following instruction to install PGroonga on CentOS 6. + +Install `postgresql-pgroonga` package: + +```text +% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql96-pgroonga +``` + +If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package: + +```text +% sudo -H yum install -y groonga-tokenizer-mecab +``` + +Run PostgreSQL: + +```text +% sudo -H /sbin/service postgresql-9.6 initdb +% sudo -H /sbin/chkconfig postgresql-9.6 on +% sudo -H /sbin/service postgresql-9.6 start +``` + +Create a database: + +```text +% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test' +``` + +(Normally, you should create a user for `pgroonga_test` database and use the user. See [`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-on-schema-pgroonga.html) for details.) + +Connect to the created database and execute `CREATE EXTENSION pgroonga`: + +```text +% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga' +``` + +That's all! + +Try [tutorial](../tutorial/). You can understand more about PGroonga. + ## How to install on CentOS 7 {#install-on-7} You can use the following instruction to install PGroonga on CentOS 7. @@ -66,10 +111,10 @@ You can use the following instruction to install PGroonga on CentOS 7. Install `postgresql-pgroonga` package: ```text -% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm % sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm % sudo -H yum makecache -% sudo -H yum install -y postgresql95-pgroonga +% sudo -H yum install -y postgresql96-pgroonga ``` If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package: @@ -81,9 +126,9 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you Run PostgreSQL: ```text -% sudo -H /usr/pgsql-9.5/bin/postgresql95-setup initdb -% sudo -H systemctl enable postgresql-9.5 -% sudo -H systemctl start postgresql-9.5 +% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb +% sudo -H systemctl enable postgresql-9.6 +% sudo -H systemctl start postgresql-9.6 ``` Create a database: Modified: ja/install/centos.md (+55 -10) =================================================================== --- ja/install/centos.md 2016-09-29 17:11:39 +0900 (52ca880) +++ ja/install/centos.md 2016-10-08 22:17:01 +0900 (fe21e6f) @@ -10,18 +10,18 @@ title: CentOSにインストール サポートしているCentOSのバージョンは次の通りです。 - * [CentOS 5](#install-on-5-or-6) - * [CentOS 6](#install-on-5-or-6) + * [CentOS 5](#install-on-5) + * [CentOS 6](#install-on-6) * [CentOS 7](#install-on-7) -## CentOS 5またはCentOS 6にインストールする方法 {#install-on-5-or-6} +## CentOS 5にインストールする方法 {#install-on-5} -次の方法でPGroongaをCentOS 5またはCentOS 6にインストールできます。 +CentOS 5にPGroongaをインストールする方法は次の通りです。 `postgresql-pgroonga`パッケージをインストールします。 ```text -% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-3.noarch.rpm % sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm % sudo -H yum makecache % sudo -H yum install -y postgresql95-pgroonga @@ -59,6 +59,51 @@ PostgreSQLを実行します。 [チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。 +## CentOS 6にインストールする方法 {#install-on-6} + +CentOS 76PGroongaをインストールする方法は次の通りです。 + +`postgresql-pgroonga`パッケージをインストールします。 + +```text +% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql96-pgroonga +``` + +[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 + +```text +% sudo -H yum install -y groonga-tokenizer-mecab +``` + +PostgreSQLを実行します。 + +```text +% sudo -H /sbin/service postgresql-9.6 initdb +% sudo -H /sbin/chkconfig postgresql-9.6 on +% sudo -H /sbin/service postgresql-9.6 start +``` + +データベースを作成します。 + +```text +% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test' +``` + +(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。詳細は[`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-on-schema-pgroonga.html)を参照してください。) + +作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。 + +```text +% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga' +``` + +これで終わりです! + +[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。 + ## CentOS 7にインストールする方法 {#install-on-7} CentOS 7にPGroongaをインストールする方法は次の通りです。 @@ -66,10 +111,10 @@ CentOS 7にPGroongaをインストールする方法は次の通りです。 `postgresql-pgroonga`パッケージをインストールします。 ```text -% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm % sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm % sudo -H yum makecache -% sudo -H yum install -y postgresql95-pgroonga +% sudo -H yum install -y postgresql96-pgroonga ``` [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 @@ -81,9 +126,9 @@ CentOS 7にPGroongaをインストールする方法は次の通りです。 PostgreSQLを実行します。 ```text -% sudo -H /usr/pgsql-9.5/bin/postgresql95-setup initdb -% sudo -H systemctl enable postgresql-9.5 -% sudo -H systemctl start postgresql-9.5 +% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb +% sudo -H systemctl enable postgresql-9.6 +% sudo -H systemctl start postgresql-9.6 ``` データベースを作成します。 Modified: ja/news/index.md (+16 -0) =================================================================== --- ja/news/index.md 2016-09-29 17:11:39 +0900 (affce3f) +++ ja/news/index.md 2016-10-08 22:17:01 +0900 (31b86d2) @@ -4,6 +4,22 @@ title: おしらせ # おしらせ +## 1.1.4: 2016-10-08 {#version-1-1-4} + +### 改良 + + * [[Windows](../install/windows.html)] Upgraded target PostgreSQL to 9.6.0. + + * [[CentOS](../install/centos.html)] Supported PostgreSQL 9.6.0. + +### 修正 + + * Fixed a bug that living records may be removed from index unexpectedly when you `UPDATE` or `DELETE` one or more records. [GitHub#23][Reported by yongxianggao-chanjet] + +### 感謝 + + * yongxianggao-chanjet + ## 1.1.3: 2016-09-29 {#version-1-1-3} ### 改良 Modified: ja/upgrade/index.md (+2 -0) =================================================================== --- ja/upgrade/index.md 2016-09-29 17:11:39 +0900 (202a9b8) +++ ja/upgrade/index.md 2016-10-08 22:17:01 +0900 (45a4a0c) @@ -8,6 +8,8 @@ title: アップグレード 以下は互換性のリストです。 + * 1.1.3 -> 1.1.4: 互換 + * 1.1.2 -> 1.1.3: 互換 * 1.1.1 -> 1.1.2: 互換 Modified: news/index.md (+16 -0) =================================================================== --- news/index.md 2016-09-29 17:11:39 +0900 (c1fe892) +++ news/index.md 2016-10-08 22:17:01 +0900 (8afa248) @@ -4,6 +4,22 @@ title: News # News +## 1.1.4: 2016-10-08 {#version-1-1-4} + +### Improvements + + * [[Windows](../install/windows.html)] Upgraded target PostgreSQL to 9.6.0. + + * [[CentOS](../install/centos.html)] Supported PostgreSQL 9.6.0. + +### Fixes + + * Fixed a bug that living records may be removed from index unexpectedly when you `UPDATE` or `DELETE` one or more records. [GitHub#23][Reported by yongxianggao-chanjet] + +### Thanks + + * yongxianggao-chanjet + ## 1.1.3: 2016-09-29 {#version-1-1-3} ### Improvements Modified: upgrade/index.md (+2 -0) =================================================================== --- upgrade/index.md 2016-09-29 17:11:39 +0900 (c7e2b34) +++ upgrade/index.md 2016-10-08 22:17:01 +0900 (e7e1713) @@ -8,6 +8,8 @@ You can upgrade PGroonga without recreating PGroonga indexes when new version do Here is a list of compatibility: + * 1.1.3 -> 1.1.4: Compatible + * 1.1.2 -> 1.1.3: Compatible * 1.1.1 -> 1.1.2: Compatible -------------- next part -------------- HTML����������������������������...Download