rroonga 4.0.0-x86-mingw32 → 4.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +6 -0
- data/doc/text/news.textile +26 -0
- data/ext/groonga/rb-grn-column.c +42 -2
- data/ext/groonga/rb-grn-index-column.c +57 -159
- data/ext/groonga/rb-grn-object.c +7 -0
- data/ext/groonga/rb-grn-table.c +19 -3
- data/ext/groonga/rb-grn-utils.c +4 -1
- data/ext/groonga/rb-grn-variable-size-column.c +405 -5
- data/ext/groonga/rb-grn.h +18 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +46 -22
- data/lib/groonga/expression-builder.rb +2 -4
- data/lib/groonga/schema.rb +16 -234
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +6 -5
- data/test/test-column.rb +0 -14
- data/test/test-database.rb +6 -5
- data/test/test-double-array-trie.rb +6 -5
- data/test/test-expression.rb +2 -2
- data/test/test-hash.rb +6 -5
- data/test/test-index-column.rb +163 -33
- data/test/test-patricia-trie.rb +6 -5
- data/test/test-schema-dumper.rb +39 -7
- data/test/test-table-dumper.rb +46 -1
- data/test/test-table-select-weight.rb +12 -0
- data/test/test-variable-size-column.rb +87 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +6 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +25 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +333 -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 +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +68 -67
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +153 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +857 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +193 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +165 -13
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +25 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- 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 +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +333 -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 +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +67 -66
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +150 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +824 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +45 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +174 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +167 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +526 -73
- data/vendor/local/share/man/man1/groonga.1 +552 -80
- metadata +148 -139
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.3. geo_distance — Groonga v4.0.1ドキュメント</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: '4.0.1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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
|
30
|
-
<link rel="up" title="8.
|
31
|
-
<link rel="next" title="8.
|
32
|
-
<link rel="prev" title="8.
|
29
|
+
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="8.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="8.12.4. geo_in_circle" href="geo_in_circle.html" />
|
32
|
+
<link rel="prev" title="8.12.2. edit_distance" href="edit_distance.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="8.
|
59
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="edit_distance.html" title="8.
|
62
|
+
<a href="edit_distance.html" title="8.12.2. edit_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">8.
|
66
|
+
<li><a href="../function.html" accesskey="U">8.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,13 +73,13 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="geo-distance">
|
76
|
-
<h1>8.
|
76
|
+
<h1>8.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>8.
|
78
|
+
<h2>8.12.3.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
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>8.
|
82
|
+
<h2>8.12.3.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
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)
|
@@ -88,7 +88,7 @@ geo_distance(point1, point2, approximate_type)
|
|
88
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>8.
|
91
|
+
<h2>8.12.3.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
92
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
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>
|
@@ -105,7 +105,7 @@ geo_distance(point1, point2, approximate_type)
|
|
105
105
|
</li>
|
106
106
|
</ol>
|
107
107
|
<div class="section" id="using-the-column-value-of-location">
|
108
|
-
<h3>8.
|
108
|
+
<h3>8.12.3.3.1. locationカラムの値を使う<a class="headerlink" href="#using-the-column-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
109
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
|
@@ -169,7 +169,7 @@ load --table Cities
|
|
169
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>8.
|
172
|
+
<h3>8.12.3.3.2. 明示的に指定した位置を使う<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
173
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
|
@@ -227,28 +227,28 @@ load --table Geo
|
|
227
227
|
</div>
|
228
228
|
</div>
|
229
229
|
<div class="section" id="parameters">
|
230
|
-
<h2>8.
|
230
|
+
<h2>8.12.3.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
231
231
|
<div class="section" id="required-parameter">
|
232
|
-
<h3>8.
|
232
|
+
<h3>8.12.3.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
233
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>8.
|
235
|
+
<h4>8.12.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>8.
|
241
|
+
<h4>8.12.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>8.
|
248
|
+
<h3>8.12.3.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
249
249
|
<p>省略可能な引数として <tt class="docutils literal"><span class="pre">approximate_type</span></tt> があります。</p>
|
250
250
|
<div class="section" id="approximate-type">
|
251
|
-
<h4>8.
|
251
|
+
<h4>8.12.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
253
|
<p><tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値は以下を指定することができます。</p>
|
254
254
|
<blockquote>
|
@@ -263,7 +263,7 @@ load --table Geo
|
|
263
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>8.
|
266
|
+
<h5>8.12.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
269
|
<p><tt class="docutils literal"><span class="pre">rect</span></tt> を省略表記として指定することができます。</p>
|
@@ -418,7 +418,7 @@ load --table Geo
|
|
418
418
|
</div>
|
419
419
|
</div>
|
420
420
|
<div class="section" id="sphere">
|
421
|
-
<h5>8.
|
421
|
+
<h5>8.12.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
423
|
<p>球面近似は <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも遅いです。しかし <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも誤差は小さくなります。</p>
|
424
424
|
<p><tt class="docutils literal"><span class="pre">sphr</span></tt> を省略表記として指定することができます。</p>
|
@@ -452,7 +452,7 @@ load --table Geo
|
|
452
452
|
</div>
|
453
453
|
</div>
|
454
454
|
<div class="section" id="ellipsoid">
|
455
|
-
<h5>8.
|
455
|
+
<h5>8.12.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
457
|
<p>ヒュベニの距離計算式により距離を計算します。 <tt class="docutils literal"><span class="pre">sphere</span></tt> よりも遅いですが、 <tt class="docutils literal"><span class="pre">sphere</span></tt> より誤差は小さくなります。</p>
|
458
458
|
<p><tt class="docutils literal"><span class="pre">ellip</span></tt> を省略表記として指定することができます。</p>
|
@@ -489,7 +489,7 @@ load --table Geo
|
|
489
489
|
</div>
|
490
490
|
</div>
|
491
491
|
<div class="section" id="return-value">
|
492
|
-
<h2>8.
|
492
|
+
<h2>8.12.3.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
493
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">
|
@@ -510,42 +510,42 @@ load --table Geo
|
|
510
510
|
<div class="sphinxsidebarwrapper">
|
511
511
|
<h3><a href="../../index.html">目次</a></h3>
|
512
512
|
<ul>
|
513
|
-
<li><a class="reference internal" href="#">8.
|
514
|
-
<li><a class="reference internal" href="#summary">8.
|
515
|
-
<li><a class="reference internal" href="#syntax">8.
|
516
|
-
<li><a class="reference internal" href="#usage">8.
|
517
|
-
<li><a class="reference internal" href="#using-the-column-value-of-location">8.
|
518
|
-
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">8.
|
513
|
+
<li><a class="reference internal" href="#">8.12.3. geo_distance</a><ul>
|
514
|
+
<li><a class="reference internal" href="#summary">8.12.3.1. 概要</a></li>
|
515
|
+
<li><a class="reference internal" href="#syntax">8.12.3.2. 構文</a></li>
|
516
|
+
<li><a class="reference internal" href="#usage">8.12.3.3. 使い方</a><ul>
|
517
|
+
<li><a class="reference internal" href="#using-the-column-value-of-location">8.12.3.3.1. locationカラムの値を使う</a></li>
|
518
|
+
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">8.12.3.3.2. 明示的に指定した位置を使う</a></li>
|
519
519
|
</ul>
|
520
520
|
</li>
|
521
|
-
<li><a class="reference internal" href="#parameters">8.
|
522
|
-
<li><a class="reference internal" href="#required-parameter">8.
|
523
|
-
<li><a class="reference internal" href="#point1">8.
|
524
|
-
<li><a class="reference internal" href="#point2">8.
|
521
|
+
<li><a class="reference internal" href="#parameters">8.12.3.4. 引数</a><ul>
|
522
|
+
<li><a class="reference internal" href="#required-parameter">8.12.3.4.1. 必須引数</a><ul>
|
523
|
+
<li><a class="reference internal" href="#point1">8.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt></a></li>
|
524
|
+
<li><a class="reference internal" href="#point2">8.12.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">8.
|
528
|
-
<li><a class="reference internal" href="#approximate-type">8.
|
529
|
-
<li><a class="reference internal" href="#rectangle">8.
|
530
|
-
<li><a class="reference internal" href="#sphere">8.
|
531
|
-
<li><a class="reference internal" href="#ellipsoid">8.
|
527
|
+
<li><a class="reference internal" href="#optional-parameter">8.12.3.4.2. 省略可能引数</a><ul>
|
528
|
+
<li><a class="reference internal" href="#approximate-type">8.12.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">8.12.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">8.12.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">8.12.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">8.
|
538
|
+
<li><a class="reference internal" href="#return-value">8.12.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="前の章へ">8.
|
545
|
+
title="前の章へ">8.12.2. edit_distance</a></p>
|
546
546
|
<h4>次のトピックへ</h4>
|
547
547
|
<p class="topless"><a href="geo_in_circle.html"
|
548
|
-
title="次の章へ">8.
|
548
|
+
title="次の章へ">8.12.4. geo_in_circle</a></p>
|
549
549
|
<div role="note" aria-label="source link">
|
550
550
|
<h3>このページ</h3>
|
551
551
|
<ul class="this-page-menu">
|
@@ -577,14 +577,14 @@ load --table Geo
|
|
577
577
|
<a href="../../genindex.html" title="総合索引"
|
578
578
|
>索引</a></li>
|
579
579
|
<li class="right" >
|
580
|
-
<a href="geo_in_circle.html" title="8.
|
580
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
581
581
|
>次へ</a> |</li>
|
582
582
|
<li class="right" >
|
583
|
-
<a href="edit_distance.html" title="8.
|
583
|
+
<a href="edit_distance.html" title="8.12.2. edit_distance"
|
584
584
|
>前へ</a> |</li>
|
585
|
-
<li><a href="../../index.html">Groonga
|
585
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
586
586
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
587
|
-
<li><a href="../function.html" >8.
|
587
|
+
<li><a href="../function.html" >8.12. 関数</a> »</li>
|
588
588
|
</ul>
|
589
589
|
</div>
|
590
590
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.4. geo_in_circle — Groonga v4.0.1ドキュメント</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: '4.0.1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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
|
30
|
-
<link rel="up" title="8.
|
31
|
-
<link rel="next" title="8.
|
32
|
-
<link rel="prev" title="8.
|
29
|
+
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="8.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="8.12.5. geo_in_rectangle" href="geo_in_rectangle.html" />
|
32
|
+
<link rel="prev" title="8.12.3. geo_distance" href="geo_distance.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="8.
|
59
|
+
<a href="geo_in_rectangle.html" title="8.12.5. geo_in_rectangle"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="geo_distance.html" title="8.
|
62
|
+
<a href="geo_distance.html" title="8.12.3. geo_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">8.
|
66
|
+
<li><a href="../function.html" accesskey="U">8.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,24 +73,24 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="geo-in-circle">
|
76
|
-
<h1>8.
|
76
|
+
<h1>8.12.4. geo_in_circle<a class="headerlink" href="#geo-in-circle" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>8.
|
78
|
+
<h2>8.12.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>8.
|
82
|
+
<h2>8.12.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>8.
|
88
|
+
<h2>8.12.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>8.
|
93
|
+
<h2>8.12.4.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
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>
|
@@ -123,11 +123,11 @@ Point型の値、あるいは座標を示す文字列を指定した場合は、
|
|
123
123
|
</div></blockquote>
|
124
124
|
</div>
|
125
125
|
<div class="section" id="id6">
|
126
|
-
<h2>8.
|
126
|
+
<h2>8.12.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>8.
|
130
|
+
<h2>8.12.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>
|
@@ -150,23 +150,23 @@ true
|
|
150
150
|
<div class="sphinxsidebarwrapper">
|
151
151
|
<h3><a href="../../index.html">目次</a></h3>
|
152
152
|
<ul>
|
153
|
-
<li><a class="reference internal" href="#">8.
|
154
|
-
<li><a class="reference internal" href="#id1">8.
|
155
|
-
<li><a class="reference internal" href="#id2">8.
|
156
|
-
<li><a class="reference internal" href="#id3">8.
|
157
|
-
<li><a class="reference internal" href="#id4">8.
|
158
|
-
<li><a class="reference internal" href="#id6">8.
|
159
|
-
<li><a class="reference internal" href="#id7">8.
|
153
|
+
<li><a class="reference internal" href="#">8.12.4. geo_in_circle</a><ul>
|
154
|
+
<li><a class="reference internal" href="#id1">8.12.4.1. 名前</a></li>
|
155
|
+
<li><a class="reference internal" href="#id2">8.12.4.2. 書式</a></li>
|
156
|
+
<li><a class="reference internal" href="#id3">8.12.4.3. 説明</a></li>
|
157
|
+
<li><a class="reference internal" href="#id4">8.12.4.4. 引数</a></li>
|
158
|
+
<li><a class="reference internal" href="#id6">8.12.4.5. 返値</a></li>
|
159
|
+
<li><a class="reference internal" href="#id7">8.12.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="前の章へ">8.
|
166
|
+
title="前の章へ">8.12.3. geo_distance</a></p>
|
167
167
|
<h4>次のトピックへ</h4>
|
168
168
|
<p class="topless"><a href="geo_in_rectangle.html"
|
169
|
-
title="次の章へ">8.
|
169
|
+
title="次の章へ">8.12.5. geo_in_rectangle</a></p>
|
170
170
|
<div role="note" aria-label="source link">
|
171
171
|
<h3>このページ</h3>
|
172
172
|
<ul class="this-page-menu">
|
@@ -198,14 +198,14 @@ true
|
|
198
198
|
<a href="../../genindex.html" title="総合索引"
|
199
199
|
>索引</a></li>
|
200
200
|
<li class="right" >
|
201
|
-
<a href="geo_in_rectangle.html" title="8.
|
201
|
+
<a href="geo_in_rectangle.html" title="8.12.5. geo_in_rectangle"
|
202
202
|
>次へ</a> |</li>
|
203
203
|
<li class="right" >
|
204
|
-
<a href="geo_distance.html" title="8.
|
204
|
+
<a href="geo_distance.html" title="8.12.3. geo_distance"
|
205
205
|
>前へ</a> |</li>
|
206
|
-
<li><a href="../../index.html">Groonga
|
206
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
207
207
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
208
|
-
<li><a href="../function.html" >8.
|
208
|
+
<li><a href="../function.html" >8.12. 関数</a> »</li>
|
209
209
|
</ul>
|
210
210
|
</div>
|
211
211
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.5. geo_in_rectangle — Groonga v4.0.1ドキュメント</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: '4.0.1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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
|
30
|
-
<link rel="up" title="8.
|
31
|
-
<link rel="next" title="8.
|
32
|
-
<link rel="prev" title="8.
|
29
|
+
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="8.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="8.12.6. html_untag" href="html_untag.html" />
|
32
|
+
<link rel="prev" title="8.12.4. geo_in_circle" href="geo_in_circle.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="html_untag.html" title="8.
|
59
|
+
<a href="html_untag.html" title="8.12.6. html_untag"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="geo_in_circle.html" title="8.
|
62
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">8.
|
66
|
+
<li><a href="../function.html" accesskey="U">8.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,24 +73,24 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="geo-in-rectangle">
|
76
|
-
<h1>8.
|
76
|
+
<h1>8.12.5. geo_in_rectangle<a class="headerlink" href="#geo-in-rectangle" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>8.
|
78
|
+
<h2>8.12.5.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>8.
|
82
|
+
<h2>8.12.5.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_rectangle(point, top_left, bottom_right)
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>8.
|
88
|
+
<h2>8.12.5.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>Groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがなす矩形の範囲内にあるかどうかを調べます。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>8.
|
93
|
+
<h2>8.12.5.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
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>
|
@@ -102,11 +102,11 @@
|
|
102
102
|
<div>矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
|
103
103
|
</div>
|
104
104
|
<div class="section" id="id6">
|
105
|
-
<h2>8.
|
105
|
+
<h2>8.12.5.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
106
106
|
<p>pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。</p>
|
107
107
|
</div>
|
108
108
|
<div class="section" id="id7">
|
109
|
-
<h2>8.
|
109
|
+
<h2>8.12.5.6. 例<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
110
110
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_rectangle(pos, "150x100", "100x150")
|
111
111
|
true
|
112
112
|
</pre></div>
|
@@ -129,23 +129,23 @@ true
|
|
129
129
|
<div class="sphinxsidebarwrapper">
|
130
130
|
<h3><a href="../../index.html">目次</a></h3>
|
131
131
|
<ul>
|
132
|
-
<li><a class="reference internal" href="#">8.
|
133
|
-
<li><a class="reference internal" href="#id1">8.
|
134
|
-
<li><a class="reference internal" href="#id2">8.
|
135
|
-
<li><a class="reference internal" href="#id3">8.
|
136
|
-
<li><a class="reference internal" href="#id4">8.
|
137
|
-
<li><a class="reference internal" href="#id6">8.
|
138
|
-
<li><a class="reference internal" href="#id7">8.
|
132
|
+
<li><a class="reference internal" href="#">8.12.5. geo_in_rectangle</a><ul>
|
133
|
+
<li><a class="reference internal" href="#id1">8.12.5.1. 名前</a></li>
|
134
|
+
<li><a class="reference internal" href="#id2">8.12.5.2. 書式</a></li>
|
135
|
+
<li><a class="reference internal" href="#id3">8.12.5.3. 説明</a></li>
|
136
|
+
<li><a class="reference internal" href="#id4">8.12.5.4. 引数</a></li>
|
137
|
+
<li><a class="reference internal" href="#id6">8.12.5.5. 返値</a></li>
|
138
|
+
<li><a class="reference internal" href="#id7">8.12.5.6. 例</a></li>
|
139
139
|
</ul>
|
140
140
|
</li>
|
141
141
|
</ul>
|
142
142
|
|
143
143
|
<h4>前のトピックへ</h4>
|
144
144
|
<p class="topless"><a href="geo_in_circle.html"
|
145
|
-
title="前の章へ">8.
|
145
|
+
title="前の章へ">8.12.4. geo_in_circle</a></p>
|
146
146
|
<h4>次のトピックへ</h4>
|
147
147
|
<p class="topless"><a href="html_untag.html"
|
148
|
-
title="次の章へ">8.
|
148
|
+
title="次の章へ">8.12.6. html_untag</a></p>
|
149
149
|
<div role="note" aria-label="source link">
|
150
150
|
<h3>このページ</h3>
|
151
151
|
<ul class="this-page-menu">
|
@@ -177,14 +177,14 @@ true
|
|
177
177
|
<a href="../../genindex.html" title="総合索引"
|
178
178
|
>索引</a></li>
|
179
179
|
<li class="right" >
|
180
|
-
<a href="html_untag.html" title="8.
|
180
|
+
<a href="html_untag.html" title="8.12.6. html_untag"
|
181
181
|
>次へ</a> |</li>
|
182
182
|
<li class="right" >
|
183
|
-
<a href="geo_in_circle.html" title="8.
|
183
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
184
184
|
>前へ</a> |</li>
|
185
|
-
<li><a href="../../index.html">Groonga
|
185
|
+
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
186
186
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
187
|
-
<li><a href="../function.html" >8.
|
187
|
+
<li><a href="../function.html" >8.12. 関数</a> »</li>
|
188
188
|
</ul>
|
189
189
|
</div>
|
190
190
|
<div class="footer" role="contentinfo">
|