rroonga 1.2.5-x86-mingw32 → 1.2.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +30 -0
- data/Rakefile +24 -285
- data/ext/groonga/extconf.rb +4 -2
- data/ext/groonga/rb-grn-array.c +5 -4
- data/ext/groonga/rb-grn-context.c +7 -22
- data/ext/groonga/rb-grn-database.c +42 -1
- data/ext/groonga/rb-grn-index-column.c +5 -0
- data/ext/groonga/rb-grn-object.c +58 -26
- data/ext/groonga/rb-grn-patricia-trie.c +2 -1
- data/ext/groonga/rb-grn-record.c +11 -1
- data/ext/groonga/rb-grn-snippet.c +44 -1
- data/ext/groonga/rb-grn-table-key-support.c +21 -10
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable-size-column.c +47 -1
- data/ext/groonga/rb-grn.h +4 -1
- data/extconf.rb +1 -0
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/dumper.rb +3 -3
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/record.rb +10 -0
- data/rroonga-build.rb +1 -1
- data/test/test-accessor.rb +4 -0
- data/test/test-array.rb +9 -1
- data/test/test-database.rb +16 -0
- data/test/test-expression.rb +2 -0
- data/test/test-hash.rb +11 -2
- data/test/test-patricia-trie.rb +10 -1
- data/test/test-table-select.rb +31 -17
- data/test/test-type.rb +3 -3
- data/test/test-variable-size-column.rb +8 -1
- data/vendor/local/bin/grntest.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/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +20 -4
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/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/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/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/{http.txt → groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +14 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/log.txt +214 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +35 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +258 -72
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +49 -49
- data/vendor/local/share/doc/groonga/en/html/executables/{http.html → groonga-http.html} +34 -34
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/executables.html +22 -21
- data/vendor/local/share/doc/groonga/en/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +105 -74
- data/vendor/local/share/doc/groonga/en/html/install.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/log.html +345 -0
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +94 -57
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +286 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +243 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +265 -0
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/suggest.html +166 -0
- 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.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial01.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial02.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial03.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial04.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial05.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial06.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial07.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial08.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial09.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial10.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/ja/html/_sources/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/{source/executables/http.txt → ja/html/_sources/executables/groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +14 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/log.txt +214 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +35 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +237 -72
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/executables/{http.html → groonga-http.html} +34 -34
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/executables.html +22 -21
- data/vendor/local/share/doc/groonga/ja/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +105 -74
- data/vendor/local/share/doc/groonga/ja/html/install.html +24 -11
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/log.html +346 -0
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +87 -55
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +327 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +254 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +225 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +248 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +166 -0
- 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.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial01.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial02.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial03.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial04.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial05.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial06.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial07.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial08.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial09.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial10.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/source/commands/suggest.txt +207 -35
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +5 -0
- data/vendor/local/share/doc/groonga/source/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/http.txt → source/executables/groonga-http.txt} +1 -1
- data/vendor/local/share/doc/groonga/source/executables/groonga-suggest-create-dataset.txt +50 -0
- data/vendor/local/share/doc/groonga/source/index.txt +1 -0
- data/vendor/local/share/doc/groonga/source/install.txt +14 -3
- data/vendor/local/share/doc/groonga/source/log.txt +214 -0
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/source/news.txt +35 -3
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +195 -0
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +148 -0
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +94 -0
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +115 -0
- data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +8 -0
- data/vendor/local/share/doc/groonga/source/suggest.txt +22 -0
- data/vendor/local/share/doc/groonga/source/tutorial/tutorial01.txt +2 -1
- data/vendor/local/share/doc/groonga/source/update_execution_example.py +46 -20
- data/vendor/local/share/license/groonga/AUTHORS +17 -0
- data/vendor/local/share/license/groonga/COPYING +504 -0
- data/vendor/local/share/license/mecab/AUTHORS +1 -0
- data/vendor/local/share/license/mecab/BSD +29 -0
- data/vendor/local/share/license/mecab/COPYING +4 -0
- data/vendor/local/share/license/mecab/GPL +340 -0
- data/vendor/local/share/license/mecab/LGPL +504 -0
- data/vendor/local/share/license/naist-jdic/AUTHORS +2 -0
- data/vendor/local/share/license/naist-jdic/COPYING +31 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1050 -45
- data/vendor/local/share/man/man1/groonga.1 +1174 -48
- metadata +62 -9
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>
|
12
|
+
<title>6.1. 実行ファイル — groonga v1.2.5ドキュメント</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.5',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,10 +28,10 @@
|
|
28
28
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
29
29
|
<script type="text/javascript" src="_static/translations.js"></script>
|
30
30
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
31
|
-
<link rel="top" title="groonga v1.2.
|
32
|
-
<link rel="up" title="
|
33
|
-
<link rel="next" title="
|
34
|
-
<link rel="prev" title="
|
31
|
+
<link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
|
32
|
+
<link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
|
33
|
+
<link rel="next" title="6.1.1. grnslap" href="executables/grnslap.html" />
|
34
|
+
<link rel="prev" title="6. リファレンスマニュアル" href="reference.html" />
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<div class="header">
|
@@ -58,13 +58,13 @@
|
|
58
58
|
<a href="genindex.html" title="総合索引"
|
59
59
|
accesskey="I">索引</a></li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="executables/grnslap.html" title="
|
61
|
+
<a href="executables/grnslap.html" title="6.1.1. grnslap"
|
62
62
|
accesskey="N">次へ</a> |</li>
|
63
63
|
<li class="right" >
|
64
|
-
<a href="reference.html" title="
|
64
|
+
<a href="reference.html" title="6. リファレンスマニュアル"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="index.html">groonga v1.2.
|
67
|
-
<li><a href="reference.html" accesskey="U">
|
66
|
+
<li><a href="index.html">groonga v1.2.5ドキュメント</a> »</li>
|
67
|
+
<li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,14 +74,15 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h1>
|
77
|
+
<h1>6.1. 実行ファイル<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
78
78
|
<p>groongaパッケージが提供する実行ファイルについて説明します。</p>
|
79
79
|
<div class="toctree-wrapper compound">
|
80
80
|
<ul>
|
81
|
-
<li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">
|
82
|
-
<li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">
|
83
|
-
<li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">
|
84
|
-
<li class="toctree-l1"><a class="reference internal" href="executables/http.html">
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">6.1.1. grnslap</a></li>
|
82
|
+
<li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">6.1.2. grntest</a></li>
|
83
|
+
<li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">6.1.3. groonga実行ファイル</a></li>
|
84
|
+
<li class="toctree-l1"><a class="reference internal" href="executables/groonga-http.html">6.1.4. groonga HTTPサービス</a></li>
|
85
|
+
<li class="toctree-l1"><a class="reference internal" href="executables/groonga-suggest-create-dataset.html">6.1.5. groonga-suggest-create-dataset</a></li>
|
85
86
|
</ul>
|
86
87
|
</div>
|
87
88
|
</div>
|
@@ -94,10 +95,10 @@
|
|
94
95
|
<div class="sphinxsidebarwrapper">
|
95
96
|
<h4>前のトピックへ</h4>
|
96
97
|
<p class="topless"><a href="reference.html"
|
97
|
-
title="前の章へ">
|
98
|
+
title="前の章へ">6. リファレンスマニュアル</a></p>
|
98
99
|
<h4>次のトピックへ</h4>
|
99
100
|
<p class="topless"><a href="executables/grnslap.html"
|
100
|
-
title="次の章へ">
|
101
|
+
title="次の章へ">6.1.1. grnslap</a></p>
|
101
102
|
<h3>このページ</h3>
|
102
103
|
<ul class="this-page-menu">
|
103
104
|
<li><a href="_sources/executables.txt"
|
@@ -127,13 +128,13 @@
|
|
127
128
|
<a href="genindex.html" title="総合索引"
|
128
129
|
>索引</a></li>
|
129
130
|
<li class="right" >
|
130
|
-
<a href="executables/grnslap.html" title="
|
131
|
+
<a href="executables/grnslap.html" title="6.1.1. grnslap"
|
131
132
|
>次へ</a> |</li>
|
132
133
|
<li class="right" >
|
133
|
-
<a href="reference.html" title="
|
134
|
+
<a href="reference.html" title="6. リファレンスマニュアル"
|
134
135
|
>前へ</a> |</li>
|
135
|
-
<li><a href="index.html">groonga v1.2.
|
136
|
-
<li><a href="reference.html" >
|
136
|
+
<li><a href="index.html">groonga v1.2.5ドキュメント</a> »</li>
|
137
|
+
<li><a href="reference.html" >6. リファレンスマニュアル</a> »</li>
|
137
138
|
</ul>
|
138
139
|
</div>
|
139
140
|
<div class="footer">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>
|
12
|
+
<title>6.5. grn_expr — groonga v1.2.5ドキュメント</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.5',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,10 +28,10 @@
|
|
28
28
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
29
29
|
<script type="text/javascript" src="_static/translations.js"></script>
|
30
30
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
31
|
-
<link rel="top" title="groonga v1.2.
|
32
|
-
<link rel="up" title="
|
33
|
-
<link rel="next" title="
|
34
|
-
<link rel="prev" title="
|
31
|
+
<link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
|
32
|
+
<link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
|
33
|
+
<link rel="next" title="6.6. 組み込み関数一覧" href="functions.html" />
|
34
|
+
<link rel="prev" title="6.4. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<div class="header">
|
@@ -58,13 +58,13 @@
|
|
58
58
|
<a href="genindex.html" title="総合索引"
|
59
59
|
accesskey="I">索引</a></li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="functions.html" title="
|
61
|
+
<a href="functions.html" title="6.6. 組み込み関数一覧"
|
62
62
|
accesskey="N">次へ</a> |</li>
|
63
63
|
<li class="right" >
|
64
|
-
<a href="pseudo_column.html" title="
|
64
|
+
<a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="index.html">groonga v1.2.
|
67
|
-
<li><a href="reference.html" accesskey="U">
|
66
|
+
<li><a href="index.html">groonga v1.2.5ドキュメント</a> »</li>
|
67
|
+
<li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,19 +74,19 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="grn-expr">
|
77
|
-
<h1>
|
77
|
+
<h1>6.5. grn_expr<a class="headerlink" href="#grn-expr" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
78
78
|
<div class="section" id="id1">
|
79
|
-
<h2>
|
79
|
+
<h2>6.5.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
80
80
|
<p>grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:"ぐるんしき")</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="id2">
|
83
|
-
<h2>
|
83
|
+
<h2>6.5.2. 説明<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
84
|
<p>grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構造の形式です。</p>
|
85
85
|
<p>データベースの中から特定の条件を満たすレコードを取り出すために、様々な条件をand,or,notなどの演算子で結合して自由に表現することができます。grn_exprは、一連のAPI関数を呼ぶことによって組み立てることができます。特定の文字列形式には依存していません。組み込みコマンドselectのqueryパラメータでは、検索エンジンのユーザがフォームで入力する文字列を直接受け取ることを想定して、文字列からgrn_exprを生成しています。また、多くの組み込みコマンドで共通に使用するために、ECMAScript形式の文字列からgrn_exprを生成するAPI関数grn_expr_parse()を用意しています。grn_expr_parseでパースできる文字列を特にscript形式のgrn_exprと呼びます。</p>
|
86
86
|
<p>grn_exprを使うことによって非常に柔軟に検索条件を記述することができます。類似文書検索や近傍検索のような高度な検索もすべてgrn_exprによって記述できます。また、全文検索クエリにおいて、特定の文字列を含むレコードのスコアを細かく制御したり、検索結果数の多寡に応じてより検索漏れの少ないアルゴリズムで再検索するような機能も、grn_exprとgrn_table_select()API関数を組み合わせることによって自由に定義できます。</p>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="scriptgrn-expr">
|
89
|
-
<h2>
|
89
|
+
<h2>6.5.3. script形式のgrn_expr<a class="headerlink" href="#scriptgrn-expr" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
90
90
|
<p>ECMAScript風の構文で検索条件やレコードへの操作を記述します。</p>
|
91
91
|
<p>式中のIDENTIFIER(識別子)は、以下のいずれかを指します。</p>
|
92
92
|
<table class="docutils field-list" frame="void" rules="none">
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</table>
|
104
104
|
</div>
|
105
105
|
<div class="section" id="id3">
|
106
|
-
<h2>
|
106
|
+
<h2>6.5.4. 例<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
107
107
|
<p>script形式でcolumn1の値が'hoge'に等しいという条件</p>
|
108
108
|
<blockquote>
|
109
109
|
<div>column1 == "hoge"</div></blockquote>
|
@@ -119,21 +119,21 @@
|
|
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="#scriptgrn-expr">
|
126
|
-
<li><a class="reference internal" href="#id3">
|
122
|
+
<li><a class="reference internal" href="#">6.5. grn_expr</a><ul>
|
123
|
+
<li><a class="reference internal" href="#id1">6.5.1. 名前</a></li>
|
124
|
+
<li><a class="reference internal" href="#id2">6.5.2. 説明</a></li>
|
125
|
+
<li><a class="reference internal" href="#scriptgrn-expr">6.5.3. script形式のgrn_expr</a></li>
|
126
|
+
<li><a class="reference internal" href="#id3">6.5.4. 例</a></li>
|
127
127
|
</ul>
|
128
128
|
</li>
|
129
129
|
</ul>
|
130
130
|
|
131
131
|
<h4>前のトピックへ</h4>
|
132
132
|
<p class="topless"><a href="pseudo_column.html"
|
133
|
-
title="前の章へ">
|
133
|
+
title="前の章へ">6.4. 疑似カラム (pseudo_column)</a></p>
|
134
134
|
<h4>次のトピックへ</h4>
|
135
135
|
<p class="topless"><a href="functions.html"
|
136
|
-
title="次の章へ">
|
136
|
+
title="次の章へ">6.6. 組み込み関数一覧</a></p>
|
137
137
|
<h3>このページ</h3>
|
138
138
|
<ul class="this-page-menu">
|
139
139
|
<li><a href="_sources/expr.txt"
|
@@ -163,13 +163,13 @@
|
|
163
163
|
<a href="genindex.html" title="総合索引"
|
164
164
|
>索引</a></li>
|
165
165
|
<li class="right" >
|
166
|
-
<a href="functions.html" title="
|
166
|
+
<a href="functions.html" title="6.6. 組み込み関数一覧"
|
167
167
|
>次へ</a> |</li>
|
168
168
|
<li class="right" >
|
169
|
-
<a href="pseudo_column.html" title="
|
169
|
+
<a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
|
170
170
|
>前へ</a> |</li>
|
171
|
-
<li><a href="index.html">groonga v1.2.
|
172
|
-
<li><a href="reference.html" >
|
171
|
+
<li><a href="index.html">groonga v1.2.5ドキュメント</a> »</li>
|
172
|
+
<li><a href="reference.html" >6. リファレンスマニュアル</a> »</li>
|
173
173
|
</ul>
|
174
174
|
</div>
|
175
175
|
<div class="footer">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>
|
12
|
+
<title>6.6.1. edit_distance — groonga v1.2.5ドキュメント</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.5',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,10 +28,10 @@
|
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
30
30
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
31
|
-
<link rel="top" title="groonga v1.2.
|
32
|
-
<link rel="up" title="
|
33
|
-
<link rel="next" title="
|
34
|
-
<link rel="prev" title="
|
31
|
+
<link rel="top" title="groonga v1.2.5ドキュメント" href="../index.html" />
|
32
|
+
<link rel="up" title="6.6. 組み込み関数一覧" href="../functions.html" />
|
33
|
+
<link rel="next" title="6.6.2. geo_distance" href="geo_distance.html" />
|
34
|
+
<link rel="prev" title="6.6. 組み込み関数一覧" href="../functions.html" />
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<div class="header">
|
@@ -58,14 +58,14 @@
|
|
58
58
|
<a href="../genindex.html" title="総合索引"
|
59
59
|
accesskey="I">索引</a></li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="geo_distance.html" title="
|
61
|
+
<a href="geo_distance.html" title="6.6.2. geo_distance"
|
62
62
|
accesskey="N">次へ</a> |</li>
|
63
63
|
<li class="right" >
|
64
|
-
<a href="../functions.html" title="
|
64
|
+
<a href="../functions.html" title="6.6. 組み込み関数一覧"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v1.2.
|
67
|
-
<li><a href="../reference.html" >
|
68
|
-
<li><a href="../functions.html" accesskey="U">
|
66
|
+
<li><a href="../index.html">groonga v1.2.5ドキュメント</a> »</li>
|
67
|
+
<li><a href="../reference.html" >6. リファレンスマニュアル</a> »</li>
|
68
|
+
<li><a href="../functions.html" accesskey="U">6.6. 組み込み関数一覧</a> »</li>
|
69
69
|
</ul>
|
70
70
|
</div>
|
71
71
|
|
@@ -75,24 +75,24 @@
|
|
75
75
|
<div class="body">
|
76
76
|
|
77
77
|
<div class="section" id="edit-distance">
|
78
|
-
<h1>
|
78
|
+
<h1>6.6.1. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
79
79
|
<div class="section" id="id1">
|
80
|
-
<h2>
|
80
|
+
<h2>6.6.1.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
81
81
|
<p>edit_distance - 指定した2つの文字列の編集距離を計算する</p>
|
82
82
|
</div>
|
83
83
|
<div class="section" id="id2">
|
84
|
-
<h2>
|
84
|
+
<h2>6.6.1.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
85
85
|
<div class="highlight-none"><div class="highlight"><pre>edit_distance(string1, string2)
|
86
86
|
</pre></div>
|
87
87
|
</div>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="id3">
|
90
|
-
<h2>
|
90
|
+
<h2>6.6.1.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
91
|
<p>groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
92
92
|
<p>edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間の編集距離を求めます。</p>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="id4">
|
95
|
-
<h2>
|
95
|
+
<h2>6.6.1.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
96
96
|
<p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
|
97
97
|
<blockquote>
|
98
98
|
<div>文字列を指定します</div></blockquote>
|
@@ -101,11 +101,11 @@
|
|
101
101
|
<div>もうひとつの文字列を指定します</div></blockquote>
|
102
102
|
</div>
|
103
103
|
<div class="section" id="id5">
|
104
|
-
<h2>
|
104
|
+
<h2>6.6.1.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
105
105
|
<p>指定した2つ文字列の編集距離をUint32型の値として返します。</p>
|
106
106
|
</div>
|
107
107
|
<div class="section" id="id6">
|
108
|
-
<h2>
|
108
|
+
<h2>6.6.1.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
109
109
|
<div class="highlight-none"><div class="highlight"><pre>edit_distance(title, "hoge")
|
110
110
|
1
|
111
111
|
</pre></div>
|
@@ -121,23 +121,23 @@
|
|
121
121
|
<div class="sphinxsidebarwrapper">
|
122
122
|
<h3><a href="../index.html">目次</a></h3>
|
123
123
|
<ul>
|
124
|
-
<li><a class="reference internal" href="#">
|
125
|
-
<li><a class="reference internal" href="#id1">
|
126
|
-
<li><a class="reference internal" href="#id2">
|
127
|
-
<li><a class="reference internal" href="#id3">
|
128
|
-
<li><a class="reference internal" href="#id4">
|
129
|
-
<li><a class="reference internal" href="#id5">
|
130
|
-
<li><a class="reference internal" href="#id6">
|
124
|
+
<li><a class="reference internal" href="#">6.6.1. edit_distance</a><ul>
|
125
|
+
<li><a class="reference internal" href="#id1">6.6.1.1. 名前</a></li>
|
126
|
+
<li><a class="reference internal" href="#id2">6.6.1.2. 書式</a></li>
|
127
|
+
<li><a class="reference internal" href="#id3">6.6.1.3. 説明</a></li>
|
128
|
+
<li><a class="reference internal" href="#id4">6.6.1.4. 引数</a></li>
|
129
|
+
<li><a class="reference internal" href="#id5">6.6.1.5. 返値</a></li>
|
130
|
+
<li><a class="reference internal" href="#id6">6.6.1.6. 例</a></li>
|
131
131
|
</ul>
|
132
132
|
</li>
|
133
133
|
</ul>
|
134
134
|
|
135
135
|
<h4>前のトピックへ</h4>
|
136
136
|
<p class="topless"><a href="../functions.html"
|
137
|
-
title="前の章へ">
|
137
|
+
title="前の章へ">6.6. 組み込み関数一覧</a></p>
|
138
138
|
<h4>次のトピックへ</h4>
|
139
139
|
<p class="topless"><a href="geo_distance.html"
|
140
|
-
title="次の章へ">
|
140
|
+
title="次の章へ">6.6.2. geo_distance</a></p>
|
141
141
|
<h3>このページ</h3>
|
142
142
|
<ul class="this-page-menu">
|
143
143
|
<li><a href="../_sources/functions/edit_distance.txt"
|
@@ -167,14 +167,14 @@
|
|
167
167
|
<a href="../genindex.html" title="総合索引"
|
168
168
|
>索引</a></li>
|
169
169
|
<li class="right" >
|
170
|
-
<a href="geo_distance.html" title="
|
170
|
+
<a href="geo_distance.html" title="6.6.2. geo_distance"
|
171
171
|
>次へ</a> |</li>
|
172
172
|
<li class="right" >
|
173
|
-
<a href="../functions.html" title="
|
173
|
+
<a href="../functions.html" title="6.6. 組み込み関数一覧"
|
174
174
|
>前へ</a> |</li>
|
175
|
-
<li><a href="../index.html">groonga v1.2.
|
176
|
-
<li><a href="../reference.html" >
|
177
|
-
<li><a href="../functions.html" >
|
175
|
+
<li><a href="../index.html">groonga v1.2.5ドキュメント</a> »</li>
|
176
|
+
<li><a href="../reference.html" >6. リファレンスマニュアル</a> »</li>
|
177
|
+
<li><a href="../functions.html" >6.6. 組み込み関数一覧</a> »</li>
|
178
178
|
</ul>
|
179
179
|
</div>
|
180
180
|
<div class="footer">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>
|
12
|
+
<title>6.6.2. geo_distance — groonga v1.2.5ドキュメント</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.5',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,10 +28,10 @@
|
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
30
30
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
31
|
-
<link rel="top" title="groonga v1.2.
|
32
|
-
<link rel="up" title="
|
33
|
-
<link rel="next" title="
|
34
|
-
<link rel="prev" title="
|
31
|
+
<link rel="top" title="groonga v1.2.5ドキュメント" href="../index.html" />
|
32
|
+
<link rel="up" title="6.6. 組み込み関数一覧" href="../functions.html" />
|
33
|
+
<link rel="next" title="6.6.3. geo_in_circle" href="geo_in_circle.html" />
|
34
|
+
<link rel="prev" title="6.6.1. edit_distance" href="edit_distance.html" />
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<div class="header">
|
@@ -58,14 +58,14 @@
|
|
58
58
|
<a href="../genindex.html" title="総合索引"
|
59
59
|
accesskey="I">索引</a></li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="geo_in_circle.html" title="
|
61
|
+
<a href="geo_in_circle.html" title="6.6.3. geo_in_circle"
|
62
62
|
accesskey="N">次へ</a> |</li>
|
63
63
|
<li class="right" >
|
64
|
-
<a href="edit_distance.html" title="
|
64
|
+
<a href="edit_distance.html" title="6.6.1. edit_distance"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v1.2.
|
67
|
-
<li><a href="../reference.html" >
|
68
|
-
<li><a href="../functions.html" accesskey="U">
|
66
|
+
<li><a href="../index.html">groonga v1.2.5ドキュメント</a> »</li>
|
67
|
+
<li><a href="../reference.html" >6. リファレンスマニュアル</a> »</li>
|
68
|
+
<li><a href="../functions.html" accesskey="U">6.6. 組み込み関数一覧</a> »</li>
|
69
69
|
</ul>
|
70
70
|
</div>
|
71
71
|
|
@@ -75,25 +75,25 @@
|
|
75
75
|
<div class="body">
|
76
76
|
|
77
77
|
<div class="section" id="geo-distance">
|
78
|
-
<h1>
|
78
|
+
<h1>6.6.2. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
79
79
|
<div class="section" id="id1">
|
80
|
-
<h2>
|
80
|
+
<h2>6.6.2.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
81
81
|
<p>geo_distance - 指定した2点の距離を計算する</p>
|
82
82
|
</div>
|
83
83
|
<div class="section" id="id2">
|
84
|
-
<h2>
|
84
|
+
<h2>6.6.2.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
85
85
|
<div class="highlight-none"><div class="highlight"><pre>geo_distance(point1, point2)
|
86
86
|
</pre></div>
|
87
87
|
</div>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="id3">
|
90
|
-
<h2>
|
90
|
+
<h2>6.6.2.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
91
|
<p>groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
92
92
|
<p>geo_distance() 関数は、point1に指定した座標とpoint2に指定した座標の間の距離(近似値)を求めます。
|
93
93
|
geo_distance()の他に、距離計算アルゴリズムの異なる、geo_distance2()、geo_distance3()が使用できます。それぞれ、長方形近似、球面近似、ヒュベニの距離計算式によって距離を算出します。</p>
|
94
94
|
</div>
|
95
95
|
<div class="section" id="id4">
|
96
|
-
<h2>
|
96
|
+
<h2>6.6.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
97
97
|
<p><tt class="docutils literal"><span class="pre">point1</span></tt></p>
|
98
98
|
<blockquote>
|
99
99
|
<div>距離を求める2点のうち一つを指定します。GeoPoint型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
|
@@ -102,11 +102,11 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
|
|
102
102
|
<div>距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
|
103
103
|
</div>
|
104
104
|
<div class="section" id="id6">
|
105
|
-
<h2>
|
105
|
+
<h2>6.6.2.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
106
106
|
<p>指定した2点の距離をFloat型の値(単位:メートル)として返します。</p>
|
107
107
|
</div>
|
108
108
|
<div class="section" id="id7">
|
109
|
-
<h2>
|
109
|
+
<h2>6.6.2.6. 例<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
110
110
|
<div class="highlight-none"><div class="highlight"><pre>geo_distance(pos, "150x150")
|
111
111
|
100
|
112
112
|
</pre></div>
|
@@ -129,23 +129,23 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
|
|
129
129
|
<div class="sphinxsidebarwrapper">
|
130
130
|
<h3><a href="../index.html">目次</a></h3>
|
131
131
|
<ul>
|
132
|
-
<li><a class="reference internal" href="#">
|
133
|
-
<li><a class="reference internal" href="#id1">
|
134
|
-
<li><a class="reference internal" href="#id2">
|
135
|
-
<li><a class="reference internal" href="#id3">
|
136
|
-
<li><a class="reference internal" href="#id4">
|
137
|
-
<li><a class="reference internal" href="#id6">
|
138
|
-
<li><a class="reference internal" href="#id7">
|
132
|
+
<li><a class="reference internal" href="#">6.6.2. geo_distance</a><ul>
|
133
|
+
<li><a class="reference internal" href="#id1">6.6.2.1. 名前</a></li>
|
134
|
+
<li><a class="reference internal" href="#id2">6.6.2.2. 書式</a></li>
|
135
|
+
<li><a class="reference internal" href="#id3">6.6.2.3. 説明</a></li>
|
136
|
+
<li><a class="reference internal" href="#id4">6.6.2.4. 引数</a></li>
|
137
|
+
<li><a class="reference internal" href="#id6">6.6.2.5. 返値</a></li>
|
138
|
+
<li><a class="reference internal" href="#id7">6.6.2.6. 例</a></li>
|
139
139
|
</ul>
|
140
140
|
</li>
|
141
141
|
</ul>
|
142
142
|
|
143
143
|
<h4>前のトピックへ</h4>
|
144
144
|
<p class="topless"><a href="edit_distance.html"
|
145
|
-
title="前の章へ">
|
145
|
+
title="前の章へ">6.6.1. edit_distance</a></p>
|
146
146
|
<h4>次のトピックへ</h4>
|
147
147
|
<p class="topless"><a href="geo_in_circle.html"
|
148
|
-
title="次の章へ">
|
148
|
+
title="次の章へ">6.6.3. geo_in_circle</a></p>
|
149
149
|
<h3>このページ</h3>
|
150
150
|
<ul class="this-page-menu">
|
151
151
|
<li><a href="../_sources/functions/geo_distance.txt"
|
@@ -175,14 +175,14 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
|
|
175
175
|
<a href="../genindex.html" title="総合索引"
|
176
176
|
>索引</a></li>
|
177
177
|
<li class="right" >
|
178
|
-
<a href="geo_in_circle.html" title="
|
178
|
+
<a href="geo_in_circle.html" title="6.6.3. geo_in_circle"
|
179
179
|
>次へ</a> |</li>
|
180
180
|
<li class="right" >
|
181
|
-
<a href="edit_distance.html" title="
|
181
|
+
<a href="edit_distance.html" title="6.6.1. edit_distance"
|
182
182
|
>前へ</a> |</li>
|
183
|
-
<li><a href="../index.html">groonga v1.2.
|
184
|
-
<li><a href="../reference.html" >
|
185
|
-
<li><a href="../functions.html" >
|
183
|
+
<li><a href="../index.html">groonga v1.2.5ドキュメント</a> »</li>
|
184
|
+
<li><a href="../reference.html" >6. リファレンスマニュアル</a> »</li>
|
185
|
+
<li><a href="../functions.html" >6.6. 組み込み関数一覧</a> »</li>
|
186
186
|
</ul>
|
187
187
|
</div>
|
188
188
|
<div class="footer">
|