rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/doc/text/news.textile +19 -0
- data/ext/groonga/rb-grn-exception.c +35 -1
- data/ext/groonga/rb-grn-normalizer.c +37 -7
- data/ext/groonga/rb-grn-table.c +106 -35
- data/ext/groonga/rb-grn.h +3 -2
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/record.rb +45 -1
- data/rroonga-build.rb +6 -5
- data/test/groonga-test-utils.rb +9 -0
- data/test/test-array.rb +11 -0
- data/test/test-exception.rb +3 -1
- data/test/test-normalizer.rb +28 -0
- data/test/test-record.rb +34 -0
- data/test/test-table-group.rb +366 -0
- data/test/test-table.rb +0 -182
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-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/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +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/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/include/groonga/groonga/command.h +79 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -74
- data/vendor/local/include/groonga/groonga/output.h +108 -0
- data/vendor/local/include/groonga/groonga/plugin.h +18 -3
- 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/sharding.rb +3 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +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/command.rb +35 -0
- data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
- data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
- data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -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.5.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 +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- 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 +5 -5
- 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 +3 -3
- 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/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
- 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 +5 -5
- 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 +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/news.txt +16 -570
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -1
- 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 -2
- 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/searchtools.js +2 -2
- 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/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 +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
- data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
- data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/package.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +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 +4 -4
- 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 +5 -5
- 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 +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/news.txt +16 -570
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -1
- 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 -2
- 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/searchtools.js +2 -2
- 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/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 +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
- data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +85 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
- data/vendor/local/share/man/man1/groonga.1 +7192 -3297
- metadata +33 -4
@@ -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.2. edit_distance — Groonga
|
10
|
+
<title>7.12.2. edit_distance — Groonga v5.0.0ドキュメント</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: '
|
18
|
+
VERSION: '5.0.0',
|
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
|
29
|
+
<link rel="top" title="Groonga v5.0.0ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
31
|
<link rel="next" title="7.12.3. geo_distance" href="geo_distance.html" />
|
32
32
|
<link rel="prev" title="7.12.1. between" href="between.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="between.html" title="7.12.1. between"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</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="edit-distance">
|
76
76
|
<h1>7.12.2. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
@@ -91,10 +91,10 @@
|
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
93
|
<h2>7.12.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
|
-
<p><
|
94
|
+
<p><code class="docutils literal"><span class="pre">string1</span></code></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>文字列を指定します</div></blockquote>
|
97
|
-
<p><
|
97
|
+
<p><code class="docutils literal"><span class="pre">string2</span></code></p>
|
98
98
|
<blockquote>
|
99
99
|
<div>もうひとつの文字列を指定します</div></blockquote>
|
100
100
|
</div>
|
@@ -115,7 +115,7 @@
|
|
115
115
|
</div>
|
116
116
|
</div>
|
117
117
|
</div>
|
118
|
-
<div class="sphinxsidebar">
|
118
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
119
119
|
<div class="sphinxsidebarwrapper">
|
120
120
|
<h3><a href="../../index.html">目次</a></h3>
|
121
121
|
<ul>
|
@@ -136,12 +136,14 @@
|
|
136
136
|
<h4>次のトピックへ</h4>
|
137
137
|
<p class="topless"><a href="geo_distance.html"
|
138
138
|
title="次の章へ">7.12.3. geo_distance</a></p>
|
139
|
-
<
|
140
|
-
|
141
|
-
<
|
142
|
-
|
143
|
-
|
144
|
-
|
139
|
+
<div role="note" aria-label="source link">
|
140
|
+
<h3>このページ</h3>
|
141
|
+
<ul class="this-page-menu">
|
142
|
+
<li><a href="../../_sources/reference/functions/edit_distance.txt"
|
143
|
+
rel="nofollow">ソースコードを表示</a></li>
|
144
|
+
</ul>
|
145
|
+
</div>
|
146
|
+
<div id="searchbox" style="display: none" role="search">
|
145
147
|
<h3>クイック検索</h3>
|
146
148
|
<form class="search" action="../../search.html" method="get">
|
147
149
|
<input type="text" name="q" />
|
@@ -158,7 +160,7 @@
|
|
158
160
|
</div>
|
159
161
|
<div class="clearer"></div>
|
160
162
|
</div>
|
161
|
-
<div class="related">
|
163
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
162
164
|
<h3>ナビゲーション</h3>
|
163
165
|
<ul>
|
164
166
|
<li class="right" style="margin-right: 10px">
|
@@ -170,13 +172,13 @@
|
|
170
172
|
<li class="right" >
|
171
173
|
<a href="between.html" title="7.12.1. between"
|
172
174
|
>前へ</a> |</li>
|
173
|
-
<li><a href="../../index.html">Groonga
|
175
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</a> »</li>
|
174
176
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
175
177
|
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
176
178
|
</ul>
|
177
179
|
</div>
|
178
|
-
<div class="footer">
|
179
|
-
© Copyright 2009-
|
180
|
+
<div class="footer" role="contentinfo">
|
181
|
+
© Copyright 2009-2015, Brazil, Inc.
|
180
182
|
</div>
|
181
183
|
</body>
|
182
184
|
</html>
|
@@ -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
|
10
|
+
<title>7.12.3. geo_distance — Groonga v5.0.0ドキュメント</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: '
|
18
|
+
VERSION: '5.0.0',
|
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
|
29
|
+
<link rel="top" title="Groonga v5.0.0ドキュメント" 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
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</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
|
-
<p class="first admonition-title"
|
97
|
-
<p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <
|
96
|
+
<p class="first admonition-title">注釈</p>
|
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
|
-
<p class="first admonition-title"
|
263
|
-
<p class="last"><
|
262
|
+
<p class="first admonition-title">注釈</p>
|
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
|
-
<p class="first admonition-title"
|
413
|
-
<p class="last"><
|
412
|
+
<p class="first admonition-title">注釈</p>
|
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
|
-
<p class="first admonition-title"
|
417
|
-
<p class="last"><
|
416
|
+
<p class="first admonition-title">注釈</p>
|
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,13 +582,13 @@ 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
|
585
|
+
<li><a href="../../index.html">Groonga v5.0.0ドキュメント</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">
|
589
|
-
© Copyright 2009-
|
590
|
+
<div class="footer" role="contentinfo">
|
591
|
+
© Copyright 2009-2015, Brazil, Inc.
|
590
592
|
</div>
|
591
593
|
</body>
|
592
594
|
</html>
|