rroonga 4.0.1-x64-mingw32 → 4.0.2-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/doc/text/news.textile +25 -0
 - data/ext/groonga/extconf.rb +2 -0
 - data/ext/groonga/rb-grn-index-column.c +91 -0
 - data/ext/groonga/rb-grn-object.c +3 -9
 - data/ext/groonga/rb-grn-table.c +18 -24
 - data/ext/groonga/rb-grn.h +1 -1
 - data/lib/1.9/groonga.so +0 -0
 - data/lib/2.0/groonga.so +0 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/groonga/dumper.rb +1 -1
 - data/lib/groonga/patricia-trie.rb +4 -1
 - data/lib/groonga/schema.rb +10 -4
 - data/rroonga-build.rb +1 -1
 - data/test/test-context.rb +8 -8
 - data/test/test-database-dumper.rb +6 -6
 - data/test/test-index-column.rb +9 -4
 - data/test/test-schema-dumper.rb +6 -6
 - data/test/test-schema.rb +32 -3
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-1.dll +0 -0
 - data/vendor/local/bin/libmsgpack-3.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libstdc++-6.dll +0 -0
 - data/vendor/local/bin/mecab-config +2 -2
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
 - data/vendor/local/include/groonga/groonga.h +2 -1
 - data/vendor/local/include/groonga/groonga/plugin.h +19 -1
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
 - data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +3 -3
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmecab.la +1 -1
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.la +2 -2
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.la +2 -2
 - data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/sbin/groonga-httpd-restart +1 -1
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +65 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
 - data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
 - data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news.html +286 -209
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +40 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +43 -18
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +48 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +19 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +65 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
 - data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
 - data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +27 -137
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +11 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +55 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +19 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
 - data/vendor/local/share/groonga/html/admin/index.html +0 -1
 - data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
 - data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
 - data/vendor/local/share/man/man1/groonga.1 +1051 -607
 - data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
 - data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
 - metadata +289 -278
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
 - data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>13.3.2. Groonga 通信アーキテクチャ — Groonga v4.0.1 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>13.3.2. Groonga 通信アーキテクチャ — Groonga v4.0.1-127-g9422d50 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     '4.0.1',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1-127-g9422d50',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,8 +25,8 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="13.3.  
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="13.3.1. Repository" href="repository.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
         @@ -60,9 +60,9 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="repository.html" title="13.3.1. Repository"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../development.html" accesskey="U">13.3.  
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -147,9 +147,9 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという 
     | 
|
| 
       147 
147 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       148 
148 
     | 
    
         
             
                      <a href="repository.html" title="13.3.1. Repository"
         
     | 
| 
       149 
149 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       150 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 150 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       151 
151 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       152 
     | 
    
         
            -
                      <li><a href="../development.html" >13.3.  
     | 
| 
      
 152 
     | 
    
         
            +
                      <li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       153 
153 
     | 
    
         
             
                  </ul>
         
     | 
| 
       154 
154 
     | 
    
         
             
                </div>
         
     | 
| 
       155 
155 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>13.3.3. ユーザーと協力して開発をうまく進めていくための指針 — Groonga v4.0.1 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>13.3.3. ユーザーと協力して開発をうまく進めていくための指針 — Groonga v4.0.1-127-g9422d50 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     '4.0.1',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1-127-g9422d50',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,9 +25,9 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="13.3.  
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="13.3.4.  
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="13.3.4. クエリの実現" href="query.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="13.3.2. Groonga 通信アーキテクチャ" href="com.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
         @@ -55,14 +55,14 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href=" 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="query.html" title="13.3.4. クエリの実現"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../development.html" accesskey="U">13.3.  
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -171,8 +171,8 @@ 
     | 
|
| 
       171 
171 
     | 
    
         
             
              <p class="topless"><a href="com.html"
         
     | 
| 
       172 
172 
     | 
    
         
             
                                    title="previous chapter">13.3.2. Groonga 通信アーキテクチャ</a></p>
         
     | 
| 
       173 
173 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       174 
     | 
    
         
            -
              <p class="topless"><a href=" 
     | 
| 
       175 
     | 
    
         
            -
                                    title="next chapter">13.3.4.  
     | 
| 
      
 174 
     | 
    
         
            +
              <p class="topless"><a href="query.html"
         
     | 
| 
      
 175 
     | 
    
         
            +
                                    title="next chapter">13.3.4. クエリの実現</a></p>
         
     | 
| 
       176 
176 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       177 
177 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       178 
178 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -204,14 +204,14 @@ 
     | 
|
| 
       204 
204 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       205 
205 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       206 
206 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       207 
     | 
    
         
            -
                      <a href=" 
     | 
| 
      
 207 
     | 
    
         
            +
                      <a href="query.html" title="13.3.4. クエリの実現"
         
     | 
| 
       208 
208 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       209 
209 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       210 
210 
     | 
    
         
             
                      <a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
         
     | 
| 
       211 
211 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       212 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 212 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       213 
213 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       214 
     | 
    
         
            -
                      <li><a href="../development.html" >13.3.  
     | 
| 
      
 214 
     | 
    
         
            +
                      <li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       215 
215 
     | 
    
         
             
                  </ul>
         
     | 
| 
       216 
216 
     | 
    
         
             
                </div>
         
     | 
| 
       217 
217 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>13.3. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>13.3.4. クエリの実現 — Groonga v4.0.1-127-g9422d50 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     '4.0.1',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1-127-g9422d50',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,10 +25,10 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="13.3.  
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="13.3. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="prev" title="13.3. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="13.3.6. リリース手順" href="release.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
         @@ -55,14 +55,14 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href="release.html" title="13.3. 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="release.html" title="13.3.6. リリース手順"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
     | 
    
         
            -
                      <a href=" 
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../development.html" accesskey="U">13.3.  
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -72,27 +72,27 @@ 
     | 
|
| 
       72 
72 
     | 
    
         
             
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="id1">
         
     | 
| 
       75 
     | 
    
         
            -
            <h1>13.3. 
     | 
| 
      
 75 
     | 
    
         
            +
            <h1>13.3.4. クエリの実現<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <p>Groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をGroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、Groongaは複数の手段を用意しています。</p>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <div class="section" id="id2">
         
     | 
| 
       78 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 78 
     | 
    
         
            +
            <h2>13.3.4.1. クエリ実行のためのインタフェース<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       79 
79 
     | 
    
         
             
            <p>Groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドインタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供しています。</p>
         
     | 
| 
       80 
80 
     | 
    
         
             
            <p>クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する形で用意されています。以下に低レイヤなインタフェースから順に説明します。</p>
         
     | 
| 
       81 
81 
     | 
    
         
             
            <div class="section" id="db-api">
         
     | 
| 
       82 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 82 
     | 
    
         
            +
            <h3>13.3.4.1.1. DB_API<a class="headerlink" href="#db-api" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       83 
83 
     | 
    
         
             
            <p>DB_APIは、Groongaデータベースを操作するための一群のC言語向けAPI関数を提供します。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供します。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができます。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによって実現されています。</p>
         
     | 
| 
       84 
84 
     | 
    
         
             
            </div>
         
     | 
| 
       85 
85 
     | 
    
         
             
            <div class="section" id="grn-expr">
         
     | 
| 
       86 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 86 
     | 
    
         
            +
            <h3>13.3.4.1.2. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       87 
87 
     | 
    
         
             
            <p>grn_exprは、Groongaデータベースに対する検索処理や更新処理のための条件を表現するためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現することができます。grn_exprによって表現されたクエリを実行するためには、grn_table_select()関数を使用します。</p>
         
     | 
| 
       88 
88 
     | 
    
         
             
            </div>
         
     | 
| 
       89 
89 
     | 
    
         
             
            <div class="section" id="groonga">
         
     | 
| 
       90 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 90 
     | 
    
         
            +
            <h3>13.3.4.1.3. Groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       91 
91 
     | 
    
         
             
            <p>Groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマンドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザがC言語で定義した関数を新たなコマンドとしてGroonga実行ファイルに組み込むことができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈してDB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができます。</p>
         
     | 
| 
       92 
92 
     | 
    
         
             
            </div>
         
     | 
| 
       93 
93 
     | 
    
         
             
            </div>
         
     | 
| 
       94 
94 
     | 
    
         
             
            <div class="section" id="id3">
         
     | 
| 
       95 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 95 
     | 
    
         
            +
            <h2>13.3.4.2. grn_exprで表現できるクエリ<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       96 
96 
     | 
    
         
             
            <p>grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算子で結合したものです。</p>
         
     | 
| 
       97 
97 
     | 
    
         
             
            <p>論理演算子は、以下の3種類があります。</p>
         
     | 
| 
       98 
98 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>&& (論理積)
         
     | 
| 
         @@ -116,7 +116,7 @@ suffix() 
     | 
|
| 
       116 
116 
     | 
    
         
             
            </div>
         
     | 
| 
       117 
117 
     | 
    
         
             
            </div>
         
     | 
| 
       118 
118 
     | 
    
         
             
            <div class="section" id="grn-table-select">
         
     | 
| 
       119 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 119 
     | 
    
         
            +
            <h2>13.3.4.3. grn_table_select()<a class="headerlink" href="#grn-table-select" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       120 
120 
     | 
    
         
             
            <p>grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使います。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映するかを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。</p>
         
     | 
| 
       121 
121 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>GRN_OP_OR
         
     | 
| 
       122 
122 
     | 
    
         
             
            GRN_OP_AND
         
     | 
| 
         @@ -128,34 +128,34 @@ GRN_OP_ADJUST 
     | 
|
| 
       128 
128 
     | 
    
         
             
            <p>grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わせて可能な限り高速に指定されたクエリを実行しようとします。</p>
         
     | 
| 
       129 
129 
     | 
    
         
             
            </div>
         
     | 
| 
       130 
130 
     | 
    
         
             
            <div class="section" id="id4">
         
     | 
| 
       131 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 131 
     | 
    
         
            +
            <h2>13.3.4.4. 関係式<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       132 
132 
     | 
    
         
             
            <p>関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係として表現します。いずれの関係式も、その関係が成り立ったときに評価されるcallback、コールバック関数に渡されるargとを引数として指定することができます。callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされます。主な関係式について説明します。</p>
         
     | 
| 
       133 
133 
     | 
    
         
             
            <div class="section" id="equal-v1-v2-arg-callback">
         
     | 
| 
       134 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 134 
     | 
    
         
            +
            <h3>13.3.4.4.1. equal(v1, v2, arg, callback)<a class="headerlink" href="#equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       135 
135 
     | 
    
         
             
            <p>v1の値とv2の値が等しいことを表します。</p>
         
     | 
| 
       136 
136 
     | 
    
         
             
            </div>
         
     | 
| 
       137 
137 
     | 
    
         
             
            <div class="section" id="not-equal-v1-v2-arg-callback">
         
     | 
| 
       138 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 138 
     | 
    
         
            +
            <h3>13.3.4.4.2. not_equal(v1, v2, arg, callback)<a class="headerlink" href="#not-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       139 
139 
     | 
    
         
             
            <p>v1の値とv2の値が等しくないことを表します。</p>
         
     | 
| 
       140 
140 
     | 
    
         
             
            </div>
         
     | 
| 
       141 
141 
     | 
    
         
             
            <div class="section" id="less-v1-v2-arg-callback">
         
     | 
| 
       142 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 142 
     | 
    
         
            +
            <h3>13.3.4.4.3. less(v1, v2, arg, callback)<a class="headerlink" href="#less-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       143 
143 
     | 
    
         
             
            <p>v1の値がv2の値よりも小さいことを表します。</p>
         
     | 
| 
       144 
144 
     | 
    
         
             
            </div>
         
     | 
| 
       145 
145 
     | 
    
         
             
            <div class="section" id="greater-v1-v2-arg-callback">
         
     | 
| 
       146 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 146 
     | 
    
         
            +
            <h3>13.3.4.4.4. greater(v1, v2, arg, callback)<a class="headerlink" href="#greater-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       147 
147 
     | 
    
         
             
            <p>v1の値がv2の値よりも大きいことを表します。</p>
         
     | 
| 
       148 
148 
     | 
    
         
             
            </div>
         
     | 
| 
       149 
149 
     | 
    
         
             
            <div class="section" id="less-equal-v1-v2-arg-callback">
         
     | 
| 
       150 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 150 
     | 
    
         
            +
            <h3>13.3.4.4.5. less_equal(v1, v2, arg, callback)<a class="headerlink" href="#less-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       151 
151 
     | 
    
         
             
            <p>v1の値がv2の値と等しいか小さいことを表します。</p>
         
     | 
| 
       152 
152 
     | 
    
         
             
            </div>
         
     | 
| 
       153 
153 
     | 
    
         
             
            <div class="section" id="greater-equal-v1-v2-arg-callback">
         
     | 
| 
       154 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 154 
     | 
    
         
            +
            <h3>13.3.4.4.6. greater_equal(v1, v2, arg, callback)<a class="headerlink" href="#greater-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       155 
155 
     | 
    
         
             
            <p>v1の値がv2の値と等しいか大きいことを表します。</p>
         
     | 
| 
       156 
156 
     | 
    
         
             
            </div>
         
     | 
| 
       157 
157 
     | 
    
         
             
            <div class="section" id="contain-v1-v2-mode-arg-callback">
         
     | 
| 
       158 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 158 
     | 
    
         
            +
            <h3>13.3.4.4.7. contain(v1, v2, mode, arg, callback)<a class="headerlink" href="#contain-v1-v2-mode-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       159 
159 
     | 
    
         
             
            <p>v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されるとき、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれかを指定することができます。</p>
         
     | 
| 
       160 
160 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致する(デフォルト)
         
     | 
| 
       161 
161 
     | 
    
         
             
            UNSPLIT: v2の値は要素に分解しない
         
     | 
| 
         @@ -166,28 +166,28 @@ PARTIAL: v1の値の要素がv2の値に中間一致する 
     | 
|
| 
       166 
166 
     | 
    
         
             
            </div>
         
     | 
| 
       167 
167 
     | 
    
         
             
            </div>
         
     | 
| 
       168 
168 
     | 
    
         
             
            <div class="section" id="near-v1-v2-arg-callback">
         
     | 
| 
       169 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 169 
     | 
    
         
            +
            <h3>13.3.4.4.8. near(v1, v2, arg, callback)<a class="headerlink" href="#near-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       170 
170 
     | 
    
         
             
            <p>v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配列を渡します)</p>
         
     | 
| 
       171 
171 
     | 
    
         
             
            </div>
         
     | 
| 
       172 
172 
     | 
    
         
             
            <div class="section" id="similar-v1-v2-arg-callback">
         
     | 
| 
       173 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 173 
     | 
    
         
            +
            <h3>13.3.4.4.9. similar(v1, v2, arg, callback)<a class="headerlink" href="#similar-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       174 
174 
     | 
    
         
             
            <p>v1の値とv2の値が類似していることを表します。</p>
         
     | 
| 
       175 
175 
     | 
    
         
             
            </div>
         
     | 
| 
       176 
176 
     | 
    
         
             
            <div class="section" id="prefix-v1-v2-arg-callback">
         
     | 
| 
       177 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 177 
     | 
    
         
            +
            <h3>13.3.4.4.10. prefix(v1, v2, arg, callback)<a class="headerlink" href="#prefix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       178 
178 
     | 
    
         
             
            <p>v1の値がv2の値に対して前方一致することを表します。</p>
         
     | 
| 
       179 
179 
     | 
    
         
             
            </div>
         
     | 
| 
       180 
180 
     | 
    
         
             
            <div class="section" id="suffix-v1-v2-arg-callback">
         
     | 
| 
       181 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 181 
     | 
    
         
            +
            <h3>13.3.4.4.11. suffix(v1, v2, arg, callback)<a class="headerlink" href="#suffix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       182 
182 
     | 
    
         
             
            <p>v1の値がv2の値に対して後方一致することを表します。</p>
         
     | 
| 
       183 
183 
     | 
    
         
             
            </div>
         
     | 
| 
       184 
184 
     | 
    
         
             
            </div>
         
     | 
| 
       185 
185 
     | 
    
         
             
            </div>
         
     | 
| 
       186 
186 
     | 
    
         
             
            <div class="section" id="id5">
         
     | 
| 
       187 
     | 
    
         
            -
            <h1>13.3. 
     | 
| 
      
 187 
     | 
    
         
            +
            <h1>13.3.5. クエリの実例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       188 
188 
     | 
    
         
             
            <p>grn_exprを使って様々な検索クエリを表現することができます。</p>
         
     | 
| 
       189 
189 
     | 
    
         
             
            <div class="section" id="id6">
         
     | 
| 
       190 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 190 
     | 
    
         
            +
            <h2>13.3.5.1. 検索例1<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       191 
191 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
         
     | 
| 
       192 
192 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
         
     | 
| 
       193 
193 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1);
         
     | 
| 
         @@ -199,7 +199,7 @@ result = grn_table_select(ctx, table, query, NULL, GRN_OP_OR); 
     | 
|
| 
       199 
199 
     | 
    
         
             
            <p>tableのcolumnの値がstringを含むレコードをresultに返します。columnの値が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1のみがヒットします。</p>
         
     | 
| 
       200 
200 
     | 
    
         
             
            </div>
         
     | 
| 
       201 
201 
     | 
    
         
             
            <div class="section" id="id7">
         
     | 
| 
       202 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 202 
     | 
    
         
            +
            <h2>13.3.5.2. 検索例2<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       203 
203 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
         
     | 
| 
       204 
204 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
         
     | 
| 
       205 
205 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
         
     | 
| 
         @@ -223,7 +223,7 @@ grn_obj_close(ctx, query); 
     | 
|
| 
       223 
223 
     | 
    
         
             
            <p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。次に、resultにセットされたレコードのうち、column2の値がstringにexactモードでヒットするレコードについては、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。</p>
         
     | 
| 
       224 
224 
     | 
    
         
             
            </div>
         
     | 
| 
       225 
225 
     | 
    
         
             
            <div class="section" id="id8">
         
     | 
| 
       226 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 226 
     | 
    
         
            +
            <h2>13.3.5.3. 検索例3<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       227 
227 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
         
     | 
| 
       228 
228 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
         
     | 
| 
       229 
229 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
         
     | 
| 
         @@ -249,7 +249,7 @@ if (grn_table_size(ctx, result) < t1) { 
     | 
|
| 
       249 
249 
     | 
    
         
             
            <p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコア値にscore2を積算してresultに追加します。</p>
         
     | 
| 
       250 
250 
     | 
    
         
             
            </div>
         
     | 
| 
       251 
251 
     | 
    
         
             
            <div class="section" id="id9">
         
     | 
| 
       252 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 252 
     | 
    
         
            +
            <h2>13.3.5.4. 検索例4<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       253 
253 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
         
     | 
| 
       254 
254 
     | 
    
         
             
            grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
         
     | 
| 
       255 
255 
     | 
    
         
             
            grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1);
         
     | 
| 
         @@ -271,46 +271,46 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で 
     | 
|
| 
       271 
271 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       272 
272 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       273 
273 
     | 
    
         
             
              <ul>
         
     | 
| 
       274 
     | 
    
         
            -
            <li><a class="reference internal" href="#">13.3. 
     | 
| 
       275 
     | 
    
         
            -
            <li><a class="reference internal" href="#id2">13.3. 
     | 
| 
       276 
     | 
    
         
            -
            <li><a class="reference internal" href="#db-api">13.3. 
     | 
| 
       277 
     | 
    
         
            -
            <li><a class="reference internal" href="#grn-expr">13.3. 
     | 
| 
       278 
     | 
    
         
            -
            <li><a class="reference internal" href="#groonga">13.3. 
     | 
| 
      
 274 
     | 
    
         
            +
            <li><a class="reference internal" href="#">13.3.4. クエリの実現</a><ul>
         
     | 
| 
      
 275 
     | 
    
         
            +
            <li><a class="reference internal" href="#id2">13.3.4.1. クエリ実行のためのインタフェース</a><ul>
         
     | 
| 
      
 276 
     | 
    
         
            +
            <li><a class="reference internal" href="#db-api">13.3.4.1.1. DB_API</a></li>
         
     | 
| 
      
 277 
     | 
    
         
            +
            <li><a class="reference internal" href="#grn-expr">13.3.4.1.2. grn_expr</a></li>
         
     | 
| 
      
 278 
     | 
    
         
            +
            <li><a class="reference internal" href="#groonga">13.3.4.1.3. Groonga実行ファイル</a></li>
         
     | 
| 
       279 
279 
     | 
    
         
             
            </ul>
         
     | 
| 
       280 
280 
     | 
    
         
             
            </li>
         
     | 
| 
       281 
     | 
    
         
            -
            <li><a class="reference internal" href="#id3">13.3. 
     | 
| 
       282 
     | 
    
         
            -
            <li><a class="reference internal" href="#grn-table-select">13.3. 
     | 
| 
       283 
     | 
    
         
            -
            <li><a class="reference internal" href="#id4">13.3. 
     | 
| 
       284 
     | 
    
         
            -
            <li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3. 
     | 
| 
       285 
     | 
    
         
            -
            <li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.3. 
     | 
| 
       286 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3. 
     | 
| 
       287 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3. 
     | 
| 
       288 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.3. 
     | 
| 
       289 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.3. 
     | 
| 
       290 
     | 
    
         
            -
            <li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.3. 
     | 
| 
       291 
     | 
    
         
            -
            <li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3. 
     | 
| 
       292 
     | 
    
         
            -
            <li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3. 
     | 
| 
       293 
     | 
    
         
            -
            <li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3. 
     | 
| 
       294 
     | 
    
         
            -
            <li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3. 
     | 
| 
      
 281 
     | 
    
         
            +
            <li><a class="reference internal" href="#id3">13.3.4.2. grn_exprで表現できるクエリ</a></li>
         
     | 
| 
      
 282 
     | 
    
         
            +
            <li><a class="reference internal" href="#grn-table-select">13.3.4.3. grn_table_select()</a></li>
         
     | 
| 
      
 283 
     | 
    
         
            +
            <li><a class="reference internal" href="#id4">13.3.4.4. 関係式</a><ul>
         
     | 
| 
      
 284 
     | 
    
         
            +
            <li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3.4.4.1. equal(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 285 
     | 
    
         
            +
            <li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.3.4.4.2. not_equal(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 286 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3.4.4.3. less(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 287 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3.4.4.4. greater(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 288 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.3.4.4.5. less_equal(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 289 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.3.4.4.6. greater_equal(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 290 
     | 
    
         
            +
            <li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.3.4.4.7. contain(v1, v2, mode, arg, callback)</a></li>
         
     | 
| 
      
 291 
     | 
    
         
            +
            <li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3.4.4.8. near(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 292 
     | 
    
         
            +
            <li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3.4.4.9. similar(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 293 
     | 
    
         
            +
            <li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3.4.4.10. prefix(v1, v2, arg, callback)</a></li>
         
     | 
| 
      
 294 
     | 
    
         
            +
            <li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3.4.4.11. suffix(v1, v2, arg, callback)</a></li>
         
     | 
| 
       295 
295 
     | 
    
         
             
            </ul>
         
     | 
| 
       296 
296 
     | 
    
         
             
            </li>
         
     | 
| 
       297 
297 
     | 
    
         
             
            </ul>
         
     | 
| 
       298 
298 
     | 
    
         
             
            </li>
         
     | 
| 
       299 
     | 
    
         
            -
            <li><a class="reference internal" href="#id5">13.3. 
     | 
| 
       300 
     | 
    
         
            -
            <li><a class="reference internal" href="#id6">13.3. 
     | 
| 
       301 
     | 
    
         
            -
            <li><a class="reference internal" href="#id7">13.3. 
     | 
| 
       302 
     | 
    
         
            -
            <li><a class="reference internal" href="#id8">13.3. 
     | 
| 
       303 
     | 
    
         
            -
            <li><a class="reference internal" href="#id9">13.3. 
     | 
| 
      
 299 
     | 
    
         
            +
            <li><a class="reference internal" href="#id5">13.3.5. クエリの実例</a><ul>
         
     | 
| 
      
 300 
     | 
    
         
            +
            <li><a class="reference internal" href="#id6">13.3.5.1. 検索例1</a></li>
         
     | 
| 
      
 301 
     | 
    
         
            +
            <li><a class="reference internal" href="#id7">13.3.5.2. 検索例2</a></li>
         
     | 
| 
      
 302 
     | 
    
         
            +
            <li><a class="reference internal" href="#id8">13.3.5.3. 検索例3</a></li>
         
     | 
| 
      
 303 
     | 
    
         
            +
            <li><a class="reference internal" href="#id9">13.3.5.4. 検索例4</a></li>
         
     | 
| 
       304 
304 
     | 
    
         
             
            </ul>
         
     | 
| 
       305 
305 
     | 
    
         
             
            </li>
         
     | 
| 
       306 
306 
     | 
    
         
             
            </ul>
         
     | 
| 
       307 
307 
     | 
    
         | 
| 
       308 
308 
     | 
    
         
             
              <h4>Previous topic</h4>
         
     | 
| 
       309 
     | 
    
         
            -
              <p class="topless"><a href=" 
     | 
| 
       310 
     | 
    
         
            -
                                    title="previous chapter">13.3. 
     | 
| 
      
 309 
     | 
    
         
            +
              <p class="topless"><a href="cooperation.html"
         
     | 
| 
      
 310 
     | 
    
         
            +
                                    title="previous chapter">13.3.3. ユーザーと協力して開発をうまく進めていくための指針</a></p>
         
     | 
| 
       311 
311 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       312 
312 
     | 
    
         
             
              <p class="topless"><a href="release.html"
         
     | 
| 
       313 
     | 
    
         
            -
                                    title="next chapter">13.3. 
     | 
| 
      
 313 
     | 
    
         
            +
                                    title="next chapter">13.3.6. リリース手順</a></p>
         
     | 
| 
       314 
314 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       315 
315 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       316 
316 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -342,14 +342,14 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で 
     | 
|
| 
       342 
342 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       343 
343 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       344 
344 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       345 
     | 
    
         
            -
                      <a href="release.html" title="13.3. 
     | 
| 
      
 345 
     | 
    
         
            +
                      <a href="release.html" title="13.3.6. リリース手順"
         
     | 
| 
       346 
346 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       347 
347 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       348 
     | 
    
         
            -
                      <a href=" 
     | 
| 
      
 348 
     | 
    
         
            +
                      <a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
         
     | 
| 
       349 
349 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       350 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 350 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       351 
351 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       352 
     | 
    
         
            -
                      <li><a href="../development.html" >13.3.  
     | 
| 
      
 352 
     | 
    
         
            +
                      <li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       353 
353 
     | 
    
         
             
                  </ul>
         
     | 
| 
       354 
354 
     | 
    
         
             
                </div>
         
     | 
| 
       355 
355 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>13.3. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>13.3.6. リリース手順 — Groonga v4.0.1-127-g9422d50 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     '4.0.1',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1-127-g9422d50',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,10 +25,10 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="13.3.  
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="13.3. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="prev" title="13.3. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="13.3.7. テスト方法" href="test.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="13.3.4. クエリの実現" href="query.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
         @@ -55,14 +55,14 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href="test.html" title="13.3. 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="test.html" title="13.3.7. テスト方法"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
     | 
    
         
            -
                      <a href="query.html" title="13.3. 
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="query.html" title="13.3.4. クエリの実現"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../development.html" accesskey="U">13.3.  
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -72,9 +72,9 @@ 
     | 
|
| 
       72 
72 
     | 
    
         
             
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="id1">
         
     | 
| 
       75 
     | 
    
         
            -
            <h1>13.3. 
     | 
| 
      
 75 
     | 
    
         
            +
            <h1>13.3.6. リリース手順<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <div class="section" id="id2">
         
     | 
| 
       77 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 77 
     | 
    
         
            +
            <h2>13.3.6.1. 前提条件<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       78 
78 
     | 
    
         
             
            <p>リリース手順の前提条件は以下の通りです。</p>
         
     | 
| 
       79 
79 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       80 
80 
     | 
    
         
             
            <li>ビルド環境は Ubuntu 12.04 LTS(Precise Pangolin)</li>
         
     | 
| 
         @@ -90,7 +90,7 @@ 
     | 
|
| 
       90 
90 
     | 
    
         
             
            </ul>
         
     | 
| 
       91 
91 
     | 
    
         
             
            </div>
         
     | 
| 
       92 
92 
     | 
    
         
             
            <div class="section" id="id3">
         
     | 
| 
       93 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 93 
     | 
    
         
            +
            <h2>13.3.6.2. ビルド環境の準備<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       94 
94 
     | 
    
         
             
            <p>以下にGroongaのリリース作業を行うために事前にインストール
         
     | 
| 
       95 
95 
     | 
    
         
             
            しておくべきパッケージを示します。</p>
         
     | 
| 
       96 
96 
     | 
    
         
             
            <p>なお、ビルド環境としては Ubuntu 12.04 LTS(Precise Pangolin)を前提として説明しているため、その他の環境では適宜読み替えて下さい。:</p>
         
     | 
| 
         @@ -109,7 +109,7 @@ mercurial python-docutils python-jinja2 ruby1.9.1-full mingw-w64 g++-mingw-w64 m 
     | 
|
| 
       109 
109 
     | 
    
         
             
            </div>
         
     | 
| 
       110 
110 
     | 
    
         
             
            </div>
         
     | 
| 
       111 
111 
     | 
    
         
             
            <div class="section" id="id4">
         
     | 
| 
       112 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 112 
     | 
    
         
            +
            <h2>13.3.6.3. パッケージ署名用秘密鍵のインポート<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       113 
113 
     | 
    
         
             
            <p>リリース作業ではRPMパッケージに対する署名を行います。
         
     | 
| 
       114 
114 
     | 
    
         
             
            その際、パッケージ署名用の鍵が必要です。</p>
         
     | 
| 
       115 
115 
     | 
    
         
             
            <p>Groongaプロジェクトでは署名用の鍵をリリース担当者の公開鍵で暗号化してリポジトリのpackages/ディレクトリ以下へと登録しています。</p>
         
     | 
| 
         @@ -139,7 +139,7 @@ gpg> quit 
     | 
|
| 
       139 
139 
     | 
    
         
             
            <p>この作業は、新規にリリースを行うことになった担当者やパッケージに署名する鍵に変更があった場合などに行います。</p>
         
     | 
| 
       140 
140 
     | 
    
         
             
            </div>
         
     | 
| 
       141 
141 
     | 
    
         
             
            <div class="section" id="id5">
         
     | 
| 
       142 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 142 
     | 
    
         
            +
            <h2>13.3.6.4. リリース作業用ディレクトリの作成<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       143 
143 
     | 
    
         
             
            <p>Groongaのリリース作業ではリリース専用の環境下(コンパイルフラグ)でビルドする必要があります。</p>
         
     | 
| 
       144 
144 
     | 
    
         
             
            <p>リリース時と開発時でディレクトリを分けずに作業することもできますが、誤ったコンパイルフラグでリリースしてしまう危険があります。</p>
         
     | 
| 
       145 
145 
     | 
    
         
             
            <p>そのため、以降の説明では$GROONGA_DIR以下のディレクトリにリリース用の作業ディレクトリ(groonga.clean)としてソースコードをcloneしたものとして説明します。</p>
         
     | 
| 
         @@ -150,7 +150,7 @@ gpg> quit 
     | 
|
| 
       150 
150 
     | 
    
         
             
            <p>この作業はリリース作業ごとに行います。</p>
         
     | 
| 
       151 
151 
     | 
    
         
             
            </div>
         
     | 
| 
       152 
152 
     | 
    
         
             
            <div class="section" id="id6">
         
     | 
| 
       153 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 153 
     | 
    
         
            +
            <h2>13.3.6.5. 変更点のまとめ<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       154 
154 
     | 
    
         
             
            <p>前回リリース時からの変更点を$GROONGA_CLONE_DIR/doc/source/news.txtにまとめます。
         
     | 
| 
       155 
155 
     | 
    
         
             
            ここでまとめた内容についてはリリースアナウンスにも使用します。</p>
         
     | 
| 
       156 
156 
     | 
    
         
             
            <p>前回リリースからの変更履歴を参照するには以下のコマンドを実行します。:</p>
         
     | 
| 
         @@ -169,7 +169,7 @@ gpg> quit 
     | 
|
| 
       169 
169 
     | 
    
         
             
            </ul>
         
     | 
| 
       170 
170 
     | 
    
         
             
            </div>
         
     | 
| 
       171 
171 
     | 
    
         
             
            <div class="section" id="groonga">
         
     | 
| 
       172 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 172 
     | 
    
         
            +
            <h2>13.3.6.6. Groongaのウェブサイトの取得<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       173 
173 
     | 
    
         
             
            <p>GroongaのウェブサイトのソースはGroonga同様にgithubにリポジトリを置いています。</p>
         
     | 
| 
       174 
174 
     | 
    
         
             
            <p>リリース作業では後述するコマンド(make update-latest-release)にてトップページのバージョンを置き換えることができるようになっています。</p>
         
     | 
| 
       175 
175 
     | 
    
         
             
            <p>Groongaのウェブサイトのソースコードを$GROONGA_GITHUB_COM_PATHとして取得するためには、$GROONGA_DIRにて以下のコマンドを実行します。:</p>
         
     | 
| 
         @@ -179,7 +179,7 @@ gpg> quit 
     | 
|
| 
       179 
179 
     | 
    
         
             
            <p>これで、$GROONGA_GITHUB_COM_PATHにgroonga.github.comのソースを取得できます。</p>
         
     | 
| 
       180 
180 
     | 
    
         
             
            </div>
         
     | 
| 
       181 
181 
     | 
    
         
             
            <div class="section" id="cutter">
         
     | 
| 
       182 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 182 
     | 
    
         
            +
            <h2>13.3.6.7. cutterのソースコード取得<a class="headerlink" href="#cutter" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       183 
183 
     | 
    
         
             
            <p>Groongaのリリース作業では、cutterに含まれるスクリプトを使用しています。</p>
         
     | 
| 
       184 
184 
     | 
    
         
             
            <p>そこであらかじめ用意しておいた$HOME/work/cutterディレクトリにてcutterのソースコードを以下のコマンドにて取得します。:</p>
         
     | 
| 
       185 
185 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% git clone git@github.com:clear-code/cutter.git
         
     | 
| 
         @@ -188,7 +188,7 @@ gpg> quit 
     | 
|
| 
       188 
188 
     | 
    
         
             
            <p>これで、$CUTTER_SOURCE_PATHディレクトリにcutterのソースを取得できます。</p>
         
     | 
| 
       189 
189 
     | 
    
         
             
            </div>
         
     | 
| 
       190 
190 
     | 
    
         
             
            <div class="section" id="configure">
         
     | 
| 
       191 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 191 
     | 
    
         
            +
            <h2>13.3.6.8. configureスクリプトの生成<a class="headerlink" href="#configure" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       192 
192 
     | 
    
         
             
            <p>Groongaのソースコードをcloneした時点ではconfigureスクリプトが含まれておらず、そのままmakeコマンドにてビルドすることができません。</p>
         
     | 
| 
       193 
193 
     | 
    
         
             
            <p>$GROONGA_CLONE_DIRにてautogen.shを以下のように実行します。:</p>
         
     | 
| 
       194 
194 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% sh autogen.sh
         
     | 
| 
         @@ -197,7 +197,7 @@ gpg> quit 
     | 
|
| 
       197 
197 
     | 
    
         
             
            <p>このコマンドの実行により、configureスクリプトが生成されます。</p>
         
     | 
| 
       198 
198 
     | 
    
         
             
            </div>
         
     | 
| 
       199 
199 
     | 
    
         
             
            <div class="section" id="id7">
         
     | 
| 
       200 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 200 
     | 
    
         
            +
            <h2>13.3.6.9. configureスクリプトの実行<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       201 
201 
     | 
    
         
             
            <p>Makefileを生成するためにconfigureスクリプトを実行します。</p>
         
     | 
| 
       202 
202 
     | 
    
         
             
            <p>リリース用にビルドするためには以下のオプションを指定してconfigureを実行します。:</p>
         
     | 
| 
       203 
203 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% ./configure CFLAGS="-O0 -ggdb3" CXXFLAGS="-O0 -ggdb3" --prefix=/tmp/local --with-rsync-path="packages@packages.groonga.org:public" --with-groonga-github-com-path=$HOME/work/groonga/groonga.github.com --enable-document --with-ruby19 --with-cutter-source-path=$HOME/work/cutter/cutter
         
     | 
| 
         @@ -216,7 +216,7 @@ gpg> quit 
     | 
|
| 
       216 
216 
     | 
    
         
             
            </div>
         
     | 
| 
       217 
217 
     | 
    
         
             
            </div>
         
     | 
| 
       218 
218 
     | 
    
         
             
            <div class="section" id="make-update-latest-release">
         
     | 
| 
       219 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 219 
     | 
    
         
            +
            <h2>13.3.6.10. make update-latest-releaseの実行<a class="headerlink" href="#make-update-latest-release" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       220 
220 
     | 
    
         
             
            <p>make update-latest-releaseコマンドでは、OLD_RELEASE_DATEに前回のリリースの日付を、NEW_RELEASE_DATEに次回リリースの日付を指定します。</p>
         
     | 
| 
       221 
221 
     | 
    
         
             
            <p>2.0.2のリリースを行った際は以下のコマンドを実行しました。::</p>
         
     | 
| 
       222 
222 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-latest-release OLD_RELEASE=2.0.1 OLD_RELEASE_DATE=2012-03-29 NEW_RELEASE_DATE=2012-04-29
         
     | 
| 
         @@ -225,7 +225,7 @@ gpg> quit 
     | 
|
| 
       225 
225 
     | 
    
         
             
            <p>これにより、clone済みのGroongaのWebサイトのトップページのソース(index.html,ja/index.html)やRPMパッケージのspecファイルのバージョン表記などが更新されます。</p>
         
     | 
| 
       226 
226 
     | 
    
         
             
            </div>
         
     | 
| 
       227 
227 
     | 
    
         
             
            <div class="section" id="make-update-files">
         
     | 
| 
       228 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 228 
     | 
    
         
            +
            <h2>13.3.6.11. make update-filesの実行<a class="headerlink" href="#make-update-files" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       229 
229 
     | 
    
         
             
            <p>ロケールメッセージの更新や変更されたファイルのリスト等を更新するために以下のコマンドを実行します。:</p>
         
     | 
| 
       230 
230 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-files
         
     | 
| 
       231 
231 
     | 
    
         
             
            </pre></div>
         
     | 
| 
         @@ -234,7 +234,7 @@ gpg> quit 
     | 
|
| 
       234 
234 
     | 
    
         
             
            <p>リリースに必要なファイルですので漏れなくコミットします。</p>
         
     | 
| 
       235 
235 
     | 
    
         
             
            </div>
         
     | 
| 
       236 
236 
     | 
    
         
             
            <div class="section" id="make-update-po">
         
     | 
| 
       237 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 237 
     | 
    
         
            +
            <h2>13.3.6.12. make update-poの実行<a class="headerlink" href="#make-update-po" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       238 
238 
     | 
    
         
             
            <p>ドキュメントの最新版と各国語版の内容を同期するために、poファイルの更新を以下のコマンドにて実行します。:</p>
         
     | 
| 
       239 
239 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-po
         
     | 
| 
       240 
240 
     | 
    
         
             
            </pre></div>
         
     | 
| 
         @@ -242,7 +242,7 @@ gpg> quit 
     | 
|
| 
       242 
242 
     | 
    
         
             
            <p>make update-poを実行すると、doc/locale/ja/LC_MESSAGES以下の各種.poファイルが更新されます。</p>
         
     | 
| 
       243 
243 
     | 
    
         
             
            </div>
         
     | 
| 
       244 
244 
     | 
    
         
             
            <div class="section" id="po">
         
     | 
| 
       245 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 245 
     | 
    
         
            +
            <h2>13.3.6.13. poファイルの翻訳<a class="headerlink" href="#po" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       246 
246 
     | 
    
         
             
            <p>make update-poコマンドの実行により更新した各種.poファイルを翻訳します。</p>
         
     | 
| 
       247 
247 
     | 
    
         
             
            <p>翻訳結果をHTMLで確認するために、以下のコマンドを実行します。:</p>
         
     | 
| 
       248 
248 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make -C doc/locale/ja html
         
     | 
| 
         @@ -252,14 +252,14 @@ gpg> quit 
     | 
|
| 
       252 
252 
     | 
    
         
             
            <p>確認が完了したら、翻訳済みpoファイルをコミットします。</p>
         
     | 
| 
       253 
253 
     | 
    
         
             
            </div>
         
     | 
| 
       254 
254 
     | 
    
         
             
            <div class="section" id="id8">
         
     | 
| 
       255 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 255 
     | 
    
         
            +
            <h2>13.3.6.14. リリースタグの設定<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       256 
256 
     | 
    
         
             
            <p>リリース用のタグを打つには以下のコマンドを実行します。:</p>
         
     | 
| 
       257 
257 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make tag
         
     | 
| 
       258 
258 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       259 
259 
     | 
    
         
             
            </div>
         
     | 
| 
       260 
260 
     | 
    
         
             
            </div>
         
     | 
| 
       261 
261 
     | 
    
         
             
            <div class="section" id="id9">
         
     | 
| 
       262 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 262 
     | 
    
         
            +
            <h2>13.3.6.15. リリース用アーカイブファイルの作成<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       263 
263 
     | 
    
         
             
            <p>リリース用のソースアーカイブファイルを作成するために以下のコマンドを$GROONGA_CLONE_DIRにて実行します。:</p>
         
     | 
| 
       264 
264 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make dist
         
     | 
| 
       265 
265 
     | 
    
         
             
            </pre></div>
         
     | 
| 
         @@ -273,7 +273,7 @@ make distで生成したtar.gzのversionおよびversion.shがタグと一致す 
     | 
|
| 
       273 
273 
     | 
    
         
             
            </div>
         
     | 
| 
       274 
274 
     | 
    
         
             
            </div>
         
     | 
| 
       275 
275 
     | 
    
         
             
            <div class="section" id="id10">
         
     | 
| 
       276 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 276 
     | 
    
         
            +
            <h2>13.3.6.16. パッケージのビルド<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       277 
277 
     | 
    
         
             
            <p>リリース用のアーカイブファイルができたので、パッケージ化する作業を行います。</p>
         
     | 
| 
       278 
278 
     | 
    
         
             
            <p>パッケージ化作業は以下の3種類を対象に行います。</p>
         
     | 
| 
       279 
279 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
         @@ -283,7 +283,7 @@ make distで生成したtar.gzのversionおよびversion.shがタグと一致す 
     | 
|
| 
       283 
283 
     | 
    
         
             
            </ul>
         
     | 
| 
       284 
284 
     | 
    
         
             
            <p>パッケージのビルドではいくつかのサブタスクから構成されています。</p>
         
     | 
| 
       285 
285 
     | 
    
         
             
            <div class="section" id="id11">
         
     | 
| 
       286 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 286 
     | 
    
         
            +
            <h3>13.3.6.16.1. ビルド用パッケージのダウンロード<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       287 
287 
     | 
    
         
             
            <p>debパッケージのビルドに必要なパッケージをダウンロードするには以下のコマンドを実行します。:</p>
         
     | 
| 
       288 
288 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% cd packages/apt
         
     | 
| 
       289 
289 
     | 
    
         
             
            % make download
         
     | 
| 
         @@ -312,7 +312,7 @@ packages/source/filesディレクトリ以下へとダウンロードされま 
     | 
|
| 
       312 
312 
     | 
    
         
             
            </div>
         
     | 
| 
       313 
313 
     | 
    
         
             
            </div>
         
     | 
| 
       314 
314 
     | 
    
         
             
            <div class="section" id="debian">
         
     | 
| 
       315 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 315 
     | 
    
         
            +
            <h2>13.3.6.17. Debian系パッケージのビルド<a class="headerlink" href="#debian" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       316 
316 
     | 
    
         
             
            <p>Groongaのpackages/aptサブディレクトリに移動して、以下のコマンドを実行します。:</p>
         
     | 
| 
       317 
317 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% cd packages/apt
         
     | 
| 
       318 
318 
     | 
    
         
             
            % make build PALALLEL=yes
         
     | 
| 
         @@ -347,7 +347,7 @@ packages/source/filesディレクトリ以下へとダウンロードされま 
     | 
|
| 
       347 
347 
     | 
    
         
             
            </div>
         
     | 
| 
       348 
348 
     | 
    
         
             
            </div>
         
     | 
| 
       349 
349 
     | 
    
         
             
            <div class="section" id="red-hat">
         
     | 
| 
       350 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 350 
     | 
    
         
            +
            <h2>13.3.6.18. Red Hat系パッケージのビルド<a class="headerlink" href="#red-hat" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       351 
351 
     | 
    
         
             
            <p>Groongaのpackages/yumサブディレクトリに移動して、以下のコマンドを実行します。:</p>
         
     | 
| 
       352 
352 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% cd packages/yum
         
     | 
| 
       353 
353 
     | 
    
         
             
            % make build PALALLES=yes
         
     | 
| 
         @@ -379,7 +379,7 @@ packages/source/filesディレクトリ以下へとダウンロードされま 
     | 
|
| 
       379 
379 
     | 
    
         
             
            </div>
         
     | 
| 
       380 
380 
     | 
    
         
             
            </div>
         
     | 
| 
       381 
381 
     | 
    
         
             
            <div class="section" id="windows">
         
     | 
| 
       382 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 382 
     | 
    
         
            +
            <h2>13.3.6.19. Windows用パッケージのビルド<a class="headerlink" href="#windows" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       383 
383 
     | 
    
         
             
            <p>packages/windowsサブディレクトリに移動して、以下のコマンドを実行します。:</p>
         
     | 
| 
       384 
384 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% cd packages/windows
         
     | 
| 
       385 
385 
     | 
    
         
             
            % make build
         
     | 
| 
         @@ -394,7 +394,7 @@ packages/source/filesディレクトリ以下へとダウンロードされま 
     | 
|
| 
       394 
394 
     | 
    
         
             
            <p>make installerが正常に終了するとWindowsインストーラをfilesディレクトリ以下に作成します。</p>
         
     | 
| 
       395 
395 
     | 
    
         
             
            </div>
         
     | 
| 
       396 
396 
     | 
    
         
             
            <div class="section" id="id12">
         
     | 
| 
       397 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 397 
     | 
    
         
            +
            <h2>13.3.6.20. パッケージの動作確認<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       398 
398 
     | 
    
         
             
            <p>ビルドしたパッケージに対しリリース前の動作確認を行います。</p>
         
     | 
| 
       399 
399 
     | 
    
         
             
            <p>Debian系もしくはRed Hat系の場合には本番環境へとアップロードする前にローカルのaptないしyumのリポジトリを参照して正常に更新できることを確認します。</p>
         
     | 
| 
       400 
400 
     | 
    
         
             
            <p>ここでは以下のようにrubyを利用してリポジトリをwebサーバ経由で参照できるようにします。:</p>
         
     | 
| 
         @@ -403,7 +403,7 @@ packages/source/filesディレクトリ以下へとダウンロードされま 
     | 
|
| 
       403 
403 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       404 
404 
     | 
    
         
             
            </div>
         
     | 
| 
       405 
405 
     | 
    
         
             
            <div class="section" id="grntest">
         
     | 
| 
       406 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 406 
     | 
    
         
            +
            <h3>13.3.6.20.1. grntestの準備<a class="headerlink" href="#grntest" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       407 
407 
     | 
    
         
             
            <p>grntestを実行するためにはGroongaのテストデータとgrntestのソースが必要です。</p>
         
     | 
| 
       408 
408 
     | 
    
         
             
            <p>まずGroongaのソースを任意のディレクトリへと展開します。:</p>
         
     | 
| 
       409 
409 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% tar zxvf groonga-(バージョン).tar.gz
         
     | 
| 
         @@ -417,7 +417,7 @@ README.md  binlib  license  test 
     | 
|
| 
       417 
417 
     | 
    
         
             
            </div>
         
     | 
| 
       418 
418 
     | 
    
         
             
            </div>
         
     | 
| 
       419 
419 
     | 
    
         
             
            <div class="section" id="id13">
         
     | 
| 
       420 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 420 
     | 
    
         
            +
            <h3>13.3.6.20.2. grntestの実行方法<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       421 
421 
     | 
    
         
             
            <p>grntestではGroongaコマンドを明示的にしていすることができます。
         
     | 
| 
       422 
422 
     | 
    
         
             
            後述のパッケージごとのgrntestによる動作確認では以下のようにして実行します。:</p>
         
     | 
| 
       423 
423 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% GROONGA=(groongaのパス指定) test/function/run-test.sh
         
     | 
| 
         @@ -431,7 +431,7 @@ README.md  binlib  license  test 
     | 
|
| 
       431 
431 
     | 
    
         
             
            <p>grntestでエラーが発生しないことを確認します。</p>
         
     | 
| 
       432 
432 
     | 
    
         
             
            </div>
         
     | 
| 
       433 
433 
     | 
    
         
             
            <div class="section" id="id14">
         
     | 
| 
       434 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 434 
     | 
    
         
            +
            <h3>13.3.6.20.3. Debian系の場合<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       435 
435 
     | 
    
         
             
            <p>Debian系の場合の動作確認手順は以下の通りとなります。</p>
         
     | 
| 
       436 
436 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       437 
437 
     | 
    
         
             
            <li>旧バージョンをchroot環境へとインストールする</li>
         
     | 
| 
         @@ -446,7 +446,7 @@ README.md  binlib  license  test 
     | 
|
| 
       446 
446 
     | 
    
         
             
            </ul>
         
     | 
| 
       447 
447 
     | 
    
         
             
            </div>
         
     | 
| 
       448 
448 
     | 
    
         
             
            <div class="section" id="id15">
         
     | 
| 
       449 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 449 
     | 
    
         
            +
            <h3>13.3.6.20.4. Red Hat系の場合<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       450 
450 
     | 
    
         
             
            <p>Red Hat系の場合の動作確認手順は以下の通りとなります。</p>
         
     | 
| 
       451 
451 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       452 
452 
     | 
    
         
             
            <li>旧バージョンをchroot環境へとインストール</li>
         
     | 
| 
         @@ -458,7 +458,7 @@ README.md  binlib  license  test 
     | 
|
| 
       458 
458 
     | 
    
         
             
            </ul>
         
     | 
| 
       459 
459 
     | 
    
         
             
            </div>
         
     | 
| 
       460 
460 
     | 
    
         
             
            <div class="section" id="id16">
         
     | 
| 
       461 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 461 
     | 
    
         
            +
            <h3>13.3.6.20.5. Windows向けの場合<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       462 
462 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       463 
463 
     | 
    
         
             
            <li>新規インストール/上書きインストールを行う</li>
         
     | 
| 
       464 
464 
     | 
    
         
             
            <li>grntestのアーカイブを展開してインストールしたバージョンでテストを実行する</li>
         
     | 
| 
         @@ -468,7 +468,7 @@ README.md  binlib  license  test 
     | 
|
| 
       468 
468 
     | 
    
         
             
            </div>
         
     | 
| 
       469 
469 
     | 
    
         
             
            </div>
         
     | 
| 
       470 
470 
     | 
    
         
             
            <div class="section" id="id17">
         
     | 
| 
       471 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 471 
     | 
    
         
            +
            <h2>13.3.6.21. リリースアナウンスの作成<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       472 
472 
     | 
    
         
             
            <p>リリースの際にはリリースアナウンスを流して、Groongaを広く通知します。</p>
         
     | 
| 
       473 
473 
     | 
    
         
             
            <p>news.txtに変更点をまとめましたが、それを元にリリースアナウンスを作成します。</p>
         
     | 
| 
       474 
474 
     | 
    
         
             
            <p>リリースアナウンスには以下を含めます。</p>
         
     | 
| 
         @@ -499,7 +499,7 @@ README.md  binlib  license  test 
     | 
|
| 
       499 
499 
     | 
    
         
             
            </ul>
         
     | 
| 
       500 
500 
     | 
    
         
             
            </div>
         
     | 
| 
       501 
501 
     | 
    
         
             
            <div class="section" id="id18">
         
     | 
| 
       502 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 502 
     | 
    
         
            +
            <h2>13.3.6.22. パッケージのアップロード<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       503 
503 
     | 
    
         
             
            <p>動作確認が完了し、Debian系、Red Hat系、Windows向け、ソースコードそれぞれにおいてパッケージやアーカイブのアップロードを行います。</p>
         
     | 
| 
       504 
504 
     | 
    
         
             
            <p>Debian系のパッケージのアップロードには以下のコマンドを実行します。:</p>
         
     | 
| 
       505 
505 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% cd packages/apt
         
     | 
| 
         @@ -524,7 +524,7 @@ README.md  binlib  license  test 
     | 
|
| 
       524 
524 
     | 
    
         
             
            <p>アップロードが正常終了すると、リリース対象のリポジトリデータやパッケージ、アーカイブ等がpackages.groonga.orgへと反映されます。</p>
         
     | 
| 
       525 
525 
     | 
    
         
             
            </div>
         
     | 
| 
       526 
526 
     | 
    
         
             
            <div class="section" id="blogroonga">
         
     | 
| 
       527 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 527 
     | 
    
         
            +
            <h2>13.3.6.23. blogroonga(ブログ)の更新<a class="headerlink" href="#blogroonga" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       528 
528 
     | 
    
         
             
            <p><a class="reference external" href="http://groonga.org/blog/">http://groonga.org/blog/</a> および <a class="reference external" href="http://groonga.org/blog/">http://groonga.org/blog/</a> にて公開されているリリース案内を作成します。</p>
         
     | 
| 
       529 
529 
     | 
    
         
             
            <p>基本的にはリリースアナウンスの内容をそのまま記載します。</p>
         
     | 
| 
       530 
530 
     | 
    
         
             
            <p>cloneしたWebサイトのソースに対して以下のファイルを新規追加します。</p>
         
     | 
| 
         @@ -555,7 +555,7 @@ published: false 
     | 
|
| 
       555 
555 
     | 
    
         
             
            </div>
         
     | 
| 
       556 
556 
     | 
    
         
             
            </div>
         
     | 
| 
       557 
557 
     | 
    
         
             
            <div class="section" id="id19">
         
     | 
| 
       558 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 558 
     | 
    
         
            +
            <h2>13.3.6.24. ドキュメントのアップロード<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       559 
559 
     | 
    
         
             
            <p>doc/source以下のドキュメントを更新、翻訳まで完了している状態で、ドキュメントのアップロード作業を行います。</p>
         
     | 
| 
       560 
560 
     | 
    
         
             
            <p>そのためにはまず以下のコマンドを実行します。:</p>
         
     | 
| 
       561 
561 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-document
         
     | 
| 
         @@ -565,7 +565,7 @@ published: false 
     | 
|
| 
       565 
565 
     | 
    
         
             
            <p>生成されているドキュメントに問題のないことを確認できたら、コミット、pushしてgroonga.orgへと反映します。</p>
         
     | 
| 
       566 
566 
     | 
    
         
             
            </div>
         
     | 
| 
       567 
567 
     | 
    
         
             
            <div class="section" id="homebrew">
         
     | 
| 
       568 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 568 
     | 
    
         
            +
            <h2>13.3.6.25. Homebrewの更新<a class="headerlink" href="#homebrew" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       569 
569 
     | 
    
         
             
            <p>OS Xでのパッケージ管理方法として <a class="reference external" href="http://brew.sh/">Homebrew</a> があります。</p>
         
     | 
| 
       570 
570 
     | 
    
         
             
            <p>Groongaを簡単にインストールできるようにするために、Homebrewへpull requestを送ります。</p>
         
     | 
| 
       571 
571 
     | 
    
         
             
            <blockquote>
         
     | 
| 
         @@ -577,7 +577,7 @@ published: false 
     | 
|
| 
       577 
577 
     | 
    
         
             
            <p>上記URLを参照するとわかるようにソースアーカイブのurlとsha1チェックサムを更新します。</p>
         
     | 
| 
       578 
578 
     | 
    
         
             
            </div>
         
     | 
| 
       579 
579 
     | 
    
         
             
            <div class="section" id="id21">
         
     | 
| 
       580 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 580 
     | 
    
         
            +
            <h2>13.3.6.26. リリースアナウンス<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       581 
581 
     | 
    
         
             
            <p>作成したリリースアナウンスをメーリングリストへと流します。</p>
         
     | 
| 
       582 
582 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       583 
583 
     | 
    
         
             
            <li>groonga-dev <a class="reference external" href="mailto:groonga-dev%40lists.sourceforge.jp">groonga-dev<span>@</span>lists<span>.</span>sourceforge<span>.</span>jp</a></li>
         
     | 
| 
         @@ -585,7 +585,7 @@ published: false 
     | 
|
| 
       585 
585 
     | 
    
         
             
            </ul>
         
     | 
| 
       586 
586 
     | 
    
         
             
            </div>
         
     | 
| 
       587 
587 
     | 
    
         
             
            <div class="section" id="freecode-com">
         
     | 
| 
       588 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 588 
     | 
    
         
            +
            <h2>13.3.6.27. freecode.comへリリース情報を登録<a class="headerlink" href="#freecode-com" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       589 
589 
     | 
    
         
             
            <p>Groongaプロジェクトではfreecode.comでもリリース情報を発信しています。</p>
         
     | 
| 
       590 
590 
     | 
    
         
             
            <p>freecode.comのプロジェクトページは以下の通りです。</p>
         
     | 
| 
       591 
591 
     | 
    
         
             
            <blockquote>
         
     | 
| 
         @@ -600,7 +600,7 @@ published: false 
     | 
|
| 
       600 
600 
     | 
    
         
             
            </div>
         
     | 
| 
       601 
601 
     | 
    
         
             
            </div>
         
     | 
| 
       602 
602 
     | 
    
         
             
            <div class="section" id="twitter">
         
     | 
| 
       603 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 603 
     | 
    
         
            +
            <h2>13.3.6.28. Twitterでリリースアナウンスをする<a class="headerlink" href="#twitter" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       604 
604 
     | 
    
         
             
            <p>blogroongaのリリースエントリには「リンクをあなたのフォロワーに共有する」ためのツイートボタンがあるので、そのボタンを使ってリリースアナウンスします。(画面下部に配置されている)</p>
         
     | 
| 
       605 
605 
     | 
    
         
             
            <p>このボタンを経由する場合、ツイート内容に自動的にリリースタイトル(「groonga 2.0.8リリース」など)とblogroongaのリリースエントリのURLが挿入されます。</p>
         
     | 
| 
       606 
606 
     | 
    
         
             
            <p>この作業はblogroongaの英語版、日本語版それぞれで行います。
         
     | 
| 
         @@ -608,18 +608,18 @@ published: false 
     | 
|
| 
       608 
608 
     | 
    
         
             
            <p>以上でリリース作業は終了です。</p>
         
     | 
| 
       609 
609 
     | 
    
         
             
            </div>
         
     | 
| 
       610 
610 
     | 
    
         
             
            <div class="section" id="id22">
         
     | 
| 
       611 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 611 
     | 
    
         
            +
            <h2>13.3.6.29. リリース後にやること<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       612 
612 
     | 
    
         
             
            <p>リリースアナウンスを流し終えたら、次期バージョンの開発が始まります。</p>
         
     | 
| 
       613 
613 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       614 
614 
     | 
    
         
             
            <li>Groonga プロジェクトの新規バージョン追加</li>
         
     | 
| 
       615 
615 
     | 
    
         
             
            <li>Groonga のbase_versionの更新</li>
         
     | 
| 
       616 
616 
     | 
    
         
             
            </ul>
         
     | 
| 
       617 
617 
     | 
    
         
             
            <div class="section" id="id23">
         
     | 
| 
       618 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 618 
     | 
    
         
            +
            <h3>13.3.6.29.1. Groonga プロジェクトの新規バージョン追加<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       619 
619 
     | 
    
         
             
            <p><a class="reference external" href="http://redmine.groonga.org/projects/groonga/settings">Groonga プロジェクトの設定ページ</a> にて新規バージョンを追加します。(例: release-2.0.6)</p>
         
     | 
| 
       620 
620 
     | 
    
         
             
            </div>
         
     | 
| 
       621 
621 
     | 
    
         
             
            <div class="section" id="id25">
         
     | 
| 
       622 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 622 
     | 
    
         
            +
            <h3>13.3.6.29.2. Groonga バージョン更新<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       623 
623 
     | 
    
         
             
            <p>$GROONGA_CLONE_DIRにて以下のコマンドを実行します。:</p>
         
     | 
| 
       624 
624 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-version NEW_VERSION=2.0.6
         
     | 
| 
       625 
625 
     | 
    
         
             
            </pre></div>
         
     | 
| 
         @@ -632,14 +632,14 @@ published: false 
     | 
|
| 
       632 
632 
     | 
    
         
             
            </div>
         
     | 
| 
       633 
633 
     | 
    
         
             
            </div>
         
     | 
| 
       634 
634 
     | 
    
         
             
            <div class="section" id="tips">
         
     | 
| 
       635 
     | 
    
         
            -
            <h2>13.3. 
     | 
| 
      
 635 
     | 
    
         
            +
            <h2>13.3.6.30. ビルド時のTIPS<a class="headerlink" href="#tips" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       636 
636 
     | 
    
         
             
            <div class="section" id="id26">
         
     | 
| 
       637 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 637 
     | 
    
         
            +
            <h3>13.3.6.30.1. ビルドを並列化したい<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       638 
638 
     | 
    
         
             
            <p>make build PALALLES=yesを指定するとchroot環境で並列にビルドを
         
     | 
| 
       639 
639 
     | 
    
         
             
            実行できます。</p>
         
     | 
| 
       640 
640 
     | 
    
         
             
            </div>
         
     | 
| 
       641 
641 
     | 
    
         
             
            <div class="section" id="id27">
         
     | 
| 
       642 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 642 
     | 
    
         
            +
            <h3>13.3.6.30.2. 特定の環境向けのみビルドしたい<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       643 
643 
     | 
    
         
             
            <p>Debian系の場合、CODES,ARCHITECTURESオプションを明示的に指定することで、特定のリリース、アーキテクチャのみビルドすることができます。</p>
         
     | 
| 
       644 
644 
     | 
    
         
             
            <p>squeezeのi386のみビルドしたい場合には以下のコマンドを実行します。:</p>
         
     | 
| 
       645 
645 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make build ARCHITECTURES=i386 CODES=squeeze
         
     | 
| 
         @@ -655,12 +655,12 @@ published: false 
     | 
|
| 
       655 
655 
     | 
    
         
             
            <p>centosの場合、CENTOS_VERSIONSを指定することで特定のバージョンのみビルドすることができます。</p>
         
     | 
| 
       656 
656 
     | 
    
         
             
            </div>
         
     | 
| 
       657 
657 
     | 
    
         
             
            <div class="section" id="id28">
         
     | 
| 
       658 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 658 
     | 
    
         
            +
            <h3>13.3.6.30.3. パッケージの署名用のパスフレーズを知りたい<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       659 
659 
     | 
    
         
             
            <p>パッケージの署名に必要な秘密鍵のパスフレーズについては
         
     | 
| 
       660 
660 
     | 
    
         
             
            リリース担当者向けの秘密鍵を復号したテキストの1行目に記載してあります。</p>
         
     | 
| 
       661 
661 
     | 
    
         
             
            </div>
         
     | 
| 
       662 
662 
     | 
    
         
             
            <div class="section" id="id29">
         
     | 
| 
       663 
     | 
    
         
            -
            <h3>13.3. 
     | 
| 
      
 663 
     | 
    
         
            +
            <h3>13.3.6.30.4. バージョンを明示的に指定してドキュメントを生成したい<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       664 
664 
     | 
    
         
             
            <p>リリース後にドキュメントの一部を差し替えたい場合、特に何も指定しないと生成したHTMLに埋め込まれるバージョンが「v3.0.1-xxxxxドキュメント」となってしまうことがあります。gitでのコミット時ハッシュの一部が使われるためです。</p>
         
     | 
| 
       665 
665 
     | 
    
         
             
            <p>これを回避するには、以下のようにDOCUMENT_VERSIONやDOCUMENT_VERSION_FULLを明示的に指定します。:</p>
         
     | 
| 
       666 
666 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>% make update-document DOCUMENT_VERSION=3.0.1 DOCUMENT_VERSION_FULL=3.0.1
         
     | 
| 
         @@ -678,55 +678,55 @@ published: false 
     | 
|
| 
       678 
678 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       679 
679 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       680 
680 
     | 
    
         
             
              <ul>
         
     | 
| 
       681 
     | 
    
         
            -
            <li><a class="reference internal" href="#">13.3. 
     | 
| 
       682 
     | 
    
         
            -
            <li><a class="reference internal" href="#id2">13.3. 
     | 
| 
       683 
     | 
    
         
            -
            <li><a class="reference internal" href="#id3">13.3. 
     | 
| 
       684 
     | 
    
         
            -
            <li><a class="reference internal" href="#id4">13.3. 
     | 
| 
       685 
     | 
    
         
            -
            <li><a class="reference internal" href="#id5">13.3. 
     | 
| 
       686 
     | 
    
         
            -
            <li><a class="reference internal" href="#id6">13.3. 
     | 
| 
       687 
     | 
    
         
            -
            <li><a class="reference internal" href="#groonga">13.3. 
     | 
| 
       688 
     | 
    
         
            -
            <li><a class="reference internal" href="#cutter">13.3. 
     | 
| 
       689 
     | 
    
         
            -
            <li><a class="reference internal" href="#configure">13.3. 
     | 
| 
       690 
     | 
    
         
            -
            <li><a class="reference internal" href="#id7">13.3. 
     | 
| 
       691 
     | 
    
         
            -
            <li><a class="reference internal" href="#make-update-latest-release">13.3. 
     | 
| 
       692 
     | 
    
         
            -
            <li><a class="reference internal" href="#make-update-files">13.3. 
     | 
| 
       693 
     | 
    
         
            -
            <li><a class="reference internal" href="#make-update-po">13.3. 
     | 
| 
       694 
     | 
    
         
            -
            <li><a class="reference internal" href="#po">13.3. 
     | 
| 
       695 
     | 
    
         
            -
            <li><a class="reference internal" href="#id8">13.3. 
     | 
| 
       696 
     | 
    
         
            -
            <li><a class="reference internal" href="#id9">13.3. 
     | 
| 
       697 
     | 
    
         
            -
            <li><a class="reference internal" href="#id10">13.3. 
     | 
| 
       698 
     | 
    
         
            -
            <li><a class="reference internal" href="#id11">13.3. 
     | 
| 
      
 681 
     | 
    
         
            +
            <li><a class="reference internal" href="#">13.3.6. リリース手順</a><ul>
         
     | 
| 
      
 682 
     | 
    
         
            +
            <li><a class="reference internal" href="#id2">13.3.6.1. 前提条件</a></li>
         
     | 
| 
      
 683 
     | 
    
         
            +
            <li><a class="reference internal" href="#id3">13.3.6.2. ビルド環境の準備</a></li>
         
     | 
| 
      
 684 
     | 
    
         
            +
            <li><a class="reference internal" href="#id4">13.3.6.3. パッケージ署名用秘密鍵のインポート</a></li>
         
     | 
| 
      
 685 
     | 
    
         
            +
            <li><a class="reference internal" href="#id5">13.3.6.4. リリース作業用ディレクトリの作成</a></li>
         
     | 
| 
      
 686 
     | 
    
         
            +
            <li><a class="reference internal" href="#id6">13.3.6.5. 変更点のまとめ</a></li>
         
     | 
| 
      
 687 
     | 
    
         
            +
            <li><a class="reference internal" href="#groonga">13.3.6.6. Groongaのウェブサイトの取得</a></li>
         
     | 
| 
      
 688 
     | 
    
         
            +
            <li><a class="reference internal" href="#cutter">13.3.6.7. cutterのソースコード取得</a></li>
         
     | 
| 
      
 689 
     | 
    
         
            +
            <li><a class="reference internal" href="#configure">13.3.6.8. configureスクリプトの生成</a></li>
         
     | 
| 
      
 690 
     | 
    
         
            +
            <li><a class="reference internal" href="#id7">13.3.6.9. configureスクリプトの実行</a></li>
         
     | 
| 
      
 691 
     | 
    
         
            +
            <li><a class="reference internal" href="#make-update-latest-release">13.3.6.10. make update-latest-releaseの実行</a></li>
         
     | 
| 
      
 692 
     | 
    
         
            +
            <li><a class="reference internal" href="#make-update-files">13.3.6.11. make update-filesの実行</a></li>
         
     | 
| 
      
 693 
     | 
    
         
            +
            <li><a class="reference internal" href="#make-update-po">13.3.6.12. make update-poの実行</a></li>
         
     | 
| 
      
 694 
     | 
    
         
            +
            <li><a class="reference internal" href="#po">13.3.6.13. poファイルの翻訳</a></li>
         
     | 
| 
      
 695 
     | 
    
         
            +
            <li><a class="reference internal" href="#id8">13.3.6.14. リリースタグの設定</a></li>
         
     | 
| 
      
 696 
     | 
    
         
            +
            <li><a class="reference internal" href="#id9">13.3.6.15. リリース用アーカイブファイルの作成</a></li>
         
     | 
| 
      
 697 
     | 
    
         
            +
            <li><a class="reference internal" href="#id10">13.3.6.16. パッケージのビルド</a><ul>
         
     | 
| 
      
 698 
     | 
    
         
            +
            <li><a class="reference internal" href="#id11">13.3.6.16.1. ビルド用パッケージのダウンロード</a></li>
         
     | 
| 
       699 
699 
     | 
    
         
             
            </ul>
         
     | 
| 
       700 
700 
     | 
    
         
             
            </li>
         
     | 
| 
       701 
     | 
    
         
            -
            <li><a class="reference internal" href="#debian">13.3. 
     | 
| 
       702 
     | 
    
         
            -
            <li><a class="reference internal" href="#red-hat">13.3. 
     | 
| 
       703 
     | 
    
         
            -
            <li><a class="reference internal" href="#windows">13.3. 
     | 
| 
       704 
     | 
    
         
            -
            <li><a class="reference internal" href="#id12">13.3. 
     | 
| 
       705 
     | 
    
         
            -
            <li><a class="reference internal" href="#grntest">13.3. 
     | 
| 
       706 
     | 
    
         
            -
            <li><a class="reference internal" href="#id13">13.3. 
     | 
| 
       707 
     | 
    
         
            -
            <li><a class="reference internal" href="#id14">13.3. 
     | 
| 
       708 
     | 
    
         
            -
            <li><a class="reference internal" href="#id15">13.3. 
     | 
| 
       709 
     | 
    
         
            -
            <li><a class="reference internal" href="#id16">13.3. 
     | 
| 
      
 701 
     | 
    
         
            +
            <li><a class="reference internal" href="#debian">13.3.6.17. Debian系パッケージのビルド</a></li>
         
     | 
| 
      
 702 
     | 
    
         
            +
            <li><a class="reference internal" href="#red-hat">13.3.6.18. Red Hat系パッケージのビルド</a></li>
         
     | 
| 
      
 703 
     | 
    
         
            +
            <li><a class="reference internal" href="#windows">13.3.6.19. Windows用パッケージのビルド</a></li>
         
     | 
| 
      
 704 
     | 
    
         
            +
            <li><a class="reference internal" href="#id12">13.3.6.20. パッケージの動作確認</a><ul>
         
     | 
| 
      
 705 
     | 
    
         
            +
            <li><a class="reference internal" href="#grntest">13.3.6.20.1. grntestの準備</a></li>
         
     | 
| 
      
 706 
     | 
    
         
            +
            <li><a class="reference internal" href="#id13">13.3.6.20.2. grntestの実行方法</a></li>
         
     | 
| 
      
 707 
     | 
    
         
            +
            <li><a class="reference internal" href="#id14">13.3.6.20.3. Debian系の場合</a></li>
         
     | 
| 
      
 708 
     | 
    
         
            +
            <li><a class="reference internal" href="#id15">13.3.6.20.4. Red Hat系の場合</a></li>
         
     | 
| 
      
 709 
     | 
    
         
            +
            <li><a class="reference internal" href="#id16">13.3.6.20.5. Windows向けの場合</a></li>
         
     | 
| 
       710 
710 
     | 
    
         
             
            </ul>
         
     | 
| 
       711 
711 
     | 
    
         
             
            </li>
         
     | 
| 
       712 
     | 
    
         
            -
            <li><a class="reference internal" href="#id17">13.3. 
     | 
| 
       713 
     | 
    
         
            -
            <li><a class="reference internal" href="#id18">13.3. 
     | 
| 
       714 
     | 
    
         
            -
            <li><a class="reference internal" href="#blogroonga">13.3. 
     | 
| 
       715 
     | 
    
         
            -
            <li><a class="reference internal" href="#id19">13.3. 
     | 
| 
       716 
     | 
    
         
            -
            <li><a class="reference internal" href="#homebrew">13.3. 
     | 
| 
       717 
     | 
    
         
            -
            <li><a class="reference internal" href="#id21">13.3. 
     | 
| 
       718 
     | 
    
         
            -
            <li><a class="reference internal" href="#freecode-com">13.3. 
     | 
| 
       719 
     | 
    
         
            -
            <li><a class="reference internal" href="#twitter">13.3. 
     | 
| 
       720 
     | 
    
         
            -
            <li><a class="reference internal" href="#id22">13.3. 
     | 
| 
       721 
     | 
    
         
            -
            <li><a class="reference internal" href="#id23">13.3. 
     | 
| 
       722 
     | 
    
         
            -
            <li><a class="reference internal" href="#id25">13.3. 
     | 
| 
      
 712 
     | 
    
         
            +
            <li><a class="reference internal" href="#id17">13.3.6.21. リリースアナウンスの作成</a></li>
         
     | 
| 
      
 713 
     | 
    
         
            +
            <li><a class="reference internal" href="#id18">13.3.6.22. パッケージのアップロード</a></li>
         
     | 
| 
      
 714 
     | 
    
         
            +
            <li><a class="reference internal" href="#blogroonga">13.3.6.23. blogroonga(ブログ)の更新</a></li>
         
     | 
| 
      
 715 
     | 
    
         
            +
            <li><a class="reference internal" href="#id19">13.3.6.24. ドキュメントのアップロード</a></li>
         
     | 
| 
      
 716 
     | 
    
         
            +
            <li><a class="reference internal" href="#homebrew">13.3.6.25. Homebrewの更新</a></li>
         
     | 
| 
      
 717 
     | 
    
         
            +
            <li><a class="reference internal" href="#id21">13.3.6.26. リリースアナウンス</a></li>
         
     | 
| 
      
 718 
     | 
    
         
            +
            <li><a class="reference internal" href="#freecode-com">13.3.6.27. freecode.comへリリース情報を登録</a></li>
         
     | 
| 
      
 719 
     | 
    
         
            +
            <li><a class="reference internal" href="#twitter">13.3.6.28. Twitterでリリースアナウンスをする</a></li>
         
     | 
| 
      
 720 
     | 
    
         
            +
            <li><a class="reference internal" href="#id22">13.3.6.29. リリース後にやること</a><ul>
         
     | 
| 
      
 721 
     | 
    
         
            +
            <li><a class="reference internal" href="#id23">13.3.6.29.1. Groonga プロジェクトの新規バージョン追加</a></li>
         
     | 
| 
      
 722 
     | 
    
         
            +
            <li><a class="reference internal" href="#id25">13.3.6.29.2. Groonga バージョン更新</a></li>
         
     | 
| 
       723 
723 
     | 
    
         
             
            </ul>
         
     | 
| 
       724 
724 
     | 
    
         
             
            </li>
         
     | 
| 
       725 
     | 
    
         
            -
            <li><a class="reference internal" href="#tips">13.3. 
     | 
| 
       726 
     | 
    
         
            -
            <li><a class="reference internal" href="#id26">13.3. 
     | 
| 
       727 
     | 
    
         
            -
            <li><a class="reference internal" href="#id27">13.3. 
     | 
| 
       728 
     | 
    
         
            -
            <li><a class="reference internal" href="#id28">13.3. 
     | 
| 
       729 
     | 
    
         
            -
            <li><a class="reference internal" href="#id29">13.3. 
     | 
| 
      
 725 
     | 
    
         
            +
            <li><a class="reference internal" href="#tips">13.3.6.30. ビルド時のTIPS</a><ul>
         
     | 
| 
      
 726 
     | 
    
         
            +
            <li><a class="reference internal" href="#id26">13.3.6.30.1. ビルドを並列化したい</a></li>
         
     | 
| 
      
 727 
     | 
    
         
            +
            <li><a class="reference internal" href="#id27">13.3.6.30.2. 特定の環境向けのみビルドしたい</a></li>
         
     | 
| 
      
 728 
     | 
    
         
            +
            <li><a class="reference internal" href="#id28">13.3.6.30.3. パッケージの署名用のパスフレーズを知りたい</a></li>
         
     | 
| 
      
 729 
     | 
    
         
            +
            <li><a class="reference internal" href="#id29">13.3.6.30.4. バージョンを明示的に指定してドキュメントを生成したい</a></li>
         
     | 
| 
       730 
730 
     | 
    
         
             
            </ul>
         
     | 
| 
       731 
731 
     | 
    
         
             
            </li>
         
     | 
| 
       732 
732 
     | 
    
         
             
            </ul>
         
     | 
| 
         @@ -735,10 +735,10 @@ published: false 
     | 
|
| 
       735 
735 
     | 
    
         | 
| 
       736 
736 
     | 
    
         
             
              <h4>Previous topic</h4>
         
     | 
| 
       737 
737 
     | 
    
         
             
              <p class="topless"><a href="query.html"
         
     | 
| 
       738 
     | 
    
         
            -
                                    title="previous chapter">13.3. 
     | 
| 
      
 738 
     | 
    
         
            +
                                    title="previous chapter">13.3.4. クエリの実現</a></p>
         
     | 
| 
       739 
739 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       740 
740 
     | 
    
         
             
              <p class="topless"><a href="test.html"
         
     | 
| 
       741 
     | 
    
         
            -
                                    title="next chapter">13.3. 
     | 
| 
      
 741 
     | 
    
         
            +
                                    title="next chapter">13.3.7. テスト方法</a></p>
         
     | 
| 
       742 
742 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       743 
743 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       744 
744 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -770,14 +770,14 @@ published: false 
     | 
|
| 
       770 
770 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       771 
771 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       772 
772 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       773 
     | 
    
         
            -
                      <a href="test.html" title="13.3. 
     | 
| 
      
 773 
     | 
    
         
            +
                      <a href="test.html" title="13.3.7. テスト方法"
         
     | 
| 
       774 
774 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       775 
775 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       776 
     | 
    
         
            -
                      <a href="query.html" title="13.3. 
     | 
| 
      
 776 
     | 
    
         
            +
                      <a href="query.html" title="13.3.4. クエリの実現"
         
     | 
| 
       777 
777 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       778 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 778 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
         
     | 
| 
       779 
779 
     | 
    
         
             
                      <li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
         
     | 
| 
       780 
     | 
    
         
            -
                      <li><a href="../development.html" >13.3.  
     | 
| 
      
 780 
     | 
    
         
            +
                      <li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li> 
         
     | 
| 
       781 
781 
     | 
    
         
             
                  </ul>
         
     | 
| 
       782 
782 
     | 
    
         
             
                </div>
         
     | 
| 
       783 
783 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     |