rroonga 3.0.2-x86-mingw32 → 3.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +30 -1
- data/ext/groonga/extconf.rb +49 -26
- data/ext/groonga/rb-grn-array.c +56 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +3 -3
- data/ext/groonga/rb-grn-expression.c +14 -9
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-operator.c +10 -3
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-table.c +71 -25
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable.c +17 -4
- data/ext/groonga/rb-grn.h +2 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/record.rb +9 -2
- data/lib/groonga/sub-records.rb +62 -0
- data/rroonga-build.rb +2 -1
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +35 -0
- data/test/test-context.rb +2 -1
- data/test/test-database.rb +2 -1
- data/test/test-expression.rb +14 -4
- data/test/test-sub-records.rb +109 -0
- data/test/test-table.rb +104 -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.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +20 -2
- 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/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/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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.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 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +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 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +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 +8 -8
- 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 +187 -137
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.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/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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +16 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- 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 +514 -7
- 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/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
- 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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -49
- 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 +53 -44
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +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 +5 -5
- 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/types.html +5 -5
- 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/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +29 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.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 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +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 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +25 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +21 -13
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +38 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -10
- data/vendor/local/share/doc/groonga/ja/html/news.html +885 -481
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +280 -146
- 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 +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +43 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- 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 +558 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +9 -7
- 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/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +10 -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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -50
- 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 +39 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +53 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +13 -9
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -8
- 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 +15 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +41 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- 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 +83 -46
- 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 +41 -23
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +71 -38
- 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 +55 -30
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +19 -12
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +27 -16
- 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/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +24 -16
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +31 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +847 -160
- data/vendor/local/share/man/man1/groonga.1 +826 -97
- metadata +10 -2
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>5.5. 提案 — groonga v3.0.
|
10
|
+
<title>5.5. 提案 — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="5. サジェスト" href="../suggest.html" />
|
31
31
|
<link rel="next" title="6. 位置情報検索" href="../geolocation_search.html" />
|
32
32
|
<link rel="prev" title="5.4. 補正" href="correction.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="correction.html" title="5.4. 補正"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../suggest.html" accesskey="U">5. サジェスト</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -75,16 +75,20 @@
|
|
75
75
|
<h1>5.5. 提案<a class="headerlink" href="#suggestion" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p>このセクションでは以下の補完機能について説明します。:</p>
|
77
77
|
<ul class="simple">
|
78
|
-
<li>どのように動作するか</
|
79
|
-
|
80
|
-
<li
|
78
|
+
<li><p class="first">どのように動作するか</p>
|
79
|
+
</li>
|
80
|
+
<li><p class="first">使い方</p>
|
81
|
+
</li>
|
82
|
+
<li><p class="first">学習方法</p>
|
83
|
+
</li>
|
81
84
|
</ul>
|
82
85
|
<div class="section" id="how-it-works">
|
83
86
|
<h2>5.5.1. どのように動作するか<a class="headerlink" href="#how-it-works" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
87
|
<p>提案機能は提案する語を計算するために1種類の検索を使います。:</p>
|
85
88
|
<blockquote>
|
86
89
|
<div><ol class="arabic simple">
|
87
|
-
<li>学習したデータを共起検索。</
|
90
|
+
<li><p class="first">学習したデータを共起検索。</p>
|
91
|
+
</li>
|
88
92
|
</ol>
|
89
93
|
</div></blockquote>
|
90
94
|
<div class="section" id="cooccurrence-search">
|
@@ -96,7 +100,8 @@
|
|
96
100
|
<col width="100%" />
|
97
101
|
</colgroup>
|
98
102
|
<thead valign="bottom">
|
99
|
-
<tr class="row-odd"><th class="head">クエリ</
|
103
|
+
<tr class="row-odd"><th class="head"><p class="first last">クエリ</p>
|
104
|
+
</th>
|
100
105
|
</tr>
|
101
106
|
</thead>
|
102
107
|
<tbody valign="top">
|
@@ -113,8 +118,10 @@
|
|
113
118
|
<col width="78%" />
|
114
119
|
</colgroup>
|
115
120
|
<thead valign="bottom">
|
116
|
-
<tr class="row-odd"><th class="head">入力</
|
117
|
-
|
121
|
+
<tr class="row-odd"><th class="head"><p class="first last">入力</p>
|
122
|
+
</th>
|
123
|
+
<th class="head"><p class="first last">提案される語</p>
|
124
|
+
</th>
|
118
125
|
</tr>
|
119
126
|
</thead>
|
120
127
|
<tbody valign="top">
|
@@ -138,8 +145,10 @@
|
|
138
145
|
<p>これらのペアは以下の手順で作成します。:</p>
|
139
146
|
<blockquote>
|
140
147
|
<div><ol class="arabic simple">
|
141
|
-
<li>ユーザの入力をTokenDelimitトークナイザーでトークナイズします。TokenDelimitは空白をトークンの区切りに使います。(例えば、"search engine"は"search"トークンと"engine"トークンの2つのトークンにトークナイズされます。)</
|
142
|
-
|
148
|
+
<li><p class="first">ユーザの入力をTokenDelimitトークナイザーでトークナイズします。TokenDelimitは空白をトークンの区切りに使います。(例えば、"search engine"は"search"トークンと"engine"トークンの2つのトークンにトークナイズされます。)</p>
|
149
|
+
</li>
|
150
|
+
<li><p class="first">各トークンについて、トークンと元のクエリからなるペアを作成する。</p>
|
151
|
+
</li>
|
143
152
|
</ol>
|
144
153
|
</div></blockquote>
|
145
154
|
<p>ユーザが"search"と入力したとき、共起検索は"search engine"と"web search raltime"を返します。これは、"search"が2つの「入力」カラムに含まれていて、対応するそれぞれの「提案される語」カラムの値が"search engine"と"web search realtime"だからです。</p>
|
@@ -192,8 +201,10 @@
|
|
192
201
|
<p>例えば、ユーザが"engine"で検索したいとします。ユーザが以下のようなシーケンスで検索クエリを入力したとします。:</p>
|
193
202
|
<blockquote>
|
194
203
|
<div><ol class="arabic simple">
|
195
|
-
<li>2011-08-10T13:33:25+09:00: search engine (検索実行)</
|
196
|
-
|
204
|
+
<li><p class="first">2011-08-10T13:33:25+09:00: search engine (検索実行)</p>
|
205
|
+
</li>
|
206
|
+
<li><p class="first">2011-08-10T13:33:28+09:00: web search realtime (検索実行)</p>
|
207
|
+
</li>
|
197
208
|
</ol>
|
198
209
|
</div></blockquote>
|
199
210
|
<p>以下のコマンドで上記の検索実行結果から学習します。:</p>
|
@@ -266,7 +277,7 @@
|
|
266
277
|
<li class="right" >
|
267
278
|
<a href="correction.html" title="5.4. 補正"
|
268
279
|
>前へ</a> |</li>
|
269
|
-
<li><a href="../index.html">groonga v3.0.
|
280
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
270
281
|
<li><a href="../suggest.html" >5. サジェスト</a> »</li>
|
271
282
|
</ul>
|
272
283
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>5.2. チュートリアル — groonga v3.0.
|
10
|
+
<title>5.2. チュートリアル — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="5. サジェスト" href="../suggest.html" />
|
31
31
|
<link rel="next" title="5.3. 補完" href="completion.html" />
|
32
32
|
<link rel="prev" title="5.1. はじめに" href="introduction.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="introduction.html" title="5.1. はじめに"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../suggest.html" accesskey="U">5. サジェスト</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -122,7 +122,7 @@
|
|
122
122
|
<li class="right" >
|
123
123
|
<a href="introduction.html" title="5.1. はじめに"
|
124
124
|
>前へ</a> |</li>
|
125
|
-
<li><a href="../index.html">groonga v3.0.
|
125
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
126
126
|
<li><a href="../suggest.html" >5. サジェスト</a> »</li>
|
127
127
|
</ul>
|
128
128
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>11. トラブルシューティング — groonga v3.0.
|
10
|
+
<title>11. トラブルシューティング — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: './',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="11.1. 同じ検索キーワードなのに全文検索結果が異なる" href="troubleshooting/different_results_with_the_same_keyword.html" />
|
31
31
|
<link rel="prev" title="10. 制限事項" href="limitations.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="limitations.html" title="10. 制限事項"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">groonga v3.0.
|
63
|
+
<li><a href="index.html">groonga v3.0.5ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -130,7 +130,7 @@
|
|
130
130
|
<li class="right" >
|
131
131
|
<a href="limitations.html" title="10. 制限事項"
|
132
132
|
>前へ</a> |</li>
|
133
|
-
<li><a href="index.html">groonga v3.0.
|
133
|
+
<li><a href="index.html">groonga v3.0.5ドキュメント</a> »</li>
|
134
134
|
</ul>
|
135
135
|
</div>
|
136
136
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>11.1. 同じ検索キーワードなのに全文検索結果が異なる — groonga v3.0.
|
10
|
+
<title>11.1. 同じ検索キーワードなのに全文検索結果が異なる — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="11. トラブルシューティング" href="../troubleshooting.html" />
|
31
31
|
<link rel="next" title="12. 開発" href="../development.html" />
|
32
32
|
<link rel="prev" title="11. トラブルシューティング" href="../troubleshooting.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="../troubleshooting.html" title="11. トラブルシューティング"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../troubleshooting.html" accesskey="U">11. トラブルシューティング</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -242,7 +242,7 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
242
242
|
<li class="right" >
|
243
243
|
<a href="../troubleshooting.html" title="11. トラブルシューティング"
|
244
244
|
>前へ</a> |</li>
|
245
|
-
<li><a href="../index.html">groonga v3.0.
|
245
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
246
246
|
<li><a href="../troubleshooting.html" >11. トラブルシューティング</a> »</li>
|
247
247
|
</ul>
|
248
248
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4. チュートリアル — groonga v3.0.
|
10
|
+
<title>4. チュートリアル — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: './',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="4.1. 基本的な操作" href="tutorial/introduction.html" />
|
31
31
|
<link rel="prev" title="3. コミュニティ" href="community.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="community.html" title="3. コミュニティ"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">groonga v3.0.
|
63
|
+
<li><a href="index.html">groonga v3.0.5ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -197,7 +197,7 @@
|
|
197
197
|
<li class="right" >
|
198
198
|
<a href="community.html" title="3. コミュニティ"
|
199
199
|
>前へ</a> |</li>
|
200
|
-
<li><a href="index.html">groonga v3.0.
|
200
|
+
<li><a href="index.html">groonga v3.0.5ドキュメント</a> »</li>
|
201
201
|
</ul>
|
202
202
|
</div>
|
203
203
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.3. いろいろなデータの保存 — groonga v3.0.
|
10
|
+
<title>4.3. いろいろなデータの保存 — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.4. さまざまな検索条件の指定" href="search.html" />
|
32
32
|
<link rel="prev" title="4.2. リモートアクセス" href="network.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="network.html" title="4.2. リモートアクセス"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -257,7 +257,11 @@ select --table ToyBox --output_columns _key,name
|
|
257
257
|
</div>
|
258
258
|
<div class="section" id="date-and-time-type">
|
259
259
|
<h2>4.3.5. 日時<a class="headerlink" href="#date-and-time-type" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
260
|
-
<p>日時を表現するための型はTimeです。内部では1970年1月1日0時0分0秒を基準とする経過時間をマイクロ秒単位で表現します。符号付きの整数を用いるため、1970年以前の日時も表現することができます。内部表現はマイクロ秒単位の整数ですが、 <a class="reference internal" href="../reference/commands/
|
260
|
+
<p>日時を表現するための型はTimeです。内部では1970年1月1日0時0分0秒を基準とする経過時間をマイクロ秒単位で表現します。符号付きの整数を用いるため、1970年以前の日時も表現することができます。内部表現はマイクロ秒単位の整数ですが、 <a class="reference internal" href="../reference/commands/load.html"><em>load</em></a> コマンドおよび <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> コマンドでは、経過秒数による指定・表示となります。デフォルト値は1970年1月1日0時0分0秒のことを表す0.0です。</p>
|
261
|
+
<div class="admonition note">
|
262
|
+
<p class="first admonition-title">ノート</p>
|
263
|
+
<p class="last">groonga内部では経過秒数を整数のペアで保持しています。最初の整数で秒を表現し、もう一方でマイクロ秒を表現します。それゆえgroongaでは小数で経過秒数を表示します。整数部が秒数で、小数部はマイクロ秒の値です。</p>
|
264
|
+
</div>
|
261
265
|
<p>以下の例では、Time型のカラムを作成し、IDが2と3のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。</p>
|
262
266
|
<p>実行例:</p>
|
263
267
|
<div class="highlight-none"><div class="highlight"><pre>column_create --table ToyBox --name time --type Time
|
@@ -312,8 +316,10 @@ select --table ToyBox --output_columns _key,time
|
|
312
316
|
<h2>4.3.6. 経緯度<a class="headerlink" href="#longitude-and-latitude-types" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
313
317
|
<p>経緯度を表現するための型は、測地系によって分けることができます。詳しくは <a class="reference internal" href="../reference/types.html"><em>データ型</em></a> を参照してください。経緯度の指定・表示には、以下に示す形式の文字列を使います。</p>
|
314
318
|
<ul class="simple">
|
315
|
-
<li>"経度のミリ秒表記x緯度のミリ秒表記" (例: "128452975x503157902")</
|
316
|
-
|
319
|
+
<li><p class="first">"経度のミリ秒表記x緯度のミリ秒表記" (例: "128452975x503157902")</p>
|
320
|
+
</li>
|
321
|
+
<li><p class="first">"経度の度数表記x緯度の度数表記" (例: "35.6813819x139.7660839")</p>
|
322
|
+
</li>
|
317
323
|
</ul>
|
318
324
|
<p>小数点を含んでいなければミリ秒表記、小数点を含んでいれば度数表記として扱われます。ミリ秒表記と度数表記を混ぜたときの動作は未定義なので注意してください。経度と緯度の区切りとしては、'x' のほかに ',' を使うことができます。経緯度のデフォルト値は "0x0" です。</p>
|
319
325
|
<p>以下の例では、世界測地系を用いるWGS84GeoPoint型のカラムを作成し、IDが1と3のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。</p>
|
@@ -369,7 +375,7 @@ select --table ToyBox --output_columns _key,location
|
|
369
375
|
<div class="section" id="reference-types">
|
370
376
|
<h2>4.3.7. テーブル参照<a class="headerlink" href="#reference-types" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
371
377
|
<p>groongaでは、テーブル参照のカラム、すなわち関連付けたテーブルを参照するカラムを作成できます。より正確には、カラム作成時に参照先となるテーブルとの関連付けをおこない、参照先テーブルにおけるレコードIDを格納しておくことにより、参照先のレコードにアクセスできるようにします。</p>
|
372
|
-
<p>テーブル参照のカラムがあるときは、 <
|
378
|
+
<p>テーブル参照のカラムがあるときは、 <tt class="xref doc docutils literal"><span class="pre">reference/commands/select</span></tt> コマンドの <cite>output_columns</cite> 引数に "参照元カラム.参照先カラム" と指定することにより、参照先カラムの値を取り出すことができます。参照元カラムのみを指定したときは、 "参照元カラム名._key" と同様の扱いとなり、参照先レコードの主キーが取り出されます。テーブル参照が有効なレコードを指していないときは、参照先カラムのデフォルト値が取り出されるようになっています。</p>
|
373
379
|
<p>ここでは、先のチュートリアルで作成したSiteテーブルにlinkという新たなカラムを作成し、サイト間のリンク関係を保存できるようにしてみましょう。</p>
|
374
380
|
<p>実行例:</p>
|
375
381
|
<div class="highlight-none"><div class="highlight"><pre>column_create --table Site --name link --type Site
|
@@ -418,7 +424,7 @@ select --table Site --output_columns _key,title,link._key,link.title --query tit
|
|
418
424
|
# ]
|
419
425
|
</pre></div>
|
420
426
|
</div>
|
421
|
-
<p>テーブル参照のカラムを作成するときは、 <a class="reference internal" href="../reference/commands/
|
427
|
+
<p>テーブル参照のカラムを作成するときは、 <a class="reference internal" href="../reference/commands/column_create.html"><em>column_create</em></a> コマンドの <cite>type</cite> 引数に参照先テーブルを指定します。この例では、同じテーブルに含まれる別のレコードを参照させたいので、Siteを指定することになります。次に、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" から "<a class="reference external" href="http://example.net/">http://example.net/</a>" へのリンクを登録しています。テーブル参照を作成するときは、IDではなく主キーを指定することに注意してください。最後に、リンクの内容を確認しています。この例では、 <cite>output_columns</cite> 引数に link._key と link.title を指定しているので、参照先の主キーとタイトルが表示されています。</p>
|
422
428
|
</div>
|
423
429
|
<div class="section" id="vector-types">
|
424
430
|
<h2>4.3.8. ベクターカラム<a class="headerlink" href="#vector-types" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
@@ -479,7 +485,7 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
479
485
|
# ]
|
480
486
|
</pre></div>
|
481
487
|
</div>
|
482
|
-
<p>新たなカラムにはSiteテーブルに対する参照の配列を格納するので、 <cite>type</cite> 引数にSiteを指定するとともに、 <cite>flags</cite> 引数にCOLUMN_VECTORフラグを指定しています。次に、 <a class="reference internal" href="../reference/commands/
|
488
|
+
<p>新たなカラムにはSiteテーブルに対する参照の配列を格納するので、 <cite>type</cite> 引数にSiteを指定するとともに、 <cite>flags</cite> 引数にCOLUMN_VECTORフラグを指定しています。次に、 <a class="reference internal" href="../reference/commands/load.html"><em>load</em></a> による更新では、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" から "<a class="reference external" href="http://example.net/">http://example.net/</a>" へのリンクに加えて、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" と "<a class="reference external" href="http://example.com/">http://example.com/</a>" へのリンクも登録しています。そして、最後にリンクの内容を確認しています。この例では、 <cite>output_columns</cite> 引数に links._key と links.title を指定しているので、参照先の主キーとタイトルをそれぞれ配列にしたものが表示されています。</p>
|
483
489
|
</div>
|
484
490
|
</div>
|
485
491
|
|
@@ -544,7 +550,7 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
544
550
|
<li class="right" >
|
545
551
|
<a href="network.html" title="4.2. リモートアクセス"
|
546
552
|
>前へ</a> |</li>
|
547
|
-
<li><a href="../index.html">groonga v3.0.
|
553
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
548
554
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
549
555
|
</ul>
|
550
556
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.5. ドリルダウン — groonga v3.0.
|
10
|
+
<title>4.5. ドリルダウン — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.6. タグ検索・参照関係の逆引き" href="index.html" />
|
32
32
|
<link rel="prev" title="4.4. さまざまな検索条件の指定" href="search.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -594,7 +594,7 @@ load --table Site
|
|
594
594
|
<li class="right" >
|
595
595
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
596
596
|
>前へ</a> |</li>
|
597
|
-
<li><a href="../index.html">groonga v3.0.
|
597
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
598
598
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
599
599
|
</ul>
|
600
600
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.6. タグ検索・参照関係の逆引き — groonga v3.0.
|
10
|
+
<title>4.6. タグ検索・参照関係の逆引き — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.7. match_columnsパラメータ" href="match_columns.html" />
|
32
32
|
<link rel="prev" title="4.5. ドリルダウン" href="drilldown.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="drilldown.html" title="4.5. ドリルダウン"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -557,7 +557,7 @@ select --table Site --filter 'geo_in_circle(location, "128515259x503187
|
|
557
557
|
<li class="right" >
|
558
558
|
<a href="drilldown.html" title="4.5. ドリルダウン"
|
559
559
|
>前へ</a> |</li>
|
560
|
-
<li><a href="../index.html">groonga v3.0.
|
560
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
561
561
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
562
562
|
</ul>
|
563
563
|
</div>
|