rroonga 2.1.3-x86-mingw32 → 3.0.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/grndump +1 -1
- data/doc/text/news.textile +22 -4
- data/ext/groonga/rb-grn-accessor.c +1 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +218 -2
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +7 -7
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +1 -1
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -4
- data/ext/groonga/rb-groonga.c +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/context.rb +93 -13
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +2 -1
- data/test/test-array.rb +86 -2
- data/test/test-context.rb +22 -2
- 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.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
- data/vendor/local/include/groonga/groonga.h +16 -8
- data/vendor/local/include/groonga/groonga/nfkc.h +32 -0
- data/vendor/local/include/groonga/groonga/plugin.h +39 -21
- data/vendor/local/include/groonga/groonga/tokenizer.h +4 -0
- 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/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/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/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/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -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/contribution/development.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +8 -4
- 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 +36 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -5
- 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 +58 -57
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +104 -95
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +138 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
- 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 +36 -30
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +23 -9
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +30 -9
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +16 -9
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -13
- 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 +37 -9
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +251 -120
- 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 +28 -23
- 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/command.html +25 -22
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +13 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +70 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +218 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +294 -288
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +33 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +268 -0
- 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 +5 -5
- 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 +11 -9
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +292 -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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +32 -7
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -10
- 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 +5 -5
- 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/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- 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 +9 -9
- 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/development.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +8 -4
- 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 +36 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -5
- 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 +58 -57
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +104 -95
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +139 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -9
- 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 +36 -30
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +19 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +24 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -13
- 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 +29 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +225 -124
- 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 +7 -7
- 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 +28 -23
- 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/command.html +25 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +13 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +56 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +213 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +235 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +33 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +268 -0
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- 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 +11 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +291 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +30 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
- 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 +9 -9
- 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/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- 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 +9 -9
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +1231 -420
- data/vendor/local/share/man/man1/groonga.1 +1370 -521
- metadata +1025 -998
- data/lib/1.8/groonga.so +0 -0
@@ -23,7 +23,7 @@ You can download such a binary by command line operation.
|
|
23
23
|
|
24
24
|
Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
|
25
25
|
|
26
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-
|
26
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x86.exe
|
27
27
|
|
28
28
|
Then run it.
|
29
29
|
|
@@ -32,7 +32,7 @@ For 64-bit environment, download x64 executable binary from packages.groonga.org
|
|
32
32
|
|
33
33
|
Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
|
34
34
|
|
35
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-
|
35
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x64.exe
|
36
36
|
|
37
37
|
Then run it.
|
38
38
|
|
@@ -47,7 +47,7 @@ You can download such a binary by command line operation.
|
|
47
47
|
|
48
48
|
Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
|
49
49
|
|
50
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-
|
50
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x86.zip
|
51
51
|
|
52
52
|
Then extract it.
|
53
53
|
|
@@ -55,7 +55,7 @@ For 64-bit environment, download x64 zip archive from packages.groonga.org.
|
|
55
55
|
|
56
56
|
Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
|
57
57
|
|
58
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-
|
58
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x64.zip
|
59
59
|
|
60
60
|
Then extract it.
|
61
61
|
|
@@ -79,37 +79,37 @@ Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
|
79
79
|
Visual Studio 2010 Express and download it by default browser::
|
80
80
|
|
81
81
|
> cd c:\Users\%USERNAME%\Downloads
|
82
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-
|
82
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.2.zip
|
83
83
|
|
84
84
|
Then extract it.
|
85
85
|
|
86
86
|
Move to the groonga's source folder::
|
87
87
|
|
88
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-
|
88
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.2
|
89
89
|
|
90
90
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
91
91
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
92
92
|
parameter instead::
|
93
93
|
|
94
|
-
groonga-
|
94
|
+
groonga-3.0.2> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
95
95
|
|
96
96
|
Build by Visual C++ 2010 Express::
|
97
97
|
|
98
|
-
groonga-
|
98
|
+
groonga-3.0.2> msbuild groonga.sln /p:Configuration=Release
|
99
99
|
|
100
100
|
Install by Visual C++ 2010 Express::
|
101
101
|
|
102
|
-
groonga-
|
102
|
+
groonga-3.0.2> msbuild groonga.sln /p:Configuration=Release /t:Install
|
103
103
|
|
104
104
|
If you installed Visual Studio 2010, use can use devenv instead.
|
105
105
|
|
106
106
|
Build by Visual Studio 2010::
|
107
107
|
|
108
|
-
groonga-
|
108
|
+
groonga-3.0.2> devenv groonga.sln /Build Release
|
109
109
|
|
110
110
|
Install by Visual Studio 2010::
|
111
111
|
|
112
|
-
groonga-
|
112
|
+
groonga-3.0.2> devenv groonga.sln /Build Release /Project Install
|
113
113
|
|
114
114
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
115
115
|
``c:\groonga\bin\groonga.exe``.
|
@@ -5,6 +5,118 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-3-0-2:
|
9
|
+
|
10
|
+
Release 3.0.2 - 2013/03/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* Supported two or more indexes for a table key.
|
17
|
+
This change affects to eliminate potential crash case when loading a new key
|
18
|
+
to two or more indexed key.
|
19
|
+
* Supported binary operations such as ``X + Y``, ``X - Y``, ``X * Y``, ``X / Y``,
|
20
|
+
``X % Y``, ``X >> Y``, ``X << Y``, ``X | Y``, ``X ^ Y``, ``X & Y`` and ``X >>> Y``
|
21
|
+
for Int8, UInt8, Int16, UInt16 and UInt64.
|
22
|
+
* Added english documentation for ``load`` command.
|
23
|
+
* Supported binary assign operations such as ``X += Y``, ``X -= Y``, ``X *= Y``,
|
24
|
+
``X /= Y``, ``X %= Y``, ``X <<= Y``, ``X >>= Y``, ``X >>>= Y``, ``X &= Y``,
|
25
|
+
``X |= Y`` and ``X ^= Y`` for Int8, UInt8, Int16, UInt16 and UInt64.
|
26
|
+
* Supported unary operations such as ``-X`` for Int8, UInt8, Int16, UInt16 and UInt64.
|
27
|
+
* Supported complex string concatination in ``--output_columns``.
|
28
|
+
For example, you can use a query such as ``--output_columns '"<" + title + ">"'``.
|
29
|
+
* Added the information of the repository of groonga to development page.
|
30
|
+
* Added ``sub_filter()`` function.
|
31
|
+
* Supported query expander in ``query()`` function.
|
32
|
+
This change supports the query such as
|
33
|
+
``query("MATCH_COLUMNS", "QUERY", "QueryExpanderTSV")``.
|
34
|
+
* Renamed ``--query_expansion`` to ``--query_expander``.
|
35
|
+
``--query_expansion`` is regarded as deprecated.
|
36
|
+
|
37
|
+
Fixes
|
38
|
+
^^^^^
|
39
|
+
|
40
|
+
* Fixed a bug that ``snippet_html(XXX), XXX`` fails with "stack error".
|
41
|
+
This bug affects a query such as ``--output_columns 'snippet_html(title), content'``.
|
42
|
+
[Groonga-talk (no subject)] [Reported by Hendro Wibowo]
|
43
|
+
* Fixed a typo about install documentation. [Reported by hino]
|
44
|
+
* Fixed a bug that Travis-CI setup script fails.
|
45
|
+
[groonga-dev,01248] [Reported by ongaeshi]
|
46
|
+
* Fixed a memory leak.
|
47
|
+
This bug affects the case which satisfy following three conditions.
|
48
|
+
Column is a reference column, Column is a vector column and
|
49
|
+
Reference key size is 25 byte or lager.
|
50
|
+
* Fixed a crash bug by ``--output_columns _score.GARBAGE``.
|
51
|
+
This affects the case if GARBAGE does not exist.
|
52
|
+
|
53
|
+
Thanks
|
54
|
+
^^^^^^
|
55
|
+
|
56
|
+
* Hendro Wibowo
|
57
|
+
* hino
|
58
|
+
* ongaeshi
|
59
|
+
|
60
|
+
.. _release-3-0-1:
|
61
|
+
|
62
|
+
Release 3.0.1 - 2013/02/28
|
63
|
+
--------------------------
|
64
|
+
|
65
|
+
Improvements
|
66
|
+
^^^^^^^^^^^^
|
67
|
+
|
68
|
+
* Supported to set Bool to reference column when loading dataset by load command.
|
69
|
+
* Supported AND operation for nested index.
|
70
|
+
In this change, the expression "COLUMN1.COLUMN2 >= 1 && COLUMN1.COLUMN2 <=3" works.
|
71
|
+
Note that the order is important for this expression.
|
72
|
+
"1 <= COLUMN1.COLUMN2" is not supported yet. It is regarded as "COLUMN1.COLUMN2 <= 1".
|
73
|
+
* Supported sorting not indexed entries.
|
74
|
+
This change affects the case such as ``--sortby geo_distance(...)`` drops not indexed
|
75
|
+
entries.
|
76
|
+
* Supported range search for reference column by index.
|
77
|
+
This change enable you to search range by index which is TABLE_PAT_KEY or TABLE_DAT_KEY
|
78
|
+
based nested index of _key.
|
79
|
+
* [rpm][centos] Supported MeCab 0.995.
|
80
|
+
* [doc] Added missing documentation of commands such as ``column_rename`` or ``truncate``.
|
81
|
+
|
82
|
+
Fixes
|
83
|
+
^^^^^
|
84
|
+
|
85
|
+
* Fixed a bug that ``grn_index_cursor_next()`` returns NULL unexpectedly.
|
86
|
+
It causes that invalid index entry is returned after deleting entries.
|
87
|
+
This bug affects mroonga in storage mode. [groonga-dev,01192] [Reported by b senboku]
|
88
|
+
* Fixed a crash bug that ``geo_distance()`` sort by index.
|
89
|
+
This bug occurs by wrong the number of found records.
|
90
|
+
* [httpd] Enabled default owner/group of database setting as groonga/groonga.
|
91
|
+
|
92
|
+
Thanks
|
93
|
+
^^^^^^
|
94
|
+
|
95
|
+
* b senboku
|
96
|
+
|
97
|
+
|
98
|
+
.. _release-3-0-0:
|
99
|
+
|
100
|
+
Release 3.0.0 - 2013/02/09
|
101
|
+
--------------------------
|
102
|
+
|
103
|
+
* Bump version to 3.0.0!
|
104
|
+
|
105
|
+
Fixes
|
106
|
+
^^^^^
|
107
|
+
|
108
|
+
* [deb] Fixed to install missing not EUC-JP, but UTF-8 encoding dictionary
|
109
|
+
when ``groonga-tokenizer-mecab`` package is installed.
|
110
|
+
* Fixed a bug that int64 literal is truncated to uint32 value.
|
111
|
+
If you use string literal for int64, this bug does not affects.
|
112
|
+
* [rpm][centos] Fixed a bug that stopping ``groonga-server-http`` service
|
113
|
+
by init script is failed. [GitHub#53] [Patch by IWAI, Masaharu]
|
114
|
+
|
115
|
+
Thanks
|
116
|
+
^^^^^^
|
117
|
+
|
118
|
+
* IWAI, Masaharu
|
119
|
+
|
8
120
|
.. _release-2-1-2:
|
9
121
|
|
10
122
|
Release 2.1.2 - 2013/01/29
|
@@ -44,7 +44,7 @@ json形式
|
|
44
44
|
|
45
45
|
[インデックスの状態, バッファの状態1, バッファの状態2, ...]
|
46
46
|
|
47
|
-
|
47
|
+
``インデックスの状態`` には下記の項目がハッシュ形式で出力されます。
|
48
48
|
|
49
49
|
``flags``
|
50
50
|
|
@@ -94,7 +94,7 @@ json形式
|
|
94
94
|
|
95
95
|
各チャンク毎のゴミの数です。
|
96
96
|
|
97
|
-
|
97
|
+
``バッファの状態`` には下記の項目がハッシュ形式で出力されます。
|
98
98
|
|
99
99
|
``buffer id``
|
100
100
|
|
@@ -0,0 +1,79 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_column_rename
|
7
|
+
|
8
|
+
``column_rename``
|
9
|
+
=================
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``column_rename`` command renames specified column name of table.
|
15
|
+
|
16
|
+
Syntax
|
17
|
+
------
|
18
|
+
|
19
|
+
``column_rename`` command takes two parameters.
|
20
|
+
|
21
|
+
The required parameter is ``table`` and ``column_name``::
|
22
|
+
|
23
|
+
column_rename table column
|
24
|
+
|
25
|
+
Usage
|
26
|
+
-----
|
27
|
+
|
28
|
+
Here is a simple example of ``column_rename`` command.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/commands/column_rename/column_rename.log
|
32
|
+
.. table_create Users TABLE_PAT_KEY ShortText
|
33
|
+
.. column_create Users score COLUMN_SCALAR Int32
|
34
|
+
.. load --table Users
|
35
|
+
.. [
|
36
|
+
.. {"_key": "Alice", "score": 2},
|
37
|
+
.. {"_key": "Bob", "score": 0},
|
38
|
+
.. {"_key": "Carlos", "score": -1}
|
39
|
+
.. ]
|
40
|
+
.. column_rename Users score point
|
41
|
+
.. column_list Users
|
42
|
+
.. select Users
|
43
|
+
|
44
|
+
Parameters
|
45
|
+
----------
|
46
|
+
|
47
|
+
This section describes parameters of ``column_rename``.
|
48
|
+
|
49
|
+
Required parameter
|
50
|
+
^^^^^^^^^^^^^^^^^^
|
51
|
+
|
52
|
+
There are required parameters, ``table_name`` and ``column_name``.
|
53
|
+
|
54
|
+
``table_name``
|
55
|
+
""""""""""""""
|
56
|
+
|
57
|
+
It specifies the name of table.
|
58
|
+
|
59
|
+
``column_name``
|
60
|
+
"""""""""""""""
|
61
|
+
|
62
|
+
It specifies the name of column.
|
63
|
+
|
64
|
+
Return value
|
65
|
+
------------
|
66
|
+
|
67
|
+
::
|
68
|
+
|
69
|
+
[HEADER, SUCCEEDED_OR_NOT]
|
70
|
+
|
71
|
+
``HEADER``
|
72
|
+
|
73
|
+
The format of HEADER is [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME].
|
74
|
+
See :doc:`/reference/command/output_format` about HEADER.
|
75
|
+
|
76
|
+
``SUCCEEDED_OR_NOT``
|
77
|
+
|
78
|
+
If command succeeded, it returns true, otherwise it returns false on error.
|
79
|
+
|
@@ -2,99 +2,99 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_load
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
``load``
|
9
|
+
========
|
10
10
|
|
11
|
-
|
11
|
+
Summary
|
12
|
+
-------
|
12
13
|
|
13
|
-
書式
|
14
|
-
----
|
15
|
-
::
|
16
14
|
|
17
|
-
|
15
|
+
``load`` loads data as records in the current database and updates values of each columns.
|
18
16
|
|
19
|
-
|
20
|
-
|
17
|
+
Syntax
|
18
|
+
------
|
19
|
+
::
|
21
20
|
|
22
|
-
|
21
|
+
load values table [columns [ifexists [input_type]]]
|
23
22
|
|
24
|
-
|
23
|
+
Parameters
|
24
|
+
----------
|
25
25
|
|
26
|
-
|
27
|
-
----
|
26
|
+
This section describes all parameters.
|
28
27
|
|
29
28
|
``values``
|
30
29
|
|
31
|
-
|
30
|
+
It specifies values loaded to records.
|
31
|
+
Values should satisfy ``input_type`` format.
|
32
|
+
If you specify "json" as ``input_type``, you can choose a format from below:
|
32
33
|
|
33
|
-
|
34
|
+
``Format 1:``
|
35
|
+
[[COLUMN_NAME1, COLUMN_NAME2,..], [VALUE1, VALUE2,..], [VALUE1, VALUE2,..],..]
|
34
36
|
|
35
|
-
|
36
|
-
[
|
37
|
+
``Format 2:``
|
38
|
+
[{COLUMN_NAME1: VALUE1, COLUMN_NAME2: VALUE2}, {COLUMN_NAME1: VALUE1, COLUMN_NAME2: VALUE2},..]
|
37
39
|
|
38
|
-
|
39
|
-
[{カラム名1: カラム値1, カラム名2: カラム値2}, {カラム名1: カラム値1, カラム名2: カラム値2},..]
|
40
|
+
``[COLUMN_NAME1, COLUMN_NAME2,..]`` format in ``Format 1`` is effective only when ``column`` parameter isn't specified.
|
40
41
|
|
41
|
-
|
42
|
+
When a target table contains primary key, you must specify ``_key`` column (pseudo column associated primary key) as the one of ``COLUMN_NAME``.
|
42
43
|
|
43
|
-
|
44
|
+
If ``values`` isn't specified any values, they are read from the standard input until all opened parenthes match their closed ones.
|
45
|
+
You don't have to enclose them with single-quotes or double-quotes, but if you specified values with ``values`` parameter, you should do.
|
44
46
|
|
45
|
-
values
|
46
|
-
|
47
|
-
続きの文字列については、空白文字(' ')をエスケープする必要はありません。
|
47
|
+
In following values, you also don't have to enclose any spaces (' ') with single-quotes or double-quotes.
|
48
48
|
|
49
49
|
``table``
|
50
50
|
|
51
|
-
|
51
|
+
It specifies a table name you want to add records.
|
52
52
|
|
53
53
|
``columns``
|
54
54
|
|
55
|
-
|
55
|
+
It specifies column names in added records with comma separations.
|
56
56
|
|
57
57
|
``ifexists``
|
58
58
|
|
59
|
-
|
59
|
+
It specifies executed ``grn_expr`` string when the same primary key
|
60
|
+
as added records already exists in your table.
|
61
|
+
If ``ifexists`` specifies ``grn_expr`` string (default: true) and
|
62
|
+
its value is true, values in other (all columns excluding ``_key``
|
63
|
+
column) columns is updated.
|
60
64
|
|
61
65
|
``input_type``
|
62
66
|
|
63
|
-
|
64
|
-
|
65
|
-
返値
|
66
|
-
----
|
67
|
-
|
68
|
-
JSON形式
|
69
|
-
^^^^^^^^
|
70
|
-
|
71
|
-
::
|
72
|
-
|
73
|
-
[登録件数]
|
74
|
-
|
75
|
-
``登録件数``
|
76
|
-
|
77
|
-
テーブルに登録されたレコードの件数が返されます。
|
67
|
+
It specifies an input format for ``values``. It supports JSON only.
|
78
68
|
|
79
|
-
|
80
|
-
|
69
|
+
Usage
|
70
|
+
-----
|
81
71
|
|
82
|
-
|
72
|
+
Here is an example to add records to "Entry" table. ::
|
83
73
|
|
84
|
-
load --table Entry --input_type json --values [{\"_key\":\"
|
74
|
+
load --table Entry --input_type json --values [{\"_key\":\"Groonga\",\"body\":\"It's very fast!!\"}]
|
85
75
|
|
86
76
|
[1]
|
87
77
|
|
88
|
-
|
78
|
+
This example shows how to add values from standard input. ::
|
89
79
|
|
90
80
|
load --table Entry --input_type json
|
91
81
|
[
|
92
|
-
{"_key": "
|
82
|
+
{"_key": "Groonga", "body": "It's very fast!!"}
|
93
83
|
]
|
94
84
|
|
95
85
|
[1]
|
96
86
|
|
97
|
-
|
87
|
+
Return value
|
88
|
+
------------
|
89
|
+
|
90
|
+
JSON format
|
91
|
+
^^^^^^^^^^^
|
92
|
+
|
93
|
+
``load`` returns the number of added records such as ::
|
94
|
+
|
95
|
+
[NUMBER]
|
96
|
+
|
97
|
+
See also
|
98
98
|
--------
|
99
99
|
|
100
100
|
:doc:`/reference/grn_expr`
|