rroonga 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +5 -0
- data/Gemfile +1 -12
- data/README.textile +73 -0
- data/Rakefile +4 -57
- data/bin/grndump +11 -1
- data/ext/groonga/extconf.rb +125 -54
- data/ext/groonga/rb-grn-context.c +25 -7
- data/ext/groonga/rb-grn-database.c +25 -0
- data/ext/groonga/rb-grn-object.c +19 -7
- data/ext/groonga/rb-grn-table.c +8 -10
- data/ext/groonga/rb-grn.h +9 -2
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/dumper.rb +2 -2
- data/lib/groonga/expression-builder.rb +33 -18
- data/rroonga-build.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +5 -5
- 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 +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
- 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/select.txt +349 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +41 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +154 -4
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +21 -29
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +683 -162
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +170 -12
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +23 -16
- data/vendor/local/share/doc/groonga/en/html/indexing.html +95 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +67 -37
- data/vendor/local/share/doc/groonga/en/html/limitations.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +161 -25
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
- 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 +22 -22
- data/vendor/local/share/doc/groonga/en/html/spec.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +33 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +33 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +37 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +293 -29
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +340 -27
- 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 +282 -24
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +524 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +103 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +128 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +155 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +349 -109
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +41 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +154 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +21 -29
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +601 -162
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +170 -12
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +23 -16
- data/vendor/local/share/doc/groonga/ja/html/indexing.html +95 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +66 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +147 -25
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/spec.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +33 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +37 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +292 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +340 -27
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- 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 +282 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +524 -15
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +103 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +128 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +155 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/source/commands/select.txt +349 -109
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +28 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +28 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +74 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +32 -1
- data/vendor/local/share/doc/groonga/source/conf.py +3 -3
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +28 -1
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +28 -1
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +1 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +46 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +40 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +48 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +100 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +5 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +80 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +75 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +31 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +38 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +7 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +132 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +132 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +95 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +86 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +70 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +51 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +55 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +34 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +18 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +80 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +89 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +8 -8
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +66 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +76 -2
- data/vendor/local/share/doc/groonga/source/install.txt +41 -10
- data/vendor/local/share/doc/groonga/source/news.txt +71 -0
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +1 -1
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +1 -1
- data/vendor/local/share/groonga/html/admin/css/{admin.css → groonga-admin.css} +5 -4
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ffd27a_256x240.png → redmond/images/ui-icons_217bc0_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_222222_256x240.png → redmond/images/ui-icons_2e83ff_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_228ef1_256x240.png → redmond/images/ui-icons_469bdd_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ef8c08_256x240.png → redmond/images/ui-icons_d8e7f3_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/jquery-ui-1.8.1.custom.css → redmond/jquery-ui-1.8.18.custom.css} +169 -90
- data/vendor/local/share/groonga/html/admin/images/groonga.svg +121 -0
- data/vendor/local/share/groonga/html/admin/index.html +44 -1145
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +1354 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +4 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +2813 -331
- data/vendor/local/share/man/man1/groonga.1 +2898 -337
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +988 -921
- data/test/groonga-test-utils.rb +0 -139
- data/test/run-test.rb +0 -60
- data/test/test-accessor.rb +0 -36
- data/test/test-array.rb +0 -123
- data/test/test-column.rb +0 -350
- data/test/test-command-select.rb +0 -147
- data/test/test-context.rb +0 -130
- data/test/test-database-dumper.rb +0 -259
- data/test/test-database.rb +0 -148
- data/test/test-double-array-trie.rb +0 -164
- data/test/test-encoding.rb +0 -33
- data/test/test-exception.rb +0 -96
- data/test/test-expression-builder.rb +0 -269
- data/test/test-expression.rb +0 -134
- data/test/test-fix-size-column.rb +0 -77
- data/test/test-gqtp.rb +0 -70
- data/test/test-hash.rb +0 -344
- data/test/test-index-column.rb +0 -180
- data/test/test-index-cursor.rb +0 -93
- data/test/test-logger.rb +0 -37
- data/test/test-pagination.rb +0 -249
- data/test/test-patricia-trie.rb +0 -415
- data/test/test-plugin.rb +0 -35
- data/test/test-procedure.rb +0 -37
- data/test/test-query-log.rb +0 -258
- data/test/test-record.rb +0 -569
- data/test/test-remote.rb +0 -63
- data/test/test-schema-create-table.rb +0 -267
- data/test/test-schema-dumper.rb +0 -235
- data/test/test-schema-type.rb +0 -208
- data/test/test-schema-view.rb +0 -90
- data/test/test-schema.rb +0 -886
- data/test/test-snippet.rb +0 -130
- data/test/test-table-cursor.rb +0 -187
- data/test/test-table-dumper.rb +0 -83
- data/test/test-table-offset-and-limit.rb +0 -100
- data/test/test-table-select-mecab.rb +0 -80
- data/test/test-table-select-normalize.rb +0 -57
- data/test/test-table-select-weight.rb +0 -123
- data/test/test-table-select.rb +0 -191
- data/test/test-table.rb +0 -675
- data/test/test-type.rb +0 -79
- data/test/test-variable-size-column.rb +0 -147
- data/test/test-variable.rb +0 -28
- data/test/test-vector-column.rb +0 -76
- data/test/test-version.rb +0 -61
- data/test/test-view.rb +0 -72
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-1.4.2.min.js +0 -154
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.1.custom.min.js +0 -756
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.6. タグ検索・参照関係の逆引き — groonga v2.0.
|
12
|
+
<title>4.6. タグ検索・参照関係の逆引き — groonga v2.0.1ドキュメント</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: '2.0.
|
20
|
+
VERSION: '2.0.1',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
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 v2.0.
|
31
|
+
<link rel="top" title="groonga v2.0.1ドキュメント" href="../index.html" />
|
32
32
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
33
33
|
<link rel="next" title="4.7. match_columnsパラメータ" href="match_columns.html" />
|
34
34
|
<link rel="prev" title="4.5. ドリルダウン" href="drilldown.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="drilldown.html" title="4.5. ドリルダウン"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v2.0.
|
66
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
67
67
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
@@ -85,15 +85,15 @@
|
|
85
85
|
タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タグ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスをindex_tagsカラムに格納しています。</p>
|
86
86
|
<p>実行例:</p>
|
87
87
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32
|
88
|
-
[[0,
|
88
|
+
[[0,1335519627.03224,0.000266790390014648],true]
|
89
89
|
> table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText
|
90
|
-
[[0,
|
90
|
+
[[0,1335519627.23315,0.000222206115722656],true]
|
91
91
|
> column_create --table Video --name title --flags COLUMN_SCALAR --type ShortText
|
92
|
-
[[0,
|
92
|
+
[[0,1335519627.43389,0.000550031661987305],true]
|
93
93
|
> column_create --table Video --name tags --flags COLUMN_VECTOR --type Tag
|
94
|
-
[[0,
|
94
|
+
[[0,1335519627.63497,0.000490188598632812],true]
|
95
95
|
> column_create --table Tag --name index_tags --flags COLUMN_INDEX --type Video --source tags
|
96
|
-
[[0,
|
96
|
+
[[0,1335519627.83602,0.0032198429107666],true]
|
97
97
|
> load --table Video
|
98
98
|
> [
|
99
99
|
> {"_key":1,"title":"Soccer 2010","tags":["Sports","Soccer"]},
|
@@ -105,18 +105,115 @@
|
|
105
105
|
> {"_key":7,"title":"Draw 8 Month","tags":["Animation","Raccoon"]},
|
106
106
|
> {"_key":8,"title":"K.O.","tags":["Animation","Music"]}
|
107
107
|
> ]
|
108
|
-
[[0,
|
108
|
+
[[0,1335519628.03974,2.00352549552917],8]
|
109
109
|
</pre></div>
|
110
110
|
</div>
|
111
111
|
<p>インデックスカラムを作成すると、全文検索が高速に行えるようになります。インデックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に更新されます。</p>
|
112
112
|
<p>「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。</p>
|
113
113
|
<p>実行例:</p>
|
114
114
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Video --query tags:@Variety --output_columns _key,title
|
115
|
-
[
|
115
|
+
[
|
116
|
+
[
|
117
|
+
0,
|
118
|
+
1335519630.24437,
|
119
|
+
0.000667810440063477
|
120
|
+
],
|
121
|
+
[
|
122
|
+
[
|
123
|
+
[
|
124
|
+
2
|
125
|
+
],
|
126
|
+
[
|
127
|
+
[
|
128
|
+
"_key",
|
129
|
+
"UInt32"
|
130
|
+
],
|
131
|
+
[
|
132
|
+
"title",
|
133
|
+
"ShortText"
|
134
|
+
]
|
135
|
+
],
|
136
|
+
[
|
137
|
+
2,
|
138
|
+
"Zenigata Kinjirou"
|
139
|
+
],
|
140
|
+
[
|
141
|
+
5,
|
142
|
+
"Hex Gone!"
|
143
|
+
]
|
144
|
+
]
|
145
|
+
]
|
146
|
+
]
|
116
147
|
> select --table Video --query tags:@Sports --output_columns _key,title
|
117
|
-
[
|
148
|
+
[
|
149
|
+
[
|
150
|
+
0,
|
151
|
+
1335519630.44675,
|
152
|
+
0.000470399856567383
|
153
|
+
],
|
154
|
+
[
|
155
|
+
[
|
156
|
+
[
|
157
|
+
2
|
158
|
+
],
|
159
|
+
[
|
160
|
+
[
|
161
|
+
"_key",
|
162
|
+
"UInt32"
|
163
|
+
],
|
164
|
+
[
|
165
|
+
"title",
|
166
|
+
"ShortText"
|
167
|
+
]
|
168
|
+
],
|
169
|
+
[
|
170
|
+
1,
|
171
|
+
"Soccer 2010"
|
172
|
+
],
|
173
|
+
[
|
174
|
+
4,
|
175
|
+
"Moero!! Ultra Baseball"
|
176
|
+
]
|
177
|
+
]
|
178
|
+
]
|
179
|
+
]
|
118
180
|
> select --table Video --query tags:@Animation --output_columns _key,title
|
119
|
-
[
|
181
|
+
[
|
182
|
+
[
|
183
|
+
0,
|
184
|
+
1335519630.64889,
|
185
|
+
0.000455856323242188
|
186
|
+
],
|
187
|
+
[
|
188
|
+
[
|
189
|
+
[
|
190
|
+
3
|
191
|
+
],
|
192
|
+
[
|
193
|
+
[
|
194
|
+
"_key",
|
195
|
+
"UInt32"
|
196
|
+
],
|
197
|
+
[
|
198
|
+
"title",
|
199
|
+
"ShortText"
|
200
|
+
]
|
201
|
+
],
|
202
|
+
[
|
203
|
+
6,
|
204
|
+
"Pikonyan 1"
|
205
|
+
],
|
206
|
+
[
|
207
|
+
7,
|
208
|
+
"Draw 8 Month"
|
209
|
+
],
|
210
|
+
[
|
211
|
+
8,
|
212
|
+
"K.O."
|
213
|
+
]
|
214
|
+
]
|
215
|
+
]
|
216
|
+
]
|
120
217
|
</pre></div>
|
121
218
|
</div>
|
122
219
|
<p>このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うことができました。</p>
|
@@ -128,13 +225,13 @@
|
|
128
225
|
<p>以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納するusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのインデックスのindex_friendsカラムを追加しています。</p>
|
129
226
|
<p>実行例:</p>
|
130
227
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText
|
131
|
-
[[0,
|
228
|
+
[[0,1335519630.85121,0.00020289421081543],true]
|
132
229
|
> column_create --table User --name username --flags COLUMN_SCALAR --type ShortText
|
133
|
-
[[0,
|
230
|
+
[[0,1335519631.05176,0.00130391120910645],true]
|
134
231
|
> column_create --table User --name friends --flags COLUMN_VECTOR --type User
|
135
|
-
[[0,
|
232
|
+
[[0,1335519631.25402,0.000970840454101562],true]
|
136
233
|
> column_create --table User --name index_friends --flags COLUMN_INDEX --type User --source friends
|
137
|
-
[[0,
|
234
|
+
[[0,1335519631.45581,0.00640487670898438],true]
|
138
235
|
> load --table User
|
139
236
|
> [
|
140
237
|
> {"_key":"ken","username":"健作","friends":["taro","jiro","tomo","moritapo"]}
|
@@ -144,21 +241,173 @@
|
|
144
241
|
> {"_key":"tomo","username":"トモちゃん","friends":["ken","hana"]}
|
145
242
|
> {"_key":"hana","username":"花子","friends":["ken","taro","jiro","moritapo","tomo"]}
|
146
243
|
> ]
|
147
|
-
[[0,
|
244
|
+
[[0,1335519631.6631,1.60283184051514],6]
|
148
245
|
</pre></div>
|
149
246
|
</div>
|
150
247
|
<p>指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。</p>
|
151
248
|
<p>実行例:</p>
|
152
249
|
<div class="highlight-none"><div class="highlight"><pre>> select --table User --query friends:@tomo --output_columns _key,username
|
153
|
-
[
|
250
|
+
[
|
251
|
+
[
|
252
|
+
0,
|
253
|
+
1335519633.46704,
|
254
|
+
0.000623941421508789
|
255
|
+
],
|
256
|
+
[
|
257
|
+
[
|
258
|
+
[
|
259
|
+
5
|
260
|
+
],
|
261
|
+
[
|
262
|
+
[
|
263
|
+
"_key",
|
264
|
+
"ShortText"
|
265
|
+
],
|
266
|
+
[
|
267
|
+
"username",
|
268
|
+
"ShortText"
|
269
|
+
]
|
270
|
+
],
|
271
|
+
[
|
272
|
+
"ken",
|
273
|
+
"健作"
|
274
|
+
],
|
275
|
+
[
|
276
|
+
"taro",
|
277
|
+
"ぐるんが太郎"
|
278
|
+
],
|
279
|
+
[
|
280
|
+
"jiro",
|
281
|
+
"ぐるんが次郎"
|
282
|
+
],
|
283
|
+
[
|
284
|
+
"moritapo",
|
285
|
+
"森田"
|
286
|
+
],
|
287
|
+
[
|
288
|
+
"hana",
|
289
|
+
"花子"
|
290
|
+
]
|
291
|
+
]
|
292
|
+
]
|
293
|
+
]
|
154
294
|
> select --table User --query friends:@jiro --output_columns _key,username
|
155
|
-
[
|
295
|
+
[
|
296
|
+
[
|
297
|
+
0,
|
298
|
+
1335519633.67028,
|
299
|
+
0.000344514846801758
|
300
|
+
],
|
301
|
+
[
|
302
|
+
[
|
303
|
+
[
|
304
|
+
3
|
305
|
+
],
|
306
|
+
[
|
307
|
+
[
|
308
|
+
"_key",
|
309
|
+
"ShortText"
|
310
|
+
],
|
311
|
+
[
|
312
|
+
"username",
|
313
|
+
"ShortText"
|
314
|
+
]
|
315
|
+
],
|
316
|
+
[
|
317
|
+
"ken",
|
318
|
+
"健作"
|
319
|
+
],
|
320
|
+
[
|
321
|
+
"taro",
|
322
|
+
"ぐるんが太郎"
|
323
|
+
],
|
324
|
+
[
|
325
|
+
"hana",
|
326
|
+
"花子"
|
327
|
+
]
|
328
|
+
]
|
329
|
+
]
|
330
|
+
]
|
156
331
|
</pre></div>
|
157
332
|
</div>
|
158
333
|
<p>さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみましょう。</p>
|
159
334
|
<p>実行例:</p>
|
160
335
|
<div class="highlight-none"><div class="highlight"><pre>> select --table User --limit 0 --drilldown friends
|
161
|
-
[
|
336
|
+
[
|
337
|
+
[
|
338
|
+
0,
|
339
|
+
1335519633.87264,
|
340
|
+
0.000327825546264648
|
341
|
+
],
|
342
|
+
[
|
343
|
+
[
|
344
|
+
[
|
345
|
+
6
|
346
|
+
],
|
347
|
+
[
|
348
|
+
[
|
349
|
+
"_id",
|
350
|
+
"UInt32"
|
351
|
+
],
|
352
|
+
[
|
353
|
+
"_key",
|
354
|
+
"ShortText"
|
355
|
+
],
|
356
|
+
[
|
357
|
+
"friends",
|
358
|
+
"User"
|
359
|
+
],
|
360
|
+
[
|
361
|
+
"index_friends",
|
362
|
+
"User"
|
363
|
+
],
|
364
|
+
[
|
365
|
+
"username",
|
366
|
+
"ShortText"
|
367
|
+
]
|
368
|
+
]
|
369
|
+
],
|
370
|
+
[
|
371
|
+
[
|
372
|
+
6
|
373
|
+
],
|
374
|
+
[
|
375
|
+
[
|
376
|
+
"_key",
|
377
|
+
"ShortText"
|
378
|
+
],
|
379
|
+
[
|
380
|
+
"_nsubrecs",
|
381
|
+
"Int32"
|
382
|
+
]
|
383
|
+
],
|
384
|
+
[
|
385
|
+
"taro",
|
386
|
+
3
|
387
|
+
],
|
388
|
+
[
|
389
|
+
"jiro",
|
390
|
+
3
|
391
|
+
],
|
392
|
+
[
|
393
|
+
"tomo",
|
394
|
+
5
|
395
|
+
],
|
396
|
+
[
|
397
|
+
"moritapo",
|
398
|
+
2
|
399
|
+
],
|
400
|
+
[
|
401
|
+
"ken",
|
402
|
+
3
|
403
|
+
],
|
404
|
+
[
|
405
|
+
"hana",
|
406
|
+
1
|
407
|
+
]
|
408
|
+
]
|
409
|
+
]
|
410
|
+
]
|
162
411
|
</pre></div>
|
163
412
|
</div>
|
164
413
|
<p>このように、テーブルの参照関係を逆にたどる検索ができました。</p>
|
@@ -168,23 +417,87 @@
|
|
168
417
|
<p>位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情報レコードを検索する場合に、検索速度が速くなります。</p>
|
169
418
|
<p>実行例:</p>
|
170
419
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint
|
171
|
-
[[0,
|
420
|
+
[[0,1335519634.07459,0.00024867057800293],true]
|
172
421
|
> column_create --table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source location
|
173
|
-
[[0,
|
422
|
+
[[0,1335519634.2754,0.00743818283081055],true]
|
174
423
|
> load --table Site
|
175
424
|
> [
|
176
425
|
> {"_key":"http://example.org/","location":"128452975x503157902"},
|
177
426
|
> {"_key":"http://example.net/","location":"128487316x502920929"}
|
178
427
|
> ]
|
179
|
-
[[0,
|
428
|
+
[[0,1335519634.48372,0.801371812820435],2]
|
180
429
|
> select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 5000)' --output_columns _key,location
|
181
|
-
[
|
430
|
+
[
|
431
|
+
[
|
432
|
+
0,
|
433
|
+
1335519635.48562,
|
434
|
+
0.000363826751708984
|
435
|
+
],
|
436
|
+
[
|
437
|
+
[
|
438
|
+
[
|
439
|
+
1
|
440
|
+
],
|
441
|
+
[
|
442
|
+
[
|
443
|
+
"_key",
|
444
|
+
"ShortText"
|
445
|
+
],
|
446
|
+
[
|
447
|
+
"location",
|
448
|
+
"WGS84GeoPoint"
|
449
|
+
]
|
450
|
+
],
|
451
|
+
[
|
452
|
+
"http://example.org/",
|
453
|
+
"128452975x503157902"
|
454
|
+
]
|
455
|
+
]
|
456
|
+
]
|
457
|
+
]
|
182
458
|
</pre></div>
|
183
459
|
</div>
|
184
460
|
<p>同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。</p>
|
185
461
|
<p>実行例:</p>
|
186
462
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 50000)' --output_columns _key,location,_score --sortby '-geo_distance(location, "128515259x503187188")' --scorer '_score = geo_distance(location, "128515259x503187188")'
|
187
|
-
[
|
463
|
+
[
|
464
|
+
[
|
465
|
+
0,
|
466
|
+
1335519635.68736,
|
467
|
+
0.000502824783325195
|
468
|
+
],
|
469
|
+
[
|
470
|
+
[
|
471
|
+
[
|
472
|
+
2
|
473
|
+
],
|
474
|
+
[
|
475
|
+
[
|
476
|
+
"_key",
|
477
|
+
"ShortText"
|
478
|
+
],
|
479
|
+
[
|
480
|
+
"location",
|
481
|
+
"WGS84GeoPoint"
|
482
|
+
],
|
483
|
+
[
|
484
|
+
"_score",
|
485
|
+
"Int32"
|
486
|
+
]
|
487
|
+
],
|
488
|
+
[
|
489
|
+
"http://example.org/",
|
490
|
+
"128452975x503157902",
|
491
|
+
2054
|
492
|
+
],
|
493
|
+
[
|
494
|
+
"http://example.net/",
|
495
|
+
"128487316x502920929",
|
496
|
+
6720
|
497
|
+
]
|
498
|
+
]
|
499
|
+
]
|
500
|
+
]
|
188
501
|
</pre></div>
|
189
502
|
</div>
|
190
503
|
</div>
|
@@ -246,7 +559,7 @@
|
|
246
559
|
<li class="right" >
|
247
560
|
<a href="drilldown.html" title="4.5. ドリルダウン"
|
248
561
|
>前へ</a> |</li>
|
249
|
-
<li><a href="../index.html">groonga v2.0.
|
562
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
250
563
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
251
564
|
</ul>
|
252
565
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.1. 基本的な操作 — groonga v2.0.
|
12
|
+
<title>4.1. 基本的な操作 — groonga v2.0.1ドキュメント</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: '2.0.
|
20
|
+
VERSION: '2.0.1',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
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 v2.0.
|
31
|
+
<link rel="top" title="groonga v2.0.1ドキュメント" href="../index.html" />
|
32
32
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
33
33
|
<link rel="next" title="4.2. リモートアクセス" href="network.html" />
|
34
34
|
<link rel="prev" title="4. チュートリアル" href="../tutorial.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="../tutorial.html" title="4. チュートリアル"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v2.0.
|
66
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
67
67
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
@@ -394,7 +394,7 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
394
394
|
<li class="right" >
|
395
395
|
<a href="../tutorial.html" title="4. チュートリアル"
|
396
396
|
>前へ</a> |</li>
|
397
|
-
<li><a href="../index.html">groonga v2.0.
|
397
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
398
398
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
399
399
|
</ul>
|
400
400
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.9. 全文検索の語彙表に対する追加情報 — groonga v2.0.
|
12
|
+
<title>4.9. 全文検索の語彙表に対する追加情報 — groonga v2.0.1ドキュメント</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: '2.0.
|
20
|
+
VERSION: '2.0.1',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,7 +28,7 @@
|
|
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 v2.0.
|
31
|
+
<link rel="top" title="groonga v2.0.1ドキュメント" href="../index.html" />
|
32
32
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
33
33
|
<link rel="next" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
34
34
|
<link rel="prev" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v2.0.
|
66
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
67
67
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
<li class="right" >
|
126
126
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
127
127
|
>前へ</a> |</li>
|
128
|
-
<li><a href="../index.html">groonga v2.0.
|
128
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
129
129
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
130
130
|
</ul>
|
131
131
|
</div>
|