rroonga 5.0.0-x86-mingw32 → 5.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.yardopts +1 -0
- data/Rakefile +1 -16
- data/example/bookmark.rb +1 -6
- data/example/index-html.rb +0 -1
- data/ext/groonga/extconf.rb +4 -7
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +33 -67
- data/ext/groonga/rb-grn-context.c +5 -5
- data/ext/groonga/rb-grn-database.c +2 -2
- data/ext/groonga/rb-grn-double-array-trie.c +4 -2
- data/ext/groonga/rb-grn-encoding-support.c +7 -1
- data/ext/groonga/rb-grn-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-exception.c +17 -0
- data/ext/groonga/rb-grn-expression.c +85 -43
- data/ext/groonga/rb-grn-greater-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-greater-operator.c +85 -0
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +150 -11
- data/ext/groonga/rb-grn-less-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-less-operator.c +85 -0
- data/ext/groonga/rb-grn-logger.c +5 -5
- data/ext/groonga/rb-grn-match-operator.c +86 -0
- data/ext/groonga/rb-grn-normalizer.c +8 -1
- data/ext/groonga/rb-grn-not-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-object.c +170 -36
- data/ext/groonga/rb-grn-operator.c +395 -172
- data/ext/groonga/rb-grn-patricia-trie.c +10 -8
- data/ext/groonga/rb-grn-plugin.c +51 -3
- data/ext/groonga/rb-grn-prefix-operator.c +86 -0
- data/ext/groonga/rb-grn-procedure-type.c +4 -0
- data/ext/groonga/rb-grn-query-logger.c +4 -4
- data/ext/groonga/rb-grn-regexp-operator.c +85 -0
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +9 -5
- data/ext/groonga/rb-grn-table.c +52 -66
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +22 -3
- data/ext/groonga/rb-grn.h +31 -4
- data/ext/groonga/rb-groonga.c +9 -9
- 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/2.2/groonga.so +0 -0
- data/lib/groonga/context.rb +31 -0
- data/lib/groonga/expression-builder.rb +14 -1
- data/lib/groonga/record.rb +10 -8
- data/lib/groonga/schema.rb +3 -1
- data/rroonga-build.rb +2 -2
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -0
- data/test/test-column.rb +28 -26
- data/test/test-exception.rb +1 -0
- data/test/test-expression-builder.rb +83 -1
- data/test/test-expression.rb +80 -48
- data/test/test-index-column.rb +102 -29
- data/test/test-normalizer.rb +35 -29
- data/test/test-operator.rb +214 -0
- data/test/test-plugin.rb +24 -6
- data/test/test-procedure.rb +29 -0
- data/test/test-schema-type.rb +14 -0
- data/test/test-table-select-mecab.rb +1 -4
- data/test/test-table.rb +7 -0
- data/test/test-token-regexp.rb +30 -0
- data/test/test-type.rb +24 -0
- 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_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/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/groonga.conf +1 -1
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/expr.h +2 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -5
- data/vendor/local/include/groonga/groonga/ii.h +7 -0
- data/vendor/local/include/groonga/groonga/obj.h +37 -0
- data/vendor/local/include/groonga/groonga/scorer.h +95 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +6 -3
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +6 -5
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +421 -17
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +12 -4
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +11 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +23 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +158 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +39 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +11 -7
- data/vendor/local/lib/groonga/scripts/ruby/object.rb +11 -0
- data/vendor/local/lib/groonga/scripts/ruby/operator.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -11
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +137 -34
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_search_index.rb +9 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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/_images/used-when-indexing.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_images/used-when-searching.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +32 -17
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +194 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +42 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +54 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +173 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +112 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +7 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +64 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +63 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +12 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +47 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +54 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +403 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +217 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +13 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +530 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +66 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -81
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +6 -68
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -26
- 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.js +9404 -4
- 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.js +1415 -31
- 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 +18 -20
- data/vendor/local/share/doc/groonga/en/html/client.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +51 -38
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +26 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +150 -130
- data/vendor/local/share/doc/groonga/en/html/install.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +87 -89
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news.html +256 -27
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +98 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +102 -104
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +139 -118
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +51 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +130 -80
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +41 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +41 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +89 -91
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +75 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +94 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +71 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +314 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +252 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +87 -89
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +195 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +193 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +61 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +590 -592
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +92 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +152 -154
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -105
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +73 -75
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +34 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +124 -90
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +66 -68
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +113 -115
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +135 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +67 -69
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +66 -70
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +349 -286
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +483 -417
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +30 -31
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +931 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +442 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +153 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +114 -0
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +1394 -34
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- 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 +23 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/server/http.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +137 -0
- data/vendor/local/share/doc/groonga/en/html/server/package.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/spec.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +208 -129
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +27 -125
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_images/used-when-indexing.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_images/used-when-searching.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +32 -17
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +194 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +42 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +54 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +173 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +112 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +7 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +64 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +63 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +12 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +47 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +54 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +403 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +217 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +13 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +530 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +66 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -81
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +6 -68
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -26
- 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.js +9404 -4
- 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.js +1415 -31
- 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 +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +51 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +150 -130
- data/vendor/local/share/doc/groonga/ja/html/install.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +78 -80
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +210 -27
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +139 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +51 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +126 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +74 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +197 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +58 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +48 -50
- 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 +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +93 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +62 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +314 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +250 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +80 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +188 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +57 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +71 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +394 -396
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +78 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +123 -125
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +61 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +51 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +61 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +126 -90
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +63 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +94 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +66 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +135 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +70 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +56 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +229 -171
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +381 -322
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +878 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +442 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +154 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +115 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +1300 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +57 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -40
- 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 +23 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +62 -64
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +138 -0
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/spec.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +207 -128
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +27 -125
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/license/mruby/README.md +2 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +6205 -2251
- data/vendor/local/share/man/man1/groonga.1 +7210 -3029
- metadata +75 -11
- data/doc/text/news.textile +0 -1217
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -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.
|
10
|
+
<title>7.14.3. geo_distance — Groonga v5.0.1-42-g4d10df1ドキュメント</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: '5.0.
|
18
|
+
VERSION: '5.0.1-42-g4d10df1',
|
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 v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.
|
32
|
-
<link rel="prev" title="7.
|
29
|
+
<link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.14.4. geo_in_circle" href="geo_in_circle.html" />
|
32
|
+
<link rel="prev" title="7.14.2. edit_distance" href="edit_distance.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,64 +49,64 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="geo_in_circle.html" title="7.
|
59
|
+
<a href="geo_in_circle.html" title="7.14.4. geo_in_circle"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="edit_distance.html" title="7.
|
62
|
+
<a href="edit_distance.html" title="7.14.2. edit_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">7.
|
66
|
+
<li><a href="../function.html" accesskey="U">7.14. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="geo-distance">
|
76
|
-
<h1>7.
|
76
|
+
<h1>7.14.3. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.
|
79
|
-
<p><
|
78
|
+
<h2>7.14.3.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二点間の距離を計算します。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="syntax">
|
82
|
-
<h2>7.
|
83
|
-
<p><
|
82
|
+
<h2>7.14.3.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二つの点を指定します。引数 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> は省略可能です。</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><tt class="docutils literal"><span class="pre">approximate_type</span></tt> のデフォルト値は <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> です。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略した場合、 <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二点間の距離を <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> が指定されたものとして計算します。</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="usage">
|
91
|
-
<h2>7.
|
92
|
-
<p><
|
91
|
+
<h2>7.14.3.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
92
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> はGroongaの組み込み関数の一つです。</p>
|
93
93
|
<p>組み込み関数を <a class="reference internal" href="../grn_expr.html"><em>grn_expr</em></a> にて使うことができます。</p>
|
94
|
-
<p><
|
94
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> 関数は <tt class="docutils literal"><span class="pre">point1</span></tt> と <tt class="docutils literal"><span class="pre">point2</span></tt> の座標値から二点間の距離(近似値)を計算します。</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は三つの組み込み関数を距離の計算のために提供しています。 <tt class="docutils literal"><span class="pre">geo_distance()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> です。これらの違いは距離の計算アルゴリズムにあります。 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> と <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> はバージョン1.2.9より非推奨となりました。 <tt class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"sphere")</span></tt> を使用してください。 <tt class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"ellipsoid")</span></tt> を使用してください。</p>
|
98
98
|
</div>
|
99
|
-
<p>例とともに <
|
99
|
+
<p>例とともに <tt class="docutils literal"><span class="pre">geo_distance</span></tt> について学びましょう。このセクションでは簡単な例を示します。</p>
|
100
100
|
<p>使い方による違いがわかるようにスキーマ定義とサンプルデータを用意しました。これらのサンプルはニューヨークとロンドンを例に距離の計算方法を示します。</p>
|
101
101
|
<ol class="arabic simple">
|
102
|
-
<li><p class="first">距離の計算にlocationカラムの値を使う ( <
|
102
|
+
<li><p class="first">距離の計算にlocationカラムの値を使う ( <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブル)</p>
|
103
103
|
</li>
|
104
|
-
<li><p class="first">距離の計算に明示的に指定した座標値を使う ( <
|
104
|
+
<li><p class="first">距離の計算に明示的に指定した座標値を使う ( <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブル)</p>
|
105
105
|
</li>
|
106
106
|
</ol>
|
107
107
|
<div class="section" id="using-the-column-value-of-location">
|
108
|
-
<h3>7.
|
109
|
-
<p>使用例を示すための <
|
108
|
+
<h3>7.14.3.3.1. locationカラムの値を使う<a class="headerlink" href="#using-the-column-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
109
|
+
<p>使用例を示すための <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブルのスキーマ定義とサンプルデータは以下の通りです。</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>この実行例では <tt class="docutils literal"><span class="pre">location</span></tt> というカラムを持つ <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブルを作成します。 <tt class="docutils literal"><span class="pre">location</span></tt> カラムには座標値を保存します。東京の座標値がサンプルデータとして保存されています。</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>このサンプルは <tt class="docutils literal"><span class="pre">geo_distance</span></tt> が <tt class="docutils literal"><span class="pre">location</span></tt> カラムと座標値から距離を計算していることを示します。</p>
|
169
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> の第二引数として渡された値 ("185428000x-461000")はロンドンの座標値です。</p>
|
170
170
|
</div>
|
171
171
|
<div class="section" id="using-the-explicitly-specified-value-of-location">
|
172
|
-
<h3>7.
|
173
|
-
<p>使用例を示すための <
|
172
|
+
<h3>7.14.3.3.2. 明示的に指定した位置を使う<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
173
|
+
<p>使用例を示すための <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブルのスキーマ定義とサンプルデータは以下の通りです。</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>この実行例では <tt class="docutils literal"><span class="pre">distance</span></tt> カラムを持つ <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブルを作成します。 <tt class="docutils literal"><span class="pre">distance</span></tt> カラムには距離を保存します。</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,50 +223,50 @@ load --table Geo
|
|
223
223
|
# ]
|
224
224
|
</pre></div>
|
225
225
|
</div>
|
226
|
-
<p>このサンプルは <
|
226
|
+
<p>このサンプルは <tt class="docutils literal"><span class="pre">geo_distance</span></tt> がロンドンの座標とニューヨークの座標から距離を計算していることを示します。</p>
|
227
227
|
</div>
|
228
228
|
</div>
|
229
229
|
<div class="section" id="parameters">
|
230
|
-
<h2>7.
|
230
|
+
<h2>7.14.3.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
231
231
|
<div class="section" id="required-parameter">
|
232
|
-
<h3>7.
|
233
|
-
<p>必須引数は二つあります。 <
|
232
|
+
<h3>7.14.3.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
233
|
+
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">point1</span></tt> と <tt class="docutils literal"><span class="pre">point2</span></tt> です。</p>
|
234
234
|
<div class="section" id="point1">
|
235
|
-
<h4>7.
|
235
|
+
<h4>7.14.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt><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.
|
241
|
+
<h4>7.14.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt><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>
|
245
245
|
</div>
|
246
246
|
</div>
|
247
247
|
<div class="section" id="optional-parameter">
|
248
|
-
<h3>7.
|
249
|
-
<p>省略可能な引数として <
|
248
|
+
<h3>7.14.3.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
249
|
+
<p>省略可能な引数として <tt class="docutils literal"><span class="pre">approximate_type</span></tt> があります。</p>
|
250
250
|
<div class="section" id="approximate-type">
|
251
|
-
<h4>7.
|
251
|
+
<h4>7.14.3.4.2.1. <tt class="docutils literal"><span class="pre">approximate_type</span></tt><a class="headerlink" href="#approximate-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
252
252
|
<p>距離を計算するときに地形をどのように近似するかを指定します。</p>
|
253
|
-
<p><
|
253
|
+
<p><tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値は以下を指定することができます。</p>
|
254
254
|
<blockquote>
|
255
255
|
<div><ul class="simple">
|
256
|
-
<li><
|
257
|
-
<li><
|
258
|
-
<li><
|
256
|
+
<li><tt class="docutils literal"><span class="pre">rectangle</span></tt></li>
|
257
|
+
<li><tt class="docutils literal"><span class="pre">sphere</span></tt></li>
|
258
|
+
<li><tt class="docutils literal"><span class="pre">ellipsoid</span></tt></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"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> には制限があります。 <tt class="docutils literal"><span class="pre">sphere</span></tt> や <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> を近似方法として選択した場合、子午線や日付変更線、赤道といった境界をまたぐ距離の計算を行うことができません。この制限は <tt class="docutils literal"><span class="pre">rectangle</span></tt> を近似方法として選択した場合にはありません。これはGroongaの実装上の一時的な制限ですが、将来的には修正される予定です。</p>
|
264
264
|
</div>
|
265
265
|
<div class="section" id="rectangle">
|
266
|
-
<h5>7.
|
266
|
+
<h5>7.14.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt><a class="headerlink" href="#rectangle" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
267
267
|
<p>この引数を指定すると地形を方形近似して距離を計算します。</p>
|
268
268
|
<p>簡易な式で距離の計算を行うので、高速に距離を求めることができますが、極付近では誤差が増大します。</p>
|
269
|
-
<p><
|
269
|
+
<p><tt class="docutils literal"><span class="pre">rect</span></tt> を省略表記として指定することができます。</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>このサンプルは子午線をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance("175904000x8464000",</span> <span class="pre">"145508000x-13291000",</span> <span class="pre">"rectangle")</span></tt> はパリ(フランス)からマドリード(スペイン)間の距離を返します。</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>このサンプルは赤道をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance("146566000x-266422000",</span> <span class="pre">"-56880000x-172310000",</span> <span class="pre">"rectangle")</span></tt> はニューヨーク(アメリカ)からブラジリア(ブラジル)間の距離を返します。</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>このサンプルは日付変更線をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance("143660000x419009000",</span> <span class="pre">"135960000x-440760000",</span> <span class="pre">"rectangle")</span></tt> は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。</p>
|
411
411
|
<div class="admonition note">
|
412
412
|
<p class="first admonition-title">注釈</p>
|
413
|
-
<p class="last"><
|
413
|
+
<p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は方形近似をデフォルトとして使用します。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略すると <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">rectangle</span></tt> が指定されたものとして振舞います。</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"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値が <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> であるときに <tt class="docutils literal"><span class="pre">point1</span></tt> の値として座標を表す文字列を受けつけます。もし <tt class="docutils literal"><span class="pre">sphere</span></tt> や <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> と一緒に座標を表す文字列を <tt class="docutils literal"><span class="pre">point1</span></tt> へ指定した場合、 <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は距離の値として0を返します。</p>
|
418
418
|
</div>
|
419
419
|
</div>
|
420
420
|
<div class="section" id="sphere">
|
421
|
-
<h5>7.
|
421
|
+
<h5>7.14.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt><a class="headerlink" href="#sphere" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
422
422
|
<p>この引数を指定すると球面近似で地形を近似して距離を計算します。</p>
|
423
|
-
<p>球面近似は <
|
424
|
-
<p><
|
423
|
+
<p>球面近似は <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも遅いです。しかし <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも誤差は小さくなります。</p>
|
424
|
+
<p><tt class="docutils literal"><span class="pre">sphr</span></tt> を省略表記として指定することができます。</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.
|
455
|
+
<h5>7.14.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt><a class="headerlink" href="#ellipsoid" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
456
456
|
<p>この引数を指定すると楕円近似で地形を近似して距離を計算します。</p>
|
457
|
-
<p>ヒュベニの距離計算式により距離を計算します。 <
|
458
|
-
<p><
|
457
|
+
<p>ヒュベニの距離計算式により距離を計算します。 <tt class="docutils literal"><span class="pre">sphere</span></tt> よりも遅いですが、 <tt class="docutils literal"><span class="pre">sphere</span></tt> より誤差は小さくなります。</p>
|
458
|
+
<p><tt class="docutils literal"><span class="pre">ellip</span></tt> を省略表記として指定することができます。</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")'
|
@@ -489,8 +489,8 @@ load --table Geo
|
|
489
489
|
</div>
|
490
490
|
</div>
|
491
491
|
<div class="section" id="return-value">
|
492
|
-
<h2>7.
|
493
|
-
<p><
|
492
|
+
<h2>7.14.3.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
493
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は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,54 +506,52 @@ load --table Geo
|
|
506
506
|
</div>
|
507
507
|
</div>
|
508
508
|
</div>
|
509
|
-
<div class="sphinxsidebar"
|
509
|
+
<div class="sphinxsidebar">
|
510
510
|
<div class="sphinxsidebarwrapper">
|
511
511
|
<h3><a href="../../index.html">目次</a></h3>
|
512
512
|
<ul>
|
513
|
-
<li><a class="reference internal" href="#">7.
|
514
|
-
<li><a class="reference internal" href="#summary">7.
|
515
|
-
<li><a class="reference internal" href="#syntax">7.
|
516
|
-
<li><a class="reference internal" href="#usage">7.
|
517
|
-
<li><a class="reference internal" href="#using-the-column-value-of-location">7.
|
518
|
-
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">7.
|
513
|
+
<li><a class="reference internal" href="#">7.14.3. geo_distance</a><ul>
|
514
|
+
<li><a class="reference internal" href="#summary">7.14.3.1. 概要</a></li>
|
515
|
+
<li><a class="reference internal" href="#syntax">7.14.3.2. 構文</a></li>
|
516
|
+
<li><a class="reference internal" href="#usage">7.14.3.3. 使い方</a><ul>
|
517
|
+
<li><a class="reference internal" href="#using-the-column-value-of-location">7.14.3.3.1. locationカラムの値を使う</a></li>
|
518
|
+
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">7.14.3.3.2. 明示的に指定した位置を使う</a></li>
|
519
519
|
</ul>
|
520
520
|
</li>
|
521
|
-
<li><a class="reference internal" href="#parameters">7.
|
522
|
-
<li><a class="reference internal" href="#required-parameter">7.
|
523
|
-
<li><a class="reference internal" href="#point1">7.
|
524
|
-
<li><a class="reference internal" href="#point2">7.
|
521
|
+
<li><a class="reference internal" href="#parameters">7.14.3.4. 引数</a><ul>
|
522
|
+
<li><a class="reference internal" href="#required-parameter">7.14.3.4.1. 必須引数</a><ul>
|
523
|
+
<li><a class="reference internal" href="#point1">7.14.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt></a></li>
|
524
|
+
<li><a class="reference internal" href="#point2">7.14.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt></a></li>
|
525
525
|
</ul>
|
526
526
|
</li>
|
527
|
-
<li><a class="reference internal" href="#optional-parameter">7.
|
528
|
-
<li><a class="reference internal" href="#approximate-type">7.
|
529
|
-
<li><a class="reference internal" href="#rectangle">7.
|
530
|
-
<li><a class="reference internal" href="#sphere">7.
|
531
|
-
<li><a class="reference internal" href="#ellipsoid">7.
|
527
|
+
<li><a class="reference internal" href="#optional-parameter">7.14.3.4.2. 省略可能引数</a><ul>
|
528
|
+
<li><a class="reference internal" href="#approximate-type">7.14.3.4.2.1. <tt class="docutils literal"><span class="pre">approximate_type</span></tt></a><ul>
|
529
|
+
<li><a class="reference internal" href="#rectangle">7.14.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt></a></li>
|
530
|
+
<li><a class="reference internal" href="#sphere">7.14.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt></a></li>
|
531
|
+
<li><a class="reference internal" href="#ellipsoid">7.14.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt></a></li>
|
532
532
|
</ul>
|
533
533
|
</li>
|
534
534
|
</ul>
|
535
535
|
</li>
|
536
536
|
</ul>
|
537
537
|
</li>
|
538
|
-
<li><a class="reference internal" href="#return-value">7.
|
538
|
+
<li><a class="reference internal" href="#return-value">7.14.3.5. 戻り値</a></li>
|
539
539
|
</ul>
|
540
540
|
</li>
|
541
541
|
</ul>
|
542
542
|
|
543
543
|
<h4>前のトピックへ</h4>
|
544
544
|
<p class="topless"><a href="edit_distance.html"
|
545
|
-
title="前の章へ">7.
|
545
|
+
title="前の章へ">7.14.2. edit_distance</a></p>
|
546
546
|
<h4>次のトピックへ</h4>
|
547
547
|
<p class="topless"><a href="geo_in_circle.html"
|
548
|
-
title="次の章へ">7.
|
549
|
-
<
|
550
|
-
|
551
|
-
<
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
</div>
|
556
|
-
<div id="searchbox" style="display: none" role="search">
|
548
|
+
title="次の章へ">7.14.4. geo_in_circle</a></p>
|
549
|
+
<h3>このページ</h3>
|
550
|
+
<ul class="this-page-menu">
|
551
|
+
<li><a href="../../_sources/reference/functions/geo_distance.txt"
|
552
|
+
rel="nofollow">ソースコードを表示</a></li>
|
553
|
+
</ul>
|
554
|
+
<div id="searchbox" style="display: none">
|
557
555
|
<h3>クイック検索</h3>
|
558
556
|
<form class="search" action="../../search.html" method="get">
|
559
557
|
<input type="text" name="q" />
|
@@ -570,24 +568,24 @@ load --table Geo
|
|
570
568
|
</div>
|
571
569
|
<div class="clearer"></div>
|
572
570
|
</div>
|
573
|
-
<div class="related"
|
571
|
+
<div class="related">
|
574
572
|
<h3>ナビゲーション</h3>
|
575
573
|
<ul>
|
576
574
|
<li class="right" style="margin-right: 10px">
|
577
575
|
<a href="../../genindex.html" title="総合索引"
|
578
576
|
>索引</a></li>
|
579
577
|
<li class="right" >
|
580
|
-
<a href="geo_in_circle.html" title="7.
|
578
|
+
<a href="geo_in_circle.html" title="7.14.4. geo_in_circle"
|
581
579
|
>次へ</a> |</li>
|
582
580
|
<li class="right" >
|
583
|
-
<a href="edit_distance.html" title="7.
|
581
|
+
<a href="edit_distance.html" title="7.14.2. edit_distance"
|
584
582
|
>前へ</a> |</li>
|
585
|
-
<li><a href="../../index.html">Groonga v5.0.
|
583
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
586
584
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
587
|
-
<li><a href="../function.html" >7.
|
585
|
+
<li><a href="../function.html" >7.14. 関数</a> »</li>
|
588
586
|
</ul>
|
589
587
|
</div>
|
590
|
-
<div class="footer"
|
588
|
+
<div class="footer">
|
591
589
|
© Copyright 2009-2015, Brazil, Inc.
|
592
590
|
</div>
|
593
591
|
</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.
|
10
|
+
<title>7.14.4. geo_in_circle — Groonga v5.0.1-42-g4d10df1ドキュメント</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: '5.0.
|
18
|
+
VERSION: '5.0.1-42-g4d10df1',
|
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 v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.
|
32
|
-
<link rel="prev" title="7.
|
29
|
+
<link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.14.5. geo_in_rectangle" href="geo_in_rectangle.html" />
|
32
|
+
<link rel="prev" title="7.14.3. geo_distance" href="geo_distance.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,85 +49,85 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="geo_in_rectangle.html" title="7.
|
59
|
+
<a href="geo_in_rectangle.html" title="7.14.5. geo_in_rectangle"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="geo_distance.html" title="7.
|
62
|
+
<a href="geo_distance.html" title="7.14.3. geo_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">7.
|
66
|
+
<li><a href="../function.html" accesskey="U">7.14. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="geo-in-circle">
|
76
|
-
<h1>7.
|
76
|
+
<h1>7.14.4. geo_in_circle<a class="headerlink" href="#geo-in-circle" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>7.
|
78
|
+
<h2>7.14.4.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>7.
|
82
|
+
<h2>7.14.4.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_circle(point, center, radious_or_point[, approximate_type])
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>7.
|
88
|
+
<h2>7.14.4.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>Groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とする円の範囲内にあるかどうかを調べます。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>7.
|
94
|
-
<p><
|
93
|
+
<h2>7.14.4.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
|
+
<p><tt class="docutils literal"><span class="pre">point</span></tt></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
|
97
|
-
<p><
|
97
|
+
<p><tt class="docutils literal"><span class="pre">center</span></tt></p>
|
98
98
|
<blockquote>
|
99
99
|
<div>円の中心となる座標を指定します。Point型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
|
100
|
-
<p><
|
100
|
+
<p><tt class="docutils literal"><span class="pre">radious_or_point</span></tt></p>
|
101
101
|
<blockquote>
|
102
102
|
<div>円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定されたものとみなします。
|
103
103
|
Point型の値、あるいは座標を示す文字列を指定した場合は、円周上の点の一つの座標が指定されたものとみなします。</div></blockquote>
|
104
|
-
<p><
|
104
|
+
<p><tt class="docutils literal"><span class="pre">approximate_type</span></tt></p>
|
105
105
|
<blockquote>
|
106
106
|
<div><p>半径からの距離を求めるために地形をどのように近似するかを指定します。指定できる値は以下の通りです。</p>
|
107
|
-
<p><
|
107
|
+
<p><tt class="docutils literal"><span class="pre">"rectangle"</span></tt></p>
|
108
108
|
<blockquote>
|
109
109
|
<div><p>方形近似で近似します。単純な計算式で距離を求めることができるため高速ですが、極付近では誤差が大きくなります。</p>
|
110
|
-
<p><
|
111
|
-
<p>この近似方法がデフォルト値です。 <
|
110
|
+
<p><tt class="docutils literal"><span class="pre">"rect"</span></tt> と省略して指定することもできます。</p>
|
111
|
+
<p>この近似方法がデフォルト値です。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略した場合は方形近似になります。</p>
|
112
112
|
</div></blockquote>
|
113
|
-
<p><
|
113
|
+
<p><tt class="docutils literal"><span class="pre">"sphere"</span></tt></p>
|
114
114
|
<blockquote>
|
115
|
-
<div><p>球面近似で近似します。 <
|
116
|
-
<p><
|
115
|
+
<div><p>球面近似で近似します。 <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> よりも遅くなりますが、誤差は小さいです。</p>
|
116
|
+
<p><tt class="docutils literal"><span class="pre">"sphr"</span></tt> と省略して指定することもできます。</p>
|
117
117
|
</div></blockquote>
|
118
|
-
<p><
|
118
|
+
<p><tt class="docutils literal"><span class="pre">"ellipsoid"</span></tt></p>
|
119
119
|
<blockquote>
|
120
|
-
<div><p>楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 <
|
121
|
-
<p><
|
120
|
+
<div><p>楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 <tt class="docutils literal"><span class="pre">"sphere"</span></tt> よりも遅くなりますが、誤差は小さくなります。</p>
|
121
|
+
<p><tt class="docutils literal"><span class="pre">"ellip"</span></tt> と省略して指定することもできます。</p>
|
122
122
|
</div></blockquote>
|
123
123
|
</div></blockquote>
|
124
124
|
</div>
|
125
125
|
<div class="section" id="id6">
|
126
|
-
<h2>7.
|
126
|
+
<h2>7.14.4.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
127
127
|
<p>pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。</p>
|
128
128
|
</div>
|
129
129
|
<div class="section" id="id7">
|
130
|
-
<h2>7.
|
130
|
+
<h2>7.14.4.6. 例<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
131
131
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_circle(pos, "100x100", 100)
|
132
132
|
true
|
133
133
|
</pre></div>
|
@@ -146,35 +146,33 @@ true
|
|
146
146
|
</div>
|
147
147
|
</div>
|
148
148
|
</div>
|
149
|
-
<div class="sphinxsidebar"
|
149
|
+
<div class="sphinxsidebar">
|
150
150
|
<div class="sphinxsidebarwrapper">
|
151
151
|
<h3><a href="../../index.html">目次</a></h3>
|
152
152
|
<ul>
|
153
|
-
<li><a class="reference internal" href="#">7.
|
154
|
-
<li><a class="reference internal" href="#id1">7.
|
155
|
-
<li><a class="reference internal" href="#id2">7.
|
156
|
-
<li><a class="reference internal" href="#id3">7.
|
157
|
-
<li><a class="reference internal" href="#id4">7.
|
158
|
-
<li><a class="reference internal" href="#id6">7.
|
159
|
-
<li><a class="reference internal" href="#id7">7.
|
153
|
+
<li><a class="reference internal" href="#">7.14.4. geo_in_circle</a><ul>
|
154
|
+
<li><a class="reference internal" href="#id1">7.14.4.1. 名前</a></li>
|
155
|
+
<li><a class="reference internal" href="#id2">7.14.4.2. 書式</a></li>
|
156
|
+
<li><a class="reference internal" href="#id3">7.14.4.3. 説明</a></li>
|
157
|
+
<li><a class="reference internal" href="#id4">7.14.4.4. 引数</a></li>
|
158
|
+
<li><a class="reference internal" href="#id6">7.14.4.5. 返値</a></li>
|
159
|
+
<li><a class="reference internal" href="#id7">7.14.4.6. 例</a></li>
|
160
160
|
</ul>
|
161
161
|
</li>
|
162
162
|
</ul>
|
163
163
|
|
164
164
|
<h4>前のトピックへ</h4>
|
165
165
|
<p class="topless"><a href="geo_distance.html"
|
166
|
-
title="前の章へ">7.
|
166
|
+
title="前の章へ">7.14.3. geo_distance</a></p>
|
167
167
|
<h4>次のトピックへ</h4>
|
168
168
|
<p class="topless"><a href="geo_in_rectangle.html"
|
169
|
-
title="次の章へ">7.
|
170
|
-
<
|
171
|
-
|
172
|
-
<
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
</div>
|
177
|
-
<div id="searchbox" style="display: none" role="search">
|
169
|
+
title="次の章へ">7.14.5. geo_in_rectangle</a></p>
|
170
|
+
<h3>このページ</h3>
|
171
|
+
<ul class="this-page-menu">
|
172
|
+
<li><a href="../../_sources/reference/functions/geo_in_circle.txt"
|
173
|
+
rel="nofollow">ソースコードを表示</a></li>
|
174
|
+
</ul>
|
175
|
+
<div id="searchbox" style="display: none">
|
178
176
|
<h3>クイック検索</h3>
|
179
177
|
<form class="search" action="../../search.html" method="get">
|
180
178
|
<input type="text" name="q" />
|
@@ -191,24 +189,24 @@ true
|
|
191
189
|
</div>
|
192
190
|
<div class="clearer"></div>
|
193
191
|
</div>
|
194
|
-
<div class="related"
|
192
|
+
<div class="related">
|
195
193
|
<h3>ナビゲーション</h3>
|
196
194
|
<ul>
|
197
195
|
<li class="right" style="margin-right: 10px">
|
198
196
|
<a href="../../genindex.html" title="総合索引"
|
199
197
|
>索引</a></li>
|
200
198
|
<li class="right" >
|
201
|
-
<a href="geo_in_rectangle.html" title="7.
|
199
|
+
<a href="geo_in_rectangle.html" title="7.14.5. geo_in_rectangle"
|
202
200
|
>次へ</a> |</li>
|
203
201
|
<li class="right" >
|
204
|
-
<a href="geo_distance.html" title="7.
|
202
|
+
<a href="geo_distance.html" title="7.14.3. geo_distance"
|
205
203
|
>前へ</a> |</li>
|
206
|
-
<li><a href="../../index.html">Groonga v5.0.
|
204
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
207
205
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
208
|
-
<li><a href="../function.html" >7.
|
206
|
+
<li><a href="../function.html" >7.14. 関数</a> »</li>
|
209
207
|
</ul>
|
210
208
|
</div>
|
211
|
-
<div class="footer"
|
209
|
+
<div class="footer">
|
212
210
|
© Copyright 2009-2015, Brazil, Inc.
|
213
211
|
</div>
|
214
212
|
</body>
|