rroonga 3.1.0-x86-mingw32 → 3.1.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.textile +1 -1
- data/bin/grndump +5 -4
- data/bin/grntest-log-analyze +5 -4
- data/bin/groonga-database-inspect +11 -2
- data/bin/groonga-index-dump +1 -0
- data/doc/text/news.textile +21 -0
- data/ext/groonga/rb-grn-expression.c +3 -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/database-inspector.rb +34 -8
- data/rroonga-build.rb +1 -1
- data/test/test-database-inspector.rb +55 -5
- data/test/test-expression.rb +65 -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/include/groonga/groonga.h +15 -4
- 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/characteristic.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/com.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/query.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +39 -39
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +1 -1
- 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 -43
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 +3 -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 +3 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +91 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +2 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +3 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +118 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +76 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +18 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +69 -69
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +132 -132
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +43 -53
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +46 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/contribution.html +73 -73
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/genindex.html +47 -7
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +50 -46
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +16 -52
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -11
- 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 +8 -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 +18 -62
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- 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 +6 -6
- 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/news.html +225 -179
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +105 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +11 -11
- 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/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- 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 +7 -7
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -6
- 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 +8 -8
- 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 +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- 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/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +331 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +28 -28
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- 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/tsv.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/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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference.html +16 -15
- 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/gqtp.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/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- 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/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +168 -14
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +12 -7
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/com.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/query.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +39 -39
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +1 -1
- 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 -43
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 +3 -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 +3 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +91 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +2 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +3 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +118 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +76 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +18 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/community.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +71 -71
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +134 -134
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +45 -55
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +54 -44
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +76 -76
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +47 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +55 -51
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +28 -60
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +18 -18
- 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 +21 -21
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +33 -73
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/install.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +242 -182
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +105 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +329 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference.html +16 -15
- 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/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +169 -14
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +15 -15
- 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 +7 -7
- 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 +33 -34
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +12 -7
- 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 +1156 -808
- data/vendor/local/share/man/man1/groonga.1 +1682 -1337
- metadata +142 -142
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grntest.txt +0 -273
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +0 -410
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grntest.txt +0 -273
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +0 -411
@@ -21,7 +21,7 @@ status - groongaプロセスの状態表示
|
|
21
21
|
説明
|
22
22
|
----
|
23
23
|
|
24
|
-
|
24
|
+
Groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
25
25
|
|
26
26
|
statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。
|
27
27
|
|
@@ -42,7 +42,7 @@ json形式
|
|
42
42
|
|
43
43
|
``alloc_count``
|
44
44
|
|
45
|
-
groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。
|
45
|
+
groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。Groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合があります。
|
46
46
|
|
47
47
|
``starttime``
|
48
48
|
|
@@ -52,7 +52,7 @@ and is ``TABLE_NO_KEY`` type.
|
|
52
52
|
|
53
53
|
If your records aren't searched by key, ``TABLE_NO_KEY`` type table is
|
54
54
|
suitable. Because ``TABLE_NO_KEY`` doesn't support key but it is fast
|
55
|
-
and small table. Storing logs into
|
55
|
+
and small table. Storing logs into Groonga database is the case.
|
56
56
|
|
57
57
|
If your records are searched by key or referenced by one or more
|
58
58
|
columns, ``TABLE_NO_KEY`` type isn't suitable. Lexicon for fulltext
|
@@ -172,7 +172,7 @@ Here are available characters:
|
|
172
172
|
character.)
|
173
173
|
|
174
174
|
You need to create a name with one or more the above chracters. Note
|
175
|
-
that you cannot use ``_`` as the first
|
175
|
+
that you cannot use ``_`` as the first character such as
|
176
176
|
``_name``.
|
177
177
|
|
178
178
|
``flags``
|
@@ -198,7 +198,7 @@ Here are available flags:
|
|
198
198
|
+--------------------+------------------------------+
|
199
199
|
|
200
200
|
.. note::
|
201
|
-
Since
|
201
|
+
Since Groonga 2.1.0 ``KEY_NORMALIZE`` flag is deprecated. Use
|
202
202
|
``normalizer`` option with ``NormalizerAuto`` instead.
|
203
203
|
|
204
204
|
You must specify one of ``TABLE_${TYPE}`` flags. You cannot specify two
|
@@ -253,6 +253,8 @@ See :doc:`/reference/tokenizers` for all tokenizers
|
|
253
253
|
|
254
254
|
The default value is none.
|
255
255
|
|
256
|
+
.. _table-create-normalizer:
|
257
|
+
|
256
258
|
``normalizer``
|
257
259
|
^^^^^^^^^^^^^^
|
258
260
|
|
@@ -19,7 +19,7 @@ table_list - DBに定義されているテーブルをリスト表示
|
|
19
19
|
説明
|
20
20
|
----
|
21
21
|
|
22
|
-
|
22
|
+
Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
23
23
|
|
24
24
|
table_listは、DBに定義されているテーブルのリストを表示します。
|
25
25
|
|
data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt
CHANGED
@@ -129,7 +129,7 @@ groonga-benchmark命令
|
|
129
129
|
|
130
130
|
test_local コマンドファイル 入力ファイル名
|
131
131
|
コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。
|
132
|
-
|
132
|
+
|
133
133
|
|
134
134
|
コマンドファイル
|
135
135
|
^^^^^^^^^^^^^^^^
|
@@ -192,10 +192,10 @@ groonga-benchmark命令
|
|
192
192
|
|
193
193
|
|
194
194
|
groonga-benchmark実行結果
|
195
|
-
|
195
|
+
-------------------------
|
196
196
|
|
197
197
|
groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
|
198
|
-
に送信されます。ログファイルは以下のようなjson形式のテキストです。
|
198
|
+
に送信されます。ログファイルは以下のようなjson形式のテキストです。
|
199
199
|
|
200
200
|
::
|
201
201
|
|
@@ -248,7 +248,7 @@ groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリ
|
|
248
248
|
ency": 831495, "self": 762519, "qps": 1967.164097, "min": 73, "max": 135631, "queries": 15
|
249
249
|
00}]},
|
250
250
|
{"total": 915408, "qps": 1718.359464, "queries": 1573}]
|
251
|
-
|
251
|
+
|
252
252
|
|
253
253
|
|
254
254
|
制限事項
|
@@ -0,0 +1,118 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: between
|
7
|
+
|
8
|
+
between
|
9
|
+
=======
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``between`` is used for checking the specified value exists in the specific range.
|
15
|
+
It is often used for combination with :ref:`select-filter` option in :doc:`/reference/commands/select`.
|
16
|
+
|
17
|
+
Syntax
|
18
|
+
------
|
19
|
+
|
20
|
+
``between`` has five parameters::
|
21
|
+
|
22
|
+
between(column_or_value, min, min_border, max, max_border)
|
23
|
+
|
24
|
+
|
25
|
+
Usage
|
26
|
+
-----
|
27
|
+
|
28
|
+
Here are a schema definition and sample data to show usage.::
|
29
|
+
|
30
|
+
table_create Users TABLE_HASH_KEY ShortText
|
31
|
+
column_create Users age COLUMN_SCALAR Int32
|
32
|
+
table_create Ages TABLE_HASH_KEY Int32
|
33
|
+
column_create Ages user_age COLUMN_INDEX Users age
|
34
|
+
load --table Users
|
35
|
+
[
|
36
|
+
{"_key": "Alice", "age": 12},
|
37
|
+
{"_key": "Bob", "age": 13},
|
38
|
+
{"_key": "Calros", "age": 15},
|
39
|
+
{"_key": "Dave", "age": 16},
|
40
|
+
{"_key": "Eric", "age": 20}
|
41
|
+
{"_key": "Frank", "age": 21}
|
42
|
+
]
|
43
|
+
|
44
|
+
.. groonga-command
|
45
|
+
.. table_create Users TABLE_HASH_KEY ShortText
|
46
|
+
.. column_create Users age COLUMN_SCALAR Int32
|
47
|
+
.. table_create Ages TABLE_HASH_KEY Int32
|
48
|
+
.. column_create Ages user_age COLUMN_INDEX Users age
|
49
|
+
.. load --table Users
|
50
|
+
.. [
|
51
|
+
.. {"_key": "Alice", "age": 12},
|
52
|
+
.. {"_key": "Bob", "age": 13},
|
53
|
+
.. {"_key": "Calros", "age": 15},
|
54
|
+
.. {"_key": "Dave", "age": 16},
|
55
|
+
.. {"_key": "Eric", "age": 20}
|
56
|
+
.. {"_key": "Frank", "age": 21}
|
57
|
+
.. ]
|
58
|
+
|
59
|
+
Here is the query to show the persons to match PG-13 rating (MPAA).
|
60
|
+
|
61
|
+
.. groonga-command
|
62
|
+
.. include:: ../../example/reference/functions/between/usage_age.log
|
63
|
+
.. select Users --filter 'between(age, 13, "include", 16, "include")'
|
64
|
+
|
65
|
+
It returns 13, 14, 15 and 16 years old users.
|
66
|
+
|
67
|
+
``between`` function accepts not only a column of table, but also the value.
|
68
|
+
|
69
|
+
If you specify the value as 1st parameter, it is checked whether the value is included or not. if it matches to the specified range, it returns the all records because ``between`` function returns true.
|
70
|
+
|
71
|
+
If it doesn't match to the specified range, it returns no records because ``between`` function returns false.
|
72
|
+
|
73
|
+
.. groonga-command
|
74
|
+
.. include:: ../../example/reference/functions/between/usage_value.log
|
75
|
+
.. select Users --filter 'between(14, 13, "include", 16, "include")'
|
76
|
+
|
77
|
+
In the above case, it returns all the records, because 14 exists in between 13 and 16.
|
78
|
+
This behavior is used for checking the specified value exists or not in the table.
|
79
|
+
|
80
|
+
Parameters
|
81
|
+
----------
|
82
|
+
|
83
|
+
There are five required parameters, ``column_or_value``, and ``min``, ``min_border``, ``max`` and ``max_border``.
|
84
|
+
|
85
|
+
``column_or_value``
|
86
|
+
^^^^^^^^^^^^^^^^^^^
|
87
|
+
|
88
|
+
It specifies a column of the table or the value.
|
89
|
+
|
90
|
+
``min``
|
91
|
+
^^^^^^^^^^^^^^^^^^^
|
92
|
+
|
93
|
+
It specifies the minimal border value of the range.
|
94
|
+
You can control the behavior that the value of ``max`` is included or excluded by ``max_border`` parameter.
|
95
|
+
|
96
|
+
``min_border``
|
97
|
+
^^^^^^^^^^^^^^^^^^^
|
98
|
+
|
99
|
+
It specifies whether the specified range contains the value of ``min`` or not.
|
100
|
+
The value of ``min_border`` are either "include" or "exclude". If it is "include", ``min`` value is included. If it is "exclude", ``min`` value is not included.
|
101
|
+
|
102
|
+
``max``
|
103
|
+
^^^^^^^^^^^^^^^^^^^
|
104
|
+
|
105
|
+
It specifies the maximum border value of the range.
|
106
|
+
You can control the behavior that the value of ``max`` is included or excluded by ``max_border`` parameter.
|
107
|
+
|
108
|
+
``max_border``
|
109
|
+
^^^^^^^^^^^^^^^^^^^
|
110
|
+
|
111
|
+
It specifies whether the specified range contains the value of ``max`` or not.
|
112
|
+
The value of ``max_border`` are either "include" or "exclude". If it is "include", ``max`` value is included. If it is "exclude", ``max`` value is not included.
|
113
|
+
|
114
|
+
Return value
|
115
|
+
------------
|
116
|
+
|
117
|
+
``between`` returns whether the value of column exists in specified the value of range or not. If record is matched to specified the value of range, it returns true. Otherwise, it returns false.
|
118
|
+
|
@@ -964,7 +964,7 @@ registered as keys of the table of ``_key``.
|
|
964
964
|
|
965
965
|
Note that the table must be patricia trie (``TABLE_PAT_KEY``) or
|
966
966
|
double array trie (``TABLE_DAT_KEY``). You can't use hash table
|
967
|
-
(``TABLE_HASH_KEY``) and array (``TABLE_NO_KEY``)
|
967
|
+
(``TABLE_HASH_KEY``) and array (``TABLE_NO_KEY``) because they don't
|
968
968
|
support longest common prefix search. Longest common prefix search is
|
969
969
|
used to implement the operator.
|
970
970
|
|
@@ -16,7 +16,7 @@ tokenizing text and storing table key. For example, ``A`` and ``a``
|
|
16
16
|
are processed as the same character after normalization.
|
17
17
|
|
18
18
|
Normalizer module can be added as a plugin. You can customize text
|
19
|
-
normalization by registering your normalizer plugins to
|
19
|
+
normalization by registering your normalizer plugins to Groonga.
|
20
20
|
|
21
21
|
A normalizer module is attached to a table. A table can have zero or
|
22
22
|
one normalizer module. You can attach a normalizer module to a table
|
@@ -35,12 +35,12 @@ normalizer module:
|
|
35
35
|
Groonga 2.0.9 or earlier doesn't have ``--normalizer`` option in
|
36
36
|
``table_create``. ``KEY_NORMALIZE`` flag was used instead.
|
37
37
|
|
38
|
-
You can open an old database by
|
39
|
-
database means that the database is created by
|
40
|
-
earlier. But you cannot open the opened old database by
|
41
|
-
2.0.9 or earlier. Once you open the old database by
|
38
|
+
You can open an old database by Groonga 2.1.0 or later. An old
|
39
|
+
database means that the database is created by Groonga 2.0.9 or
|
40
|
+
earlier. But you cannot open the opened old database by Groonga
|
41
|
+
2.0.9 or earlier. Once you open the old database by Groonga 2.1.0
|
42
42
|
or later, ``KEY_NORMALIZE`` flag information in the old database is
|
43
|
-
converted to normalizer information. So
|
43
|
+
converted to normalizer information. So Groonga 2.0.9 or earlier
|
44
44
|
cannot find ``KEY_NORMALIZE`` flag information in the opened old
|
45
45
|
database.
|
46
46
|
|
@@ -77,10 +77,10 @@ Here is a list of built-in normalizers:
|
|
77
77
|
^^^^^^^^^^^^^^^^^^
|
78
78
|
|
79
79
|
Normally you should use ``NormalizerAuto``
|
80
|
-
normalizer. ``NormalizerAuto`` was the normalizer for
|
81
|
-
earlier. ``KEY_NORMALIZE`` flag in ``table_create`` on
|
80
|
+
normalizer. ``NormalizerAuto`` was the normalizer for Groonga 2.0.9 or
|
81
|
+
earlier. ``KEY_NORMALIZE`` flag in ``table_create`` on Groonga 2.0.9
|
82
82
|
or earlier equals to ``--normalizer NormalizerAuto`` option in
|
83
|
-
``table_create`` on
|
83
|
+
``table_create`` on Groonga 2.1.0 or later.
|
84
84
|
|
85
85
|
``NormalizerAuto`` supports all encoding. It uses Unicode NFKC
|
86
86
|
(Normalization Form Compatibility Composition) for UTF-8 encoding
|
@@ -125,8 +125,8 @@ Here is a list of additional normalizers provided by ``groonga-normalizer-mysql`
|
|
125
125
|
* ``NormalizerMySQLUnicodeCI``
|
126
126
|
* ``NormalizerMySQLUnicodeCIExceptKanaCIKanaWithVoicedSoundMark``
|
127
127
|
|
128
|
-
``groonga-normalizer-mysql`` is a
|
129
|
-
It provides MySQL compatible normalizers to
|
128
|
+
``groonga-normalizer-mysql`` is a Groonga plugin.
|
129
|
+
It provides MySQL compatible normalizers to Groonga.
|
130
130
|
``NormalizerMySQLGeneralCI`` corresponds to ``utf8mb4_general_ci``.
|
131
131
|
|
132
132
|
You need to register ``normalizers/mysql`` plugin in advance.
|
@@ -116,7 +116,7 @@ can always map database files onto memory. It is no problem until
|
|
116
116
|
groonga touch mapped database files that their size is larger than
|
117
117
|
memory and swap. Groonga recommends the configuration.
|
118
118
|
|
119
|
-
See `Linux kernel
|
119
|
+
See `Linux kernel documentation about overcommit
|
120
120
|
<https://www.kernel.org/doc/Documentation/vm/overcommit-accounting>`_
|
121
121
|
about ``vm.overcommit_memory`` parameter details.
|
122
122
|
|
@@ -8,16 +8,16 @@
|
|
8
8
|
名前
|
9
9
|
----
|
10
10
|
|
11
|
-
|
11
|
+
Groonga データ型
|
12
12
|
|
13
13
|
説明
|
14
14
|
----
|
15
15
|
|
16
|
-
|
16
|
+
Groonga は、格納するデータの型を区別します。
|
17
17
|
|
18
|
-
|
18
|
+
Groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの値は共通となります。
|
19
19
|
|
20
|
-
主キーの型とカラムの型には、
|
20
|
+
主キーの型とカラムの型には、Groongaで予め定義済みの型か、ユーザが定義する型、またはユーザが定義したテーブルを指定することができます。
|
21
21
|
|
22
22
|
主キーの型に他のテーブルを指定する場合は、そのテーブルは、主キーの型となるテーブルのサブセットとなります。
|
23
23
|
|
@@ -120,7 +120,7 @@ Text型とLongText型については、テーブルの主キーに指定する
|
|
120
120
|
ベクターとして格納できない型
|
121
121
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
122
122
|
|
123
|
-
|
123
|
+
Groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。
|
124
124
|
|
125
125
|
テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。
|
126
126
|
|
@@ -15,9 +15,9 @@ Groonga is a full text search engine but also serves as a column-oriented data s
|
|
15
15
|
Overview
|
16
16
|
--------
|
17
17
|
|
18
|
-
The basic data types of
|
18
|
+
The basic data types of Groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`.
|
19
19
|
|
20
|
-
In addition,
|
20
|
+
In addition, Groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element.
|
21
21
|
|
22
22
|
First, let's create a table for this tutorial.
|
23
23
|
|
@@ -82,12 +82,12 @@ The following example creates a ShortText column and updates existing records. T
|
|
82
82
|
Date and time type
|
83
83
|
------------------
|
84
84
|
|
85
|
-
The date and time type of
|
85
|
+
The date and time type of Groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that :doc:`/reference/commands/load` and :doc:`/reference/commands/select` commands use a decimal number to represent a data and time in seconds. The default value is 0.0, which means the Epoch.
|
86
86
|
|
87
87
|
.. note::
|
88
88
|
|
89
89
|
Groonga internally holds the value of Epoch as pair of integer. The first integer represents the value of seconds, on the other hand, the second integer represents the value of micro seconds.
|
90
|
-
So,
|
90
|
+
So, Groonga shows the value of Epoch as floating point. Integral part means the value of seconds, fraction part means the value of micro seconds.
|
91
91
|
|
92
92
|
The following example creates a Time column and updates existing records. The first record has the default value because not updated.
|
93
93
|
|
@@ -104,7 +104,7 @@ The following example creates a Time column and updates existing records. The fi
|
|
104
104
|
Longitude and latitude types
|
105
105
|
----------------------------
|
106
106
|
|
107
|
-
The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude,
|
107
|
+
The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude, Groonga uses a string formatted as follows:
|
108
108
|
|
109
109
|
* "longitude x latitude" in milliseconds (e.g.: "128452975x503157902")
|
110
110
|
* "longitude x latitude" in degrees (e.g.: "35.6813819x139.7660839")
|
@@ -7,12 +7,25 @@
|
|
7
7
|
.. groonga-command
|
8
8
|
.. database: tutorial
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Drilldown
|
11
|
+
=========
|
12
12
|
|
13
|
-
|
13
|
+
You learned how to filter search results and sort ones in the previous sections.
|
14
|
+
Now that you can search as you likes, but how do you summarize the number of records which has specific value in the column?
|
14
15
|
|
15
|
-
|
16
|
+
As you know, there is a naive solution to execute query by every the value of column, then you can get the number of records as a result. It is a simple way, but it is not reasonable to many records.
|
17
|
+
|
18
|
+
If you are familiar with SQL, you will doubt with "Is there a similar SQL functionality to ``GROUP BY`` in Groonga?".
|
19
|
+
|
20
|
+
Of course, Groonga provides such a functionality. It's called as ``drilldown``.
|
21
|
+
|
22
|
+
``drilldown`` enables you to get the number of records which belongs to specific the value of column at once.
|
23
|
+
|
24
|
+
To illustrate this feature, imagine the case that classification by domain and grouping by country that domain belongs to.
|
25
|
+
|
26
|
+
Here is the concrete examples how to use this feature.
|
27
|
+
|
28
|
+
In this example, we add two columns to ``Site`` table. ``domain`` column is used for TLD (top level domain). ``country`` column is used for country name. The type of these columns are ``SiteDomain`` table which uses domain name as a primary key and ``SiteCountry`` table which uses country name as a primary key.
|
16
29
|
|
17
30
|
.. groonga-command
|
18
31
|
.. include:: ../example/tutorial/drilldown-1.log
|
@@ -33,34 +46,83 @@ Siteテーブルに2つのカラムを追加します。TLDドメイン名を
|
|
33
46
|
.. {"_key":"http://example.com/vdw","domain":".com","country":"japan"}
|
34
47
|
.. ]
|
35
48
|
|
36
|
-
domain
|
49
|
+
Here is a example of drilldown with ``domain`` column. Three kind of values are used in ``domain`` column - ".org", ".net" and ".com".
|
37
50
|
|
38
51
|
.. groonga-command
|
39
|
-
.. include:: ../example/tutorial/drilldown-
|
52
|
+
.. include:: ../example/tutorial/drilldown-domain.log
|
40
53
|
.. select --table Site --limit 0 --drilldown domain
|
41
54
|
|
42
|
-
|
55
|
+
|
56
|
+
Here is a summary of above query.
|
57
|
+
|
58
|
+
.. list-table:: Drilldown by ``domain`` column
|
59
|
+
:header-rows: 1
|
60
|
+
|
61
|
+
* - Group by
|
62
|
+
- The number of group records
|
63
|
+
- Group records means following records
|
64
|
+
* - .org
|
65
|
+
- 3
|
66
|
+
- * http://example.org/
|
67
|
+
* http://example.org/aba
|
68
|
+
* http://example.org/gat
|
69
|
+
* - .net
|
70
|
+
- 3
|
71
|
+
- * http://example.net/
|
72
|
+
* http://example.net/afr
|
73
|
+
* http://example.net/atv
|
74
|
+
* - .com
|
75
|
+
- 3
|
76
|
+
- * http://example.com/
|
77
|
+
* http://example.com/rab
|
78
|
+
* http://example.com/vdw
|
79
|
+
|
80
|
+
|
81
|
+
The value of drilldown are returned as the value of ``_nsubrecs`` column. In this case, ``Site`` table is grouped by ".org", ".net", ".com" domain. ``_nsubrecs`` shows that each three domain has three records.
|
82
|
+
|
83
|
+
If you execute drildown to the column which has table as a type, you can get the value of column which is stored in referenced table.
|
84
|
+
``_nsubrecs`` pseudo column is added to the table which is used for drilldown. this pseudo column stores the number of records which is grouped by.
|
85
|
+
|
86
|
+
Then, investigate referenced table in detail. As ``Site`` table use ``SiteDomain`` table as column type of ``domain``, you can use ``--drilldown_output_columns`` to know detail of referenced column.
|
43
87
|
|
44
88
|
.. groonga-command
|
45
|
-
.. include:: ../example/tutorial/drilldown-
|
89
|
+
.. include:: ../example/tutorial/drilldown-output-columns.log
|
46
90
|
.. select --table Site --limit 0 --drilldown domain --drilldown_output_columns _id,_key,_nsubrecs
|
47
91
|
|
48
|
-
|
92
|
+
Now, you can see detail of each grouped domain, drilldown by ``country`` column which has ".org" as column value.
|
93
|
+
|
94
|
+
.. groonga-command
|
95
|
+
.. include:: ../example/tutorial/drilldown-country.log
|
96
|
+
.. select --table Site --limit 0 --filter "domain._id == 1" --drilldown country
|
97
|
+
|
98
|
+
Drilldown with multiple column
|
99
|
+
------------------------------
|
100
|
+
|
101
|
+
Drilldown feature supports multiple column. Use comma separated multiple column names as ``drildown`` parameter.
|
102
|
+
You can get the each result of drilldown at once.
|
49
103
|
|
50
104
|
.. groonga-command
|
51
|
-
.. include:: ../example/tutorial/drilldown-
|
105
|
+
.. include:: ../example/tutorial/drilldown-multiple-column.log
|
52
106
|
.. select --table Site --limit 0 --drilldown domain,country
|
53
107
|
|
54
|
-
|
108
|
+
|
109
|
+
Sorting drildown results
|
110
|
+
------------------------
|
111
|
+
|
112
|
+
Use ``--drilldown_sortby`` if you want to sort the result of drilldown. For example, specify ``_nsubrecs`` as ascending order.
|
55
113
|
|
56
114
|
.. groonga-command
|
57
|
-
.. include:: ../example/tutorial/drilldown-
|
115
|
+
.. include:: ../example/tutorial/drilldown-sortby.log
|
58
116
|
.. select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs
|
59
117
|
|
60
|
-
|
118
|
+
|
119
|
+
limits drildown results
|
120
|
+
------------------------
|
121
|
+
|
122
|
+
The number of drilldown results is limited to 10 as a default. Use ``drilldown_limits`` and ``drilldown_offset`` parameter to customize orilldown results.
|
61
123
|
|
62
124
|
.. groonga-command
|
63
|
-
.. include:: ../example/tutorial/drilldown-
|
125
|
+
.. include:: ../example/tutorial/drilldown-limit.log
|
64
126
|
.. select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs --drilldown_limit 2 --drilldown_offset 2
|
65
127
|
|
66
128
|
文字列型のカラムに対するドリルダウンは、他の型でのドリルダウンに比べて低速です。文字列でのドリルダウンを行いたい場合には、このチュートリアルのように、文字列型を主キーとするテーブルを別途作成し、そのテーブルを型とするカラムを作成します。
|
@@ -10,9 +10,9 @@
|
|
10
10
|
タグ検索・参照関係の逆引き
|
11
11
|
==========================
|
12
12
|
|
13
|
-
本チュートリアルで、
|
13
|
+
本チュートリアルで、Groongaはカラム値として他のテーブルへの参照の配列を持つことができることを紹介いたしました。実は、テーブルへの参照の配列データを用いることによって、いわゆるタグ検索を行うことが可能となります。
|
14
14
|
|
15
|
-
タグ検索は
|
15
|
+
タグ検索はGroongaの転置インデックスというデータ構造を用いて高速に行われます。
|
16
16
|
|
17
17
|
タグ検索
|
18
18
|
--------
|
@@ -58,7 +58,7 @@
|
|
58
58
|
参照関係の逆引き
|
59
59
|
----------------
|
60
60
|
|
61
|
-
|
61
|
+
Groongaはテーブル間の参照関係の逆引きを高速に行うためのインデックスを付与することができます。タグ検索は、その1例にすぎません。
|
62
62
|
|
63
63
|
例えば、ソーシャルネットワーキングサイトにおける友人関係を逆引き検索することができます。
|
64
64
|
|
@@ -8,12 +8,12 @@
|
|
8
8
|
Basic operations
|
9
9
|
================
|
10
10
|
|
11
|
-
A
|
11
|
+
A Groonga package provides a C library (libgroonga) and a command line tool (groonga). This tutorial explains how to use the command line tool, with which you can create/operate databases, start a server, establish a connection with a server, etc.
|
12
12
|
|
13
13
|
Create a database
|
14
14
|
-----------------
|
15
15
|
|
16
|
-
The first step to using
|
16
|
+
The first step to using Groonga is to create a new database. The following shows how to do it.
|
17
17
|
|
18
18
|
Form::
|
19
19
|
|
@@ -21,7 +21,7 @@ Form::
|
|
21
21
|
|
22
22
|
The `-n` option specifies to create a new database and DB_PATH specifies the path of the new database. Actually, a database consists of a series of files and DB_PATH specifies the file which will be the entrance to the new database. DB_PATH also specifies the path prefix for other files. Note that database creation fails if DB_PATH points to an existing file.
|
23
23
|
|
24
|
-
This command creates a new database and then enters into interactive mode in which
|
24
|
+
This command creates a new database and then enters into interactive mode in which Groonga prompts you to enter commands for operating that database. You can terminate this mode with Ctrl-d.
|
25
25
|
|
26
26
|
.. groonga-command
|
27
27
|
.. include:: ../example/tutorial/introduction-1.log
|
@@ -40,9 +40,9 @@ Form::
|
|
40
40
|
|
41
41
|
DB_PATH specifies the path of a target database. This command fails if the specified database does not exist.
|
42
42
|
|
43
|
-
If COMMAND is specified,
|
43
|
+
If COMMAND is specified, Groonga executes COMMAND and returns the result. Otherwise, Groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode.
|
44
44
|
|
45
|
-
Let's see the status of a
|
45
|
+
Let's see the status of a Groonga process by using a :doc:`/reference/commands/status` command.
|
46
46
|
|
47
47
|
.. groonga-command
|
48
48
|
.. include:: ../example/tutorial/introduction-2.log
|
@@ -72,7 +72,7 @@ Basic commands
|
|
72
72
|
--------------
|
73
73
|
|
74
74
|
:doc:`/reference/commands/status`
|
75
|
-
shows status of a
|
75
|
+
shows status of a Groonga process.
|
76
76
|
:doc:`/reference/commands/table_list`
|
77
77
|
shows a list of tables in a database.
|
78
78
|
:doc:`/reference/commands/column_list`
|
@@ -114,7 +114,7 @@ A :doc:`/reference/commands/select` command can enumerate records in a table.
|
|
114
114
|
|
115
115
|
When only a table name is specified with a `table` parameter, a :doc:`/reference/commands/select` command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. ["_id","Uint32"] is a column of UInt32, named _id. ["_key","ShortText"] is a column of ShortText, named _key.
|
116
116
|
|
117
|
-
The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by
|
117
|
+
The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by Groonga. The _key column is associated with the primary key. You are not allowed to rename these columns.
|
118
118
|
|
119
119
|
Create a column
|
120
120
|
---------------
|
@@ -209,7 +209,7 @@ The `table` parameter specifies the index table and the `name` parameter specifi
|
|
209
209
|
|
210
210
|
.. note::
|
211
211
|
|
212
|
-
You can create a lexicon table and index columns before/during/after loading records. If a target column already has records,
|
212
|
+
You can create a lexicon table and index columns before/during/after loading records. If a target column already has records, Groonga creates an inverted index in a static manner. In contrast, if you load records into an already indexed column, Groonga updates the inverted index in a dynamic manner.
|
213
213
|
|
214
214
|
Full text search
|
215
215
|
----------------
|
@@ -5,7 +5,7 @@
|
|
5
5
|
全文検索の語彙表に対する追加情報
|
6
6
|
================================
|
7
7
|
|
8
|
-
|
8
|
+
Groongaでは、全文検索に用いるための語意表がテーブルとして扱えます。よって、語彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストップワードのフラグ、単語の重要度などを保持することができます。
|
9
9
|
|
10
10
|
この項目については、現在執筆中です。
|
11
11
|
|
@@ -11,9 +11,9 @@ match_columnsパラメータ
|
|
11
11
|
複数のカラムを対象とした全文検索
|
12
12
|
--------------------------------
|
13
13
|
|
14
|
-
|
14
|
+
Groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとしましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。
|
15
15
|
|
16
|
-
この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つずつインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのインデックスを付与する方式です。
|
16
|
+
この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つずつインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのインデックスを付与する方式です。Groongaでは、どちらの形式のインデックスが存在している場合でも、同一の記法で全文検索を行うことができます。
|
17
17
|
|
18
18
|
カラムごとにインデックスを付与する場合
|
19
19
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
@@ -148,7 +148,7 @@ You can write the query that search the records which contains specified keyword
|
|
148
148
|
|
149
149
|
Query for searching the records described above::
|
150
150
|
|
151
|
-
select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
151
|
+
select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
152
152
|
|
153
153
|
You need to concatenate comment column of Articles table and content column of Comments table with period(.) as --match_columns arguments.
|
154
154
|
|
@@ -157,7 +157,7 @@ At first, this query execute fulltext search from content of Comments table, the
|
|
157
157
|
|
158
158
|
.. groonga-command
|
159
159
|
.. include:: ../example/tutorial/match_columns-nested-index-select.log
|
160
|
-
.. select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
160
|
+
.. select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
161
161
|
|
162
162
|
Now, you can search articles which contains specific keywords as a comment.
|
163
163
|
|
@@ -207,15 +207,15 @@ Here is the sample data.
|
|
207
207
|
|
208
208
|
Query for searching the records described above::
|
209
209
|
|
210
|
-
select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
211
|
-
select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
210
|
+
select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
211
|
+
select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
212
212
|
|
213
213
|
The first query searches 'mroonga' from Comments2 table, the second one searches 'mroonga' from Replies2 and Comment2 table by using reference column index.
|
214
214
|
|
215
215
|
.. groonga-command
|
216
216
|
.. include:: ../example/tutorial/match_columns-nested-index-select-with-three-relationship.log
|
217
|
-
.. select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
218
|
-
.. select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
217
|
+
.. select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
218
|
+
.. select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
219
219
|
|
220
220
|
As a result, the first query matches two article because of Comments2 table has two records which contains 'mroonga' as keyword.
|
221
221
|
|