rroonga 1.2.7-x86-mingw32 → 1.3.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Rakefile +1 -0
- data/bin/grntest-log-analyze +123 -0
- data/bin/groonga-query-log-extract +117 -0
- data/ext/groonga/rb-grn-accessor.c +7 -5
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +34 -44
- data/ext/groonga/rb-grn-column.c +74 -38
- data/ext/groonga/rb-grn-context.c +41 -16
- data/ext/groonga/rb-grn-database.c +50 -43
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +40 -0
- data/ext/groonga/rb-grn-double-array-trie.c +530 -0
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +63 -51
- data/ext/groonga/rb-grn-fix-size-column.c +7 -7
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +42 -39
- data/ext/groonga/rb-grn-index-column.c +35 -31
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +23 -18
- data/ext/groonga/rb-grn-object.c +69 -40
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +122 -90
- data/ext/groonga/rb-grn-plugin.c +8 -7
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-query.c +12 -12
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +26 -19
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +4 -3
- data/ext/groonga/rb-grn-table-key-support.c +23 -23
- data/ext/groonga/rb-grn-table.c +280 -149
- data/ext/groonga/rb-grn-type.c +11 -7
- data/ext/groonga/rb-grn-utils.c +81 -9
- data/ext/groonga/rb-grn-variable-size-column.c +1 -1
- data/ext/groonga/rb-grn-variable.c +2 -2
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view-cursor.c +1 -1
- data/ext/groonga/rb-grn-view-record.c +1 -1
- data/ext/groonga/rb-grn-view.c +43 -34
- data/ext/groonga/rb-grn.h +10 -2
- data/ext/groonga/rb-groonga.c +1 -1
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/context.rb +16 -41
- data/lib/groonga/dumper.rb +41 -10
- data/lib/groonga/expression-builder-19.rb +40 -0
- data/lib/groonga/expression-builder.rb +56 -26
- data/lib/groonga/grntest-log.rb +206 -0
- data/lib/groonga/pagination.rb +21 -19
- data/lib/groonga/patricia-trie.rb +7 -10
- data/lib/groonga/posting.rb +1 -1
- data/lib/groonga/query-log.rb +348 -0
- data/lib/groonga/record.rb +47 -143
- data/lib/groonga/schema.rb +679 -406
- data/lib/groonga/view-record.rb +4 -10
- data/lib/groonga.rb +4 -2
- data/rroonga-build.rb +1 -1
- data/test/groonga-test-utils.rb +8 -0
- data/test/test-array.rb +25 -4
- data/test/test-column.rb +8 -8
- data/test/test-database.rb +2 -3
- data/test/test-double-array-trie.rb +164 -0
- data/test/test-expression-builder.rb +2 -2
- data/test/test-expression.rb +10 -9
- data/test/test-gqtp.rb +2 -2
- data/test/test-hash.rb +32 -8
- data/test/test-patricia-trie.rb +34 -10
- data/test/test-query-log.rb +258 -0
- data/test/test-record.rb +6 -5
- data/test/test-schema-create-table.rb +8 -0
- data/test/test-schema-dumper.rb +6 -0
- data/test/test-schema.rb +491 -234
- data/test/test-table-select.rb +9 -0
- data/test/test-table.rb +17 -24
- data/vendor/local/bin/grntest.exe +0 -0
- data/vendor/local/bin/groonga-query-log-analyzer +22 -17
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +251 -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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -2
- 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/_images/geo-points.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +32 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +7 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +6 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/executables/grntest.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt +52 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +31 -40
- data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +118 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial03.txt → en/html/_sources/tutorial/data.txt} +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/{tutorial05.txt → drilldown.txt} +8 -7
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial06.txt → en/html/_sources/tutorial/index.txt} +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +297 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/{tutorial09.txt → lexicon.txt} +0 -0
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial07.txt → en/html/_sources/tutorial/match_columns.txt} +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/{tutorial10.txt → micro_blog.txt} +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +103 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/{tutorial08.txt → patricia_trie.txt} +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +57 -0
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial04.txt → en/html/_sources/tutorial/search.txt} +17 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +11 -2
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +9 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +44 -39
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +13 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +55 -55
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/executables.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +176 -0
- data/vendor/local/share/doc/groonga/en/html/index.html +149 -138
- data/vendor/local/share/doc/groonga/en/html/install.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/log.html +26 -26
- 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/senna.html +281 -0
- data/vendor/local/share/doc/groonga/en/html/news.html +219 -65
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -69
- 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 +28 -28
- data/vendor/local/share/doc/groonga/en/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial03.html → data.html} +32 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial05.html → drilldown.html} +31 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial06.html → index.html} +44 -44
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +438 -0
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial09.html → lexicon.html} +16 -16
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial07.html → match_columns.html} +39 -39
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial10.html → micro_blog.html} +43 -43
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +236 -0
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial08.html → patricia_trie.html} +27 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +197 -0
- data/vendor/local/share/doc/groonga/en/html/tutorial/{tutorial04.html → search.html} +41 -35
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +60 -55
- data/vendor/local/share/doc/groonga/en/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_images/geo-points.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +32 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +7 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +6 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/executables/grntest.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt +52 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +31 -40
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +118 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/tutorial/tutorial03.txt → ja/html/_sources/tutorial/data.txt} +5 -5
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial05.txt → ja/html/_sources/tutorial/drilldown.txt} +8 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/{tutorial06.txt → index.txt} +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +297 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/{tutorial09.txt → lexicon.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/tutorial/tutorial07.txt → ja/html/_sources/tutorial/match_columns.txt} +4 -4
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial10.txt → ja/html/_sources/tutorial/micro_blog.txt} +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +103 -0
- data/vendor/local/share/doc/groonga/{source/tutorial/tutorial08.txt → ja/html/_sources/tutorial/patricia_trie.txt} +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +57 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/tutorial/tutorial04.txt → ja/html/_sources/tutorial/search.txt} +17 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +11 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +9 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +44 -39
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +13 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/executables.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/expr.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/index.html +144 -133
- data/vendor/local/share/doc/groonga/ja/html/install.html +52 -65
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/log.html +26 -26
- 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/senna.html +282 -0
- data/vendor/local/share/doc/groonga/ja/html/news.html +203 -63
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -69
- 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 +28 -28
- data/vendor/local/share/doc/groonga/ja/html/spec.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial03.html → data.html} +31 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial05.html → drilldown.html} +31 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial06.html → index.html} +44 -44
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial01.html → introduction.html} +140 -129
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial09.html → lexicon.html} +16 -16
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial07.html → match_columns.html} +39 -39
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial10.html → micro_blog.html} +43 -43
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial02.html → network.html} +56 -58
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial08.html → patricia_trie.html} +27 -27
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +198 -0
- data/vendor/local/share/doc/groonga/ja/html/tutorial/{tutorial04.html → search.html} +41 -35
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +59 -54
- data/vendor/local/share/doc/groonga/ja/html/type.html +30 -30
- data/vendor/local/share/doc/groonga/source/characteristic.txt +32 -31
- data/vendor/local/share/doc/groonga/source/commands/select.txt +7 -1
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +5 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +5 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +13 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +15 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +9 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +5 -0
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +5 -0
- data/vendor/local/share/doc/groonga/source/conf.py +1 -1
- data/vendor/local/share/doc/groonga/source/contribution/documentation/i18n.txt +6 -0
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +2 -2
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +2 -2
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial03-1.log → tutorial/data-1.log} +0 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial03-2.log → tutorial/data-2.log} +0 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial03-3.log → tutorial/data-3.log} +0 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial05-1.log → tutorial/drilldown-1.log} +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial05-3.log → tutorial/drilldown-3.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial05-5.log → tutorial/drilldown-5.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial05-6.log → tutorial/drilldown-6.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +25 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial06-2.log → tutorial/index-2.log} +4 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial06-4.log → tutorial/index-4.log} +3 -3
- data/vendor/local/share/doc/groonga/source/example/{tutorial06-5.log → tutorial/index-5.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial06-6.log → tutorial/index-6.log} +5 -5
- data/vendor/local/share/doc/groonga/source/example/{tutorial06-7.log → tutorial/index-7.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +18 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-11.log → tutorial/introduction-11.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-12.log → tutorial/introduction-12.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +9 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-17.log → tutorial/introduction-17.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +10 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +10 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +7 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-5.log → tutorial/introduction-5.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-6.log → tutorial/introduction-6.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-7.log → tutorial/introduction-7.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial01-8.log → tutorial/introduction-8.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial07-1.log → tutorial/match_columns-1.log} +8 -8
- data/vendor/local/share/doc/groonga/source/example/{tutorial07-2.log → tutorial/match_columns-2.log} +4 -4
- data/vendor/local/share/doc/groonga/source/example/{tutorial07-3.log → tutorial/match_columns-3.log} +7 -7
- data/vendor/local/share/doc/groonga/source/example/{tutorial07-4.log → tutorial/match_columns-4.log} +4 -4
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-1.log → tutorial/micro_blog-1.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-10.log → tutorial/micro_blog-10.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-2.log → tutorial/micro_blog-2.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-3.log → tutorial/micro_blog-3.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-4.log → tutorial/micro_blog-4.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-5.log → tutorial/micro_blog-5.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-7.log → tutorial/micro_blog-7.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-8.log → tutorial/micro_blog-8.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/{tutorial10-9.log → tutorial/micro_blog-9.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial02-2.log → tutorial/network-2.log} +1 -1
- data/vendor/local/share/doc/groonga/source/example/{tutorial02-3.log → tutorial/network-3.log} +3 -3
- data/vendor/local/share/doc/groonga/source/example/{tutorial08-1.log → tutorial/patricia_trie-1.log} +4 -4
- data/vendor/local/share/doc/groonga/source/example/{tutorial08-2.log → tutorial/patricia_trie-2.log} +6 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +27 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +7 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +7 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial04-1.log → tutorial/search-1.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +7 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +7 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial04-4.log → tutorial/search-4.log} +4 -4
- data/vendor/local/share/doc/groonga/source/example/{tutorial04-5.log → tutorial/search-5.log} +2 -2
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +5 -0
- data/vendor/local/share/doc/groonga/source/example/{tutorial04-7.log → tutorial/search-7.log} +2 -2
- data/vendor/local/share/doc/groonga/source/executables/grntest.txt +6 -6
- data/vendor/local/share/doc/groonga/source/geolocation_search.txt +52 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.svg +188 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.svg +501 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.svg +275 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.svg +899 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.svg +249 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.svg +275 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.svg +743 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.svg +261 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.svg +228 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.svg +241 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.svg +879 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.svg +879 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.svg +879 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.svg +602 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.svg +917 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.svg +561 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.svg +389 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.svg +469 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.svg +514 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.svg +595 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.svg +600 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.svg +424 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.svg +549 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.svg +241 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.svg +203 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.svg +264 -0
- data/vendor/local/share/doc/groonga/source/images/geo-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.svg +317 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.svg +306 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.svg +304 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.svg +383 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points.svg +296 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.svg +287 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg +174 -0
- data/vendor/local/share/doc/groonga/source/index.txt +1 -0
- data/vendor/local/share/doc/groonga/source/install.txt +31 -40
- data/vendor/local/share/doc/groonga/source/news/senna.txt +109 -0
- data/vendor/local/share/doc/groonga/source/news.txt +118 -0
- data/vendor/local/share/doc/groonga/source/tutorial/{tutorial03.txt → data.txt} +5 -5
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial05.txt → source/tutorial/drilldown.txt} +8 -7
- data/vendor/local/share/doc/groonga/{en/html/_sources/tutorial/tutorial06.txt → source/tutorial/index.txt} +8 -8
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +297 -0
- data/vendor/local/share/doc/groonga/source/tutorial/{tutorial09.txt → lexicon.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial07.txt → source/tutorial/match_columns.txt} +4 -4
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial10.txt → source/tutorial/micro_blog.txt} +17 -17
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +103 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial08.txt → source/tutorial/patricia_trie.txt} +4 -4
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +57 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/tutorial/tutorial04.txt → source/tutorial/search.txt} +17 -12
- data/vendor/local/share/doc/groonga/source/tutorial.txt +11 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +449 -772
- data/vendor/local/share/man/man1/groonga.1 +591 -875
- metadata +232 -124
- data/vendor/local/etc/groonga/init.d/redhat/groonga +0 -160
- data/vendor/local/etc/groonga/init.d/redhat/sysconfig/groonga +0 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial01.txt +0 -296
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial02.txt +0 -102
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial01.html +0 -409
- data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial02.html +0 -235
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial01.txt +0 -296
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial02.txt +0 -102
- data/vendor/local/share/doc/groonga/source/example/tutorial01-1.log +0 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial01-10.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-13.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-14.log +0 -9
- data/vendor/local/share/doc/groonga/source/example/tutorial01-15.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-16.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-2.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-3.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial01-4.log +0 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial01-9.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial02-1.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/tutorial04-2.log +0 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial04-3.log +0 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial04-6.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial05-2.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial05-4.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial06-1.log +0 -25
- data/vendor/local/share/doc/groonga/source/example/tutorial06-3.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/tutorial10-6.log +0 -5
- data/vendor/local/share/doc/groonga/source/tutorial/tutorial01.txt +0 -296
- data/vendor/local/share/doc/groonga/source/tutorial/tutorial02.txt +0 -102
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_load +0 -47
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_time +0 -57
- data/vendor/local/share/groonga/munin/plugins/groonga_disk +0 -162
- data/vendor/local/share/groonga/munin/plugins/groonga_memory +0 -51
- data/vendor/local/share/groonga/munin/plugins/groonga_n_records +0 -110
- data/vendor/local/share/groonga/munin/plugins/groonga_query_performance +0 -133
- data/vendor/local/share/groonga/munin/plugins/groonga_status +0 -84
@@ -0,0 +1,103 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-include : introduction.txt
|
6
|
+
|
7
|
+
How to use groonga with network
|
8
|
+
===============================
|
9
|
+
|
10
|
+
You can use groonga with network. When you run groonga by using the groonga original protocol or HTTP, groonga accepts connection for network.
|
11
|
+
|
12
|
+
Connect with groonga's original protocol
|
13
|
+
----------------------------------------
|
14
|
+
|
15
|
+
Run groonga daemon
|
16
|
+
^^^^^^^^^^^^^^^^^^
|
17
|
+
|
18
|
+
Form::
|
19
|
+
|
20
|
+
groonga [-p PORT_NUMBER] -d DB_PATH_NAME
|
21
|
+
|
22
|
+
The DB_PATH_NAME is set the full-path of existing database.
|
23
|
+
With this form, you can run groonga as a daemon and connect by
|
24
|
+
with groonga original protocol on PORT_NUMBER.
|
25
|
+
(The port number is 10041 when you don't specify PORT_NUMBER.)
|
26
|
+
|
27
|
+
Execution example::
|
28
|
+
|
29
|
+
% groonga -d /tmp/groonga-databases/introduction.db
|
30
|
+
12345
|
31
|
+
%
|
32
|
+
|
33
|
+
Groonga shows its process ID on daemon mode.
|
34
|
+
|
35
|
+
Connect to groonga server
|
36
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
37
|
+
|
38
|
+
Form::
|
39
|
+
|
40
|
+
groonga [-p PORT_NUMBER] -c [HOST_NAME_OR_IP_ADDRESS]
|
41
|
+
|
42
|
+
This command connects to groonga server running at specified HOST_NAME_OR_IP_ADDRESS.
|
43
|
+
|
44
|
+
When you don't specify HOST_NAME_OR_IP_ADDRESS, this command connects to groonga server running at localhost. When you don't specify PORT_NUMBER, 10041 is used.
|
45
|
+
|
46
|
+
Groonga runs in interactive mode after connect to groonga server successfully. Groonga reads command from standard input and evaluates it repeatedly.
|
47
|
+
|
48
|
+
.. groonga-command
|
49
|
+
.. include:: ../example/tutorial/network-1.log
|
50
|
+
.. .. % groonga -c
|
51
|
+
.. status
|
52
|
+
.. .. > ctrl-d
|
53
|
+
.. .. %
|
54
|
+
|
55
|
+
Terminate groonga daemon
|
56
|
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
57
|
+
|
58
|
+
You can terminate groonga daemon with shutdown command.
|
59
|
+
|
60
|
+
.. groonga-command
|
61
|
+
.. include:: ../example/tutorial/network-2.log
|
62
|
+
.. .. % groonga -c
|
63
|
+
.. .. > shutdown
|
64
|
+
.. .. %
|
65
|
+
|
66
|
+
Connect with HTTP
|
67
|
+
-----------------
|
68
|
+
|
69
|
+
You need to run groonga in HTTP protocol mode when you want to use groonga via HTTP.
|
70
|
+
|
71
|
+
Form::
|
72
|
+
|
73
|
+
groonga [-p PORT_NUMBER] -d --protocol http DB_PATH_NAME
|
74
|
+
|
75
|
+
`--protocol` option specifies a protocol of groonga server. `http` means that groonga accepts connections via HTTP.
|
76
|
+
|
77
|
+
Administration tool based on HTML
|
78
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
79
|
+
|
80
|
+
You can access administration tool based on HTML at `http://[HOST_NAME_OR_IP_ADDRESS]:[PORT_NUMBER]/` after the above command is ran. Your browser must enable JavaScript.
|
81
|
+
|
82
|
+
Run command with HTTP
|
83
|
+
^^^^^^^^^^^^^^^^^^^^^
|
84
|
+
|
85
|
+
You can run command at `/d/COMMAND_NAME` when groonga is ran in HTTP protocol mode.
|
86
|
+
|
87
|
+
Command options are passed as HTTP's GET parameters. They are in `?OPTION=VALUE&OPTION=VALUE&...` form.
|
88
|
+
|
89
|
+
.. groonga-command
|
90
|
+
.. include:: ../example/tutorial/network-3.log
|
91
|
+
.. .. http://[HOST_NAME_OR_IP_ADDRESS]:[PORT_NUMBER]/d/status
|
92
|
+
.. .. Executed command:
|
93
|
+
.. status
|
94
|
+
.. ..
|
95
|
+
.. .. http://[HOST_NAME_OR_IP_ADDRESS]:[PORT_NUMBER]/d/select?table=Site&query=title:@this
|
96
|
+
.. .. Executed command:
|
97
|
+
.. select --table Site --query title:@this
|
98
|
+
|
99
|
+
|
100
|
+
Security
|
101
|
+
--------
|
102
|
+
|
103
|
+
Network service of groonga doesn't support authentication. Everyone can view and modify the database. We recommend that you restrict client accesses by IP address. You can use iptables or any similar tool for it.
|
@@ -6,8 +6,8 @@
|
|
6
6
|
.. table_remove PatPrefix
|
7
7
|
.. table_remove PatSuffix
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
パトリシア木による前方一致検索
|
10
|
+
==============================
|
11
11
|
|
12
12
|
groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方一致検索を行うことができます。また、追加のオプションを指定することにより、主キーの後方一致検索をも行うことができます。
|
13
13
|
|
@@ -17,7 +17,7 @@ groongaのテーブルは、テーブル作成時にパトリシア木オプシ
|
|
17
17
|
table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キーによる前方一致検索ができるようになります。
|
18
18
|
|
19
19
|
.. groonga-command
|
20
|
-
.. include:: ../example/
|
20
|
+
.. include:: ../example/tutorial/patricia_trie-1.log
|
21
21
|
..
|
22
22
|
.. table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText
|
23
23
|
.. load --table PatPrefix
|
@@ -38,7 +38,7 @@ KEY_WITH_SISフラグを付与すると、データを追加する際に後方
|
|
38
38
|
例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元のレコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが ``true`` も検索条件に加えます。
|
39
39
|
|
40
40
|
.. groonga-command
|
41
|
-
.. include:: ../example/
|
41
|
+
.. include:: ../example/tutorial/patricia_trie-2.log
|
42
42
|
..
|
43
43
|
.. table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --key_type ShortText
|
44
44
|
.. column_create --table PatSuffix --name original --type Bool
|
@@ -0,0 +1,57 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
クエリ拡張
|
6
|
+
==========
|
7
|
+
|
8
|
+
groongaでは、 :doc:`/commands/select` コマンドにquery_expansionパラメータを指定することによって、ユーザが指定した検索文字列を適宜拡張することが可能です。
|
9
|
+
|
10
|
+
たとえば、ユーザが'シークヮーサー'という文字列で検索した場合に、'シークヮーサー OR シークァーサー'で検索した場合と同一の結果を返すことによって、本来ユーザが必要とする結果をよりもれなく検索できるようになります。
|
11
|
+
|
12
|
+
準備
|
13
|
+
----
|
14
|
+
|
15
|
+
クエリ拡張機能を使用するためには、検索対象となる文書を格納するテーブル(ここでは文書テーブルと呼びます)以外に、ユーザの指定した検索文字列を置換するためのテーブル(ここでは置換テーブルと呼びます)を準備します。置換テーブルでは、その主キーが置換前の文字列となり、文字列型(ShortText)のカラムの値が置換後の文字列となります。
|
16
|
+
|
17
|
+
実際に文書テーブルと置換テーブルを作成してみましょう。
|
18
|
+
|
19
|
+
.. groonga-command
|
20
|
+
.. include:: ../example/tutorial/query_expansion-1.log
|
21
|
+
.. table_create Doc TABLE_PAT_KEY ShortText
|
22
|
+
.. column_create Doc body COLUMN_SCALAR ShortText
|
23
|
+
.. table_create Term TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
24
|
+
.. column_create Term Doc_body COLUMN_INDEX|WITH_POSITION Doc body
|
25
|
+
.. table_create Synonym TABLE_PAT_KEY ShortText
|
26
|
+
.. column_create Synonym body COLUMN_SCALAR ShortText
|
27
|
+
.. load --table Doc
|
28
|
+
.. [
|
29
|
+
.. {"_key": "001", "body": "すっぱいブドウと甘いシークァーサー"},
|
30
|
+
.. {"_key": "002", "body": "シークヮーサージュースとゴーヤチャンプル"},
|
31
|
+
.. ]
|
32
|
+
.. load --table Synonym
|
33
|
+
.. [
|
34
|
+
.. {"_key": "シークァーサー", "body": "(シークァーサー OR シークヮーサー)"},
|
35
|
+
.. {"_key": "シークヮーサー", "body": "(シークァーサー OR シークヮーサー)"},
|
36
|
+
.. ]
|
37
|
+
|
38
|
+
この例では、ユーザが"シークァーサー"と入力しても、"シークヮーサー"と入力しても、それぞれの異なる表記の文書をもれなく検索するための置換テーブルを作成しています。
|
39
|
+
|
40
|
+
検索
|
41
|
+
----
|
42
|
+
|
43
|
+
それでは実際に、準備した置換テーブルを使ってみましょう。まずは、query_expansionパラメータを指定せずにselectコマンドを使って検索してみます。
|
44
|
+
|
45
|
+
.. groonga-command
|
46
|
+
.. include:: ../example/tutorial/query_expansion-2.log
|
47
|
+
.. select Doc --match_columns body --query "シークァーサー"
|
48
|
+
.. select Doc --match_columns body --query "シークヮーサー"
|
49
|
+
|
50
|
+
指定された文字列に完全に一致するレコードのみがそれぞれヒットします。次に、query_expansionパラメータに、準備したSynonymテーブルのbodyカラムを指定してみましょう。
|
51
|
+
|
52
|
+
.. groonga-command
|
53
|
+
.. include:: ../example/tutorial/query_expansion-3.log
|
54
|
+
.. select Doc --match_columns body --query "シークァーサー" --query_expansion Synonym.body
|
55
|
+
.. select Doc --match_columns body --query "シークヮーサー" --query_expansion Synonym.body
|
56
|
+
|
57
|
+
どちらのクエリ文字列も、"(シークァーサー OR シークヮーサー)"という文字列に置換されてから検索されるため、表記の揺れを吸収して検索できるようになりました。
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
.. groonga-include :
|
5
|
+
.. groonga-include : data.txt
|
6
6
|
|
7
7
|
さまざまな検索条件の指定
|
8
8
|
========================
|
@@ -15,7 +15,7 @@ JavaScriptに似た文法での絞込・全文検索
|
|
15
15
|
selectコマンドのfilterパラメータは、queryパラメータと同様に、レコードの検索条件を指定します。filterパラメータとqueryパラメータが異なる点は、filterパラメータには、JavaScriptの式に似た文法で条件を指定する点です。
|
16
16
|
|
17
17
|
.. groonga-command
|
18
|
-
.. include:: ../example/
|
18
|
+
.. include:: ../example/tutorial/search-1.log
|
19
19
|
.. select --table Site --filter "_id <= 1" --output_columns _id,_key
|
20
20
|
|
21
21
|
ここで、filterパラメータには
|
@@ -27,7 +27,7 @@ selectコマンドのfilterパラメータは、queryパラメータと同様に
|
|
27
27
|
また、&& や || を使って、条件のAND・OR指定をすることもできます。
|
28
28
|
|
29
29
|
.. groonga-command
|
30
|
-
.. include:: ../example/
|
30
|
+
.. include:: ../example/tutorial/search-2.log
|
31
31
|
.. select --table Site --filter "_id >= 4 && _id <= 6" --output_columns _id,_key
|
32
32
|
.. select --table Site --filter "_id <= 2 || _id >= 7" --output_columns _id,_key
|
33
33
|
|
@@ -43,7 +43,7 @@ filterパラメータと同様に、
|
|
43
43
|
JavaScriptの式に似たな文法で様々な条件を指定することができます。
|
44
44
|
|
45
45
|
.. groonga-command
|
46
|
-
.. include:: ../example/
|
46
|
+
.. include:: ../example/tutorial/search-3.log
|
47
47
|
.. select --table Site --filter "1" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
|
48
48
|
.. select --table Site --filter "1" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
|
49
49
|
|
@@ -70,12 +70,17 @@ groongaでは、位置情報(経緯度)を保存することができます
|
|
70
70
|
|
71
71
|
位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存します。
|
72
72
|
|
73
|
-
|
73
|
+
経緯度は以下のいずれかの形式の文字列として指定します。
|
74
74
|
|
75
|
-
|
75
|
+
* "[緯度のミリ秒]x[経度のミリ秒]"(例: "128452975x503157902")
|
76
|
+
* "[緯度のミリ秒],[経度のミリ秒]"(例: "128452975,503157902")
|
77
|
+
* "[緯度の小数表記の度数]x[経度の小数表記の度数]"(例: "35.6813819x139.7660839")
|
78
|
+
* "[緯度の小数表記の度数],[経度の小数表記の度数]"(例: "35.6813819,139.7660839")
|
79
|
+
|
80
|
+
ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、ミリ秒表記の場合はそれぞれ"128452975x503157902"/"128487316x502920929"となります。度数表記の場合はそれぞれ"35.6813819x139.7660839"/"35.6909211x139.7002581"となります。ここではミリ秒表記で登録しましょう。
|
76
81
|
|
77
82
|
.. groonga-command
|
78
|
-
.. include:: ../example/
|
83
|
+
.. include:: ../example/tutorial/search-4.log
|
79
84
|
.. column_create --table Site --name location --type WGS84GeoPoint
|
80
85
|
.. load --table Site
|
81
86
|
.. [
|
@@ -84,12 +89,12 @@ groongaでは、位置情報(経緯度)を保存することができます
|
|
84
89
|
.. ]
|
85
90
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location
|
86
91
|
|
87
|
-
scorerパラメータにおいて、 :doc
|
92
|
+
scorerパラメータにおいて、 :doc:`/functions/geo_distance` 関数を用いることにより、2点間の距離を計算することができます。
|
88
93
|
|
89
94
|
ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、geo_distance関数に与える文字列は"128515259x503187188"となります。
|
90
95
|
|
91
96
|
.. groonga-command
|
92
|
-
.. include:: ../example/
|
97
|
+
.. include:: ../example/tutorial/search-5.log
|
93
98
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")'
|
94
99
|
|
95
100
|
この結果を見ると、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れているようです。
|
@@ -97,17 +102,17 @@ scorerパラメータにおいて、 :doc:`../functions/geo_distance` 関数を
|
|
97
102
|
geo_distance関数は、_scoreを通じてソートでも用いることができます。
|
98
103
|
|
99
104
|
.. groonga-command
|
100
|
-
.. include:: ../example/
|
105
|
+
.. include:: ../example/tutorial/search-6.log
|
101
106
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sortby -_score
|
102
107
|
|
103
108
|
「ある地点から何m以内に存在する」といった絞込も可能です。
|
104
109
|
|
105
|
-
filterパラメータにおいて、 :doc
|
110
|
+
filterパラメータにおいて、 :doc:`/functions/geo_in_circle` 関数を用いることにより、2点間の距離が指定のm以下におさまるかどうかを判定することができます。
|
106
111
|
|
107
112
|
たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。
|
108
113
|
|
109
114
|
.. groonga-command
|
110
|
-
.. include:: ../example/
|
115
|
+
.. include:: ../example/tutorial/search-7.log
|
111
116
|
.. select --table Site --output_columns _key,location --filter 'geo_in_circle(location, "128515259x503187188", 5000)'
|
112
117
|
|
113
118
|
また、経緯度が指定の矩形領域内であるかどうかを判定する :doc:`../functions/geo_in_rectangle` 関数も存在します。
|
@@ -7,6 +7,15 @@
|
|
7
7
|
|
8
8
|
.. toctree::
|
9
9
|
:maxdepth: 2
|
10
|
-
:glob:
|
11
10
|
|
12
|
-
tutorial
|
11
|
+
tutorial/introduction
|
12
|
+
tutorial/network
|
13
|
+
tutorial/data
|
14
|
+
tutorial/search
|
15
|
+
tutorial/drilldown
|
16
|
+
tutorial/index
|
17
|
+
tutorial/match_columns
|
18
|
+
tutorial/patricia_trie
|
19
|
+
tutorial/lexicon
|
20
|
+
tutorial/micro_blog
|
21
|
+
tutorial/query_expansion
|
@@ -187,6 +187,15 @@ div.document
|
|
187
187
|
position: relative;
|
188
188
|
}
|
189
189
|
|
190
|
+
div.document div.body img
|
191
|
+
{
|
192
|
+
border: 1px solid #AAAAAA;
|
193
|
+
display: block;
|
194
|
+
margin-left: auto;
|
195
|
+
margin-right: auto;
|
196
|
+
padding: 0.5em;
|
197
|
+
}
|
198
|
+
|
190
199
|
div.sphinxsidebar
|
191
200
|
{
|
192
201
|
position: absolute;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>1. groongaの特徴 — groonga v1.2.
|
12
|
+
<title>1. groongaの特徴 — groonga v1.2.7ドキュメント</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: '1.2.
|
20
|
+
VERSION: '1.2.7',
|
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 v1.2.
|
31
|
+
<link rel="top" title="groonga v1.2.7ドキュメント" href="index.html" />
|
32
32
|
<link rel="next" title="2. インストール" href="install.html" />
|
33
33
|
<link rel="prev" title="groonga ドキュメント" href="index.html" />
|
34
34
|
</head>
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<li class="right" >
|
63
63
|
<a href="index.html" title="groonga ドキュメント"
|
64
64
|
accesskey="P">前へ</a> |</li>
|
65
|
-
<li><a href="index.html">groonga v1.2.
|
65
|
+
<li><a href="index.html">groonga v1.2.7ドキュメント</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -71,44 +71,44 @@
|
|
71
71
|
<div class="bodywrapper">
|
72
72
|
<div class="body">
|
73
73
|
|
74
|
-
<div class="section" id="groonga">
|
75
|
-
<h1>1. groongaの特徴<a class="headerlink" href="#groonga" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
|
-
<div class="section" id="senna">
|
77
|
-
<h2>1.1. 全文検索ライブラリSennaの後継<a class="headerlink" href="#senna" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
74
|
+
<div class="section" id="the-characteristics-of-groonga">
|
75
|
+
<h1>1. groongaの特徴<a class="headerlink" href="#the-characteristics-of-groonga" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
|
+
<div class="section" id="the-successor-to-the-senna-that-is-an-embeddable-full-text-search-engine">
|
77
|
+
<h2>1.1. 全文検索ライブラリSennaの後継<a class="headerlink" href="#the-successor-to-the-senna-that-is-an-embeddable-full-text-search-engine" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
78
78
|
<p>groongaは、広く使われている全文検索ライブラリSennaの後継として開発されています。Sennaの特徴である、高速・高精度・高柔軟性という特徴を引き継ぎつつ、さらにそれらの特徴を追求するために開発が始められました。</p>
|
79
79
|
</div>
|
80
|
-
<div class="section" id="http">
|
81
|
-
<h2>1.2. HTTPなどの複数プロトコルに対応したサーバ<a class="headerlink" href="#http" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
80
|
+
<div class="section" id="groonga-server-supports-multi-protocols-such-as-http">
|
81
|
+
<h2>1.2. HTTPなどの複数プロトコルに対応したサーバ<a class="headerlink" href="#groonga-server-supports-multi-protocols-such-as-http" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
82
82
|
<p>Sennaは、全文検索を行うアプリケーションで用いるための部品でした。groongaでは、全文検索サービスを行うためのサーバが存在します。groongaサーバは、HTTPやmemcached binaryプロトコル、独自プロトコルであるgqtpを用いてクライアントとTCP/IP通信を行うことができます。よって、ライブラリをインストールできないレンタルサーバなどの環境でも利用しやすくなりました。</p>
|
83
83
|
<p>Sennaと同様に、groongaもC言語のライブラリとして利用できます。</p>
|
84
84
|
</div>
|
85
|
-
<div class="section" id="
|
86
|
-
<h2>1.3. 高速なデータ更新<a class="headerlink" href="#
|
85
|
+
<div class="section" id="fast-data-update">
|
86
|
+
<h2>1.3. 高速なデータ更新<a class="headerlink" href="#fast-data-update" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
87
|
<p>groongaの前身であるSennaは、ストレージを持たない全文検索ライブラリでした。そのため、MySQLのMyISAMストレージエンジンと組み合わせて用いるTritonnや、PostgreSQLと組み合わせて用いるLudiaを通じて利用するのが一般的でした。しかし、これらの形態では、全文検索インデックス更新における参照lockが不要というSennaの性能特性を生かすことができませんでした。</p>
|
88
88
|
<p>たとえば、MyISAMではレコードが更新される際には、多くの場合テーブルロックが必要となります。このような場合には、いかに全文検索インデックスの更新が速くとも、MyISAMでのデータ更新がボトルネックとなってしまいます。</p>
|
89
89
|
<p>より即時性の高い検索サービスを実現するために、groongaでは参照lockが不要なストレージを実装しました。</p>
|
90
90
|
</div>
|
91
|
-
<div class="section" id="
|
92
|
-
<h2>1.4. 複数プロセス・複数スレッドで共有できるストレージ<a class="headerlink" href="#
|
91
|
+
<div class="section" id="storage-that-can-be-shared-with-multi-processes-and-multi-threads">
|
92
|
+
<h2>1.4. 複数プロセス・複数スレッドで共有できるストレージ<a class="headerlink" href="#storage-that-can-be-shared-with-multi-processes-and-multi-threads" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
93
93
|
<p>groongaのストレージファイルは、複数プロセスや複数スレッドで共有することができます。明示的なロックなどは必要ありません。</p>
|
94
|
-
<p>Tritonn
|
94
|
+
<p>Tritonnの後継として <a class="reference external" href="http://mroonga.github.com/">mroonga</a> が開発されています。mroongaはMySQLのプラガブルストレージエンジンとして実装されています。mroongaが開いているgroongaのストレージファイルは他のgroongaサーバも共有することができます。例えば、MySQLプロトコルでデータの更新を行い、HTTPでデータの参照を行うことができます。</p>
|
95
95
|
</div>
|
96
|
-
<div class="section" id="
|
97
|
-
<h2>1.5. ドリルダウンなどの集計系クエリを高速に実現<a class="headerlink" href="#
|
96
|
+
<div class="section" id="fast-aggregate-query-processing-such-as-drilldown">
|
97
|
+
<h2>1.5. ドリルダウンなどの集計系クエリを高速に実現<a class="headerlink" href="#fast-aggregate-query-processing-such-as-drilldown" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
98
98
|
<p>groongaのストレージは、カラムごとにデータを保存するカラム指向データベースを採用しています。カラム指向データベースはOLAPなどの集計クエリを高速に実現するのに向いています。</p>
|
99
99
|
<p>全文検索結果のうち、特定のカラム値ごとにグループ分けをし、それぞれのグループのレコード数を数えるような処理をドリルダウンといいます。groongaはカラム指向データベースを生かして、このような処理を高速に実行します。</p>
|
100
100
|
</div>
|
101
|
-
<div class="section" id="
|
102
|
-
<h2>1.6. Sennaの転置インデックス実装をさらに改良<a class="headerlink" href="#
|
101
|
+
<div class="section" id="improved-senna-s-inverted-index-implementation">
|
102
|
+
<h2>1.6. Sennaの転置インデックス実装をさらに改良<a class="headerlink" href="#improved-senna-s-inverted-index-implementation" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
103
103
|
<p>groongaの転置インデックスは、Sennaにおける転置インデックスの実装を改良し、より高速かつ汎用的なものとなりました。</p>
|
104
104
|
<p>転置インデックスを生かすことにより、SQLでも実現が難しい複雑なクエリを高速に実行することができます。いわゆるタグ検索やドリルダウンにおいて、転置インデックスを利用した高速な処理を行うことができます。</p>
|
105
105
|
</div>
|
106
|
-
<div class="section" id="
|
107
|
-
<h2>1.7. 位置情報(緯度・経度)検索<a class="headerlink" href="#
|
106
|
+
<div class="section" id="geolocation-latitude-and-longitude-search">
|
107
|
+
<h2>1.7. 位置情報(緯度・経度)検索<a class="headerlink" href="#geolocation-latitude-and-longitude-search" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
108
108
|
<p>日本測地系のみならず、世界測地系にも対応した位置情報での絞込が可能です。位置情報の範囲は、円や矩形を指定することができます。また、任意の2点間の距離も計算可能です。</p>
|
109
109
|
</div>
|
110
|
-
<div class="section" id="
|
111
|
-
<h2>1.8. 自動クエリキャッシュ機構<a class="headerlink" href="#
|
110
|
+
<div class="section" id="auto-query-cache-mechanism">
|
111
|
+
<h2>1.8. 自動クエリキャッシュ機構<a class="headerlink" href="#auto-query-cache-mechanism" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
112
112
|
<p>参照系のクエリについて、自動的にクエリキャッシュを行います。</p>
|
113
113
|
</div>
|
114
114
|
</div>
|
@@ -122,14 +122,14 @@
|
|
122
122
|
<h3><a href="index.html">目次</a></h3>
|
123
123
|
<ul>
|
124
124
|
<li><a class="reference internal" href="#">1. groongaの特徴</a><ul>
|
125
|
-
<li><a class="reference internal" href="#senna">1.1. 全文検索ライブラリSennaの後継</a></li>
|
126
|
-
<li><a class="reference internal" href="#http">1.2. HTTPなどの複数プロトコルに対応したサーバ</a></li>
|
127
|
-
<li><a class="reference internal" href="#
|
128
|
-
<li><a class="reference internal" href="#
|
129
|
-
<li><a class="reference internal" href="#
|
130
|
-
<li><a class="reference internal" href="#
|
131
|
-
<li><a class="reference internal" href="#
|
132
|
-
<li><a class="reference internal" href="#
|
125
|
+
<li><a class="reference internal" href="#the-successor-to-the-senna-that-is-an-embeddable-full-text-search-engine">1.1. 全文検索ライブラリSennaの後継</a></li>
|
126
|
+
<li><a class="reference internal" href="#groonga-server-supports-multi-protocols-such-as-http">1.2. HTTPなどの複数プロトコルに対応したサーバ</a></li>
|
127
|
+
<li><a class="reference internal" href="#fast-data-update">1.3. 高速なデータ更新</a></li>
|
128
|
+
<li><a class="reference internal" href="#storage-that-can-be-shared-with-multi-processes-and-multi-threads">1.4. 複数プロセス・複数スレッドで共有できるストレージ</a></li>
|
129
|
+
<li><a class="reference internal" href="#fast-aggregate-query-processing-such-as-drilldown">1.5. ドリルダウンなどの集計系クエリを高速に実現</a></li>
|
130
|
+
<li><a class="reference internal" href="#improved-senna-s-inverted-index-implementation">1.6. Sennaの転置インデックス実装をさらに改良</a></li>
|
131
|
+
<li><a class="reference internal" href="#geolocation-latitude-and-longitude-search">1.7. 位置情報(緯度・経度)検索</a></li>
|
132
|
+
<li><a class="reference internal" href="#auto-query-cache-mechanism">1.8. 自動クエリキャッシュ機構</a></li>
|
133
133
|
</ul>
|
134
134
|
</li>
|
135
135
|
</ul>
|
@@ -174,7 +174,7 @@
|
|
174
174
|
<li class="right" >
|
175
175
|
<a href="index.html" title="groonga ドキュメント"
|
176
176
|
>前へ</a> |</li>
|
177
|
-
<li><a href="index.html">groonga v1.2.
|
177
|
+
<li><a href="index.html">groonga v1.2.7ドキュメント</a> »</li>
|
178
178
|
</ul>
|
179
179
|
</div>
|
180
180
|
<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>
|
12
|
+
<title>7.2.1. コマンドバージョン — groonga v1.2.7ドキュメント</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: '1.2.
|
20
|
+
VERSION: '1.2.7',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -28,10 +28,10 @@
|
|
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 v1.2.
|
32
|
-
<link rel="up" title="
|
33
|
-
<link rel="next" title="
|
34
|
-
<link rel="prev" title="
|
31
|
+
<link rel="top" title="groonga v1.2.7ドキュメント" href="index.html" />
|
32
|
+
<link rel="up" title="7.2. コマンド" href="commands.html" />
|
33
|
+
<link rel="next" title="7.2.2. cache_limit" href="commands/cache_limit.html" />
|
34
|
+
<link rel="prev" title="7.2. コマンド" href="commands.html" />
|
35
35
|
</head>
|
36
36
|
<body>
|
37
37
|
<div class="header">
|
@@ -58,14 +58,14 @@
|
|
58
58
|
<a href="genindex.html" title="総合索引"
|
59
59
|
accesskey="I">索引</a></li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="commands/cache_limit.html" title="
|
61
|
+
<a href="commands/cache_limit.html" title="7.2.2. cache_limit"
|
62
62
|
accesskey="N">次へ</a> |</li>
|
63
63
|
<li class="right" >
|
64
|
-
<a href="commands.html" title="
|
64
|
+
<a href="commands.html" title="7.2. コマンド"
|
65
65
|
accesskey="P">前へ</a> |</li>
|
66
|
-
<li><a href="index.html">groonga v1.2.
|
67
|
-
<li><a href="reference.html" >
|
68
|
-
<li><a href="commands.html" accesskey="U">
|
66
|
+
<li><a href="index.html">groonga v1.2.7ドキュメント</a> »</li>
|
67
|
+
<li><a href="reference.html" >7. リファレンスマニュアル</a> »</li>
|
68
|
+
<li><a href="commands.html" accesskey="U">7.2. コマンド</a> »</li>
|
69
69
|
</ul>
|
70
70
|
</div>
|
71
71
|
|
@@ -75,16 +75,16 @@
|
|
75
75
|
<div class="body">
|
76
76
|
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h1>
|
78
|
+
<h1>7.2.1. コマンドバージョン<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
79
79
|
<div class="section" id="id2">
|
80
|
-
<h2>
|
80
|
+
<h2>7.2.1.1. 概要<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
81
81
|
<p>groonga1.1からコマンドバージョンという概念が導入されます。コマンドバージョンは、selectやloadなどのgroongaのコマンドの仕様の互換性を表します。groongaパッケージのバージョンが新しくなったとしても、同一のコマンドバージョンが使用可能であるなら、すべてのコマンドについて互換性が保証されます。コマンドバージョンが異なれば、同じ名前のコマンドであっても、動作に互換性がない可能性があります。</p>
|
82
82
|
<p>あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするようになります。
|
83
83
|
使用するコマンドバージョンは、groongaを起動する際のコマンドラインオプションないしコンフィグファイルにdefault-commnad-versionパラメータを与えることによって指定できます。また、個々のコマンドを実行する際に、command_versionパラメータを与えることによっても指定することができます。</p>
|
84
84
|
<p>コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供するgroongaは、command-version 1とcommand-version 2の二つをサポートすることになります。</p>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h2>
|
87
|
+
<h2>7.2.1.2. バージョンの位置づけ<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
88
88
|
<p>あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, stable,deprecatedのいずれかの位置づけとなります。</p>
|
89
89
|
<dl class="docutils">
|
90
90
|
<dt>develop</dt>
|
@@ -109,10 +109,10 @@ groonga1.5: command-version3=stable command-version4=develop
|
|
109
109
|
<p>groongaプロセス起動時に、default-command-versionパラメータにstable扱いでないコマンドバージョンを指定した場合には、警告メッセージがログファイルに出力されます。また、サポート範囲外のコマンドバージョンを指定した場合にはエラーとなり、プロセスは速やかに停止します。</p>
|
110
110
|
</div>
|
111
111
|
<div class="section" id="id4">
|
112
|
-
<h2>
|
112
|
+
<h2>7.2.1.3. コマンドバージョンの指定方法<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
113
113
|
<p>コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と各コマンドの引数として指定する方法があります。</p>
|
114
114
|
<div class="section" id="default-command-version">
|
115
|
-
<h3>
|
115
|
+
<h3>7.2.1.3.1. default-command-versionパラメータ<a class="headerlink" href="#default-command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
116
116
|
<p>groonga実行モジュールの引数としてdefault-command-versionパラメータを指定できます。
|
117
117
|
(configファイルの中に指定することも可能です)</p>
|
118
118
|
<p>実行例:</p>
|
@@ -122,7 +122,7 @@ groonga1.5: command-version3=stable command-version4=develop
|
|
122
122
|
<p>そのプロセスで実行するすべてのコマンドについて、デフォルトのコマンドバージョンとして指定されたバージョンを使用します。指定されたコマンドバージョンがstableであった場合にはなんのメッセージも表示されずそのまま起動します。指定されたコマンドバージョンがdevelopあるいはdeprecatedであった場合には、groonga.logファイルに警告メッセージを出力します。指定されたコマンドバージョンがサポート対象外であった場合には標準エラー出力にエラーメッセージを出力し、プロセスは速やかに終了します。</p>
|
123
123
|
</div>
|
124
124
|
<div class="section" id="command-version">
|
125
|
-
<h3>
|
125
|
+
<h3>7.2.1.3.2. command_versionパラメータ<a class="headerlink" href="#command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
126
126
|
<p>select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。</p>
|
127
127
|
<p>実行例:</p>
|
128
128
|
<div class="highlight-none"><div class="highlight"><pre>select --command_version 1 --table tablename
|
@@ -141,12 +141,12 @@ groonga1.5: command-version3=stable command-version4=develop
|
|
141
141
|
<div class="sphinxsidebarwrapper">
|
142
142
|
<h3><a href="index.html">目次</a></h3>
|
143
143
|
<ul>
|
144
|
-
<li><a class="reference internal" href="#">
|
145
|
-
<li><a class="reference internal" href="#id2">
|
146
|
-
<li><a class="reference internal" href="#id3">
|
147
|
-
<li><a class="reference internal" href="#id4">
|
148
|
-
<li><a class="reference internal" href="#default-command-version">
|
149
|
-
<li><a class="reference internal" href="#command-version">
|
144
|
+
<li><a class="reference internal" href="#">7.2.1. コマンドバージョン</a><ul>
|
145
|
+
<li><a class="reference internal" href="#id2">7.2.1.1. 概要</a></li>
|
146
|
+
<li><a class="reference internal" href="#id3">7.2.1.2. バージョンの位置づけ</a></li>
|
147
|
+
<li><a class="reference internal" href="#id4">7.2.1.3. コマンドバージョンの指定方法</a><ul>
|
148
|
+
<li><a class="reference internal" href="#default-command-version">7.2.1.3.1. default-command-versionパラメータ</a></li>
|
149
|
+
<li><a class="reference internal" href="#command-version">7.2.1.3.2. command_versionパラメータ</a></li>
|
150
150
|
</ul>
|
151
151
|
</li>
|
152
152
|
</ul>
|
@@ -155,10 +155,10 @@ groonga1.5: command-version3=stable command-version4=develop
|
|
155
155
|
|
156
156
|
<h4>前のトピックへ</h4>
|
157
157
|
<p class="topless"><a href="commands.html"
|
158
|
-
title="前の章へ">
|
158
|
+
title="前の章へ">7.2. コマンド</a></p>
|
159
159
|
<h4>次のトピックへ</h4>
|
160
160
|
<p class="topless"><a href="commands/cache_limit.html"
|
161
|
-
title="次の章へ">
|
161
|
+
title="次の章へ">7.2.2. cache_limit</a></p>
|
162
162
|
<h3>このページ</h3>
|
163
163
|
<ul class="this-page-menu">
|
164
164
|
<li><a href="_sources/command_version.txt"
|
@@ -188,14 +188,14 @@ groonga1.5: command-version3=stable command-version4=develop
|
|
188
188
|
<a href="genindex.html" title="総合索引"
|
189
189
|
>索引</a></li>
|
190
190
|
<li class="right" >
|
191
|
-
<a href="commands/cache_limit.html" title="
|
191
|
+
<a href="commands/cache_limit.html" title="7.2.2. cache_limit"
|
192
192
|
>次へ</a> |</li>
|
193
193
|
<li class="right" >
|
194
|
-
<a href="commands.html" title="
|
194
|
+
<a href="commands.html" title="7.2. コマンド"
|
195
195
|
>前へ</a> |</li>
|
196
|
-
<li><a href="index.html">groonga v1.2.
|
197
|
-
<li><a href="reference.html" >
|
198
|
-
<li><a href="commands.html" >
|
196
|
+
<li><a href="index.html">groonga v1.2.7ドキュメント</a> »</li>
|
197
|
+
<li><a href="reference.html" >7. リファレンスマニュアル</a> »</li>
|
198
|
+
<li><a href="commands.html" >7.2. コマンド</a> »</li>
|
199
199
|
</ul>
|
200
200
|
</div>
|
201
201
|
<div class="footer">
|