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,438 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
|
8
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
+
<head>
|
10
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
+
|
12
|
+
<title>4.1. Fundamental operation — groonga v1.2.7 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../',
|
20
|
+
VERSION: '1.2.7',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v1.2.7 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
32
|
+
<link rel="next" title="4.2. How to use groonga with network" href="network.html" />
|
33
|
+
<link rel="prev" title="4. チュートリアル" href="../tutorial.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../ja/html/tutorial/introduction.html"><img src="../_static/jp.png" alt="日本語"></a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="network.html" title="4.2. How to use groonga with network"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="../tutorial.html" title="4. チュートリアル"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../index.html">groonga v1.2.7 documentation</a> »</li>
|
66
|
+
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
67
|
+
</ul>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="document">
|
71
|
+
<div class="documentwrapper">
|
72
|
+
<div class="bodywrapper">
|
73
|
+
<div class="body">
|
74
|
+
|
75
|
+
<div class="section" id="fundamental-operation">
|
76
|
+
<h1>4.1. Fundamental operation<a class="headerlink" href="#fundamental-operation" title="Permalink to this headline">¶</a></h1>
|
77
|
+
<p>You can use groonga as a library of programming language C or an executable file.
|
78
|
+
This tutorial explains how to use groonga as an executable file.
|
79
|
+
Using its file, you can create and operate databases, start and connect to server, and so on.</p>
|
80
|
+
<div class="section" id="create-database">
|
81
|
+
<h2>4.1.1. Create database<a class="headerlink" href="#create-database" title="Permalink to this headline">¶</a></h2>
|
82
|
+
<p>You can create a new database in the following command.</p>
|
83
|
+
<p>Form</p>
|
84
|
+
<div class="highlight-none"><div class="highlight"><pre>groonga -n DB_PATH_NAME
|
85
|
+
</pre></div>
|
86
|
+
</div>
|
87
|
+
<p>'-n' option specifies to create a database. DB_PATH_NAME specifies full-path of new database.</p>
|
88
|
+
<p>Groonga starts as interactive mode after you create a database with this command, and so groonga accepts commands from standard input. This mode is terminated with Ctrl-d.</p>
|
89
|
+
<p>Execution example:</p>
|
90
|
+
<div class="highlight-none"><div class="highlight"><pre>% groonga -n /tmp/tutorial.db
|
91
|
+
> ctrl-d
|
92
|
+
%
|
93
|
+
</pre></div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
<div class="section" id="operate-database">
|
97
|
+
<h2>4.1.2. Operate database<a class="headerlink" href="#operate-database" title="Permalink to this headline">¶</a></h2>
|
98
|
+
<p>Form</p>
|
99
|
+
<div class="highlight-none"><div class="highlight"><pre>groonga DB_PATH_NAME [COMMAND]
|
100
|
+
</pre></div>
|
101
|
+
</div>
|
102
|
+
<p>DB_PATH_NAME specifies full-path of existing database.
|
103
|
+
If COMMAND is specified, result of COMMAND is returned.</p>
|
104
|
+
<p>With no COMMAND, this command starts groonga as interactive-mode.
|
105
|
+
Groonga of this mode reads a command from standard input evaluates it repeatedly.
|
106
|
+
This tutorial uses interactive-mode mainly.</p>
|
107
|
+
<p>For example, we will run the <cite>status</cite> command.
|
108
|
+
This command returns status of groonga's execution.</p>
|
109
|
+
<p>Execution example:</p>
|
110
|
+
<div class="highlight-none"><div class="highlight"><pre>> table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText
|
111
|
+
[[0,1317212791.02322,0.03942904],true]
|
112
|
+
> column_create --table Type --name number --type Int32
|
113
|
+
[[0,1317212791.26314,0.124383285],true]
|
114
|
+
> column_create --table Type --name float --type Float
|
115
|
+
[[0,1317212791.58803,0.027924039],true]
|
116
|
+
> column_create --table Type --name string --type ShortText
|
117
|
+
[[0,1317212791.81654,0.040399047],true]
|
118
|
+
> column_create --table Type --name time --type Time
|
119
|
+
[[0,1317212792.05751,0.027354067],true]
|
120
|
+
> load --table Type
|
121
|
+
> [{"_key":"sample","number":12345,"float":42.195,"string":"GROONGA","time":1234567890.12}]
|
122
|
+
[[0,1317212792.28516,0.200775839],1]
|
123
|
+
> select --table Type
|
124
|
+
[[0,1317212792.68655,0.000199477],[[[1],[["_id","UInt32"],["_key","ShortText"],["time","Time"],["string","ShortText"],["number","Int32"],["float","Float"]],[1,"sample",1234567890.12,"GROONGA",12345,42.195]]]]
|
125
|
+
</pre></div>
|
126
|
+
</div>
|
127
|
+
<p>The mentioned above, results of executed commands are generally JSON style.
|
128
|
+
The first element in a array of JSON has information of error-code, execution time, and so on.
|
129
|
+
The second element has a result of exectuted command.</p>
|
130
|
+
</div>
|
131
|
+
<div class="section" id="commands">
|
132
|
+
<h2>4.1.3. Commands<a class="headerlink" href="#commands" title="Permalink to this headline">¶</a></h2>
|
133
|
+
<p>You can operate database with various commands via execution file of groonga or groonga server.
|
134
|
+
There are forms of commands in the following:</p>
|
135
|
+
<div class="highlight-none"><div class="highlight"><pre>Form1: COMMAND ARGUMENT1 ARGUMENT2 ..
|
136
|
+
|
137
|
+
Form2: COMMAND --ARAGUMENT1 VALUE1 --ARGUMENT2 VALUE2 ..
|
138
|
+
</pre></div>
|
139
|
+
</div>
|
140
|
+
<p>You can mix these forms in commands running.</p>
|
141
|
+
<p>In Form2, if you want to specify a value including some spaces or symbols("'()/), you should enclose its value with single-quote or double-quote.</p>
|
142
|
+
<p>For detail, you can see paragraph of "command" in <a class="reference internal" href="../executables/groonga.html"><em>groonga実行ファイル</em></a>.</p>
|
143
|
+
</div>
|
144
|
+
<div class="section" id="basicaly-commands">
|
145
|
+
<h2>4.1.4. Basicaly commands<a class="headerlink" href="#basicaly-commands" title="Permalink to this headline">¶</a></h2>
|
146
|
+
<blockquote>
|
147
|
+
<div><dl class="docutils">
|
148
|
+
<dt><a class="reference internal" href="../commands/status.html"><em>status</em></a></dt>
|
149
|
+
<dd>Show status of groonga process.</dd>
|
150
|
+
<dt><a class="reference internal" href="../commands/table_list.html"><em>table_list</em></a></dt>
|
151
|
+
<dd>Show lists of tables defined in a database.</dd>
|
152
|
+
<dt><a class="reference internal" href="../commands/column_list.html"><em>column_list</em></a></dt>
|
153
|
+
<dd>Show lists of columns defined in a table.</dd>
|
154
|
+
<dt><a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a></dt>
|
155
|
+
<dd>Add table to a database.</dd>
|
156
|
+
<dt><a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a></dt>
|
157
|
+
<dd>Add column to a table.</dd>
|
158
|
+
<dt><a class="reference internal" href="../commands/select.html"><em>select</em></a></dt>
|
159
|
+
<dd>Search and show records included a table.</dd>
|
160
|
+
<dt><a class="reference internal" href="../commands/load.html"><em>load</em></a></dt>
|
161
|
+
<dd>Insert record to a table.</dd>
|
162
|
+
</dl>
|
163
|
+
</div></blockquote>
|
164
|
+
</div>
|
165
|
+
<div class="section" id="create-table">
|
166
|
+
<h2>4.1.5. Create table<a class="headerlink" href="#create-table" title="Permalink to this headline">¶</a></h2>
|
167
|
+
<p><a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a> creates table.</p>
|
168
|
+
<p>In using groonga, to creating tables generally needed master key.
|
169
|
+
Master key should be specified the types and the way to store.</p>
|
170
|
+
<p>We're going to explain the types in tutorial after.
|
171
|
+
Please imagine it as expressing sort of data.
|
172
|
+
How to store master key defines speed of search with master key and advisability of begins-with-match search. This is also explained in this tutorial later.</p>
|
173
|
+
<p>For example, we create 'Site' table. This table has master key of ShortText type, and the way to store its key is HASH.</p>
|
174
|
+
<p>Execution example:</p>
|
175
|
+
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name link --type Site
|
176
|
+
[[0,1317212792.88872,0.060705006],true]
|
177
|
+
> load --table Site
|
178
|
+
> [{"_key":"http://example.org/","link":"http://example.net/"}]
|
179
|
+
[[0,1317212793.14984,0.200481934],1]
|
180
|
+
> select --table Site --output_columns _key,title,link._key,link.title --query title:@this
|
181
|
+
[[0,1317212793.55084,0.000485897],[[[1],[["_key","ShortText"],["title","ShortText"],["link._key","ShortText"],["link.title","ShortText"]],["http://example.org/","This is test record 1!","http://example.net/","test record 2."]]]]
|
182
|
+
</pre></div>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
<div class="section" id="search">
|
186
|
+
<h2>4.1.6. Search<a class="headerlink" href="#search" title="Permalink to this headline">¶</a></h2>
|
187
|
+
<p><a class="reference internal" href="../commands/select.html"><em>select</em></a> shows contents of table.</p>
|
188
|
+
<p>Execution example:</p>
|
189
|
+
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
190
|
+
[[0,1317212793.75262,0.049658904],true]
|
191
|
+
> load --table Site
|
192
|
+
> [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
|
193
|
+
[[0,1317212794.00274,0.200473621],1]
|
194
|
+
> select --table Site --output_columns _key,title,links._key,links.title --query title:@this
|
195
|
+
[[0,1317212794.40349,0.000384272],[[[1],[["_key","ShortText"],["title","ShortText"],["links._key","ShortText"],["links.title","ShortText"]],["http://example.org/","This is test record 1!",["http://example.net/","http://example.org/","http://example.com/"],["test record 2.","This is test record 1!","test test record three."]]]]]
|
196
|
+
</pre></div>
|
197
|
+
</div>
|
198
|
+
<p>With name of a table, 'select' command shows 10 contents of its table. [0] shows the number of searched records. ["_id","Uint32"] is column named "_id" and type of this column's value is UInt32. ["_key","ShortText"] is "_key" column, type of this column's value is ShortText.</p>
|
199
|
+
<p>'table_create' command creates table including two columns, '_id' and '_key' first. '_id' has ID-number given automatically by groonga. '_key' column is stored master key. You cannot modify this column's name.</p>
|
200
|
+
</div>
|
201
|
+
<div class="section" id="create-columns">
|
202
|
+
<h2>4.1.7. Create columns<a class="headerlink" href="#create-columns" title="Permalink to this headline">¶</a></h2>
|
203
|
+
<p><a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command create columns.</p>
|
204
|
+
<p>We add a column named 'comment' that lets us store value whose type is ShortText.</p>
|
205
|
+
<p>Execution example:</p>
|
206
|
+
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Site --name title --flags COLUMN_SCALAR --type ShortText
|
207
|
+
[[0,1317212712.91734,0.077833747],true]
|
208
|
+
> select --table Site
|
209
|
+
[[0,1317212713.19572,0.000121119],[[[0],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]]]]]
|
210
|
+
</pre></div>
|
211
|
+
</div>
|
212
|
+
<p>COLUMN_SCALAR means this is normal column.</p>
|
213
|
+
</div>
|
214
|
+
<div class="section" id="create-terminology-table-with-fulltext-searching">
|
215
|
+
<h2>4.1.8. Create terminology table with fulltext-searching<a class="headerlink" href="#create-terminology-table-with-fulltext-searching" title="Permalink to this headline">¶</a></h2>
|
216
|
+
<p>This tutorial explains fulltext searching with entried data in groonga table.</p>
|
217
|
+
<p>We need terminology table in fulltext-searching.
|
218
|
+
Terminology table is a table whose master key's values are words in text.
|
219
|
+
We create 'Terms' table, it has type of master key value is ShortText.</p>
|
220
|
+
<p>Execution example:</p>
|
221
|
+
<div class="highlight-none"><div class="highlight"><pre>> table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
222
|
+
[[0,1317212713.39679,0.092312046],true]
|
223
|
+
</pre></div>
|
224
|
+
</div>
|
225
|
+
<p>Many parameters is specified in this execution example.
|
226
|
+
You don't hove to understand all parameters.
|
227
|
+
There are the simple explaination, but you can skipped.</p>
|
228
|
+
<p>In this examples, 'TABLE_PAT_KEY|KEY_NORMALIZE' stores master key in patricia-trie and entries each teminology after nomalized.
|
229
|
+
The 'default_tokenizer' parametar specifies the way to tokenize target texts. In this examples, we specifies 'TokenBigram' as this parameter, and so we choose 'N-gram' generally called.</p>
|
230
|
+
</div>
|
231
|
+
<div class="section" id="create-index-column-with-fulltext-search">
|
232
|
+
<h2>4.1.9. Create index-column with fulltext search<a class="headerlink" href="#create-index-column-with-fulltext-search" title="Permalink to this headline">¶</a></h2>
|
233
|
+
<p>We will fulltext search 'title' column in 'Site' table. In this case, we create column whose type index in terminology table.</p>
|
234
|
+
<p>Execution example:</p>
|
235
|
+
<div class="highlight-none"><div class="highlight"><pre>> column_create --table Terms --name blog_title --flags COLUMN_INDEX|WITH_POSITION --type Site --source title
|
236
|
+
[[0,1317212713.68994,0.19739078],true]
|
237
|
+
</pre></div>
|
238
|
+
</div>
|
239
|
+
<p>This command creates index column 'blog_title' in 'Term' table. '--type' option specifies target indexed table, and '--source' option does target index column.
|
240
|
+
In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifies that this column is index column for storing information of terminology existing position. This option should be specified 'COLUMN_INDEX|WITH_POSITION' in generally fulltext searching. This tutorial does not deal with the reason why store information of terminology existing position.</p>
|
241
|
+
</div>
|
242
|
+
<div class="section" id="load-data">
|
243
|
+
<h2>4.1.10. Load data<a class="headerlink" href="#load-data" title="Permalink to this headline">¶</a></h2>
|
244
|
+
<p><a class="reference internal" href="../commands/load.html"><em>load</em></a> is used to load data for groonga database. This command stores json-formatted data in a table.</p>
|
245
|
+
<p>Execution example:</p>
|
246
|
+
<div class="highlight-none"><div class="highlight"><pre>> load --table Site
|
247
|
+
> [
|
248
|
+
> {"_key":"http://example.org/","title":"This is test record 1!"},
|
249
|
+
> {"_key":"http://example.net/","title":"test record 2."},
|
250
|
+
> {"_key":"http://example.com/","title":"test test record three."},
|
251
|
+
> {"_key":"http://example.net/afr","title":"test record four."},
|
252
|
+
> {"_key":"http://example.org/aba","title":"test test test record five."},
|
253
|
+
> {"_key":"http://example.com/rab","title":"test test test test record six."},
|
254
|
+
> {"_key":"http://example.net/atv","title":"test test test record seven."},
|
255
|
+
> {"_key":"http://example.org/gat","title":"test test record eight."},
|
256
|
+
> {"_key":"http://example.com/vdw","title":"test test record nine."},
|
257
|
+
> ]
|
258
|
+
[[0,1317212714.08816,2.203527402],9]
|
259
|
+
</pre></div>
|
260
|
+
</div>
|
261
|
+
<p>Let's make sure that its table has data with 'select' command.</p>
|
262
|
+
<p>Execution example:</p>
|
263
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site
|
264
|
+
[[0,1317212716.49285,0.000270908],[[[9],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"],[2,"http://example.net/","test record 2."],[3,"http://example.com/","test test record three."],[4,"http://example.net/afr","test record four."],[5,"http://example.org/aba","test test test record five."],[6,"http://example.com/rab","test test test test record six."],[7,"http://example.net/atv","test test test record seven."],[8,"http://example.org/gat","test test record eight."],[9,"http://example.com/vdw","test test record nine."]]]]
|
265
|
+
</pre></div>
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
<div class="section" id="search-data">
|
269
|
+
<h2>4.1.11. Search data<a class="headerlink" href="#search-data" title="Permalink to this headline">¶</a></h2>
|
270
|
+
<p>'_id' and '_key' columns are unique in groonga's table, so let's search data in table using these columns.</p>
|
271
|
+
<p>You can search data using 'select' command with 'query' parameter.</p>
|
272
|
+
<p>Execution example:</p>
|
273
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --query _id:1
|
274
|
+
[[0,1317212716.69871,0.000308514],[[[1],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"]]]]
|
275
|
+
</pre></div>
|
276
|
+
</div>
|
277
|
+
<p>'_id:1' specified 'query' parameter means to search records whose '_id' column has '1'.</p>
|
278
|
+
<p>Let's search records with '_key' column.</p>
|
279
|
+
<p>Execution example:</p>
|
280
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --query "_key:\"http://example.org/\""
|
281
|
+
[[0,1317212716.9005,0.000478343],[[[1],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"]]]]
|
282
|
+
</pre></div>
|
283
|
+
</div>
|
284
|
+
<p>'_key:"<a class="reference external" href="http://example.org/">http://example.org/</a>"' specified 'query' parameter means to search records whose '_key' column has '"<a class="reference external" href="http://example.org/">http://example.org/</a>"'.</p>
|
285
|
+
</div>
|
286
|
+
<div class="section" id="fulltext-searching">
|
287
|
+
<h2>4.1.12. Fulltext searching<a class="headerlink" href="#fulltext-searching" title="Permalink to this headline">¶</a></h2>
|
288
|
+
<p>Using 'query' parameter, you can fulltext search with index.</p>
|
289
|
+
<p>Execution example:</p>
|
290
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --query title:@this
|
291
|
+
[[0,1317212717.10303,0.000581287],[[[1],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"]]]]
|
292
|
+
</pre></div>
|
293
|
+
</div>
|
294
|
+
<p>This command shows result of fulltext searching by string 'this' for 'title' column.</p>
|
295
|
+
<p>"title:@this" specified 'query' parameter means to search records whose 'title' column including 'this' string.</p>
|
296
|
+
<p>'select' command has parameter 'match_columns'.</p>
|
297
|
+
<p>If this parameter is specified, it means to search in columns specified 'match_columns' when 'query' parameter doesn't specify column-name condition.[1]_</p>
|
298
|
+
<p>If you specify 'match_columns' is 'title' and 'query' is 'this', you can take same result as above query.</p>
|
299
|
+
<p>Execution example:</p>
|
300
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --match_columns title --query this
|
301
|
+
[[0,1317212717.30596,0.000716439],[[[1],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"]]]]
|
302
|
+
</pre></div>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
<div class="section" id="specify-output-column">
|
306
|
+
<h2>4.1.13. Specify output column<a class="headerlink" href="#specify-output-column" title="Permalink to this headline">¶</a></h2>
|
307
|
+
<p>'output_columns' parameter in 'select' command specifies columns shown in result of search.</p>
|
308
|
+
<p>If you want to specify some columns, you should separate column names by comma(,).</p>
|
309
|
+
<p>Execution example:</p>
|
310
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --output_columns _key,title,_score --query title:@test
|
311
|
+
[[0,1317212717.50916,0.00060758],[[[9],[["_key","ShortText"],["title","ShortText"],["_score","Int32"]],["http://example.org/","This is test record 1!",1],["http://example.net/","test record 2.",1],["http://example.com/","test test record three.",2],["http://example.net/afr","test record four.",1],["http://example.org/aba","test test test record five.",3],["http://example.com/rab","test test test test record six.",4],["http://example.net/atv","test test test record seven.",3],["http://example.org/gat","test test record eight.",2],["http://example.com/vdw","test test record nine.",2]]]]
|
312
|
+
</pre></div>
|
313
|
+
</div>
|
314
|
+
<p>"_score" column is added to The groonga's result. This column has the higher number, the more condition of fulltext seaching matches text.</p>
|
315
|
+
</div>
|
316
|
+
<div class="section" id="ranges-to-display">
|
317
|
+
<h2>4.1.14. Ranges to display<a class="headerlink" href="#ranges-to-display" title="Permalink to this headline">¶</a></h2>
|
318
|
+
<p>'select' command can display result in only specified ranges using 'offset' and 'limit' parameter. This parameters is useful when you want to show only a page in much result of searching.</p>
|
319
|
+
<p>'offset' parameter specifies starting point of result. If you want 'select' command to return from first records, this parameter specifies '0'.</p>
|
320
|
+
<p>'limit' parameter specifies how many records of searching result.</p>
|
321
|
+
<p>Execution example:</p>
|
322
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --offset 0 --limit 3
|
323
|
+
[[0,1317212717.71574,0.000238544],[[[9],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[1,"http://example.org/","This is test record 1!"],[2,"http://example.net/","test record 2."],[3,"http://example.com/","test test record three."]]]]
|
324
|
+
> select --table Site --offset 3 --limit 3
|
325
|
+
[[0,1317212717.91925,0.00023617],[[[9],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[4,"http://example.net/afr","test record four."],[5,"http://example.org/aba","test test test record five."],[6,"http://example.com/rab","test test test test record six."]]]]
|
326
|
+
> select --table Site --offset 7 --limit 3
|
327
|
+
[[0,1317212718.12219,0.00019999],[[[9],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[8,"http://example.org/gat","test test record eight."],[9,"http://example.com/vdw","test test record nine."]]]]
|
328
|
+
</pre></div>
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
<div class="section" id="sort">
|
332
|
+
<h2>4.1.15. Sort<a class="headerlink" href="#sort" title="Permalink to this headline">¶</a></h2>
|
333
|
+
<p>If you use 'sortby' parameter in 'select' command, this command sorts result of searching.</p>
|
334
|
+
<p>When 'sortby' parameter specifies column name, result is sorted in ascending-order to its column's value. This 'select' command also sort in descending-order when you add hyphen(-) before column name.</p>
|
335
|
+
<p>Execution example:</p>
|
336
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --sortby -_id
|
337
|
+
[[0,1317212718.32565,0.000385755],[[[9],[["_id","UInt32"],["_key","ShortText"],["title","ShortText"]],[9,"http://example.com/vdw","test test record nine."],[8,"http://example.org/gat","test test record eight."],[7,"http://example.net/atv","test test test record seven."],[6,"http://example.com/rab","test test test test record six."],[5,"http://example.org/aba","test test test record five."],[4,"http://example.net/afr","test record four."],[3,"http://example.com/","test test record three."],[2,"http://example.net/","test record 2."],[1,"http://example.org/","This is test record 1!"]]]]
|
338
|
+
</pre></div>
|
339
|
+
</div>
|
340
|
+
<p>For condition of sort, you can use '_score' column introduced in the paragraph of "Specify output column".</p>
|
341
|
+
<p>Execution example:</p>
|
342
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --query title:@test --output_columns _id,_score,title --sortby _score
|
343
|
+
[[0,1317212718.5331,0.000667311],[[[9],[["_id","UInt32"],["_score","Int32"],["title","ShortText"]],[1,1,"This is test record 1!"],[2,1,"test record 2."],[4,1,"test record four."],[3,2,"test test record three."],[9,2,"test test record nine."],[8,2,"test test record eight."],[7,3,"test test test record seven."],[5,3,"test test test record five."],[6,4,"test test test test record six."]]]]
|
344
|
+
</pre></div>
|
345
|
+
</div>
|
346
|
+
<p>If you want to specify some column names, you should use comma(,) between these names. In this case, when same value of records is existed in first column, this command sorts result of searching to value of second column.</p>
|
347
|
+
<p>Execution example:</p>
|
348
|
+
<div class="highlight-none"><div class="highlight"><pre>> select --table Site --query title:@test --output_columns _id,_score,title --sortby _score,_id
|
349
|
+
[[0,1317212718.73819,0.00069225],[[[9],[["_id","UInt32"],["_score","Int32"],["title","ShortText"]],[1,1,"This is test record 1!"],[2,1,"test record 2."],[4,1,"test record four."],[3,2,"test test record three."],[8,2,"test test record eight."],[9,2,"test test record nine."],[5,3,"test test test record five."],[7,3,"test test test record seven."],[6,4,"test test test test record six."]]]]
|
350
|
+
</pre></div>
|
351
|
+
</div>
|
352
|
+
<p class="rubric">footnote</p>
|
353
|
+
<table class="docutils footnote" frame="void" id="id1" rules="none">
|
354
|
+
<colgroup><col class="label" /><col /></colgroup>
|
355
|
+
<tbody valign="top">
|
356
|
+
<tr><td class="label">[1]</td><td>In now groonga's version, you can only use 'match_columns' parameter in the case of existing index of fulltext searching. This parameter cannot be use in searching for ordinary columns.</td></tr>
|
357
|
+
</tbody>
|
358
|
+
</table>
|
359
|
+
</div>
|
360
|
+
</div>
|
361
|
+
|
362
|
+
|
363
|
+
</div>
|
364
|
+
</div>
|
365
|
+
</div>
|
366
|
+
<div class="sphinxsidebar">
|
367
|
+
<div class="sphinxsidebarwrapper">
|
368
|
+
<h3><a href="../index.html">Table Of Contents</a></h3>
|
369
|
+
<ul>
|
370
|
+
<li><a class="reference internal" href="#">4.1. Fundamental operation</a><ul>
|
371
|
+
<li><a class="reference internal" href="#create-database">4.1.1. Create database</a></li>
|
372
|
+
<li><a class="reference internal" href="#operate-database">4.1.2. Operate database</a></li>
|
373
|
+
<li><a class="reference internal" href="#commands">4.1.3. Commands</a></li>
|
374
|
+
<li><a class="reference internal" href="#basicaly-commands">4.1.4. Basicaly commands</a></li>
|
375
|
+
<li><a class="reference internal" href="#create-table">4.1.5. Create table</a></li>
|
376
|
+
<li><a class="reference internal" href="#search">4.1.6. Search</a></li>
|
377
|
+
<li><a class="reference internal" href="#create-columns">4.1.7. Create columns</a></li>
|
378
|
+
<li><a class="reference internal" href="#create-terminology-table-with-fulltext-searching">4.1.8. Create terminology table with fulltext-searching</a></li>
|
379
|
+
<li><a class="reference internal" href="#create-index-column-with-fulltext-search">4.1.9. Create index-column with fulltext search</a></li>
|
380
|
+
<li><a class="reference internal" href="#load-data">4.1.10. Load data</a></li>
|
381
|
+
<li><a class="reference internal" href="#search-data">4.1.11. Search data</a></li>
|
382
|
+
<li><a class="reference internal" href="#fulltext-searching">4.1.12. Fulltext searching</a></li>
|
383
|
+
<li><a class="reference internal" href="#specify-output-column">4.1.13. Specify output column</a></li>
|
384
|
+
<li><a class="reference internal" href="#ranges-to-display">4.1.14. Ranges to display</a></li>
|
385
|
+
<li><a class="reference internal" href="#sort">4.1.15. Sort</a></li>
|
386
|
+
</ul>
|
387
|
+
</li>
|
388
|
+
</ul>
|
389
|
+
|
390
|
+
<h4>Previous topic</h4>
|
391
|
+
<p class="topless"><a href="../tutorial.html"
|
392
|
+
title="previous chapter">4. チュートリアル</a></p>
|
393
|
+
<h4>Next topic</h4>
|
394
|
+
<p class="topless"><a href="network.html"
|
395
|
+
title="next chapter">4.2. How to use groonga with network</a></p>
|
396
|
+
<h3>This Page</h3>
|
397
|
+
<ul class="this-page-menu">
|
398
|
+
<li><a href="../_sources/tutorial/introduction.txt"
|
399
|
+
rel="nofollow">Show Source</a></li>
|
400
|
+
</ul>
|
401
|
+
<div id="searchbox" style="display: none">
|
402
|
+
<h3>Quick search</h3>
|
403
|
+
<form class="search" action="../search.html" method="get">
|
404
|
+
<input type="text" name="q" size="18" />
|
405
|
+
<input type="submit" value="Go" />
|
406
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
407
|
+
<input type="hidden" name="area" value="default" />
|
408
|
+
</form>
|
409
|
+
<p class="searchtip" style="font-size: 90%">
|
410
|
+
Enter search terms or a module, class or function name.
|
411
|
+
</p>
|
412
|
+
</div>
|
413
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
414
|
+
</div>
|
415
|
+
</div>
|
416
|
+
<div class="clearer"></div>
|
417
|
+
</div>
|
418
|
+
<div class="related">
|
419
|
+
<h3>Navigation</h3>
|
420
|
+
<ul>
|
421
|
+
<li class="right" style="margin-right: 10px">
|
422
|
+
<a href="../genindex.html" title="General Index"
|
423
|
+
>index</a></li>
|
424
|
+
<li class="right" >
|
425
|
+
<a href="network.html" title="4.2. How to use groonga with network"
|
426
|
+
>next</a> |</li>
|
427
|
+
<li class="right" >
|
428
|
+
<a href="../tutorial.html" title="4. チュートリアル"
|
429
|
+
>previous</a> |</li>
|
430
|
+
<li><a href="../index.html">groonga v1.2.7 documentation</a> »</li>
|
431
|
+
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
432
|
+
</ul>
|
433
|
+
</div>
|
434
|
+
<div class="footer">
|
435
|
+
© Copyright 2009-2011, Brazil, Inc.
|
436
|
+
</div>
|
437
|
+
</body>
|
438
|
+
</html>
|
@@ -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.9. 全文検索の語彙表に対する追加情報 — groonga v1.2.
|
12
|
+
<title>4.9. 全文検索の語彙表に対する追加情報 — groonga v1.2.7 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.7',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v1.2.
|
30
|
+
<link rel="top" title="groonga v1.2.7 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
32
|
-
<link rel="next" title="4.10. マイクロブログ検索システムの作成" href="
|
33
|
-
<link rel="prev" title="4.8.
|
32
|
+
<link rel="next" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
33
|
+
<link rel="prev" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
<div class="other-language-links">
|
46
46
|
<ul>
|
47
|
-
<li><a href="../../../ja/html/tutorial/
|
47
|
+
<li><a href="../../../ja/html/tutorial/lexicon.html"><img src="../_static/jp.png" alt="日本語"></a></li>
|
48
48
|
</ul>
|
49
49
|
</div>
|
50
50
|
</div>
|
@@ -57,12 +57,12 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="
|
60
|
+
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="
|
63
|
+
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v1.2.
|
65
|
+
<li><a href="../index.html">groonga v1.2.7 documentation</a> »</li>
|
66
66
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -85,14 +85,14 @@
|
|
85
85
|
<div class="sphinxsidebar">
|
86
86
|
<div class="sphinxsidebarwrapper">
|
87
87
|
<h4>Previous topic</h4>
|
88
|
-
<p class="topless"><a href="
|
89
|
-
title="previous chapter">4.8.
|
88
|
+
<p class="topless"><a href="patricia_trie.html"
|
89
|
+
title="previous chapter">4.8. パトリシア木による前方一致検索</a></p>
|
90
90
|
<h4>Next topic</h4>
|
91
|
-
<p class="topless"><a href="
|
91
|
+
<p class="topless"><a href="micro_blog.html"
|
92
92
|
title="next chapter">4.10. マイクロブログ検索システムの作成</a></p>
|
93
93
|
<h3>This Page</h3>
|
94
94
|
<ul class="this-page-menu">
|
95
|
-
<li><a href="../_sources/tutorial/
|
95
|
+
<li><a href="../_sources/tutorial/lexicon.txt"
|
96
96
|
rel="nofollow">Show Source</a></li>
|
97
97
|
</ul>
|
98
98
|
<div id="searchbox" style="display: none">
|
@@ -119,12 +119,12 @@
|
|
119
119
|
<a href="../genindex.html" title="General Index"
|
120
120
|
>index</a></li>
|
121
121
|
<li class="right" >
|
122
|
-
<a href="
|
122
|
+
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
123
123
|
>next</a> |</li>
|
124
124
|
<li class="right" >
|
125
|
-
<a href="
|
125
|
+
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
126
126
|
>previous</a> |</li>
|
127
|
-
<li><a href="../index.html">groonga v1.2.
|
127
|
+
<li><a href="../index.html">groonga v1.2.7 documentation</a> »</li>
|
128
128
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
129
129
|
</ul>
|
130
130
|
</div>
|