rroonga 4.0.0-x64-mingw32 → 4.0.1-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.txt +3 -2
- 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/_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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
- 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/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.html +8 -8
- 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/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.html +12 -12
- 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/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.html +22 -22
- 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/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.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- 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/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +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/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.txt +3 -2
- 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/_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.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/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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.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/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.html +5 -5
- 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/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
- 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/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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/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/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.html +19 -19
- 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/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.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- 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/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- 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/suggest.html +5 -5
- 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/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +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/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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.12.4. geo_in_circle" href="geo_in_circle.html" />
|
31
|
+
<link rel="prev" title="8.12.2. edit_distance" href="edit_distance.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="geo_in_circle.html" title="8.
|
58
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="edit_distance.html" title="8.
|
61
|
+
<a href="edit_distance.html" title="8.12.2. edit_distance"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,13 +72,13 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="geo-distance">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.12.3.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> calculates the value of distance between specified two points.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="syntax">
|
81
|
-
<h2>8.
|
81
|
+
<h2>8.12.3.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> requires two point.
|
83
83
|
The parameter <tt class="docutils literal"><span class="pre">approximate_type</span></tt> is optional:</p>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>geo_distance(point1, point2)
|
@@ -90,7 +90,7 @@ If you omit <tt class="docutils literal"><span class="pre">approximate_type</spa
|
|
90
90
|
distance as if <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> was specified.</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="usage">
|
93
|
-
<h2>8.
|
93
|
+
<h2>8.12.3.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
94
94
|
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> is one of the Groonga builtin functions.</p>
|
95
95
|
<p>You can call a builtin function in <a class="reference internal" href="../grn_expr.html"><em>grn_expr</em></a></p>
|
96
96
|
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> function calculates the value of distance (approximate value)
|
@@ -113,7 +113,7 @@ Those samples show how to calculate the value of distance between New York City
|
|
113
113
|
<li>Using the explicitly specified coordinates for calculating the distance (<tt class="docutils literal"><span class="pre">Geo</span></tt> table)</li>
|
114
114
|
</ol>
|
115
115
|
<div class="section" id="using-the-column-value-of-location">
|
116
|
-
<h3>8.
|
116
|
+
<h3>8.12.3.3.1. Using the column value of location<a class="headerlink" href="#using-the-column-value-of-location" title="Permalink to this headline">¶</a></h3>
|
117
117
|
<p>Here are a schema definition of <tt class="docutils literal"><span class="pre">Cities</span></tt> table and sample data to show usage.</p>
|
118
118
|
<div class="highlight-none"><div class="highlight"><pre>table_create Cities TABLE_HASH_KEY ShortText
|
119
119
|
column_create Cities location COLUMN_SCALAR WGS84GeoPoint
|
@@ -181,7 +181,7 @@ and the value of coordinate to calculate distance.</p>
|
|
181
181
|
the coordinate of London.</p>
|
182
182
|
</div>
|
183
183
|
<div class="section" id="using-the-explicitly-specified-value-of-location">
|
184
|
-
<h3>8.
|
184
|
+
<h3>8.12.3.3.2. Using the explicitly specified value of location<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="Permalink to this headline">¶</a></h3>
|
185
185
|
<p>Here are a schema definition of <tt class="docutils literal"><span class="pre">Geo</span></tt> table and sample data to show usage.</p>
|
186
186
|
<div class="highlight-none"><div class="highlight"><pre>table_create Geo TABLE_HASH_KEY ShortText
|
187
187
|
column_create Geo distance COLUMN_SCALAR Int32
|
@@ -241,19 +241,19 @@ and the coordinate of New York to calculate distance.</p>
|
|
241
241
|
</div>
|
242
242
|
</div>
|
243
243
|
<div class="section" id="parameters">
|
244
|
-
<h2>8.
|
244
|
+
<h2>8.12.3.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
245
245
|
<div class="section" id="required-parameter">
|
246
|
-
<h3>8.
|
246
|
+
<h3>8.12.3.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
247
247
|
<p>There are two required parameter, <tt class="docutils literal"><span class="pre">point1</span></tt> and <tt class="docutils literal"><span class="pre">point2</span></tt>.</p>
|
248
248
|
<div class="section" id="point1">
|
249
|
-
<h4>8.
|
249
|
+
<h4>8.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt><a class="headerlink" href="#point1" title="Permalink to this headline">¶</a></h4>
|
250
250
|
<p>It specifies the start point that
|
251
251
|
you want to calculate the value of distance between two points.</p>
|
252
252
|
<p>You can specify the value of GeoPoint type. <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
|
253
253
|
<p>See <a class="reference internal" href="../types.html"><em>データ型</em></a> about GeoPoint.</p>
|
254
254
|
</div>
|
255
255
|
<div class="section" id="point2">
|
256
|
-
<h4>8.
|
256
|
+
<h4>8.12.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt><a class="headerlink" href="#point2" title="Permalink to this headline">¶</a></h4>
|
257
257
|
<p>It specifies the end point that
|
258
258
|
you want to calculate the value of distance between two points.</p>
|
259
259
|
<p>You can specify the value of GeoPoint type or
|
@@ -262,10 +262,10 @@ the string indicating the coordinate.</p>
|
|
262
262
|
</div>
|
263
263
|
</div>
|
264
264
|
<div class="section" id="optional-parameter">
|
265
|
-
<h3>8.
|
265
|
+
<h3>8.12.3.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
|
266
266
|
<p>There is a optional parameter, <tt class="docutils literal"><span class="pre">approximate_type</span></tt>.</p>
|
267
267
|
<div class="section" id="approximate-type">
|
268
|
-
<h4>8.
|
268
|
+
<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="Permalink to this headline">¶</a></h4>
|
269
269
|
<p>It specifies how to approximate the geographical features for calculating
|
270
270
|
the value of distance.</p>
|
271
271
|
<p>You can specify the value of <tt class="docutils literal"><span class="pre">approximate_type</span></tt> by one of the followings.</p>
|
@@ -286,7 +286,7 @@ This is temporary limitation according to the implementation of Groonga,
|
|
286
286
|
but it will be fixed in the future release.</p>
|
287
287
|
</div>
|
288
288
|
<div class="section" id="rectangle">
|
289
|
-
<h5>8.
|
289
|
+
<h5>8.12.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt><a class="headerlink" href="#rectangle" title="Permalink to this headline">¶</a></h5>
|
290
290
|
<p>This parameter require to approximate the geographical features
|
291
291
|
by square approximation for calculating the distance.</p>
|
292
292
|
<p>Since the value of distance is calculated by simple formula,
|
@@ -452,7 +452,7 @@ returns 0 as the value of distance.</p>
|
|
452
452
|
</div>
|
453
453
|
</div>
|
454
454
|
<div class="section" id="sphere">
|
455
|
-
<h5>8.
|
455
|
+
<h5>8.12.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt><a class="headerlink" href="#sphere" title="Permalink to this headline">¶</a></h5>
|
456
456
|
<p>This parameter require to approximate the geographical features
|
457
457
|
by spherical approximation for calculating the distance.</p>
|
458
458
|
<p>It is slower than <tt class="docutils literal"><span class="pre">rectangle</span></tt>, but the error of distance becomes
|
@@ -488,7 +488,7 @@ smaller than <tt class="docutils literal"><span class="pre">rectangle</span></tt
|
|
488
488
|
</div>
|
489
489
|
</div>
|
490
490
|
<div class="section" id="ellipsoid">
|
491
|
-
<h5>8.
|
491
|
+
<h5>8.12.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt><a class="headerlink" href="#ellipsoid" title="Permalink to this headline">¶</a></h5>
|
492
492
|
<p>This parameter require to approximate the geographical features
|
493
493
|
by ellipsoid approximation for calculating the distance.</p>
|
494
494
|
<p>It uses the calculation of distance by the formula of Hubeny.
|
@@ -528,7 +528,7 @@ smaller than <tt class="docutils literal"><span class="pre">sphere</span></tt>.<
|
|
528
528
|
</div>
|
529
529
|
</div>
|
530
530
|
<div class="section" id="return-value">
|
531
|
-
<h2>8.
|
531
|
+
<h2>8.12.3.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
532
532
|
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> returns the value of distance in float type.
|
533
533
|
The unit of return value is meter.</p>
|
534
534
|
<p class="rubric">Footnote</p>
|
@@ -549,42 +549,42 @@ The unit of return value is meter.</p>
|
|
549
549
|
<div class="sphinxsidebarwrapper">
|
550
550
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
551
551
|
<ul>
|
552
|
-
<li><a class="reference internal" href="#">8.
|
553
|
-
<li><a class="reference internal" href="#summary">8.
|
554
|
-
<li><a class="reference internal" href="#syntax">8.
|
555
|
-
<li><a class="reference internal" href="#usage">8.
|
556
|
-
<li><a class="reference internal" href="#using-the-column-value-of-location">8.
|
557
|
-
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">8.
|
552
|
+
<li><a class="reference internal" href="#">8.12.3. geo_distance</a><ul>
|
553
|
+
<li><a class="reference internal" href="#summary">8.12.3.1. Summary</a></li>
|
554
|
+
<li><a class="reference internal" href="#syntax">8.12.3.2. Syntax</a></li>
|
555
|
+
<li><a class="reference internal" href="#usage">8.12.3.3. Usage</a><ul>
|
556
|
+
<li><a class="reference internal" href="#using-the-column-value-of-location">8.12.3.3.1. Using the column value of location</a></li>
|
557
|
+
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">8.12.3.3.2. Using the explicitly specified value of location</a></li>
|
558
558
|
</ul>
|
559
559
|
</li>
|
560
|
-
<li><a class="reference internal" href="#parameters">8.
|
561
|
-
<li><a class="reference internal" href="#required-parameter">8.
|
562
|
-
<li><a class="reference internal" href="#point1">8.
|
563
|
-
<li><a class="reference internal" href="#point2">8.
|
560
|
+
<li><a class="reference internal" href="#parameters">8.12.3.4. Parameters</a><ul>
|
561
|
+
<li><a class="reference internal" href="#required-parameter">8.12.3.4.1. Required parameter</a><ul>
|
562
|
+
<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>
|
563
|
+
<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>
|
564
564
|
</ul>
|
565
565
|
</li>
|
566
|
-
<li><a class="reference internal" href="#optional-parameter">8.
|
567
|
-
<li><a class="reference internal" href="#approximate-type">8.
|
568
|
-
<li><a class="reference internal" href="#rectangle">8.
|
569
|
-
<li><a class="reference internal" href="#sphere">8.
|
570
|
-
<li><a class="reference internal" href="#ellipsoid">8.
|
566
|
+
<li><a class="reference internal" href="#optional-parameter">8.12.3.4.2. Optional parameter</a><ul>
|
567
|
+
<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>
|
568
|
+
<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>
|
569
|
+
<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>
|
570
|
+
<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>
|
571
571
|
</ul>
|
572
572
|
</li>
|
573
573
|
</ul>
|
574
574
|
</li>
|
575
575
|
</ul>
|
576
576
|
</li>
|
577
|
-
<li><a class="reference internal" href="#return-value">8.
|
577
|
+
<li><a class="reference internal" href="#return-value">8.12.3.5. Return value</a></li>
|
578
578
|
</ul>
|
579
579
|
</li>
|
580
580
|
</ul>
|
581
581
|
|
582
582
|
<h4>Previous topic</h4>
|
583
583
|
<p class="topless"><a href="edit_distance.html"
|
584
|
-
title="previous chapter">8.
|
584
|
+
title="previous chapter">8.12.2. edit_distance</a></p>
|
585
585
|
<h4>Next topic</h4>
|
586
586
|
<p class="topless"><a href="geo_in_circle.html"
|
587
|
-
title="next chapter">8.
|
587
|
+
title="next chapter">8.12.4. geo_in_circle</a></p>
|
588
588
|
<div role="note" aria-label="source link">
|
589
589
|
<h3>This Page</h3>
|
590
590
|
<ul class="this-page-menu">
|
@@ -616,14 +616,14 @@ The unit of return value is meter.</p>
|
|
616
616
|
<a href="../../genindex.html" title="General Index"
|
617
617
|
>index</a></li>
|
618
618
|
<li class="right" >
|
619
|
-
<a href="geo_in_circle.html" title="8.
|
619
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
620
620
|
>next</a> |</li>
|
621
621
|
<li class="right" >
|
622
|
-
<a href="edit_distance.html" title="8.
|
622
|
+
<a href="edit_distance.html" title="8.12.2. edit_distance"
|
623
623
|
>previous</a> |</li>
|
624
|
-
<li><a href="../../index.html">Groonga
|
625
|
-
<li><a href="../../reference.html" >8.
|
626
|
-
<li><a href="../function.html" >8.
|
624
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
625
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
626
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
627
627
|
</ul>
|
628
628
|
</div>
|
629
629
|
<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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.12.5. geo_in_rectangle" href="geo_in_rectangle.html" />
|
31
|
+
<link rel="prev" title="8.12.3. geo_distance" href="geo_distance.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="geo_in_rectangle.html" title="8.
|
58
|
+
<a href="geo_in_rectangle.html" title="8.12.5. geo_in_rectangle"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="geo_distance.html" title="8.
|
61
|
+
<a href="geo_distance.html" title="8.12.3. geo_distance"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,24 +72,24 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="geo-in-circle">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.4. geo_in_circle<a class="headerlink" href="#geo-in-circle" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.12.4.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>geo_in_circle - 座標が円の範囲内に存在するかどうかを調べます。</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="id2">
|
81
|
-
<h2>8.
|
81
|
+
<h2>8.12.4.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_circle(point, center, radious_or_point[, approximate_type])
|
83
83
|
</pre></div>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h2>8.
|
87
|
+
<h2>8.12.4.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
88
88
|
<p>Groonga組込関数の一つであるgeo_in_circleについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
89
89
|
<p>geo_in_circle() 関数は、pointに指定した座標が、centerに指定した座標を中心とする円の範囲内にあるかどうかを調べます。</p>
|
90
90
|
</div>
|
91
91
|
<div class="section" id="id4">
|
92
|
-
<h2>8.
|
92
|
+
<h2>8.12.4.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p><tt class="docutils literal"><span class="pre">point</span></tt></p>
|
94
94
|
<blockquote>
|
95
95
|
<div>円の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
|
@@ -122,11 +122,11 @@ Point型の値、あるいは座標を示す文字列を指定した場合は、
|
|
122
122
|
</div></blockquote>
|
123
123
|
</div>
|
124
124
|
<div class="section" id="id6">
|
125
|
-
<h2>8.
|
125
|
+
<h2>8.12.4.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
126
126
|
<p>pointに指定した座標が円の範囲内にあるかどうかをBool型の値で返します。</p>
|
127
127
|
</div>
|
128
128
|
<div class="section" id="id7">
|
129
|
-
<h2>8.
|
129
|
+
<h2>8.12.4.6. 例<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
|
130
130
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_circle(pos, "100x100", 100)
|
131
131
|
true
|
132
132
|
</pre></div>
|
@@ -149,23 +149,23 @@ true
|
|
149
149
|
<div class="sphinxsidebarwrapper">
|
150
150
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
151
151
|
<ul>
|
152
|
-
<li><a class="reference internal" href="#">8.
|
153
|
-
<li><a class="reference internal" href="#id1">8.
|
154
|
-
<li><a class="reference internal" href="#id2">8.
|
155
|
-
<li><a class="reference internal" href="#id3">8.
|
156
|
-
<li><a class="reference internal" href="#id4">8.
|
157
|
-
<li><a class="reference internal" href="#id6">8.
|
158
|
-
<li><a class="reference internal" href="#id7">8.
|
152
|
+
<li><a class="reference internal" href="#">8.12.4. geo_in_circle</a><ul>
|
153
|
+
<li><a class="reference internal" href="#id1">8.12.4.1. 名前</a></li>
|
154
|
+
<li><a class="reference internal" href="#id2">8.12.4.2. 書式</a></li>
|
155
|
+
<li><a class="reference internal" href="#id3">8.12.4.3. 説明</a></li>
|
156
|
+
<li><a class="reference internal" href="#id4">8.12.4.4. 引数</a></li>
|
157
|
+
<li><a class="reference internal" href="#id6">8.12.4.5. 返値</a></li>
|
158
|
+
<li><a class="reference internal" href="#id7">8.12.4.6. 例</a></li>
|
159
159
|
</ul>
|
160
160
|
</li>
|
161
161
|
</ul>
|
162
162
|
|
163
163
|
<h4>Previous topic</h4>
|
164
164
|
<p class="topless"><a href="geo_distance.html"
|
165
|
-
title="previous chapter">8.
|
165
|
+
title="previous chapter">8.12.3. geo_distance</a></p>
|
166
166
|
<h4>Next topic</h4>
|
167
167
|
<p class="topless"><a href="geo_in_rectangle.html"
|
168
|
-
title="next chapter">8.
|
168
|
+
title="next chapter">8.12.5. geo_in_rectangle</a></p>
|
169
169
|
<div role="note" aria-label="source link">
|
170
170
|
<h3>This Page</h3>
|
171
171
|
<ul class="this-page-menu">
|
@@ -197,14 +197,14 @@ true
|
|
197
197
|
<a href="../../genindex.html" title="General Index"
|
198
198
|
>index</a></li>
|
199
199
|
<li class="right" >
|
200
|
-
<a href="geo_in_rectangle.html" title="8.
|
200
|
+
<a href="geo_in_rectangle.html" title="8.12.5. geo_in_rectangle"
|
201
201
|
>next</a> |</li>
|
202
202
|
<li class="right" >
|
203
|
-
<a href="geo_distance.html" title="8.
|
203
|
+
<a href="geo_distance.html" title="8.12.3. geo_distance"
|
204
204
|
>previous</a> |</li>
|
205
|
-
<li><a href="../../index.html">Groonga
|
206
|
-
<li><a href="../../reference.html" >8.
|
207
|
-
<li><a href="../function.html" >8.
|
205
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
206
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
207
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
208
208
|
</ul>
|
209
209
|
</div>
|
210
210
|
<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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.12.6. html_untag" href="html_untag.html" />
|
31
|
+
<link rel="prev" title="8.12.4. geo_in_circle" href="geo_in_circle.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="html_untag.html" title="8.
|
58
|
+
<a href="html_untag.html" title="8.12.6. html_untag"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="geo_in_circle.html" title="8.
|
61
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,24 +72,24 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="geo-in-rectangle">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.5. geo_in_rectangle<a class="headerlink" href="#geo-in-rectangle" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.12.5.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>geo_in_rectangle - 座標が矩形の範囲内に存在するかどうかを調べます。</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="id2">
|
81
|
-
<h2>8.
|
81
|
+
<h2>8.12.5.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_rectangle(point, top_left, bottom_right)
|
83
83
|
</pre></div>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h2>8.
|
87
|
+
<h2>8.12.5.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
88
88
|
<p>Groonga組込関数の一つであるgeo_in_rectangleについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
89
89
|
<p>geo_in_rectangle() 関数は、pointに指定した座標が、top_leftとbottom_rightがなす矩形の範囲内にあるかどうかを調べます。</p>
|
90
90
|
</div>
|
91
91
|
<div class="section" id="id4">
|
92
|
-
<h2>8.
|
92
|
+
<h2>8.12.5.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p><tt class="docutils literal"><span class="pre">point</span></tt></p>
|
94
94
|
<blockquote>
|
95
95
|
<div>矩形の範囲内に存在するかどうかを調べる座標を指定します。Point型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
|
@@ -101,11 +101,11 @@
|
|
101
101
|
<div>矩形の右下隅となる座標を指定します。Point型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
|
102
102
|
</div>
|
103
103
|
<div class="section" id="id6">
|
104
|
-
<h2>8.
|
104
|
+
<h2>8.12.5.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
105
105
|
<p>pointに指定した座標が矩形の範囲内にあるかどうかをBool型の値で返します。</p>
|
106
106
|
</div>
|
107
107
|
<div class="section" id="id7">
|
108
|
-
<h2>8.
|
108
|
+
<h2>8.12.5.6. 例<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
|
109
109
|
<div class="highlight-none"><div class="highlight"><pre>geo_in_rectangle(pos, "150x100", "100x150")
|
110
110
|
true
|
111
111
|
</pre></div>
|
@@ -128,23 +128,23 @@ true
|
|
128
128
|
<div class="sphinxsidebarwrapper">
|
129
129
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
130
130
|
<ul>
|
131
|
-
<li><a class="reference internal" href="#">8.
|
132
|
-
<li><a class="reference internal" href="#id1">8.
|
133
|
-
<li><a class="reference internal" href="#id2">8.
|
134
|
-
<li><a class="reference internal" href="#id3">8.
|
135
|
-
<li><a class="reference internal" href="#id4">8.
|
136
|
-
<li><a class="reference internal" href="#id6">8.
|
137
|
-
<li><a class="reference internal" href="#id7">8.
|
131
|
+
<li><a class="reference internal" href="#">8.12.5. geo_in_rectangle</a><ul>
|
132
|
+
<li><a class="reference internal" href="#id1">8.12.5.1. 名前</a></li>
|
133
|
+
<li><a class="reference internal" href="#id2">8.12.5.2. 書式</a></li>
|
134
|
+
<li><a class="reference internal" href="#id3">8.12.5.3. 説明</a></li>
|
135
|
+
<li><a class="reference internal" href="#id4">8.12.5.4. 引数</a></li>
|
136
|
+
<li><a class="reference internal" href="#id6">8.12.5.5. 返値</a></li>
|
137
|
+
<li><a class="reference internal" href="#id7">8.12.5.6. 例</a></li>
|
138
138
|
</ul>
|
139
139
|
</li>
|
140
140
|
</ul>
|
141
141
|
|
142
142
|
<h4>Previous topic</h4>
|
143
143
|
<p class="topless"><a href="geo_in_circle.html"
|
144
|
-
title="previous chapter">8.
|
144
|
+
title="previous chapter">8.12.4. geo_in_circle</a></p>
|
145
145
|
<h4>Next topic</h4>
|
146
146
|
<p class="topless"><a href="html_untag.html"
|
147
|
-
title="next chapter">8.
|
147
|
+
title="next chapter">8.12.6. html_untag</a></p>
|
148
148
|
<div role="note" aria-label="source link">
|
149
149
|
<h3>This Page</h3>
|
150
150
|
<ul class="this-page-menu">
|
@@ -176,14 +176,14 @@ true
|
|
176
176
|
<a href="../../genindex.html" title="General Index"
|
177
177
|
>index</a></li>
|
178
178
|
<li class="right" >
|
179
|
-
<a href="html_untag.html" title="8.
|
179
|
+
<a href="html_untag.html" title="8.12.6. html_untag"
|
180
180
|
>next</a> |</li>
|
181
181
|
<li class="right" >
|
182
|
-
<a href="geo_in_circle.html" title="8.
|
182
|
+
<a href="geo_in_circle.html" title="8.12.4. geo_in_circle"
|
183
183
|
>previous</a> |</li>
|
184
|
-
<li><a href="../../index.html">Groonga
|
185
|
-
<li><a href="../../reference.html" >8.
|
186
|
-
<li><a href="../function.html" >8.
|
184
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
185
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
186
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
187
187
|
</ul>
|
188
188
|
</div>
|
189
189
|
<div class="footer" role="contentinfo">
|