rroonga 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +5 -0
- data/Gemfile +1 -12
- data/README.textile +73 -0
- data/Rakefile +4 -57
- data/bin/grndump +11 -1
- data/ext/groonga/extconf.rb +125 -54
- data/ext/groonga/rb-grn-context.c +25 -7
- data/ext/groonga/rb-grn-database.c +25 -0
- data/ext/groonga/rb-grn-object.c +19 -7
- data/ext/groonga/rb-grn-table.c +8 -10
- data/ext/groonga/rb-grn.h +9 -2
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/dumper.rb +2 -2
- data/lib/groonga/expression-builder.rb +33 -18
- data/rroonga-build.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +5 -5
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +349 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +41 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +154 -4
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +21 -29
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +683 -162
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +170 -12
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +23 -16
- data/vendor/local/share/doc/groonga/en/html/indexing.html +95 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +67 -37
- data/vendor/local/share/doc/groonga/en/html/limitations.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +161 -25
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/spec.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +33 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +33 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +37 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +293 -29
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +340 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +282 -24
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +524 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +103 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +128 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +155 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +349 -109
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +41 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +154 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +21 -29
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +601 -162
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +170 -12
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +23 -16
- data/vendor/local/share/doc/groonga/ja/html/indexing.html +95 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +66 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +147 -25
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/spec.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +33 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +37 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +292 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +340 -27
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +282 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +524 -15
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +103 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +128 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +155 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/source/commands/select.txt +349 -109
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +28 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +28 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +1 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +74 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +32 -1
- data/vendor/local/share/doc/groonga/source/conf.py +3 -3
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +28 -1
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +28 -1
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +1 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +46 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +38 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +40 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +48 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +100 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +5 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +80 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +75 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +31 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +38 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +7 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +132 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +132 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +95 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +86 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +32 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +70 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +51 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +55 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +34 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +18 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +80 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +89 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +8 -8
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +66 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +76 -2
- data/vendor/local/share/doc/groonga/source/install.txt +41 -10
- data/vendor/local/share/doc/groonga/source/news.txt +71 -0
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +1 -1
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +1 -1
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +1 -1
- data/vendor/local/share/groonga/html/admin/css/{admin.css → groonga-admin.css} +5 -4
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ffd27a_256x240.png → redmond/images/ui-icons_217bc0_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_222222_256x240.png → redmond/images/ui-icons_2e83ff_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_228ef1_256x240.png → redmond/images/ui-icons_469bdd_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ef8c08_256x240.png → redmond/images/ui-icons_d8e7f3_256x240.png} +0 -0
- data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/{ui-lightness/jquery-ui-1.8.1.custom.css → redmond/jquery-ui-1.8.18.custom.css} +169 -90
- data/vendor/local/share/groonga/html/admin/images/groonga.svg +121 -0
- data/vendor/local/share/groonga/html/admin/index.html +44 -1145
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +1354 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +4 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +2813 -331
- data/vendor/local/share/man/man1/groonga.1 +2898 -337
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +988 -921
- data/test/groonga-test-utils.rb +0 -139
- data/test/run-test.rb +0 -60
- data/test/test-accessor.rb +0 -36
- data/test/test-array.rb +0 -123
- data/test/test-column.rb +0 -350
- data/test/test-command-select.rb +0 -147
- data/test/test-context.rb +0 -130
- data/test/test-database-dumper.rb +0 -259
- data/test/test-database.rb +0 -148
- data/test/test-double-array-trie.rb +0 -164
- data/test/test-encoding.rb +0 -33
- data/test/test-exception.rb +0 -96
- data/test/test-expression-builder.rb +0 -269
- data/test/test-expression.rb +0 -134
- data/test/test-fix-size-column.rb +0 -77
- data/test/test-gqtp.rb +0 -70
- data/test/test-hash.rb +0 -344
- data/test/test-index-column.rb +0 -180
- data/test/test-index-cursor.rb +0 -93
- data/test/test-logger.rb +0 -37
- data/test/test-pagination.rb +0 -249
- data/test/test-patricia-trie.rb +0 -415
- data/test/test-plugin.rb +0 -35
- data/test/test-procedure.rb +0 -37
- data/test/test-query-log.rb +0 -258
- data/test/test-record.rb +0 -569
- data/test/test-remote.rb +0 -63
- data/test/test-schema-create-table.rb +0 -267
- data/test/test-schema-dumper.rb +0 -235
- data/test/test-schema-type.rb +0 -208
- data/test/test-schema-view.rb +0 -90
- data/test/test-schema.rb +0 -886
- data/test/test-snippet.rb +0 -130
- data/test/test-table-cursor.rb +0 -187
- data/test/test-table-dumper.rb +0 -83
- data/test/test-table-offset-and-limit.rb +0 -100
- data/test/test-table-select-mecab.rb +0 -80
- data/test/test-table-select-normalize.rb +0 -57
- data/test/test-table-select-weight.rb +0 -123
- data/test/test-table-select.rb +0 -191
- data/test/test-table.rb +0 -675
- data/test/test-type.rb +0 -79
- data/test/test-variable-size-column.rb +0 -147
- data/test/test-variable.rb +0 -28
- data/test/test-vector-column.rb +0 -76
- data/test/test-version.rb +0 -61
- data/test/test-view.rb +0 -72
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-1.4.2.min.js +0 -154
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.1.custom.min.js +0 -756
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.2. リモートアクセス — groonga v2.0.
|
12
|
+
<title>4.2. リモートアクセス — 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.3. いろいろなデータの保存" href="data.html" />
|
34
34
|
<link rel="prev" title="4.1. 基本的な操作" href="introduction.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
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>
|
@@ -120,7 +120,24 @@ Ctrl-c
|
|
120
120
|
<p>実行例:</p>
|
121
121
|
<div class="highlight-none"><div class="highlight"><pre>% groonga -c
|
122
122
|
> status
|
123
|
-
[
|
123
|
+
[
|
124
|
+
[
|
125
|
+
0,
|
126
|
+
1335519662.04579,
|
127
|
+
5.79357147216797e-05
|
128
|
+
],
|
129
|
+
{
|
130
|
+
"uptime": 0,
|
131
|
+
"max_command_version": 2,
|
132
|
+
"n_queries": 0,
|
133
|
+
"cache_hit_rate": 0.0,
|
134
|
+
"version": "2.0.1-283-g3f815e2",
|
135
|
+
"alloc_count": 130,
|
136
|
+
"command_version": 1,
|
137
|
+
"starttime": 1335519662,
|
138
|
+
"default_command_version": 1
|
139
|
+
}
|
140
|
+
]
|
124
141
|
> ctrl-d
|
125
142
|
%
|
126
143
|
</pre></div>
|
@@ -172,12 +189,90 @@ Ctrl-c
|
|
172
189
|
<div class="highlight-none"><div class="highlight"><pre>http://HOST_NAME_OR_IP_ADDRESS[:PORT_NUMBER]/d/status
|
173
190
|
Executed command:
|
174
191
|
> status
|
175
|
-
[
|
192
|
+
[
|
193
|
+
[
|
194
|
+
0,
|
195
|
+
1335519662.24808,
|
196
|
+
9.918212890625e-05
|
197
|
+
],
|
198
|
+
{
|
199
|
+
"uptime": 0,
|
200
|
+
"max_command_version": 2,
|
201
|
+
"n_queries": 0,
|
202
|
+
"cache_hit_rate": 0.0,
|
203
|
+
"version": "2.0.1-283-g3f815e2",
|
204
|
+
"alloc_count": 131,
|
205
|
+
"command_version": 1,
|
206
|
+
"starttime": 1335519662,
|
207
|
+
"default_command_version": 1
|
208
|
+
}
|
209
|
+
]
|
176
210
|
|
177
211
|
http://HOST_NAME_OR_IP_ADDRESS[:PORT_NUMBER]/d/select?table=Site&query=title:@this
|
178
212
|
Executed command:
|
179
213
|
> select --table Site --query title:@this
|
180
|
-
[
|
214
|
+
[
|
215
|
+
[
|
216
|
+
0,
|
217
|
+
1335519662.45038,
|
218
|
+
0.00197672843933105
|
219
|
+
],
|
220
|
+
[
|
221
|
+
[
|
222
|
+
[
|
223
|
+
1
|
224
|
+
],
|
225
|
+
[
|
226
|
+
[
|
227
|
+
"_id",
|
228
|
+
"UInt32"
|
229
|
+
],
|
230
|
+
[
|
231
|
+
"_key",
|
232
|
+
"ShortText"
|
233
|
+
],
|
234
|
+
[
|
235
|
+
"country",
|
236
|
+
"SiteCountry"
|
237
|
+
],
|
238
|
+
[
|
239
|
+
"domain",
|
240
|
+
"SiteDomain"
|
241
|
+
],
|
242
|
+
[
|
243
|
+
"link",
|
244
|
+
"Site"
|
245
|
+
],
|
246
|
+
[
|
247
|
+
"links",
|
248
|
+
"Site"
|
249
|
+
],
|
250
|
+
[
|
251
|
+
"location",
|
252
|
+
"WGS84GeoPoint"
|
253
|
+
],
|
254
|
+
[
|
255
|
+
"title",
|
256
|
+
"ShortText"
|
257
|
+
]
|
258
|
+
],
|
259
|
+
[
|
260
|
+
1,
|
261
|
+
"http://example.org/",
|
262
|
+
"japan",
|
263
|
+
".org",
|
264
|
+
"http://example.net/",
|
265
|
+
[
|
266
|
+
"http://example.net/",
|
267
|
+
"http://example.org/",
|
268
|
+
"http://example.com/"
|
269
|
+
],
|
270
|
+
"128452975x503157902",
|
271
|
+
"This is test record 1!"
|
272
|
+
]
|
273
|
+
]
|
274
|
+
]
|
275
|
+
]
|
181
276
|
</pre></div>
|
182
277
|
</div>
|
183
278
|
</div>
|
@@ -260,7 +355,7 @@ Executed command:
|
|
260
355
|
<li class="right" >
|
261
356
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
262
357
|
>前へ</a> |</li>
|
263
|
-
<li><a href="../index.html">groonga v2.0.
|
358
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
264
359
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
265
360
|
</ul>
|
266
361
|
</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.8. パトリシア木による前方一致検索 — groonga v2.0.
|
12
|
+
<title>4.8. パトリシア木による前方一致検索 — 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.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
|
34
34
|
<link rel="prev" title="4.7. match_columnsパラメータ" href="match_columns.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
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>
|
@@ -81,16 +81,47 @@
|
|
81
81
|
<p>table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キーによる前方一致検索ができるようになります。</p>
|
82
82
|
<p>実行例:</p>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText
|
84
|
-
[[0,
|
84
|
+
[[0,1335519594.52747,0.000475168228149414],true]
|
85
85
|
> load --table PatPrefix
|
86
86
|
> [
|
87
87
|
> {"_key":"ひろゆき"},
|
88
88
|
> {"_key":"まろゆき"},
|
89
89
|
> {"_key":"ひろあき"}
|
90
90
|
> ]
|
91
|
-
[[0,
|
91
|
+
[[0,1335519594.72892,1.00176382064819],3]
|
92
92
|
> select --table PatPrefix --query _key:@ひろ
|
93
|
-
[
|
93
|
+
[
|
94
|
+
[
|
95
|
+
0,
|
96
|
+
1335519595.93126,
|
97
|
+
0.00059962272644043
|
98
|
+
],
|
99
|
+
[
|
100
|
+
[
|
101
|
+
[
|
102
|
+
2
|
103
|
+
],
|
104
|
+
[
|
105
|
+
[
|
106
|
+
"_id",
|
107
|
+
"UInt32"
|
108
|
+
],
|
109
|
+
[
|
110
|
+
"_key",
|
111
|
+
"ShortText"
|
112
|
+
]
|
113
|
+
],
|
114
|
+
[
|
115
|
+
3,
|
116
|
+
"ひろあき"
|
117
|
+
],
|
118
|
+
[
|
119
|
+
1,
|
120
|
+
"ひろゆき"
|
121
|
+
]
|
122
|
+
]
|
123
|
+
]
|
124
|
+
]
|
94
125
|
</pre></div>
|
95
126
|
</div>
|
96
127
|
</div>
|
@@ -101,20 +132,104 @@
|
|
101
132
|
<p>例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元のレコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが <tt class="docutils literal"><span class="pre">true</span></tt> も検索条件に加えます。</p>
|
102
133
|
<p>実行例:</p>
|
103
134
|
<div class="highlight-none"><div class="highlight"><pre>> table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --key_type ShortText
|
104
|
-
[[0,
|
135
|
+
[[0,1335519596.13342,0.000287294387817383],true]
|
105
136
|
> column_create --table PatSuffix --name original --type Bool
|
106
|
-
[[0,
|
137
|
+
[[0,1335519596.33446,0.000329494476318359],true]
|
107
138
|
> load --table PatSuffix
|
108
139
|
> [
|
109
140
|
> {"_key":"ひろゆき","original":true},
|
110
141
|
> {"_key":"まろゆき","original":true},
|
111
142
|
> {"_key":"ひろあき","original":true}
|
112
143
|
> ]
|
113
|
-
[[0,
|
144
|
+
[[0,1335519596.53576,1.00176548957825],3]
|
114
145
|
> select --table PatSuffix --query _key:@ゆき
|
115
|
-
[
|
146
|
+
[
|
147
|
+
[
|
148
|
+
0,
|
149
|
+
1335519597.73837,
|
150
|
+
0.000630855560302734
|
151
|
+
],
|
152
|
+
[
|
153
|
+
[
|
154
|
+
[
|
155
|
+
4
|
156
|
+
],
|
157
|
+
[
|
158
|
+
[
|
159
|
+
"_id",
|
160
|
+
"UInt32"
|
161
|
+
],
|
162
|
+
[
|
163
|
+
"_key",
|
164
|
+
"ShortText"
|
165
|
+
],
|
166
|
+
[
|
167
|
+
"original",
|
168
|
+
"Bool"
|
169
|
+
]
|
170
|
+
],
|
171
|
+
[
|
172
|
+
1,
|
173
|
+
"ひろゆき",
|
174
|
+
true
|
175
|
+
],
|
176
|
+
[
|
177
|
+
5,
|
178
|
+
"まろゆき",
|
179
|
+
true
|
180
|
+
],
|
181
|
+
[
|
182
|
+
3,
|
183
|
+
"ゆき",
|
184
|
+
false
|
185
|
+
],
|
186
|
+
[
|
187
|
+
2,
|
188
|
+
"ろゆき",
|
189
|
+
false
|
190
|
+
]
|
191
|
+
]
|
192
|
+
]
|
193
|
+
]
|
116
194
|
> select --table PatSuffix --query "_key:@ゆき original:true"
|
117
|
-
[
|
195
|
+
[
|
196
|
+
[
|
197
|
+
0,
|
198
|
+
1335519597.94114,
|
199
|
+
0.000690460205078125
|
200
|
+
],
|
201
|
+
[
|
202
|
+
[
|
203
|
+
[
|
204
|
+
2
|
205
|
+
],
|
206
|
+
[
|
207
|
+
[
|
208
|
+
"_id",
|
209
|
+
"UInt32"
|
210
|
+
],
|
211
|
+
[
|
212
|
+
"_key",
|
213
|
+
"ShortText"
|
214
|
+
],
|
215
|
+
[
|
216
|
+
"original",
|
217
|
+
"Bool"
|
218
|
+
]
|
219
|
+
],
|
220
|
+
[
|
221
|
+
1,
|
222
|
+
"ひろゆき",
|
223
|
+
true
|
224
|
+
],
|
225
|
+
[
|
226
|
+
5,
|
227
|
+
"まろゆき",
|
228
|
+
true
|
229
|
+
]
|
230
|
+
]
|
231
|
+
]
|
232
|
+
]
|
118
233
|
</pre></div>
|
119
234
|
</div>
|
120
235
|
</div>
|
@@ -175,7 +290,7 @@
|
|
175
290
|
<li class="right" >
|
176
291
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
177
292
|
>前へ</a> |</li>
|
178
|
-
<li><a href="../index.html">groonga v2.0.
|
293
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
179
294
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
180
295
|
</ul>
|
181
296
|
</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.11. クエリ拡張 — groonga v2.0.
|
12
|
+
<title>4.11. クエリ拡張 — 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="5. サジェスト" href="../suggest.html" />
|
34
34
|
<link rel="prev" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
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>
|
@@ -84,29 +84,29 @@
|
|
84
84
|
<p>実際に文書テーブルと置換テーブルを作成してみましょう。</p>
|
85
85
|
<p>実行例:</p>
|
86
86
|
<div class="highlight-none"><div class="highlight"><pre>> table_create Doc TABLE_PAT_KEY ShortText
|
87
|
-
[[0,
|
87
|
+
[[0,1335519662.68773,0.000400543212890625],true]
|
88
88
|
> column_create Doc body COLUMN_SCALAR ShortText
|
89
|
-
[[0,
|
89
|
+
[[0,1335519662.88919,0.000899314880371094],true]
|
90
90
|
> table_create Term TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
91
|
-
[[0,
|
91
|
+
[[0,1335519663.09089,0.000370979309082031],true]
|
92
92
|
> column_create Term Doc_body COLUMN_INDEX|WITH_POSITION Doc body
|
93
|
-
[[0,
|
93
|
+
[[0,1335519663.29217,0.00676441192626953],true]
|
94
94
|
> table_create Synonym TABLE_PAT_KEY ShortText
|
95
|
-
[[0,
|
95
|
+
[[0,1335519663.4998,0.000351667404174805],true]
|
96
96
|
> column_create Synonym body COLUMN_SCALAR ShortText
|
97
|
-
[[0,
|
97
|
+
[[0,1335519663.70094,0.000846624374389648],true]
|
98
98
|
> load --table Doc
|
99
99
|
> [
|
100
100
|
> {"_key": "001", "body": "すっぱいブドウと甘いシークァーサー"},
|
101
101
|
> {"_key": "002", "body": "シークヮーサージュースとゴーヤチャンプル"},
|
102
102
|
> ]
|
103
|
-
[[0,
|
103
|
+
[[0,1335519663.90262,0.801640033721924],2]
|
104
104
|
> load --table Synonym
|
105
105
|
> [
|
106
106
|
> {"_key": "シークァーサー", "body": "(シークァーサー OR シークヮーサー)"},
|
107
107
|
> {"_key": "シークヮーサー", "body": "(シークァーサー OR シークヮーサー)"},
|
108
108
|
> ]
|
109
|
-
[[0,
|
109
|
+
[[0,1335519664.905,0.801484823226929],2]
|
110
110
|
</pre></div>
|
111
111
|
</div>
|
112
112
|
<p>この例では、ユーザが"シークァーサー"と入力しても、"シークヮーサー"と入力しても、それぞれの異なる表記の文書をもれなく検索するための置換テーブルを作成しています。</p>
|
@@ -116,17 +116,155 @@
|
|
116
116
|
<p>それでは実際に、準備した置換テーブルを使ってみましょう。まずは、query_expansionパラメータを指定せずにselectコマンドを使って検索してみます。</p>
|
117
117
|
<p>実行例:</p>
|
118
118
|
<div class="highlight-none"><div class="highlight"><pre>> select Doc --match_columns body --query "シークァーサー"
|
119
|
-
[
|
119
|
+
[
|
120
|
+
[
|
121
|
+
0,
|
122
|
+
1335519665.90753,
|
123
|
+
0.000537633895874023
|
124
|
+
],
|
125
|
+
[
|
126
|
+
[
|
127
|
+
[
|
128
|
+
1
|
129
|
+
],
|
130
|
+
[
|
131
|
+
[
|
132
|
+
"_id",
|
133
|
+
"UInt32"
|
134
|
+
],
|
135
|
+
[
|
136
|
+
"_key",
|
137
|
+
"ShortText"
|
138
|
+
],
|
139
|
+
[
|
140
|
+
"body",
|
141
|
+
"ShortText"
|
142
|
+
]
|
143
|
+
],
|
144
|
+
[
|
145
|
+
1,
|
146
|
+
"001",
|
147
|
+
"すっぱいブドウと甘いシークァーサー"
|
148
|
+
]
|
149
|
+
]
|
150
|
+
]
|
151
|
+
]
|
120
152
|
> select Doc --match_columns body --query "シークヮーサー"
|
121
|
-
[
|
153
|
+
[
|
154
|
+
[
|
155
|
+
0,
|
156
|
+
1335519666.10912,
|
157
|
+
0.000688791275024414
|
158
|
+
],
|
159
|
+
[
|
160
|
+
[
|
161
|
+
[
|
162
|
+
1
|
163
|
+
],
|
164
|
+
[
|
165
|
+
[
|
166
|
+
"_id",
|
167
|
+
"UInt32"
|
168
|
+
],
|
169
|
+
[
|
170
|
+
"_key",
|
171
|
+
"ShortText"
|
172
|
+
],
|
173
|
+
[
|
174
|
+
"body",
|
175
|
+
"ShortText"
|
176
|
+
]
|
177
|
+
],
|
178
|
+
[
|
179
|
+
2,
|
180
|
+
"002",
|
181
|
+
"シークヮーサージュースとゴーヤチャンプル"
|
182
|
+
]
|
183
|
+
]
|
184
|
+
]
|
185
|
+
]
|
122
186
|
</pre></div>
|
123
187
|
</div>
|
124
188
|
<p>指定された文字列に完全に一致するレコードのみがそれぞれヒットします。次に、query_expansionパラメータに、準備したSynonymテーブルのbodyカラムを指定してみましょう。</p>
|
125
189
|
<p>実行例:</p>
|
126
190
|
<div class="highlight-none"><div class="highlight"><pre>> select Doc --match_columns body --query "シークァーサー" --query_expansion Synonym.body
|
127
|
-
[
|
191
|
+
[
|
192
|
+
[
|
193
|
+
0,
|
194
|
+
1335519666.31137,
|
195
|
+
0.000792741775512695
|
196
|
+
],
|
197
|
+
[
|
198
|
+
[
|
199
|
+
[
|
200
|
+
2
|
201
|
+
],
|
202
|
+
[
|
203
|
+
[
|
204
|
+
"_id",
|
205
|
+
"UInt32"
|
206
|
+
],
|
207
|
+
[
|
208
|
+
"_key",
|
209
|
+
"ShortText"
|
210
|
+
],
|
211
|
+
[
|
212
|
+
"body",
|
213
|
+
"ShortText"
|
214
|
+
]
|
215
|
+
],
|
216
|
+
[
|
217
|
+
1,
|
218
|
+
"001",
|
219
|
+
"すっぱいブドウと甘いシークァーサー"
|
220
|
+
],
|
221
|
+
[
|
222
|
+
2,
|
223
|
+
"002",
|
224
|
+
"シークヮーサージュースとゴーヤチャンプル"
|
225
|
+
]
|
226
|
+
]
|
227
|
+
]
|
228
|
+
]
|
128
229
|
> select Doc --match_columns body --query "シークヮーサー" --query_expansion Synonym.body
|
129
|
-
[
|
230
|
+
[
|
231
|
+
[
|
232
|
+
0,
|
233
|
+
1335519666.51486,
|
234
|
+
0.000669717788696289
|
235
|
+
],
|
236
|
+
[
|
237
|
+
[
|
238
|
+
[
|
239
|
+
2
|
240
|
+
],
|
241
|
+
[
|
242
|
+
[
|
243
|
+
"_id",
|
244
|
+
"UInt32"
|
245
|
+
],
|
246
|
+
[
|
247
|
+
"_key",
|
248
|
+
"ShortText"
|
249
|
+
],
|
250
|
+
[
|
251
|
+
"body",
|
252
|
+
"ShortText"
|
253
|
+
]
|
254
|
+
],
|
255
|
+
[
|
256
|
+
1,
|
257
|
+
"001",
|
258
|
+
"すっぱいブドウと甘いシークァーサー"
|
259
|
+
],
|
260
|
+
[
|
261
|
+
2,
|
262
|
+
"002",
|
263
|
+
"シークヮーサージュースとゴーヤチャンプル"
|
264
|
+
]
|
265
|
+
]
|
266
|
+
]
|
267
|
+
]
|
130
268
|
</pre></div>
|
131
269
|
</div>
|
132
270
|
<p>どちらのクエリ文字列も、"(シークァーサー OR シークヮーサー)"という文字列に置換されてから検索されるため、表記の揺れを吸収して検索できるようになりました。</p>
|
@@ -188,7 +326,7 @@
|
|
188
326
|
<li class="right" >
|
189
327
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
190
328
|
>前へ</a> |</li>
|
191
|
-
<li><a href="../index.html">groonga v2.0.
|
329
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
192
330
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
193
331
|
</ul>
|
194
332
|
</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.4. さまざまな検索条件の指定 — groonga v2.0.
|
12
|
+
<title>4.4. さまざまな検索条件の指定 — 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.5. ドリルダウン" href="drilldown.html" />
|
34
34
|
<link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" />
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<li class="right" >
|
64
64
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
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>
|
@@ -229,7 +229,7 @@ JavaScriptの式に似たな文法で様々な条件を指定することがで
|
|
229
229
|
<li class="right" >
|
230
230
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
231
231
|
>前へ</a> |</li>
|
232
|
-
<li><a href="../index.html">groonga v2.0.
|
232
|
+
<li><a href="../index.html">groonga v2.0.1ドキュメント</a> »</li>
|
233
233
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
234
234
|
</ul>
|
235
235
|
</div>
|