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.10. マイクロブログ検索システムの作成 — groonga v2.0.
|
12
|
+
<title>4.10. マイクロブログ検索システムの作成 — 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.11. クエリ拡張" href="query_expansion.html" />
|
34
34
|
<link rel="prev" title="4.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
|
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>
|
@@ -291,7 +291,38 @@ load --table Comments
|
|
291
291
|
指定された文字列で、ユーザー名・現在地・自己紹介文を対象に検索をします。</p>
|
292
292
|
<p>実行例:</p>
|
293
293
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Users --match_columns name,location_str,description --query 東京 --output_columns _key,name
|
294
|
-
[
|
294
|
+
[
|
295
|
+
[
|
296
|
+
0,
|
297
|
+
1335519659.99711,
|
298
|
+
0.000482797622680664
|
299
|
+
],
|
300
|
+
[
|
301
|
+
[
|
302
|
+
[
|
303
|
+
2
|
304
|
+
],
|
305
|
+
[
|
306
|
+
[
|
307
|
+
"_key",
|
308
|
+
"ShortText"
|
309
|
+
],
|
310
|
+
[
|
311
|
+
"name",
|
312
|
+
"ShortText"
|
313
|
+
]
|
314
|
+
],
|
315
|
+
[
|
316
|
+
"tasukuchan",
|
317
|
+
"グニャラくん"
|
318
|
+
],
|
319
|
+
[
|
320
|
+
"OffGao",
|
321
|
+
"OffGao"
|
322
|
+
]
|
323
|
+
]
|
324
|
+
]
|
325
|
+
]
|
295
326
|
</pre></div>
|
296
327
|
</div>
|
297
328
|
<p>「東京」をキーワードにユーザー検索した結果、東京都に住んでいる「グニャラくん」と「OffGao」がヒットしました。</p>
|
@@ -302,7 +333,38 @@ load --table Comments
|
|
302
333
|
以下の例では、指定された位置から5000m以内にいるユーザーを検索しています。</p>
|
303
334
|
<p>実行例:</p>
|
304
335
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Users --filter 'geo_in_circle(location,"128484216x502919856",5000)' --output_columns _key,name
|
305
|
-
[
|
336
|
+
[
|
337
|
+
[
|
338
|
+
0,
|
339
|
+
1335519660.19891,
|
340
|
+
0.000342607498168945
|
341
|
+
],
|
342
|
+
[
|
343
|
+
[
|
344
|
+
[
|
345
|
+
2
|
346
|
+
],
|
347
|
+
[
|
348
|
+
[
|
349
|
+
"_key",
|
350
|
+
"ShortText"
|
351
|
+
],
|
352
|
+
[
|
353
|
+
"name",
|
354
|
+
"ShortText"
|
355
|
+
]
|
356
|
+
],
|
357
|
+
[
|
358
|
+
"tasukuchan",
|
359
|
+
"グニャラくん"
|
360
|
+
],
|
361
|
+
[
|
362
|
+
"OffGao",
|
363
|
+
"OffGao"
|
364
|
+
]
|
365
|
+
]
|
366
|
+
]
|
367
|
+
]
|
306
368
|
</pre></div>
|
307
369
|
</div>
|
308
370
|
<p>新宿駅から5km以内にすんでいるユーザーを検索したところ、「グニャラくん」と「OffGao」がヒットしました。</p>
|
@@ -313,7 +375,38 @@ load --table Comments
|
|
313
375
|
以下の例では、Usersテーブルのfollowerカラムにあるフォローリストを逆引きします。</p>
|
314
376
|
<p>実行例:</p>
|
315
377
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Users --query follower:@tasukuchan --output_columns _key,name
|
316
|
-
[
|
378
|
+
[
|
379
|
+
[
|
380
|
+
0,
|
381
|
+
1335519660.40055,
|
382
|
+
0.000302791595458984
|
383
|
+
],
|
384
|
+
[
|
385
|
+
[
|
386
|
+
[
|
387
|
+
2
|
388
|
+
],
|
389
|
+
[
|
390
|
+
[
|
391
|
+
"_key",
|
392
|
+
"ShortText"
|
393
|
+
],
|
394
|
+
[
|
395
|
+
"name",
|
396
|
+
"ShortText"
|
397
|
+
]
|
398
|
+
],
|
399
|
+
[
|
400
|
+
"daijiro",
|
401
|
+
"hsiomaneki"
|
402
|
+
],
|
403
|
+
[
|
404
|
+
"OffGao",
|
405
|
+
"OffGao"
|
406
|
+
]
|
407
|
+
]
|
408
|
+
]
|
409
|
+
]
|
317
410
|
</pre></div>
|
318
411
|
</div>
|
319
412
|
<p>「グニャラくん」をフォローしている「hsiomaneki」と「OffGao」がヒットしました。</p>
|
@@ -324,7 +417,92 @@ load --table Comments
|
|
324
417
|
また、 <a class="reference internal" href="drilldown.html"><em>ドリルダウン</em></a> で扱ったドリルダウンも行います。検索結果をハッシュタグとユーザーでドリルダウンし、ユーザー別・ハッシュタグ別のカウントを出します。</p>
|
325
418
|
<p>実行例:</p>
|
326
419
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Comments --filter 'geo_in_circle(location,"127975798x502919856",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
327
|
-
[
|
420
|
+
[
|
421
|
+
[
|
422
|
+
0,
|
423
|
+
1335519660.60211,
|
424
|
+
0.00048828125
|
425
|
+
],
|
426
|
+
[
|
427
|
+
[
|
428
|
+
[
|
429
|
+
4
|
430
|
+
],
|
431
|
+
[
|
432
|
+
[
|
433
|
+
"posted_by.name",
|
434
|
+
"ShortText"
|
435
|
+
],
|
436
|
+
[
|
437
|
+
"comment",
|
438
|
+
"ShortText"
|
439
|
+
]
|
440
|
+
],
|
441
|
+
[
|
442
|
+
"OffGao",
|
443
|
+
"@daijiro @tasukuchan 登録してみましたよー!"
|
444
|
+
],
|
445
|
+
[
|
446
|
+
"グニャラくん",
|
447
|
+
"groongaなう #groonga"
|
448
|
+
],
|
449
|
+
[
|
450
|
+
"グニャラくん",
|
451
|
+
"groonga開発合宿のため羽田空港に来ました! #groonga #travel"
|
452
|
+
],
|
453
|
+
[
|
454
|
+
"OffGao",
|
455
|
+
"中野ブロードウェイなうなう"
|
456
|
+
]
|
457
|
+
],
|
458
|
+
[
|
459
|
+
[
|
460
|
+
2
|
461
|
+
],
|
462
|
+
[
|
463
|
+
[
|
464
|
+
"_key",
|
465
|
+
"ShortText"
|
466
|
+
],
|
467
|
+
[
|
468
|
+
"_nsubrecs",
|
469
|
+
"Int32"
|
470
|
+
]
|
471
|
+
],
|
472
|
+
[
|
473
|
+
"groonga",
|
474
|
+
2
|
475
|
+
],
|
476
|
+
[
|
477
|
+
"travel",
|
478
|
+
1
|
479
|
+
]
|
480
|
+
],
|
481
|
+
[
|
482
|
+
[
|
483
|
+
2
|
484
|
+
],
|
485
|
+
[
|
486
|
+
[
|
487
|
+
"_key",
|
488
|
+
"ShortText"
|
489
|
+
],
|
490
|
+
[
|
491
|
+
"_nsubrecs",
|
492
|
+
"Int32"
|
493
|
+
]
|
494
|
+
],
|
495
|
+
[
|
496
|
+
"OffGao",
|
497
|
+
2
|
498
|
+
],
|
499
|
+
[
|
500
|
+
"tasukuchan",
|
501
|
+
2
|
502
|
+
]
|
503
|
+
]
|
504
|
+
]
|
505
|
+
]
|
328
506
|
</pre></div>
|
329
507
|
</div>
|
330
508
|
<p>範囲を広く指定したため、位置情報のあるすべてのコメントがヒットしました。そして、ヒットしたコメントからドリルダウンされた結果も返ってきており、ハッシュタグは「#groonga」が2つに「#travel」が1つ、投稿者は「グニャラくん」「OffGao」がそれぞれ2件ずつであることがわかります。</p>
|
@@ -335,7 +513,38 @@ load --table Comments
|
|
335
513
|
さらに、 <a class="reference internal" href="search.html"><em>さまざまな検索条件の指定</em></a> で扱った、スコア値_scoreも出してみましょう。</p>
|
336
514
|
<p>実行例:</p>
|
337
515
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Comments --query comment:@なう --output_columns comment,_score
|
338
|
-
[
|
516
|
+
[
|
517
|
+
[
|
518
|
+
0,
|
519
|
+
1335519660.80493,
|
520
|
+
0.000359296798706055
|
521
|
+
],
|
522
|
+
[
|
523
|
+
[
|
524
|
+
[
|
525
|
+
2
|
526
|
+
],
|
527
|
+
[
|
528
|
+
[
|
529
|
+
"comment",
|
530
|
+
"ShortText"
|
531
|
+
],
|
532
|
+
[
|
533
|
+
"_score",
|
534
|
+
"Int32"
|
535
|
+
]
|
536
|
+
],
|
537
|
+
[
|
538
|
+
"groongaなう #groonga",
|
539
|
+
1
|
540
|
+
],
|
541
|
+
[
|
542
|
+
"中野ブロードウェイなうなう",
|
543
|
+
2
|
544
|
+
]
|
545
|
+
]
|
546
|
+
]
|
547
|
+
]
|
339
548
|
</pre></div>
|
340
549
|
</div>
|
341
550
|
<p>「なう」をキーワードにコメント検索した結果、2件のコメントがヒットしました。また、_scoreの値も返ってきており、「なう」の数が出力されていることが確認できます。</p>
|
@@ -345,7 +554,76 @@ load --table Comments
|
|
345
554
|
<p>今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filterの両方を使用した場合、両方の条件に一致するレコードがヒットします。</p>
|
346
555
|
<p>実行例:</p>
|
347
556
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Comments --query comment:@羽田 --filter 'geo_in_circle(location,"127975798x502919856",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
348
|
-
[
|
557
|
+
[
|
558
|
+
[
|
559
|
+
0,
|
560
|
+
1335519661.00659,
|
561
|
+
0.000471353530883789
|
562
|
+
],
|
563
|
+
[
|
564
|
+
[
|
565
|
+
[
|
566
|
+
1
|
567
|
+
],
|
568
|
+
[
|
569
|
+
[
|
570
|
+
"posted_by.name",
|
571
|
+
"ShortText"
|
572
|
+
],
|
573
|
+
[
|
574
|
+
"comment",
|
575
|
+
"ShortText"
|
576
|
+
]
|
577
|
+
],
|
578
|
+
[
|
579
|
+
"グニャラくん",
|
580
|
+
"groonga開発合宿のため羽田空港に来ました! #groonga #travel"
|
581
|
+
]
|
582
|
+
],
|
583
|
+
[
|
584
|
+
[
|
585
|
+
2
|
586
|
+
],
|
587
|
+
[
|
588
|
+
[
|
589
|
+
"_key",
|
590
|
+
"ShortText"
|
591
|
+
],
|
592
|
+
[
|
593
|
+
"_nsubrecs",
|
594
|
+
"Int32"
|
595
|
+
]
|
596
|
+
],
|
597
|
+
[
|
598
|
+
"groonga",
|
599
|
+
1
|
600
|
+
],
|
601
|
+
[
|
602
|
+
"travel",
|
603
|
+
1
|
604
|
+
]
|
605
|
+
],
|
606
|
+
[
|
607
|
+
[
|
608
|
+
1
|
609
|
+
],
|
610
|
+
[
|
611
|
+
[
|
612
|
+
"_key",
|
613
|
+
"ShortText"
|
614
|
+
],
|
615
|
+
[
|
616
|
+
"_nsubrecs",
|
617
|
+
"Int32"
|
618
|
+
]
|
619
|
+
],
|
620
|
+
[
|
621
|
+
"tasukuchan",
|
622
|
+
1
|
623
|
+
]
|
624
|
+
]
|
625
|
+
]
|
626
|
+
]
|
349
627
|
</pre></div>
|
350
628
|
</div>
|
351
629
|
<p>両方の条件を満たすコメントが1件ヒットしました。また、ドリルダウンの結果も返ってきており、「グニャラくん」のコメント1件であることがわかります。</p>
|
@@ -356,7 +634,57 @@ load --table Comments
|
|
356
634
|
これも、 <a class="reference internal" href="index.html"><em>タグ検索・参照関係の逆引き</em></a> で扱った、参照関係の逆引きを使います。</p>
|
357
635
|
<p>実行例:</p>
|
358
636
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
359
|
-
[
|
637
|
+
[
|
638
|
+
[
|
639
|
+
0,
|
640
|
+
1335519661.2089,
|
641
|
+
0.000585079193115234
|
642
|
+
],
|
643
|
+
[
|
644
|
+
[
|
645
|
+
[
|
646
|
+
2
|
647
|
+
],
|
648
|
+
[
|
649
|
+
[
|
650
|
+
"posted_by.name",
|
651
|
+
"ShortText"
|
652
|
+
],
|
653
|
+
[
|
654
|
+
"comment",
|
655
|
+
"ShortText"
|
656
|
+
]
|
657
|
+
],
|
658
|
+
[
|
659
|
+
"グニャラくん",
|
660
|
+
"groongaなう #groonga"
|
661
|
+
],
|
662
|
+
[
|
663
|
+
"グニャラくん",
|
664
|
+
"groonga開発合宿のため羽田空港に来ました! #groonga #travel"
|
665
|
+
]
|
666
|
+
],
|
667
|
+
[
|
668
|
+
[
|
669
|
+
1
|
670
|
+
],
|
671
|
+
[
|
672
|
+
[
|
673
|
+
"_key",
|
674
|
+
"ShortText"
|
675
|
+
],
|
676
|
+
[
|
677
|
+
"_nsubrecs",
|
678
|
+
"Int32"
|
679
|
+
]
|
680
|
+
],
|
681
|
+
[
|
682
|
+
"tasukuchan",
|
683
|
+
2
|
684
|
+
]
|
685
|
+
]
|
686
|
+
]
|
687
|
+
]
|
360
688
|
</pre></div>
|
361
689
|
</div>
|
362
690
|
<p>#groongaタグの付いている2件のコメントがヒットしました。また、投稿者のドリルダウンも返ってきており、2件とも「グニャラくん」のものであることがわかります。</p>
|
@@ -366,7 +694,61 @@ load --table Comments
|
|
366
694
|
<p>あるユーザーが投稿したコメントを検索します。</p>
|
367
695
|
<p>実行例:</p>
|
368
696
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Comments --query posted_by:tasukuchan --output_columns comment --drilldown hash_tags
|
369
|
-
[
|
697
|
+
[
|
698
|
+
[
|
699
|
+
0,
|
700
|
+
1335519661.41271,
|
701
|
+
0.000678777694702148
|
702
|
+
],
|
703
|
+
[
|
704
|
+
[
|
705
|
+
[
|
706
|
+
4
|
707
|
+
],
|
708
|
+
[
|
709
|
+
[
|
710
|
+
"comment",
|
711
|
+
"ShortText"
|
712
|
+
]
|
713
|
+
],
|
714
|
+
[
|
715
|
+
"初の書き込み。テストテスト。"
|
716
|
+
],
|
717
|
+
[
|
718
|
+
"@daijiro ありがとう!"
|
719
|
+
],
|
720
|
+
[
|
721
|
+
"groongaなう #groonga"
|
722
|
+
],
|
723
|
+
[
|
724
|
+
"groonga開発合宿のため羽田空港に来ました! #groonga #travel"
|
725
|
+
]
|
726
|
+
],
|
727
|
+
[
|
728
|
+
[
|
729
|
+
2
|
730
|
+
],
|
731
|
+
[
|
732
|
+
[
|
733
|
+
"_key",
|
734
|
+
"ShortText"
|
735
|
+
],
|
736
|
+
[
|
737
|
+
"_nsubrecs",
|
738
|
+
"Int32"
|
739
|
+
]
|
740
|
+
],
|
741
|
+
[
|
742
|
+
"groonga",
|
743
|
+
2
|
744
|
+
],
|
745
|
+
[
|
746
|
+
"travel",
|
747
|
+
1
|
748
|
+
]
|
749
|
+
]
|
750
|
+
]
|
751
|
+
]
|
370
752
|
</pre></div>
|
371
753
|
</div>
|
372
754
|
<p>「グニャラくん」が書き込んだ4件のコメントがヒットしました。また、ハッシュタグでドリルダウンした結果も返ってきており、ハッシュタグは「#groonga」が2つに「#travel」が1つあることがわかります。</p>
|
@@ -376,7 +758,40 @@ load --table Comments
|
|
376
758
|
<p>あるユーザーがお気に入りに入れているコメントを検索します。</p>
|
377
759
|
<p>実行例:</p>
|
378
760
|
<div class="highlight-none"><div class="highlight"><pre>> select --table Users --query _key:tasukuchan --output_columns favorites.posted_by,favorites.comment
|
379
|
-
[
|
761
|
+
[
|
762
|
+
[
|
763
|
+
0,
|
764
|
+
1335519661.61696,
|
765
|
+
0.000443696975708008
|
766
|
+
],
|
767
|
+
[
|
768
|
+
[
|
769
|
+
[
|
770
|
+
1
|
771
|
+
],
|
772
|
+
[
|
773
|
+
[
|
774
|
+
"favorites.posted_by",
|
775
|
+
"Users"
|
776
|
+
],
|
777
|
+
[
|
778
|
+
"favorites.comment",
|
779
|
+
"ShortText"
|
780
|
+
]
|
781
|
+
],
|
782
|
+
[
|
783
|
+
[
|
784
|
+
"daijiro",
|
785
|
+
"OffGao"
|
786
|
+
],
|
787
|
+
[
|
788
|
+
"マイクロブログ作ってみました(甘栗むいちゃいました的な感じで)。",
|
789
|
+
"@daijiro @tasukuchan 登録してみましたよー!"
|
790
|
+
]
|
791
|
+
]
|
792
|
+
]
|
793
|
+
]
|
794
|
+
]
|
380
795
|
</pre></div>
|
381
796
|
</div>
|
382
797
|
<p>「グニャラくん」がお気に入りに入れている2件のコメントがヒットしました。</p>
|
@@ -387,7 +802,101 @@ load --table Comments
|
|
387
802
|
この例では、指定した時間よりも前に投稿されているコメントを検索します。</p>
|
388
803
|
<p>実行例:</p>
|
389
804
|
<div class="highlight-none"><div class="highlight"><pre>> select Comments --filter 'last_modified<=1268802000' --output_columns posted_by.name,comment,last_modified --drilldown hash_tags,posted_by
|
390
|
-
[
|
805
|
+
[
|
806
|
+
[
|
807
|
+
0,
|
808
|
+
1335519661.82081,
|
809
|
+
0.000457286834716797
|
810
|
+
],
|
811
|
+
[
|
812
|
+
[
|
813
|
+
[
|
814
|
+
5
|
815
|
+
],
|
816
|
+
[
|
817
|
+
[
|
818
|
+
"posted_by.name",
|
819
|
+
"ShortText"
|
820
|
+
],
|
821
|
+
[
|
822
|
+
"comment",
|
823
|
+
"ShortText"
|
824
|
+
],
|
825
|
+
[
|
826
|
+
"last_modified",
|
827
|
+
"Time"
|
828
|
+
]
|
829
|
+
],
|
830
|
+
[
|
831
|
+
"hsiomaneki",
|
832
|
+
"マイクロブログ作ってみました(甘栗むいちゃいました的な感じで)。",
|
833
|
+
1268795100.0
|
834
|
+
],
|
835
|
+
[
|
836
|
+
"グニャラくん",
|
837
|
+
"初の書き込み。テストテスト。",
|
838
|
+
1268794800.0
|
839
|
+
],
|
840
|
+
[
|
841
|
+
"hsiomaneki",
|
842
|
+
"@tasukuchan ようこそ!!!",
|
843
|
+
1268795100.0
|
844
|
+
],
|
845
|
+
[
|
846
|
+
"グニャラくん",
|
847
|
+
"@daijiro ありがとう!",
|
848
|
+
1268798400.0
|
849
|
+
],
|
850
|
+
[
|
851
|
+
"グニャラくん",
|
852
|
+
"groongaなう #groonga",
|
853
|
+
1268802000.0
|
854
|
+
]
|
855
|
+
],
|
856
|
+
[
|
857
|
+
[
|
858
|
+
1
|
859
|
+
],
|
860
|
+
[
|
861
|
+
[
|
862
|
+
"_key",
|
863
|
+
"ShortText"
|
864
|
+
],
|
865
|
+
[
|
866
|
+
"_nsubrecs",
|
867
|
+
"Int32"
|
868
|
+
]
|
869
|
+
],
|
870
|
+
[
|
871
|
+
"groonga",
|
872
|
+
1
|
873
|
+
]
|
874
|
+
],
|
875
|
+
[
|
876
|
+
[
|
877
|
+
2
|
878
|
+
],
|
879
|
+
[
|
880
|
+
[
|
881
|
+
"_key",
|
882
|
+
"ShortText"
|
883
|
+
],
|
884
|
+
[
|
885
|
+
"_nsubrecs",
|
886
|
+
"Int32"
|
887
|
+
]
|
888
|
+
],
|
889
|
+
[
|
890
|
+
"daijiro",
|
891
|
+
2
|
892
|
+
],
|
893
|
+
[
|
894
|
+
"tasukuchan",
|
895
|
+
3
|
896
|
+
]
|
897
|
+
]
|
898
|
+
]
|
899
|
+
]
|
391
900
|
</pre></div>
|
392
901
|
</div>
|
393
902
|
<p>2010/03/17 14:00:00以前に書かれたコメント5件がヒットしました。また、ドリルダウンの結果も返ってきており、「hsiomaneki」が2件、「グニャラくん」が3件ヒットしていることがわかります。</p>
|
@@ -469,7 +978,7 @@ load --table Comments
|
|
469
978
|
<li class="right" >
|
470
979
|
<a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
|
471
980
|
>前へ</a> |</li>
|
472
|
-
<li><a href="../index.html">groonga v2.0.
|
981
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
473
982
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
474
983
|
</ul>
|
475
984
|
</div>
|