rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-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 +13 -1
 - data/ext/groonga/rb-grn-index-column.c +4 -0
 - data/ext/groonga/rb-grn-object.c +2 -3
 - 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/schema.rb +1 -1
 - data/rroonga-build.rb +1 -1
 - data/rroonga.gemspec +1 -1
 - data/test/test-database.rb +74 -0
 - data/test/test-index-column.rb +22 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +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/mecab-config +0 -0
 - data/vendor/local/bin/mecab.exe +0 -0
 - 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 +0 -0
 - 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 +0 -0
 - 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 +0 -0
 - 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 +0 -0
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libgroonga.la +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmecab.la +0 -0
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.la +0 -0
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.la +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - 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 +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +3 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +15 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -3
 - 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 +54 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
 - data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
 - data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +20 -8
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
 - 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 +226 -165
 - 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 +46 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
 - 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 +24 -24
 - 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 +24 -24
 - 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 +20 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
 - 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 +8 -8
 - 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 +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
 - 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 +95 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
 - 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 +45 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -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/grntest.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
 - 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 +24 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.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 +5 -5
 - 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 +290 -0
 - 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 +9 -9
 - 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 +194 -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 +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
 - 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 +5 -5
 - 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/contribution/development/document.txt +3 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +15 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -3
 - 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 +54 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
 - data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
 - data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
 - 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 +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
 - 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 +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
 - 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 +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
 - 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/man/ja/man1/groonga.1 +1152 -241
 - data/vendor/local/share/man/man1/groonga.1 +1215 -269
 - metadata +150 -130
 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8.8. Query expanders —  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.8. Query expanders — Groonga v3.0.9 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:     '3.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '3.0.9',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,7 +25,7 @@ 
     | 
|
| 
       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=" 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v3.0.9 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="8.8.1. QueryExpanderTSV" href="query_expanders/tsv.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="8.7. Tokenizers" href="tokenizers.html" /> 
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="tokenizers.html" title="8.7. Tokenizers"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -125,7 +125,7 @@ 
     | 
|
| 
       125 
125 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       126 
126 
     | 
    
         
             
                      <a href="tokenizers.html" title="8.7. Tokenizers"
         
     | 
| 
       127 
127 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       128 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 128 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       129 
129 
     | 
    
         
             
                      <li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       130 
130 
     | 
    
         
             
                  </ul>
         
     | 
| 
       131 
131 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8.8.1. QueryExpanderTSV —  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.8.1. QueryExpanderTSV — Groonga v3.0.9 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:     '3.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '3.0.9',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,7 +25,7 @@ 
     | 
|
| 
       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=" 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="8.8. Query expanders" href="../query_expanders.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="8.9. 疑似カラム (pseudo_column)" href="../pseudo_column.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="8.8. Query expanders" href="../query_expanders.html" /> 
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="../query_expanders.html" title="8.8. Query expanders"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html"> 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../query_expanders.html" accesskey="U">8.8. Query expanders</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
         @@ -301,7 +301,7 @@ loaded only at the plugin load time.</p> 
     | 
|
| 
       301 
301 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       302 
302 
     | 
    
         
             
                      <a href="../query_expanders.html" title="8.8. Query expanders"
         
     | 
| 
       303 
303 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       304 
     | 
    
         
            -
                    <li><a href="../../index.html"> 
     | 
| 
      
 304 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       305 
305 
     | 
    
         
             
                      <li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
         
     | 
| 
       306 
306 
     | 
    
         
             
                      <li><a href="../query_expanders.html" >8.8. Query expanders</a> »</li> 
         
     | 
| 
       307 
307 
     | 
    
         
             
                  </ul>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8.5. Tables —  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.5. Tables — Groonga v3.0.9 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:     '3.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '3.0.9',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,7 +25,7 @@ 
     | 
|
| 
       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=" 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v3.0.9 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="8.6. Normalizers" href="normalizers.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="8.4. データ型" href="types.html" /> 
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="types.html" title="8.4. データ型"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -349,7 +349,7 @@ more larger total key size.</p> 
     | 
|
| 
       349 
349 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       350 
350 
     | 
    
         
             
                      <a href="types.html" title="8.4. データ型"
         
     | 
| 
       351 
351 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       352 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 352 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       353 
353 
     | 
    
         
             
                      <li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       354 
354 
     | 
    
         
             
                  </ul>
         
     | 
| 
       355 
355 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8.7. Tokenizers —  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.7. Tokenizers — Groonga v3.0.9 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:     '3.0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '3.0.9',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,7 +25,7 @@ 
     | 
|
| 
       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=" 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v3.0.9 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="8.8. Query expanders" href="query_expanders.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="8.6. Normalizers" href="normalizers.html" /> 
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="normalizers.html" title="8.6. Normalizers"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -136,7 +136,7 @@ 
     | 
|
| 
       136 
136 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       137 
137 
     | 
    
         
             
                      <a href="normalizers.html" title="8.6. Normalizers"
         
     | 
| 
       138 
138 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       139 
     | 
    
         
            -
                    <li><a href="../index.html"> 
     | 
| 
      
 139 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
       140 
140 
     | 
    
         
             
                      <li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
       141 
141 
     | 
    
         
             
                  </ul>
         
     | 
| 
       142 
142 
     | 
    
         
             
                </div>
         
     | 
| 
         @@ -0,0 +1,290 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
             
     | 
| 
      
 2 
     | 
    
         
            +
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 3 
     | 
    
         
            +
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            <html xmlns="http://www.w3.org/1999/xhtml">
         
     | 
| 
      
 7 
     | 
    
         
            +
              <head>
         
     | 
| 
      
 8 
     | 
    
         
            +
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
      
 9 
     | 
    
         
            +
                
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.14. Tuning — Groonga v3.0.9 documentation</title>
         
     | 
| 
      
 11 
     | 
    
         
            +
                
         
     | 
| 
      
 12 
     | 
    
         
            +
                <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
         
     | 
| 
      
 13 
     | 
    
         
            +
                <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
         
     | 
| 
      
 14 
     | 
    
         
            +
                
         
     | 
| 
      
 15 
     | 
    
         
            +
                <script type="text/javascript">
         
     | 
| 
      
 16 
     | 
    
         
            +
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
      
 17 
     | 
    
         
            +
                    URL_ROOT:    '../',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '3.0.9',
         
     | 
| 
      
 19 
     | 
    
         
            +
                    COLLAPSE_INDEX: false,
         
     | 
| 
      
 20 
     | 
    
         
            +
                    FILE_SUFFIX: '.html',
         
     | 
| 
      
 21 
     | 
    
         
            +
                    HAS_SOURCE:  true
         
     | 
| 
      
 22 
     | 
    
         
            +
                  };
         
     | 
| 
      
 23 
     | 
    
         
            +
                </script>
         
     | 
| 
      
 24 
     | 
    
         
            +
                <script type="text/javascript" src="../_static/jquery.js"></script>
         
     | 
| 
      
 25 
     | 
    
         
            +
                <script type="text/javascript" src="../_static/underscore.js"></script>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <script type="text/javascript" src="../_static/doctools.js"></script>
         
     | 
| 
      
 27 
     | 
    
         
            +
                <link rel="shortcut icon" href="../_static/favicon.ico"/>
         
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v3.0.9 documentation" href="../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="8.15. API" href="api.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="8.13. Log" href="log.html" /> 
         
     | 
| 
      
 32 
     | 
    
         
            +
              </head>
         
     | 
| 
      
 33 
     | 
    
         
            +
              <body>
         
     | 
| 
      
 34 
     | 
    
         
            +
            <div class="header">
         
     | 
| 
      
 35 
     | 
    
         
            +
              <h1 class="title">
         
     | 
| 
      
 36 
     | 
    
         
            +
                <a id="top-link" href="../index.html">
         
     | 
| 
      
 37 
     | 
    
         
            +
                  <span class="project">groonga</span>
         
     | 
| 
      
 38 
     | 
    
         
            +
                  <span class="separator">-</span>
         
     | 
| 
      
 39 
     | 
    
         
            +
                  <span class="description">An open-source fulltext search engine and column store.</span>
         
     | 
| 
      
 40 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 41 
     | 
    
         
            +
              </h1>
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
              <div class="other-language-links">
         
     | 
| 
      
 44 
     | 
    
         
            +
                <ul>
         
     | 
| 
      
 45 
     | 
    
         
            +
                  <li><a href="../../../ja/html/reference/tuning.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
         
     | 
| 
      
 46 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 47 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 48 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 49 
     | 
    
         
            +
              
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
      
 52 
     | 
    
         
            +
                  <h3>Navigation</h3>
         
     | 
| 
      
 53 
     | 
    
         
            +
                  <ul>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
      
 55 
     | 
    
         
            +
                      <a href="../genindex.html" title="General Index"
         
     | 
| 
      
 56 
     | 
    
         
            +
                         accesskey="I">index</a></li>
         
     | 
| 
      
 57 
     | 
    
         
            +
                    <li class="right" >
         
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="api.html" title="8.15. API"
         
     | 
| 
      
 59 
     | 
    
         
            +
                         accesskey="N">next</a> |</li>
         
     | 
| 
      
 60 
     | 
    
         
            +
                    <li class="right" >
         
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="log.html" title="8.13. Log"
         
     | 
| 
      
 62 
     | 
    
         
            +
                         accesskey="P">previous</a> |</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
      
 64 
     | 
    
         
            +
                      <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
      
 65 
     | 
    
         
            +
                  </ul>
         
     | 
| 
      
 66 
     | 
    
         
            +
                </div>  
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
                <div class="document">
         
     | 
| 
      
 69 
     | 
    
         
            +
                  <div class="documentwrapper">
         
     | 
| 
      
 70 
     | 
    
         
            +
                    <div class="bodywrapper">
         
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
      
 72 
     | 
    
         
            +
                        
         
     | 
| 
      
 73 
     | 
    
         
            +
              <div class="section" id="tuning">
         
     | 
| 
      
 74 
     | 
    
         
            +
            <h1>8.14. Tuning<a class="headerlink" href="#tuning" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
      
 75 
     | 
    
         
            +
            <div class="section" id="summary">
         
     | 
| 
      
 76 
     | 
    
         
            +
            <h2>8.14.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
      
 77 
     | 
    
         
            +
            <p>There are some tuning parameters for improving groonga performance or
         
     | 
| 
      
 78 
     | 
    
         
            +
            handling a large database.</p>
         
     | 
| 
      
 79 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 80 
     | 
    
         
            +
            <div class="section" id="parameters">
         
     | 
| 
      
 81 
     | 
    
         
            +
            <h2>8.14.2. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
      
 82 
     | 
    
         
            +
            <p>This section describes parameters.</p>
         
     | 
| 
      
 83 
     | 
    
         
            +
            <div class="section" id="the-max-number-of-open-files-per-process">
         
     | 
| 
      
 84 
     | 
    
         
            +
            <span id="tuning-max-n-open-files"></span><h3>8.14.2.1. The max number of open files per process<a class="headerlink" href="#the-max-number-of-open-files-per-process" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 85 
     | 
    
         
            +
            <p>This parameter is for handling a large database.</p>
         
     | 
| 
      
 86 
     | 
    
         
            +
            <p>Groonga creates one or more files per table and colum. If your
         
     | 
| 
      
 87 
     | 
    
         
            +
            database has many tables and columns, groonga process needs to open
         
     | 
| 
      
 88 
     | 
    
         
            +
            many files.</p>
         
     | 
| 
      
 89 
     | 
    
         
            +
            <p>System limits the max number of open files per process. So you need to
         
     | 
| 
      
 90 
     | 
    
         
            +
            relax the limitation.</p>
         
     | 
| 
      
 91 
     | 
    
         
            +
            <p>Here is an expression that compute how many files are opened by
         
     | 
| 
      
 92 
     | 
    
         
            +
            groonga:</p>
         
     | 
| 
      
 93 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>3 (for DB) +
         
     | 
| 
      
 94 
     | 
    
         
            +
              N tables +
         
     | 
| 
      
 95 
     | 
    
         
            +
              N columns (except index clumns) +
         
     | 
| 
      
 96 
     | 
    
         
            +
              (N index columns * 2) +
         
     | 
| 
      
 97 
     | 
    
         
            +
              X (the number of plugins etc.)
         
     | 
| 
      
 98 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 99 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 100 
     | 
    
         
            +
            <p>Here is an example schema:</p>
         
     | 
| 
      
 101 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_HASH_KEY ShortText
         
     | 
| 
      
 102 
     | 
    
         
            +
            column_create Entries content COLUMN_SCALAR Text
         
     | 
| 
      
 103 
     | 
    
         
            +
            column_create Entries n_likes COLUMN_SCALAR UInt32
         
     | 
| 
      
 104 
     | 
    
         
            +
            table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
         
     | 
| 
      
 105 
     | 
    
         
            +
            column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
         
     | 
| 
      
 106 
     | 
    
         
            +
            column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
         
     | 
| 
      
 107 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 108 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 109 
     | 
    
         
            +
            <p>This example opens at least 11 files:</p>
         
     | 
| 
      
 110 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>3 +
         
     | 
| 
      
 111 
     | 
    
         
            +
              2 (Entries and Terms) +
         
     | 
| 
      
 112 
     | 
    
         
            +
              2 (Entries.content and Entries.n_likes) +
         
     | 
| 
      
 113 
     | 
    
         
            +
              4 (Terms.entries_key_index and Terms.entries_content_index) +
         
     | 
| 
      
 114 
     | 
    
         
            +
              X = 11 + X
         
     | 
| 
      
 115 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 116 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 117 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 118 
     | 
    
         
            +
            <div class="section" id="memory-usage">
         
     | 
| 
      
 119 
     | 
    
         
            +
            <span id="tuning-memory-usage"></span><h3>8.14.2.2. Memory usage<a class="headerlink" href="#memory-usage" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 120 
     | 
    
         
            +
            <p>This parameter is for handling a large database.</p>
         
     | 
| 
      
 121 
     | 
    
         
            +
            <p>Groonga maps database files onto memory and accesses to them. Groonga
         
     | 
| 
      
 122 
     | 
    
         
            +
            doesn't maps unnecessary files onto memory until they are nneded.</p>
         
     | 
| 
      
 123 
     | 
    
         
            +
            <p>If you access to all data in database, all database files are mapped
         
     | 
| 
      
 124 
     | 
    
         
            +
            onto memory.  If total size of your database files is 6GiB, your
         
     | 
| 
      
 125 
     | 
    
         
            +
            groonga process uses 6GiB memory.</p>
         
     | 
| 
      
 126 
     | 
    
         
            +
            <p>Normally, your all database files aren't mapped onto memry. But is may
         
     | 
| 
      
 127 
     | 
    
         
            +
            be occurred. It is an example case that you dump your database.</p>
         
     | 
| 
      
 128 
     | 
    
         
            +
            <p>You must have memory and swap that is larger than database.</p>
         
     | 
| 
      
 129 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 130 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 131 
     | 
    
         
            +
            <div class="section" id="linux">
         
     | 
| 
      
 132 
     | 
    
         
            +
            <span id="tuning-linux"></span><h2>8.14.3. Linux<a class="headerlink" href="#linux" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
      
 133 
     | 
    
         
            +
            <p>This section describes how to configure parameters on Linux.</p>
         
     | 
| 
      
 134 
     | 
    
         
            +
            <div class="section" id="nofile">
         
     | 
| 
      
 135 
     | 
    
         
            +
            <span id="tuning-linux-nofile"></span><h3>8.14.3.1. nofile<a class="headerlink" href="#nofile" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 136 
     | 
    
         
            +
            <p>You can relax the <a class="reference internal" href="#tuning-max-n-open-files"><em>The max number of open files per process</em></a> parameter by creating
         
     | 
| 
      
 137 
     | 
    
         
            +
            a configuration file <tt class="docutils literal"><span class="pre">/etc/security/limits.d/groonga.conf</span></tt> that has
         
     | 
| 
      
 138 
     | 
    
         
            +
            the following content:</p>
         
     | 
| 
      
 139 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>${USER} soft nofile ${MAX_VALUE}
         
     | 
| 
      
 140 
     | 
    
         
            +
            ${USER} hard nofile ${MAX_VALUE}
         
     | 
| 
      
 141 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 142 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 143 
     | 
    
         
            +
            <p>If you run <tt class="docutils literal"><span class="pre">groonga</span></tt> process by <tt class="docutils literal"><span class="pre">groonga</span></tt> user and your groonga
         
     | 
| 
      
 144 
     | 
    
         
            +
            process needs to open less than 10000 files, use the following
         
     | 
| 
      
 145 
     | 
    
         
            +
            configuration:</p>
         
     | 
| 
      
 146 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>groonga soft nofile 10000
         
     | 
| 
      
 147 
     | 
    
         
            +
            groonga hard nofile 10000
         
     | 
| 
      
 148 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 149 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 150 
     | 
    
         
            +
            <p>The configuration is applied after your groonga service is restarted
         
     | 
| 
      
 151 
     | 
    
         
            +
            or re-login as your groonga user.</p>
         
     | 
| 
      
 152 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 153 
     | 
    
         
            +
            <div class="section" id="vm-overcommit-memory">
         
     | 
| 
      
 154 
     | 
    
         
            +
            <span id="tuning-linux-overcommit-memory"></span><h3>8.14.3.2. vm.overcommit_memory<a class="headerlink" href="#vm-overcommit-memory" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 155 
     | 
    
         
            +
            <p>This is <a class="reference internal" href="#tuning-memory-usage"><em>Memory usage</em></a> related parameter. You can handle a
         
     | 
| 
      
 156 
     | 
    
         
            +
            database that is larger than your memory and swap by setting
         
     | 
| 
      
 157 
     | 
    
         
            +
            <tt class="docutils literal"><span class="pre">vm.overcommit_memory</span></tt> kernel parameter to 1. 1 means that groonga
         
     | 
| 
      
 158 
     | 
    
         
            +
            can always map database files onto memory. It is no problem until
         
     | 
| 
      
 159 
     | 
    
         
            +
            groonga touch mapped database files that their size is larger than
         
     | 
| 
      
 160 
     | 
    
         
            +
            memory and swap. Groonga recommends the configuration.</p>
         
     | 
| 
      
 161 
     | 
    
         
            +
            <p>See <a class="reference external" href="https://www.kernel.org/doc/Documentation/vm/overcommit-accounting">Linux kernel documentaion about overcommit</a>
         
     | 
| 
      
 162 
     | 
    
         
            +
            about <tt class="docutils literal"><span class="pre">vm.overcommit_memory</span></tt> parameter details.</p>
         
     | 
| 
      
 163 
     | 
    
         
            +
            <p>You can set the configuration by putting a configuration file
         
     | 
| 
      
 164 
     | 
    
         
            +
            <tt class="docutils literal"><span class="pre">/etc/sysctl.d/groonga.conf</span></tt> that has the following content:</p>
         
     | 
| 
      
 165 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>vm.overcommit_memory = 1
         
     | 
| 
      
 166 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 167 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 168 
     | 
    
         
            +
            <p>The configuration can be applied by restarting your system or run the
         
     | 
| 
      
 169 
     | 
    
         
            +
            following command:</p>
         
     | 
| 
      
 170 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>% sudo sysctl -p
         
     | 
| 
      
 171 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 172 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 173 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 174 
     | 
    
         
            +
            <div class="section" id="vm-max-map-count">
         
     | 
| 
      
 175 
     | 
    
         
            +
            <span id="tuning-linux-max-map-count"></span><h3>8.14.3.3. vm.max_map_count<a class="headerlink" href="#vm-max-map-count" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 176 
     | 
    
         
            +
            <p>This is <a class="reference internal" href="#tuning-memory-usage"><em>Memory usage</em></a> related parameter. You can handle a
         
     | 
| 
      
 177 
     | 
    
         
            +
            16GiB or more larger size database by increasing <tt class="docutils literal"><span class="pre">vm.max_map_count</span></tt>
         
     | 
| 
      
 178 
     | 
    
         
            +
            kernel parameter. The parameter limits the max number of memory maps.</p>
         
     | 
| 
      
 179 
     | 
    
         
            +
            <p>The default value of the kernel parameter may be 65530 or 65536.
         
     | 
| 
      
 180 
     | 
    
         
            +
            Groonga maps 256KiB memory chunk at one time. If a database is larger
         
     | 
| 
      
 181 
     | 
    
         
            +
            than 16GiB, groonga reaches the limitation. (<tt class="docutils literal"><span class="pre">256KiB</span> <span class="pre">*</span> <span class="pre">65536</span> <span class="pre">=</span> <span class="pre">16GiB</span></tt>)</p>
         
     | 
| 
      
 182 
     | 
    
         
            +
            <p>You needs to increase the value of the kernel parameter to handle
         
     | 
| 
      
 183 
     | 
    
         
            +
            16GiB or more larger size database. For example, you can handle almost
         
     | 
| 
      
 184 
     | 
    
         
            +
            32GiB size database by <tt class="docutils literal"><span class="pre">65536</span> <span class="pre">*</span> <span class="pre">2</span> <span class="pre">=</span> <span class="pre">131072</span></tt>. You can set the
         
     | 
| 
      
 185 
     | 
    
         
            +
            configuration by putting a configuration file
         
     | 
| 
      
 186 
     | 
    
         
            +
            <tt class="docutils literal"><span class="pre">/etc/sysctl.d/groonga.conf</span></tt> that has the following content:</p>
         
     | 
| 
      
 187 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>vm.max_map_count = 131072
         
     | 
| 
      
 188 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 189 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 190 
     | 
    
         
            +
            <p>Note that your real confiugration file will be the following because
         
     | 
| 
      
 191 
     | 
    
         
            +
            you already have <tt class="docutils literal"><span class="pre">vm.overcommit_memory</span></tt> configuration:</p>
         
     | 
| 
      
 192 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>vm.overcommit_memory = 1
         
     | 
| 
      
 193 
     | 
    
         
            +
            vm.max_map_count = 131072
         
     | 
| 
      
 194 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 195 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 196 
     | 
    
         
            +
            <p>The configuration can be applied by restarting your system or run the
         
     | 
| 
      
 197 
     | 
    
         
            +
            following command:</p>
         
     | 
| 
      
 198 
     | 
    
         
            +
            <div class="highlight-none"><div class="highlight"><pre>% sudo sysctl -p
         
     | 
| 
      
 199 
     | 
    
         
            +
            </pre></div>
         
     | 
| 
      
 200 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 201 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 202 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 203 
     | 
    
         
            +
            <div class="section" id="freebsd">
         
     | 
| 
      
 204 
     | 
    
         
            +
            <h2>8.14.4. FreeBSD<a class="headerlink" href="#freebsd" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
      
 205 
     | 
    
         
            +
            <p>This section describes how to configure parameters on FreeBSD.</p>
         
     | 
| 
      
 206 
     | 
    
         
            +
            <div class="section" id="kern-maxfileperproc">
         
     | 
| 
      
 207 
     | 
    
         
            +
            <span id="tuning-freebsd-maxfilesperproc"></span><h3>8.14.4.1. kern.maxfileperproc<a class="headerlink" href="#kern-maxfileperproc" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 208 
     | 
    
         
            +
            <p>TODO</p>
         
     | 
| 
      
 209 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 210 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 211 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
             
     | 
| 
      
 214 
     | 
    
         
            +
                      </div>
         
     | 
| 
      
 215 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 216 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 217 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
      
 218 
     | 
    
         
            +
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
      
 219 
     | 
    
         
            +
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
      
 220 
     | 
    
         
            +
              <ul>
         
     | 
| 
      
 221 
     | 
    
         
            +
            <li><a class="reference internal" href="#">8.14. Tuning</a><ul>
         
     | 
| 
      
 222 
     | 
    
         
            +
            <li><a class="reference internal" href="#summary">8.14.1. Summary</a></li>
         
     | 
| 
      
 223 
     | 
    
         
            +
            <li><a class="reference internal" href="#parameters">8.14.2. Parameters</a><ul>
         
     | 
| 
      
 224 
     | 
    
         
            +
            <li><a class="reference internal" href="#the-max-number-of-open-files-per-process">8.14.2.1. The max number of open files per process</a></li>
         
     | 
| 
      
 225 
     | 
    
         
            +
            <li><a class="reference internal" href="#memory-usage">8.14.2.2. Memory usage</a></li>
         
     | 
| 
      
 226 
     | 
    
         
            +
            </ul>
         
     | 
| 
      
 227 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 228 
     | 
    
         
            +
            <li><a class="reference internal" href="#linux">8.14.3. Linux</a><ul>
         
     | 
| 
      
 229 
     | 
    
         
            +
            <li><a class="reference internal" href="#nofile">8.14.3.1. nofile</a></li>
         
     | 
| 
      
 230 
     | 
    
         
            +
            <li><a class="reference internal" href="#vm-overcommit-memory">8.14.3.2. vm.overcommit_memory</a></li>
         
     | 
| 
      
 231 
     | 
    
         
            +
            <li><a class="reference internal" href="#vm-max-map-count">8.14.3.3. vm.max_map_count</a></li>
         
     | 
| 
      
 232 
     | 
    
         
            +
            </ul>
         
     | 
| 
      
 233 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 234 
     | 
    
         
            +
            <li><a class="reference internal" href="#freebsd">8.14.4. FreeBSD</a><ul>
         
     | 
| 
      
 235 
     | 
    
         
            +
            <li><a class="reference internal" href="#kern-maxfileperproc">8.14.4.1. kern.maxfileperproc</a></li>
         
     | 
| 
      
 236 
     | 
    
         
            +
            </ul>
         
     | 
| 
      
 237 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 238 
     | 
    
         
            +
            </ul>
         
     | 
| 
      
 239 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 240 
     | 
    
         
            +
            </ul>
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
              <h4>Previous topic</h4>
         
     | 
| 
      
 243 
     | 
    
         
            +
              <p class="topless"><a href="log.html"
         
     | 
| 
      
 244 
     | 
    
         
            +
                                    title="previous chapter">8.13. Log</a></p>
         
     | 
| 
      
 245 
     | 
    
         
            +
              <h4>Next topic</h4>
         
     | 
| 
      
 246 
     | 
    
         
            +
              <p class="topless"><a href="api.html"
         
     | 
| 
      
 247 
     | 
    
         
            +
                                    title="next chapter">8.15. API</a></p>
         
     | 
| 
      
 248 
     | 
    
         
            +
              <h3>This Page</h3>
         
     | 
| 
      
 249 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 250 
     | 
    
         
            +
                <li><a href="../_sources/reference/tuning.txt"
         
     | 
| 
      
 251 
     | 
    
         
            +
                       rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 252 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 253 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
      
 254 
     | 
    
         
            +
              <h3>Quick search</h3>
         
     | 
| 
      
 255 
     | 
    
         
            +
                <form class="search" action="../search.html" method="get">
         
     | 
| 
      
 256 
     | 
    
         
            +
                  <input type="text" name="q" />
         
     | 
| 
      
 257 
     | 
    
         
            +
                  <input type="submit" value="Go" />
         
     | 
| 
      
 258 
     | 
    
         
            +
                  <input type="hidden" name="check_keywords" value="yes" />
         
     | 
| 
      
 259 
     | 
    
         
            +
                  <input type="hidden" name="area" value="default" />
         
     | 
| 
      
 260 
     | 
    
         
            +
                </form>
         
     | 
| 
      
 261 
     | 
    
         
            +
                <p class="searchtip" style="font-size: 90%">
         
     | 
| 
      
 262 
     | 
    
         
            +
                Enter search terms or a module, class or function name.
         
     | 
| 
      
 263 
     | 
    
         
            +
                </p>
         
     | 
| 
      
 264 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 265 
     | 
    
         
            +
            <script type="text/javascript">$('#searchbox').show(0);</script>
         
     | 
| 
      
 266 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 267 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 268 
     | 
    
         
            +
                  <div class="clearer"></div>
         
     | 
| 
      
 269 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 270 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
      
 271 
     | 
    
         
            +
                  <h3>Navigation</h3>
         
     | 
| 
      
 272 
     | 
    
         
            +
                  <ul>
         
     | 
| 
      
 273 
     | 
    
         
            +
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
      
 274 
     | 
    
         
            +
                      <a href="../genindex.html" title="General Index"
         
     | 
| 
      
 275 
     | 
    
         
            +
                         >index</a></li>
         
     | 
| 
      
 276 
     | 
    
         
            +
                    <li class="right" >
         
     | 
| 
      
 277 
     | 
    
         
            +
                      <a href="api.html" title="8.15. API"
         
     | 
| 
      
 278 
     | 
    
         
            +
                         >next</a> |</li>
         
     | 
| 
      
 279 
     | 
    
         
            +
                    <li class="right" >
         
     | 
| 
      
 280 
     | 
    
         
            +
                      <a href="log.html" title="8.13. Log"
         
     | 
| 
      
 281 
     | 
    
         
            +
                         >previous</a> |</li>
         
     | 
| 
      
 282 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v3.0.9 documentation</a> »</li>
         
     | 
| 
      
 283 
     | 
    
         
            +
                      <li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li> 
         
     | 
| 
      
 284 
     | 
    
         
            +
                  </ul>
         
     | 
| 
      
 285 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 286 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
      
 287 
     | 
    
         
            +
                    © Copyright 2009-2013, Brazil, Inc.
         
     | 
| 
      
 288 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 289 
     | 
    
         
            +
              </body>
         
     | 
| 
      
 290 
     | 
    
         
            +
            </html>
         
     |