rroonga 5.0.1-x86-mingw32 → 5.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -1
- data/ext/groonga/rb-grn-logger.c +159 -3
- data/ext/groonga/rb-grn-plugin.c +17 -1
- data/ext/groonga/rb-grn-query-logger.c +129 -3
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/groonga/query-logger.rb +48 -3
- data/lib/groonga/schema.rb +16 -3
- data/rroonga-build.rb +3 -3
- data/test/test-logger.rb +97 -2
- data/test/test-plugin.rb +5 -1
- data/test/test-query-logger.rb +149 -0
- data/test/test-schema.rb +19 -0
- data/vendor/local/bin/grndb.exe +0 -0
- 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-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/groonga.h +12 -6
- data/vendor/local/include/groonga/groonga/portability.h +158 -0
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack.hpp +2 -1
- data/vendor/local/include/msgpack/adaptor/bool.hpp +58 -0
- data/vendor/local/include/msgpack/{type/bool.hpp → adaptor/bool_fwd.hpp} +11 -27
- data/vendor/local/include/msgpack/adaptor/char_ptr.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/char_ptr_fwd.hpp +43 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size.hpp +61 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array.hpp +76 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_char_fwd.hpp +45 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/array_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/forward_list_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple.hpp +152 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/tuple_fwd.hpp +62 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map.hpp +142 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_map_fwd.hpp +53 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/cpp11/unordered_set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/define.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/deque.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/deque_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_define.hpp +3475 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple.hpp +13918 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp03_msgpack_tuple_fwd.hpp +4341 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_define.hpp +184 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/detail/cpp11_msgpack_tuple_fwd.hpp +84 -0
- data/vendor/local/include/msgpack/adaptor/fixint.hpp +212 -0
- data/vendor/local/include/msgpack/adaptor/fixint_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/float.hpp +105 -0
- data/vendor/local/include/msgpack/adaptor/float_fwd.hpp +44 -0
- data/vendor/local/include/msgpack/adaptor/int.hpp +308 -0
- data/vendor/local/include/msgpack/adaptor/int_fwd.hpp +100 -0
- data/vendor/local/include/msgpack/adaptor/list.hpp +83 -0
- data/vendor/local/include/msgpack/adaptor/list_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/map.hpp +219 -0
- data/vendor/local/include/msgpack/adaptor/map_fwd.hpp +69 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_fwd.hpp +29 -0
- data/vendor/local/include/msgpack/adaptor/nil.hpp +68 -0
- data/vendor/local/include/msgpack/adaptor/nil_fwd.hpp +51 -0
- data/vendor/local/include/msgpack/adaptor/pair.hpp +63 -0
- data/vendor/local/include/msgpack/{type/pair.hpp → adaptor/pair_fwd.hpp} +10 -29
- data/vendor/local/include/msgpack/adaptor/raw.hpp +98 -0
- data/vendor/local/include/msgpack/{type/nil.hpp → adaptor/raw_fwd.hpp} +15 -30
- data/vendor/local/include/msgpack/adaptor/set.hpp +134 -0
- data/vendor/local/include/msgpack/adaptor/set_fwd.hpp +52 -0
- data/vendor/local/include/msgpack/adaptor/string.hpp +78 -0
- data/vendor/local/include/msgpack/adaptor/string_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +164 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +157 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set_fwd.hpp +75 -0
- data/vendor/local/include/msgpack/adaptor/vector.hpp +87 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool.hpp +80 -0
- data/vendor/local/include/msgpack/adaptor/vector_bool_fwd.hpp +40 -0
- data/vendor/local/include/msgpack/adaptor/vector_char.hpp +81 -0
- data/vendor/local/include/msgpack/adaptor/vector_char_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/adaptor/vector_fwd.hpp +42 -0
- data/vendor/local/include/msgpack/cpp_config.hpp +109 -0
- data/vendor/local/include/msgpack/detail/cpp03_zone.hpp +662 -0
- data/vendor/local/include/msgpack/detail/cpp11_zone.hpp +368 -0
- data/vendor/local/include/msgpack/fbuffer.h +3 -4
- data/vendor/local/include/msgpack/fbuffer.hpp +24 -16
- data/vendor/local/include/msgpack/gcc_atomic.h +33 -0
- data/vendor/local/include/msgpack/iterator.hpp +42 -0
- data/vendor/local/include/msgpack/object.h +51 -30
- data/vendor/local/include/msgpack/object.hpp +564 -273
- data/vendor/local/include/msgpack/object_fwd.hpp +182 -0
- data/vendor/local/include/msgpack/pack.h +23 -17
- data/vendor/local/include/msgpack/pack.hpp +889 -164
- data/vendor/local/include/msgpack/pack_define.h +2 -2
- data/vendor/local/include/msgpack/pack_template.h +452 -356
- data/vendor/local/include/msgpack/sbuffer.h +43 -37
- data/vendor/local/include/msgpack/sbuffer.hpp +98 -76
- data/vendor/local/include/msgpack/sysdep.h +48 -53
- data/vendor/local/include/msgpack/type.hpp +35 -17
- data/vendor/local/include/msgpack/unpack.h +62 -44
- data/vendor/local/include/msgpack/unpack.hpp +1578 -217
- data/vendor/local/include/msgpack/unpack_define.h +49 -47
- data/vendor/local/include/msgpack/unpack_template.h +344 -284
- data/vendor/local/include/msgpack/util.h +23 -0
- data/vendor/local/include/msgpack/version.h +12 -6
- data/vendor/local/include/msgpack/version.hpp +44 -0
- data/vendor/local/include/msgpack/version_master.h +3 -0
- data/vendor/local/include/msgpack/versioning.hpp +77 -0
- data/vendor/local/include/msgpack/vrefbuffer.h +40 -34
- data/vendor/local/include/msgpack/vrefbuffer.hpp +261 -64
- data/vendor/local/include/msgpack/zbuffer.h +79 -79
- data/vendor/local/include/msgpack/zbuffer.hpp +136 -67
- data/vendor/local/include/msgpack/zone.h +65 -42
- data/vendor/local/include/msgpack/zone.hpp +10 -445
- data/vendor/local/include/msgpack_fwd.hpp +28 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +41 -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/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding.rb +1 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +17 -45
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +15 -6
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +63 -75
- data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +65 -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/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.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/groonga/scripts/ruby/expression_size_estimator.rb +38 -41
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +3 -0
- 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/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +4 -4
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -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/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.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/release.txt +69 -52
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 +7 -7
- 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 +6 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +70 -13
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/others.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +200 -103
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +248 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +8 -7
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +69 -52
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +56 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 +7 -7
- 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 +6 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +14 -14
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +93 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt +13 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +135 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +148 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +76 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +38 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +14 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +58 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +15 -9
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +63 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -18
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +10 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +234 -106
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +141 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +25 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +146 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +249 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +11 -7
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +53 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -7
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/groonga-admin.css +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/css/redmond/jquery-ui-1.8.18.custom.css +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.ico +0 -0
- data/vendor/local/share/groonga/html/admin.old/favicon.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/favicon.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.png +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/groonga.svg +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/images/loading.gif +0 -0
- data/vendor/local/share/groonga/html/admin.old/index.html +297 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/index.ja.html +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.ja.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/groonga-admin.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-1.7.2.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery-ui-1.8.18.custom.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot-0.7.js +0 -0
- data/vendor/local/share/groonga/html/{admin → admin.old}/js/jquery.flot.license.txt +0 -0
- data/vendor/local/share/groonga/html/admin/.htaccess +543 -0
- data/vendor/local/share/groonga/html/admin/404.html +133 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +9 -297
- data/vendor/local/share/groonga/html/admin/robots.txt +3 -0
- data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +1 -0
- data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +13 -0
- data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +1 -0
- data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +10 -0
- data/vendor/local/share/groonga/html/admin/views/columns/new.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/columns/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/index.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/new.html +29 -0
- data/vendor/local/share/groonga/html/admin/views/tables/search.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/tables/show.html +1 -0
- data/vendor/local/share/groonga/html/admin/views/top.html +1 -0
- data/vendor/local/share/license/groonga-admin/LICENSE +502 -0
- data/vendor/local/share/license/groonga-admin/README.md +79 -0
- data/vendor/local/share/license/msgpack/AUTHORS +0 -1
- data/vendor/local/share/man/ja/man1/groonga.1 +826 -147
- data/vendor/local/share/man/man1/groonga.1 +812 -99
- metadata +138 -55
- data/doc/text/install.textile +0 -145
- data/doc/text/tutorial.textile +0 -510
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/include/msgpack/type/define.hpp +0 -3465
- data/vendor/local/include/msgpack/type/deque.hpp +0 -77
- data/vendor/local/include/msgpack/type/fixint.hpp +0 -172
- data/vendor/local/include/msgpack/type/float.hpp +0 -102
- data/vendor/local/include/msgpack/type/int.hpp +0 -276
- data/vendor/local/include/msgpack/type/list.hpp +0 -77
- data/vendor/local/include/msgpack/type/map.hpp +0 -205
- data/vendor/local/include/msgpack/type/raw.hpp +0 -94
- data/vendor/local/include/msgpack/type/set.hpp +0 -122
- data/vendor/local/include/msgpack/type/string.hpp +0 -62
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +0 -150
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +0 -142
- data/vendor/local/include/msgpack/type/tuple.hpp +0 -13691
- data/vendor/local/include/msgpack/type/vector.hpp +0 -81
- data/vendor/local/share/doc/groonga/en/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/us.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jp.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/us.png +0 -0
@@ -0,0 +1,79 @@
|
|
1
|
+
# Groonga Admin
|
2
|
+
|
3
|
+
Groonga Admin is a Web UI to administrate Groonga. Groonga Admin is
|
4
|
+
designed for light Groonga users. It means that users who doesn't know
|
5
|
+
Groonga details can use Groonga Admin.
|
6
|
+
|
7
|
+
Groonga Admin is based on client site technologies such as HTML,
|
8
|
+
JavaScript and CSS. So you don't need to install server process. You
|
9
|
+
just publish Groonga Admin by HTTP server provided by Groonga.
|
10
|
+
|
11
|
+
## Install
|
12
|
+
|
13
|
+
Download the latest archive from http://packages.groonga.org/source/groonga-admin/ .
|
14
|
+
|
15
|
+
Extract the archive. Then you get `groonga-X.Y.Z/` directory and find `groonga-X.Y.Z/html/` directory.
|
16
|
+
|
17
|
+
Mount the `html/` directory in your Groonga HTTP server.
|
18
|
+
|
19
|
+
For
|
20
|
+
[groonga-server-http](http://groonga.org/docs/server/package.html#groonga-server-http),
|
21
|
+
add the following line to your `/etc/groonga/groonga.conf`:
|
22
|
+
|
23
|
+
admin-html-path = /PATH/TO/groonga-admin-X.Y.Z/html
|
24
|
+
|
25
|
+
Then restart your groonga-server-http and access to http://localhost:10041/ .
|
26
|
+
|
27
|
+
For
|
28
|
+
[groonga-httpd](http://groonga.org/docs/server/package.html#groonga-httpd),
|
29
|
+
use the following configuration in your `groonga-httpd.conf`:
|
30
|
+
|
31
|
+
location / {
|
32
|
+
root /PATH/TO/groonga-admin-X.Y.Z/html;
|
33
|
+
index index.html;
|
34
|
+
}
|
35
|
+
|
36
|
+
Then restart your groonga-httpd and access to http://localhost:10041/ .
|
37
|
+
|
38
|
+
## For developers
|
39
|
+
|
40
|
+
### Install
|
41
|
+
|
42
|
+
Install tools:
|
43
|
+
|
44
|
+
% sudo npm install -g -y yo generator-angular grunt-cli bower
|
45
|
+
% sudo gem install compass
|
46
|
+
|
47
|
+
Clone repository:
|
48
|
+
|
49
|
+
% git clone git@github.com:groonga/groonga-admin.git
|
50
|
+
% cd groonga-admin
|
51
|
+
% npm install
|
52
|
+
% bower install
|
53
|
+
|
54
|
+
Run Groonga HTTP server. There are some ways to run Groonga HTTP
|
55
|
+
server.
|
56
|
+
|
57
|
+
* Use package
|
58
|
+
* Run from command line
|
59
|
+
* Use Groonga HTTP server run on other host
|
60
|
+
|
61
|
+
Use package:
|
62
|
+
|
63
|
+
% sudo apt install -y groonga-server-http
|
64
|
+
|
65
|
+
Run from command line:
|
66
|
+
|
67
|
+
% groonga --protocol http -s /path/to/database
|
68
|
+
|
69
|
+
Use Groonga HTTP server run on other host: Do nothing. You have a work
|
70
|
+
on running Groonga Admin.
|
71
|
+
|
72
|
+
Run Groonga Admin:
|
73
|
+
|
74
|
+
% grunt server
|
75
|
+
|
76
|
+
If you want to use Groonga HTTP server run on `groonga.example.com`,
|
77
|
+
run Groonga Admin as by the following command line:
|
78
|
+
|
79
|
+
% GROONGA_HOST=groonga.example.com grunt server
|
@@ -1 +0,0 @@
|
|
1
|
-
FURUHASHI Sadayuki <frsyuki _at_ users.sourceforge.jp>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "2015 年
|
3
|
+
.TH "GROONGA" "1" "2015 年 04 月 29 日" "5.0.3" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
97
97
|
.INDENT 3.5
|
98
98
|
.INDENT 0.0
|
99
99
|
.IP \(bu 2
|
100
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.
|
100
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.3\-x86.exe\fP
|
101
101
|
.UNINDENT
|
102
102
|
.UNINDENT
|
103
103
|
.UNINDENT
|
@@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
109
109
|
.INDENT 3.5
|
110
110
|
.INDENT 0.0
|
111
111
|
.IP \(bu 2
|
112
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.
|
112
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.3\-x64.exe\fP
|
113
113
|
.UNINDENT
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
@@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
124
124
|
.INDENT 3.5
|
125
125
|
.INDENT 0.0
|
126
126
|
.IP \(bu 2
|
127
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.
|
127
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.3\-x86.zip\fP
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
130
130
|
.UNINDENT
|
@@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
136
136
|
.INDENT 3.5
|
137
137
|
.INDENT 0.0
|
138
138
|
.IP \(bu 2
|
139
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.
|
139
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.3\-x64.zip\fP
|
140
140
|
.UNINDENT
|
141
141
|
.UNINDENT
|
142
142
|
.UNINDENT
|
@@ -151,7 +151,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
151
151
|
.INDENT 3.5
|
152
152
|
.INDENT 0.0
|
153
153
|
.IP \(bu 2
|
154
|
-
\fI\%Microsoft Visual Studio
|
154
|
+
\fI\%Microsoft Visual Studio Express 2013 for Windows Desktop\fP
|
155
155
|
.IP \(bu 2
|
156
156
|
\fI\%CMake\fP
|
157
157
|
.UNINDENT
|
@@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ
|
|
163
163
|
.INDENT 3.5
|
164
164
|
.INDENT 0.0
|
165
165
|
.IP \(bu 2
|
166
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-5.0.
|
166
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-5.0.3.zip\fP
|
167
167
|
.UNINDENT
|
168
168
|
.UNINDENT
|
169
169
|
.UNINDENT
|
@@ -176,19 +176,19 @@ Groongaのソースフォルダへと移動します:
|
|
176
176
|
.sp
|
177
177
|
.nf
|
178
178
|
.ft C
|
179
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0.
|
179
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0.3
|
180
180
|
.ft P
|
181
181
|
.fi
|
182
182
|
.UNINDENT
|
183
183
|
.UNINDENT
|
184
184
|
.sp
|
185
|
-
\fBcmake\fP でビルドオプションを設定します。以下のコマンドラインは64\-bit用のGroongaをビルドするためのものです。32\-bit用のGroongaをビルドする場合は代わりに \fB\-G "Visual Studio
|
185
|
+
\fBcmake\fP でビルドオプションを設定します。以下のコマンドラインは64\-bit用のGroongaをビルドするためのものです。32\-bit用のGroongaをビルドする場合は代わりに \fB\-G "Visual Studio 12 2013"\fP パラメーターを指定してください:
|
186
186
|
.INDENT 0.0
|
187
187
|
.INDENT 3.5
|
188
188
|
.sp
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
|
-
groonga\-5.0.
|
191
|
+
groonga\-5.0.3> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
|
192
192
|
.ft P
|
193
193
|
.fi
|
194
194
|
.UNINDENT
|
@@ -200,7 +200,7 @@ groonga\-5.0.2> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\
|
|
200
200
|
.sp
|
201
201
|
.nf
|
202
202
|
.ft C
|
203
|
-
groonga\-5.0.
|
203
|
+
groonga\-5.0.3> cmake \-\-build . \-\-config Release
|
204
204
|
.ft P
|
205
205
|
.fi
|
206
206
|
.UNINDENT
|
@@ -212,13 +212,13 @@ groonga\-5.0.2> cmake \-\-build . \-\-config Release
|
|
212
212
|
.sp
|
213
213
|
.nf
|
214
214
|
.ft C
|
215
|
-
groonga\-5.0.
|
215
|
+
groonga\-5.0.3> cmake \-\-build . \-\-config Release \-\-target Install
|
216
216
|
.ft P
|
217
217
|
.fi
|
218
218
|
.UNINDENT
|
219
219
|
.UNINDENT
|
220
220
|
.sp
|
221
|
-
以上の手順で \fB/reference/executables/groonga\fP が \fBc:\
|
221
|
+
以上の手順で \fB/reference/executables/groonga\fP が \fBc:\eGroonga\ebin\egroonga.exe\fP にインストールされます。
|
222
222
|
.SS Mac OS X
|
223
223
|
.sp
|
224
224
|
このセクションではMac OS X上でGroongaをインストールする方法を説明します。 \fI\%MacPorts\fP か \fI\%Homebrew\fP を使ってインストールできます。
|
@@ -270,9 +270,9 @@ groonga\-5.0.2> cmake \-\-build . \-\-config Release \-\-target Install
|
|
270
270
|
.sp
|
271
271
|
.nf
|
272
272
|
.ft C
|
273
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0.
|
274
|
-
% tar xvzf groonga\-5.0.
|
275
|
-
% cd groonga\-5.0.
|
273
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
274
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
275
|
+
% cd groonga\-5.0.3
|
276
276
|
.ft P
|
277
277
|
.fi
|
278
278
|
.UNINDENT
|
@@ -422,6 +422,113 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
422
422
|
.fi
|
423
423
|
.UNINDENT
|
424
424
|
.UNINDENT
|
425
|
+
.SS jessie
|
426
|
+
.sp
|
427
|
+
バージョン 5.0.3 で追加.
|
428
|
+
|
429
|
+
.sp
|
430
|
+
Groongaのaptリポジトリを追加します。
|
431
|
+
.sp
|
432
|
+
/etc/apt/sources.list.d/groonga.list:
|
433
|
+
.INDENT 0.0
|
434
|
+
.INDENT 3.5
|
435
|
+
.sp
|
436
|
+
.nf
|
437
|
+
.ft C
|
438
|
+
deb http://packages.groonga.org/debian/ jessie main
|
439
|
+
deb\-src http://packages.groonga.org/debian/ jessie main
|
440
|
+
.ft P
|
441
|
+
.fi
|
442
|
+
.UNINDENT
|
443
|
+
.UNINDENT
|
444
|
+
.sp
|
445
|
+
インストール:
|
446
|
+
.INDENT 0.0
|
447
|
+
.INDENT 3.5
|
448
|
+
.sp
|
449
|
+
.nf
|
450
|
+
.ft C
|
451
|
+
% sudo apt\-get update
|
452
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
453
|
+
% sudo apt\-get update
|
454
|
+
% sudo apt\-get install \-y \-V groonga
|
455
|
+
.ft P
|
456
|
+
.fi
|
457
|
+
.UNINDENT
|
458
|
+
.UNINDENT
|
459
|
+
.sp
|
460
|
+
\fB注釈:\fP
|
461
|
+
.INDENT 0.0
|
462
|
+
.INDENT 3.5
|
463
|
+
\fBgroonga\fP パッケージは全文検索のための最小構成パッケージです。Groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
464
|
+
.sp
|
465
|
+
サーバー用途のための2つのパッケージがあります。
|
466
|
+
.INDENT 0.0
|
467
|
+
.IP \(bu 2
|
468
|
+
groonga\-httpd (nginxを元にしたHTTPサーバー)
|
469
|
+
.IP \(bu 2
|
470
|
+
groonga\-server\-gqtp (GQTPサーバー)
|
471
|
+
.UNINDENT
|
472
|
+
.sp
|
473
|
+
詳細は \fB/server\fP を参照してください。
|
474
|
+
.UNINDENT
|
475
|
+
.UNINDENT
|
476
|
+
.sp
|
477
|
+
\fI\%MeCab\fP をトークナイザーとして使いたいときは、groonga\-tokenizer\-mecabパッケージをインストールしてください。
|
478
|
+
.sp
|
479
|
+
groonga\-tokenizer\-mecabパッケージのインストール:
|
480
|
+
.INDENT 0.0
|
481
|
+
.INDENT 3.5
|
482
|
+
.sp
|
483
|
+
.nf
|
484
|
+
.ft C
|
485
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
486
|
+
.ft P
|
487
|
+
.fi
|
488
|
+
.UNINDENT
|
489
|
+
.UNINDENT
|
490
|
+
.sp
|
491
|
+
\fBTokenFilterStem\fP をトークンフィルターとして使いたいときはgroonga\-tokenizer\-filter\-stemパッケージをインストールしてください。
|
492
|
+
.sp
|
493
|
+
groonga\-token\-filter\-stemパッケージのインストール:
|
494
|
+
.INDENT 0.0
|
495
|
+
.INDENT 3.5
|
496
|
+
.sp
|
497
|
+
.nf
|
498
|
+
.ft C
|
499
|
+
% sudo apt\-get install \-y \-V groonga\-token\-filter\-stem
|
500
|
+
.ft P
|
501
|
+
.fi
|
502
|
+
.UNINDENT
|
503
|
+
.UNINDENT
|
504
|
+
.sp
|
505
|
+
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
506
|
+
.sp
|
507
|
+
groonga\-munin\-pluginsパッケージのインストール:
|
508
|
+
.INDENT 0.0
|
509
|
+
.INDENT 3.5
|
510
|
+
.sp
|
511
|
+
.nf
|
512
|
+
.ft C
|
513
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
514
|
+
.ft P
|
515
|
+
.fi
|
516
|
+
.UNINDENT
|
517
|
+
.UNINDENT
|
518
|
+
.sp
|
519
|
+
MySQL互換のノーマライザーをGroongaのプラグインとして提供するパッケージがあります。MySQL互換のノーマライザーを使うには \fBgroonga\-normalizer\-mysql\fP パッケージをインストールしてください。
|
520
|
+
.sp
|
521
|
+
groonga\-normalizer\-mysqlパッケージのインストール:
|
522
|
+
.INDENT 0.0
|
523
|
+
.INDENT 3.5
|
524
|
+
.sp
|
525
|
+
.nf
|
526
|
+
.ft C
|
527
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
528
|
+
.ft P
|
529
|
+
.fi
|
530
|
+
.UNINDENT
|
531
|
+
.UNINDENT
|
425
532
|
.SS ソースからビルド
|
426
533
|
.sp
|
427
534
|
Groongaをビルドするために必要なパッケージをインストールします:
|
@@ -442,9 +549,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
442
549
|
.sp
|
443
550
|
.nf
|
444
551
|
.ft C
|
445
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
446
|
-
% tar xvzf groonga\-5.0.
|
447
|
-
% cd groonga\-5.0.
|
552
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
553
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
554
|
+
% cd groonga\-5.0.3
|
448
555
|
.ft P
|
449
556
|
.fi
|
450
557
|
.UNINDENT
|
@@ -504,6 +611,8 @@ Ubuntu用のGroongaのAPTリポジトリーはLaunchpad上のPPA(Personal Pack
|
|
504
611
|
14.04 LTS Trusty Tahr
|
505
612
|
.IP \(bu 2
|
506
613
|
14.10 Utopic Unicorn
|
614
|
+
.IP \(bu 2
|
615
|
+
15.04 Vivid Vervet
|
507
616
|
.UNINDENT
|
508
617
|
.UNINDENT
|
509
618
|
.UNINDENT
|
@@ -638,9 +747,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
638
747
|
.sp
|
639
748
|
.nf
|
640
749
|
.ft C
|
641
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
642
|
-
% tar xvzf groonga\-5.0.
|
643
|
-
% cd groonga\-5.0.
|
750
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
751
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
752
|
+
% cd groonga\-5.0.3
|
644
753
|
.ft P
|
645
754
|
.fi
|
646
755
|
.UNINDENT
|
@@ -1012,9 +1121,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1012
1121
|
.sp
|
1013
1122
|
.nf
|
1014
1123
|
.ft C
|
1015
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
1016
|
-
% tar xvzf groonga\-5.0.
|
1017
|
-
% cd groonga\-5.0.
|
1124
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
1125
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
1126
|
+
% cd groonga\-5.0.3
|
1018
1127
|
.ft P
|
1019
1128
|
.fi
|
1020
1129
|
.UNINDENT
|
@@ -1198,9 +1307,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1198
1307
|
.sp
|
1199
1308
|
.nf
|
1200
1309
|
.ft C
|
1201
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
1202
|
-
% tar xvzf groonga\-5.0.
|
1203
|
-
% cd groonga\-5.0.
|
1310
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
1311
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
1312
|
+
% cd groonga\-5.0.3
|
1204
1313
|
.ft P
|
1205
1314
|
.fi
|
1206
1315
|
.UNINDENT
|
@@ -1264,9 +1373,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1264
1373
|
.sp
|
1265
1374
|
.nf
|
1266
1375
|
.ft C
|
1267
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
1268
|
-
% gtar xvzf groonga\-5.0.
|
1269
|
-
% cd groonga\-5.0.
|
1376
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
1377
|
+
% gtar xvzf groonga\-5.0.3.tar.gz
|
1378
|
+
% cd groonga\-5.0.3
|
1270
1379
|
.ft P
|
1271
1380
|
.fi
|
1272
1381
|
.UNINDENT
|
@@ -1346,7 +1455,8 @@ CコンパイラーとC++コンパイラー ( \fBgcc\fP と \fBg++\fP がサ
|
|
1346
1455
|
.IP \(bu 2
|
1347
1456
|
\fI\%pkg\-config\fP (ライブラリを検出するため)
|
1348
1457
|
.IP \(bu 2
|
1349
|
-
\fI\%sudo\fP
|
1458
|
+
\fI\%sudo\fP for installing built
|
1459
|
+
Groonga
|
1350
1460
|
.UNINDENT
|
1351
1461
|
.UNINDENT
|
1352
1462
|
.UNINDENT
|
@@ -1387,9 +1497,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1387
1497
|
.sp
|
1388
1498
|
.nf
|
1389
1499
|
.ft C
|
1390
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.
|
1391
|
-
% tar xvzf groonga\-5.0.
|
1392
|
-
% cd groonga\-5.0.
|
1500
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-5.0.3.tar.gz
|
1501
|
+
% tar xvzf groonga\-5.0.3.tar.gz
|
1502
|
+
% cd groonga\-5.0.3
|
1393
1503
|
% ./configure
|
1394
1504
|
% make
|
1395
1505
|
% sudo make install
|
@@ -1400,7 +1510,8 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1400
1510
|
.sp
|
1401
1511
|
上記の手順を実行すると \fB/usr/local/bin/groonga\fP に \fB/reference/executables/groonga\fP がインストールされます。
|
1402
1512
|
.sp
|
1403
|
-
|
1513
|
+
The default build will work well but you can customize Groonga at
|
1514
|
+
\fBconfigure\fP step.
|
1404
1515
|
.sp
|
1405
1516
|
以下、それぞれの手順の詳細を説明します。
|
1406
1517
|
.SS \fBconfigure\fP
|
@@ -1529,7 +1640,9 @@ LZ4を使ってカラム値を圧縮する機能を有効にします。
|
|
1529
1640
|
.sp
|
1530
1641
|
MessagePackがどこにインストールされているかを指定します。MessagePackを \fB\-\-prefix=/usr\fP という \fBconfigure\fP オプションでインストールしていない場合は、MessagePackをビルドするときに指定したパスをこのオプションで指定してください。
|
1531
1642
|
.sp
|
1532
|
-
|
1643
|
+
If you installed MessagePack with \fB\-\-prefix=$HOME/local\fP option, you
|
1644
|
+
should specify \fB\-\-with\-message\-pack=$HOME/local\fP to Groonga\(aqs
|
1645
|
+
\fBconfigure\fP\&.
|
1533
1646
|
.sp
|
1534
1647
|
デフォルトは \fB/usr\fP です。
|
1535
1648
|
.sp
|
@@ -1583,7 +1696,7 @@ initスクリプトなどプラットフォーム依存のシステム管理フ
|
|
1583
1696
|
すべての \fBconfigure\fP オプションを表示します。
|
1584
1697
|
.SS \fBmake\fP
|
1585
1698
|
.sp
|
1586
|
-
\fBconfigure\fP
|
1699
|
+
\fBconfigure\fP is succeeded, you can build Groonga by \fBmake\fP:
|
1587
1700
|
.INDENT 0.0
|
1588
1701
|
.INDENT 3.5
|
1589
1702
|
.sp
|
@@ -5103,17 +5216,21 @@ Groongaでは位置情報のカラムに対して、インデックスを付与
|
|
5103
5216
|
.sp
|
5104
5217
|
.nf
|
5105
5218
|
.ft C
|
5219
|
+
table_create \-\-name GeoSite \-\-flags TABLE_HASH_KEY \-\-key_type ShortText
|
5220
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
5221
|
+
column_create \-\-table GeoSite \-\-name location \-\-type WGS84GeoPoint
|
5222
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
5106
5223
|
table_create \-\-name GeoIndex \-\-flags TABLE_PAT_KEY \-\-key_type WGS84GeoPoint
|
5107
5224
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
5108
|
-
column_create \-\-table GeoIndex \-\-name index_point \-\-type
|
5225
|
+
column_create \-\-table GeoIndex \-\-name index_point \-\-type GeoSite \-\-flags COLUMN_INDEX \-\-source location
|
5109
5226
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
5110
|
-
load \-\-table
|
5227
|
+
load \-\-table GeoSite
|
5111
5228
|
[
|
5112
5229
|
{"_key":"http://example.org/","location":"128452975x503157902"},
|
5113
5230
|
{"_key":"http://example.net/","location":"128487316x502920929"}
|
5114
5231
|
]
|
5115
5232
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
5116
|
-
select \-\-table
|
5233
|
+
select \-\-table GeoSite \-\-filter \(aqgeo_in_circle(location, "128515259x503187188", 5000)\(aq \-\-output_columns _key,location
|
5117
5234
|
# [
|
5118
5235
|
# [
|
5119
5236
|
# 0,
|
@@ -5155,7 +5272,7 @@ select \-\-table Site \-\-filter \(aqgeo_in_circle(location, "128515259x50318718
|
|
5155
5272
|
.sp
|
5156
5273
|
.nf
|
5157
5274
|
.ft C
|
5158
|
-
select \-\-table
|
5275
|
+
select \-\-table GeoSite \-\-filter \(aqgeo_in_circle(location, "128515259x503187188", 50000)\(aq \-\-output_columns _key,location,_score \-\-sortby \(aq\-geo_distance(location, "128515259x503187188")\(aq \-\-scorer \(aq_score = geo_distance(location, "128515259x503187188")\(aq
|
5159
5276
|
# [
|
5160
5277
|
# [
|
5161
5278
|
# 0,
|
@@ -8157,10 +8274,70 @@ TODO
|
|
8157
8274
|
.sp
|
8158
8275
|
TODO
|
8159
8276
|
.SS GQTP
|
8277
|
+
.SS Summary
|
8160
8278
|
.sp
|
8161
|
-
|
8279
|
+
GQTP is the acronym standing for "Groonga Query Transfer Protocol".
|
8280
|
+
.sp
|
8281
|
+
GQTP is a protocol designed for Groonga. It\(aqs a stateful
|
8282
|
+
protocol. You can send multiple commands in one session.
|
8283
|
+
.sp
|
8284
|
+
GQTP will be faster rather than \fB/server/http\fP when you send many
|
8285
|
+
light commands like \fB/reference/commands/status\fP\&. GQTP will be
|
8286
|
+
almost same performance as HTTP when you send heavy commands like
|
8287
|
+
\fB/reference/commands/select\fP\&.
|
8288
|
+
.sp
|
8289
|
+
We recommend that you use HTTP for many cases. Because there are many
|
8290
|
+
HTTP client libraries.
|
8291
|
+
.sp
|
8292
|
+
If you want to use GQTP, you can use the following libraries:
|
8293
|
+
.INDENT 0.0
|
8294
|
+
.INDENT 3.5
|
8295
|
+
.INDENT 0.0
|
8296
|
+
.IP \(bu 2
|
8297
|
+
Ruby: \fI\%groonga\-client\fP
|
8298
|
+
.IP \(bu 2
|
8299
|
+
Python: \fI\%poyonga\fP
|
8300
|
+
.IP \(bu 2
|
8301
|
+
Go: \fI\%goroo\fP
|
8302
|
+
.IP \(bu 2
|
8303
|
+
PHP: \fI\%proonga\fP
|
8304
|
+
.IP \(bu 2
|
8305
|
+
C/C++: Groonga (Groonga can be also used as library)
|
8306
|
+
.UNINDENT
|
8307
|
+
.UNINDENT
|
8308
|
+
.UNINDENT
|
8309
|
+
.sp
|
8310
|
+
It\(aqs not a library but you can use
|
8311
|
+
\fB/reference/executables/groonga\fP as a GQTP client.
|
8312
|
+
.SS How to run
|
8313
|
+
.sp
|
8314
|
+
\fB/reference/executables/groonga\fP is a GQTP server implementation.
|
8315
|
+
You can run a Groonga server by the following command line:
|
8316
|
+
.INDENT 0.0
|
8317
|
+
.INDENT 3.5
|
8318
|
+
.sp
|
8319
|
+
.nf
|
8320
|
+
.ft C
|
8321
|
+
groonga \-\-protocol gqtp \-s [options] DB_PATH
|
8322
|
+
.ft P
|
8323
|
+
.fi
|
8324
|
+
.UNINDENT
|
8325
|
+
.UNINDENT
|
8162
8326
|
.sp
|
8163
|
-
|
8327
|
+
You can run a Groonga server as a daemon by the following command
|
8328
|
+
line:
|
8329
|
+
.INDENT 0.0
|
8330
|
+
.INDENT 3.5
|
8331
|
+
.sp
|
8332
|
+
.nf
|
8333
|
+
.ft C
|
8334
|
+
groonga \-\-protocol gqtp \-d [options] DB_PATH
|
8335
|
+
.ft P
|
8336
|
+
.fi
|
8337
|
+
.UNINDENT
|
8338
|
+
.UNINDENT
|
8339
|
+
.sp
|
8340
|
+
See \fB/reference/executables/groonga\fP for available \fBoptions\fP\&.
|
8164
8341
|
.SS Memcachedバイナリプロトコル
|
8165
8342
|
.sp
|
8166
8343
|
Groongaはmemcachedバイナリプロトコルをサポートしています。以下の書式はmemcachedバイナリプロトコルのサーバをデーモンとして起動する方法を示しています。
|
@@ -8195,30 +8372,29 @@ groongaパッケージが提供する実行ファイルについて説明しま
|
|
8195
8372
|
\fB注釈:\fP
|
8196
8373
|
.INDENT 0.0
|
8197
8374
|
.INDENT 3.5
|
8198
|
-
|
8375
|
+
この実行ファイルは実験的な機能です。
|
8199
8376
|
.UNINDENT
|
8200
8377
|
.UNINDENT
|
8201
8378
|
.sp
|
8202
8379
|
バージョン 4.0.9 で追加.
|
8203
8380
|
|
8204
8381
|
.sp
|
8205
|
-
\fBgrndb\fP
|
8382
|
+
\fBgrndb\fP はGroongaのデータベースを管理します。
|
8206
8383
|
.sp
|
8207
8384
|
機能は次の通りです。
|
8208
8385
|
.INDENT 0.0
|
8209
8386
|
.INDENT 3.5
|
8210
8387
|
.INDENT 0.0
|
8211
8388
|
.IP \(bu 2
|
8212
|
-
|
8389
|
+
データベースが壊れているかどうかをチェックする。
|
8213
8390
|
.IP \(bu 2
|
8214
|
-
|
8215
|
-
recoverable.
|
8391
|
+
壊れたデータベースが復旧可能なら自動でデータベースを復旧する。
|
8216
8392
|
.UNINDENT
|
8217
8393
|
.UNINDENT
|
8218
8394
|
.UNINDENT
|
8219
8395
|
.SS 構文
|
8220
8396
|
.sp
|
8221
|
-
\fBgrndb\fP
|
8397
|
+
\fBgrndb\fP にはコマンドとデータベースのパスを渡します。:
|
8222
8398
|
.INDENT 0.0
|
8223
8399
|
.INDENT 3.5
|
8224
8400
|
.sp
|
@@ -8235,9 +8411,9 @@ grndb COMMAND [OPTIONS] DATABASE_PATH
|
|
8235
8411
|
.INDENT 3.5
|
8236
8412
|
.INDENT 0.0
|
8237
8413
|
.IP \(bu 2
|
8238
|
-
\fBcheck\fP \-
|
8414
|
+
\fBcheck\fP \- データベースが壊れているかどうかをチェックします。
|
8239
8415
|
.IP \(bu 2
|
8240
|
-
\fBrecover\fP \-
|
8416
|
+
\fBrecover\fP \- データベースを復旧します。
|
8241
8417
|
.UNINDENT
|
8242
8418
|
.UNINDENT
|
8243
8419
|
.UNINDENT
|
@@ -8271,37 +8447,28 @@ $ grndb recover /var/lib/groonga/db/db
|
|
8271
8447
|
このセクションでは利用可能なコマンドについて説明します。
|
8272
8448
|
.SS \fBcheck\fP
|
8273
8449
|
.sp
|
8274
|
-
|
8275
|
-
\fBgrndb\fP reports reasons and exits with non\-\fB0\fP exit status.
|
8450
|
+
既存のGroongaデータベースをチェックします。もし、データベースが壊れていたら \fBgrndb\fP は詳細を報告し、 \fB0\fP 以外の終了ステータスで終了します。
|
8276
8451
|
.sp
|
8277
8452
|
\fB注釈:\fP
|
8278
8453
|
.INDENT 0.0
|
8279
8454
|
.INDENT 3.5
|
8280
|
-
|
8281
|
-
is opened, this command may report wrong result.
|
8455
|
+
このコマンドを他のプロセスが開いているデータベースに対しては使ってはいけません。もし、データベースが他のプロセスから開かれていると、このコマンドは間違った結果を報告する可能性があります。
|
8282
8456
|
.UNINDENT
|
8283
8457
|
.UNINDENT
|
8284
8458
|
.SS \fBrecover\fP
|
8285
8459
|
.sp
|
8286
8460
|
既存の壊れたGroongaデータベースを復旧します。
|
8287
8461
|
.sp
|
8288
|
-
|
8289
|
-
\fB0\fP exit status.
|
8462
|
+
もしデータベースが壊れていなかったら、 \fBgrndb\fP は何もせず終了ステータス \fB0\fP で終了します。
|
8290
8463
|
.sp
|
8291
|
-
|
8292
|
-
broken, \fBgrndb\fP recovers these index columns and exists with \fB0\fP
|
8293
|
-
exit status. It may take a long time for large indexed data.
|
8464
|
+
もしデータベースが壊れていて、壊れているのがインデックスカラムだけなら、 \fBgrndb\fP は壊れているインデックスカラムを復旧して終了ステータス \fB0\fP で終了します。インデックス対象のデータが大きい場合は復旧に長時間かかることもあります。
|
8294
8465
|
.sp
|
8295
|
-
|
8296
|
-
\fBgrndb\fP reports broken reasons and exits with non\-\fB0\fP exit
|
8297
|
-
status. You can know whether the database is recoverable or not by
|
8298
|
-
\fBcheck\fP command.
|
8466
|
+
もしデータベースが壊れていて、壊れているのがテーブルまたはデータカラムの場合は、 \fBgrndb\fP は壊れている原因を報告して \fB0\fP 以外の終了ステータスで終了します。データベースを復旧可能かどうかは \fBcheck\fP コマンドで確認できます。
|
8299
8467
|
.sp
|
8300
8468
|
\fB注釈:\fP
|
8301
8469
|
.INDENT 0.0
|
8302
8470
|
.INDENT 3.5
|
8303
|
-
|
8304
|
-
is opened, this command may break the database.
|
8471
|
+
このコマンドを他のプロセスが開いているデータベースに対しては使ってはいけません。もし、データベースが他のプロセスから開かれていると、このコマンドはデータベースを壊してしまう可能性があります。
|
8305
8472
|
.UNINDENT
|
8306
8473
|
.UNINDENT
|
8307
8474
|
.SS grnslap
|
@@ -8374,20 +8541,259 @@ gqtpでリクエストします。gqtpのリクエストをLF区切り形式で
|
|
8374
8541
|
.fi
|
8375
8542
|
.UNINDENT
|
8376
8543
|
.UNINDENT
|
8377
|
-
.SS
|
8544
|
+
.SS \fBgroonga\fP executable file
|
8378
8545
|
.SS 概要
|
8379
8546
|
.sp
|
8380
|
-
|
8547
|
+
\fBgroonga\fP executable file provides the following features:
|
8548
|
+
.INDENT 0.0
|
8549
|
+
.INDENT 3.5
|
8550
|
+
.INDENT 0.0
|
8551
|
+
.IP \(bu 2
|
8552
|
+
Fulltext search server
|
8553
|
+
.IP \(bu 2
|
8554
|
+
Fulltext search shell
|
8555
|
+
.IP \(bu 2
|
8556
|
+
Client for Groonga fulltext search server
|
8557
|
+
.UNINDENT
|
8558
|
+
.UNINDENT
|
8559
|
+
.UNINDENT
|
8560
|
+
.sp
|
8561
|
+
Groonga can be used as a library. If you want to use Groonga as a
|
8562
|
+
library, you need to write a program in C, C++ and so on. Library use
|
8563
|
+
is useful for embedding fulltext search feature to your application,
|
8564
|
+
but it\(aqs not easy to use.
|
8565
|
+
.sp
|
8566
|
+
You can use \fBgroonga\fP executable file to get fulltext search
|
8567
|
+
feature.
|
8568
|
+
.sp
|
8569
|
+
If you want to try Groonga, fulltext search shell usage is useful. You
|
8570
|
+
don\(aqt need any server and client. You just need one terminal. You can
|
8571
|
+
try Groonga like the following:
|
8572
|
+
.INDENT 0.0
|
8573
|
+
.INDENT 3.5
|
8574
|
+
.sp
|
8575
|
+
.nf
|
8576
|
+
.ft C
|
8577
|
+
% groonga \-n db
|
8578
|
+
> status
|
8579
|
+
[[0,1429687763.70845,0.000115633010864258],{"alloc_count":195,...}]
|
8580
|
+
> quit
|
8581
|
+
%
|
8582
|
+
.ft P
|
8583
|
+
.fi
|
8584
|
+
.UNINDENT
|
8585
|
+
.UNINDENT
|
8586
|
+
.sp
|
8587
|
+
If you want to create an application that has fulltext search feature,
|
8588
|
+
fulltext search server usage is useful. You can use Groonga as a
|
8589
|
+
server like RDBMS (Relational DataBase Management
|
8590
|
+
System). Client\-server model is a popular architecture.
|
8381
8591
|
.sp
|
8382
|
-
Groonga
|
8383
|
-
Groongaのデータベースは、groongaコマンドかCライブラリインタフェースを通して操作することができます。このマニュアルページでは、groongaコマンドの使い方について説明します。
|
8592
|
+
Normally, client for Groonga fulltext server usage isn\(aqt used.
|
8384
8593
|
.SS 構文
|
8594
|
+
.sp
|
8595
|
+
\fBgroonga\fP executable file has the following four modes:
|
8596
|
+
.INDENT 0.0
|
8597
|
+
.INDENT 3.5
|
8598
|
+
.INDENT 0.0
|
8599
|
+
.IP \(bu 2
|
8600
|
+
Standalone mode
|
8601
|
+
.IP \(bu 2
|
8602
|
+
Server mode
|
8603
|
+
.IP \(bu 2
|
8604
|
+
Daemon mode
|
8605
|
+
.IP \(bu 2
|
8606
|
+
Client mode
|
8607
|
+
.UNINDENT
|
8608
|
+
.UNINDENT
|
8609
|
+
.UNINDENT
|
8610
|
+
.sp
|
8611
|
+
There are common options in these modes. These common options is
|
8612
|
+
described later section.
|
8613
|
+
.SS Standalone mode
|
8614
|
+
.sp
|
8615
|
+
In standalone mode, \fBgroonga\fP executable file runs one or more
|
8616
|
+
Groonga \fB/reference/command\fP against a local Groonga database.
|
8617
|
+
.sp
|
8618
|
+
Here is the syntax to run shell that executes Groonga command against
|
8619
|
+
temporary database:
|
8620
|
+
.INDENT 0.0
|
8621
|
+
.INDENT 3.5
|
8622
|
+
.sp
|
8623
|
+
.nf
|
8624
|
+
.ft C
|
8625
|
+
groonga [options]
|
8626
|
+
.ft P
|
8627
|
+
.fi
|
8628
|
+
.UNINDENT
|
8629
|
+
.UNINDENT
|
8630
|
+
.sp
|
8631
|
+
Here is the syntax to create a new database and run shell that
|
8632
|
+
executes Groonga command against the new database:
|
8633
|
+
.INDENT 0.0
|
8634
|
+
.INDENT 3.5
|
8635
|
+
.sp
|
8636
|
+
.nf
|
8637
|
+
.ft C
|
8638
|
+
groonga [options] \-n DB_PATH
|
8639
|
+
.ft P
|
8640
|
+
.fi
|
8641
|
+
.UNINDENT
|
8642
|
+
.UNINDENT
|
8643
|
+
.sp
|
8644
|
+
Here is the syntax to run shell that executes Groonga command against
|
8645
|
+
existing database:
|
8646
|
+
.INDENT 0.0
|
8647
|
+
.INDENT 3.5
|
8648
|
+
.sp
|
8649
|
+
.nf
|
8650
|
+
.ft C
|
8651
|
+
groonga [options] DB_PATH
|
8652
|
+
.ft P
|
8653
|
+
.fi
|
8654
|
+
.UNINDENT
|
8655
|
+
.UNINDENT
|
8656
|
+
.sp
|
8657
|
+
Here is the syntax to run Groonga command against existing database
|
8658
|
+
and exit:
|
8659
|
+
.INDENT 0.0
|
8660
|
+
.INDENT 3.5
|
8661
|
+
.sp
|
8662
|
+
.nf
|
8663
|
+
.ft C
|
8664
|
+
groonga [options] DB_PATH COMMAND [command arguments]
|
8665
|
+
.ft P
|
8666
|
+
.fi
|
8667
|
+
.UNINDENT
|
8668
|
+
.UNINDENT
|
8669
|
+
.SS Server mode
|
8670
|
+
.sp
|
8671
|
+
In server mode, \fBgroonga\fP executable file runs as a server. The
|
8672
|
+
server accepts connections from other processes at local machine or
|
8673
|
+
remote machine and executes received Groonga \fB/reference/command\fP
|
8674
|
+
against a local Groonga database.
|
8675
|
+
.sp
|
8676
|
+
You can choose one protocol from \fB/server/http\fP and
|
8677
|
+
\fB/server/gqtp\fP\&. Normally, HTTP is suitable but GQTP is the
|
8678
|
+
default protocol. This section describes only about HTTP protocol
|
8679
|
+
usage.
|
8680
|
+
.sp
|
8681
|
+
In server mode, \fBgroonga\fP executable file runs in the foreground. If
|
8682
|
+
you want to run Groonga server in the background, see
|
8683
|
+
\fIgroonga\-executable\-file\-server\-mode\fP\&.
|
8684
|
+
.sp
|
8685
|
+
Here is the syntax to run Groonga server with temporary database:
|
8686
|
+
.INDENT 0.0
|
8687
|
+
.INDENT 3.5
|
8688
|
+
.sp
|
8689
|
+
.nf
|
8690
|
+
.ft C
|
8691
|
+
groonga [options] \-\-protocol http \-s
|
8692
|
+
.ft P
|
8693
|
+
.fi
|
8694
|
+
.UNINDENT
|
8695
|
+
.UNINDENT
|
8696
|
+
.sp
|
8697
|
+
Here is the syntax to create a new database and run Groonga server
|
8698
|
+
with the new database:
|
8385
8699
|
.INDENT 0.0
|
8386
8700
|
.INDENT 3.5
|
8387
8701
|
.sp
|
8388
8702
|
.nf
|
8389
8703
|
.ft C
|
8390
|
-
groonga [options]
|
8704
|
+
groonga [options] \-\-protocol http \-s \-n DB_PATH
|
8705
|
+
.ft P
|
8706
|
+
.fi
|
8707
|
+
.UNINDENT
|
8708
|
+
.UNINDENT
|
8709
|
+
.sp
|
8710
|
+
Here is the syntax to run Groonga server with existing database:
|
8711
|
+
.INDENT 0.0
|
8712
|
+
.INDENT 3.5
|
8713
|
+
.sp
|
8714
|
+
.nf
|
8715
|
+
.ft C
|
8716
|
+
groonga [options] \-\-protocol http \-s DB_PATH
|
8717
|
+
.ft P
|
8718
|
+
.fi
|
8719
|
+
.UNINDENT
|
8720
|
+
.UNINDENT
|
8721
|
+
.SS Daemon mode
|
8722
|
+
.sp
|
8723
|
+
In daemon mode, \fBgroonga\fP executable file runs as a daemon. Daemon
|
8724
|
+
is similar to server but it runs in the background. See
|
8725
|
+
\fI_groonga\-executable\-file\-daemon\-mode\fP about server.
|
8726
|
+
.sp
|
8727
|
+
Here is the syntax to run Groonga daemon with temporary database:
|
8728
|
+
.INDENT 0.0
|
8729
|
+
.INDENT 3.5
|
8730
|
+
.sp
|
8731
|
+
.nf
|
8732
|
+
.ft C
|
8733
|
+
groonga [options] \-\-protocol http \-d
|
8734
|
+
.ft P
|
8735
|
+
.fi
|
8736
|
+
.UNINDENT
|
8737
|
+
.UNINDENT
|
8738
|
+
.sp
|
8739
|
+
Here is the syntax to create a new database and run Groonga daemon
|
8740
|
+
with the new database:
|
8741
|
+
.INDENT 0.0
|
8742
|
+
.INDENT 3.5
|
8743
|
+
.sp
|
8744
|
+
.nf
|
8745
|
+
.ft C
|
8746
|
+
groonga [options] \-\-protocol http \-d \-n DB_PATH
|
8747
|
+
.ft P
|
8748
|
+
.fi
|
8749
|
+
.UNINDENT
|
8750
|
+
.UNINDENT
|
8751
|
+
.sp
|
8752
|
+
Here is the syntax to run Groonga daemon with existing database:
|
8753
|
+
.INDENT 0.0
|
8754
|
+
.INDENT 3.5
|
8755
|
+
.sp
|
8756
|
+
.nf
|
8757
|
+
.ft C
|
8758
|
+
groonga [options] \-\-protocol http \-d DB_PATH
|
8759
|
+
.ft P
|
8760
|
+
.fi
|
8761
|
+
.UNINDENT
|
8762
|
+
.UNINDENT
|
8763
|
+
.sp
|
8764
|
+
\fI\-\-pid\-file\fP option will be useful for daemon mode.
|
8765
|
+
.SS Client mode
|
8766
|
+
.sp
|
8767
|
+
In client mode, \fBgroonga\fP executable file runs as a client for GQTP
|
8768
|
+
protocol Groonga server. Its usage is similar to
|
8769
|
+
\fIgroonga\-executable\-file\-standalone\-mode\fP\&. You can run shell and
|
8770
|
+
execute one command. You need to specify server address instead of
|
8771
|
+
local database.
|
8772
|
+
.sp
|
8773
|
+
Note that you can use \fBgroonga\fP executable file as a client for HTTP
|
8774
|
+
protocol Groonga server.
|
8775
|
+
.sp
|
8776
|
+
Here is the syntax to run shell that executes Groonga command against
|
8777
|
+
Groonga server that is running at \fB192.168.0.1:10043\fP:
|
8778
|
+
.INDENT 0.0
|
8779
|
+
.INDENT 3.5
|
8780
|
+
.sp
|
8781
|
+
.nf
|
8782
|
+
.ft C
|
8783
|
+
groonga [options] \-c \-\-host 192.168.0.1 \-\-port 10043
|
8784
|
+
.ft P
|
8785
|
+
.fi
|
8786
|
+
.UNINDENT
|
8787
|
+
.UNINDENT
|
8788
|
+
.sp
|
8789
|
+
Here is the syntax to run Groonga command against Groonga server that
|
8790
|
+
is running at \fB192.168.0.1:10043\fP and exit:
|
8791
|
+
.INDENT 0.0
|
8792
|
+
.INDENT 3.5
|
8793
|
+
.sp
|
8794
|
+
.nf
|
8795
|
+
.ft C
|
8796
|
+
groonga [options] \-c \-\-host 192.168.0.1 \-\-port 10043 COMMAND [command arguments]
|
8391
8797
|
.ft P
|
8392
8798
|
.fi
|
8393
8799
|
.UNINDENT
|
@@ -12770,76 +13176,201 @@ dumpが出力するフォーマットは直接Groongaが解釈できるフォー
|
|
12770
13176
|
.nf
|
12771
13177
|
.ft C
|
12772
13178
|
dump [tables]
|
13179
|
+
[dump_plugins]
|
13180
|
+
[dump_schema]
|
13181
|
+
[dump_records]
|
13182
|
+
[dump_indexes]
|
12773
13183
|
.ft P
|
12774
13184
|
.fi
|
12775
13185
|
.UNINDENT
|
12776
13186
|
.UNINDENT
|
12777
13187
|
.SS 使い方
|
12778
13188
|
.sp
|
12779
|
-
|
13189
|
+
Here is the sample schema and data to check dump behaviour:
|
13190
|
+
.INDENT 0.0
|
13191
|
+
.INDENT 3.5
|
13192
|
+
.sp
|
13193
|
+
.nf
|
13194
|
+
.ft C
|
13195
|
+
plugin_register token_filters/stop_word
|
13196
|
+
table_create Bookmarks TABLE_HASH_KEY ShortText
|
13197
|
+
column_create Bookmarks title COLUMN_SCALAR ShortText
|
13198
|
+
table_create Lexicon TABLE_PAT_KEY ShortText
|
13199
|
+
table_create Sites TABLE_NO_KEY
|
13200
|
+
column_create Sites url COLUMN_SCALAR ShortText
|
13201
|
+
column_create Lexicon bookmark_title COLUMN_INDEX Bookmarks title
|
13202
|
+
load \-\-table Bookmarks
|
13203
|
+
[
|
13204
|
+
{"_key":"Groonga", "title":"Introduction to Groonga"},
|
13205
|
+
{"_key":"Mroonga", "title":"Introduction to Mroonga"}
|
13206
|
+
]
|
13207
|
+
load \-\-table Sites
|
13208
|
+
[
|
13209
|
+
{"_key": 1, "url":"http://groonga.org"},
|
13210
|
+
{"_key": 2, "url":"http://mroonga.org"}
|
13211
|
+
]
|
13212
|
+
.ft P
|
13213
|
+
.fi
|
13214
|
+
.UNINDENT
|
13215
|
+
.UNINDENT
|
13216
|
+
.sp
|
13217
|
+
Dump all data in database:
|
12780
13218
|
.INDENT 0.0
|
12781
13219
|
.INDENT 3.5
|
12782
13220
|
.sp
|
12783
13221
|
.nf
|
12784
13222
|
.ft C
|
12785
13223
|
> dump
|
12786
|
-
|
12787
|
-
|
12788
|
-
|
12789
|
-
column_create
|
12790
|
-
|
12791
|
-
|
13224
|
+
plugin_register token_filters/stop_word
|
13225
|
+
|
13226
|
+
table_create Sites TABLE_NO_KEY
|
13227
|
+
column_create Sites url COLUMN_SCALAR ShortText
|
13228
|
+
|
13229
|
+
table_create Bookmarks TABLE_HASH_KEY ShortText
|
13230
|
+
column_create Bookmarks title COLUMN_SCALAR ShortText
|
13231
|
+
|
13232
|
+
table_create Lexicon TABLE_PAT_KEY ShortText
|
13233
|
+
|
13234
|
+
load \-\-table Sites
|
12792
13235
|
[
|
12793
|
-
["
|
12794
|
-
["
|
12795
|
-
["
|
12796
|
-
\&...
|
13236
|
+
["_id","url"],
|
13237
|
+
[1,"http://groonga.org"],
|
13238
|
+
[2,"http://mroonga.org"]
|
12797
13239
|
]
|
12798
|
-
|
13240
|
+
|
13241
|
+
load \-\-table Bookmarks
|
13242
|
+
[
|
13243
|
+
["_key","title"],
|
13244
|
+
["Groonga","Introduction to Groonga"],
|
13245
|
+
["Mroonga","Introduction to Mroonga"]
|
13246
|
+
]
|
13247
|
+
|
13248
|
+
create Lexicon bookmark_title COLUMN_INDEX Bookmarks title
|
12799
13249
|
.ft P
|
12800
13250
|
.fi
|
12801
13251
|
.UNINDENT
|
12802
13252
|
.UNINDENT
|
12803
13253
|
.sp
|
12804
|
-
|
13254
|
+
Dump schema and specific table data:
|
12805
13255
|
.INDENT 0.0
|
12806
13256
|
.INDENT 3.5
|
12807
13257
|
.sp
|
12808
13258
|
.nf
|
12809
13259
|
.ft C
|
12810
|
-
> dump
|
12811
|
-
|
12812
|
-
|
12813
|
-
table_create Comments TABLE_PAT_KEY ShortText
|
12814
|
-
column_create Comments text COLUMN_SCALAR ShortText
|
13260
|
+
> dump Bookmarks
|
13261
|
+
plugin_register token_filters/stop_word
|
13262
|
+
|
12815
13263
|
table_create Sites TABLE_NO_KEY
|
12816
13264
|
column_create Sites url COLUMN_SCALAR ShortText
|
12817
|
-
|
13265
|
+
|
13266
|
+
table_create Bookmarks TABLE_HASH_KEY ShortText
|
13267
|
+
column_create Bookmarks title COLUMN_SCALAR ShortText
|
13268
|
+
|
13269
|
+
table_create Lexicon TABLE_PAT_KEY ShortText
|
13270
|
+
|
13271
|
+
load \-\-table Bookmarks
|
12818
13272
|
[
|
12819
|
-
["_key"],
|
12820
|
-
["
|
12821
|
-
["
|
12822
|
-
\&...
|
13273
|
+
["_key","title"],
|
13274
|
+
["Groonga","Introduction to Groonga"],
|
13275
|
+
["Mroonga","Introduction to Mroonga"]
|
12823
13276
|
]
|
13277
|
+
|
13278
|
+
column_create Lexicon bookmark_title COLUMN_INDEX Bookmarks title
|
13279
|
+
.ft P
|
13280
|
+
.fi
|
13281
|
+
.UNINDENT
|
13282
|
+
.UNINDENT
|
13283
|
+
.sp
|
13284
|
+
Dump plugin only:
|
13285
|
+
.INDENT 0.0
|
13286
|
+
.INDENT 3.5
|
13287
|
+
.sp
|
13288
|
+
.nf
|
13289
|
+
.ft C
|
13290
|
+
> dump \-\-dump_schema no \-\-dump_records no \-\-dump_indexes no
|
13291
|
+
plugin_register token_filters/stop_word
|
13292
|
+
.ft P
|
13293
|
+
.fi
|
13294
|
+
.UNINDENT
|
13295
|
+
.UNINDENT
|
13296
|
+
.sp
|
13297
|
+
Dump records only:
|
13298
|
+
.INDENT 0.0
|
13299
|
+
.INDENT 3.5
|
13300
|
+
.sp
|
13301
|
+
.nf
|
13302
|
+
.ft C
|
13303
|
+
> dump \-\-dump_schema no \-\-dump_plugins no \-\-dump_indexes no
|
12824
13304
|
load \-\-table Sites
|
12825
13305
|
[
|
12826
13306
|
["_id","url"],
|
12827
|
-
[1,"http://groonga.org
|
12828
|
-
[2,"http://
|
12829
|
-
\&...
|
13307
|
+
[1,"http://groonga.org"],
|
13308
|
+
[2,"http://mroonga.org"]
|
12830
13309
|
]
|
13310
|
+
|
13311
|
+
load \-\-table Bookmarks
|
13312
|
+
[
|
13313
|
+
["_key","title"],
|
13314
|
+
["Groonga","Introduction to Groonga"],
|
13315
|
+
["Mroonga","Introduction to Mroonga"]
|
13316
|
+
]
|
13317
|
+
.ft P
|
13318
|
+
.fi
|
13319
|
+
.UNINDENT
|
13320
|
+
.UNINDENT
|
13321
|
+
.sp
|
13322
|
+
Dump schema only:
|
13323
|
+
.INDENT 0.0
|
13324
|
+
.INDENT 3.5
|
13325
|
+
.sp
|
13326
|
+
.nf
|
13327
|
+
.ft C
|
13328
|
+
> dump \-\-dump_records no \-\-dump_plugins no \-\-dump_indexes no
|
13329
|
+
table_create Sites TABLE_NO_KEY
|
13330
|
+
column_create Sites url COLUMN_SCALAR ShortText
|
13331
|
+
|
13332
|
+
table_create Bookmarks TABLE_HASH_KEY ShortText
|
13333
|
+
column_create Bookmarks title COLUMN_SCALAR ShortText
|
13334
|
+
|
13335
|
+
table_create Lexicon TABLE_PAT_KEY ShortText
|
12831
13336
|
.ft P
|
12832
13337
|
.fi
|
12833
13338
|
.UNINDENT
|
12834
13339
|
.UNINDENT
|
12835
13340
|
.SS 引数
|
12836
13341
|
.sp
|
12837
|
-
|
13342
|
+
いくつか省略可能な引数があります。
|
13343
|
+
.SS 省略可能引数
|
13344
|
+
.SS \fBtables\fP
|
12838
13345
|
.INDENT 0.0
|
12839
13346
|
.INDENT 3.5
|
12840
13347
|
出力対象のテーブルを「,」(カンマ)区切りで指定します。存在しないテーブルを指定した場合は無視されます。
|
12841
13348
|
.UNINDENT
|
12842
13349
|
.UNINDENT
|
13350
|
+
.SS \fBdump_plugins\fP
|
13351
|
+
.sp
|
13352
|
+
You can customize the output whether it contains registered plugins or not.
|
13353
|
+
To exclude registered plugins from the output, specify \fBno\fP\&.
|
13354
|
+
.sp
|
13355
|
+
The default value is \fByes\fP\&.
|
13356
|
+
.SS \fBdump_schema\fP
|
13357
|
+
.sp
|
13358
|
+
You can customize the output whether it contains database schema or not.
|
13359
|
+
To exclude database schema from the output, specify \fBno\fP\&.
|
13360
|
+
.sp
|
13361
|
+
The default value is \fByes\fP\&.
|
13362
|
+
.SS \fBdump_records\fP
|
13363
|
+
.sp
|
13364
|
+
You can customize the output whether it contains records or not.
|
13365
|
+
To exclude records from the output, specify \fBno\fP\&.
|
13366
|
+
.sp
|
13367
|
+
The default value is \fByes\fP\&.
|
13368
|
+
.SS \fBdump_indexes\fP
|
13369
|
+
.sp
|
13370
|
+
You can customize the output whether it contains indexes or not.
|
13371
|
+
To exclude indexes from the output, specify \fBno\fP\&.
|
13372
|
+
.sp
|
13373
|
+
The default value is \fByes\fP\&.
|
12843
13374
|
.SS 戻り値
|
12844
13375
|
.sp
|
12845
13376
|
データベースのスキーマとデータをGroongaの組み込みコマンド呼び出し形式で出力します。output_type指定は無視されます。
|
@@ -14160,31 +14691,25 @@ register query_expanders/tsv
|
|
14160
14691
|
バージョン 4.0.9 で追加.
|
14161
14692
|
|
14162
14693
|
.sp
|
14163
|
-
\fBrequest_cancel\fP
|
14694
|
+
\fBrequest_cancel\fP コマンドは実行中のリクエストをキャンセルします。
|
14164
14695
|
.sp
|
14165
14696
|
いくつか制限があります。
|
14166
14697
|
.INDENT 0.0
|
14167
14698
|
.INDENT 3.5
|
14168
14699
|
.INDENT 0.0
|
14169
14700
|
.IP \(bu 2
|
14170
|
-
|
14171
|
-
for each request.)
|
14701
|
+
リクエストIDはユーザーが管理する必要があります。(各リクエストに一意のキーを割り当てる必要があります。)
|
14172
14702
|
.IP \(bu 2
|
14173
|
-
|
14174
|
-
command multiple times for the same request ID.)
|
14703
|
+
キャンセルリクエストは無視されることもあります。(同じリクエストIDに対して何度も \fBrequest_cancel\fP コマンドを送信することができます。)
|
14175
14704
|
.IP \(bu 2
|
14176
|
-
|
14177
|
-
with \fB/reference/executables/groonga\fP based server but can\(aqt
|
14178
|
-
use with \fB/reference/executables/groonga\-httpd\fP\&.)
|
14705
|
+
マルチスレッド型のGroongaサーバーのみサポートしています。( \fB/reference/executables/groonga\fP ベースのサーバーでは使えますが、 \fB/reference/executables/groonga\-httpd\fP では使えません。)
|
14179
14706
|
.UNINDENT
|
14180
14707
|
.UNINDENT
|
14181
14708
|
.UNINDENT
|
14182
14709
|
.sp
|
14183
14710
|
リクエストIDについては \fB/reference/command/request_id\fP を参照してください。
|
14184
14711
|
.sp
|
14185
|
-
|
14186
|
-
(\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
14187
|
-
\fB/reference/command/return_code\fP\&.
|
14712
|
+
リクエストがキャンセルされたら、キャンセルされたリクエストの \fB/reference/command/return_code\fP は \fB\-5\fP ( \fBGRN_INTERRUPTED_FUNCTION_CALL\fP )になります。
|
14188
14713
|
.SS 構文
|
14189
14714
|
.sp
|
14190
14715
|
\fBrequest_cancel\fP コマンドの引数は1つだけです。
|
@@ -14219,20 +14744,13 @@ $ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
|
14219
14744
|
.UNINDENT
|
14220
14745
|
.UNINDENT
|
14221
14746
|
.sp
|
14222
|
-
|
14223
|
-
time. \fBunique\-id\-1\fP request ID is assigned to the \fBselect\fP command
|
14224
|
-
by \fBrequest_id=unique\-id\-1\fP parameter.
|
14747
|
+
最初の \fBselect\fP コマンドが長時間かかると仮定します。 \fBrequest_id=unique\-id\-1\fP パラメーターを指定することで \fBunique\-id\-1\fP というリクエストIDをこの \fBselect\fP コマンドに割り当てます。
|
14225
14748
|
.sp
|
14226
|
-
|
14227
|
-
parameter. \fBunique\-id\-1\fP is the same request ID passed in \fBselect\fP
|
14228
|
-
command.
|
14749
|
+
2つめの \fBrequest_cancel\fP コマンドで \fBid=unique\-id\-1\fP パラメーターを指定しています。 \fBunique\-id\-1\fP は \fBselect\fP コマンドに渡したリクエストIDと同じリクエストIDです。
|
14229
14750
|
.sp
|
14230
|
-
|
14231
|
-
request may be ignored.
|
14751
|
+
この \fBselect\fP コマンドはすぐにはキャンセルされないかもしれません。また、このキャンセルリクエストは無視されることもあります。
|
14232
14752
|
.sp
|
14233
|
-
|
14234
|
-
the target request is canceled or finished, \fB"canceled"\fP value is
|
14235
|
-
changed to \fBfalse\fP from \fBtrue\fP:
|
14753
|
+
同じリクエストIDに対するキャンセルリクエストを複数回送ることができます。もし、対象のリクエストがキャンセルされたか終了した場合は戻り値の中の \fB"canceled"\fP の値が \fBtrue\fP から \fBfalse\fP に変わります。
|
14236
14754
|
.INDENT 0.0
|
14237
14755
|
.INDENT 3.5
|
14238
14756
|
.sp
|
@@ -14252,9 +14770,7 @@ $ curl \(aqhttp://localhost:10041/d/request_cancel?id=unique\-id\-1\(aq
|
|
14252
14770
|
.UNINDENT
|
14253
14771
|
.UNINDENT
|
14254
14772
|
.sp
|
14255
|
-
|
14256
|
-
command has \fB\-5\fP (\fBGRN_INTERRUPTED_FUNCTION_CALL\fP) as
|
14257
|
-
\fB/reference/command/return_code\fP:
|
14773
|
+
もし、この \fBselect\fP コマンドがキャンセルされたら、 \fBselect\fP コマンドの \fB/reference/command/return_code\fP は \fB\-5\fP ( \fBGRN_INTERRUPTED_FUNCTION_CALL\fP )になります。:
|
14258
14774
|
.INDENT 0.0
|
14259
14775
|
.INDENT 3.5
|
14260
14776
|
.sp
|
@@ -14277,7 +14793,7 @@ $ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_
|
|
14277
14793
|
対象リクエストのIDを指定します。
|
14278
14794
|
.SS 戻り値
|
14279
14795
|
.sp
|
14280
|
-
\fBrequest_cancel\fP
|
14796
|
+
\fBrequest_cancel\fP コマンドはキャンセルリクエストの結果を返します。:
|
14281
14797
|
.INDENT 0.0
|
14282
14798
|
.INDENT 3.5
|
14283
14799
|
.sp
|
@@ -14305,23 +14821,18 @@ $ curl \(aqhttp://localhost:10041/d/select?table=LargeTable&filter=true&request_
|
|
14305
14821
|
\fBID\fP
|
14306
14822
|
.INDENT 0.0
|
14307
14823
|
.INDENT 3.5
|
14308
|
-
|
14824
|
+
対象のリクエストのIDです。
|
14309
14825
|
.UNINDENT
|
14310
14826
|
.UNINDENT
|
14311
14827
|
.sp
|
14312
14828
|
\fBCANCEL_REQUEST_IS_ACCEPTED_OR_NOT\fP
|
14313
14829
|
.INDENT 0.0
|
14314
14830
|
.INDENT 3.5
|
14315
|
-
|
14316
|
-
is \fBfalse\fP\&.
|
14831
|
+
もし、このキャンセルリクエストが受け付けられたら \fBtrue\fP 、そうでなければ \fBfalse\fP になります。
|
14317
14832
|
.sp
|
14318
|
-
|
14319
|
-
target request is canceled". It just means "cancel request is
|
14320
|
-
notified to the target request but the cancel request may be ignored
|
14321
|
-
by the target request".
|
14833
|
+
「キャンセルリクエストが受け付けられた」というのは「対象リクエストがキャンセルされた」という意味ではないことに注意してください。これは「キャンセルリクエストは対象リクエストに通知したが、対象リクエストはそのキャンセルリクエストを無視するかもしれない」という意味です。
|
14322
14834
|
.sp
|
14323
|
-
|
14324
|
-
\fBfalse\fP\&.
|
14835
|
+
指定したリクエストIDが割り当てられているリクエストが存在しなければ \fBfalse\fP になります。
|
14325
14836
|
.UNINDENT
|
14326
14837
|
.UNINDENT
|
14327
14838
|
.SS 参考
|
@@ -26160,7 +26671,7 @@ SCORE_FUNCTION(COLUMN, ARGUMENT1, ARGUMENT2, ...) * WEIGHT
|
|
26160
26671
|
.UNINDENT
|
26161
26672
|
.UNINDENT
|
26162
26673
|
.sp
|
26163
|
-
\fIselect\-match\-columns\fP
|
26674
|
+
\fIselect\-match\-columns\fP ではカラムごとに異なるスコア関数を使うことができます。:
|
26164
26675
|
.INDENT 0.0
|
26165
26676
|
.INDENT 3.5
|
26166
26677
|
.sp
|
@@ -33973,6 +34484,144 @@ sub_filterは以下の条件が満たされていることを要求します。
|
|
33973
34484
|
.IP \(bu 2
|
33974
34485
|
\fB/reference/grn_expr/script_syntax\fP
|
33975
34486
|
.UNINDENT
|
34487
|
+
.SS vector_size
|
34488
|
+
.SS 概要
|
34489
|
+
.sp
|
34490
|
+
バージョン 5.0.3 で追加.
|
34491
|
+
|
34492
|
+
.sp
|
34493
|
+
\fBvector_size\fP returns the value of vector column size.
|
34494
|
+
.sp
|
34495
|
+
To enable this function, register \fBfunctions/vector\fP plugin by following the command:
|
34496
|
+
.INDENT 0.0
|
34497
|
+
.INDENT 3.5
|
34498
|
+
.sp
|
34499
|
+
.nf
|
34500
|
+
.ft C
|
34501
|
+
plugin_register functions/vector
|
34502
|
+
.ft P
|
34503
|
+
.fi
|
34504
|
+
.UNINDENT
|
34505
|
+
.UNINDENT
|
34506
|
+
.sp
|
34507
|
+
Then, use \fBvector_size\fP function with \fB\-\-command_version 2\fP option.
|
34508
|
+
.SS 構文
|
34509
|
+
.sp
|
34510
|
+
\fBvector_size\fP requires one argument \- \fBtarget\fP\&.
|
34511
|
+
.INDENT 0.0
|
34512
|
+
.INDENT 3.5
|
34513
|
+
.sp
|
34514
|
+
.nf
|
34515
|
+
.ft C
|
34516
|
+
vector_size(target)
|
34517
|
+
.ft P
|
34518
|
+
.fi
|
34519
|
+
.UNINDENT
|
34520
|
+
.UNINDENT
|
34521
|
+
.SS 使い方
|
34522
|
+
.sp
|
34523
|
+
使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。
|
34524
|
+
.sp
|
34525
|
+
サンプルスキーマ:
|
34526
|
+
.sp
|
34527
|
+
実行例:
|
34528
|
+
.INDENT 0.0
|
34529
|
+
.INDENT 3.5
|
34530
|
+
.sp
|
34531
|
+
.nf
|
34532
|
+
.ft C
|
34533
|
+
table_create Memos TABLE_HASH_KEY ShortText
|
34534
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
34535
|
+
column_create Memos tags COLUMN_VECTOR ShortText
|
34536
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
34537
|
+
.ft P
|
34538
|
+
.fi
|
34539
|
+
.UNINDENT
|
34540
|
+
.UNINDENT
|
34541
|
+
.sp
|
34542
|
+
サンプルデータ:
|
34543
|
+
.sp
|
34544
|
+
実行例:
|
34545
|
+
.INDENT 0.0
|
34546
|
+
.INDENT 3.5
|
34547
|
+
.sp
|
34548
|
+
.nf
|
34549
|
+
.ft C
|
34550
|
+
load \-\-table Memos
|
34551
|
+
[
|
34552
|
+
{"_key": "Groonga", "tags": ["Groonga"]},
|
34553
|
+
{"_key": "Rroonga", "tags": ["Groonga", "Ruby"]},
|
34554
|
+
{"_key": "Nothing"}
|
34555
|
+
]
|
34556
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
34557
|
+
.ft P
|
34558
|
+
.fi
|
34559
|
+
.UNINDENT
|
34560
|
+
.UNINDENT
|
34561
|
+
.sp
|
34562
|
+
Here is the simple usage of \fBvector_size\fP function which returns tags and size \- the value of \fBtags\fP column and size of it.
|
34563
|
+
.sp
|
34564
|
+
実行例:
|
34565
|
+
.INDENT 0.0
|
34566
|
+
.INDENT 3.5
|
34567
|
+
.sp
|
34568
|
+
.nf
|
34569
|
+
.ft C
|
34570
|
+
select Memos \-\-output_columns \(aqtags, vector_size(tags)\(aq \-\-command_version 2
|
34571
|
+
# [
|
34572
|
+
# [
|
34573
|
+
# 0,
|
34574
|
+
# 1337566253.89858,
|
34575
|
+
# 0.000355720520019531
|
34576
|
+
# ],
|
34577
|
+
# [
|
34578
|
+
# [
|
34579
|
+
# [
|
34580
|
+
# 3
|
34581
|
+
# ],
|
34582
|
+
# [
|
34583
|
+
# [
|
34584
|
+
# "tags",
|
34585
|
+
# "ShortText"
|
34586
|
+
# ],
|
34587
|
+
# [
|
34588
|
+
# "vector_size",
|
34589
|
+
# "Object"
|
34590
|
+
# ]
|
34591
|
+
# ],
|
34592
|
+
# [
|
34593
|
+
# [
|
34594
|
+
# "Groonga"
|
34595
|
+
# ],
|
34596
|
+
# 1
|
34597
|
+
# ],
|
34598
|
+
# [
|
34599
|
+
# [
|
34600
|
+
# "Groonga",
|
34601
|
+
# "Ruby"
|
34602
|
+
# ],
|
34603
|
+
# 2
|
34604
|
+
# ],
|
34605
|
+
# [
|
34606
|
+
# [],
|
34607
|
+
# 0
|
34608
|
+
# ]
|
34609
|
+
# ]
|
34610
|
+
# ]
|
34611
|
+
# ]
|
34612
|
+
.ft P
|
34613
|
+
.fi
|
34614
|
+
.UNINDENT
|
34615
|
+
.UNINDENT
|
34616
|
+
.SS 引数
|
34617
|
+
.sp
|
34618
|
+
There is one required parameter, \fBtarget\fP\&.
|
34619
|
+
.SS \fBtarget\fP
|
34620
|
+
.sp
|
34621
|
+
Specifies a vector column of table that is specified by \fBtable\fP parameter in \fBselect\fP\&.
|
34622
|
+
.SS 戻り値
|
34623
|
+
.sp
|
34624
|
+
\fBvector_size\fP returns the value of target vector column size.
|
33976
34625
|
.SS 操作方法
|
33977
34626
|
.sp
|
33978
34627
|
Groongaには複数の検索機能があります。このセクションではこの検索の操作方法を説明します。
|
@@ -39479,8 +40128,12 @@ GQTPサーバを終了する安全は方法は、クライアントを起動し
|
|
39479
40128
|
.UNINDENT
|
39480
40129
|
.UNINDENT
|
39481
40130
|
.SS 参照
|
39482
|
-
.
|
39483
|
-
|
40131
|
+
.INDENT 0.0
|
40132
|
+
.IP \(bu 2
|
40133
|
+
\fB/reference/executables/groonga\fP
|
40134
|
+
.IP \(bu 2
|
40135
|
+
\fB/server/gqtp\fP
|
40136
|
+
.UNINDENT
|
39484
40137
|
.SS 検索
|
39485
40138
|
.sp
|
39486
40139
|
\fB/reference/commands/select\fP コマンドがqueryパラメータを使ってどのように検索するのかを説明します。
|
@@ -40770,14 +41423,19 @@ CUTTER_SOURCE_PATH=$HOME/work/cutter/cutter
|
|
40770
41423
|
.UNINDENT
|
40771
41424
|
.UNINDENT
|
40772
41425
|
.sp
|
40773
|
-
|
40774
|
-
|
41426
|
+
Debian系(.deb)やRed Hat系(.rpm)パッケージのビルドには \fI\%Vagrant\fP を使用します。apt\-getでインストールできるのは古いバージョンなので、Webサイトから最新版をダウンロードしてインストールすることをおすすめします。
|
41427
|
+
.sp
|
41428
|
+
Vagrantで使用する仮想化ソフトウェア(VirtualBox、VMwareなど)がない場合、合わせてインストールしてください。なお、VirtualBoxはsources.listにcontribセクションを追加すればapt\-getでインストールできます。:
|
40775
41429
|
.INDENT 0.0
|
40776
41430
|
.INDENT 3.5
|
40777
41431
|
.sp
|
40778
41432
|
.nf
|
40779
41433
|
.ft C
|
40780
|
-
%
|
41434
|
+
% cat /etc/apt/sources.list
|
41435
|
+
deb http://ftp.jp.debian.org/debian/ sid main contrib
|
41436
|
+
deb\-src http://ftp.jp.debian.org/debian/ sid main contrib
|
41437
|
+
% sudo apt\-get update
|
41438
|
+
% sudo apt\-get install virtualbox
|
40781
41439
|
.ft P
|
40782
41440
|
.fi
|
40783
41441
|
.UNINDENT
|
@@ -41370,8 +42028,8 @@ Debian系もしくはRed Hat系の場合には本番環境へとアップロー
|
|
41370
42028
|
.sp
|
41371
42029
|
.nf
|
41372
42030
|
.ft C
|
41373
|
-
%
|
41374
|
-
%
|
42031
|
+
% ruby \-run \-e httpd \-\- packages/yum/repositories (yumの場合)
|
42032
|
+
% ruby \-run \-e httpd \-\- packages/apt/repositories (aptの場合)
|
41375
42033
|
.ft P
|
41376
42034
|
.fi
|
41377
42035
|
.UNINDENT
|
@@ -41584,6 +42242,27 @@ Windows向けのパッケージのアップロードには以下のコマンド
|
|
41584
42242
|
.UNINDENT
|
41585
42243
|
.sp
|
41586
42244
|
アップロードが正常終了すると、リリース対象のリポジトリデータやパッケージ、アーカイブ等がpackages.groonga.orgへと反映されます。
|
42245
|
+
.SS Ubuntu用パッケージのアップロード
|
42246
|
+
.sp
|
42247
|
+
Ubuntu向けのパッケージのアップロードには以下のコマンドを実行します。:
|
42248
|
+
.INDENT 0.0
|
42249
|
+
.INDENT 3.5
|
42250
|
+
.sp
|
42251
|
+
.nf
|
42252
|
+
.ft C
|
42253
|
+
% cd packages/ubuntu
|
42254
|
+
% make upload
|
42255
|
+
.ft P
|
42256
|
+
.fi
|
42257
|
+
.UNINDENT
|
42258
|
+
.UNINDENT
|
42259
|
+
.sp
|
42260
|
+
アップロードが正常終了すると、launchpad.net上でビルドが実行され、ビルド結果がメールで通知されます。ビルドに成功すると、リリース対象のパッケージがlaunchpad.netのGroongaチームのPPAへと反映されます。公開されているパッケージは以下のURLで確認できます。
|
42261
|
+
.INDENT 0.0
|
42262
|
+
.INDENT 3.5
|
42263
|
+
\fI\%https://launchpad.net/~groonga/+archive/ubuntu/ppa\fP
|
42264
|
+
.UNINDENT
|
42265
|
+
.UNINDENT
|
41587
42266
|
.SS blogroonga(ブログ)の更新
|
41588
42267
|
.sp
|
41589
42268
|
\fI\%http://groonga.org/blog/\fP および \fI\%http://groonga.org/blog/\fP にて公開されているリリース案内を作成します。
|
@@ -41593,19 +42272,19 @@ Windows向けのパッケージのアップロードには以下のコマンド
|
|
41593
42272
|
cloneしたWebサイトのソースに対して以下のファイルを新規追加します。
|
41594
42273
|
.INDENT 0.0
|
41595
42274
|
.IP \(bu 2
|
41596
|
-
groonga.org/en/_post/(リリース日)\-release.
|
42275
|
+
groonga.org/en/_post/(リリース日)\-release.md
|
41597
42276
|
.IP \(bu 2
|
41598
|
-
groonga.org/ja/_post/(リリース日)\-release.
|
42277
|
+
groonga.org/ja/_post/(リリース日)\-release.md
|
41599
42278
|
.UNINDENT
|
41600
42279
|
.sp
|
41601
|
-
編集した内容をpushする前に確認したい場合には
|
42280
|
+
編集した内容をpushする前に確認したい場合にはJekyllおよびRedCloth(Textileパーサー)、RDiscount(Markdownパーサー)、JavaScript interpreter(therubyracer、Node.jsなど)が必要です。
|
41602
42281
|
インストールするには以下のコマンドを実行します。:
|
41603
42282
|
.INDENT 0.0
|
41604
42283
|
.INDENT 3.5
|
41605
42284
|
.sp
|
41606
42285
|
.nf
|
41607
42286
|
.ft C
|
41608
|
-
% sudo
|
42287
|
+
% sudo gem install jekyll RedCloth rdiscount therubyracer
|
41609
42288
|
.ft P
|
41610
42289
|
.fi
|
41611
42290
|
.UNINDENT
|
@@ -41628,7 +42307,7 @@ jekyllのインストールを行ったら、以下のコマンドでローカ
|
|
41628
42307
|
\fB注釈:\fP
|
41629
42308
|
.INDENT 0.0
|
41630
42309
|
.INDENT 3.5
|
41631
|
-
記事を非公開の状態でアップロードするには.
|
42310
|
+
記事を非公開の状態でアップロードするには.mdファイルのpublished:をfalseに設定します。:
|
41632
42311
|
.INDENT 0.0
|
41633
42312
|
.INDENT 3.5
|
41634
42313
|
.sp
|