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
@@ -1,4 +1,4 @@
|
|
1
|
-
/* -*- c-file-style: "ruby" -*- */
|
1
|
+
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/* vim: set sts=4 sw=4 ts=8 noet: */
|
3
3
|
/*
|
4
4
|
Copyright (C) 2009 Kouhei Sutou <kou@clear-code.com>
|
@@ -43,38 +43,45 @@ VALUE rb_cGrnPatriciaTrie;
|
|
43
43
|
* ブロックを指定すると、そのブロックに生成したテーブルが渡さ
|
44
44
|
* れ、ブロックを抜けると自動的にテーブルが破棄される。
|
45
45
|
*
|
46
|
-
* _options_に指定可能な値は以下の通り。
|
46
|
+
* _options_ に指定可能な値は以下の通り。
|
47
|
+
* @param options [::Hash] The name and value
|
48
|
+
* pairs. Omitted names are initialized as the default value.
|
49
|
+
* @option options [Groonga::Context] :context (Groonga::Context.default)
|
47
50
|
*
|
48
|
-
*
|
49
|
-
*
|
50
|
-
*
|
51
|
+
* テーブルが利用するGroonga::Context。
|
52
|
+
*
|
53
|
+
* @option options :name The table name
|
51
54
|
*
|
52
|
-
* [+:name+]
|
53
55
|
* テーブルの名前。名前をつけると、Groonga::Context#[]に名
|
54
56
|
* 前を指定してテーブルを取得することができる。省略すると
|
55
57
|
* 無名テーブルになり、テーブルIDでのみ取得できる。
|
56
58
|
*
|
57
|
-
*
|
59
|
+
* @option options :path The path
|
60
|
+
*
|
58
61
|
* テーブルを保存するパス。パスを指定すると永続テーブルとな
|
59
62
|
* り、プロセス終了後もレコードは保持される。次回起動時に
|
60
63
|
* Groonga::Context#[]で保存されたレコードを利用する
|
61
64
|
* ことができる。省略すると一時テーブルになり、プロセスが終
|
62
65
|
* 了するとレコードは破棄される。
|
63
66
|
*
|
64
|
-
*
|
65
|
-
*
|
66
|
-
*
|
67
|
+
* @option options :persistent The persistent
|
68
|
+
*
|
69
|
+
* +true+ を指定すると永続テーブルとなる。 +path+ を省略した
|
70
|
+
* 場合は自動的にパスが付加される。 +:context+ で指定した
|
67
71
|
* Groonga::Contextに結びついているデータベースが一時デー
|
68
72
|
* タベースの場合は例外が発生する。
|
69
73
|
*
|
70
|
-
*
|
71
|
-
*
|
74
|
+
* @option options :key_normalize The key_normalize
|
75
|
+
*
|
76
|
+
* +true+ を指定するとキーを正規化する。
|
72
77
|
*
|
73
|
-
*
|
74
|
-
*
|
78
|
+
* @option options :key_with_sis The key_with_sis
|
79
|
+
*
|
80
|
+
* +true+ を指定するとキーの文字列の全suffixが自動的に登
|
75
81
|
* 録される。
|
76
82
|
*
|
77
|
-
*
|
83
|
+
* @option options :key_type The key_type
|
84
|
+
*
|
78
85
|
* キーの種類を示すオブジェクトを指定する。キーの種類には型
|
79
86
|
* 名("Int32"や"ShortText"など)またはGroonga::Typeまたは
|
80
87
|
* テーブル(Groonga::Array、Groonga::Hash、
|
@@ -93,60 +100,62 @@ VALUE rb_cGrnPatriciaTrie;
|
|
93
100
|
* 省略した場合はShortText型をキーとして使用する。この場合、
|
94
101
|
* 4096バイトまで使用可能である。
|
95
102
|
*
|
96
|
-
*
|
103
|
+
* @option options :value_type The value_type
|
104
|
+
*
|
97
105
|
* 値の型を指定する。省略すると値のための領域を確保しない。
|
98
106
|
* 値を保存したい場合は必ず指定すること。
|
99
107
|
*
|
100
108
|
* 参考: Groonga::Type.new
|
101
109
|
*
|
102
|
-
*
|
110
|
+
* @option options :default_tokenizer The default_tokenizer
|
111
|
+
*
|
103
112
|
* Groonga::IndexColumnで使用するトークナイザを指定する。
|
104
113
|
* デフォルトでは何も設定されていないので、テーブルに
|
105
114
|
* Groonga::IndexColumnを定義する場合は
|
106
115
|
* <tt>"TokenBigram"</tt>などを指定する必要がある。
|
107
116
|
*
|
108
|
-
*
|
109
|
-
*
|
117
|
+
* @option options :sub_records The sub_records
|
118
|
+
*
|
119
|
+
* +true+ を指定すると#groupでグループ化したときに、
|
110
120
|
* Groonga::Record#n_sub_recordsでグループに含まれるレコー
|
111
121
|
* ドの件数を取得できる。
|
112
122
|
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
* 無名一時テーブルを生成する。
|
123
|
+
* @example
|
124
|
+
* #無名一時テーブルを生成する。
|
116
125
|
* Groonga::PatriciaTrie.create
|
117
126
|
*
|
118
|
-
*
|
127
|
+
* #無名永続テーブルを生成する。
|
119
128
|
* Groonga::PatriciaTrie.create(:path => "/tmp/hash.grn")
|
120
129
|
*
|
121
|
-
*
|
122
|
-
*
|
130
|
+
* #名前付き永続テーブルを生成する。ただし、ファイル名は気に
|
131
|
+
* #しない。
|
123
132
|
* Groonga::PatriciaTrie.create(:name => "Bookmarks",
|
124
133
|
* :persistent => true)
|
125
134
|
*
|
126
|
-
*
|
127
|
-
*
|
135
|
+
* #それぞれのレコードに512バイトの値を格納できる無名一時テー
|
136
|
+
* #ブルを生成する。
|
128
137
|
* Groonga::PatriciaTrie.create(:value => 512)
|
129
138
|
*
|
130
|
-
*
|
139
|
+
* #キーとして文字列を使用する無名一時テーブルを生成する。
|
131
140
|
* Groonga::PatriciaTrie.create(:key_type => Groonga::Type::SHORT_TEXT)
|
132
141
|
*
|
133
|
-
*
|
134
|
-
*
|
142
|
+
* #キーとして文字列を使用する無名一時テーブルを生成する。
|
143
|
+
* #(キーの種類を表すオブジェクトは文字列で指定。)
|
135
144
|
* Groonga::PatriciaTrie.create(:key_type => "ShortText")
|
136
145
|
*
|
137
|
-
*
|
138
|
-
*
|
146
|
+
* #キーとして<tt>Bookmarks</tt>テーブルのレコードを使用す
|
147
|
+
* #る無名一時テーブルを生成する。
|
139
148
|
* bookmarks = Groonga::PatriciaTrie.create(:name => "Bookmarks")
|
140
149
|
* Groonga::PatriciaTrie.create(:key_type => bookmarks)
|
141
150
|
*
|
142
|
-
*
|
143
|
-
*
|
144
|
-
*
|
151
|
+
* #キーとして<tt>Bookmarks</tt>テーブルのレコードを使用す
|
152
|
+
* #る無名一時テーブルを生成する。
|
153
|
+
* #(テーブルは文字列で指定。)
|
145
154
|
* Groonga::PatriciaTrie.create(:name => "Bookmarks")
|
146
155
|
* Groonga::PatriciaTrie.create(:key_type => "Bookmarks")
|
147
156
|
*
|
148
|
-
*
|
149
|
-
*
|
157
|
+
* #全文検索用のトークンをバイグラムで切り出す無名一時テーブ
|
158
|
+
* #ルを生成する。
|
150
159
|
* bookmarks = Groonga::PatriciaTrie.create(:name => "Bookmarks")
|
151
160
|
* bookmarks.define_column("comment", "Text")
|
152
161
|
* terms = Groonga::PatriciaTrie.create(:name => "Terms",
|
@@ -237,22 +246,24 @@ rb_grn_patricia_trie_s_create (int argc, VALUE *argv, VALUE klass)
|
|
237
246
|
* call-seq:
|
238
247
|
* patricia_trie.search(key, options=nil) -> Groonga::Hash
|
239
248
|
*
|
240
|
-
* _key_にマッチするレコードのIDがキーに入っている
|
249
|
+
* _key_ にマッチするレコードのIDがキーに入っている
|
241
250
|
* Groonga::Hashを返す。マッチするレコードがない場合は空の
|
242
251
|
* Groonga::Hashが返る。
|
243
252
|
*
|
244
|
-
* _options_
|
253
|
+
* _options_ で +:result+ を指定することにより、そのテーブルにマッ
|
245
254
|
* チしたレコードIDがキーのレコードを追加することができる。
|
246
|
-
* +:result
|
255
|
+
* +:result+ にテーブルを指定した場合は、そのテーブルが返る。
|
247
256
|
*
|
248
|
-
* _options_に指定可能な値は以下の通り。
|
257
|
+
* _options_ に指定可能な値は以下の通り。
|
258
|
+
* @param options [::Hash] The name and value
|
259
|
+
* pairs. Omitted names are initialized as the default value.
|
260
|
+
* @option options :result The result
|
249
261
|
*
|
250
|
-
* [+:result+]
|
251
262
|
* 結果を格納するテーブル。
|
263
|
+
* @option options :operator (Groonga::Operator::OR)
|
252
264
|
*
|
253
|
-
* [+:operator+]
|
254
265
|
* マッチしたレコードをどのように扱うか。指定可能な値は以
|
255
|
-
*
|
266
|
+
* 下の通り。
|
256
267
|
*
|
257
268
|
* [Groonga::Operator::OR]
|
258
269
|
* マッチしたレコードを追加。すでにレコードが追加され
|
@@ -332,7 +343,7 @@ rb_grn_patricia_trie_search (int argc, VALUE *argv, VALUE self)
|
|
332
343
|
* patricia_trie.scan(string) -> Array
|
333
344
|
* patricia_trie.scan(string) {|record, word, start, length| ... }
|
334
345
|
*
|
335
|
-
* _string_を走査し、_patricia_trie_内に格納されているキーに
|
346
|
+
* _string_ を走査し、 _patricia_trie_ 内に格納されているキーに
|
336
347
|
* マッチした部分文字列の情報をブロックに渡す。複数のキーが
|
337
348
|
* マッチする場合は最長一致するキーを優先する。
|
338
349
|
*
|
@@ -343,10 +354,10 @@ rb_grn_patricia_trie_search (int argc, VALUE *argv, VALUE self)
|
|
343
354
|
* マッチした部分文字列。
|
344
355
|
*
|
345
356
|
* [_start_]
|
346
|
-
* _string_内での_word_の出現位置。(バイト単位)
|
357
|
+
* _string_ 内での _word_ の出現位置。(バイト単位)
|
347
358
|
*
|
348
359
|
* [_length_]
|
349
|
-
* _word_の長さ。(バイト単位)
|
360
|
+
* _word_ の長さ。(バイト単位)
|
350
361
|
*
|
351
362
|
* ブロックを指定しない場合は、マッチした部分文字列の情報を
|
352
363
|
* まとめて配列として返す。
|
@@ -437,7 +448,7 @@ rb_grn_patricia_trie_scan (VALUE self, VALUE rb_string)
|
|
437
448
|
* call-seq:
|
438
449
|
* patricia_trie.prefix_search(prefix) -> Groonga::Hash
|
439
450
|
*
|
440
|
-
* キーが_prefix_に前方一致するレコードのIDがキーに入っている
|
451
|
+
* キーが _prefix_ に前方一致するレコードのIDがキーに入っている
|
441
452
|
* Groonga::Hashを返す。マッチするレコードがない場合は空の
|
442
453
|
* Groonga::Hashが返る。
|
443
454
|
*
|
@@ -476,7 +487,7 @@ rb_grn_patricia_trie_prefix_search (VALUE self, VALUE rb_prefix)
|
|
476
487
|
* table.register_key_with_sis? -> true/false
|
477
488
|
*
|
478
489
|
* キーを登録するときに文字列の全suffixも一緒に登録する場合
|
479
|
-
*
|
490
|
+
* は +true+ 、登録しない場合は +false+ を返す。
|
480
491
|
*/
|
481
492
|
static VALUE
|
482
493
|
rb_grn_patricia_trie_register_key_with_sis_p (VALUE self)
|
@@ -591,44 +602,52 @@ rb_grn_patricia_trie_open_grn_prefix_cursor (int argc, VALUE *argv, VALUE self,
|
|
591
602
|
* table.open_prefix_cursor(prefix, options={}) -> Groonga::PatriciaTrieCursor
|
592
603
|
* table.open_prefix_cursor(prefix, options={}) {|cursor| ... }
|
593
604
|
*
|
594
|
-
* _prefix_に前方一致検索をするカーソルを生成して返す。ブロッ
|
605
|
+
* _prefix_ に前方一致検索をするカーソルを生成して返す。ブロッ
|
595
606
|
* クを指定すると、そのブロックに生成したカーソルが渡され、ブ
|
596
607
|
* ロックを抜けると自動的にカーソルが破棄される。
|
597
608
|
*
|
598
|
-
* _options_に指定可能な値は以下の通り。
|
609
|
+
* _options_ に指定可能な値は以下の通り。
|
610
|
+
* @param options [::Hash] The name and value
|
611
|
+
* pairs. Omitted names are initialized as the default value.
|
612
|
+
* @option options :key_bytes The key_bytes
|
599
613
|
*
|
600
|
-
*
|
601
|
-
* _prefix_のサイズ(byte)
|
614
|
+
* _prefix_ のサイズ(byte)
|
602
615
|
*
|
603
|
-
*
|
604
|
-
* _prefix_のサイズ(bit)
|
616
|
+
* @option options :key_bits The key_bits
|
605
617
|
*
|
606
|
-
*
|
607
|
-
*
|
618
|
+
* _prefix_ のサイズ(bit)
|
619
|
+
*
|
620
|
+
* @option options :offset The offset
|
621
|
+
*
|
622
|
+
* 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
|
608
623
|
* からレコードを取り出す。
|
609
624
|
*
|
610
|
-
*
|
611
|
-
*
|
625
|
+
* @option options :limit The limit
|
626
|
+
*
|
627
|
+
* 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
|
612
628
|
* 省略された場合または-1が指定された場合は、全件が指定され
|
613
629
|
* たものとみなす。
|
614
630
|
*
|
615
|
-
*
|
616
|
-
*
|
631
|
+
* @option options :order The order
|
632
|
+
*
|
633
|
+
* +:asc+ または +:ascending+ を指定すると昇順にレコードを取
|
617
634
|
* り出す。
|
618
|
-
* +:desc
|
635
|
+
* +:desc+ または +:descending+ を指定すると降順にレコードを
|
619
636
|
* 取り出す。
|
620
637
|
*
|
621
|
-
*
|
622
|
-
* +:id+を指定するとID順にレコードを取り出す。(デフォルト)
|
638
|
+
* @option options :order_by (:id) The order_by
|
623
639
|
*
|
640
|
+
* +:id+ を指定するとID順にレコードを取り出す。(デフォルト)
|
624
641
|
* +:key+指定するとキー順にレコードを取り出す。
|
625
642
|
*
|
626
|
-
*
|
627
|
-
*
|
643
|
+
* @option options :greater_than The greater_than
|
644
|
+
*
|
645
|
+
* +true+ を指定すると _prefix_ で指定した値に一致した [ +key+ ] を
|
628
646
|
* 範囲に含まない。
|
629
647
|
*
|
630
|
-
*
|
631
|
-
*
|
648
|
+
* @option options :less_than The less_than
|
649
|
+
*
|
650
|
+
* +true+ を指定すると _prefix_ で指定した値に一致した [ +key+ ] を
|
632
651
|
* 範囲に含まない。
|
633
652
|
*/
|
634
653
|
static VALUE
|
@@ -714,36 +733,43 @@ rb_grn_patricia_trie_open_grn_rk_cursor (int argc, VALUE *argv, VALUE self,
|
|
714
733
|
* table.open_rk_cursor(key, options={}) -> Groonga::PatriciaTrieCursor
|
715
734
|
* table.open_rk_cursor(key, options={}) {|cursor| ... }
|
716
735
|
*
|
717
|
-
* _table_のキーはカタカナである必要がある。また、エンコーディ
|
718
|
-
* ングはUTF-8である必要がある。ローマ字やひらがなで_key_を指
|
719
|
-
* 定しても、_key_に対応するカタカナのキーを検索するカーソル
|
736
|
+
* _table_ のキーはカタカナである必要がある。また、エンコーディ
|
737
|
+
* ングはUTF-8である必要がある。ローマ字やひらがなで _key_ を指
|
738
|
+
* 定しても、 _key_ に対応するカタカナのキーを検索するカーソル
|
720
739
|
* を生成して返す。ブロックを指定すると、そのブロックに生成し
|
721
740
|
* たカーソルが渡され、ブロックを抜けると自動的にカーソルが破
|
722
741
|
* 棄される。
|
723
742
|
*
|
724
|
-
* _options_に指定可能な値は以下の通り。
|
743
|
+
* _options_ に指定可能な値は以下の通り。
|
744
|
+
* @param options [::Hash] The name and value
|
745
|
+
* pairs. Omitted names are initialized as the default value.
|
746
|
+
* @option options :key_bytes The key_bytes
|
725
747
|
*
|
726
|
-
* [+:key_bytes+]
|
727
748
|
* _key_のサイズ(byte)
|
728
749
|
*
|
729
|
-
*
|
750
|
+
* @option options :key_bits The key_bits
|
751
|
+
*
|
730
752
|
* _key_のサイズ(bit)(現在は未サポート)
|
731
753
|
*
|
732
|
-
*
|
754
|
+
* @option options :offset The offset
|
755
|
+
*
|
733
756
|
* 該当する範囲のレコードのうち、(0ベースで)_:offset_番目
|
734
757
|
* からレコードを取り出す。
|
735
758
|
*
|
736
|
-
*
|
737
|
-
*
|
759
|
+
* @option options :limit The limit
|
760
|
+
*
|
761
|
+
* 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
|
738
762
|
* 省略された場合または-1が指定された場合は、全件が指定され
|
739
763
|
* たものとみなす。
|
740
764
|
*
|
741
|
-
*
|
742
|
-
*
|
765
|
+
* @option options :greater_than The greater_than
|
766
|
+
*
|
767
|
+
* +true+ を指定すると _key_ で指定した値に一致した [ +key+ ] を
|
743
768
|
* 範囲に含まない。
|
744
769
|
*
|
745
|
-
*
|
746
|
-
*
|
770
|
+
* @option options :less_than The less_than
|
771
|
+
*
|
772
|
+
* +true+ を指定すると _key_ で指定した値に一致した [ +key+ ] を
|
747
773
|
* 範囲に含まない。
|
748
774
|
*/
|
749
775
|
static VALUE
|
@@ -829,30 +855,36 @@ rb_grn_patricia_trie_open_grn_near_cursor (int argc, VALUE *argv, VALUE self,
|
|
829
855
|
* table.open_near_cursor(key, options={}) -> Groonga::PatriciaTrieCursor
|
830
856
|
* table.open_near_cursor(key, options={}) {|cursor| ... }
|
831
857
|
*
|
832
|
-
* _key_に近い順にレコードを取り出すカーソルを生成して返す。
|
858
|
+
* _key_ に近い順にレコードを取り出すカーソルを生成して返す。
|
833
859
|
* ブロックを指定すると、そのブロックに生成したカーソルが渡さ
|
834
860
|
* れ、ブロックを抜けると自動的にカーソルが破棄される。
|
835
861
|
*
|
836
|
-
* _options_に指定可能な値は以下の通り。
|
862
|
+
* _options_ に指定可能な値は以下の通り。
|
863
|
+
* @param options [::Hash] The name and value
|
864
|
+
* pairs. Omitted names are initialized as the default value.
|
865
|
+
* @option options :size The size
|
837
866
|
*
|
838
|
-
* [+:size+]
|
839
867
|
* _size_バイト以降のデータが同じキーのレコードに限定する。
|
840
868
|
*
|
841
|
-
*
|
869
|
+
* @option options :offset The offset
|
870
|
+
*
|
842
871
|
* 該当する範囲のレコードのうち、(0ベースで)_:offset_番目
|
843
872
|
* からレコードを取り出す。
|
844
873
|
*
|
845
|
-
*
|
874
|
+
* @option options :limit The limit
|
875
|
+
*
|
846
876
|
* 該当する範囲のレコードのうち、_:limit_件のみを取り出す。
|
847
877
|
* 省略された場合または-1が指定された場合は、全件が指定され
|
848
878
|
* たものとみなす。
|
849
879
|
*
|
850
|
-
*
|
851
|
-
*
|
880
|
+
* @option options :greater_than The greater_than
|
881
|
+
*
|
882
|
+
* +true+ を指定すると _key_ で指定した値に一致した [ +key+ ] を
|
852
883
|
* 範囲に含まない。
|
853
884
|
*
|
854
|
-
*
|
855
|
-
*
|
885
|
+
* @option options :less_than
|
886
|
+
*
|
887
|
+
* +true+ を指定すると _key_ で指定した値に一致した [ +key+ ] を
|
856
888
|
* 範囲に含まない。
|
857
889
|
*/
|
858
890
|
static VALUE
|
data/ext/groonga/rb-grn-plugin.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* -*- c-file-style: "ruby" -*- */
|
1
|
+
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
@@ -71,16 +71,17 @@ rb_grn_plugin_alloc (VALUE klass)
|
|
71
71
|
*
|
72
72
|
* 既存のプラグインをデータベースに登録する。
|
73
73
|
*
|
74
|
-
* _name_を指定した場合はその名前のプラグインを登録する。
|
74
|
+
* _name_ を指定した場合はその名前のプラグインを登録する。
|
75
75
|
*
|
76
|
-
* _path_を指定した場合はそのパスのプラグインを登録する。
|
76
|
+
* _path_ を指定した場合はそのパスのプラグインを登録する。
|
77
77
|
*
|
78
|
-
* _options_にはハッシュでオプションを指定する。指定できるオ
|
78
|
+
* _options_ にはハッシュでオプションを指定する。指定できるオ
|
79
79
|
* プションは以下の通り。
|
80
|
+
* @param options [::Hash] The name and value
|
81
|
+
* pairs. Omitted names are initialized as the default value.
|
82
|
+
* @option options :context (Groonga::Context.default) The context
|
80
83
|
*
|
81
|
-
*
|
82
|
-
* データベースを結びつけるコンテキスト。省略すると
|
83
|
-
* Groonga::Context.defaultを利用する。
|
84
|
+
* データベースを結びつけるコンテキスト。
|
84
85
|
*/
|
85
86
|
static VALUE
|
86
87
|
rb_grn_plugin_s_register (int argc, VALUE *argv, VALUE klass)
|
data/ext/groonga/rb-grn-query.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* -*- c-file-style: "ruby" -*- */
|
1
|
+
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
@@ -132,17 +132,17 @@ rb_grn_operator_from_ruby_object (VALUE rb_operator)
|
|
132
132
|
* call-seq:
|
133
133
|
* query.new(string, options={})
|
134
134
|
*
|
135
|
-
* _string_をパースした上で、クエリを作成する。作成されたオ
|
135
|
+
* _string_ をパースした上で、クエリを作成する。作成されたオ
|
136
136
|
* ブジェクトはGroonga::IndexColumn#searchに渡すことで使用す
|
137
137
|
* ることができる。
|
138
138
|
*
|
139
|
-
* _options_に指定可能な値は以下の通り。
|
139
|
+
* _options_ に指定可能な値は以下の通り。
|
140
|
+
* @param options [::Hash] The name and value
|
141
|
+
* pairs. Omitted names are initialized as the default value.
|
142
|
+
* @option options :context (Groonga::Context.default) The context
|
143
|
+
* クエリが利用するGroonga::Context。
|
140
144
|
*
|
141
|
-
*
|
142
|
-
* クエリが利用するGroonga::Context。省略すると
|
143
|
-
* Groonga::Context.defaultを用いる。
|
144
|
-
*
|
145
|
-
* [+:default_operator+]
|
145
|
+
* @option options :default_operator The default_operator
|
146
146
|
* 演算子の既定値(演算子を省略した場合にどの演算を行うか)
|
147
147
|
* を指定する。
|
148
148
|
*
|
@@ -153,7 +153,7 @@ rb_grn_operator_from_ruby_object (VALUE rb_operator)
|
|
153
153
|
* (FIXME: 挙動の違いを検証する必要性あり?
|
154
154
|
* Groonga::Expressionとの関連性は?)
|
155
155
|
*
|
156
|
-
*
|
156
|
+
* @option options :max_expressions
|
157
157
|
* 検索クエリに指定する式の最大値を指定する。
|
158
158
|
*/
|
159
159
|
static VALUE
|
@@ -206,7 +206,7 @@ rb_grn_query_initialize (int argc, VALUE *argv, VALUE self)
|
|
206
206
|
* call-seq:
|
207
207
|
* query.close
|
208
208
|
*
|
209
|
-
* _query_が使用しているリソースを開放する。これ以降_query_を
|
209
|
+
* _query_ が使用しているリソースを開放する。これ以降 _query_ を
|
210
210
|
* 使うことはできない。
|
211
211
|
*/
|
212
212
|
static VALUE
|
@@ -230,8 +230,8 @@ rb_grn_query_close (VALUE self)
|
|
230
230
|
* call-seq:
|
231
231
|
* query.closed? -> true/false
|
232
232
|
*
|
233
|
-
* _query_
|
234
|
-
* +false
|
233
|
+
* _query_ が開放済みの場合は +true+ を返し、そうでない場合は
|
234
|
+
* +false+ を返す。
|
235
235
|
*/
|
236
236
|
static VALUE
|
237
237
|
rb_grn_query_closed_p (VALUE self)
|
data/ext/groonga/rb-grn-record.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* -*- c-file-style: "ruby" -*- */
|
1
|
+
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2010 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
@@ -103,35 +103,39 @@ rb_grn_snippet_alloc (VALUE klass)
|
|
103
103
|
* call-seq:
|
104
104
|
* Groonga::Snippet.new(options={})
|
105
105
|
*
|
106
|
-
* スニペットを作成する。_options_に指定可能な値は以下の通
|
106
|
+
* スニペットを作成する。 _options_ に指定可能な値は以下の通
|
107
107
|
* り。
|
108
|
+
* @param options [::Hash] The name and value
|
109
|
+
* pairs. Omitted names are initialized as the default value.
|
110
|
+
* @option options :context (Groonga::Context.default) The context
|
108
111
|
*
|
109
|
-
* [+:context+]
|
110
112
|
* スキーマ作成時に使用するGroonga::Contextを指定する。
|
111
|
-
* 省略した場合はGroonga::Context.defaultを使用する。
|
112
113
|
*
|
113
|
-
*
|
114
|
+
* @option options :normalize The normalize
|
115
|
+
*
|
114
116
|
* キーワード文字列・スニペット元の文字列を正規化するかど
|
115
|
-
*
|
117
|
+
* うか。省略した場合は +false+ で正規化しない。
|
118
|
+
*
|
119
|
+
* @option options :skip_leading_spaces (false) The skip_leading_spaces
|
116
120
|
*
|
117
|
-
*
|
118
|
-
* 先頭の空白を無視するかどうか。省略した場合は+false+で無
|
121
|
+
* 先頭の空白を無視するかどうか。省略した場合は で無
|
119
122
|
* 視しない。
|
120
123
|
*
|
121
|
-
*
|
124
|
+
* @option options :width (100) The width
|
125
|
+
*
|
122
126
|
* スニペット文字列の長さ。省略した場合は100文字。
|
123
127
|
*
|
124
|
-
*
|
128
|
+
* @option options :max_results (3) The max_results
|
125
129
|
* 生成するスニペットの最大数。省略した場合は3。
|
126
130
|
*
|
127
|
-
*
|
131
|
+
* @option options :html_escape (false) The html_escape
|
128
132
|
* スニペット内の+<+, +>+, +&+, +"+をHTMLエスケープするか
|
129
133
|
* どうか。省略した場合は+false+で、HTMLエスケープしない。
|
130
134
|
*
|
131
|
-
*
|
135
|
+
* @option options :default_open_tag ("") The default_open_tag
|
132
136
|
* デフォルトの開始タグ。省略した場合は""(空文字列)
|
133
137
|
*
|
134
|
-
*
|
138
|
+
* @option options :default_close_tag ("") The default_close_tag
|
135
139
|
* デフォルトの終了タグ。省略した場合は""(空文字列)
|
136
140
|
*/
|
137
141
|
static VALUE
|
@@ -213,14 +217,17 @@ rb_grn_snippet_initialize (int argc, VALUE *argv, VALUE self)
|
|
213
217
|
* call-seq:
|
214
218
|
* snippet.add_keyword(keyword, options={})
|
215
219
|
*
|
216
|
-
* _keyword_を追加する。_options_
|
217
|
-
*
|
220
|
+
* _keyword_ を追加する。 _options_ に指定可能な値は
|
221
|
+
* 以下の通り。
|
222
|
+
* @param options [::Hash] The name and value
|
223
|
+
* pairs. Omitted names are initialized as the default value.
|
224
|
+
* @option options :open_tag (default_open_tag) The open_tag
|
218
225
|
*
|
219
|
-
* [+:open_tag+]
|
220
226
|
* 開始タグ。省略した場合はGroonga::Snippet.newで指定し
|
221
227
|
* た+:default_open_tag+。
|
222
228
|
*
|
223
|
-
*
|
229
|
+
* @option options :close_tag (:default_close_tag) The close_tag
|
230
|
+
*
|
224
231
|
* 終了タグ。省略した場合はGroonga::Snippet.newで指定し
|
225
232
|
* た+:default_close_tag+。
|
226
233
|
*/
|
@@ -276,7 +283,7 @@ rb_grn_snippet_add_keyword (int argc, VALUE *argv, VALUE self)
|
|
276
283
|
* call-seq:
|
277
284
|
* snippet.execute(string) -> スニペットの配列
|
278
285
|
*
|
279
|
-
* _string_を走査し、スニペットを作成する。
|
286
|
+
* _string_ を走査し、スニペットを作成する。
|
280
287
|
*/
|
281
288
|
static VALUE
|
282
289
|
rb_grn_snippet_execute (VALUE self, VALUE rb_string)
|
@@ -339,7 +346,7 @@ rb_grn_snippet_execute (VALUE self, VALUE rb_string)
|
|
339
346
|
* call-seq:
|
340
347
|
* snippet.close
|
341
348
|
*
|
342
|
-
* _snippet_が使用しているリソースを開放する。これ以降_snippet_を
|
349
|
+
* _snippet_ が使用しているリソースを開放する。これ以降 _snippet_ を
|
343
350
|
* 使うことはできない。
|
344
351
|
*/
|
345
352
|
static VALUE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* -*- c-file-style: "ruby" -*- */
|
1
|
+
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2011 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
@@ -270,8 +270,8 @@ rb_grn_table_cursor_each (VALUE self)
|
|
270
270
|
* call-seq:
|
271
271
|
* cursor.closed? -> true/false
|
272
272
|
*
|
273
|
-
*
|
274
|
-
* +false
|
273
|
+
* カーソルが開放済みの場合は +true+ を返し、そうでない場合は
|
274
|
+
* +false+ を返す。
|
275
275
|
*/
|
276
276
|
|
277
277
|
void
|
@@ -303,5 +303,6 @@ rb_grn_init_table_cursor (VALUE mGrn)
|
|
303
303
|
rb_grn_init_array_cursor(mGrn);
|
304
304
|
rb_grn_init_hash_cursor(mGrn);
|
305
305
|
rb_grn_init_patricia_trie_cursor(mGrn);
|
306
|
+
rb_grn_init_double_array_trie_cursor(mGrn);
|
306
307
|
rb_grn_init_view_cursor(mGrn);
|
307
308
|
}
|