rroonga 3.1.0-x64-mingw32 → 3.1.1-x64-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/Rakefile +1 -8
- 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/extconf.rb +1 -6
- 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.txt +1 -1
- 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/development.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/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.txt +39 -0
- 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/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.html +73 -73
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -23
- 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/documentation.html +17 -17
- 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/report.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +7 -7
- 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.html +19 -21
- 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/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +225 -179
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +16 -15
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- 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/cast.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/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/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.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/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.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 +6 -6
- 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.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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -10
- 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 +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/suggest.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/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +12 -7
- 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/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.txt +1 -1
- 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/development.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/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.txt +39 -0
- 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/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.html +76 -76
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +26 -26
- 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/documentation.html +20 -20
- 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/report.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +14 -14
- 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.html +20 -22
- 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/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +242 -182
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +16 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -6
- 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/cast.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/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/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.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/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.html +5 -5
- 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/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.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/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/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.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/suggest.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/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +12 -7
- 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/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
@@ -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
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
マイクロブログ検索システムの作成
|
9
9
|
================================
|
10
10
|
|
11
|
-
これまで学んだ
|
11
|
+
これまで学んだGroongaの機能を用いて、マイクロブログの検索システムを作成してみましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログです。
|
12
12
|
|
13
13
|
テーブルの作成
|
14
14
|
--------------
|
@@ -265,7 +265,7 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
265
265
|
table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText
|
266
266
|
table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
267
267
|
table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint
|
268
|
-
|
268
|
+
|
269
269
|
column_create --table Users --name name --flags COLUMN_SCALAR --type ShortText
|
270
270
|
column_create --table Users --name follower --flags COLUMN_VECTOR --type Users
|
271
271
|
column_create --table Users --name favorites --flags COLUMN_VECTOR --type Comments
|
@@ -273,7 +273,7 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
273
273
|
column_create --table Users --name location_str --flags COLUMN_SCALAR --type ShortText
|
274
274
|
column_create --table Users --name description --flags COLUMN_SCALAR --type ShortText
|
275
275
|
column_create --table Users --name followee --flags COLUMN_INDEX --type Users --source follower
|
276
|
-
|
276
|
+
|
277
277
|
column_create --table Comments --name comment --flags COLUMN_SCALAR --type ShortText
|
278
278
|
column_create --table Comments --name last_modified --flags COLUMN_SCALAR --type Time
|
279
279
|
column_create --table Comments --name replied_to --flags COLUMN_SCALAR --type Comments
|
@@ -282,15 +282,15 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
282
282
|
column_create --table Comments --name location --flags COLUMN_SCALAR --type WGS84GeoPoint
|
283
283
|
column_create --table Comments --name posted_by --flags COLUMN_SCALAR --type Users
|
284
284
|
column_create --table Comments --name favorited_by --flags COLUMN_INDEX --type Users --source favorites
|
285
|
-
|
285
|
+
|
286
286
|
column_create --table HashTags --name hash_index --flags COLUMN_INDEX --type Comments --source hash_tags
|
287
|
-
|
287
|
+
|
288
288
|
column_create --table Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --type Users --source name,location_str,description
|
289
289
|
column_create --table Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type Comments --source comment
|
290
|
-
|
290
|
+
|
291
291
|
column_create --table GeoIndex --name users_location --type Users --flags COLUMN_INDEX --source location
|
292
292
|
column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location
|
293
|
-
|
293
|
+
|
294
294
|
load --table Users
|
295
295
|
[
|
296
296
|
{
|
@@ -321,7 +321,7 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
321
321
|
"description": "がおがお"
|
322
322
|
}
|
323
323
|
]
|
324
|
-
|
324
|
+
|
325
325
|
load --table Comments
|
326
326
|
[
|
327
327
|
{
|