rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,176 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Tuning
|
6
|
+
======
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
There are some tuning parameters for improving groonga performance or
|
12
|
+
handling a large database.
|
13
|
+
|
14
|
+
Parameters
|
15
|
+
----------
|
16
|
+
|
17
|
+
This section describes parameters.
|
18
|
+
|
19
|
+
.. _tuning-max-n-open-files:
|
20
|
+
|
21
|
+
The max number of open files per process
|
22
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
23
|
+
|
24
|
+
This parameter is for handling a large database.
|
25
|
+
|
26
|
+
Groonga creates one or more files per table and colum. If your
|
27
|
+
database has many tables and columns, groonga process needs to open
|
28
|
+
many files.
|
29
|
+
|
30
|
+
System limits the max number of open files per process. So you need to
|
31
|
+
relax the limitation.
|
32
|
+
|
33
|
+
Here is an expression that compute how many files are opened by
|
34
|
+
groonga::
|
35
|
+
|
36
|
+
3 (for DB) +
|
37
|
+
N tables +
|
38
|
+
N columns (except index clumns) +
|
39
|
+
(N index columns * 2) +
|
40
|
+
X (the number of plugins etc.)
|
41
|
+
|
42
|
+
Here is an example schema::
|
43
|
+
|
44
|
+
table_create Entries TABLE_HASH_KEY ShortText
|
45
|
+
column_create Entries content COLUMN_SCALAR Text
|
46
|
+
column_create Entries n_likes COLUMN_SCALAR UInt32
|
47
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
48
|
+
column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
49
|
+
column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
50
|
+
|
51
|
+
This example opens at least 11 files::
|
52
|
+
|
53
|
+
3 +
|
54
|
+
2 (Entries and Terms) +
|
55
|
+
2 (Entries.content and Entries.n_likes) +
|
56
|
+
4 (Terms.entries_key_index and Terms.entries_content_index) +
|
57
|
+
X = 11 + X
|
58
|
+
|
59
|
+
.. _tuning-memory-usage:
|
60
|
+
|
61
|
+
Memory usage
|
62
|
+
^^^^^^^^^^^^
|
63
|
+
|
64
|
+
This parameter is for handling a large database.
|
65
|
+
|
66
|
+
Groonga maps database files onto memory and accesses to them. Groonga
|
67
|
+
doesn't maps unnecessary files onto memory until they are nneded.
|
68
|
+
|
69
|
+
If you access to all data in database, all database files are mapped
|
70
|
+
onto memory. If total size of your database files is 6GiB, your
|
71
|
+
groonga process uses 6GiB memory.
|
72
|
+
|
73
|
+
Normally, your all database files aren't mapped onto memry. But is may
|
74
|
+
be occurred. It is an example case that you dump your database.
|
75
|
+
|
76
|
+
You must have memory and swap that is larger than database.
|
77
|
+
|
78
|
+
.. _tuning-linux:
|
79
|
+
|
80
|
+
Linux
|
81
|
+
-----
|
82
|
+
|
83
|
+
This section describes how to configure parameters on Linux.
|
84
|
+
|
85
|
+
.. _tuning-linux-nofile:
|
86
|
+
|
87
|
+
nofile
|
88
|
+
^^^^^^
|
89
|
+
|
90
|
+
You can relax the :ref:`tuning-max-n-open-files` parameter by creating
|
91
|
+
a configuration file ``/etc/security/limits.d/groonga.conf`` that has
|
92
|
+
the following content::
|
93
|
+
|
94
|
+
${USER} soft nofile ${MAX_VALUE}
|
95
|
+
${USER} hard nofile ${MAX_VALUE}
|
96
|
+
|
97
|
+
If you run ``groonga`` process by ``groonga`` user and your groonga
|
98
|
+
process needs to open less than 10000 files, use the following
|
99
|
+
configuration::
|
100
|
+
|
101
|
+
groonga soft nofile 10000
|
102
|
+
groonga hard nofile 10000
|
103
|
+
|
104
|
+
The configuration is applied after your groonga service is restarted
|
105
|
+
or re-login as your groonga user.
|
106
|
+
|
107
|
+
.. _tuning-linux-overcommit-memory:
|
108
|
+
|
109
|
+
vm.overcommit_memory
|
110
|
+
^^^^^^^^^^^^^^^^^^^^
|
111
|
+
|
112
|
+
This is :ref:`tuning-memory-usage` related parameter. You can handle a
|
113
|
+
database that is larger than your memory and swap by setting
|
114
|
+
``vm.overcommit_memory`` kernel parameter to 1. 1 means that groonga
|
115
|
+
can always map database files onto memory. It is no problem until
|
116
|
+
groonga touch mapped database files that their size is larger than
|
117
|
+
memory and swap. Groonga recommends the configuration.
|
118
|
+
|
119
|
+
See `Linux kernel documentaion about overcommit
|
120
|
+
<https://www.kernel.org/doc/Documentation/vm/overcommit-accounting>`_
|
121
|
+
about ``vm.overcommit_memory`` parameter details.
|
122
|
+
|
123
|
+
You can set the configuration by putting a configuration file
|
124
|
+
``/etc/sysctl.d/groonga.conf`` that has the following content::
|
125
|
+
|
126
|
+
vm.overcommit_memory = 1
|
127
|
+
|
128
|
+
The configuration can be applied by restarting your system or run the
|
129
|
+
following command::
|
130
|
+
|
131
|
+
% sudo sysctl -p
|
132
|
+
|
133
|
+
|
134
|
+
.. _tuning-linux-max-map-count:
|
135
|
+
|
136
|
+
vm.max_map_count
|
137
|
+
^^^^^^^^^^^^^^^^
|
138
|
+
|
139
|
+
This is :ref:`tuning-memory-usage` related parameter. You can handle a
|
140
|
+
16GiB or more larger size database by increasing ``vm.max_map_count``
|
141
|
+
kernel parameter. The parameter limits the max number of memory maps.
|
142
|
+
|
143
|
+
The default value of the kernel parameter may be 65530 or 65536.
|
144
|
+
Groonga maps 256KiB memory chunk at one time. If a database is larger
|
145
|
+
than 16GiB, groonga reaches the limitation. (``256KiB * 65536 = 16GiB``)
|
146
|
+
|
147
|
+
You needs to increase the value of the kernel parameter to handle
|
148
|
+
16GiB or more larger size database. For example, you can handle almost
|
149
|
+
32GiB size database by ``65536 * 2 = 131072``. You can set the
|
150
|
+
configuration by putting a configuration file
|
151
|
+
``/etc/sysctl.d/groonga.conf`` that has the following content::
|
152
|
+
|
153
|
+
vm.max_map_count = 131072
|
154
|
+
|
155
|
+
Note that your real confiugration file will be the following because
|
156
|
+
you already have ``vm.overcommit_memory`` configuration::
|
157
|
+
|
158
|
+
vm.overcommit_memory = 1
|
159
|
+
vm.max_map_count = 131072
|
160
|
+
|
161
|
+
The configuration can be applied by restarting your system or run the
|
162
|
+
following command::
|
163
|
+
|
164
|
+
% sudo sysctl -p
|
165
|
+
|
166
|
+
FreeBSD
|
167
|
+
-------
|
168
|
+
|
169
|
+
This section describes how to configure parameters on FreeBSD.
|
170
|
+
|
171
|
+
.. _tuning-freebsd-maxfilesperproc:
|
172
|
+
|
173
|
+
kern.maxfileperproc
|
174
|
+
^^^^^^^^^^^^^^^^^^^
|
175
|
+
|
176
|
+
TODO
|
@@ -37,6 +37,8 @@ For example, there is a registered word "日本". And "ニホン"
|
|
37
37
|
(it must be katakana) is registered as its reading. An user
|
38
38
|
can find "日本" by "ni", "二" or "に".
|
39
39
|
|
40
|
+
If you create dataset which is named as example by :doc:`/reference/executables/groonga-suggest-create-dataset` command, you can update pairs of registered word and its reading by loading data to '_key' and 'kana' column of item_example table explicitly for prefix RK search.
|
41
|
+
|
40
42
|
Cooccurrence search
|
41
43
|
^^^^^^^^^^^^^^^^^^^
|
42
44
|
|
@@ -193,3 +195,70 @@ following command::
|
|
193
195
|
{"sequence": "1", "time": 1312950804.76057, "item": "engin"},
|
194
196
|
{"sequence": "1", "time": 1312950805.86057, "item": "engine", "type": "submit"}
|
195
197
|
]
|
198
|
+
|
199
|
+
How to update RK reading data
|
200
|
+
-----------------------------
|
201
|
+
|
202
|
+
Groonga requires registered word and its reading for RK search, so load such data in the advance.
|
203
|
+
|
204
|
+
|
205
|
+
Here is the example to register "日本" which means Japanese in english.
|
206
|
+
|
207
|
+
.. groonga-command
|
208
|
+
.. include:: ../example/suggest/complete/registered-word-japan.log
|
209
|
+
.. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
210
|
+
.. [
|
211
|
+
.. {"sequence": "1", "time": 1312950805.86058, "item": "日本", "type": "submit"}
|
212
|
+
.. ]
|
213
|
+
|
214
|
+
|
215
|
+
Here is the example to update RK data to complete "日本".
|
216
|
+
|
217
|
+
.. groonga-command
|
218
|
+
.. include:: ../example/suggest/complete/update-rk-data.log
|
219
|
+
.. load --table item_query
|
220
|
+
.. [
|
221
|
+
.. {"_key":"日本", "kana":["ニホン", "ニッポン"]}
|
222
|
+
.. ]
|
223
|
+
|
224
|
+
Then you can complete registered word "日本" by RK input - "nihon".
|
225
|
+
|
226
|
+
.. groonga-command
|
227
|
+
.. include:: ../example/suggest/complete/rk-search-nihon.log
|
228
|
+
.. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
|
229
|
+
|
230
|
+
Without loading above RK data, you can't complete registered word "日本" by query - "nihon".
|
231
|
+
|
232
|
+
As the column type of item_query table is VECTOR_COLUMN, you can register multiple readings for registered word.
|
233
|
+
|
234
|
+
This is the reason that you can also complete the registered word "日本" by query - "nippon".
|
235
|
+
|
236
|
+
.. groonga-command
|
237
|
+
.. include:: ../example/suggest/complete/rk-search-nippon.log
|
238
|
+
.. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nippon
|
239
|
+
|
240
|
+
This feature is very convenient because you can search registered word even though Japanese IM is disabled.
|
241
|
+
|
242
|
+
If there are multiple candidates as completed result, you can customize priority to set the value of "boost" column in item_query table.
|
243
|
+
|
244
|
+
Here is the example to customize priority for RK search.
|
245
|
+
|
246
|
+
.. groonga-command
|
247
|
+
.. include:: ../example/suggest/complete/registered-word-japanese.log
|
248
|
+
.. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
249
|
+
.. [
|
250
|
+
.. {"sequence": "1", "time": 1312950805.86059, "item": "日本語", "type": "submit"}
|
251
|
+
.. {"sequence": "1", "time": 1312950805.86060, "item": "日本人", "type": "submit"}
|
252
|
+
.. ]
|
253
|
+
.. load --table item_query
|
254
|
+
.. [
|
255
|
+
.. {"_key":"日本語", "kana":"ニホンゴ"}
|
256
|
+
.. {"_key":"日本人", "kana":"ニホンジン"}
|
257
|
+
.. ]
|
258
|
+
.. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
|
259
|
+
.. load --table item_query
|
260
|
+
.. [
|
261
|
+
.. {"_key":"日本人", "boost": 100},
|
262
|
+
.. ]
|
263
|
+
.. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
|
264
|
+
|
data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
How to avoid mmap Cannot allocate memory error
|
6
|
+
==============================================
|
7
|
+
|
8
|
+
Example
|
9
|
+
-------
|
10
|
+
|
11
|
+
There is a case following mmap error in log file:
|
12
|
+
|
13
|
+
2013-06-04 08:19:34.835218|A|4e86e700|mmap(4194304,551,432017408)=Cannot allocate memory <13036498944>
|
14
|
+
|
15
|
+
Note that <13036498944> means total size of mmap (almost 12GB) in this case.
|
16
|
+
|
17
|
+
Solution
|
18
|
+
--------
|
19
|
+
|
20
|
+
So you need to confirm following point of views.
|
21
|
+
|
22
|
+
* Are there enough free memory?
|
23
|
+
* Are maximum number of mappings exceeded?
|
24
|
+
|
25
|
+
To check there are enough free memory, you can use vmstat command.
|
26
|
+
|
27
|
+
To check whether maximum number of mappings are exceeded, you can investigate the value of vm.max_map_count.
|
28
|
+
|
29
|
+
If this issue is fixed by modifying the value of vm.max_map_count, it's exactly the reason.
|
30
|
+
|
31
|
+
As groonga allocates memory chunks each 256KB, you can estimate the size of database you can handle by following formula:
|
32
|
+
|
33
|
+
(database size) = vm.max_map_count * (memory chunks)
|
34
|
+
|
35
|
+
If you want to handle over 16GB groonga database, you must specify at least 65536 as the value of vm.max_map_count:
|
36
|
+
|
37
|
+
database size (16GB) = vm.max_map_count (65536) * memory chunks (256KB)
|
38
|
+
|
39
|
+
You can modify vm.max_map_count temporary by sudo sysctl -w vm.max_map_count=65536.
|
40
|
+
|
41
|
+
Then save the configuration value to /etc/sysctl.conf or /etc/sysctl.d/*.conf.
|
42
|
+
|
43
|
+
See :doc:`/reference/tuning` documentation about tuning related parameters.
|
44
|
+
|
45
|
+
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>1. groongaの特徴 —
|
10
|
+
<title>1. groongaの特徴 — Groonga v3.0.9ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="
|
29
|
+
<link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="2. インストール" href="install.html" />
|
31
31
|
<link rel="prev" title="groonga ドキュメント" href="index.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="index.html" title="groonga ドキュメント"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">
|
63
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -149,7 +149,7 @@
|
|
149
149
|
<h3>このページ</h3>
|
150
150
|
<ul class="this-page-menu">
|
151
151
|
<li><a href="_sources/characteristic.txt"
|
152
|
-
rel="nofollow"
|
152
|
+
rel="nofollow">ソースコードを表示</a></li>
|
153
153
|
</ul>
|
154
154
|
<div id="searchbox" style="display: none">
|
155
155
|
<h3>クイック検索</h3>
|
@@ -180,7 +180,7 @@
|
|
180
180
|
<li class="right" >
|
181
181
|
<a href="index.html" title="groonga ドキュメント"
|
182
182
|
>前へ</a> |</li>
|
183
|
-
<li><a href="index.html">
|
183
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
184
184
|
</ul>
|
185
185
|
</div>
|
186
186
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>3. コミュニティ —
|
10
|
+
<title>3. コミュニティ — Groonga v3.0.9ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="
|
29
|
+
<link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="4. チュートリアル" href="tutorial.html" />
|
31
31
|
<link rel="prev" title="2.8. その他" href="install/others.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="install/others.html" title="2.8. その他"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">
|
63
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -119,7 +119,7 @@
|
|
119
119
|
<h3>このページ</h3>
|
120
120
|
<ul class="this-page-menu">
|
121
121
|
<li><a href="_sources/community.txt"
|
122
|
-
rel="nofollow"
|
122
|
+
rel="nofollow">ソースコードを表示</a></li>
|
123
123
|
</ul>
|
124
124
|
<div id="searchbox" style="display: none">
|
125
125
|
<h3>クイック検索</h3>
|
@@ -150,7 +150,7 @@
|
|
150
150
|
<li class="right" >
|
151
151
|
<a href="install/others.html" title="2.8. その他"
|
152
152
|
>前へ</a> |</li>
|
153
|
-
<li><a href="index.html">
|
153
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
154
154
|
</ul>
|
155
155
|
</div>
|
156
156
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>13. groongaへのコントリビュート方法 —
|
10
|
+
<title>13. groongaへのコントリビュート方法 — Groonga v3.0.9ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="
|
29
|
+
<link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="13.1. バグレポートの送り方" href="contribution/report.html" />
|
31
31
|
<link rel="prev" title="12.1. Travis CI" href="development/travis-ci.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="development/travis-ci.html" title="12.1. Travis CI"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">
|
63
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -197,7 +197,7 @@
|
|
197
197
|
<h3>このページ</h3>
|
198
198
|
<ul class="this-page-menu">
|
199
199
|
<li><a href="_sources/contribution.txt"
|
200
|
-
rel="nofollow"
|
200
|
+
rel="nofollow">ソースコードを表示</a></li>
|
201
201
|
</ul>
|
202
202
|
<div id="searchbox" style="display: none">
|
203
203
|
<h3>クイック検索</h3>
|
@@ -228,7 +228,7 @@
|
|
228
228
|
<li class="right" >
|
229
229
|
<a href="development/travis-ci.html" title="12.1. Travis CI"
|
230
230
|
>前へ</a> |</li>
|
231
|
-
<li><a href="index.html">
|
231
|
+
<li><a href="index.html">Groonga v3.0.9ドキュメント</a> »</li>
|
232
232
|
</ul>
|
233
233
|
</div>
|
234
234
|
<div class="footer">
|