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.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="next" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる" href="troubleshooting/different_results_with_the_same_keyword.html" />
|
33
33
|
<link rel="prev" title="9. 制限事項" href="limitations.html" />
|
34
34
|
</head>
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<li class="right" >
|
63
63
|
<a href="limitations.html" title="9. 制限事項"
|
64
64
|
accesskey="P">前へ</a> |</li>
|
65
|
-
<li><a href="index.html">groonga v2.0.
|
65
|
+
<li><a href="index.html">groonga v2.0.1ドキュメント</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -132,7 +132,7 @@
|
|
132
132
|
<li class="right" >
|
133
133
|
<a href="limitations.html" title="9. 制限事項"
|
134
134
|
>前へ</a> |</li>
|
135
|
-
<li><a href="index.html">groonga v2.0.
|
135
|
+
<li><a href="index.html">groonga v2.0.1ドキュメント</a> »</li>
|
136
136
|
</ul>
|
137
137
|
</div>
|
138
138
|
<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. いろいろなデータの保存 — groonga v2.0.
|
12
|
+
<title>4.3. いろいろなデータの保存 — 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.4. さまざまな検索条件の指定" href="search.html" />
|
34
34
|
<link rel="prev" title="4.2. リモートアクセス" href="network.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="network.html" title="4.2. リモートアクセス"
|
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>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
<p>それでは、本チュートリアルで使用するテーブルを作成しておきましょう。</p>
|
84
84
|
<p>実行例:</p>
|
85
85
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name ToyBox --flags TABLE_HASH_KEY --key_type ShortText
|
86
|
-
[[0,
|
86
|
+
[[0,1335519604.4465,0.000195741653442383],true]
|
87
87
|
</pre></div>
|
88
88
|
</div>
|
89
89
|
</div>
|
@@ -93,16 +93,51 @@
|
|
93
93
|
<p>以下の例では、ブール型のカラムを作成し、3つのレコードを追加します。3番目のレコードについては、値を省略しているため、デフォルト値が格納されます。</p>
|
94
94
|
<p>実行例:</p>
|
95
95
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name is_animal --type Bool
|
96
|
-
[[0,
|
96
|
+
[[0,1335519604.64795,0.000276803970336914],true]
|
97
97
|
> load --table ToyBox
|
98
98
|
> [
|
99
99
|
> {"_key":"Monkey","is_animal":true}
|
100
100
|
> {"_key":"Flower","is_animal":false}
|
101
101
|
> {"_key":"Block"}
|
102
102
|
> ]
|
103
|
-
[[0,
|
103
|
+
[[0,1335519604.84886,1.00171399116516],3]
|
104
104
|
> select --table ToyBox --output_columns _key,is_animal
|
105
|
-
[
|
105
|
+
[
|
106
|
+
[
|
107
|
+
0,
|
108
|
+
1335519606.05127,
|
109
|
+
0.000250577926635742
|
110
|
+
],
|
111
|
+
[
|
112
|
+
[
|
113
|
+
[
|
114
|
+
3
|
115
|
+
],
|
116
|
+
[
|
117
|
+
[
|
118
|
+
"_key",
|
119
|
+
"ShortText"
|
120
|
+
],
|
121
|
+
[
|
122
|
+
"is_animal",
|
123
|
+
"Bool"
|
124
|
+
]
|
125
|
+
],
|
126
|
+
[
|
127
|
+
"Monkey",
|
128
|
+
true
|
129
|
+
],
|
130
|
+
[
|
131
|
+
"Flower",
|
132
|
+
false
|
133
|
+
],
|
134
|
+
[
|
135
|
+
"Block",
|
136
|
+
false
|
137
|
+
]
|
138
|
+
]
|
139
|
+
]
|
140
|
+
]
|
106
141
|
</pre></div>
|
107
142
|
</div>
|
108
143
|
</div>
|
@@ -112,18 +147,60 @@
|
|
112
147
|
<p>以下の例では、Int8型のカラムとFloat型のカラムを作成し、既存のレコードを更新します。weightカラムについては、指定した値が問題なく格納されています。一方、priceカラムに指定した小数については、小数点以下を切り捨てた値が格納されています。また、表現できる範囲を超える値を格納しようとした2番目のレコードについては、指定した値とは異なる値が格納されています。このように、表現できる範囲を超える値を指定すると、操作後の値は未定義になるので注意してください。</p>
|
113
148
|
<p>実行例:</p>
|
114
149
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name price --type Int8
|
115
|
-
[[0,
|
150
|
+
[[0,1335519606.2531,0.000290155410766602],true]
|
116
151
|
> column_create --table ToyBox --name weight --type Float
|
117
|
-
[[0,
|
152
|
+
[[0,1335519606.45421,0.000332832336425781],true]
|
118
153
|
> load --table ToyBox
|
119
154
|
> [
|
120
155
|
> {"_key":"Monkey","price":15.9}
|
121
156
|
> {"_key":"Flower","price":200,"weight":0.13}
|
122
157
|
> {"_key":"Block","weight":25.7}
|
123
158
|
> ]
|
124
|
-
[[0,
|
159
|
+
[[0,1335519606.65545,1.00174689292908],3]
|
125
160
|
> select --table ToyBox --output_columns _key,price,weight
|
126
|
-
[
|
161
|
+
[
|
162
|
+
[
|
163
|
+
0,
|
164
|
+
1335519607.85801,
|
165
|
+
0.000263452529907227
|
166
|
+
],
|
167
|
+
[
|
168
|
+
[
|
169
|
+
[
|
170
|
+
3
|
171
|
+
],
|
172
|
+
[
|
173
|
+
[
|
174
|
+
"_key",
|
175
|
+
"ShortText"
|
176
|
+
],
|
177
|
+
[
|
178
|
+
"price",
|
179
|
+
"Int8"
|
180
|
+
],
|
181
|
+
[
|
182
|
+
"weight",
|
183
|
+
"Float"
|
184
|
+
]
|
185
|
+
],
|
186
|
+
[
|
187
|
+
"Monkey",
|
188
|
+
15,
|
189
|
+
0.0
|
190
|
+
],
|
191
|
+
[
|
192
|
+
"Flower",
|
193
|
+
-56,
|
194
|
+
0.13
|
195
|
+
],
|
196
|
+
[
|
197
|
+
"Block",
|
198
|
+
0,
|
199
|
+
25.7
|
200
|
+
]
|
201
|
+
]
|
202
|
+
]
|
203
|
+
]
|
127
204
|
</pre></div>
|
128
205
|
</div>
|
129
206
|
</div>
|
@@ -133,15 +210,50 @@
|
|
133
210
|
<p>以下の例では、ShortText型のカラムを作成し、IDが1と2のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。</p>
|
134
211
|
<p>実行例:</p>
|
135
212
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name name --type ShortText
|
136
|
-
[[0,
|
213
|
+
[[0,1335519608.06052,0.000979185104370117],true]
|
137
214
|
> load --table ToyBox
|
138
215
|
> [
|
139
216
|
> {"_key":"Monkey","name":"Grease"}
|
140
217
|
> {"_key":"Flower","name":"Rose"}
|
141
218
|
> ]
|
142
|
-
[[0,
|
219
|
+
[[0,1335519608.26235,0.8014075756073],2]
|
143
220
|
> select --table ToyBox --output_columns _key,name
|
144
|
-
[
|
221
|
+
[
|
222
|
+
[
|
223
|
+
0,
|
224
|
+
1335519609.26462,
|
225
|
+
0.000252008438110352
|
226
|
+
],
|
227
|
+
[
|
228
|
+
[
|
229
|
+
[
|
230
|
+
3
|
231
|
+
],
|
232
|
+
[
|
233
|
+
[
|
234
|
+
"_key",
|
235
|
+
"ShortText"
|
236
|
+
],
|
237
|
+
[
|
238
|
+
"name",
|
239
|
+
"ShortText"
|
240
|
+
]
|
241
|
+
],
|
242
|
+
[
|
243
|
+
"Monkey",
|
244
|
+
"Grease"
|
245
|
+
],
|
246
|
+
[
|
247
|
+
"Flower",
|
248
|
+
"Rose"
|
249
|
+
],
|
250
|
+
[
|
251
|
+
"Block",
|
252
|
+
""
|
253
|
+
]
|
254
|
+
]
|
255
|
+
]
|
256
|
+
]
|
145
257
|
</pre></div>
|
146
258
|
</div>
|
147
259
|
</div>
|
@@ -151,15 +263,50 @@
|
|
151
263
|
<p>以下の例では、Time型のカラムを作成し、IDが2と3のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。</p>
|
152
264
|
<p>実行例:</p>
|
153
265
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name time --type Time
|
154
|
-
[[0,
|
266
|
+
[[0,1335519609.46723,0.000249862670898438],true]
|
155
267
|
> load --table ToyBox
|
156
268
|
> [
|
157
269
|
> {"_key":"Flower","time":1234567890.1234569999}
|
158
270
|
> {"_key":"Block","time":-1234567890}
|
159
271
|
> ]
|
160
|
-
[[0,
|
272
|
+
[[0,1335519609.66827,0.801551818847656],2]
|
161
273
|
> select --table ToyBox --output_columns _key,time
|
162
|
-
[
|
274
|
+
[
|
275
|
+
[
|
276
|
+
0,
|
277
|
+
1335519610.67062,
|
278
|
+
0.000240564346313477
|
279
|
+
],
|
280
|
+
[
|
281
|
+
[
|
282
|
+
[
|
283
|
+
3
|
284
|
+
],
|
285
|
+
[
|
286
|
+
[
|
287
|
+
"_key",
|
288
|
+
"ShortText"
|
289
|
+
],
|
290
|
+
[
|
291
|
+
"time",
|
292
|
+
"Time"
|
293
|
+
]
|
294
|
+
],
|
295
|
+
[
|
296
|
+
"Monkey",
|
297
|
+
0.0
|
298
|
+
],
|
299
|
+
[
|
300
|
+
"Flower",
|
301
|
+
1234567890.12346
|
302
|
+
],
|
303
|
+
[
|
304
|
+
"Block",
|
305
|
+
-1234567890.0
|
306
|
+
]
|
307
|
+
]
|
308
|
+
]
|
309
|
+
]
|
163
310
|
</pre></div>
|
164
311
|
</div>
|
165
312
|
</div>
|
@@ -174,15 +321,50 @@
|
|
174
321
|
<p>以下の例では、世界測地系を用いるWGS84GeoPoint型のカラムを作成し、IDが1と3のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。</p>
|
175
322
|
<p>実行例:</p>
|
176
323
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table ToyBox --name location --type WGS84GeoPoint
|
177
|
-
[[0,
|
324
|
+
[[0,1335519610.87363,0.00025629997253418],true]
|
178
325
|
> load --table ToyBox
|
179
326
|
> [
|
180
327
|
> {"_key":"Monkey","location":"128452975x503157902"}
|
181
328
|
> {"_key":"Block","location":"35.6813819x139.7660839"}
|
182
329
|
> ]
|
183
|
-
[[0,
|
330
|
+
[[0,1335519611.07464,0.801477193832397],2]
|
184
331
|
> select --table ToyBox --output_columns _key,location
|
185
|
-
[
|
332
|
+
[
|
333
|
+
[
|
334
|
+
0,
|
335
|
+
1335519612.07663,
|
336
|
+
0.000145435333251953
|
337
|
+
],
|
338
|
+
[
|
339
|
+
[
|
340
|
+
[
|
341
|
+
3
|
342
|
+
],
|
343
|
+
[
|
344
|
+
[
|
345
|
+
"_key",
|
346
|
+
"ShortText"
|
347
|
+
],
|
348
|
+
[
|
349
|
+
"location",
|
350
|
+
"WGS84GeoPoint"
|
351
|
+
]
|
352
|
+
],
|
353
|
+
[
|
354
|
+
"Monkey",
|
355
|
+
"128452975x503157902"
|
356
|
+
],
|
357
|
+
[
|
358
|
+
"Flower",
|
359
|
+
"0x0"
|
360
|
+
],
|
361
|
+
[
|
362
|
+
"Block",
|
363
|
+
"128452975x503157902"
|
364
|
+
]
|
365
|
+
]
|
366
|
+
]
|
367
|
+
]
|
186
368
|
</pre></div>
|
187
369
|
</div>
|
188
370
|
</div>
|
@@ -193,12 +375,49 @@
|
|
193
375
|
<p>ここでは、先のチュートリアルで作成したSiteテーブルにlinkという新たなカラムを作成し、サイト間のリンク関係を保存できるようにしてみましょう。</p>
|
194
376
|
<p>実行例:</p>
|
195
377
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name link --type Site
|
196
|
-
[[0,
|
378
|
+
[[0,1335519612.27812,0.000259876251220703],true]
|
197
379
|
> load --table Site
|
198
380
|
> [{"_key":"http://example.org/","link":"http://example.net/"}]
|
199
|
-
[[0,
|
381
|
+
[[0,1335519612.47892,0.200559377670288],1]
|
200
382
|
> select --table Site --output_columns _key,title,link._key,link.title --query title:@this
|
201
|
-
[
|
383
|
+
[
|
384
|
+
[
|
385
|
+
0,
|
386
|
+
1335519612.88015,
|
387
|
+
0.000769853591918945
|
388
|
+
],
|
389
|
+
[
|
390
|
+
[
|
391
|
+
[
|
392
|
+
1
|
393
|
+
],
|
394
|
+
[
|
395
|
+
[
|
396
|
+
"_key",
|
397
|
+
"ShortText"
|
398
|
+
],
|
399
|
+
[
|
400
|
+
"title",
|
401
|
+
"ShortText"
|
402
|
+
],
|
403
|
+
[
|
404
|
+
"link._key",
|
405
|
+
"ShortText"
|
406
|
+
],
|
407
|
+
[
|
408
|
+
"link.title",
|
409
|
+
"ShortText"
|
410
|
+
]
|
411
|
+
],
|
412
|
+
[
|
413
|
+
"http://example.org/",
|
414
|
+
"This is test record 1!",
|
415
|
+
"http://example.net/",
|
416
|
+
"test record 2."
|
417
|
+
]
|
418
|
+
]
|
419
|
+
]
|
420
|
+
]
|
202
421
|
</pre></div>
|
203
422
|
</div>
|
204
423
|
<p>テーブル参照のカラムを作成するときは、 <cite>type</cite> 引数に参照先テーブルを指定します。この例では、同じテーブルに含まれる別のレコードを参照させたいので、Siteを指定することになります。次に、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" から "<a class="reference external" href="http://example.net/">http://example.net/</a>" へのリンクを登録しています。テーブル参照を作成するときは、IDではなく主キーを指定することに注意してください。最後に、リンクの内容を確認しています。この例では、 <cite>output_columns</cite> 引数に link._key と link.title を指定しているので、参照先の主キーとタイトルが表示されています。</p>
|
@@ -209,12 +428,57 @@
|
|
209
428
|
<p>さきほどテーブル参照の例として作成したカラムでは、各サイトに一つのリンクしか保存できませんでした。通常は一つのサイトから多くのサイトにリンクが張られているので、これでは残念な仕様になってしまいます。そこで、ベクターカラムを使って、複数のリンクを保存できるようにしてみましょう。</p>
|
210
429
|
<p>実行例:</p>
|
211
430
|
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
212
|
-
[[0,
|
431
|
+
[[0,1335519613.08263,0.00126886367797852],true]
|
213
432
|
> load --table Site
|
214
433
|
> [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
|
215
|
-
[[0,
|
434
|
+
[[0,1335519613.28473,0.200579166412354],1]
|
216
435
|
> select --table Site --output_columns _key,title,links._key,links.title --query title:@this
|
217
|
-
[
|
436
|
+
[
|
437
|
+
[
|
438
|
+
0,
|
439
|
+
1335519613.68602,
|
440
|
+
0.000647306442260742
|
441
|
+
],
|
442
|
+
[
|
443
|
+
[
|
444
|
+
[
|
445
|
+
1
|
446
|
+
],
|
447
|
+
[
|
448
|
+
[
|
449
|
+
"_key",
|
450
|
+
"ShortText"
|
451
|
+
],
|
452
|
+
[
|
453
|
+
"title",
|
454
|
+
"ShortText"
|
455
|
+
],
|
456
|
+
[
|
457
|
+
"links._key",
|
458
|
+
"ShortText"
|
459
|
+
],
|
460
|
+
[
|
461
|
+
"links.title",
|
462
|
+
"ShortText"
|
463
|
+
]
|
464
|
+
],
|
465
|
+
[
|
466
|
+
"http://example.org/",
|
467
|
+
"This is test record 1!",
|
468
|
+
[
|
469
|
+
"http://example.net/",
|
470
|
+
"http://example.org/",
|
471
|
+
"http://example.com/"
|
472
|
+
],
|
473
|
+
[
|
474
|
+
"test record 2.",
|
475
|
+
"This is test record 1!",
|
476
|
+
"test test record three."
|
477
|
+
]
|
478
|
+
]
|
479
|
+
]
|
480
|
+
]
|
481
|
+
]
|
218
482
|
</pre></div>
|
219
483
|
</div>
|
220
484
|
<p>新たなカラムにはSiteテーブルに対する参照の配列を格納するので、 <cite>type</cite> 引数にSiteを指定するとともに、 <cite>flags</cite> 引数にCOLUMN_VECTORフラグを指定しています。次に、 <a class="reference internal" href="../commands/load.html"><em>load</em></a> による更新では、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" から "<a class="reference external" href="http://example.net/">http://example.net/</a>" へのリンクに加えて、 "<a class="reference external" href="http://example.org/">http://example.org/</a>" と "<a class="reference external" href="http://example.com/">http://example.com/</a>" へのリンクも登録しています。そして、最後にリンクの内容を確認しています。この例では、 <cite>output_columns</cite> 引数に links._key と links.title を指定しているので、参照先の主キーとタイトルをそれぞれ配列にしたものが表示されています。</p>
|
@@ -282,7 +546,7 @@
|
|
282
546
|
<li class="right" >
|
283
547
|
<a href="network.html" title="4.2. リモートアクセス"
|
284
548
|
>前へ</a> |</li>
|
285
|
-
<li><a href="../index.html">groonga v2.0.
|
549
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
286
550
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
287
551
|
</ul>
|
288
552
|
</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.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.6. タグ検索・参照関係の逆引き" href="index.html" />
|
34
34
|
<link rel="prev" title="4.4. さまざまな検索条件の指定" href="search.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="../index.html">groonga v2.0.
|
66
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
67
67
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
@@ -180,7 +180,7 @@
|
|
180
180
|
<li class="right" >
|
181
181
|
<a href="search.html" title="4.4. さまざまな検索条件の指定"
|
182
182
|
>前へ</a> |</li>
|
183
|
-
<li><a href="../index.html">groonga v2.0.
|
183
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
184
184
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
185
185
|
</ul>
|
186
186
|
</div>
|