rroonga 1.3.0-x86-mingw32 → 1.3.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +33 -2
- data/benchmark/common.rb +2 -2
- data/benchmark/read-write-many-small-items.rb +71 -62
- data/benchmark/write-many-small-items.rb +61 -53
- data/ext/groonga/rb-grn-context.c +23 -5
- data/ext/groonga/rb-grn-index-column.c +2 -6
- data/ext/groonga/rb-grn-operator.c +31 -1
- data/ext/groonga/rb-grn-variable-size-column.c +77 -1
- data/ext/groonga/rb-grn.h +2 -11
- data/ext/groonga/rb-groonga.c +1 -2
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/command.rb +169 -0
- data/lib/groonga/context.rb +4 -124
- data/lib/groonga/dumper.rb +10 -8
- data/lib/groonga/record.rb +7 -0
- data/lib/groonga/schema.rb +98 -7
- data/rroonga-build.rb +3 -3
- data/test/{test-context-select.rb → test-command-select.rb} +3 -3
- data/test/test-record.rb +18 -1
- data/test/test-schema-dumper.rb +48 -0
- data/test/test-schema-type.rb +35 -0
- data/test/test-schema.rb +81 -11
- data/test/test-table-select.rb +49 -38
- data/test/test-variable-size-column.rb +30 -0
- data/vendor/local/bin/grntest.exe +0 -0
- 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.exe +0 -0
- data/vendor/local/include/groonga/groonga/plugin.h +3 -2
- data/vendor/local/include/groonga/groonga.h +106 -78
- 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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +5 -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/_sources/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +4 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +102 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +130 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/output.txt +164 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/type.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +13 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +5 -5
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +11 -7
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +60 -52
- 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 +38 -35
- 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 +38 -38
- 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 +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +38 -36
- 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 +14 -12
- 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 +7 -7
- 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 +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution.html +15 -13
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/expr.html +25 -25
- 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 +71 -36
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +53 -33
- 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 +22 -22
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +92 -87
- data/vendor/local/share/doc/groonga/en/html/install.html +109 -40
- data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/log.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news.html +233 -112
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +302 -0
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference.html +59 -55
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/spec.html +11 -11
- 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 +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -12
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +124 -164
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/type.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +4 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +102 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +130 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/output.txt +164 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/type.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +13 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +11 -7
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +55 -47
- 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 +38 -35
- 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 +38 -38
- 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 +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +38 -36
- 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 +10 -8
- 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 +7 -7
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/expr.html +25 -25
- 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 +71 -36
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +53 -33
- 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 +22 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -79
- data/vendor/local/share/doc/groonga/ja/html/install.html +92 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/log.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news.html +202 -99
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference.html +59 -55
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +93 -115
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/type.html +31 -31
- data/vendor/local/share/doc/groonga/source/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/source/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/source/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/source/community.txt +4 -3
- data/vendor/local/share/doc/groonga/source/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +8 -8
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +3 -15
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +2 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -7
- data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/source/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/source/index.txt +2 -2
- data/vendor/local/share/doc/groonga/source/install.txt +102 -27
- data/vendor/local/share/doc/groonga/source/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/source/news.txt +130 -21
- data/vendor/local/share/doc/groonga/source/output.txt +164 -0
- data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/source/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/source/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/source/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/source/type.txt +3 -3
- data/vendor/local/share/groonga/examples/dictionary/html/js/dictionary.js +1 -0
- data/vendor/local/share/groonga/html/admin/index.html +40 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +6 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot.license.txt +22 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +560 -138
- data/vendor/local/share/man/man1/groonga.1 +637 -223
- metadata +887 -898
- data/ext/groonga/Makefile +0 -184
- data/ext/groonga/rb-grn-query.c +0 -260
- data/test/test-query.rb +0 -22
@@ -5,9 +5,9 @@
|
|
5
5
|
Install
|
6
6
|
=======
|
7
7
|
|
8
|
-
|
8
|
+
This section describes how to install groonga on each environment.
|
9
9
|
|
10
|
-
We distribute
|
10
|
+
We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.
|
11
11
|
|
12
12
|
|
13
13
|
Debian GNU/Linux squeeze
|
@@ -24,6 +24,12 @@ Install::
|
|
24
24
|
% sudo aptitude update
|
25
25
|
% sudo aptitude -V -D -y install groonga
|
26
26
|
|
27
|
+
There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
|
28
|
+
|
29
|
+
Install groonga-munin-plugins package::
|
30
|
+
|
31
|
+
% sudo aptitude -V -D -y install groonga-munin-plugins
|
32
|
+
|
27
33
|
Debian GNU/Linux wheezy
|
28
34
|
-----------------------
|
29
35
|
|
@@ -38,6 +44,10 @@ Install::
|
|
38
44
|
% sudo aptitude update
|
39
45
|
% sudo aptitude -V -D -y install groonga
|
40
46
|
|
47
|
+
Install groonga-munin-plugins package::
|
48
|
+
|
49
|
+
% sudo aptitude -V -D -y install groonga-munin-plugins
|
50
|
+
|
41
51
|
Debian GNU/Linux sid
|
42
52
|
--------------------
|
43
53
|
|
@@ -52,13 +62,17 @@ Install::
|
|
52
62
|
% sudo aptitude update
|
53
63
|
% sudo aptitude -V -D -y install groonga
|
54
64
|
|
65
|
+
Install groonga-munin-plugins package::
|
66
|
+
|
67
|
+
% sudo aptitude -V -D -y install groonga-munin-plugins
|
68
|
+
|
55
69
|
Ubuntu 10.04 LTS Lucid Lynx
|
56
70
|
---------------------------
|
57
71
|
|
58
72
|
.. note::
|
59
73
|
|
60
|
-
You
|
61
|
-
|
74
|
+
You'll need to enable the universe repository of Ubuntu to install groonga.
|
75
|
+
The following describes how to do it.
|
62
76
|
|
63
77
|
/etc/apt/sources.list.d/groonga.list::
|
64
78
|
|
@@ -68,16 +82,20 @@ Ubuntu 10.04 LTS Lucid Lynx
|
|
68
82
|
Install::
|
69
83
|
|
70
84
|
% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
|
71
|
-
% sudo
|
72
|
-
% sudo
|
85
|
+
% sudo apt-get update
|
86
|
+
% sudo apt-get -y install groonga
|
87
|
+
|
88
|
+
Install groonga-munin-plugins package::
|
89
|
+
|
90
|
+
% sudo apt-get -y install groonga-munin-plugins
|
73
91
|
|
74
92
|
Ubuntu 11.04 Natty Narwhal
|
75
93
|
--------------------------
|
76
94
|
|
77
95
|
.. note::
|
78
96
|
|
79
|
-
You
|
80
|
-
|
97
|
+
You'll need to enable the universe repository of Ubuntu to install groonga.
|
98
|
+
The following describes how to do it.
|
81
99
|
|
82
100
|
/etc/apt/sources.list.d/groonga.list::
|
83
101
|
|
@@ -87,16 +105,20 @@ Ubuntu 11.04 Natty Narwhal
|
|
87
105
|
Install::
|
88
106
|
|
89
107
|
% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
|
90
|
-
% sudo
|
91
|
-
% sudo
|
108
|
+
% sudo apt-get update
|
109
|
+
% sudo apt-get -y install groonga
|
110
|
+
|
111
|
+
Install groonga-munin-plugins package::
|
112
|
+
|
113
|
+
% sudo apt-get -y install groonga-munin-plugins
|
92
114
|
|
93
115
|
Ubuntu 11.10 Oneiric Ocelot
|
94
116
|
---------------------------
|
95
117
|
|
96
118
|
.. note::
|
97
119
|
|
98
|
-
You
|
99
|
-
|
120
|
+
You'll need to enable the universe repository of Ubuntu to install groonga.
|
121
|
+
The following describes how to do it.
|
100
122
|
|
101
123
|
/etc/apt/sources.list.d/groonga.list::
|
102
124
|
|
@@ -106,8 +128,12 @@ Ubuntu 11.10 Oneiric Ocelot
|
|
106
128
|
Install::
|
107
129
|
|
108
130
|
% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
|
109
|
-
% sudo
|
110
|
-
% sudo
|
131
|
+
% sudo apt-get update
|
132
|
+
% sudo apt-get -y install groonga
|
133
|
+
|
134
|
+
Install groonga-munin-plugins package::
|
135
|
+
|
136
|
+
% sudo apt-get -y install groonga-munin-plugins
|
111
137
|
|
112
138
|
CentOS 5
|
113
139
|
--------
|
@@ -118,6 +144,29 @@ Install::
|
|
118
144
|
% sudo yum update
|
119
145
|
% sudo yum install -y groonga
|
120
146
|
|
147
|
+
There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
|
148
|
+
|
149
|
+
.. note::
|
150
|
+
|
151
|
+
Groonga-munin-plugins package requires munin-node package that isn't included in the official CentOS repository. You need to enable `RPMforge <http://repoforge.org/>`_ repository or `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository to install it by yum.
|
152
|
+
|
153
|
+
Enable RPMforge repository on i386 environment::
|
154
|
+
|
155
|
+
% sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
|
156
|
+
|
157
|
+
Enable RPMforge repository on x86_64 environment::
|
158
|
+
|
159
|
+
% sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
|
160
|
+
|
161
|
+
Enable EPEL repository on any environment::
|
162
|
+
|
163
|
+
% sudo rpm -ivh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
|
164
|
+
|
165
|
+
Install groonga-munin-plugins package::
|
166
|
+
|
167
|
+
% sudo yum update
|
168
|
+
% sudo yum install -y groonga-munin-plugins
|
169
|
+
|
121
170
|
CentOS 6
|
122
171
|
--------
|
123
172
|
|
@@ -127,7 +176,30 @@ Install::
|
|
127
176
|
% sudo yum update
|
128
177
|
% sudo yum install -y groonga
|
129
178
|
|
130
|
-
|
179
|
+
There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
|
180
|
+
|
181
|
+
.. note::
|
182
|
+
|
183
|
+
Groonga-munin-plugins package requires munin-node package that isn't included in the official CentOS repository. You need to enable `RPMforge <http://repoforge.org/>`_ repository or `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository to install it by yum.
|
184
|
+
|
185
|
+
Enable RPMforge repository on i686 environment::
|
186
|
+
|
187
|
+
% sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
|
188
|
+
|
189
|
+
Enable RPMforge repository on x86_64 environment::
|
190
|
+
|
191
|
+
% sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
|
192
|
+
|
193
|
+
Enable EPEL repository on any environment::
|
194
|
+
|
195
|
+
% sudo rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
|
196
|
+
|
197
|
+
Install groonga-munin-plugins package::
|
198
|
+
|
199
|
+
% sudo yum update
|
200
|
+
% sudo yum install -y groonga-munin-plugins
|
201
|
+
|
202
|
+
Fedora 16
|
131
203
|
---------
|
132
204
|
|
133
205
|
Install::
|
@@ -136,6 +208,12 @@ Install::
|
|
136
208
|
% sudo yum update
|
137
209
|
% sudo yum install -y groonga
|
138
210
|
|
211
|
+
There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
|
212
|
+
|
213
|
+
Install groonga-munin-plugins package::
|
214
|
+
|
215
|
+
% sudo yum install -y groonga-munin-plugins
|
216
|
+
|
139
217
|
Mac OS X (MacPorts)
|
140
218
|
-------------------
|
141
219
|
|
@@ -153,31 +231,28 @@ Install::
|
|
153
231
|
Windows (Installer)
|
154
232
|
-------------------
|
155
233
|
|
156
|
-
You just download installer (.exe file) from
|
234
|
+
You just download an installer (.exe file) from
|
157
235
|
`packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
|
158
236
|
and execute it.
|
159
237
|
|
160
238
|
Windows (zip)
|
161
239
|
-------------
|
162
240
|
|
163
|
-
You just download zip
|
241
|
+
You just download a zip file from
|
164
242
|
`packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
|
165
243
|
and extract it.
|
166
244
|
|
167
245
|
Others
|
168
246
|
------
|
169
247
|
|
170
|
-
If you
|
171
|
-
full-text search, you should install `MeCab <http://mecab.sourceforge.net/>`_
|
172
|
-
before you install groonga.
|
248
|
+
If you want to use a morphological analyzer for tokenization in full-text indexing, please install `MeCab <http://mecab.sourceforge.net/>`_ before installing groonga.
|
173
249
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
place to install, and run commands below-mentioned. ::
|
250
|
+
Then, download a tar.gz file from `packages.groonga.org/source/ <http://packages.groonga.org/source/groonga/>`_ and extract it. After that, please run the following command to install groonga.
|
251
|
+
|
252
|
+
Install::
|
178
253
|
|
179
254
|
./configure --prefix=/usr --localstatedir=/var && make && sudo make install
|
180
255
|
|
181
|
-
The "prefix" option
|
182
|
-
|
183
|
-
|
256
|
+
The "prefix" option specifies the path to install groonga. If you don't specify the install path, "/usr/local" is used. Please specify "/usr" if you are not familiar with environment variables such as LD_LIBRARY_PATH.
|
257
|
+
|
258
|
+
There are some `Munin <http://munin-monitoring.org/>`_ plugins in groonga package. You need to pass `--with-munin-plugins` option to install them.
|
@@ -2,18 +2,18 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
Limitations
|
6
|
+
===========
|
7
7
|
|
8
|
-
|
8
|
+
Groonga has some limitations.
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Limitations of indexing
|
11
|
+
-----------------------
|
12
12
|
|
13
|
-
|
13
|
+
A full-text index has the following limitations.
|
14
14
|
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
15
|
+
* The maximum number of records: 268,435,455 (more than 26 million)
|
16
|
+
* The maximum number of distinct terms: 268,435,455 (more than 26 million)
|
17
|
+
* The maximum index size: 256GBytes
|
18
18
|
|
19
|
-
|
19
|
+
Keep in mind that these limitations may vary depending on conditions.
|
@@ -5,52 +5,161 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-1-3-0:
|
9
|
+
|
10
|
+
Release 1.3.0 - 2012/01/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* Supported dynamic DB key table change by
|
17
|
+
GRN_DB_KEY=pat or GRN_DB_KEY=dat environment variable value.
|
18
|
+
* Added ``--with-default-db-key`` configure option that
|
19
|
+
specifies the default DB key table.
|
20
|
+
* Supported "" value for geo point data types. It's interpreted as "0x0".
|
21
|
+
* Added column name to cast error message.
|
22
|
+
* Inhibit file information for stdin on load error.
|
23
|
+
* Enabled write-strings warnings and suppress those
|
24
|
+
warnings. [Suggested by montywi]
|
25
|
+
* Marked MessagePack output format as supported. [#1215]
|
26
|
+
* Added ``const`` to ``void *`` of ``*_set_value()``.
|
27
|
+
* Enabled warning flags on C and C++.
|
28
|
+
* Supported ``--with-libevent`` without value configure option.
|
29
|
+
* ``grn_table_get()`` supported grn_db. [#1242]
|
30
|
+
* [rpm] Removed needless groogna-munin-plugins dependency
|
31
|
+
from groonga-server. [#1251] [Suggested by Masaharu IWAI]
|
32
|
+
* [rpm] Removed needless groogna-doc dependency
|
33
|
+
from groonga. [#1251] [Suggested by Masaharu IWAI]
|
34
|
+
* [dat] Supported repair by ``grn_dat_repair()``.
|
35
|
+
* ``grn_table_at()`` supported grn_db.
|
36
|
+
* [suggest] Removed unstable mark.
|
37
|
+
* [suggest][complete] Supported normalized value search in prefix-search.
|
38
|
+
* Added experimental offline index build. It's disabled by
|
39
|
+
default for now. You can enable it by
|
40
|
+
USE_OFFLINE_INDEXER=yes environment variable.
|
41
|
+
* Added internal API ``grn_obj_path_by_id()`` for mroonga.
|
42
|
+
* [suggest][httpd] Passed unknown parameters to groonga.
|
43
|
+
* [output][xml] Added a newline before ``</RESULT>`` for readability.
|
44
|
+
* [doc][output] Added documentation about output format type.
|
45
|
+
* Added ``table_rename``. [#1234]
|
46
|
+
* Added ``column_rename``. [#1234]
|
47
|
+
|
48
|
+
Thanks
|
49
|
+
^^^^^^
|
50
|
+
|
51
|
+
* montywi
|
52
|
+
* Masaharu IWAI
|
53
|
+
|
54
|
+
.. _release-1-2-9:
|
55
|
+
|
56
|
+
Release 1.2.9 - 2011/12/29
|
57
|
+
--------------------------
|
58
|
+
|
59
|
+
Improvements
|
60
|
+
^^^^^^^^^^^^
|
61
|
+
|
62
|
+
* Supported Fedora 16.
|
63
|
+
* Dropped Fedora 15 support.
|
64
|
+
* [groonga] Improved the default server ID address to work
|
65
|
+
on unresolved host name environment. [Reported by @uzulla]
|
66
|
+
* Supported MAP_HUGETLB.
|
67
|
+
* [admin] Supported throughput chart.
|
68
|
+
* Stopped adding nul character in ``grn_itoh()``. [#1194]
|
69
|
+
[Reported by SHIDARA Yoji]
|
70
|
+
* Added ``grn_obj_get_values()``.
|
71
|
+
* Added ``grn_obj_delete_by_id()``.
|
72
|
+
* Supported string vector column for query expansion. [#1216]
|
73
|
+
* Added ``--filter`` option to :doc:`/commands/delete` to delete
|
74
|
+
many record at once. [#1225]
|
75
|
+
* Supported approximate type customization for
|
76
|
+
:doc:`/functions/geo_in_circle` and :doc:`/functions/geo_distance`. [#1226]
|
77
|
+
* Made ``geo_distance2()`` and ``geo_distance3()`` are deprecated.
|
78
|
+
* Changed to use ``null`` instead of ``""`` for empty geo
|
79
|
+
point value in JSON output.
|
80
|
+
* Almost supported MessagePack output. [#1215] [Worked by SHIDARA Yoji]
|
81
|
+
* Added missing newlines after drilldown result tags in XML output.
|
82
|
+
* Supported truncate for grn_dat.
|
83
|
+
* Supported longest common prefix search by grn_dat.
|
84
|
+
|
85
|
+
Fixes
|
86
|
+
^^^^^
|
87
|
+
|
88
|
+
* [windows] Fixed inverted map type.
|
89
|
+
* Fixed -Wno- compiler flag detection. [Patch by Arnaud Fontaine]
|
90
|
+
* Fixed a problem that ``groonga --version`` reports wrongly
|
91
|
+
about MeCab. [#1209] [Patch by SHIDARA Yoji]
|
92
|
+
* Added missing lock into ``grn_obj_remove()``.
|
93
|
+
* Fixed Content-Type on error. [#1220] [Patch by SHIDARA Yoji]
|
94
|
+
* Fixed a problem that deleting SIS (Semi Infinite String)
|
95
|
+
may keep a garbage.
|
96
|
+
|
97
|
+
Thanks
|
98
|
+
^^^^^^
|
99
|
+
|
100
|
+
* @uzulla
|
101
|
+
* Arnaud Fontaine
|
102
|
+
* SHIDARA Yoji
|
103
|
+
|
8
104
|
.. _release-1-2-8:
|
9
105
|
|
10
106
|
Release 1.2.8 - 2011/11/29
|
11
107
|
--------------------------
|
12
108
|
|
109
|
+
Object, table and column renamings are supported! These
|
110
|
+
features require database re-creation. You can re-create your
|
111
|
+
database by the following command::
|
112
|
+
|
113
|
+
% groonga YOUR_DB dump > db.dump
|
114
|
+
% groonga -n YOUR_NEW_DB < db.dump
|
115
|
+
|
116
|
+
.. note::
|
117
|
+
|
118
|
+
Groonga 1.2.8 can open databases created by groonga 1.2.7
|
119
|
+
or earlier. But groonga 1.2.7 or earlier can't open
|
120
|
+
databases created by groonga 1.2.8 or later.
|
121
|
+
|
13
122
|
Improvements
|
14
123
|
^^^^^^^^^^^^
|
15
124
|
|
16
|
-
* [grntest] Removed
|
17
|
-
* [grntest] Added
|
18
|
-
* Fixed a crash bug when accessing zlib/lzo compressed
|
19
|
-
column. Note that compressed column access will leak memories. To
|
20
|
-
resolve this, we need to improve API. We will do it in the feature.
|
21
|
-
[GtiHub#5][GtiHub#6] [Reported by Takayuki Yamaguchi]
|
22
|
-
* Fix a bug that needless column values are cleared by delete.
|
125
|
+
* [grntest] Removed the upper limit to the number of bytes in one line.
|
126
|
+
* [grntest] Added ``--pid-path`` option.
|
23
127
|
* [deb] Enabled experimental zlib and lzo support.
|
24
128
|
* [rpm] Enabled experimental zlib and lzo support.
|
25
|
-
*
|
129
|
+
* Supports truncation. [#892]
|
26
130
|
* Enabled grn_dat that is a read lock free double array implementation.
|
27
131
|
* [pkg-config] Added groonga_version variable to groonga.pc.
|
28
|
-
* Re-supported
|
132
|
+
* Re-supported ``--disable-static``. [groonga-dev,00612]
|
29
133
|
[Suggested by Kenichi Aramaki]
|
30
134
|
* [munin] Stopped to install Munin plugins by default.
|
31
135
|
* Stopped to install RedHat platform related files by default.
|
32
|
-
*
|
136
|
+
* Supports object renaming. This requires DB re-creation. [#1167]
|
33
137
|
* [munin] Added a Munin plugin that measures throughput. [#1171]
|
34
138
|
* [geo] Improved geo_in_rectangle performance. The new
|
35
139
|
implementation will be 2x faster than the old
|
36
140
|
implementation in many cases. [#1173]
|
37
141
|
* [macports] Moved groonga's MacPorts to the official
|
38
142
|
repository. [Imported by Hiroshi Umemoto]
|
39
|
-
* [geo] Changed geo literal
|
40
|
-
|
41
|
-
*
|
42
|
-
|
143
|
+
* [geo] Changed the geo literal degree-to-msec conversion algorithm
|
144
|
+
to round-off from truncation.
|
145
|
+
* Supports a table defrag. It defrags variable size value columns in
|
146
|
+
the table. [#1175]
|
43
147
|
* Removed associated path on remove. [#1180]
|
44
|
-
* [deb]
|
45
|
-
* [rpm]
|
46
|
-
* [windows]
|
148
|
+
* [deb] Supports i386.
|
149
|
+
* [rpm] Supports i386.
|
150
|
+
* [windows] Supports x86.
|
47
151
|
|
48
152
|
Fixes
|
49
153
|
^^^^^
|
50
154
|
|
51
|
-
* Fixed a bug that
|
155
|
+
* Fixed a bug that groonga crashes when accessing a zlib/lzo compressed
|
156
|
+
column. Note that a compressed column access causes a memory leak. To
|
157
|
+
resolve this, we need to improve API. We will do it in the future.
|
158
|
+
[GtiHub#5][GtiHub#6] [Reported by Takayuki Yamaguchi]
|
159
|
+
* Fixed a bug that unrelated column values are cleared in deletion.
|
160
|
+
* Fixed a bug that a wrong index is used in sorting. [#766]
|
52
161
|
[Reported by Horikoshi Yuki]
|
53
|
-
* [libedit] Fixed a bug that
|
162
|
+
* [libedit] Fixed a bug that necessary initialization is
|
54
163
|
omitted. [GitHub#7] [Patch by SHIDARA Yoji]
|
55
164
|
* [doc] Fixed a typo in documentation. [GitHub#8] [Patch by zunda]
|
56
165
|
|
@@ -162,7 +271,7 @@ Release 1.2.4 - 2011/07/29
|
|
162
271
|
Improvements
|
163
272
|
^^^^^^^^^^^^
|
164
273
|
|
165
|
-
* Re-supported
|
274
|
+
* Re-supported ``*BSD``. (Reported by OBATA Akio)
|
166
275
|
* Improved sed related portability. (Suggested by OBATA Akio)
|
167
276
|
* Re-supported Visual C++ 2008.
|
168
277
|
* Supported :doc:`/commands/check` for hash table.
|
@@ -176,7 +285,7 @@ Fixes
|
|
176
285
|
^^^^^
|
177
286
|
|
178
287
|
* Fixed broken libedit support. (Reported by Daiki Ueno)
|
179
|
-
* Fixed source URL in
|
288
|
+
* Fixed source URL in ``*.spec`` (Reported by Daiki Ueno)
|
180
289
|
* Fixed patricia trie cursor returns wrong records.
|
181
290
|
* Added missing database lock clear for grn_obj_clear_lock()
|
182
291
|
for database.
|
@@ -0,0 +1,164 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Output
|
6
|
+
======
|
7
|
+
|
8
|
+
Groonga supports the following output format types:
|
9
|
+
|
10
|
+
* `JSON <http://www.json.org/>`_
|
11
|
+
* `XML <http://www.w3.org/XML/>`_
|
12
|
+
* TSV (Tab Separated Values)
|
13
|
+
* `MessagePack <http://msgpack.org/>`_
|
14
|
+
|
15
|
+
JSON is the default output format.
|
16
|
+
|
17
|
+
Usage
|
18
|
+
-----
|
19
|
+
|
20
|
+
Groonga has the following query interfaces:
|
21
|
+
|
22
|
+
* command line
|
23
|
+
* HTTP
|
24
|
+
|
25
|
+
They provides different ways to change output format type.
|
26
|
+
|
27
|
+
Command line
|
28
|
+
^^^^^^^^^^^^
|
29
|
+
|
30
|
+
You can use command line query interface by ``groonga
|
31
|
+
DB_PATH`` or ``groonga -c``. Those groonga commands shows
|
32
|
+
``> `` prompt. In this query interface, you can specify
|
33
|
+
output format type by ``output_type`` option.
|
34
|
+
|
35
|
+
If you don't specify ``output_type`` option, you will get
|
36
|
+
a result in JSON format::
|
37
|
+
|
38
|
+
> status
|
39
|
+
[[0,1327721628.10738,0.000131845474243164],{"alloc_count":142,"starttime":1327721626,"uptime":2,"version":"1.2.9-92-gb87d9f8","n_queries":0,"cache_hit_rate":0.0,"command_version":1,"default_command_version":1,"max_command_version":2}]
|
40
|
+
|
41
|
+
You can specify ``json`` as ``output_type`` value to get a
|
42
|
+
result in JSON format explicitly::
|
43
|
+
|
44
|
+
> status --output_type json
|
45
|
+
[[0,1327721639.08321,7.93933868408203e-05],{"alloc_count":144,"starttime":1327721626,"uptime":13,"version":"1.2.9-92-gb87d9f8","n_queries":0,"cache_hit_rate":0.0,"command_version":1,"default_command_version":1,"max_command_version":2}]
|
46
|
+
|
47
|
+
You need to specify ``xml`` as ``output_type`` value to
|
48
|
+
get a result in XML format::
|
49
|
+
|
50
|
+
> status --output_type xml
|
51
|
+
<?xml version="1.0" encoding="utf-8"?>
|
52
|
+
<RESULT CODE="0" UP="1327721649.61095" ELAPSED="0.000126361846923828">
|
53
|
+
<RESULT>
|
54
|
+
<TEXT>alloc_count</TEXT>
|
55
|
+
<INT>146</INT>
|
56
|
+
<TEXT>starttime</TEXT>
|
57
|
+
<INT>1327721626</INT>
|
58
|
+
<TEXT>uptime</TEXT>
|
59
|
+
<INT>23</INT>
|
60
|
+
<TEXT>version</TEXT>
|
61
|
+
<TEXT>1.2.9-92-gb87d9f8</TEXT>
|
62
|
+
<TEXT>n_queries</TEXT>
|
63
|
+
<INT>0</INT>
|
64
|
+
<TEXT>cache_hit_rate</TEXT>
|
65
|
+
<FLOAT>0.0</FLOAT>
|
66
|
+
<TEXT>command_version</TEXT>
|
67
|
+
<INT>1</INT>
|
68
|
+
<TEXT>default_command_version</TEXT>
|
69
|
+
<INT>1</INT>
|
70
|
+
<TEXT>max_command_version</TEXT>
|
71
|
+
<INT>2</INT></RESULT>
|
72
|
+
</RESULT>
|
73
|
+
|
74
|
+
You need to specify ``tsv`` as ``output_type`` value to
|
75
|
+
get a result in TSV format::
|
76
|
+
|
77
|
+
> status --output_type tsv
|
78
|
+
0 1327721664.82675 0.000113964080810547
|
79
|
+
"alloc_count" 146
|
80
|
+
"starttime" 1327721626
|
81
|
+
"uptime" 38
|
82
|
+
"version" "1.2.9-92-gb87d9f8"
|
83
|
+
"n_queries" 0
|
84
|
+
"cache_hit_rate" 0.0
|
85
|
+
"command_version" 1
|
86
|
+
"default_command_version" 1
|
87
|
+
"max_command_version" 2
|
88
|
+
END
|
89
|
+
|
90
|
+
|
91
|
+
You need to specify ``msgpack`` as ``output_type`` value to
|
92
|
+
get a result in MessagePack format::
|
93
|
+
|
94
|
+
> status --output_type msgpack
|
95
|
+
(... omitted because MessagePack is binary data format. ...)
|
96
|
+
|
97
|
+
HTTP
|
98
|
+
^^^^
|
99
|
+
|
100
|
+
You can use HTTP query interface by ``groonga --protocol
|
101
|
+
http -s DB_PATH``. Groonga HTTP server starts on port 10041
|
102
|
+
by default. In this query interface, you can specify
|
103
|
+
output format type by extension.
|
104
|
+
|
105
|
+
If you don't specify extension, you will get a result in
|
106
|
+
JSON format::
|
107
|
+
|
108
|
+
% curl http://localhost:10041/d/status
|
109
|
+
[[0,1327809294.54311,0.00082087516784668],{"alloc_count":155,"starttime":1327809282,"uptime":12,"version":"1.2.9-92-gb87d9f8","n_queries":0,"cache_hit_rate":0.0,"command_version":1,"default_command_version":1,"max_command_version":2}]
|
110
|
+
|
111
|
+
You can specify ``json`` as extension to get a result in
|
112
|
+
JSON format explicitly::
|
113
|
+
|
114
|
+
% curl http://localhost:10041/d/status.json
|
115
|
+
[[0,1327809319.01929,9.5367431640625e-05],{"alloc_count":157,"starttime":1327809282,"uptime":37,"version":"1.2.9-92-gb87d9f8","n_queries":0,"cache_hit_rate":0.0,"command_version":1,"default_command_version":1,"max_command_version":2}]
|
116
|
+
|
117
|
+
You need to specify ``xml`` as extension to get a result in
|
118
|
+
XML format::
|
119
|
+
|
120
|
+
% curl http://localhost:10041/d/status.xml
|
121
|
+
<?xml version="1.0" encoding="utf-8"?>
|
122
|
+
<RESULT CODE="0" UP="1327809339.5782" ELAPSED="9.56058502197266e-05">
|
123
|
+
<RESULT>
|
124
|
+
<TEXT>alloc_count</TEXT>
|
125
|
+
<INT>159</INT>
|
126
|
+
<TEXT>starttime</TEXT>
|
127
|
+
<INT>1327809282</INT>
|
128
|
+
<TEXT>uptime</TEXT>
|
129
|
+
<INT>57</INT>
|
130
|
+
<TEXT>version</TEXT>
|
131
|
+
<TEXT>1.2.9-92-gb87d9f8</TEXT>
|
132
|
+
<TEXT>n_queries</TEXT>
|
133
|
+
<INT>0</INT>
|
134
|
+
<TEXT>cache_hit_rate</TEXT>
|
135
|
+
<FLOAT>0.0</FLOAT>
|
136
|
+
<TEXT>command_version</TEXT>
|
137
|
+
<INT>1</INT>
|
138
|
+
<TEXT>default_command_version</TEXT>
|
139
|
+
<INT>1</INT>
|
140
|
+
<TEXT>max_command_version</TEXT>
|
141
|
+
<INT>2</INT></RESULT>
|
142
|
+
</RESULT>
|
143
|
+
|
144
|
+
You need to specify ``tsv`` as extension to get a result in
|
145
|
+
TSV format::
|
146
|
+
|
147
|
+
% curl http://localhost:10041/d/status.tsv
|
148
|
+
0 1327809366.84187 8.44001770019531e-05
|
149
|
+
"alloc_count" 159
|
150
|
+
"starttime" 1327809282
|
151
|
+
"uptime" 84
|
152
|
+
"version" "1.2.9-92-gb87d9f8"
|
153
|
+
"n_queries" 0
|
154
|
+
"cache_hit_rate" 0.0
|
155
|
+
"command_version" 1
|
156
|
+
"default_command_version" 1
|
157
|
+
"max_command_version" 2
|
158
|
+
END
|
159
|
+
|
160
|
+
You need to specify ``msgpack`` as extension to get a result
|
161
|
+
in MessagePack format::
|
162
|
+
|
163
|
+
% curl http://localhost:10041/d/status.msgpack
|
164
|
+
(... omitted because MessagePack is binary data format. ...)
|
@@ -4,6 +4,9 @@
|
|
4
4
|
|
5
5
|
.. groonga-include : introduction.txt
|
6
6
|
|
7
|
+
.. groonga-command
|
8
|
+
.. database: tutorial
|
9
|
+
|
7
10
|
さまざまな種類をもったデータの保存
|
8
11
|
==================================
|
9
12
|
|
@@ -19,8 +22,7 @@ groongaでは、数値(整数・小数)や文字列や時刻や経緯度な
|
|
19
22
|
その他のデータ型の一覧は、 :doc:`/type` を参照してください。
|
20
23
|
|
21
24
|
.. groonga-command
|
22
|
-
..
|
23
|
-
.. include:: ../example/tutorial/introduction-1.log
|
25
|
+
.. include:: ../example/tutorial/data-1.log
|
24
26
|
.. table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText
|
25
27
|
.. column_create --table Type --name number --type Int32
|
26
28
|
.. column_create --table Type --name float --type Float
|
@@ -43,7 +45,7 @@ table_createで作成したテーブルを、カラムの型として使うこ
|
|
43
45
|
他のテーブルを参照するカラムにデータを入力する場合には、参照先のテーブルの_keyカラムの値を代入する必要があります。
|
44
46
|
|
45
47
|
.. groonga-command
|
46
|
-
.. include:: ../example/tutorial/
|
48
|
+
.. include:: ../example/tutorial/data-2.log
|
47
49
|
.. column_create --table Site --name link --type Site
|
48
50
|
.. load --table Site
|
49
51
|
.. [{"_key":"http://example.org/","link":"http://example.net/"}]
|
@@ -65,7 +67,7 @@ column_createコマンドでカラムを作成するとき、--flagsオプショ
|
|
65
67
|
.. FIXME: _idの配列ではダメなのかどうか。検証する。
|
66
68
|
|
67
69
|
.. groonga-command
|
68
|
-
.. include:: ../example/tutorial/
|
70
|
+
.. include:: ../example/tutorial/data-3.log
|
69
71
|
.. column_create --table Site --name links --flags COLUMN_VECTOR --type Site
|
70
72
|
.. load --table Site
|
71
73
|
.. [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
|