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>10. トラブルシューティング — groonga v2.0.
|
12
|
+
<title>10. トラブルシューティング — groonga v2.0.2 documentation</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.2',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.2 documentation" href="index.html" />
|
31
31
|
<link rel="next" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる" href="troubleshooting/different_results_with_the_same_keyword.html" />
|
32
32
|
<link rel="prev" title="9. Limitations" href="limitations.html" />
|
33
33
|
</head>
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="limitations.html" title="9. Limitations"
|
63
63
|
accesskey="P">previous</a> |</li>
|
64
|
-
<li><a href="index.html">groonga v2.0.
|
64
|
+
<li><a href="index.html">groonga v2.0.2 documentation</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
67
67
|
|
@@ -131,7 +131,7 @@
|
|
131
131
|
<li class="right" >
|
132
132
|
<a href="limitations.html" title="9. Limitations"
|
133
133
|
>previous</a> |</li>
|
134
|
-
<li><a href="index.html">groonga v2.0.
|
134
|
+
<li><a href="index.html">groonga v2.0.2 documentation</a> »</li>
|
135
135
|
</ul>
|
136
136
|
</div>
|
137
137
|
<div class="footer">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.3. Various data types — groonga v2.0.
|
12
|
+
<title>4.3. Various data types — groonga v2.0.2 documentation</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.2',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
32
32
|
<link rel="next" title="4.4. さまざまな検索条件の指定" href="search.html" />
|
33
33
|
<link rel="prev" title="4.2. Remote access" href="network.html" />
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<li class="right" >
|
63
63
|
<a href="network.html" title="4.2. Remote access"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.
|
65
|
+
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
66
66
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -82,7 +82,7 @@
|
|
82
82
|
<p>First, let's create a table for this tutorial.</p>
|
83
83
|
<p>Execution example:</p>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name ToyBox --flags TABLE_HASH_KEY --key_type ShortText
|
85
|
-
[[0,
|
85
|
+
[[0,1335519604.4465,0.000195741653442383],true]
|
86
86
|
</pre></div>
|
87
87
|
</div>
|
88
88
|
</div>
|
@@ -92,16 +92,51 @@
|
|
92
92
|
<p>The following example creates a boolean type column and adds three records. Note that the third record has the default value because no value is specified.</p>
|
93
93
|
<p>Execution example:</p>
|
94
94
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name is_animal --type Bool
|
95
|
-
[[0,
|
95
|
+
[[0,1335519604.64795,0.000276803970336914],true]
|
96
96
|
> load --table ToyBox
|
97
97
|
> [
|
98
98
|
> {"_key":"Monkey","is_animal":true}
|
99
99
|
> {"_key":"Flower","is_animal":false}
|
100
100
|
> {"_key":"Block"}
|
101
101
|
> ]
|
102
|
-
[[0,
|
102
|
+
[[0,1335519604.84886,1.00171399116516],3]
|
103
103
|
> select --table ToyBox --output_columns _key,is_animal
|
104
|
-
[
|
104
|
+
[
|
105
|
+
[
|
106
|
+
0,
|
107
|
+
1335519606.05127,
|
108
|
+
0.000250577926635742
|
109
|
+
],
|
110
|
+
[
|
111
|
+
[
|
112
|
+
[
|
113
|
+
3
|
114
|
+
],
|
115
|
+
[
|
116
|
+
[
|
117
|
+
"_key",
|
118
|
+
"ShortText"
|
119
|
+
],
|
120
|
+
[
|
121
|
+
"is_animal",
|
122
|
+
"Bool"
|
123
|
+
]
|
124
|
+
],
|
125
|
+
[
|
126
|
+
"Monkey",
|
127
|
+
true
|
128
|
+
],
|
129
|
+
[
|
130
|
+
"Flower",
|
131
|
+
false
|
132
|
+
],
|
133
|
+
[
|
134
|
+
"Block",
|
135
|
+
false
|
136
|
+
]
|
137
|
+
]
|
138
|
+
]
|
139
|
+
]
|
105
140
|
</pre></div>
|
106
141
|
</div>
|
107
142
|
</div>
|
@@ -111,18 +146,60 @@
|
|
111
146
|
<p>The following example creates an Int8 column and a Float column, and then updates existing records. The <a class="reference internal" href="../commands/load.html"><em>load</em></a> command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes -56. Note that the result of an overflow/underflow is undefined.</p>
|
112
147
|
<p>Execution example:</p>
|
113
148
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name price --type Int8
|
114
|
-
[[0,
|
149
|
+
[[0,1335519606.2531,0.000290155410766602],true]
|
115
150
|
> column_create --table ToyBox --name weight --type Float
|
116
|
-
[[0,
|
151
|
+
[[0,1335519606.45421,0.000332832336425781],true]
|
117
152
|
> load --table ToyBox
|
118
153
|
> [
|
119
154
|
> {"_key":"Monkey","price":15.9}
|
120
155
|
> {"_key":"Flower","price":200,"weight":0.13}
|
121
156
|
> {"_key":"Block","weight":25.7}
|
122
157
|
> ]
|
123
|
-
[[0,
|
158
|
+
[[0,1335519606.65545,1.00174689292908],3]
|
124
159
|
> select --table ToyBox --output_columns _key,price,weight
|
125
|
-
[
|
160
|
+
[
|
161
|
+
[
|
162
|
+
0,
|
163
|
+
1335519607.85801,
|
164
|
+
0.000263452529907227
|
165
|
+
],
|
166
|
+
[
|
167
|
+
[
|
168
|
+
[
|
169
|
+
3
|
170
|
+
],
|
171
|
+
[
|
172
|
+
[
|
173
|
+
"_key",
|
174
|
+
"ShortText"
|
175
|
+
],
|
176
|
+
[
|
177
|
+
"price",
|
178
|
+
"Int8"
|
179
|
+
],
|
180
|
+
[
|
181
|
+
"weight",
|
182
|
+
"Float"
|
183
|
+
]
|
184
|
+
],
|
185
|
+
[
|
186
|
+
"Monkey",
|
187
|
+
15,
|
188
|
+
0.0
|
189
|
+
],
|
190
|
+
[
|
191
|
+
"Flower",
|
192
|
+
-56,
|
193
|
+
0.13
|
194
|
+
],
|
195
|
+
[
|
196
|
+
"Block",
|
197
|
+
0,
|
198
|
+
25.7
|
199
|
+
]
|
200
|
+
]
|
201
|
+
]
|
202
|
+
]
|
126
203
|
</pre></div>
|
127
204
|
</div>
|
128
205
|
</div>
|
@@ -132,33 +209,103 @@
|
|
132
209
|
<p>The following example creates a ShortText column and updates existing records. The third record has the default value because not updated.</p>
|
133
210
|
<p>Execution example:</p>
|
134
211
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name name --type ShortText
|
135
|
-
[[0,
|
212
|
+
[[0,1335519608.06052,0.000979185104370117],true]
|
136
213
|
> load --table ToyBox
|
137
214
|
> [
|
138
215
|
> {"_key":"Monkey","name":"Grease"}
|
139
216
|
> {"_key":"Flower","name":"Rose"}
|
140
217
|
> ]
|
141
|
-
[[0,
|
218
|
+
[[0,1335519608.26235,0.8014075756073],2]
|
142
219
|
> select --table ToyBox --output_columns _key,name
|
143
|
-
[
|
220
|
+
[
|
221
|
+
[
|
222
|
+
0,
|
223
|
+
1335519609.26462,
|
224
|
+
0.000252008438110352
|
225
|
+
],
|
226
|
+
[
|
227
|
+
[
|
228
|
+
[
|
229
|
+
3
|
230
|
+
],
|
231
|
+
[
|
232
|
+
[
|
233
|
+
"_key",
|
234
|
+
"ShortText"
|
235
|
+
],
|
236
|
+
[
|
237
|
+
"name",
|
238
|
+
"ShortText"
|
239
|
+
]
|
240
|
+
],
|
241
|
+
[
|
242
|
+
"Monkey",
|
243
|
+
"Grease"
|
244
|
+
],
|
245
|
+
[
|
246
|
+
"Flower",
|
247
|
+
"Rose"
|
248
|
+
],
|
249
|
+
[
|
250
|
+
"Block",
|
251
|
+
""
|
252
|
+
]
|
253
|
+
]
|
254
|
+
]
|
255
|
+
]
|
144
256
|
</pre></div>
|
145
257
|
</div>
|
146
258
|
</div>
|
147
259
|
<div class="section" id="date-and-time-type">
|
148
260
|
<h2>4.3.5. Date and time type<a class="headerlink" href="#date-and-time-type" title="Permalink to this headline">¶</a></h2>
|
149
|
-
<p>The date and time type of groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that <a class="reference internal" href="../commands/load.html"><em>load</em></a> and
|
261
|
+
<p>The date and time type of groonga is Time. Actually, a Time column stores a date and time as the number of microseconds since the Epoch, 1970-01-01 00:00:00. A Time value can represent a date and time before the Epoch because the actual data type is a signed integer. Note that <a class="reference internal" href="../commands/load.html"><em>load</em></a> and <a class="reference internal" href="../commands/select.html"><em>select</em></a> commands use a decimal number to represent a data and time in seconds. The default value is 0.0, which means the Epoch.</p>
|
150
262
|
<p>The following example creates a Time column and updates existing records. The first record has the default value because not updated.</p>
|
151
263
|
<p>Execution example:</p>
|
152
264
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name time --type Time
|
153
|
-
[[0,
|
265
|
+
[[0,1335519609.46723,0.000249862670898438],true]
|
154
266
|
> load --table ToyBox
|
155
267
|
> [
|
156
268
|
> {"_key":"Flower","time":1234567890.1234569999}
|
157
269
|
> {"_key":"Block","time":-1234567890}
|
158
270
|
> ]
|
159
|
-
[[0,
|
271
|
+
[[0,1335519609.66827,0.801551818847656],2]
|
160
272
|
> select --table ToyBox --output_columns _key,time
|
161
|
-
[
|
273
|
+
[
|
274
|
+
[
|
275
|
+
0,
|
276
|
+
1335519610.67062,
|
277
|
+
0.000240564346313477
|
278
|
+
],
|
279
|
+
[
|
280
|
+
[
|
281
|
+
[
|
282
|
+
3
|
283
|
+
],
|
284
|
+
[
|
285
|
+
[
|
286
|
+
"_key",
|
287
|
+
"ShortText"
|
288
|
+
],
|
289
|
+
[
|
290
|
+
"time",
|
291
|
+
"Time"
|
292
|
+
]
|
293
|
+
],
|
294
|
+
[
|
295
|
+
"Monkey",
|
296
|
+
0.0
|
297
|
+
],
|
298
|
+
[
|
299
|
+
"Flower",
|
300
|
+
1234567890.12346
|
301
|
+
],
|
302
|
+
[
|
303
|
+
"Block",
|
304
|
+
-1234567890.0
|
305
|
+
]
|
306
|
+
]
|
307
|
+
]
|
308
|
+
]
|
162
309
|
</pre></div>
|
163
310
|
</div>
|
164
311
|
</div>
|
@@ -173,15 +320,50 @@
|
|
173
320
|
<p>The following example creates a WGS84GeoPoint column and updates existing records. The second record has the default value because not updated.</p>
|
174
321
|
<p>Execution example:</p>
|
175
322
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name location --type WGS84GeoPoint
|
176
|
-
[[0,
|
323
|
+
[[0,1335519610.87363,0.00025629997253418],true]
|
177
324
|
> load --table ToyBox
|
178
325
|
> [
|
179
326
|
> {"_key":"Monkey","location":"128452975x503157902"}
|
180
327
|
> {"_key":"Block","location":"35.6813819x139.7660839"}
|
181
328
|
> ]
|
182
|
-
[[0,
|
329
|
+
[[0,1335519611.07464,0.801477193832397],2]
|
183
330
|
> select --table ToyBox --output_columns _key,location
|
184
|
-
[
|
331
|
+
[
|
332
|
+
[
|
333
|
+
0,
|
334
|
+
1335519612.07663,
|
335
|
+
0.000145435333251953
|
336
|
+
],
|
337
|
+
[
|
338
|
+
[
|
339
|
+
[
|
340
|
+
3
|
341
|
+
],
|
342
|
+
[
|
343
|
+
[
|
344
|
+
"_key",
|
345
|
+
"ShortText"
|
346
|
+
],
|
347
|
+
[
|
348
|
+
"location",
|
349
|
+
"WGS84GeoPoint"
|
350
|
+
]
|
351
|
+
],
|
352
|
+
[
|
353
|
+
"Monkey",
|
354
|
+
"128452975x503157902"
|
355
|
+
],
|
356
|
+
[
|
357
|
+
"Flower",
|
358
|
+
"0x0"
|
359
|
+
],
|
360
|
+
[
|
361
|
+
"Block",
|
362
|
+
"128452975x503157902"
|
363
|
+
]
|
364
|
+
]
|
365
|
+
]
|
366
|
+
]
|
185
367
|
</pre></div>
|
186
368
|
</div>
|
187
369
|
</div>
|
@@ -192,12 +374,49 @@
|
|
192
374
|
<p>The following example adds a reference column to the Site table that was created in the previous tutorial. The new column, named link, is designed for storing links among records in the Site table.</p>
|
193
375
|
<p>Execution example:</p>
|
194
376
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name link --type Site
|
195
|
-
[[0,
|
377
|
+
[[0,1335519612.27812,0.000259876251220703],true]
|
196
378
|
> load --table Site
|
197
379
|
> [{"_key":"http://example.org/","link":"http://example.net/"}]
|
198
|
-
[[0,
|
380
|
+
[[0,1335519612.47892,0.200559377670288],1]
|
199
381
|
> select --table Site --output_columns _key,title,link._key,link.title --query title:@this
|
200
|
-
[
|
382
|
+
[
|
383
|
+
[
|
384
|
+
0,
|
385
|
+
1335519612.88015,
|
386
|
+
0.000769853591918945
|
387
|
+
],
|
388
|
+
[
|
389
|
+
[
|
390
|
+
[
|
391
|
+
1
|
392
|
+
],
|
393
|
+
[
|
394
|
+
[
|
395
|
+
"_key",
|
396
|
+
"ShortText"
|
397
|
+
],
|
398
|
+
[
|
399
|
+
"title",
|
400
|
+
"ShortText"
|
401
|
+
],
|
402
|
+
[
|
403
|
+
"link._key",
|
404
|
+
"ShortText"
|
405
|
+
],
|
406
|
+
[
|
407
|
+
"link.title",
|
408
|
+
"ShortText"
|
409
|
+
]
|
410
|
+
],
|
411
|
+
[
|
412
|
+
"http://example.org/",
|
413
|
+
"This is test record 1!",
|
414
|
+
"http://example.net/",
|
415
|
+
"test record 2."
|
416
|
+
]
|
417
|
+
]
|
418
|
+
]
|
419
|
+
]
|
201
420
|
</pre></div>
|
202
421
|
</div>
|
203
422
|
<p>The <cite>type</cite> parameter of the <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command specifies the table to be associated with the reference column. In this example, the reference column is associated with the own table. Then, the <a class="reference internal" href="../commands/load.html"><em>load</em></a> command registers a link from "<a class="reference external" href="http://example.org">http://example.org</a>" to "<a class="reference external" href="http://example.net">http://example.net</a>". Note that a reference column requires the primary key, not the ID, of the record to be referred to. After that, the link is confirmed by the <a class="reference internal" href="../commands/select.html"><em>select</em></a> command. In this case, the primary key and the title of the referred record are output because link._key and link.title are specified to the <cite>output_columns</cite> parameter.</p>
|
@@ -208,12 +427,57 @@
|
|
208
427
|
<p>The previous example used a regular column, so each record could have at most one link. Obviously, the specification is insufficient because a site usually has more than one links. To solve this problem, the following example uses a vector column.</p>
|
209
428
|
<p>Execution example:</p>
|
210
429
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
211
|
-
[[0,
|
430
|
+
[[0,1335519613.08263,0.00126886367797852],true]
|
212
431
|
> load --table Site
|
213
432
|
> [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
|
214
|
-
[[0,
|
433
|
+
[[0,1335519613.28473,0.200579166412354],1]
|
215
434
|
> select --table Site --output_columns _key,title,links._key,links.title --query title:@this
|
216
|
-
[
|
435
|
+
[
|
436
|
+
[
|
437
|
+
0,
|
438
|
+
1335519613.68602,
|
439
|
+
0.000647306442260742
|
440
|
+
],
|
441
|
+
[
|
442
|
+
[
|
443
|
+
[
|
444
|
+
1
|
445
|
+
],
|
446
|
+
[
|
447
|
+
[
|
448
|
+
"_key",
|
449
|
+
"ShortText"
|
450
|
+
],
|
451
|
+
[
|
452
|
+
"title",
|
453
|
+
"ShortText"
|
454
|
+
],
|
455
|
+
[
|
456
|
+
"links._key",
|
457
|
+
"ShortText"
|
458
|
+
],
|
459
|
+
[
|
460
|
+
"links.title",
|
461
|
+
"ShortText"
|
462
|
+
]
|
463
|
+
],
|
464
|
+
[
|
465
|
+
"http://example.org/",
|
466
|
+
"This is test record 1!",
|
467
|
+
[
|
468
|
+
"http://example.net/",
|
469
|
+
"http://example.org/",
|
470
|
+
"http://example.com/"
|
471
|
+
],
|
472
|
+
[
|
473
|
+
"test record 2.",
|
474
|
+
"This is test record 1!",
|
475
|
+
"test test record three."
|
476
|
+
]
|
477
|
+
]
|
478
|
+
]
|
479
|
+
]
|
480
|
+
]
|
217
481
|
</pre></div>
|
218
482
|
</div>
|
219
483
|
<p>The only difference at the first step is the <cite>flags</cite> parameter that specifies to create a vector column. The <cite>type</cite> parameter of the <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command is the same as in the previous example. Then, the <a class="reference internal" href="../commands/load.html"><em>load</em></a> command registers three links from "<a class="reference external" href="http://example.org/">http://example.org/</a>" to "<a class="reference external" href="http://example.net/">http://example.net/</a>", "<a class="reference external" href="http://example.org/">http://example.org/</a>" and "<a class="reference external" href="http://example.com/">http://example.com/</a>". After that, the links are confirmed by the <a class="reference internal" href="../commands/select.html"><em>select</em></a> command. In this case, the primary keys and the titles are output as arrays because links._key and links.title are specified to the <cite>output_columns</cite> parameter.</p>
|
@@ -281,7 +545,7 @@
|
|
281
545
|
<li class="right" >
|
282
546
|
<a href="network.html" title="4.2. Remote access"
|
283
547
|
>previous</a> |</li>
|
284
|
-
<li><a href="../index.html">groonga v2.0.
|
548
|
+
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
285
549
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
286
550
|
</ul>
|
287
551
|
</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.5. ドリルダウン — groonga v2.0.
|
12
|
+
<title>4.5. ドリルダウン — groonga v2.0.2 documentation</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.2',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
32
32
|
<link rel="next" title="4.6. タグ検索・参照関係の逆引き" href="index.html" />
|
33
33
|
<link rel="prev" title="4.4. さまざまな検索条件の指定" href="search.html" />
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<li class="right" >
|
63
63
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.
|
65
|
+
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
66
66
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -179,7 +179,7 @@
|
|
179
179
|
<li class="right" >
|
180
180
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
181
181
|
>previous</a> |</li>
|
182
|
-
<li><a href="../index.html">groonga v2.0.
|
182
|
+
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
183
183
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
184
184
|
</ul>
|
185
185
|
</div>
|