rroonga 4.0.6-x64-mingw32 → 4.0.7-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.md +1 -1
- data/doc/text/news.textile +14 -2
- data/ext/groonga/extconf.rb +0 -3
- data/ext/groonga/rb-grn-expression.c +1 -6
- data/ext/groonga/rb-grn-index-column.c +96 -0
- data/ext/groonga/rb-grn-index-cursor.c +32 -8
- data/ext/groonga/rb-grn-posting.c +26 -6
- data/ext/groonga/rb-grn-utils.c +27 -0
- data/ext/groonga/rb-grn.h +4 -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/rroonga-build.rb +3 -3
- data/test/test-column.rb +50 -12
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +80 -25
- data/test/test-index-column.rb +41 -0
- data/test/test-index-cursor.rb +21 -1
- data/test/test-table-key-support.rb +59 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +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/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/groonga.conf +1 -1
- data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
- data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
- data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
- data/vendor/local/etc/groonga/httpd/koi-win +103 -0
- data/vendor/local/etc/groonga/httpd/mime.types +89 -0
- data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
- data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
- data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/win-utf +126 -0
- data/vendor/local/include/groonga/groonga.h +5 -2095
- data/vendor/local/include/groonga/groonga/expr.h +108 -0
- data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
- data/vendor/local/include/groonga/groonga/ii.h +46 -0
- data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
- data/vendor/local/include/groonga/groonga/plugin.h +5 -3
- data/vendor/local/include/groonga/groonga/token.h +136 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
- data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
- data/vendor/local/include/groonga/groonga/util.h +40 -0
- data/vendor/local/include/lz4.h +323 -0
- data/vendor/local/include/lz4hc.h +223 -0
- data/vendor/local/include/zconf.h +511 -0
- data/vendor/local/include/zlib.h +1768 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- 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 +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +22 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.4.0 +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 +3 -3
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +3 -3
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +3 -3
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +14 -0
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
- 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 +1 -1
- data/vendor/local/sbin/groonga-httpd.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 +3 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.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 +7 -19
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
- data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.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 +7 -19
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
- data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
- 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/html/index.html +1 -1
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -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/groonga/html/admin/index.html +2 -2
- data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
- data/vendor/local/share/license/lz4/LICENSE +24 -0
- data/vendor/local/share/license/zlib/README +115 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
- data/vendor/local/share/man/man1/groonga.1 +188 -227
- data/vendor/local/share/man/man1/lz4.1 +88 -0
- data/vendor/local/share/man/man1/lz4c.1 +33 -0
- data/vendor/local/share/man/man1/lz4cat.1 +32 -0
- metadata +118 -51
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.12.3. geo_distance — Groonga v4.0.
|
10
|
+
<title>7.12.3. geo_distance — Groonga v4.0.8ドキュメント</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: '4.0.
|
18
|
+
VERSION: '4.0.8',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
31
|
<link rel="next" title="7.12.4. geo_in_circle" href="geo_in_circle.html" />
|
32
32
|
<link rel="prev" title="7.12.2. edit_distance" href="edit_distance.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -70,43 +70,43 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="geo-distance">
|
76
76
|
<h1>7.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
78
|
<h2>7.12.3.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
-
<p><
|
79
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> は二点間の距離を計算します。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="syntax">
|
82
82
|
<h2>7.12.3.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
|
-
<p><
|
83
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> は二つの点を指定します。引数 <code class="docutils literal"><span class="pre">approximate_type</span></code> は省略可能です。</p>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>geo_distance(point1, point2)
|
85
85
|
geo_distance(point1, point2, approximate_type)
|
86
86
|
</pre></div>
|
87
87
|
</div>
|
88
|
-
<p><
|
88
|
+
<p><code class="docutils literal"><span class="pre">approximate_type</span></code> のデフォルト値は <code class="docutils literal"><span class="pre">"rectangle"</span></code> です。 <code class="docutils literal"><span class="pre">approximate_type</span></code> を省略した場合、 <code class="docutils literal"><span class="pre">geo_distance</span></code> は二点間の距離を <code class="docutils literal"><span class="pre">"rectangle"</span></code> が指定されたものとして計算します。</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="usage">
|
91
91
|
<h2>7.12.3.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
92
|
-
<p><
|
92
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> はGroongaの組み込み関数の一つです。</p>
|
93
93
|
<p>組み込み関数を <a class="reference internal" href="../grn_expr.html"><em>grn_expr</em></a> にて使うことができます。</p>
|
94
|
-
<p><
|
94
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> 関数は <code class="docutils literal"><span class="pre">point1</span></code> と <code class="docutils literal"><span class="pre">point2</span></code> の座標値から二点間の距離(近似値)を計算します。</p>
|
95
95
|
<div class="admonition note">
|
96
96
|
<p class="first admonition-title">注釈</p>
|
97
|
-
<p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <
|
97
|
+
<p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <code class="docutils literal"><span class="pre">geo_distance()</span></code> 、 <code class="docutils literal"><span class="pre">geo_distance2()</span></code> 、 <code class="docutils literal"><span class="pre">geo_distance3()</span></code> です。これらの違いは距離の計算アルゴリズムにあります。 <code class="docutils literal"><span class="pre">geo_distance2()</span></code> と <code class="docutils literal"><span class="pre">geo_distance3()</span></code> はバージョン1.2.9より非推奨となりました。 <code class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></code> の代りに <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"sphere")</span></code> を使用してください。 <code class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></code> の代りに <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"ellipsoid")</span></code> を使用してください。</p>
|
98
98
|
</div>
|
99
|
-
<p>例とともに <
|
99
|
+
<p>例とともに <code class="docutils literal"><span class="pre">geo_distance</span></code> について学びましょう。このセクションでは簡単な例を示します。</p>
|
100
100
|
<p>使い方による違いがわかるようにスキーマ定義とサンプルデータを用意しました。これらのサンプルはニューヨークとロンドンを例に距離の計算方法を示します。</p>
|
101
101
|
<ol class="arabic simple">
|
102
|
-
<li><p class="first">距離の計算にlocationカラムの値を使う ( <
|
102
|
+
<li><p class="first">距離の計算にlocationカラムの値を使う ( <code class="docutils literal"><span class="pre">Cities</span></code> テーブル)</p>
|
103
103
|
</li>
|
104
|
-
<li><p class="first">距離の計算に明示的に指定した座標値を使う ( <
|
104
|
+
<li><p class="first">距離の計算に明示的に指定した座標値を使う ( <code class="docutils literal"><span class="pre">Geo</span></code> テーブル)</p>
|
105
105
|
</li>
|
106
106
|
</ol>
|
107
107
|
<div class="section" id="using-the-column-value-of-location">
|
108
108
|
<h3>7.12.3.3.1. locationカラムの値を使う<a class="headerlink" href="#using-the-column-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
109
|
-
<p>使用例を示すための <
|
109
|
+
<p>使用例を示すための <code class="docutils literal"><span class="pre">Cities</span></code> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
|
110
110
|
<div class="highlight-none"><div class="highlight"><pre>table_create Cities TABLE_HASH_KEY ShortText
|
111
111
|
column_create Cities location COLUMN_SCALAR WGS84GeoPoint
|
112
112
|
load --table Cities
|
@@ -137,7 +137,7 @@ load --table Cities
|
|
137
137
|
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
138
138
|
</pre></div>
|
139
139
|
</div>
|
140
|
-
<p>この実行例では <
|
140
|
+
<p>この実行例では <code class="docutils literal"><span class="pre">location</span></code> というカラムを持つ <code class="docutils literal"><span class="pre">Cities</span></code> テーブルを作成します。 <code class="docutils literal"><span class="pre">location</span></code> カラムには座標値を保存します。東京の座標値がサンプルデータとして保存されています。</p>
|
141
141
|
<p>実行例:</p>
|
142
142
|
<div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "185428000x-461000", "rectangle")'
|
143
143
|
# [
|
@@ -165,12 +165,12 @@ load --table Cities
|
|
165
165
|
# ]
|
166
166
|
</pre></div>
|
167
167
|
</div>
|
168
|
-
<p>このサンプルは <
|
169
|
-
<p><
|
168
|
+
<p>このサンプルは <code class="docutils literal"><span class="pre">geo_distance</span></code> が <code class="docutils literal"><span class="pre">location</span></code> カラムと座標値から距離を計算していることを示します。</p>
|
169
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> の第二引数として渡された値 ("185428000x-461000")はロンドンの座標値です。</p>
|
170
170
|
</div>
|
171
171
|
<div class="section" id="using-the-explicitly-specified-value-of-location">
|
172
172
|
<h3>7.12.3.3.2. 明示的に指定した位置を使う<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
173
|
-
<p>使用例を示すための <
|
173
|
+
<p>使用例を示すための <code class="docutils literal"><span class="pre">Geo</span></code> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
|
174
174
|
<div class="highlight-none"><div class="highlight"><pre>table_create Geo TABLE_HASH_KEY ShortText
|
175
175
|
column_create Geo distance COLUMN_SCALAR Int32
|
176
176
|
load --table Geo
|
@@ -195,7 +195,7 @@ load --table Geo
|
|
195
195
|
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
196
196
|
</pre></div>
|
197
197
|
</div>
|
198
|
-
<p>この実行例では <
|
198
|
+
<p>この実行例では <code class="docutils literal"><span class="pre">distance</span></code> カラムを持つ <code class="docutils literal"><span class="pre">Geo</span></code> テーブルを作成します。 <code class="docutils literal"><span class="pre">distance</span></code> カラムには距離を保存します。</p>
|
199
199
|
<p>実行例:</p>
|
200
200
|
<div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer 'distance = geo_distance("146566000x-266422000", "185428000x-461000", "rectangle")'
|
201
201
|
# [
|
@@ -223,22 +223,22 @@ load --table Geo
|
|
223
223
|
# ]
|
224
224
|
</pre></div>
|
225
225
|
</div>
|
226
|
-
<p>このサンプルは <
|
226
|
+
<p>このサンプルは <code class="docutils literal"><span class="pre">geo_distance</span></code> がロンドンの座標とニューヨークの座標から距離を計算していることを示します。</p>
|
227
227
|
</div>
|
228
228
|
</div>
|
229
229
|
<div class="section" id="parameters">
|
230
230
|
<h2>7.12.3.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
231
231
|
<div class="section" id="required-parameter">
|
232
232
|
<h3>7.12.3.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
233
|
-
<p>必須引数は二つあります。 <
|
233
|
+
<p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">point1</span></code> と <code class="docutils literal"><span class="pre">point2</span></code> です。</p>
|
234
234
|
<div class="section" id="point1">
|
235
|
-
<h4>7.12.3.4.1.1. <
|
235
|
+
<h4>7.12.3.4.1.1. <code class="docutils literal"><span class="pre">point1</span></code><a class="headerlink" href="#point1" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
236
236
|
<p>計算しようとしている二点間の開始地点を指定します。</p>
|
237
237
|
<p>GeoPoint型の値を指定することができます。 <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
|
238
238
|
<p>GeoPointについては <a class="reference internal" href="../types.html"><em>データ型</em></a> を参照してください。</p>
|
239
239
|
</div>
|
240
240
|
<div class="section" id="point2">
|
241
|
-
<h4>7.12.3.4.1.2. <
|
241
|
+
<h4>7.12.3.4.1.2. <code class="docutils literal"><span class="pre">point2</span></code><a class="headerlink" href="#point2" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
242
242
|
<p>計算しようとしている二点間の終了地点を指定します。</p>
|
243
243
|
<p>GeoPoint型の値か座標を表す文字列を指定することができます。</p>
|
244
244
|
<p>GeoPointと座標については <a class="reference internal" href="../types.html"><em>データ型</em></a> を参照してください。</p>
|
@@ -246,27 +246,27 @@ load --table Geo
|
|
246
246
|
</div>
|
247
247
|
<div class="section" id="optional-parameter">
|
248
248
|
<h3>7.12.3.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
249
|
-
<p>省略可能な引数として <
|
249
|
+
<p>省略可能な引数として <code class="docutils literal"><span class="pre">approximate_type</span></code> があります。</p>
|
250
250
|
<div class="section" id="approximate-type">
|
251
|
-
<h4>7.12.3.4.2.1. <
|
251
|
+
<h4>7.12.3.4.2.1. <code class="docutils literal"><span class="pre">approximate_type</span></code><a class="headerlink" href="#approximate-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
252
252
|
<p>距離を計算するときに地形をどのように近似するかを指定します。</p>
|
253
|
-
<p><
|
253
|
+
<p><code class="docutils literal"><span class="pre">approximate_type</span></code> の値は以下を指定することができます。</p>
|
254
254
|
<blockquote>
|
255
255
|
<div><ul class="simple">
|
256
|
-
<li><
|
257
|
-
<li><
|
258
|
-
<li><
|
256
|
+
<li><code class="docutils literal"><span class="pre">rectangle</span></code></li>
|
257
|
+
<li><code class="docutils literal"><span class="pre">sphere</span></code></li>
|
258
|
+
<li><code class="docutils literal"><span class="pre">ellipsoid</span></code></li>
|
259
259
|
</ul>
|
260
260
|
</div></blockquote>
|
261
261
|
<div class="admonition note">
|
262
262
|
<p class="first admonition-title">注釈</p>
|
263
|
-
<p class="last"><
|
263
|
+
<p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> には制限があります。 <code class="docutils literal"><span class="pre">sphere</span></code> や <code class="docutils literal"><span class="pre">ellipsoid</span></code> を近似方法として選択した場合、子午線や日付変更線、赤道といった境界をまたぐ距離の計算を行うことができません。この制限は <code class="docutils literal"><span class="pre">rectangle</span></code> を近似方法として選択した場合にはありません。これはGroongaの実装上の一時的な制限ですが、将来的には修正される予定です。</p>
|
264
264
|
</div>
|
265
265
|
<div class="section" id="rectangle">
|
266
|
-
<h5>7.12.3.4.2.1.1. <
|
266
|
+
<h5>7.12.3.4.2.1.1. <code class="docutils literal"><span class="pre">rectangle</span></code><a class="headerlink" href="#rectangle" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
267
267
|
<p>この引数を指定すると地形を方形近似して距離を計算します。</p>
|
268
268
|
<p>簡易な式で距離の計算を行うので、高速に距離を求めることができますが、極付近では誤差が増大します。</p>
|
269
|
-
<p><
|
269
|
+
<p><code class="docutils literal"><span class="pre">rect</span></code> を省略表記として指定することができます。</p>
|
270
270
|
<p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
|
271
271
|
<p>実行例:</p>
|
272
272
|
<div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "185428000x-461000", "rectangle")'
|
@@ -351,7 +351,7 @@ load --table Geo
|
|
351
351
|
# ]
|
352
352
|
</pre></div>
|
353
353
|
</div>
|
354
|
-
<p>このサンプルは子午線をまたいだ場合の距離を示します。 <
|
354
|
+
<p>このサンプルは子午線をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance("175904000x8464000",</span> <span class="pre">"145508000x-13291000",</span> <span class="pre">"rectangle")</span></code> はパリ(フランス)からマドリード(スペイン)間の距離を返します。</p>
|
355
355
|
<p>実行例:</p>
|
356
356
|
<div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer 'distance = geo_distance("146566000x-266422000", "-56880000x-172310000", "rectangle")'
|
357
357
|
# [
|
@@ -379,7 +379,7 @@ load --table Geo
|
|
379
379
|
# ]
|
380
380
|
</pre></div>
|
381
381
|
</div>
|
382
|
-
<p>このサンプルは赤道をまたいだ場合の距離を示します。 <
|
382
|
+
<p>このサンプルは赤道をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance("146566000x-266422000",</span> <span class="pre">"-56880000x-172310000",</span> <span class="pre">"rectangle")</span></code> はニューヨーク(アメリカ)からブラジリア(ブラジル)間の距離を返します。</p>
|
383
383
|
<p>実行例:</p>
|
384
384
|
<div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer 'distance = geo_distance("143660000x419009000", "135960000x-440760000", "rectangle")'
|
385
385
|
# [
|
@@ -407,21 +407,21 @@ load --table Geo
|
|
407
407
|
# ]
|
408
408
|
</pre></div>
|
409
409
|
</div>
|
410
|
-
<p>このサンプルは日付変更線をまたいだ場合の距離を示します。 <
|
410
|
+
<p>このサンプルは日付変更線をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance("143660000x419009000",</span> <span class="pre">"135960000x-440760000",</span> <span class="pre">"rectangle")</span></code> は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。</p>
|
411
411
|
<div class="admonition note">
|
412
412
|
<p class="first admonition-title">注釈</p>
|
413
|
-
<p class="last"><
|
413
|
+
<p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> は方形近似をデフォルトとして使用します。 <code class="docutils literal"><span class="pre">approximate_type</span></code> を省略すると <code class="docutils literal"><span class="pre">geo_distance</span></code> は <code class="docutils literal"><span class="pre">rectangle</span></code> が指定されたものとして振舞います。</p>
|
414
414
|
</div>
|
415
415
|
<div class="admonition note">
|
416
416
|
<p class="first admonition-title">注釈</p>
|
417
|
-
<p class="last"><
|
417
|
+
<p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> は <code class="docutils literal"><span class="pre">approximate_type</span></code> の値が <code class="docutils literal"><span class="pre">"rectangle"</span></code> であるときに <code class="docutils literal"><span class="pre">point1</span></code> の値として座標を表す文字列を受けつけます。もし <code class="docutils literal"><span class="pre">sphere</span></code> や <code class="docutils literal"><span class="pre">ellipsoid</span></code> と一緒に座標を表す文字列を <code class="docutils literal"><span class="pre">point1</span></code> へ指定した場合、 <code class="docutils literal"><span class="pre">geo_distance</span></code> は距離の値として0を返します。</p>
|
418
418
|
</div>
|
419
419
|
</div>
|
420
420
|
<div class="section" id="sphere">
|
421
|
-
<h5>7.12.3.4.2.1.2. <
|
421
|
+
<h5>7.12.3.4.2.1.2. <code class="docutils literal"><span class="pre">sphere</span></code><a class="headerlink" href="#sphere" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
422
422
|
<p>この引数を指定すると球面近似で地形を近似して距離を計算します。</p>
|
423
|
-
<p>球面近似は <
|
424
|
-
<p><
|
423
|
+
<p>球面近似は <code class="docutils literal"><span class="pre">rectangle</span></code> よりも遅いです。しかし <code class="docutils literal"><span class="pre">rectangle</span></code> よりも誤差は小さくなります。</p>
|
424
|
+
<p><code class="docutils literal"><span class="pre">sphr</span></code> を省略表記として指定することができます。</p>
|
425
425
|
<p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
|
426
426
|
<p>実行例:</p>
|
427
427
|
<div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "185428000x-461000", "sphere")'
|
@@ -452,10 +452,10 @@ load --table Geo
|
|
452
452
|
</div>
|
453
453
|
</div>
|
454
454
|
<div class="section" id="ellipsoid">
|
455
|
-
<h5>7.12.3.4.2.1.3. <
|
455
|
+
<h5>7.12.3.4.2.1.3. <code class="docutils literal"><span class="pre">ellipsoid</span></code><a class="headerlink" href="#ellipsoid" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
456
456
|
<p>この引数を指定すると楕円近似で地形を近似して距離を計算します。</p>
|
457
|
-
<p>ヒュベニの距離計算式により距離を計算します。 <
|
458
|
-
<p><
|
457
|
+
<p>ヒュベニの距離計算式により距離を計算します。 <code class="docutils literal"><span class="pre">sphere</span></code> よりも遅いですが、 <code class="docutils literal"><span class="pre">sphere</span></code> より誤差は小さくなります。</p>
|
458
|
+
<p><code class="docutils literal"><span class="pre">ellip</span></code> を省略表記として指定することができます。</p>
|
459
459
|
<p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
|
460
460
|
<p>実行例:</p>
|
461
461
|
<div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "185428000x-461000", "ellipsoid")'
|
@@ -490,7 +490,7 @@ load --table Geo
|
|
490
490
|
</div>
|
491
491
|
<div class="section" id="return-value">
|
492
492
|
<h2>7.12.3.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
493
|
-
<p><
|
493
|
+
<p><code class="docutils literal"><span class="pre">geo_distance</span></code> はFloat型の値を距離として返します。単位はメートルです。</p>
|
494
494
|
<p class="rubric">脚注</p>
|
495
495
|
<table class="docutils footnote" frame="void" id="id2" rules="none">
|
496
496
|
<colgroup><col class="label" /><col /></colgroup>
|
@@ -506,7 +506,7 @@ load --table Geo
|
|
506
506
|
</div>
|
507
507
|
</div>
|
508
508
|
</div>
|
509
|
-
<div class="sphinxsidebar">
|
509
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
510
510
|
<div class="sphinxsidebarwrapper">
|
511
511
|
<h3><a href="../../index.html">目次</a></h3>
|
512
512
|
<ul>
|
@@ -520,15 +520,15 @@ load --table Geo
|
|
520
520
|
</li>
|
521
521
|
<li><a class="reference internal" href="#parameters">7.12.3.4. 引数</a><ul>
|
522
522
|
<li><a class="reference internal" href="#required-parameter">7.12.3.4.1. 必須引数</a><ul>
|
523
|
-
<li><a class="reference internal" href="#point1">7.12.3.4.1.1. <
|
524
|
-
<li><a class="reference internal" href="#point2">7.12.3.4.1.2. <
|
523
|
+
<li><a class="reference internal" href="#point1">7.12.3.4.1.1. <code class="docutils literal"><span class="pre">point1</span></code></a></li>
|
524
|
+
<li><a class="reference internal" href="#point2">7.12.3.4.1.2. <code class="docutils literal"><span class="pre">point2</span></code></a></li>
|
525
525
|
</ul>
|
526
526
|
</li>
|
527
527
|
<li><a class="reference internal" href="#optional-parameter">7.12.3.4.2. 省略可能引数</a><ul>
|
528
|
-
<li><a class="reference internal" href="#approximate-type">7.12.3.4.2.1. <
|
529
|
-
<li><a class="reference internal" href="#rectangle">7.12.3.4.2.1.1. <
|
530
|
-
<li><a class="reference internal" href="#sphere">7.12.3.4.2.1.2. <
|
531
|
-
<li><a class="reference internal" href="#ellipsoid">7.12.3.4.2.1.3. <
|
528
|
+
<li><a class="reference internal" href="#approximate-type">7.12.3.4.2.1. <code class="docutils literal"><span class="pre">approximate_type</span></code></a><ul>
|
529
|
+
<li><a class="reference internal" href="#rectangle">7.12.3.4.2.1.1. <code class="docutils literal"><span class="pre">rectangle</span></code></a></li>
|
530
|
+
<li><a class="reference internal" href="#sphere">7.12.3.4.2.1.2. <code class="docutils literal"><span class="pre">sphere</span></code></a></li>
|
531
|
+
<li><a class="reference internal" href="#ellipsoid">7.12.3.4.2.1.3. <code class="docutils literal"><span class="pre">ellipsoid</span></code></a></li>
|
532
532
|
</ul>
|
533
533
|
</li>
|
534
534
|
</ul>
|
@@ -546,12 +546,14 @@ load --table Geo
|
|
546
546
|
<h4>次のトピックへ</h4>
|
547
547
|
<p class="topless"><a href="geo_in_circle.html"
|
548
548
|
title="次の章へ">7.12.4. geo_in_circle</a></p>
|
549
|
-
<
|
550
|
-
|
551
|
-
<
|
552
|
-
|
553
|
-
|
554
|
-
|
549
|
+
<div role="note" aria-label="source link">
|
550
|
+
<h3>このページ</h3>
|
551
|
+
<ul class="this-page-menu">
|
552
|
+
<li><a href="../../_sources/reference/functions/geo_distance.txt"
|
553
|
+
rel="nofollow">ソースコードを表示</a></li>
|
554
|
+
</ul>
|
555
|
+
</div>
|
556
|
+
<div id="searchbox" style="display: none" role="search">
|
555
557
|
<h3>クイック検索</h3>
|
556
558
|
<form class="search" action="../../search.html" method="get">
|
557
559
|
<input type="text" name="q" />
|
@@ -568,7 +570,7 @@ load --table Geo
|
|
568
570
|
</div>
|
569
571
|
<div class="clearer"></div>
|
570
572
|
</div>
|
571
|
-
<div class="related">
|
573
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
572
574
|
<h3>ナビゲーション</h3>
|
573
575
|
<ul>
|
574
576
|
<li class="right" style="margin-right: 10px">
|
@@ -580,12 +582,12 @@ load --table Geo
|
|
580
582
|
<li class="right" >
|
581
583
|
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
582
584
|
>前へ</a> |</li>
|
583
|
-
<li><a href="../../index.html">Groonga v4.0.
|
585
|
+
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
584
586
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
585
587
|
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
586
588
|
</ul>
|
587
589
|
</div>
|
588
|
-
<div class="footer">
|
590
|
+
<div class="footer" role="contentinfo">
|
589
591
|
© Copyright 2009-2014, Brazil, Inc.
|
590
592
|
</div>
|
591
593
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.12.4. geo_in_circle — Groonga v4.0.
|
10
|
+
<title>7.12.4. geo_in_circle — Groonga v4.0.8ドキュメント</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: '4.0.
|
18
|
+
VERSION: '4.0.8',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
31
|
<link rel="next" title="7.12.5. geo_in_rectangle" href="geo_in_rectangle.html" />
|
32
32
|
<link rel="prev" title="7.12.3. geo_distance" href="geo_distance.html" />
|
33
33
|
</head>
|
34
|
-
<body>
|
34
|
+
<body role="document">
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related">
|
52
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="geo_distance.html" title="7.12.3. geo_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -70,7 +70,7 @@
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body">
|
73
|
+
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="geo-in-circle">
|
76
76
|
<h1>7.12.4. geo_in_circle<a class="headerlink" href="#geo-in-circle" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
@@ -91,34 +91,34 @@
|
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
93
|
<h2>7.12.4.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
|
-
<p><
|
94
|
+
<p><code class="docutils literal"><span class="pre">point</span></code></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
|
97
|
-
<p><
|
97
|
+
<p><code class="docutils literal"><span class="pre">center</span></code></p>
|
98
98
|
<blockquote>
|
99
99
|
<div>円の中心となる座標を指定します。Point型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
|
100
|
-
<p><
|
100
|
+
<p><code class="docutils literal"><span class="pre">radious_or_point</span></code></p>
|
101
101
|
<blockquote>
|
102
102
|
<div>円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定されたものとみなします。
|
103
103
|
Point型の値、あるいは座標を示す文字列を指定した場合は、円周上の点の一つの座標が指定されたものとみなします。</div></blockquote>
|
104
|
-
<p><
|
104
|
+
<p><code class="docutils literal"><span class="pre">approximate_type</span></code></p>
|
105
105
|
<blockquote>
|
106
106
|
<div><p>半径からの距離を求めるために地形をどのように近似するかを指定します。指定できる値は以下の通りです。</p>
|
107
|
-
<p><
|
107
|
+
<p><code class="docutils literal"><span class="pre">"rectangle"</span></code></p>
|
108
108
|
<blockquote>
|
109
109
|
<div><p>方形近似で近似します。単純な計算式で距離を求めることができるため高速ですが、極付近では誤差が大きくなります。</p>
|
110
|
-
<p><
|
111
|
-
<p>この近似方法がデフォルト値です。 <
|
110
|
+
<p><code class="docutils literal"><span class="pre">"rect"</span></code> と省略して指定することもできます。</p>
|
111
|
+
<p>この近似方法がデフォルト値です。 <code class="docutils literal"><span class="pre">approximate_type</span></code> を省略した場合は方形近似になります。</p>
|
112
112
|
</div></blockquote>
|
113
|
-
<p><
|
113
|
+
<p><code class="docutils literal"><span class="pre">"sphere"</span></code></p>
|
114
114
|
<blockquote>
|
115
|
-
<div><p>球面近似で近似します。 <
|
116
|
-
<p><
|
115
|
+
<div><p>球面近似で近似します。 <code class="docutils literal"><span class="pre">"rectangle"</span></code> よりも遅くなりますが、誤差は小さいです。</p>
|
116
|
+
<p><code class="docutils literal"><span class="pre">"sphr"</span></code> と省略して指定することもできます。</p>
|
117
117
|
</div></blockquote>
|
118
|
-
<p><
|
118
|
+
<p><code class="docutils literal"><span class="pre">"ellipsoid"</span></code></p>
|
119
119
|
<blockquote>
|
120
|
-
<div><p>楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 <
|
121
|
-
<p><
|
120
|
+
<div><p>楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 <code class="docutils literal"><span class="pre">"sphere"</span></code> よりも遅くなりますが、誤差は小さくなります。</p>
|
121
|
+
<p><code class="docutils literal"><span class="pre">"ellip"</span></code> と省略して指定することもできます。</p>
|
122
122
|
</div></blockquote>
|
123
123
|
</div></blockquote>
|
124
124
|
</div>
|
@@ -146,7 +146,7 @@ true
|
|
146
146
|
</div>
|
147
147
|
</div>
|
148
148
|
</div>
|
149
|
-
<div class="sphinxsidebar">
|
149
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
150
150
|
<div class="sphinxsidebarwrapper">
|
151
151
|
<h3><a href="../../index.html">目次</a></h3>
|
152
152
|
<ul>
|
@@ -167,12 +167,14 @@ true
|
|
167
167
|
<h4>次のトピックへ</h4>
|
168
168
|
<p class="topless"><a href="geo_in_rectangle.html"
|
169
169
|
title="次の章へ">7.12.5. geo_in_rectangle</a></p>
|
170
|
-
<
|
171
|
-
|
172
|
-
<
|
173
|
-
|
174
|
-
|
175
|
-
|
170
|
+
<div role="note" aria-label="source link">
|
171
|
+
<h3>このページ</h3>
|
172
|
+
<ul class="this-page-menu">
|
173
|
+
<li><a href="../../_sources/reference/functions/geo_in_circle.txt"
|
174
|
+
rel="nofollow">ソースコードを表示</a></li>
|
175
|
+
</ul>
|
176
|
+
</div>
|
177
|
+
<div id="searchbox" style="display: none" role="search">
|
176
178
|
<h3>クイック検索</h3>
|
177
179
|
<form class="search" action="../../search.html" method="get">
|
178
180
|
<input type="text" name="q" />
|
@@ -189,7 +191,7 @@ true
|
|
189
191
|
</div>
|
190
192
|
<div class="clearer"></div>
|
191
193
|
</div>
|
192
|
-
<div class="related">
|
194
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
193
195
|
<h3>ナビゲーション</h3>
|
194
196
|
<ul>
|
195
197
|
<li class="right" style="margin-right: 10px">
|
@@ -201,12 +203,12 @@ true
|
|
201
203
|
<li class="right" >
|
202
204
|
<a href="geo_distance.html" title="7.12.3. geo_distance"
|
203
205
|
>前へ</a> |</li>
|
204
|
-
<li><a href="../../index.html">Groonga v4.0.
|
206
|
+
<li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> »</li>
|
205
207
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
206
208
|
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
207
209
|
</ul>
|
208
210
|
</div>
|
209
|
-
<div class="footer">
|
211
|
+
<div class="footer" role="contentinfo">
|
210
212
|
© Copyright 2009-2014, Brazil, Inc.
|
211
213
|
</div>
|
212
214
|
</body>
|