rroonga 2.0.7-x86-mingw32 → 2.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/rroonga-build.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/synonyms.tsv +5 -0
- data/vendor/local/include/groonga/groonga.h +77 -4
- data/vendor/local/include/groonga/groonga/plugin.h +45 -15
- data/vendor/local/include/groonga/groonga/tokenizer.h +62 -12
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +41 -0
- 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/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.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 +2 -2
- 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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -3
- 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/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +42 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +96 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions.txt → en/html/_sources/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +214 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +42 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +26 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +17 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +47 -10
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +25 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +23 -13
- data/vendor/local/share/doc/groonga/en/html/news.html +175 -67
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{commands.html → command.html} +49 -44
- data/vendor/local/share/doc/groonga/en/html/reference/{command_version.html → command/command_version.html} +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +356 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +248 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +190 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +92 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{functions.html → function.html} +15 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +98 -16
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +303 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +138 -0
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +315 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/type.html +27 -27
- 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/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +19 -8
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +412 -0
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +42 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +96 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{source/reference/functions.txt → ja/html/_sources/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +214 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +42 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +63 -53
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +26 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +17 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +45 -10
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +25 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -11
- data/vendor/local/share/doc/groonga/ja/html/news.html +155 -68
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{commands.html → command.html} +48 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/{command_version.html → command/command_version.html} +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +331 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{functions.html → function.html} +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +96 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +281 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +139 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/type.html +27 -27
- 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/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +17 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +404 -0
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/source/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +28 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +17 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +28 -0
- data/vendor/local/share/doc/groonga/source/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/source/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +13 -3
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +42 -3
- data/vendor/local/share/doc/groonga/source/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/source/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/source/news.txt +96 -1
- data/vendor/local/share/doc/groonga/source/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/source/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/source/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/source/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/source/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions.txt → source/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +214 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +5 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +1589 -218
- data/vendor/local/share/man/man1/groonga.1 +1685 -190
- metadata +66 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands.txt +0 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands.txt +0 -15
- data/vendor/local/share/doc/groonga/source/reference/commands.txt +0 -15
@@ -17,12 +17,12 @@ size data.
|
|
17
17
|
Installer
|
18
18
|
---------
|
19
19
|
|
20
|
-
For 32-bit environment, download `groonga-2.0.
|
21
|
-
<http://packages.groonga.org/windows/groonga/groonga-2.0.
|
20
|
+
For 32-bit environment, download `groonga-2.0.9-x86.exe
|
21
|
+
<http://packages.groonga.org/windows/groonga/groonga-2.0.9-x86.exe>`_
|
22
22
|
and run it.
|
23
23
|
|
24
|
-
For 64-bit environment, download `groonga-2.0.
|
25
|
-
<http://packages.groonga.org/windows/groonga/groonga-2.0.
|
24
|
+
For 64-bit environment, download `groonga-2.0.9-x64.exe
|
25
|
+
<http://packages.groonga.org/windows/groonga/groonga-2.0.9-x64.exe>`_
|
26
26
|
and run it.
|
27
27
|
|
28
28
|
Use command prompt for :doc:`/reference/executables/groonga` installed in start menu.
|
@@ -30,12 +30,12 @@ Use command prompt for :doc:`/reference/executables/groonga` installed in start
|
|
30
30
|
zip
|
31
31
|
---
|
32
32
|
|
33
|
-
For 32-bit environment, download `groonga-2.0.
|
34
|
-
<http://packages.groonga.org/windows/groonga/groonga-2.0.
|
33
|
+
For 32-bit environment, download `groonga-2.0.9-x86.zip
|
34
|
+
<http://packages.groonga.org/windows/groonga/groonga-2.0.9-x86.zip>`_
|
35
35
|
and extract it.
|
36
36
|
|
37
|
-
For 64-bit environment, download `groonga-2.0.
|
38
|
-
<http://packages.groonga.org/windows/groonga/groonga-2.0.
|
37
|
+
For 64-bit environment, download `groonga-2.0.9-x64.zip
|
38
|
+
<http://packages.groonga.org/windows/groonga/groonga-2.0.9-x64.zip>`_
|
39
39
|
and extract it.
|
40
40
|
|
41
41
|
:doc:`/reference/executables/groonga` is in ``bin`` folder.
|
@@ -50,28 +50,38 @@ Windows. Here are required tools:
|
|
50
50
|
<http://www.microsoft.com/japan/msdn/vstudio/express/>`_
|
51
51
|
* `CMake <http://www.cmake.org/>`_
|
52
52
|
|
53
|
-
Download zipped source `groonga-2.0.
|
54
|
-
<http://packages.groonga.org/source/groonga/groonga-2.0.
|
53
|
+
Download zipped source `groonga-2.0.9.zip
|
54
|
+
<http://packages.groonga.org/source/groonga/groonga-2.0.9.zip>`_
|
55
55
|
and extract it.
|
56
56
|
|
57
57
|
Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
58
58
|
Visual Studio 2010 Express and move to the groonga's source folder::
|
59
59
|
|
60
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-2.0.
|
60
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-2.0.9
|
61
61
|
|
62
62
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
63
63
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
64
64
|
parameter instead::
|
65
65
|
|
66
|
-
groonga-2.0.
|
66
|
+
groonga-2.0.9> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
67
67
|
|
68
|
-
Build by Visual
|
68
|
+
Build by Visual C++ 2010 Express::
|
69
69
|
|
70
|
-
groonga-2.0.
|
70
|
+
groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release
|
71
71
|
|
72
|
-
Install::
|
72
|
+
Install by Visual C++ 2010 Express::
|
73
73
|
|
74
|
-
groonga-2.0.
|
74
|
+
groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release /t:Install
|
75
|
+
|
76
|
+
If you installed Visual Studio 2010, use can use devenv instead.
|
77
|
+
|
78
|
+
Build by Visual Studio 2010::
|
79
|
+
|
80
|
+
groonga-2.0.9> devenv groonga.sln /Build Release
|
81
|
+
|
82
|
+
Install by Visual Studio 2010::
|
83
|
+
|
84
|
+
groonga-2.0.9> devenv groonga.sln /Build Release /Project Install
|
75
85
|
|
76
86
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
77
87
|
``c:\groonga\bin\groonga.exe``.
|
@@ -7,13 +7,23 @@ Limitations
|
|
7
7
|
|
8
8
|
Groonga has some limitations.
|
9
9
|
|
10
|
+
Limitations of table
|
11
|
+
--------------------
|
12
|
+
|
13
|
+
A table has the following limitations.
|
14
|
+
|
15
|
+
* The maximum one key size: 4096Bytes
|
16
|
+
* The maximum total size of keys: 4GBytes
|
17
|
+
|
18
|
+
Keep in mind that these limitations may vary depending on conditions.
|
19
|
+
|
10
20
|
Limitations of indexing
|
11
21
|
-----------------------
|
12
22
|
|
13
23
|
A full-text index has the following limitations.
|
14
24
|
|
15
|
-
* The maximum number of records: 268,435,455 (more than
|
16
|
-
* The maximum number of distinct terms: 268,435,455 (more than
|
25
|
+
* The maximum number of records: 268,435,455 (more than 268 million)
|
26
|
+
* The maximum number of distinct terms: 268,435,455 (more than 268 million)
|
17
27
|
* The maximum index size: 256GBytes
|
18
28
|
|
19
29
|
Keep in mind that these limitations may vary depending on conditions.
|
@@ -5,7 +5,102 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
-
.. _release-2-0
|
8
|
+
.. _release-2-0-9:
|
9
|
+
|
10
|
+
Release 2.0.9 - 2012/11/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* Supported to calculate the value of distance accross border
|
17
|
+
in ``geo_distance`` with ``rectangle`` as approximate type. [#1534]
|
18
|
+
* [doc] Added the :doc:`/spec/gqtp` specification.
|
19
|
+
* Improved to ignore non critical ``getaddrinfo()`` error which groonga command emits on startup.
|
20
|
+
This change does not affects nomal use of groonga because it just checked whether default hostname
|
21
|
+
is resolved in previous version.
|
22
|
+
* [experimental] Added ``snippet_html()`` function which extract keyword and surrounding text.
|
23
|
+
See :doc:`/reference/functions/snippet_html` about details.
|
24
|
+
* Supported to report error reason when error occured during reading table record.
|
25
|
+
* Supported to search with keyword by nested index notation ( concatinate multiple
|
26
|
+
indexed column name with dot character ) if there is a relationship between
|
27
|
+
multiple table with index.
|
28
|
+
* Supported to log "[tokenizer][mecab]" tag when using ``TokenMecab`` tokenizer.
|
29
|
+
* Supported to log "[tokenizer][kytea]" tag when using ``TokenKyTea`` tokenizer.
|
30
|
+
* Improved to use separated array for command error location as output results.
|
31
|
+
This change is incompatibility change, but does not affects existing program.
|
32
|
+
* Added documentation for :doc:`/reference/command/output_format`.
|
33
|
+
* Added documentation for :doc:`/reference/command/return_code` of output results.
|
34
|
+
* Supported range search by using index.
|
35
|
+
|
36
|
+
Fixes
|
37
|
+
^^^^^
|
38
|
+
|
39
|
+
* Fixed to use network byte order for status code of :ref:`gqtp-header-spec` to follow
|
40
|
+
the normal network protocol convention.
|
41
|
+
This change affects that groonga <= 2.0.8 client which connects to groonga server 2.0.9
|
42
|
+
or later can not show status code properly when command failed.
|
43
|
+
* Fixed a bug that UTF-8 normalization computes wrong offset which affects to return value
|
44
|
+
of ``snippet_html()``. This change not to insert tag of snippet into invalid location.
|
45
|
+
[#1531] [Reported by Tomoatsu Shimada]
|
46
|
+
* [windows] Fixed over allocated memory access which cause segmentation fault
|
47
|
+
on startup by groonga command. [#1532] [Patch by Akio Tajima]
|
48
|
+
* [windows] Fixed a bug that data stored in column couldn't be read when total amount of data
|
49
|
+
stored in column exceeds 128MB. [groonga-dev,01088] [Reported by ongaeshi]
|
50
|
+
* Fixed a bug that searching with indexed column for ``Int*`` and ``UInt*``
|
51
|
+
except ``Int32/Uint32`` returns invalid results.
|
52
|
+
* Fixed a bug that deleting record can be found.
|
53
|
+
* Fixed a bug that latin1 and koi8r normalizations could not process all string data
|
54
|
+
if given string contains NULL character on the way.
|
55
|
+
* Fixed to return the correct default value of type when no data stored in column is
|
56
|
+
referenced by ``select`` command.
|
57
|
+
* Fixed to exclude the value of vector column metadata in :ref:`offline-index-construction`.
|
58
|
+
This change not to contain such a metadata as search results.
|
59
|
+
|
60
|
+
Thanks
|
61
|
+
^^^^^^
|
62
|
+
|
63
|
+
* Tomoatsu Shimada
|
64
|
+
* Akio Tajima
|
65
|
+
* ongaeshi
|
66
|
+
|
67
|
+
|
68
|
+
.. _release-2-0-8:
|
69
|
+
|
70
|
+
Release 2.0.8 - 2012/10/29
|
71
|
+
--------------------------
|
72
|
+
|
73
|
+
Improvements
|
74
|
+
^^^^^^^^^^^^
|
75
|
+
|
76
|
+
* [rpm] Improved the description of server-http and httpd packages.
|
77
|
+
[Suggested by Daiki Ueno]
|
78
|
+
* Supported custom query expansion by plugin.
|
79
|
+
* [experimental] Added query expander ``QueryExpanderTSV`` plugin.
|
80
|
+
* Supported Ubuntu 12.10 Quantal Quetzal
|
81
|
+
* [experimental] Supported function call in ``output_columns``.
|
82
|
+
* [doc][rpm] Add missing description about installing MeCab dictionary.
|
83
|
+
[Reported by serihiro]
|
84
|
+
|
85
|
+
Fixes
|
86
|
+
^^^^^
|
87
|
+
|
88
|
+
* [rpm] Fixed to remove needless "Requires" from spec file.
|
89
|
+
[Reported by Daiki Ueno]
|
90
|
+
* [rpm] Fixed inaccurate description about license of groonga-server-gqtp.
|
91
|
+
* [admin] Fixed record edit button shows wrong record. [GitHub#34]
|
92
|
+
[Reported by firewood]
|
93
|
+
* [deb] Fixed to remove needless dependency to pcre.
|
94
|
+
* [deb] Fixed to bundle missing table plugin.
|
95
|
+
|
96
|
+
Thanks
|
97
|
+
^^^^^^
|
98
|
+
|
99
|
+
* Daiki Ueno
|
100
|
+
* firewood
|
101
|
+
* serihiro
|
102
|
+
|
103
|
+
.. _release-2-0-7:
|
9
104
|
|
10
105
|
Release 2.0.7 - 2012/09/29
|
11
106
|
--------------------------
|
@@ -10,13 +10,13 @@
|
|
10
10
|
|
11
11
|
reference/executables
|
12
12
|
reference/output
|
13
|
-
reference/
|
14
|
-
reference/commands
|
13
|
+
reference/command
|
15
14
|
reference/type
|
16
15
|
reference/tokenizers
|
16
|
+
reference/query_expanders
|
17
17
|
reference/pseudo_column
|
18
18
|
reference/grn_expr
|
19
|
-
reference/
|
19
|
+
reference/function
|
20
20
|
reference/indexing
|
21
21
|
reference/log
|
22
22
|
reference/api
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Command
|
6
|
+
=======
|
7
|
+
|
8
|
+
Command is the most important processing unit in query API. You
|
9
|
+
request a processing to groonga by a command.
|
10
|
+
|
11
|
+
This section describes about command and built-in commands.
|
12
|
+
|
13
|
+
.. toctree::
|
14
|
+
:maxdepth: 1
|
15
|
+
:glob:
|
16
|
+
|
17
|
+
command/command_version
|
18
|
+
command/output_format
|
19
|
+
command/return_code
|
20
|
+
commands/*
|
File without changes
|
@@ -0,0 +1,228 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Output format
|
6
|
+
=============
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
Commands output their result as JSON, MessagePack, XML or TSV format.
|
12
|
+
|
13
|
+
JSON and MessagePack output have the same structure. XML and TSV are
|
14
|
+
their original structure.
|
15
|
+
|
16
|
+
JSON or MessagePack is recommend format. XML is useful for visual
|
17
|
+
result check. TSV is just for special use. Normally you doesn't need
|
18
|
+
to use TSV.
|
19
|
+
|
20
|
+
JSON and MessagePack
|
21
|
+
--------------------
|
22
|
+
|
23
|
+
This secsion describes the structure of command result on JSON and
|
24
|
+
MessagePack format. JSON is used to show structure because MessagePack
|
25
|
+
is binary format. Binary format isn't proper for documenataion.
|
26
|
+
|
27
|
+
JSON and MessagePack uses the following structure::
|
28
|
+
|
29
|
+
[HEADER, BODY]
|
30
|
+
|
31
|
+
For example::
|
32
|
+
|
33
|
+
[
|
34
|
+
[
|
35
|
+
0,
|
36
|
+
1337566253.89858,
|
37
|
+
0.000355720520019531
|
38
|
+
],
|
39
|
+
[
|
40
|
+
[
|
41
|
+
[
|
42
|
+
1
|
43
|
+
],
|
44
|
+
[
|
45
|
+
[
|
46
|
+
"_id",
|
47
|
+
"UInt32"
|
48
|
+
],
|
49
|
+
[
|
50
|
+
"_key",
|
51
|
+
"ShortText"
|
52
|
+
],
|
53
|
+
[
|
54
|
+
"content",
|
55
|
+
"Text"
|
56
|
+
],
|
57
|
+
[
|
58
|
+
"n_likes",
|
59
|
+
"UInt32"
|
60
|
+
]
|
61
|
+
],
|
62
|
+
[
|
63
|
+
2,
|
64
|
+
"Groonga",
|
65
|
+
"I started to use groonga. It's very fast!",
|
66
|
+
10
|
67
|
+
]
|
68
|
+
]
|
69
|
+
]
|
70
|
+
]
|
71
|
+
|
72
|
+
In the example, the following part is ``HEADER``::
|
73
|
+
|
74
|
+
[
|
75
|
+
0,
|
76
|
+
1337566253.89858,
|
77
|
+
0.000355720520019531
|
78
|
+
]
|
79
|
+
|
80
|
+
The following part is ``BODY``::
|
81
|
+
|
82
|
+
[
|
83
|
+
[
|
84
|
+
[
|
85
|
+
1
|
86
|
+
],
|
87
|
+
[
|
88
|
+
[
|
89
|
+
"_id",
|
90
|
+
"UInt32"
|
91
|
+
],
|
92
|
+
[
|
93
|
+
"_key",
|
94
|
+
"ShortText"
|
95
|
+
],
|
96
|
+
[
|
97
|
+
"content",
|
98
|
+
"Text"
|
99
|
+
],
|
100
|
+
[
|
101
|
+
"n_likes",
|
102
|
+
"UInt32"
|
103
|
+
]
|
104
|
+
],
|
105
|
+
[
|
106
|
+
2,
|
107
|
+
"Groonga",
|
108
|
+
"I started to use groonga. It's very fast!",
|
109
|
+
10
|
110
|
+
]
|
111
|
+
]
|
112
|
+
]
|
113
|
+
|
114
|
+
``HEADER``
|
115
|
+
^^^^^^^^^^
|
116
|
+
|
117
|
+
``HEADER`` is an array. The content of ``HEADER`` has some patterns.
|
118
|
+
|
119
|
+
Success case
|
120
|
+
++++++++++++
|
121
|
+
|
122
|
+
``HEADER`` has three elements on success::
|
123
|
+
|
124
|
+
[0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME]
|
125
|
+
|
126
|
+
The first element is always ``0``.
|
127
|
+
|
128
|
+
``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` is the number of seconds
|
129
|
+
since 1970-01-01 00:00:00 UTC when the command is started
|
130
|
+
processing. ``ELAPSED_TIME`` is the elapsed time for processing the
|
131
|
+
command in seconds. Both ``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` and
|
132
|
+
``ELAPSED_TIME`` are float value. The precision of them are
|
133
|
+
nanosecond.
|
134
|
+
|
135
|
+
Error case
|
136
|
+
++++++++++
|
137
|
+
|
138
|
+
``HEADER`` has four or five elements on error::
|
139
|
+
|
140
|
+
[
|
141
|
+
RETURN_CODE,
|
142
|
+
UNIX_TIME_WHEN_COMMAND_IS_STARTED,
|
143
|
+
ELAPSED_TIME,
|
144
|
+
ERROR_MESSAGE,
|
145
|
+
ERROR_LOCATION
|
146
|
+
]
|
147
|
+
|
148
|
+
``ERROR_LOCATION`` may not be included in ``HEADER`` but other four
|
149
|
+
elements are always included.
|
150
|
+
|
151
|
+
``RETURN_CODE`` is non 0 value. See :doc:`return_code` about available
|
152
|
+
return codes.
|
153
|
+
|
154
|
+
``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` and ``ELAPSED_TIME`` are the
|
155
|
+
same as success case.
|
156
|
+
|
157
|
+
``ERROR_MESSAGE`` is an error message in string.
|
158
|
+
|
159
|
+
``ERROR_LOCATION`` is optional. If error location is collected,
|
160
|
+
``ERROR_LOCATION`` is included. ``ERROR_LOCATION`` is an
|
161
|
+
array. ``ERROR_LOCATION`` has one ore two elements::
|
162
|
+
|
163
|
+
[
|
164
|
+
LOCATION_IN_GROONGA,
|
165
|
+
LOCATION_IN_INPUT
|
166
|
+
]
|
167
|
+
|
168
|
+
``LOCATION_IN_GROONGA`` is the source location that error is occurred
|
169
|
+
in groonga. It is useful for groonga developers but not useful for
|
170
|
+
users. ``LOCATION_IN_GROONGA`` is an array. ``LOCATION_IN_GROONGA`` has
|
171
|
+
three elements::
|
172
|
+
|
173
|
+
[
|
174
|
+
FUNCTION_NAME,
|
175
|
+
SOURCE_FILE_NAME,
|
176
|
+
LINE_NUMBER
|
177
|
+
]
|
178
|
+
|
179
|
+
``FUNCTION_NAME`` is the name of function that error is occurred.
|
180
|
+
|
181
|
+
``SOURCE_FILE_NAME`` is the name of groonga's source file that error is
|
182
|
+
occurred.
|
183
|
+
|
184
|
+
``LINE_NUMBER`` is the line number of ``SOURCE_FILE_NAME`` that error
|
185
|
+
is occurred.
|
186
|
+
|
187
|
+
``LOCATION_IN_INPUT`` is optional. ``LOCATION_IN_INPUT`` is included
|
188
|
+
when the location that error is occurred in input file is
|
189
|
+
collected. Input file can be specified by ``--file`` command line
|
190
|
+
option for ``groonga`` command. ``LOCATION_IN_GROONGA`` is an
|
191
|
+
array. ``LOCATION_IN_GROONGA`` has three elements::
|
192
|
+
|
193
|
+
[
|
194
|
+
INPUT_FILE_NAME,
|
195
|
+
LINE_NUMBER,
|
196
|
+
LINE_CONTENT
|
197
|
+
]
|
198
|
+
|
199
|
+
``INPUT_FILE_NAME`` is the input file name that error is occurred.
|
200
|
+
|
201
|
+
``LINE_NUMBER`` is the line number of ``INPUT_FILE_NAME`` that error
|
202
|
+
is occurred.
|
203
|
+
|
204
|
+
``LINE_CONTENT`` is the content at ``LINE_NUMBER`` in
|
205
|
+
``INPUT_FILE_NAME``.
|
206
|
+
|
207
|
+
``BODY``
|
208
|
+
^^^^^^^^
|
209
|
+
|
210
|
+
``BODY`` content depends on the executed command. It may be omitted.
|
211
|
+
|
212
|
+
``BODY`` may be an error message on error case.
|
213
|
+
|
214
|
+
XML
|
215
|
+
---
|
216
|
+
|
217
|
+
TODO
|
218
|
+
|
219
|
+
TSV
|
220
|
+
---
|
221
|
+
|
222
|
+
TODO
|
223
|
+
|
224
|
+
See also
|
225
|
+
--------
|
226
|
+
|
227
|
+
* :doc:`return_code` describes about return code.
|
228
|
+
|