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
@@ -1,10 +1,55 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
4
|
-
[[0,
|
4
|
+
[[0,1335519613.08263,0.00126886367797852],true]
|
5
5
|
> load --table Site
|
6
6
|
> [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
|
7
|
-
[[0,
|
7
|
+
[[0,1335519613.28473,0.200579166412354],1]
|
8
8
|
> select --table Site --output_columns _key,title,links._key,links.title --query title:@this
|
9
|
-
[
|
9
|
+
[
|
10
|
+
[
|
11
|
+
0,
|
12
|
+
1335519613.68602,
|
13
|
+
0.000647306442260742
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
[
|
18
|
+
1
|
19
|
+
],
|
20
|
+
[
|
21
|
+
[
|
22
|
+
"_key",
|
23
|
+
"ShortText"
|
24
|
+
],
|
25
|
+
[
|
26
|
+
"title",
|
27
|
+
"ShortText"
|
28
|
+
],
|
29
|
+
[
|
30
|
+
"links._key",
|
31
|
+
"ShortText"
|
32
|
+
],
|
33
|
+
[
|
34
|
+
"links.title",
|
35
|
+
"ShortText"
|
36
|
+
]
|
37
|
+
],
|
38
|
+
[
|
39
|
+
"http://example.org/",
|
40
|
+
"This is test record 1!",
|
41
|
+
[
|
42
|
+
"http://example.net/",
|
43
|
+
"http://example.org/",
|
44
|
+
"http://example.com/"
|
45
|
+
],
|
46
|
+
[
|
47
|
+
"test record 2.",
|
48
|
+
"This is test record 1!",
|
49
|
+
"test test record three."
|
50
|
+
]
|
51
|
+
]
|
52
|
+
]
|
53
|
+
]
|
54
|
+
]
|
10
55
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32
|
4
|
-
[[0,
|
4
|
+
[[0,1335519627.03224,0.000266790390014648],true]
|
5
5
|
> table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText
|
6
|
-
[[0,
|
6
|
+
[[0,1335519627.23315,0.000222206115722656],true]
|
7
7
|
> column_create --table Video --name title --flags COLUMN_SCALAR --type ShortText
|
8
|
-
[[0,
|
8
|
+
[[0,1335519627.43389,0.000550031661987305],true]
|
9
9
|
> column_create --table Video --name tags --flags COLUMN_VECTOR --type Tag
|
10
|
-
[[0,
|
10
|
+
[[0,1335519627.63497,0.000490188598632812],true]
|
11
11
|
> column_create --table Tag --name index_tags --flags COLUMN_INDEX --type Video --source tags
|
12
|
-
[[0,
|
12
|
+
[[0,1335519627.83602,0.0032198429107666],true]
|
13
13
|
> load --table Video
|
14
14
|
> [
|
15
15
|
> {"_key":1,"title":"Soccer 2010","tags":["Sports","Soccer"]},
|
@@ -21,5 +21,5 @@ Execution example::
|
|
21
21
|
> {"_key":7,"title":"Draw 8 Month","tags":["Animation","Raccoon"]},
|
22
22
|
> {"_key":8,"title":"K.O.","tags":["Animation","Music"]}
|
23
23
|
> ]
|
24
|
-
[[0,
|
24
|
+
[[0,1335519628.03974,2.00352549552917],8]
|
25
25
|
|
@@ -1,9 +1,106 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> select --table Video --query tags:@Variety --output_columns _key,title
|
4
|
-
[
|
4
|
+
[
|
5
|
+
[
|
6
|
+
0,
|
7
|
+
1335519630.24437,
|
8
|
+
0.000667810440063477
|
9
|
+
],
|
10
|
+
[
|
11
|
+
[
|
12
|
+
[
|
13
|
+
2
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"_key",
|
18
|
+
"UInt32"
|
19
|
+
],
|
20
|
+
[
|
21
|
+
"title",
|
22
|
+
"ShortText"
|
23
|
+
]
|
24
|
+
],
|
25
|
+
[
|
26
|
+
2,
|
27
|
+
"Zenigata Kinjirou"
|
28
|
+
],
|
29
|
+
[
|
30
|
+
5,
|
31
|
+
"Hex Gone!"
|
32
|
+
]
|
33
|
+
]
|
34
|
+
]
|
35
|
+
]
|
5
36
|
> select --table Video --query tags:@Sports --output_columns _key,title
|
6
|
-
[
|
37
|
+
[
|
38
|
+
[
|
39
|
+
0,
|
40
|
+
1335519630.44675,
|
41
|
+
0.000470399856567383
|
42
|
+
],
|
43
|
+
[
|
44
|
+
[
|
45
|
+
[
|
46
|
+
2
|
47
|
+
],
|
48
|
+
[
|
49
|
+
[
|
50
|
+
"_key",
|
51
|
+
"UInt32"
|
52
|
+
],
|
53
|
+
[
|
54
|
+
"title",
|
55
|
+
"ShortText"
|
56
|
+
]
|
57
|
+
],
|
58
|
+
[
|
59
|
+
1,
|
60
|
+
"Soccer 2010"
|
61
|
+
],
|
62
|
+
[
|
63
|
+
4,
|
64
|
+
"Moero!! Ultra Baseball"
|
65
|
+
]
|
66
|
+
]
|
67
|
+
]
|
68
|
+
]
|
7
69
|
> select --table Video --query tags:@Animation --output_columns _key,title
|
8
|
-
[
|
70
|
+
[
|
71
|
+
[
|
72
|
+
0,
|
73
|
+
1335519630.64889,
|
74
|
+
0.000455856323242188
|
75
|
+
],
|
76
|
+
[
|
77
|
+
[
|
78
|
+
[
|
79
|
+
3
|
80
|
+
],
|
81
|
+
[
|
82
|
+
[
|
83
|
+
"_key",
|
84
|
+
"UInt32"
|
85
|
+
],
|
86
|
+
[
|
87
|
+
"title",
|
88
|
+
"ShortText"
|
89
|
+
]
|
90
|
+
],
|
91
|
+
[
|
92
|
+
6,
|
93
|
+
"Pikonyan 1"
|
94
|
+
],
|
95
|
+
[
|
96
|
+
7,
|
97
|
+
"Draw 8 Month"
|
98
|
+
],
|
99
|
+
[
|
100
|
+
8,
|
101
|
+
"K.O."
|
102
|
+
]
|
103
|
+
]
|
104
|
+
]
|
105
|
+
]
|
9
106
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> table_create --name User --flags TABLE_HASH_KEY --key_type ShortText
|
4
|
-
[[0,
|
4
|
+
[[0,1335519630.85121,0.00020289421081543],true]
|
5
5
|
> column_create --table User --name username --flags COLUMN_SCALAR --type ShortText
|
6
|
-
[[0,
|
6
|
+
[[0,1335519631.05176,0.00130391120910645],true]
|
7
7
|
> column_create --table User --name friends --flags COLUMN_VECTOR --type User
|
8
|
-
[[0,
|
8
|
+
[[0,1335519631.25402,0.000970840454101562],true]
|
9
9
|
> column_create --table User --name index_friends --flags COLUMN_INDEX --type User --source friends
|
10
|
-
[[0,
|
10
|
+
[[0,1335519631.45581,0.00640487670898438],true]
|
11
11
|
> load --table User
|
12
12
|
> [
|
13
13
|
> {"_key":"ken","username":"健作","friends":["taro","jiro","tomo","moritapo"]}
|
@@ -17,5 +17,5 @@ Execution example::
|
|
17
17
|
> {"_key":"tomo","username":"トモちゃん","friends":["ken","hana"]}
|
18
18
|
> {"_key":"hana","username":"花子","friends":["ken","taro","jiro","moritapo","tomo"]}
|
19
19
|
> ]
|
20
|
-
[[0,
|
20
|
+
[[0,1335519631.6631,1.60283184051514],6]
|
21
21
|
|
@@ -1,7 +1,85 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> select --table User --query friends:@tomo --output_columns _key,username
|
4
|
-
[
|
4
|
+
[
|
5
|
+
[
|
6
|
+
0,
|
7
|
+
1335519633.46704,
|
8
|
+
0.000623941421508789
|
9
|
+
],
|
10
|
+
[
|
11
|
+
[
|
12
|
+
[
|
13
|
+
5
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"_key",
|
18
|
+
"ShortText"
|
19
|
+
],
|
20
|
+
[
|
21
|
+
"username",
|
22
|
+
"ShortText"
|
23
|
+
]
|
24
|
+
],
|
25
|
+
[
|
26
|
+
"ken",
|
27
|
+
"健作"
|
28
|
+
],
|
29
|
+
[
|
30
|
+
"taro",
|
31
|
+
"ぐるんが太郎"
|
32
|
+
],
|
33
|
+
[
|
34
|
+
"jiro",
|
35
|
+
"ぐるんが次郎"
|
36
|
+
],
|
37
|
+
[
|
38
|
+
"moritapo",
|
39
|
+
"森田"
|
40
|
+
],
|
41
|
+
[
|
42
|
+
"hana",
|
43
|
+
"花子"
|
44
|
+
]
|
45
|
+
]
|
46
|
+
]
|
47
|
+
]
|
5
48
|
> select --table User --query friends:@jiro --output_columns _key,username
|
6
|
-
[
|
49
|
+
[
|
50
|
+
[
|
51
|
+
0,
|
52
|
+
1335519633.67028,
|
53
|
+
0.000344514846801758
|
54
|
+
],
|
55
|
+
[
|
56
|
+
[
|
57
|
+
[
|
58
|
+
3
|
59
|
+
],
|
60
|
+
[
|
61
|
+
[
|
62
|
+
"_key",
|
63
|
+
"ShortText"
|
64
|
+
],
|
65
|
+
[
|
66
|
+
"username",
|
67
|
+
"ShortText"
|
68
|
+
]
|
69
|
+
],
|
70
|
+
[
|
71
|
+
"ken",
|
72
|
+
"健作"
|
73
|
+
],
|
74
|
+
[
|
75
|
+
"taro",
|
76
|
+
"ぐるんが太郎"
|
77
|
+
],
|
78
|
+
[
|
79
|
+
"hana",
|
80
|
+
"花子"
|
81
|
+
]
|
82
|
+
]
|
83
|
+
]
|
84
|
+
]
|
7
85
|
|
@@ -1,5 +1,79 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> select --table User --limit 0 --drilldown friends
|
4
|
-
[
|
4
|
+
[
|
5
|
+
[
|
6
|
+
0,
|
7
|
+
1335519633.87264,
|
8
|
+
0.000327825546264648
|
9
|
+
],
|
10
|
+
[
|
11
|
+
[
|
12
|
+
[
|
13
|
+
6
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"_id",
|
18
|
+
"UInt32"
|
19
|
+
],
|
20
|
+
[
|
21
|
+
"_key",
|
22
|
+
"ShortText"
|
23
|
+
],
|
24
|
+
[
|
25
|
+
"friends",
|
26
|
+
"User"
|
27
|
+
],
|
28
|
+
[
|
29
|
+
"index_friends",
|
30
|
+
"User"
|
31
|
+
],
|
32
|
+
[
|
33
|
+
"username",
|
34
|
+
"ShortText"
|
35
|
+
]
|
36
|
+
]
|
37
|
+
],
|
38
|
+
[
|
39
|
+
[
|
40
|
+
6
|
41
|
+
],
|
42
|
+
[
|
43
|
+
[
|
44
|
+
"_key",
|
45
|
+
"ShortText"
|
46
|
+
],
|
47
|
+
[
|
48
|
+
"_nsubrecs",
|
49
|
+
"Int32"
|
50
|
+
]
|
51
|
+
],
|
52
|
+
[
|
53
|
+
"taro",
|
54
|
+
3
|
55
|
+
],
|
56
|
+
[
|
57
|
+
"jiro",
|
58
|
+
3
|
59
|
+
],
|
60
|
+
[
|
61
|
+
"tomo",
|
62
|
+
5
|
63
|
+
],
|
64
|
+
[
|
65
|
+
"moritapo",
|
66
|
+
2
|
67
|
+
],
|
68
|
+
[
|
69
|
+
"ken",
|
70
|
+
3
|
71
|
+
],
|
72
|
+
[
|
73
|
+
"hana",
|
74
|
+
1
|
75
|
+
]
|
76
|
+
]
|
77
|
+
]
|
78
|
+
]
|
5
79
|
|
@@ -1,15 +1,42 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint
|
4
|
-
[[0,
|
4
|
+
[[0,1335519634.07459,0.00024867057800293],true]
|
5
5
|
> column_create --table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source location
|
6
|
-
[[0,
|
6
|
+
[[0,1335519634.2754,0.00743818283081055],true]
|
7
7
|
> load --table Site
|
8
8
|
> [
|
9
9
|
> {"_key":"http://example.org/","location":"128452975x503157902"},
|
10
10
|
> {"_key":"http://example.net/","location":"128487316x502920929"}
|
11
11
|
> ]
|
12
|
-
[[0,
|
12
|
+
[[0,1335519634.48372,0.801371812820435],2]
|
13
13
|
> select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 5000)' --output_columns _key,location
|
14
|
-
[
|
14
|
+
[
|
15
|
+
[
|
16
|
+
0,
|
17
|
+
1335519635.48562,
|
18
|
+
0.000363826751708984
|
19
|
+
],
|
20
|
+
[
|
21
|
+
[
|
22
|
+
[
|
23
|
+
1
|
24
|
+
],
|
25
|
+
[
|
26
|
+
[
|
27
|
+
"_key",
|
28
|
+
"ShortText"
|
29
|
+
],
|
30
|
+
[
|
31
|
+
"location",
|
32
|
+
"WGS84GeoPoint"
|
33
|
+
]
|
34
|
+
],
|
35
|
+
[
|
36
|
+
"http://example.org/",
|
37
|
+
"128452975x503157902"
|
38
|
+
]
|
39
|
+
]
|
40
|
+
]
|
41
|
+
]
|
15
42
|
|
@@ -1,5 +1,42 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> 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")'
|
4
|
-
[
|
4
|
+
[
|
5
|
+
[
|
6
|
+
0,
|
7
|
+
1335519635.68736,
|
8
|
+
0.000502824783325195
|
9
|
+
],
|
10
|
+
[
|
11
|
+
[
|
12
|
+
[
|
13
|
+
2
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"_key",
|
18
|
+
"ShortText"
|
19
|
+
],
|
20
|
+
[
|
21
|
+
"location",
|
22
|
+
"WGS84GeoPoint"
|
23
|
+
],
|
24
|
+
[
|
25
|
+
"_score",
|
26
|
+
"Int32"
|
27
|
+
]
|
28
|
+
],
|
29
|
+
[
|
30
|
+
"http://example.org/",
|
31
|
+
"128452975x503157902",
|
32
|
+
2054
|
33
|
+
],
|
34
|
+
[
|
35
|
+
"http://example.net/",
|
36
|
+
"128487316x502920929",
|
37
|
+
6720
|
38
|
+
]
|
39
|
+
]
|
40
|
+
]
|
41
|
+
]
|
5
42
|
|
@@ -1,22 +1,22 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText
|
4
|
-
[[0,
|
4
|
+
[[0,1335519613.90326,0.00016021728515625],true]
|
5
5
|
> column_create --table Blog1 --name title --flags COLUMN_SCALAR --type ShortText
|
6
|
-
[[0,
|
6
|
+
[[0,1335519614.10411,0.00106573104858398],true]
|
7
7
|
> column_create --table Blog1 --name message --flags COLUMN_SCALAR --type ShortText
|
8
|
-
[[0,
|
8
|
+
[[0,1335519614.30595,0.00101113319396973],true]
|
9
9
|
> table_create --name IndexBlog1 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
10
|
-
[[0,
|
10
|
+
[[0,1335519614.50779,0.000327587127685547],true]
|
11
11
|
> column_create --table IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source title
|
12
|
-
[[0,
|
12
|
+
[[0,1335519614.70891,0.00641822814941406],true]
|
13
13
|
> column_create --table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source message
|
14
|
-
[[0,
|
14
|
+
[[0,1335519614.91621,0.00670051574707031],true]
|
15
15
|
> load --table Blog1
|
16
16
|
> [
|
17
17
|
> {"_key":"grn1","title":"groonga test","message":"groonga message"},
|
18
18
|
> {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
|
19
19
|
> {"_key":"grn3","title":"groonga message","message":"none"}
|
20
20
|
> ]
|
21
|
-
[[0,
|
21
|
+
[[0,1335519615.1238,1.00167393684387],3]
|
22
22
|
|
@@ -1,9 +1,138 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> select --table Blog1 --match_columns title||message --query groonga
|
4
|
-
[
|
4
|
+
[
|
5
|
+
[
|
6
|
+
0,
|
7
|
+
1335519616.32664,
|
8
|
+
0.00108003616333008
|
9
|
+
],
|
10
|
+
[
|
11
|
+
[
|
12
|
+
[
|
13
|
+
3
|
14
|
+
],
|
15
|
+
[
|
16
|
+
[
|
17
|
+
"_id",
|
18
|
+
"UInt32"
|
19
|
+
],
|
20
|
+
[
|
21
|
+
"_key",
|
22
|
+
"ShortText"
|
23
|
+
],
|
24
|
+
[
|
25
|
+
"message",
|
26
|
+
"ShortText"
|
27
|
+
],
|
28
|
+
[
|
29
|
+
"title",
|
30
|
+
"ShortText"
|
31
|
+
]
|
32
|
+
],
|
33
|
+
[
|
34
|
+
1,
|
35
|
+
"grn1",
|
36
|
+
"groonga message",
|
37
|
+
"groonga test"
|
38
|
+
],
|
39
|
+
[
|
40
|
+
3,
|
41
|
+
"grn3",
|
42
|
+
"none",
|
43
|
+
"groonga message"
|
44
|
+
],
|
45
|
+
[
|
46
|
+
2,
|
47
|
+
"grn2",
|
48
|
+
"rakutan eggs 4 - 4 groonga moritars",
|
49
|
+
"baseball result"
|
50
|
+
]
|
51
|
+
]
|
52
|
+
]
|
53
|
+
]
|
5
54
|
> select --table Blog1 --match_columns title||message --query message
|
6
|
-
[
|
55
|
+
[
|
56
|
+
[
|
57
|
+
0,
|
58
|
+
1335519616.5306,
|
59
|
+
0.000397920608520508
|
60
|
+
],
|
61
|
+
[
|
62
|
+
[
|
63
|
+
[
|
64
|
+
2
|
65
|
+
],
|
66
|
+
[
|
67
|
+
[
|
68
|
+
"_id",
|
69
|
+
"UInt32"
|
70
|
+
],
|
71
|
+
[
|
72
|
+
"_key",
|
73
|
+
"ShortText"
|
74
|
+
],
|
75
|
+
[
|
76
|
+
"message",
|
77
|
+
"ShortText"
|
78
|
+
],
|
79
|
+
[
|
80
|
+
"title",
|
81
|
+
"ShortText"
|
82
|
+
]
|
83
|
+
],
|
84
|
+
[
|
85
|
+
3,
|
86
|
+
"grn3",
|
87
|
+
"none",
|
88
|
+
"groonga message"
|
89
|
+
],
|
90
|
+
[
|
91
|
+
1,
|
92
|
+
"grn1",
|
93
|
+
"groonga message",
|
94
|
+
"groonga test"
|
95
|
+
]
|
96
|
+
]
|
97
|
+
]
|
98
|
+
]
|
7
99
|
> select --table Blog1 --match_columns title --query message
|
8
|
-
[
|
100
|
+
[
|
101
|
+
[
|
102
|
+
0,
|
103
|
+
1335519616.73219,
|
104
|
+
0.000369548797607422
|
105
|
+
],
|
106
|
+
[
|
107
|
+
[
|
108
|
+
[
|
109
|
+
1
|
110
|
+
],
|
111
|
+
[
|
112
|
+
[
|
113
|
+
"_id",
|
114
|
+
"UInt32"
|
115
|
+
],
|
116
|
+
[
|
117
|
+
"_key",
|
118
|
+
"ShortText"
|
119
|
+
],
|
120
|
+
[
|
121
|
+
"message",
|
122
|
+
"ShortText"
|
123
|
+
],
|
124
|
+
[
|
125
|
+
"title",
|
126
|
+
"ShortText"
|
127
|
+
]
|
128
|
+
],
|
129
|
+
[
|
130
|
+
3,
|
131
|
+
"grn3",
|
132
|
+
"none",
|
133
|
+
"groonga message"
|
134
|
+
]
|
135
|
+
]
|
136
|
+
]
|
137
|
+
]
|
9
138
|
|
@@ -1,20 +1,20 @@
|
|
1
1
|
Execution example::
|
2
2
|
|
3
3
|
> table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText
|
4
|
-
[[0,
|
4
|
+
[[0,1335519616.93386,0.000204801559448242],true]
|
5
5
|
> column_create --table Blog2 --name title --flags COLUMN_SCALAR --type ShortText
|
6
|
-
[[0,
|
6
|
+
[[0,1335519617.13462,0.000517606735229492],true]
|
7
7
|
> column_create --table Blog2 --name message --flags COLUMN_SCALAR --type ShortText
|
8
|
-
[[0,
|
8
|
+
[[0,1335519617.33589,0.000973939895629883],true]
|
9
9
|
> table_create --name IndexBlog2 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
10
|
-
[[0,
|
10
|
+
[[0,1335519617.53761,0.000263690948486328],true]
|
11
11
|
> column_create --table IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --type Blog2 --source title,message
|
12
|
-
[[0,
|
12
|
+
[[0,1335519617.73843,0.00370573997497559],true]
|
13
13
|
> load --table Blog2
|
14
14
|
> [
|
15
15
|
> {"_key":"grn1","title":"groonga test","message":"groonga message"},
|
16
16
|
> {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
|
17
17
|
> {"_key":"grn3","title":"groonga message","message":"none"}
|
18
18
|
> ]
|
19
|
-
[[0,
|
19
|
+
[[0,1335519617.94267,1.00162434577942],3]
|
20
20
|
|