rroonga 4.0.5-x64-mingw32 → 4.0.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -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 +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- 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/libonig-5.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -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/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +1 -1
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +1 -1
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +41 -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/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +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/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- 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 +11 -11
- 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 +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- 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 +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- 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 +79 -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 +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- 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/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- 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 +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- 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 +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- 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 +5 -5
- 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 +5 -5
- 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 +10 -10
- 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/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- 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 +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.1. between — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.2. edit_distance" href="edit_distance.html" />
|
32
|
+
<link rel="prev" title="7.12. 関数" href="../function.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
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="edit_distance.html" title="
|
59
|
+
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="../function.html" title="
|
62
|
+
<a href="../function.html" title="7.12. 関数"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,20 +73,20 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="between">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.1. between<a class="headerlink" href="#between" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>
|
78
|
+
<h2>7.12.1.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p><tt class="docutils literal"><span class="pre">between</span></tt> は、指定された値が指定された範囲にあるかをチェックするために使われます。これは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> オプションと組み合わせてよく使われます。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="syntax">
|
82
|
-
<h2>
|
82
|
+
<h2>7.12.1.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<p><tt class="docutils literal"><span class="pre">between</span></tt> には引数が5つあります。</p>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>between(column_or_value, min, min_border, max, max_border)
|
85
85
|
</pre></div>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="usage">
|
89
|
-
<h2>
|
89
|
+
<h2>7.12.1.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
90
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
91
91
|
<div class="highlight-none"><div class="highlight"><pre>table_create Users TABLE_HASH_KEY ShortText
|
92
92
|
column_create Users age COLUMN_SCALAR Int32
|
@@ -220,33 +220,33 @@ load --table Users
|
|
220
220
|
<p>上記の例では、すべてのレコードを返します。これは、14は指定した範囲である13から16の間にあるからです。この振舞いは指定した値がテーブルに存在するかどうかの確認に使えます。</p>
|
221
221
|
</div>
|
222
222
|
<div class="section" id="parameters">
|
223
|
-
<h2>
|
223
|
+
<h2>7.12.1.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
224
224
|
<p>引数は5つあります。 <tt class="docutils literal"><span class="pre">column_or_value</span></tt> と <tt class="docutils literal"><span class="pre">min</span></tt> と <tt class="docutils literal"><span class="pre">min_border</span></tt> と <tt class="docutils literal"><span class="pre">max</span></tt> と <tt class="docutils literal"><span class="pre">max_border</span></tt> です。</p>
|
225
225
|
<div class="section" id="column-or-value">
|
226
|
-
<h3>
|
226
|
+
<h3>7.12.1.4.1. <tt class="docutils literal"><span class="pre">column_or_value</span></tt><a class="headerlink" href="#column-or-value" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
227
227
|
<p>テーブルのカラムもしくは値を指定します。</p>
|
228
228
|
</div>
|
229
229
|
<div class="section" id="min">
|
230
|
-
<h3>
|
230
|
+
<h3>7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
231
231
|
<p>範囲のうち最小値を指定します。値 <tt class="docutils literal"><span class="pre">min</span></tt> が含まれるかどうかは <tt class="docutils literal"><span class="pre">min_border</span></tt> 引数で制御することができます。</p>
|
232
232
|
</div>
|
233
233
|
<div class="section" id="min-border">
|
234
|
-
<h3>
|
234
|
+
<h3>7.12.1.4.3. <tt class="docutils literal"><span class="pre">min_border</span></tt><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
235
235
|
<p><tt class="docutils literal"><span class="pre">min</span></tt> の値を含めた範囲となるかどうかを指定します。 <tt class="docutils literal"><span class="pre">min_border</span></tt> に指定できるのは "include" または "exclude" のどちらかです。
|
236
236
|
"include" を指定すれば、<tt class="docutils literal"><span class="pre">min</span></tt> が含まれます。 "exclude" を指定すれば <tt class="docutils literal"><span class="pre">min</span></tt> は含まれません。</p>
|
237
237
|
</div>
|
238
238
|
<div class="section" id="max">
|
239
|
-
<h3>
|
239
|
+
<h3>7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
240
240
|
<p>範囲のうち最大値を指定します。値 <tt class="docutils literal"><span class="pre">max</span></tt> が含まれるかどうかは <tt class="docutils literal"><span class="pre">max_border</span></tt> 引数で制御することができます。</p>
|
241
241
|
</div>
|
242
242
|
<div class="section" id="max-border">
|
243
|
-
<h3>
|
243
|
+
<h3>7.12.1.4.5. <tt class="docutils literal"><span class="pre">max_border</span></tt><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
244
244
|
<p><tt class="docutils literal"><span class="pre">man</span></tt> の値を含めた範囲となるかどうかを指定します。 <tt class="docutils literal"><span class="pre">max_border</span></tt> に指定できるのは "include" または "exclude" のどちらかです。
|
245
245
|
"include" を指定すれば、<tt class="docutils literal"><span class="pre">max</span></tt> が含まれます。 "exclude" を指定すれば <tt class="docutils literal"><span class="pre">max</span></tt> は含まれません。</p>
|
246
246
|
</div>
|
247
247
|
</div>
|
248
248
|
<div class="section" id="return-value">
|
249
|
-
<h2>
|
249
|
+
<h2>7.12.1.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
250
250
|
<p><tt class="docutils literal"><span class="pre">between</span></tt> は指定した範囲にカラムの値が含まれるかを返します。もし該当するレコードがあれば、 <tt class="docutils literal"><span class="pre">true</span></tt> を返します。そうでなければ <tt class="docutils literal"><span class="pre">false</span></tt> を返します。</p>
|
251
251
|
</div>
|
252
252
|
</div>
|
@@ -259,29 +259,29 @@ load --table Users
|
|
259
259
|
<div class="sphinxsidebarwrapper">
|
260
260
|
<h3><a href="../../index.html">目次</a></h3>
|
261
261
|
<ul>
|
262
|
-
<li><a class="reference internal" href="#">
|
263
|
-
<li><a class="reference internal" href="#summary">
|
264
|
-
<li><a class="reference internal" href="#syntax">
|
265
|
-
<li><a class="reference internal" href="#usage">
|
266
|
-
<li><a class="reference internal" href="#parameters">
|
267
|
-
<li><a class="reference internal" href="#column-or-value">
|
268
|
-
<li><a class="reference internal" href="#min">
|
269
|
-
<li><a class="reference internal" href="#min-border">
|
270
|
-
<li><a class="reference internal" href="#max">
|
271
|
-
<li><a class="reference internal" href="#max-border">
|
262
|
+
<li><a class="reference internal" href="#">7.12.1. between</a><ul>
|
263
|
+
<li><a class="reference internal" href="#summary">7.12.1.1. 概要</a></li>
|
264
|
+
<li><a class="reference internal" href="#syntax">7.12.1.2. 構文</a></li>
|
265
|
+
<li><a class="reference internal" href="#usage">7.12.1.3. 使い方</a></li>
|
266
|
+
<li><a class="reference internal" href="#parameters">7.12.1.4. 引数</a><ul>
|
267
|
+
<li><a class="reference internal" href="#column-or-value">7.12.1.4.1. <tt class="docutils literal"><span class="pre">column_or_value</span></tt></a></li>
|
268
|
+
<li><a class="reference internal" href="#min">7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt></a></li>
|
269
|
+
<li><a class="reference internal" href="#min-border">7.12.1.4.3. <tt class="docutils literal"><span class="pre">min_border</span></tt></a></li>
|
270
|
+
<li><a class="reference internal" href="#max">7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt></a></li>
|
271
|
+
<li><a class="reference internal" href="#max-border">7.12.1.4.5. <tt class="docutils literal"><span class="pre">max_border</span></tt></a></li>
|
272
272
|
</ul>
|
273
273
|
</li>
|
274
|
-
<li><a class="reference internal" href="#return-value">
|
274
|
+
<li><a class="reference internal" href="#return-value">7.12.1.5. 戻り値</a></li>
|
275
275
|
</ul>
|
276
276
|
</li>
|
277
277
|
</ul>
|
278
278
|
|
279
279
|
<h4>前のトピックへ</h4>
|
280
280
|
<p class="topless"><a href="../function.html"
|
281
|
-
title="前の章へ">
|
281
|
+
title="前の章へ">7.12. 関数</a></p>
|
282
282
|
<h4>次のトピックへ</h4>
|
283
283
|
<p class="topless"><a href="edit_distance.html"
|
284
|
-
title="次の章へ">
|
284
|
+
title="次の章へ">7.12.2. edit_distance</a></p>
|
285
285
|
<h3>このページ</h3>
|
286
286
|
<ul class="this-page-menu">
|
287
287
|
<li><a href="../../_sources/reference/functions/between.txt"
|
@@ -311,14 +311,14 @@ load --table Users
|
|
311
311
|
<a href="../../genindex.html" title="総合索引"
|
312
312
|
>索引</a></li>
|
313
313
|
<li class="right" >
|
314
|
-
<a href="edit_distance.html" title="
|
314
|
+
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
315
315
|
>次へ</a> |</li>
|
316
316
|
<li class="right" >
|
317
|
-
<a href="../function.html" title="
|
317
|
+
<a href="../function.html" title="7.12. 関数"
|
318
318
|
>前へ</a> |</li>
|
319
|
-
<li><a href="../../index.html">Groonga v4.0.
|
320
|
-
<li><a href="../../reference.html" >
|
321
|
-
<li><a href="../function.html" >
|
319
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
320
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
321
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
322
322
|
</ul>
|
323
323
|
</div>
|
324
324
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.2. edit_distance — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.3. geo_distance" href="geo_distance.html" />
|
32
|
+
<link rel="prev" title="7.12.1. between" href="between.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
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_distance.html" title="
|
59
|
+
<a href="geo_distance.html" title="7.12.3. geo_distance"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="between.html" title="
|
62
|
+
<a href="between.html" title="7.12.1. between"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,24 +73,24 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="edit-distance">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.2. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>
|
78
|
+
<h2>7.12.2.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>edit_distance - 指定した2つの文字列の編集距離を計算する</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>
|
82
|
+
<h2>7.12.2.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>edit_distance(string1, string2)
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>
|
88
|
+
<h2>7.12.2.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>Groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間の編集距離を求めます。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>
|
93
|
+
<h2>7.12.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
94
|
<p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>文字列を指定します</div></blockquote>
|
@@ -99,11 +99,11 @@
|
|
99
99
|
<div>もうひとつの文字列を指定します</div></blockquote>
|
100
100
|
</div>
|
101
101
|
<div class="section" id="id5">
|
102
|
-
<h2>
|
102
|
+
<h2>7.12.2.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
103
103
|
<p>指定した2つ文字列の編集距離をUint32型の値として返します。</p>
|
104
104
|
</div>
|
105
105
|
<div class="section" id="id6">
|
106
|
-
<h2>
|
106
|
+
<h2>7.12.2.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
107
107
|
<div class="highlight-none"><div class="highlight"><pre>edit_distance(title, "hoge")
|
108
108
|
1
|
109
109
|
</pre></div>
|
@@ -119,23 +119,23 @@
|
|
119
119
|
<div class="sphinxsidebarwrapper">
|
120
120
|
<h3><a href="../../index.html">目次</a></h3>
|
121
121
|
<ul>
|
122
|
-
<li><a class="reference internal" href="#">
|
123
|
-
<li><a class="reference internal" href="#id1">
|
124
|
-
<li><a class="reference internal" href="#id2">
|
125
|
-
<li><a class="reference internal" href="#id3">
|
126
|
-
<li><a class="reference internal" href="#id4">
|
127
|
-
<li><a class="reference internal" href="#id5">
|
128
|
-
<li><a class="reference internal" href="#id6">
|
122
|
+
<li><a class="reference internal" href="#">7.12.2. edit_distance</a><ul>
|
123
|
+
<li><a class="reference internal" href="#id1">7.12.2.1. 名前</a></li>
|
124
|
+
<li><a class="reference internal" href="#id2">7.12.2.2. 書式</a></li>
|
125
|
+
<li><a class="reference internal" href="#id3">7.12.2.3. 説明</a></li>
|
126
|
+
<li><a class="reference internal" href="#id4">7.12.2.4. 引数</a></li>
|
127
|
+
<li><a class="reference internal" href="#id5">7.12.2.5. 返値</a></li>
|
128
|
+
<li><a class="reference internal" href="#id6">7.12.2.6. 例</a></li>
|
129
129
|
</ul>
|
130
130
|
</li>
|
131
131
|
</ul>
|
132
132
|
|
133
133
|
<h4>前のトピックへ</h4>
|
134
134
|
<p class="topless"><a href="between.html"
|
135
|
-
title="前の章へ">
|
135
|
+
title="前の章へ">7.12.1. between</a></p>
|
136
136
|
<h4>次のトピックへ</h4>
|
137
137
|
<p class="topless"><a href="geo_distance.html"
|
138
|
-
title="次の章へ">
|
138
|
+
title="次の章へ">7.12.3. geo_distance</a></p>
|
139
139
|
<h3>このページ</h3>
|
140
140
|
<ul class="this-page-menu">
|
141
141
|
<li><a href="../../_sources/reference/functions/edit_distance.txt"
|
@@ -165,14 +165,14 @@
|
|
165
165
|
<a href="../../genindex.html" title="総合索引"
|
166
166
|
>索引</a></li>
|
167
167
|
<li class="right" >
|
168
|
-
<a href="geo_distance.html" title="
|
168
|
+
<a href="geo_distance.html" title="7.12.3. geo_distance"
|
169
169
|
>次へ</a> |</li>
|
170
170
|
<li class="right" >
|
171
|
-
<a href="between.html" title="
|
171
|
+
<a href="between.html" title="7.12.1. between"
|
172
172
|
>前へ</a> |</li>
|
173
|
-
<li><a href="../../index.html">Groonga v4.0.
|
174
|
-
<li><a href="../../reference.html" >
|
175
|
-
<li><a href="../function.html" >
|
173
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
174
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
175
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
176
176
|
</ul>
|
177
177
|
</div>
|
178
178
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.3. geo_distance — Groonga v4.0.6-211-g8c0bb0bドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.4. geo_in_circle" href="geo_in_circle.html" />
|
32
|
+
<link rel="prev" title="7.12.2. edit_distance" href="edit_distance.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
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="
|
59
|
+
<a href="geo_in_circle.html" title="7.12.4. geo_in_circle"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="edit_distance.html" title="
|
62
|
+
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,13 +73,13 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="geo-distance">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>
|
78
|
+
<h2>7.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>
|
82
|
+
<h2>7.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,12 +88,12 @@ 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>
|
91
|
+
<h2>7.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>
|
95
95
|
<div class="admonition note">
|
96
|
-
<p class="first admonition-title"
|
96
|
+
<p class="first admonition-title">注釈</p>
|
97
97
|
<p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <tt class="docutils literal"><span class="pre">geo_distance()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> です。これらの違いは距離の計算アルゴリズムにあります。 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> と <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> はバージョン1.2.9より非推奨となりました。 <tt class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"sphere")</span></tt> を使用してください。 <tt class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">"ellipsoid")</span></tt> を使用してください。</p>
|
98
98
|
</div>
|
99
99
|
<p>例とともに <tt class="docutils literal"><span class="pre">geo_distance</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>
|
108
|
+
<h3>7.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>
|
172
|
+
<h3>7.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>
|
230
|
+
<h2>7.12.3.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
231
231
|
<div class="section" id="required-parameter">
|
232
|
-
<h3>
|
232
|
+
<h3>7.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>
|
235
|
+
<h4>7.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>
|
241
|
+
<h4>7.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>
|
248
|
+
<h3>7.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>
|
251
|
+
<h4>7.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>
|
@@ -259,11 +259,11 @@ load --table Geo
|
|
259
259
|
</ul>
|
260
260
|
</div></blockquote>
|
261
261
|
<div class="admonition note">
|
262
|
-
<p class="first admonition-title"
|
262
|
+
<p class="first admonition-title">注釈</p>
|
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>
|
266
|
+
<h5>7.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>
|
@@ -409,16 +409,16 @@ load --table Geo
|
|
409
409
|
</div>
|
410
410
|
<p>このサンプルは日付変更線をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance("143660000x419009000",</span> <span class="pre">"135960000x-440760000",</span> <span class="pre">"rectangle")</span></tt> は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。</p>
|
411
411
|
<div class="admonition note">
|
412
|
-
<p class="first admonition-title"
|
412
|
+
<p class="first admonition-title">注釈</p>
|
413
413
|
<p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は方形近似をデフォルトとして使用します。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略すると <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">rectangle</span></tt> が指定されたものとして振舞います。</p>
|
414
414
|
</div>
|
415
415
|
<div class="admonition note">
|
416
|
-
<p class="first admonition-title"
|
416
|
+
<p class="first admonition-title">注釈</p>
|
417
417
|
<p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値が <tt class="docutils literal"><span class="pre">"rectangle"</span></tt> であるときに <tt class="docutils literal"><span class="pre">point1</span></tt> の値として座標を表す文字列を受けつけます。もし <tt class="docutils literal"><span class="pre">sphere</span></tt> や <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> と一緒に座標を表す文字列を <tt class="docutils literal"><span class="pre">point1</span></tt> へ指定した場合、 <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は距離の値として0を返します。</p>
|
418
418
|
</div>
|
419
419
|
</div>
|
420
420
|
<div class="section" id="sphere">
|
421
|
-
<h5>
|
421
|
+
<h5>7.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>
|
455
|
+
<h5>7.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>
|
492
|
+
<h2>7.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="#">
|
514
|
-
<li><a class="reference internal" href="#summary">
|
515
|
-
<li><a class="reference internal" href="#syntax">
|
516
|
-
<li><a class="reference internal" href="#usage">
|
517
|
-
<li><a class="reference internal" href="#using-the-column-value-of-location">
|
518
|
-
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">
|
513
|
+
<li><a class="reference internal" href="#">7.12.3. geo_distance</a><ul>
|
514
|
+
<li><a class="reference internal" href="#summary">7.12.3.1. 概要</a></li>
|
515
|
+
<li><a class="reference internal" href="#syntax">7.12.3.2. 構文</a></li>
|
516
|
+
<li><a class="reference internal" href="#usage">7.12.3.3. 使い方</a><ul>
|
517
|
+
<li><a class="reference internal" href="#using-the-column-value-of-location">7.12.3.3.1. locationカラムの値を使う</a></li>
|
518
|
+
<li><a class="reference internal" href="#using-the-explicitly-specified-value-of-location">7.12.3.3.2. 明示的に指定した位置を使う</a></li>
|
519
519
|
</ul>
|
520
520
|
</li>
|
521
|
-
<li><a class="reference internal" href="#parameters">
|
522
|
-
<li><a class="reference internal" href="#required-parameter">
|
523
|
-
<li><a class="reference internal" href="#point1">
|
524
|
-
<li><a class="reference internal" href="#point2">
|
521
|
+
<li><a class="reference internal" href="#parameters">7.12.3.4. 引数</a><ul>
|
522
|
+
<li><a class="reference internal" href="#required-parameter">7.12.3.4.1. 必須引数</a><ul>
|
523
|
+
<li><a class="reference internal" href="#point1">7.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt></a></li>
|
524
|
+
<li><a class="reference internal" href="#point2">7.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">
|
528
|
-
<li><a class="reference internal" href="#approximate-type">
|
529
|
-
<li><a class="reference internal" href="#rectangle">
|
530
|
-
<li><a class="reference internal" href="#sphere">
|
531
|
-
<li><a class="reference internal" href="#ellipsoid">
|
527
|
+
<li><a class="reference internal" href="#optional-parameter">7.12.3.4.2. 省略可能引数</a><ul>
|
528
|
+
<li><a class="reference internal" href="#approximate-type">7.12.3.4.2.1. <tt class="docutils literal"><span class="pre">approximate_type</span></tt></a><ul>
|
529
|
+
<li><a class="reference internal" href="#rectangle">7.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">7.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">7.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">
|
538
|
+
<li><a class="reference internal" href="#return-value">7.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="前の章へ">
|
545
|
+
title="前の章へ">7.12.2. edit_distance</a></p>
|
546
546
|
<h4>次のトピックへ</h4>
|
547
547
|
<p class="topless"><a href="geo_in_circle.html"
|
548
|
-
title="次の章へ">
|
548
|
+
title="次の章へ">7.12.4. geo_in_circle</a></p>
|
549
549
|
<h3>このページ</h3>
|
550
550
|
<ul class="this-page-menu">
|
551
551
|
<li><a href="../../_sources/reference/functions/geo_distance.txt"
|
@@ -575,14 +575,14 @@ load --table Geo
|
|
575
575
|
<a href="../../genindex.html" title="総合索引"
|
576
576
|
>索引</a></li>
|
577
577
|
<li class="right" >
|
578
|
-
<a href="geo_in_circle.html" title="
|
578
|
+
<a href="geo_in_circle.html" title="7.12.4. geo_in_circle"
|
579
579
|
>次へ</a> |</li>
|
580
580
|
<li class="right" >
|
581
|
-
<a href="edit_distance.html" title="
|
581
|
+
<a href="edit_distance.html" title="7.12.2. edit_distance"
|
582
582
|
>前へ</a> |</li>
|
583
|
-
<li><a href="../../index.html">Groonga v4.0.
|
584
|
-
<li><a href="../../reference.html" >
|
585
|
-
<li><a href="../function.html" >
|
583
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
584
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
585
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
586
586
|
</ul>
|
587
587
|
</div>
|
588
588
|
<div class="footer">
|