rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/doc/text/news.md +22 -0
- data/ext/groonga/extconf.rb +29 -26
- data/ext/groonga/rb-grn.h +3 -3
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/2.4/groonga.so +0 -0
- data/lib/2.5/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/schema.rb +13 -0
- data/rroonga-build.rb +4 -11
- data/test/test-expression-builder.rb +8 -0
- data/vendor/local/bin/cv2pdb.exe +0 -0
- data/vendor/local/bin/generate-pdb.bat +38 -36
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.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-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonigmo-6.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcre-config +1 -1
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/unlz4.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/groonga/groonga.h +16 -1
- data/vendor/local/include/groonga/groonga/accessor.h +5 -1
- data/vendor/local/include/groonga/groonga/column.h +4 -0
- data/vendor/local/include/groonga/groonga/db.h +3 -1
- data/vendor/local/include/groonga/groonga/expr.h +5 -0
- data/vendor/local/include/groonga/groonga/groonga.h +124 -171
- data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
- data/vendor/local/include/groonga/groonga/ii.h +2 -0
- data/vendor/local/include/groonga/groonga/index_column.h +31 -0
- data/vendor/local/include/groonga/groonga/memory.h +29 -0
- data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
- data/vendor/local/include/groonga/groonga/obj.h +22 -1
- data/vendor/local/include/groonga/groonga/option.h +61 -0
- data/vendor/local/include/groonga/groonga/output.h +57 -2
- data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
- data/vendor/local/include/groonga/groonga/plugin.h +5 -0
- data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
- data/vendor/local/include/groonga/groonga/string.h +113 -0
- data/vendor/local/include/groonga/groonga/table.h +89 -1
- data/vendor/local/include/groonga/groonga/thread.h +15 -0
- data/vendor/local/include/groonga/groonga/time.h +1 -0
- data/vendor/local/include/groonga/groonga/token.h +60 -10
- data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
- data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
- data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
- data/vendor/local/include/groonga/groonga/vector.h +80 -0
- data/vendor/local/include/groonga/groonga/version.h +32 -0
- data/vendor/local/include/groonga/groonga/window_function.h +18 -8
- data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
- data/vendor/local/include/lz4.h +504 -212
- data/vendor/local/include/lz4frame.h +433 -153
- data/vendor/local/include/lz4frame_static.h +47 -0
- data/vendor/local/include/lz4hc.h +281 -108
- data/vendor/local/include/msgpack.hpp +4 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
- data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
- data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
- data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
- data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
- data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/fbuffer.h +1 -1
- data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
- data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
- data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
- data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
- data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
- data/vendor/local/include/msgpack/object.h +5 -0
- data/vendor/local/include/msgpack/object_decl.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
- data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
- data/vendor/local/include/msgpack/pack.h +1 -0
- data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/parse.hpp +18 -0
- data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/parse_return.hpp +17 -0
- data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/sysdep.h +34 -26
- data/vendor/local/include/msgpack/type.hpp +9 -0
- data/vendor/local/include/msgpack/unpack.h +12 -1
- data/vendor/local/include/msgpack/unpack.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
- data/vendor/local/include/msgpack/unpack_template.h +22 -30
- data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
- data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
- data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
- data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
- data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
- data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
- data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
- data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
- data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
- data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
- data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
- data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
- data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
- data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
- data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
- data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
- data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
- data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
- data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
- data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
- data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
- data/vendor/local/include/msgpack/v1/object.hpp +768 -393
- data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
- data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
- data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
- data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
- data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
- data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
- data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
- data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
- data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
- data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
- data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
- data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
- data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
- data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
- data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
- data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
- data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
- data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
- data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
- data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
- data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
- data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
- data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
- data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
- data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
- data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
- data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
- data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
- data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
- data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
- data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
- data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
- data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
- data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
- data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
- data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
- data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
- data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
- data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
- data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
- data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
- data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
- data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
- data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
- data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
- data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
- data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
- data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
- data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
- data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
- data/vendor/local/include/msgpack/version_master.h +2 -2
- data/vendor/local/include/msgpack/versioning.hpp +5 -3
- data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
- data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
- data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
- data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
- data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
- data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
- data/vendor/local/include/pcre.h +6 -6
- data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
- data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- 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 +1 -1
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
- 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 +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
- data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
- data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/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 → liblz4.dll.1.8.2} +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonigmo.a +0 -0
- data/vendor/local/lib/libonigmo.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +2 -2
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +1 -1
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +2 -2
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
- data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
- data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
- data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
- data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
- data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
- data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
- data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
- data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
- data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
- data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
- data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
- data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
- data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
- data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
- data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
- data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
- data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
- data/vendor/local/share/doc/pcre/AUTHORS +3 -3
- data/vendor/local/share/doc/pcre/ChangeLog +53 -0
- data/vendor/local/share/doc/pcre/LICENCE +3 -3
- data/vendor/local/share/doc/pcre/NEWS +6 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
- data/vendor/local/share/groonga/mruby/LEGAL +35 -35
- data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
- data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
- data/vendor/local/share/license/lz4/LICENSE +2 -2
- data/vendor/local/share/license/mruby/AUTHORS +3 -0
- data/vendor/local/share/license/mruby/MITL +1 -1
- data/vendor/local/share/license/mruby/README.md +1 -1
- data/vendor/local/share/license/msgpack/README.md +5 -34
- data/vendor/local/share/license/pcre/LICENCE +3 -3
- data/vendor/local/share/man/man1/lz4.1 +221 -86
- data/vendor/local/share/man/man1/lz4c.1 +222 -32
- data/vendor/local/share/man/man1/lz4cat.1 +221 -30
- data/vendor/local/share/man/man1/unlz4.1 +223 -0
- metadata +231 -87
- data/lib/2.1/groonga.so +0 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
- data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
- data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -1,35 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.1.4. groonga-benchmark — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.1.4. groonga-benchmark — Groonga v9.0.2ドキュメント</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
25
17
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
18
|
+
|
26
19
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
27
20
|
<link rel="index" title="索引" href="../../genindex.html" />
|
28
21
|
<link rel="search" title="検索" href="../../search.html" />
|
29
22
|
<link rel="next" title="7.1.5. groonga-httpd" href="groonga-httpd.html" />
|
30
23
|
<link rel="prev" title="7.1.3. groonga 実行ファイル" href="groonga.html" />
|
31
|
-
</head>
|
32
|
-
<body>
|
24
|
+
</head><body>
|
33
25
|
<div class="header">
|
34
26
|
<h1 class="title">
|
35
27
|
<a id="top-link" href="../../index.html">
|
@@ -59,7 +51,7 @@
|
|
59
51
|
<li class="right" >
|
60
52
|
<a href="groonga.html" title="7.1.3. groonga 実行ファイル"
|
61
53
|
accesskey="P">前へ</a> |</li>
|
62
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
54
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
63
55
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
64
56
|
<li class="nav-item nav-item-2"><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
65
57
|
</ul>
|
@@ -78,7 +70,7 @@
|
|
78
70
|
</div>
|
79
71
|
<div class="section" id="id2">
|
80
72
|
<h2>7.1.4.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
81
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga-benchmark [options...] [script] [db]
|
73
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga-benchmark [options...] [script] [db]
|
82
74
|
</pre></div>
|
83
75
|
</div>
|
84
76
|
</div>
|
@@ -152,11 +144,11 @@
|
|
152
144
|
<div class="section" id="id6">
|
153
145
|
<h2>7.1.4.6. 使い方<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
154
146
|
<p>まず、シェル上(Windowsならコマンドプロンプト上)で:</p>
|
155
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga-benchmark test.scr 任意のDB名
|
147
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga-benchmark test.scr 任意のDB名
|
156
148
|
</pre></div>
|
157
149
|
</div>
|
158
150
|
<p>とタイプしてください。もしgroonga-benchmarkが正常に動作すれば、:</p>
|
159
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>test-ユーザ名-数字.log
|
151
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>test-ユーザ名-数字.log
|
160
152
|
</pre></div>
|
161
153
|
</div>
|
162
154
|
<p>というファイルが作成されるはずです。作成されない場合、このドキュメントの「トラブルシューティング」の章を参照してください。</p>
|
@@ -172,39 +164,47 @@
|
|
172
164
|
<blockquote>
|
173
165
|
<div><p>do_local コマンドファイル [スレッド数] [繰り返し数]</p>
|
174
166
|
<blockquote>
|
175
|
-
<div>コマンドファイルをgroonga-benchmark単体で実行します。スレッド数が指定されている場合、複数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されてい場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数とも省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイル 1 [繰り返し数]と明示的に指定してください。</
|
167
|
+
<div><p>コマンドファイルをgroonga-benchmark単体で実行します。スレッド数が指定されている場合、複数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されてい場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数とも省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイル 1 [繰り返し数]と明示的に指定してください。</p>
|
168
|
+
</div></blockquote>
|
176
169
|
<p>do_gqpt コマンドファイル [スレッド数] [繰り返し数]</p>
|
177
170
|
<blockquote>
|
178
|
-
<div>コマンドファイルをgroongaサーバでGQTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</
|
171
|
+
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</p>
|
172
|
+
</div></blockquote>
|
179
173
|
<p>do_http コマンドファイル [スレッド数] [繰り返し数]</p>
|
180
174
|
<blockquote>
|
181
|
-
<div>コマンドファイルをgroongaサーバでHTTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</
|
175
|
+
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</p>
|
176
|
+
</div></blockquote>
|
182
177
|
<p>rep_local コマンドファイル [スレッド数] [繰り返し数]</p>
|
183
178
|
<blockquote>
|
184
|
-
<div>コマンドファイルをgroonga-benchmark単体で実行し、より詳細な報告を行います。</
|
179
|
+
<div><p>コマンドファイルをgroonga-benchmark単体で実行し、より詳細な報告を行います。</p>
|
180
|
+
</div></blockquote>
|
185
181
|
<p>rep_gqpt コマンドファイル [スレッド数] [繰り返し数]</p>
|
186
182
|
<blockquote>
|
187
|
-
<div>コマンドファイルをgroongaサーバでGQTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</
|
183
|
+
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</p>
|
184
|
+
</div></blockquote>
|
188
185
|
<p>rep_http コマンドファイル [スレッド数] [繰り返し数]</p>
|
189
186
|
<blockquote>
|
190
|
-
<div>コマンドファイルをgroongaサーバでHTTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</
|
187
|
+
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</p>
|
188
|
+
</div></blockquote>
|
191
189
|
<p>out_local コマンドファイル 入力ファイル名</p>
|
192
190
|
<blockquote>
|
193
191
|
<div><p>コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果をすべて”出力ファイル"に書きだします。この結果は、test_local, test_gqtp命令で利用します。なおこの命令の「出力ファイル」とは、groonga-benchmark実行時に自動的に作成されるログとは別のものです。groonga-benchmarkではコメントが利用できる以外、:</p>
|
194
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga < コマンドファイル > 出力ファイル
|
192
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga < コマンドファイル > 出力ファイル
|
195
193
|
</pre></div>
|
196
194
|
</div>
|
197
195
|
<p>とした場合と同じです。</p>
|
198
196
|
</div></blockquote>
|
199
197
|
<p>out_gqtp コマンドファイル 出力ファイル名</p>
|
200
198
|
<blockquote>
|
201
|
-
<div>コマンドファイルをgroongaサーバでGQTP経由で実行します。その他はout_local命令と同等です。</
|
199
|
+
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行します。その他はout_local命令と同等です。</p>
|
200
|
+
</div></blockquote>
|
202
201
|
<p>out_http コマンドファイル 出力ファイル名</p>
|
203
202
|
<blockquote>
|
204
|
-
<div>コマンドファイルをgroongaサーバでHTTP経由で実行します。その他はout_local命令と同等です。</
|
205
|
-
|
206
|
-
<
|
207
|
-
<dd>コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。</
|
203
|
+
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行します。その他はout_local命令と同等です。</p>
|
204
|
+
</div></blockquote>
|
205
|
+
<dl class="simple">
|
206
|
+
<dt>test_local コマンドファイル 入力ファイル名</dt><dd><p>コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。</p>
|
207
|
+
</dd>
|
208
208
|
</dl>
|
209
209
|
</div></blockquote>
|
210
210
|
</div>
|
@@ -215,7 +215,7 @@
|
|
215
215
|
<div class="section" id="id10">
|
216
216
|
<h3>7.1.4.7.3. サンプル<a class="headerlink" href="#id10" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
217
217
|
<p>スクリプトファイルのサンプルです。:</p>
|
218
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span># sample script
|
218
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span># sample script
|
219
219
|
rep_local test.ddl
|
220
220
|
do_local test.load;
|
221
221
|
do_gqtp test.select 10 10; do_local test.status 10
|
@@ -223,15 +223,15 @@ do_gqtp test.select 10 10; do_local test.status 10
|
|
223
223
|
</div>
|
224
224
|
<p>上記の意味は以下のとおりです。</p>
|
225
225
|
<blockquote>
|
226
|
-
<div><dl class="
|
227
|
-
<dt>1行目</dt>
|
228
|
-
|
229
|
-
<dt>2行目</dt>
|
230
|
-
|
231
|
-
<dt>3行目</dt>
|
232
|
-
|
233
|
-
<dt>4行目</dt>
|
234
|
-
|
226
|
+
<div><dl class="simple">
|
227
|
+
<dt>1行目</dt><dd><p>コメント行。</p>
|
228
|
+
</dd>
|
229
|
+
<dt>2行目</dt><dd><p>test.ddl というコマンドファイルをgroonga単体で実行し、詳細に報告する。</p>
|
230
|
+
</dd>
|
231
|
+
<dt>3行目</dt><dd><p>test.load というコマンドファイルをgroonga単体で実行する。(最後の";"セミコロンは複数のgroonga-benchmark命令を記述する場合に必要ですが、この例のように1つのgroonga-benchmark命令を実行する場合に付与しても問題ありません。)</p>
|
232
|
+
</dd>
|
233
|
+
<dt>4行目</dt><dd><p>test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体でtest.statusというコマンドファイルを10個のスレッドで実行する。</p>
|
234
|
+
</dd>
|
235
235
|
</dl>
|
236
236
|
</div></blockquote>
|
237
237
|
</div>
|
@@ -239,20 +239,20 @@ do_gqtp test.select 10 10; do_local test.status 10
|
|
239
239
|
<h3>7.1.4.7.4. 特殊命令<a class="headerlink" href="#id11" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
240
240
|
<p>スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在サポートされている特殊命令は以下の二つです。</p>
|
241
241
|
<blockquote>
|
242
|
-
<div><dl class="
|
243
|
-
<dt>#SET_HOST <ip/hostname></dt>
|
244
|
-
|
245
|
-
<dt>#SET_PORT <port number></dt>
|
246
|
-
|
242
|
+
<div><dl class="simple">
|
243
|
+
<dt>#SET_HOST <ip/hostname></dt><dd><p>-i, --hostオプションと同等の機能です。コマンドラインオプションに指定したIPアドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプションで指定した場合と同様です。</p>
|
244
|
+
</dd>
|
245
|
+
<dt>#SET_PORT <port number></dt><dd><p>-p, --port オプションと同等の機能です。コマンドラインオプションに指定したポート番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_PORTが優先されます。</p>
|
246
|
+
</dd>
|
247
247
|
</dl>
|
248
248
|
</div></blockquote>
|
249
249
|
<p>特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。</p>
|
250
250
|
<p>例えば、</p>
|
251
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>$ ./groonga-benchmark --port 20010 test.scr testdb
|
251
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ ./groonga-benchmark --port 20010 test.scr testdb
|
252
252
|
</pre></div>
|
253
253
|
</div>
|
254
254
|
<p>とコマンド上でポートを指定した場合でも、もしtest.scrの中身が</p>
|
255
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>#SET_PORT 10900
|
255
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>#SET_PORT 10900
|
256
256
|
rep_local test.ddl
|
257
257
|
do_local test.load;
|
258
258
|
rep_gqtp test.select 10 10; rep_local test.status 10
|
@@ -266,7 +266,7 @@ rep_gqtp test.select 10 10; rep_local test.status 10
|
|
266
266
|
<h2>7.1.4.8. groonga-benchmark実行結果<a class="headerlink" href="#id12" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
267
267
|
<p>groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
|
268
268
|
に送信されます。ログファイルは以下のようなjson形式のテキストです。</p>
|
269
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[{"script": "test.scr",
|
269
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[{"script": "test.scr",
|
270
270
|
"user": "homepage",
|
271
271
|
"date": "2010-04-14 22:47:04",
|
272
272
|
"CPU": Intel(R) Pentium(R) 4 CPU 2.80GHz",
|
@@ -321,17 +321,17 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
321
321
|
<div class="section" id="id13">
|
322
322
|
<h2>7.1.4.9. 制限事項<a class="headerlink" href="#id13" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
323
323
|
<ul class="simple">
|
324
|
-
<li>スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。</li>
|
325
|
-
<li>コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。</li>
|
324
|
+
<li><p>スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。</p></li>
|
325
|
+
<li><p>コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。</p></li>
|
326
326
|
</ul>
|
327
327
|
</div>
|
328
328
|
<div class="section" id="id14">
|
329
329
|
<h2>7.1.4.10. トラブルシューティング<a class="headerlink" href="#id14" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
330
330
|
<p>もし、groonga-benchmarkが正常に動作しない場合、まず以下を確認してください。</p>
|
331
331
|
<ul class="simple">
|
332
|
-
<li>インターネットに接続しているか? <cite>--ftp</cite> オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。</li>
|
333
|
-
<li>groonga サーバが動作していないか? groonga-benchmarkは、-i, --host オプションで明示的にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。すでにgroongaサーバが動作している場合、groonga-benchmarkは正常に動作しない可能性があります。</li>
|
334
|
-
<li>指定したDBが適切か? groonga-benchmarkは、引数で指定したDBの中身はチェックしません。もし指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性があります。</li>
|
332
|
+
<li><p>インターネットに接続しているか? <cite>--ftp</cite> オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。</p></li>
|
333
|
+
<li><p>groonga サーバが動作していないか? groonga-benchmarkは、-i, --host オプションで明示的にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。すでにgroongaサーバが動作している場合、groonga-benchmarkは正常に動作しない可能性があります。</p></li>
|
334
|
+
<li><p>指定したDBが適切か? groonga-benchmarkは、引数で指定したDBの中身はチェックしません。もし指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性があります。</p></li>
|
335
335
|
</ul>
|
336
336
|
<p>以上の原因でなければ、問題はgroonga-benchmarkかgroongaにあります。ご報告をお願いします。</p>
|
337
337
|
</div>
|
@@ -368,18 +368,18 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
368
368
|
|
369
369
|
<h4>前のトピックへ</h4>
|
370
370
|
<p class="topless"><a href="groonga.html"
|
371
|
-
title="前の章へ">7.1.3. <code class="docutils literal"><span class="pre">groonga</span></code> 実行ファイル</a></p>
|
371
|
+
title="前の章へ">7.1.3. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> 実行ファイル</a></p>
|
372
372
|
<h4>次のトピックへ</h4>
|
373
373
|
<p class="topless"><a href="groonga-httpd.html"
|
374
374
|
title="次の章へ">7.1.5. groonga-httpd</a></p>
|
375
375
|
<div id="searchbox" style="display: none" role="search">
|
376
376
|
<h3>クイック検索</h3>
|
377
|
+
<div class="searchformwrapper">
|
377
378
|
<form class="search" action="../../search.html" method="get">
|
378
|
-
<
|
379
|
-
<
|
380
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
381
|
-
<input type="hidden" name="area" value="default" />
|
379
|
+
<input type="text" name="q" />
|
380
|
+
<input type="submit" value="検索" />
|
382
381
|
</form>
|
382
|
+
</div>
|
383
383
|
</div>
|
384
384
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
385
385
|
</div>
|
@@ -398,13 +398,13 @@ ency": 831495, "self": 762519, "qps": 1967.164097, &quo
|
|
398
398
|
<li class="right" >
|
399
399
|
<a href="groonga.html" title="7.1.3. groonga 実行ファイル"
|
400
400
|
>前へ</a> |</li>
|
401
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
401
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
402
402
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
403
403
|
<li class="nav-item nav-item-2"><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
404
404
|
</ul>
|
405
405
|
</div>
|
406
406
|
<div class="footer" role="contentinfo">
|
407
|
-
© Copyright 2009-
|
407
|
+
© Copyright 2009-2019, Brazil, Inc.
|
408
408
|
</div>
|
409
409
|
</body>
|
410
410
|
</html>
|
@@ -1,35 +1,27 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
<!DOCTYPE html
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<!DOCTYPE html>
|
5
4
|
|
6
5
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
|
7
6
|
<head>
|
8
|
-
<meta
|
9
|
-
<title>7.1.5. groonga-httpd — Groonga
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<title>7.1.5. groonga-httpd — Groonga v9.0.2ドキュメント</title>
|
10
9
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
11
10
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
12
|
-
|
13
|
-
|
14
|
-
URL_ROOT: '../../',
|
15
|
-
VERSION: '7.1.0-73-g6d02cfa',
|
16
|
-
COLLAPSE_INDEX: false,
|
17
|
-
FILE_SUFFIX: '.html',
|
18
|
-
HAS_SOURCE: false,
|
19
|
-
SOURCELINK_SUFFIX: '.txt'
|
20
|
-
};
|
21
|
-
</script>
|
11
|
+
|
12
|
+
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
|
22
13
|
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
23
14
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
24
15
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
16
|
+
<script type="text/javascript" src="../../_static/language_data.js"></script>
|
25
17
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
18
|
+
|
26
19
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
27
20
|
<link rel="index" title="索引" href="../../genindex.html" />
|
28
21
|
<link rel="search" title="検索" href="../../search.html" />
|
29
22
|
<link rel="next" title="7.1.6. Groonga HTTPサーバー" href="groonga-server-http.html" />
|
30
23
|
<link rel="prev" title="7.1.4. groonga-benchmark" href="groonga-benchmark.html" />
|
31
|
-
</head>
|
32
|
-
<body>
|
24
|
+
</head><body>
|
33
25
|
<div class="header">
|
34
26
|
<h1 class="title">
|
35
27
|
<a id="top-link" href="../../index.html">
|
@@ -59,7 +51,7 @@
|
|
59
51
|
<li class="right" >
|
60
52
|
<a href="groonga-benchmark.html" title="7.1.4. groonga-benchmark"
|
61
53
|
accesskey="P">前へ</a> |</li>
|
62
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
54
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
63
55
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
64
56
|
<li class="nav-item nav-item-2"><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> »</li>
|
65
57
|
</ul>
|
@@ -79,7 +71,7 @@
|
|
79
71
|
</div>
|
80
72
|
<div class="section" id="syntax">
|
81
73
|
<h2>7.1.5.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
82
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga-httpd [nginx options]
|
74
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga-httpd [nginx options]
|
83
75
|
</pre></div>
|
84
76
|
</div>
|
85
77
|
</div>
|
@@ -87,8 +79,8 @@
|
|
87
79
|
<h2>7.1.5.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
88
80
|
<div class="section" id="set-up">
|
89
81
|
<h3>7.1.5.3.1. 設定をする<a class="headerlink" href="#set-up" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
90
|
-
<p>まずは、データベースを指定するためにgroonga-httpdの設定ファイルを編集する必要があります。次のように/etc/groonga/httpd/groonga-httpd.confを編集して <code class="docutils literal"><span class="pre">groonga_database</span></code> ディレクティブを有効にしてます。</p>
|
91
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span># Match this to the file owner of groonga database files if groonga-httpd is
|
82
|
+
<p>まずは、データベースを指定するためにgroonga-httpdの設定ファイルを編集する必要があります。次のように/etc/groonga/httpd/groonga-httpd.confを編集して <code class="docutils literal notranslate"><span class="pre">groonga_database</span></code> ディレクティブを有効にしてます。</p>
|
83
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span># Match this to the file owner of groonga database files if groonga-httpd is
|
92
84
|
# run as root.
|
93
85
|
#user groonga;
|
94
86
|
...
|
@@ -106,7 +98,7 @@ http {
|
|
106
98
|
</pre></div>
|
107
99
|
</div>
|
108
100
|
<p>次に、groonga-httpdを実行してください。すぐにターミナルに制御が戻ってきます。これはgroonga-httpdはデフォルトでデーモンプロセスになるからです。</p>
|
109
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-httpd
|
101
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% groonga-httpd
|
110
102
|
</pre></div>
|
111
103
|
</div>
|
112
104
|
</div>
|
@@ -114,7 +106,7 @@ http {
|
|
114
106
|
<h3>7.1.5.3.2. クエリーを実行する<a class="headerlink" href="#request-queries" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
115
107
|
<p>動作を確認するため、簡単なクエリー( <a class="reference internal" href="../commands/status.html"><span class="doc">status</span></a> )をリクエストしてみます。</p>
|
116
108
|
<p>実行例:</p>
|
117
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% curl http://localhost:10041/d/status
|
109
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% curl http://localhost:10041/d/status
|
118
110
|
[
|
119
111
|
[
|
120
112
|
0,
|
@@ -140,19 +132,19 @@ http {
|
|
140
132
|
<div class="section" id="loading-data-by-post">
|
141
133
|
<h3>7.1.5.3.3. POSTでのデータロード<a class="headerlink" href="#loading-data-by-post" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
142
134
|
<p>JSONデータをPOSTするとデータをロードできます。</p>
|
143
|
-
<p><code class="docutils literal"><span class="pre">Users</span></code> テーブルに <code class="docutils literal"><span class="pre">alice</span></code> と <code class="docutils literal"><span class="pre">bob</span></code> ユーザーをロードする <code class="docutils literal"><span class="pre">curl</span></code> のコマンドライン例は次の通りです:</p>
|
144
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% curl --data-binary '[{"_key": "alice"}, {"_key": "bob"}]' -H "Content-Type: application/json" "http://localhost:10041/d/load?table=Users"
|
135
|
+
<p><code class="docutils literal notranslate"><span class="pre">Users</span></code> テーブルに <code class="docutils literal notranslate"><span class="pre">alice</span></code> と <code class="docutils literal notranslate"><span class="pre">bob</span></code> ユーザーをロードする <code class="docutils literal notranslate"><span class="pre">curl</span></code> のコマンドライン例は次の通りです:</p>
|
136
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% curl --data-binary '[{"_key": "alice"}, {"_key": "bob"}]' -H "Content-Type: application/json" "http://localhost:10041/d/load?table=Users"
|
145
137
|
</pre></div>
|
146
138
|
</div>
|
147
139
|
<p>JSONファイルからユーザーをロードする場合は、次のようなJSONファイルを準備します:</p>
|
148
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>[
|
140
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
|
149
141
|
{"_key": "alice"},
|
150
142
|
{"_key": "bob"}
|
151
143
|
]
|
152
144
|
</pre></div>
|
153
145
|
</div>
|
154
|
-
<p>それから <code class="docutils literal"><span class="pre">curl</span></code> のコマンドラインでJSONファイルを指定します:</p>
|
155
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% curl -X POST 'http://localhost:10041/d/load?table=Users' -H 'Content-Type: application/json' -d @users.json
|
146
|
+
<p>それから <code class="docutils literal notranslate"><span class="pre">curl</span></code> のコマンドラインでJSONファイルを指定します:</p>
|
147
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% curl -X POST 'http://localhost:10041/d/load?table=Users' -H 'Content-Type: application/json' -d @users.json
|
156
148
|
</pre></div>
|
157
149
|
</div>
|
158
150
|
</div>
|
@@ -163,7 +155,7 @@ http {
|
|
163
155
|
<div class="section" id="shut-down">
|
164
156
|
<h3>7.1.5.3.5. 終了する<a class="headerlink" href="#shut-down" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
165
157
|
<p>最後に、次のコマンドで動作中のgroonga-httpdデーモンを終了できます。</p>
|
166
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-httpd -s stop
|
158
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% groonga-httpd -s stop
|
167
159
|
</pre></div>
|
168
160
|
</div>
|
169
161
|
</div>
|
@@ -176,20 +168,20 @@ http {
|
|
176
168
|
<h3>7.1.5.4.1. groonga-httpd特有のディレクティブ<a class="headerlink" href="#groonga-httpd-specific-directives" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
177
169
|
<p>以下のディレクティブはnginxが提供しているものではなく、groonga-httpd関連の設定をするためにgroonga-httpdが提供しているディレクティブです。</p>
|
178
170
|
<div class="section" id="groonga">
|
179
|
-
<h4>7.1.5.4.1.1. <code class="docutils literal"><span class="pre">groonga</span></code><a class="headerlink" href="#groonga" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
171
|
+
<h4>7.1.5.4.1.1. <code class="docutils literal notranslate"><span class="pre">groonga</span></code><a class="headerlink" href="#groonga" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
180
172
|
<p>構文:</p>
|
181
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga on | off;
|
173
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga on | off;
|
182
174
|
</pre></div>
|
183
175
|
</div>
|
184
|
-
<dl class="
|
185
|
-
<dt>デフォルト</dt>
|
186
|
-
|
187
|
-
<dt>コンテキスト</dt>
|
188
|
-
|
176
|
+
<dl class="simple">
|
177
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">off;</span></code></p>
|
178
|
+
</dd>
|
179
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
180
|
+
</dd>
|
189
181
|
</dl>
|
190
|
-
<p>この <code class="docutils literal"><span class="pre">location</span></code> ブロックでGroongaを使うかどうかを指定します。デフォルトは <code class="docutils literal"><span class="pre">off</span></code> です。Groongaを使うためには <code class="docutils literal"><span class="pre">on</span></code> を指定してください。</p>
|
182
|
+
<p>この <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックでGroongaを使うかどうかを指定します。デフォルトは <code class="docutils literal notranslate"><span class="pre">off</span></code> です。Groongaを使うためには <code class="docutils literal notranslate"><span class="pre">on</span></code> を指定してください。</p>
|
191
183
|
<p>例:</p>
|
192
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
184
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
193
185
|
groonga on; # Enables groonga under /d/... path
|
194
186
|
}
|
195
187
|
|
@@ -200,51 +192,51 @@ location /d/ {
|
|
200
192
|
</div>
|
201
193
|
</div>
|
202
194
|
<div class="section" id="groonga-database">
|
203
|
-
<span id="groonga-httpd-groonga-database"></span><h4>7.1.5.4.1.2. <code class="docutils literal"><span class="pre">groonga_database</span></code><a class="headerlink" href="#groonga-database" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
195
|
+
<span id="groonga-httpd-groonga-database"></span><h4>7.1.5.4.1.2. <code class="docutils literal notranslate"><span class="pre">groonga_database</span></code><a class="headerlink" href="#groonga-database" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
204
196
|
<p>構文:</p>
|
205
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_database /path/to/groonga/database;
|
197
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_database /path/to/groonga/database;
|
206
198
|
</pre></div>
|
207
199
|
</div>
|
208
|
-
<dl class="
|
209
|
-
<dt>デフォルト</dt>
|
210
|
-
|
211
|
-
<dt>コンテキスト</dt>
|
212
|
-
|
200
|
+
<dl class="simple">
|
201
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">groonga_database</span> <span class="pre">/usr/local/var/lib/groonga/db/db;</span></code></p>
|
202
|
+
</dd>
|
203
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
204
|
+
</dd>
|
213
205
|
</dl>
|
214
206
|
<p>Groongaデータベースのパスを指定します。このディレクティブは必須です。</p>
|
215
207
|
</div>
|
216
208
|
<div class="section" id="groonga-database-auto-create">
|
217
|
-
<span id="groonga-httpd-groonga-database-auto-create"></span><h4>7.1.5.4.1.3. <code class="docutils literal"><span class="pre">groonga_database_auto_create</span></code><a class="headerlink" href="#groonga-database-auto-create" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
209
|
+
<span id="groonga-httpd-groonga-database-auto-create"></span><h4>7.1.5.4.1.3. <code class="docutils literal notranslate"><span class="pre">groonga_database_auto_create</span></code><a class="headerlink" href="#groonga-database-auto-create" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
218
210
|
<p>構文:</p>
|
219
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_database_auto_create on | off;
|
211
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_database_auto_create on | off;
|
220
212
|
</pre></div>
|
221
213
|
</div>
|
222
|
-
<dl class="
|
223
|
-
<dt>デフォルト</dt>
|
224
|
-
|
225
|
-
<dt>コンテキスト</dt>
|
226
|
-
|
214
|
+
<dl class="simple">
|
215
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">groonga_database_auto_create</span> <span class="pre">on;</span></code></p>
|
216
|
+
</dd>
|
217
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
218
|
+
</dd>
|
227
219
|
</dl>
|
228
|
-
<p>Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が <code class="docutils literal"><span class="pre">on</span></code> で <a class="reference internal" href="#groonga-httpd-groonga-database"><span class="std std-ref">groonga_database</span></a> に指定したGroongaのデータベースが存在しない場合は自動でGroongaのデータベースを作成します。Groongaのデータベースが存在している場合は何もしません。</p>
|
220
|
+
<p>Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が <code class="docutils literal notranslate"><span class="pre">on</span></code> で <a class="reference internal" href="#groonga-httpd-groonga-database"><span class="std std-ref">groonga_database</span></a> に指定したGroongaのデータベースが存在しない場合は自動でGroongaのデータベースを作成します。Groongaのデータベースが存在している場合は何もしません。</p>
|
229
221
|
<p>もし、親ディレクトリが存在しな場合は再帰的に親ディレクトリも作成します。</p>
|
230
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">on</span></code> です。通常、この値を変更する必要はありません。</p>
|
222
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">on</span></code> です。通常、この値を変更する必要はありません。</p>
|
231
223
|
</div>
|
232
224
|
<div class="section" id="groonga-base-path">
|
233
|
-
<h4>7.1.5.4.1.4. <code class="docutils literal"><span class="pre">groonga_base_path</span></code><a class="headerlink" href="#groonga-base-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
225
|
+
<h4>7.1.5.4.1.4. <code class="docutils literal notranslate"><span class="pre">groonga_base_path</span></code><a class="headerlink" href="#groonga-base-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
234
226
|
<p>構文:</p>
|
235
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_base_path /d/;
|
227
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_base_path /d/;
|
236
228
|
</pre></div>
|
237
229
|
</div>
|
238
|
-
<dl class="
|
239
|
-
<dt>デフォルト</dt>
|
240
|
-
|
241
|
-
<dt>コンテキスト</dt>
|
242
|
-
|
230
|
+
<dl class="simple">
|
231
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">location</span></code> の名前と同じ値。</p>
|
232
|
+
</dd>
|
233
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
234
|
+
</dd>
|
243
235
|
</dl>
|
244
|
-
<p>URIのベースパスを指定します。Groongaは <code class="docutils literal"><span class="pre">command</span></code> を実行するために <code class="docutils literal"><span class="pre">/d/command?parameter1=value1&...</span></code> というパスを使います。groonga-httpdでもこのパスの形式を使いますが、groonga-httpdは <code class="docutils literal"><span class="pre">/other-prefix/command?parameter1=value1&...</span></code> というように <code class="docutils literal"><span class="pre">/d/</span></code> ではなく別のプレフィックスを使った形式もサポートしています。この別の形式もサポートするために、groonga-httpdはリクエストURIの先頭からベースパスを削除し、先頭に <code class="docutils literal"><span class="pre">/d/</span></code> を追加します。このパスの変換をすることにより、ユーザーはプレフィックスをカスタムできるようになりますが、Groongaは常に <code class="docutils literal"><span class="pre">/d/command?parameter1=value1&...</span></code> という形式で処理できます。</p>
|
236
|
+
<p>URIのベースパスを指定します。Groongaは <code class="docutils literal notranslate"><span class="pre">command</span></code> を実行するために <code class="docutils literal notranslate"><span class="pre">/d/command?parameter1=value1&...</span></code> というパスを使います。groonga-httpdでもこのパスの形式を使いますが、groonga-httpdは <code class="docutils literal notranslate"><span class="pre">/other-prefix/command?parameter1=value1&...</span></code> というように <code class="docutils literal notranslate"><span class="pre">/d/</span></code> ではなく別のプレフィックスを使った形式もサポートしています。この別の形式もサポートするために、groonga-httpdはリクエストURIの先頭からベースパスを削除し、先頭に <code class="docutils literal notranslate"><span class="pre">/d/</span></code> を追加します。このパスの変換をすることにより、ユーザーはプレフィックスをカスタムできるようになりますが、Groongaは常に <code class="docutils literal notranslate"><span class="pre">/d/command?parameter1=value1&...</span></code> という形式で処理できます。</p>
|
245
237
|
<p>通常、このディレクティブを使う必要はありません。このディレクティブはコマンド毎に設定をしたい場合に使います。</p>
|
246
238
|
<p>以下は <a class="reference internal" href="../commands/shutdown.html"><span class="doc">shutdown</span></a> コマンドに認証をかける設定例です。:</p>
|
247
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_database /var/lib/groonga/db/db;
|
239
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_database /var/lib/groonga/db/db;
|
248
240
|
|
249
241
|
location /d/shutdown {
|
250
242
|
groonga on;
|
@@ -266,20 +258,20 @@ location /d/ {
|
|
266
258
|
</div>
|
267
259
|
</div>
|
268
260
|
<div class="section" id="groonga-log-path">
|
269
|
-
<span id="groonga-httpd-groonga-log-path"></span><h4>7.1.5.4.1.5. <code class="docutils literal"><span class="pre">groonga_log_path</span></code><a class="headerlink" href="#groonga-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
261
|
+
<span id="groonga-httpd-groonga-log-path"></span><h4>7.1.5.4.1.5. <code class="docutils literal notranslate"><span class="pre">groonga_log_path</span></code><a class="headerlink" href="#groonga-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
270
262
|
<p>構文:</p>
|
271
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_log_path path | off;
|
263
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_log_path path | off;
|
272
264
|
</pre></div>
|
273
265
|
</div>
|
274
|
-
<dl class="
|
275
|
-
<dt>デフォルト</dt>
|
276
|
-
|
277
|
-
<dt>コンテキスト</dt>
|
278
|
-
|
266
|
+
<dl class="simple">
|
267
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/var/log/groonga/httpd/groonga.log</span></code></p>
|
268
|
+
</dd>
|
269
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
270
|
+
</dd>
|
279
271
|
</dl>
|
280
|
-
<p>Groongaのログ保存先を <code class="docutils literal"><span class="pre">http</span></code> 、<code class="docutils literal"><span class="pre">server</span></code> もしくは <code class="docutils literal"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga.log</span></code> です。ログを無効にするには <code class="docutils literal"><span class="pre">off</span></code> を指定します。</p>
|
272
|
+
<p>Groongaのログ保存先を <code class="docutils literal notranslate"><span class="pre">http</span></code> 、<code class="docutils literal notranslate"><span class="pre">server</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal notranslate"><span class="pre">/var/log/groonga/httpd/groonga.log</span></code> です。ログを無効にするには <code class="docutils literal notranslate"><span class="pre">off</span></code> を指定します。</p>
|
281
273
|
<p>例:</p>
|
282
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
274
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
283
275
|
groonga on;
|
284
276
|
# You can disable log for groonga.
|
285
277
|
groonga_log_path off;
|
@@ -288,20 +280,20 @@ location /d/ {
|
|
288
280
|
</div>
|
289
281
|
</div>
|
290
282
|
<div class="section" id="groonga-log-level">
|
291
|
-
<span id="groonga-httpd-groonga-log-level"></span><h4>7.1.5.4.1.6. <code class="docutils literal"><span class="pre">groonga_log_level</span></code><a class="headerlink" href="#groonga-log-level" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
283
|
+
<span id="groonga-httpd-groonga-log-level"></span><h4>7.1.5.4.1.6. <code class="docutils literal notranslate"><span class="pre">groonga_log_level</span></code><a class="headerlink" href="#groonga-log-level" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
292
284
|
<p>構文:</p>
|
293
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_log_level none | emergency | alert | ciritical | error | warning | notice | info | debug | dump;
|
285
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_log_level none | emergency | alert | ciritical | error | warning | notice | info | debug | dump;
|
294
286
|
</pre></div>
|
295
287
|
</div>
|
296
|
-
<dl class="
|
297
|
-
<dt>デフォルト</dt>
|
298
|
-
|
299
|
-
<dt>コンテキスト</dt>
|
300
|
-
|
288
|
+
<dl class="simple">
|
289
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">notice</span></code></p>
|
290
|
+
</dd>
|
291
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
292
|
+
</dd>
|
301
293
|
</dl>
|
302
|
-
<p>Groongaのログレベルを <code class="docutils literal"><span class="pre">http</span></code> 、 <code class="docutils literal"><span class="pre">server</span></code> もしくは <code class="docutils literal"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal"><span class="pre">notice</span></code> です。 <code class="docutils literal"><span class="pre">none</span></code> を指定することでログを無効にできます。</p>
|
294
|
+
<p>Groongaのログレベルを <code class="docutils literal notranslate"><span class="pre">http</span></code> 、 <code class="docutils literal notranslate"><span class="pre">server</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal notranslate"><span class="pre">notice</span></code> です。 <code class="docutils literal notranslate"><span class="pre">none</span></code> を指定することでログを無効にできます。</p>
|
303
295
|
<p>例:</p>
|
304
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
296
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
305
297
|
groonga on;
|
306
298
|
# You can customize log level for groonga.
|
307
299
|
groonga_log_level notice;
|
@@ -310,20 +302,20 @@ location /d/ {
|
|
310
302
|
</div>
|
311
303
|
</div>
|
312
304
|
<div class="section" id="groonga-query-log-path">
|
313
|
-
<span id="groonga-httpd-groonga-query-log-path"></span><h4>7.1.5.4.1.7. <code class="docutils literal"><span class="pre">groonga_query_log_path</span></code><a class="headerlink" href="#groonga-query-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
305
|
+
<span id="groonga-httpd-groonga-query-log-path"></span><h4>7.1.5.4.1.7. <code class="docutils literal notranslate"><span class="pre">groonga_query_log_path</span></code><a class="headerlink" href="#groonga-query-log-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
314
306
|
<p>構文:</p>
|
315
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_query_log_path path | off;
|
307
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_query_log_path path | off;
|
316
308
|
</pre></div>
|
317
309
|
</div>
|
318
|
-
<dl class="
|
319
|
-
<dt>デフォルト</dt>
|
320
|
-
|
321
|
-
<dt>コンテキスト</dt>
|
322
|
-
|
310
|
+
<dl class="simple">
|
311
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">/var/log/groonga/httpd/groonga-query.log</span></code></p>
|
312
|
+
</dd>
|
313
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
314
|
+
</dd>
|
323
315
|
</dl>
|
324
|
-
<p>Groongaのクエリーログの保存先を <code class="docutils literal"><span class="pre">http</span></code> 、<code class="docutils literal"><span class="pre">server</span></code> もしくは <code class="docutils literal"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal"><span class="pre">/var/log/groonga/httpd/groonga-query.log</span></code> です。ログを無効にするには <code class="docutils literal"><span class="pre">off</span></code> を指定します。</p>
|
316
|
+
<p>Groongaのクエリーログの保存先を <code class="docutils literal notranslate"><span class="pre">http</span></code> 、<code class="docutils literal notranslate"><span class="pre">server</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal notranslate"><span class="pre">/var/log/groonga/httpd/groonga-query.log</span></code> です。ログを無効にするには <code class="docutils literal notranslate"><span class="pre">off</span></code> を指定します。</p>
|
325
317
|
<p>例:</p>
|
326
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
318
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
327
319
|
groonga on;
|
328
320
|
# You can disable query log for groonga.
|
329
321
|
groonga_query_log_path off;
|
@@ -333,8 +325,8 @@ location /d/ {
|
|
333
325
|
<p>クエリーログは以下のようなケースで有用です:</p>
|
334
326
|
<blockquote>
|
335
327
|
<div><ul class="simple">
|
336
|
-
<li>スロークエリーを見つける。</li>
|
337
|
-
<li>デバッグ。</li>
|
328
|
+
<li><p>スロークエリーを見つける。</p></li>
|
329
|
+
<li><p>デバッグ。</p></li>
|
338
330
|
</ul>
|
339
331
|
</div></blockquote>
|
340
332
|
<p><a class="reference external" href="https://github.com/groonga/groonga-query-log">groonga-query-log パッケージ</a> でクエリーログを解析できます。このパッケージは有用なツールを提供しています。</p>
|
@@ -345,26 +337,26 @@ location /d/ {
|
|
345
337
|
<h3>7.1.5.4.2. 性能関連のディレクティブ<a class="headerlink" href="#performance-related-directives" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
346
338
|
<p>以下のディレクティブはgronoga-httpdの性能に関連しているディレクティブです。</p>
|
347
339
|
<div class="section" id="worker-processes">
|
348
|
-
<h4>7.1.5.4.2.1. <code class="docutils literal"><span class="pre">worker_processes</span></code><a class="headerlink" href="#worker-processes" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
340
|
+
<h4>7.1.5.4.2.1. <code class="docutils literal notranslate"><span class="pre">worker_processes</span></code><a class="headerlink" href="#worker-processes" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
349
341
|
<p>最適なパフォーマンスを得るためには、CPU数あるいはコア数と同じ数になるようにこのディレクティブを設定してください。大抵の場合、GroongaのクエリーはCPU負荷が高いものとなり、複数のCPU/コアを使い切るためには、このディレクティブを設定する必要があります。</p>
|
350
342
|
<p>このディレクティブはgroonga-httpdのディレクティブではなく、nginxのディレクティブです。詳細は、 <a class="reference external" href="http://wiki.nginx.org/CoreModule#worker_processes">http://wiki.nginx.org/CoreModule#worker_processes</a> を参照してください。</p>
|
351
343
|
<p>デフォルトで、このディレクティブには1が設定されています。</p>
|
352
344
|
</div>
|
353
345
|
<div class="section" id="groonga-cache-limit">
|
354
|
-
<span id="groonga-httpd-groonga-cache-limit"></span><h4>7.1.5.4.2.2. <code class="docutils literal"><span class="pre">groonga_cache_limit</span></code><a class="headerlink" href="#groonga-cache-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
346
|
+
<span id="groonga-httpd-groonga-cache-limit"></span><h4>7.1.5.4.2.2. <code class="docutils literal notranslate"><span class="pre">groonga_cache_limit</span></code><a class="headerlink" href="#groonga-cache-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
355
347
|
<p>構文:</p>
|
356
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_cache_limit limit;
|
348
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_cache_limit limit;
|
357
349
|
</pre></div>
|
358
350
|
</div>
|
359
|
-
<dl class="
|
360
|
-
<dt>デフォルト</dt>
|
361
|
-
|
362
|
-
<dt>コンテキスト</dt>
|
363
|
-
|
351
|
+
<dl class="simple">
|
352
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">groonga_cache_limit</span> <span class="pre">100;</span></code></p>
|
353
|
+
</dd>
|
354
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
355
|
+
</dd>
|
364
356
|
</dl>
|
365
|
-
<p>Groongaのクエリキャッシュの制限を <code class="docutils literal"><span class="pre">http</span></code> 、 <code class="docutils literal"><span class="pre">server</span></code> もしくは <code class="docutils literal"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal"><span class="pre">100</span></code> です。 <code class="docutils literal"><span class="pre">0</span></code> を指定することで <code class="docutils literal"><span class="pre">groonga_cache_limit</span></code> を明示的に無効にできます。</p>
|
357
|
+
<p>Groongaのクエリキャッシュの制限を <code class="docutils literal notranslate"><span class="pre">http</span></code> 、 <code class="docutils literal notranslate"><span class="pre">server</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックで指定します。デフォルトは <code class="docutils literal notranslate"><span class="pre">100</span></code> です。 <code class="docutils literal notranslate"><span class="pre">0</span></code> を指定することで <code class="docutils literal notranslate"><span class="pre">groonga_cache_limit</span></code> を明示的に無効にできます。</p>
|
366
358
|
<p>例:</p>
|
367
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
359
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
368
360
|
groonga on;
|
369
361
|
# You can customize query cache limit for groonga.
|
370
362
|
groonga_cache_limit 100;
|
@@ -373,26 +365,26 @@ location /d/ {
|
|
373
365
|
</div>
|
374
366
|
</div>
|
375
367
|
<div class="section" id="groonga-cache-base-path">
|
376
|
-
<span id="groonga-httpd-groonga-cache-base-path"></span><h4>7.1.5.4.2.3. <code class="docutils literal"><span class="pre">groonga_cache_base_path</span></code><a class="headerlink" href="#groonga-cache-base-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
368
|
+
<span id="groonga-httpd-groonga-cache-base-path"></span><h4>7.1.5.4.2.3. <code class="docutils literal notranslate"><span class="pre">groonga_cache_base_path</span></code><a class="headerlink" href="#groonga-cache-base-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
377
369
|
<p>構文:</p>
|
378
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>groonga_cache_base_path path | off;
|
370
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga_cache_base_path path | off;
|
379
371
|
</pre></div>
|
380
372
|
</div>
|
381
|
-
<dl class="
|
382
|
-
<dt>デフォルト</dt>
|
383
|
-
|
384
|
-
<dt>コンテキスト</dt>
|
385
|
-
|
373
|
+
<dl class="simple">
|
374
|
+
<dt>デフォルト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">groonga_cache_base_path</span> <span class="pre">off;</span></code></p>
|
375
|
+
</dd>
|
376
|
+
<dt>コンテキスト</dt><dd><p><code class="docutils literal notranslate"><span class="pre">http</span></code>, <code class="docutils literal notranslate"><span class="pre">server</span></code>, <code class="docutils literal notranslate"><span class="pre">location</span></code></p>
|
377
|
+
</dd>
|
386
378
|
</dl>
|
387
|
-
<p>クエリーキャッシュの保存先のベースになるパスを <code class="docutils literal"><span class="pre">http</span></code> 、 <code class="docutils literal"><span class="pre">server</span></code> もしくは <code class="docutils literal"><span class="pre">location</span></code> ブロックで指定します。</p>
|
379
|
+
<p>クエリーキャッシュの保存先のベースになるパスを <code class="docutils literal notranslate"><span class="pre">http</span></code> 、 <code class="docutils literal notranslate"><span class="pre">server</span></code> もしくは <code class="docutils literal notranslate"><span class="pre">location</span></code> ブロックで指定します。</p>
|
388
380
|
<p>マルチワーカーの設定をしている場合はこの設定をすることをオススメします。</p>
|
389
381
|
<p>ベースのパスを指定すると、メモリーキャッシュではなく永続キャッシュを使えます。永続キャッシュを使うと、ワーカー間でクエリーキャッシュを共有できます。複数のワーカー間で同じレスポンスを1回だけキャッシュするので複数ワーカー設定のときに効率的です。</p>
|
390
382
|
<p>永続キャッシュにはもう1つメリットがあります。groonga-httpdを再起動した後にキャッシュをウォームアップ必要がありません。groonga-httpdが停止しても永続キャッシュは消えません。そのため、既存の永続キャッシュを再利用することができます。</p>
|
391
|
-
<p>デフォルト値は <code class="docutils literal"><span class="pre">off</span></code> です。これは永続キャッシュは無効ということです。メモリーキャッシュが使われます。メモリーキャッシュはワーカー毎に独立しています。複数のワーカーがそれぞれで同じレスポンスをキャッシュする可能性があるため、複数ワーカー設定のときはメモリーキャッシュは効率的ではありません。</p>
|
383
|
+
<p>デフォルト値は <code class="docutils literal notranslate"><span class="pre">off</span></code> です。これは永続キャッシュは無効ということです。メモリーキャッシュが使われます。メモリーキャッシュはワーカー毎に独立しています。複数のワーカーがそれぞれで同じレスポンスをキャッシュする可能性があるため、複数ワーカー設定のときはメモリーキャッシュは効率的ではありません。</p>
|
392
384
|
<p>永続キャッシュはメモリーキャッシュよりも少し遅いです。通常、この差によるパフォーマンスの影響は軽微です。</p>
|
393
385
|
<p>このベースとなるパスはメモリーファイルシステム上のパスを指定するべきです。ディスク上にベースとなるパスを指定するとキャッシュが遅くなります。これでは意味がありません。</p>
|
394
386
|
<p>例:</p>
|
395
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>location /d/ {
|
387
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>location /d/ {
|
396
388
|
groonga on;
|
397
389
|
# You can customize query cache limit for groonga.
|
398
390
|
groonga_cache_base_path /dev/shm/groonga-httpd-cache;
|
@@ -401,7 +393,7 @@ location /d/ {
|
|
401
393
|
</div>
|
402
394
|
</div>
|
403
395
|
<div class="section" id="proxy-cache">
|
404
|
-
<h4>7.1.5.4.2.4. <code class="docutils literal"><span class="pre">proxy_cache</span></code><a class="headerlink" href="#proxy-cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
396
|
+
<h4>7.1.5.4.2.4. <code class="docutils literal notranslate"><span class="pre">proxy_cache</span></code><a class="headerlink" href="#proxy-cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
405
397
|
<p>まとめると、Groonga組み込みのクエリーキャッシュ機能の代わりにnginxのリバースプロキシとキャッシュの仕組みを使うこともできます。</p>
|
406
398
|
<div class="section" id="query-cache">
|
407
399
|
<h5>7.1.5.4.2.4.1. クエリーキャッシュ<a class="headerlink" href="#query-cache" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
@@ -411,19 +403,19 @@ location /d/ {
|
|
411
403
|
<p>groongaのクエリーキャッシュは同じプロセス内で有効です。これは、同じキャッシュを複数のワーカー間で共有できないということです。キャッシュサイズを変更しないならこれは大きな問題ではありません。もし、 <a class="reference internal" href="../commands/cache_limit.html"><span class="doc">cache_limit</span></a> コマンドでキャッシュサイズを変更したいなら問題になります。</p>
|
412
404
|
<p>すべてのワーカーのキャッシュサイズを変更する汎用的な方法がないのです。</p>
|
413
405
|
<p>例えば、3ワーカーいるとします:</p>
|
414
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span> +-- worker 1
|
406
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> +-- worker 1
|
415
407
|
client -- groonga-httpd (master) --+-- worker 2
|
416
408
|
+-- worker 3
|
417
409
|
</pre></div>
|
418
410
|
</div>
|
419
411
|
<p>クライアントが <a class="reference internal" href="../commands/cache_limit.html"><span class="doc">cache_limit</span></a> コマンドをリクエストし、worker 1が受け取りました:</p>
|
420
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span> +-> worker 1 (changed!)
|
412
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> +-> worker 1 (changed!)
|
421
413
|
client -> groonga-httpd (master) --+-- worker 2
|
422
414
|
+-- worker 3
|
423
415
|
</pre></div>
|
424
416
|
</div>
|
425
417
|
<p>クライアントがもう一度 <a class="reference internal" href="../commands/cache_limit.html"><span class="doc">cache_limit</span></a> コマンドをリクエストし、またworker 1が受け取りました:</p>
|
426
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span> +-> worker 1 (changed again!!!)
|
418
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> +-> worker 1 (changed again!!!)
|
427
419
|
client -> groonga-httpd (master) --+-- worker 2
|
428
420
|
+-- worker 3
|
429
421
|
</pre></div>
|
@@ -434,14 +426,14 @@ client -> groonga-httpd (master) --+-- worker 2
|
|
434
426
|
<div class="section" id="reverse-proxy-and-cache">
|
435
427
|
<h5>7.1.5.4.2.4.2. リバースプロキシとキャッシュ<a class="headerlink" href="#reverse-proxy-and-cache" title="このヘッドラインへのパーマリンク">¶</a></h5>
|
436
428
|
<p>nginxのリバースプロキシ機能とキャッシュ機能を使ってクエリーキャッシュを実現できます:</p>
|
437
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span> +-- worker 1
|
429
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> +-- worker 1
|
438
430
|
client -- groonga-httpd (master) -- reverse proxy + cache --+-- worker 2
|
439
431
|
+-- worker 3
|
440
432
|
</pre></div>
|
441
433
|
</div>
|
442
|
-
<p
|
434
|
+
<p>この方法ではすべてのワーカーで同じキャッシュの設定を利用できますが、HTTPで動的にキャッシュの設定を変更することはできません。</p>
|
443
435
|
<p>以下はサンプルの設定です:</p>
|
444
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>...
|
436
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>...
|
445
437
|
http {
|
446
438
|
proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m;
|
447
439
|
proxy_cache_valid 10m;
|
@@ -478,14 +470,14 @@ http {
|
|
478
470
|
<p>パラメーターの詳細は以下のnginxのドキュメントを見てください:</p>
|
479
471
|
<blockquote>
|
480
472
|
<div><ul class="simple">
|
481
|
-
<li><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path</a></li>
|
482
|
-
<li><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid</a></li>
|
483
|
-
<li><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache</a></li>
|
484
|
-
<li><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass</a></li>
|
473
|
+
<li><p><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path</a></p></li>
|
474
|
+
<li><p><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid</a></p></li>
|
475
|
+
<li><p><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache</a></p></li>
|
476
|
+
<li><p><a class="reference external" href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass</a></p></li>
|
485
477
|
</ul>
|
486
478
|
</div></blockquote>
|
487
479
|
<p>Groongaに新しいデータをロードしたときは自分でnginxが作ったキャッシュファイルを削除しなければいけないことに注意してください。前述のサンプル設定では、以下のコマンドでキャッシュを消せます:</p>
|
488
|
-
<div class="highlight-none"><div class="highlight"><pre><span></span>% groonga DB_PATH < load.grn
|
480
|
+
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% groonga DB_PATH < load.grn
|
489
481
|
% rm -rf /var/cache/groonga-httpd/*
|
490
482
|
</pre></div>
|
491
483
|
</div>
|
@@ -521,20 +513,20 @@ http {
|
|
521
513
|
</li>
|
522
514
|
<li><a class="reference internal" href="#configuration-directives">7.1.5.4. 設定ディレクティブ</a><ul>
|
523
515
|
<li><a class="reference internal" href="#groonga-httpd-specific-directives">7.1.5.4.1. groonga-httpd特有のディレクティブ</a><ul>
|
524
|
-
<li><a class="reference internal" href="#groonga">7.1.5.4.1.1. <code class="docutils literal"><span class="pre">groonga</span></code></a></li>
|
525
|
-
<li><a class="reference internal" href="#groonga-database">7.1.5.4.1.2. <code class="docutils literal"><span class="pre">groonga_database</span></code></a></li>
|
526
|
-
<li><a class="reference internal" href="#groonga-database-auto-create">7.1.5.4.1.3. <code class="docutils literal"><span class="pre">groonga_database_auto_create</span></code></a></li>
|
527
|
-
<li><a class="reference internal" href="#groonga-base-path">7.1.5.4.1.4. <code class="docutils literal"><span class="pre">groonga_base_path</span></code></a></li>
|
528
|
-
<li><a class="reference internal" href="#groonga-log-path">7.1.5.4.1.5. <code class="docutils literal"><span class="pre">groonga_log_path</span></code></a></li>
|
529
|
-
<li><a class="reference internal" href="#groonga-log-level">7.1.5.4.1.6. <code class="docutils literal"><span class="pre">groonga_log_level</span></code></a></li>
|
530
|
-
<li><a class="reference internal" href="#groonga-query-log-path">7.1.5.4.1.7. <code class="docutils literal"><span class="pre">groonga_query_log_path</span></code></a></li>
|
516
|
+
<li><a class="reference internal" href="#groonga">7.1.5.4.1.1. <code class="docutils literal notranslate"><span class="pre">groonga</span></code></a></li>
|
517
|
+
<li><a class="reference internal" href="#groonga-database">7.1.5.4.1.2. <code class="docutils literal notranslate"><span class="pre">groonga_database</span></code></a></li>
|
518
|
+
<li><a class="reference internal" href="#groonga-database-auto-create">7.1.5.4.1.3. <code class="docutils literal notranslate"><span class="pre">groonga_database_auto_create</span></code></a></li>
|
519
|
+
<li><a class="reference internal" href="#groonga-base-path">7.1.5.4.1.4. <code class="docutils literal notranslate"><span class="pre">groonga_base_path</span></code></a></li>
|
520
|
+
<li><a class="reference internal" href="#groonga-log-path">7.1.5.4.1.5. <code class="docutils literal notranslate"><span class="pre">groonga_log_path</span></code></a></li>
|
521
|
+
<li><a class="reference internal" href="#groonga-log-level">7.1.5.4.1.6. <code class="docutils literal notranslate"><span class="pre">groonga_log_level</span></code></a></li>
|
522
|
+
<li><a class="reference internal" href="#groonga-query-log-path">7.1.5.4.1.7. <code class="docutils literal notranslate"><span class="pre">groonga_query_log_path</span></code></a></li>
|
531
523
|
</ul>
|
532
524
|
</li>
|
533
525
|
<li><a class="reference internal" href="#performance-related-directives">7.1.5.4.2. 性能関連のディレクティブ</a><ul>
|
534
|
-
<li><a class="reference internal" href="#worker-processes">7.1.5.4.2.1. <code class="docutils literal"><span class="pre">worker_processes</span></code></a></li>
|
535
|
-
<li><a class="reference internal" href="#groonga-cache-limit">7.1.5.4.2.2. <code class="docutils literal"><span class="pre">groonga_cache_limit</span></code></a></li>
|
536
|
-
<li><a class="reference internal" href="#groonga-cache-base-path">7.1.5.4.2.3. <code class="docutils literal"><span class="pre">groonga_cache_base_path</span></code></a></li>
|
537
|
-
<li><a class="reference internal" href="#proxy-cache">7.1.5.4.2.4. <code class="docutils literal"><span class="pre">proxy_cache</span></code></a><ul>
|
526
|
+
<li><a class="reference internal" href="#worker-processes">7.1.5.4.2.1. <code class="docutils literal notranslate"><span class="pre">worker_processes</span></code></a></li>
|
527
|
+
<li><a class="reference internal" href="#groonga-cache-limit">7.1.5.4.2.2. <code class="docutils literal notranslate"><span class="pre">groonga_cache_limit</span></code></a></li>
|
528
|
+
<li><a class="reference internal" href="#groonga-cache-base-path">7.1.5.4.2.3. <code class="docutils literal notranslate"><span class="pre">groonga_cache_base_path</span></code></a></li>
|
529
|
+
<li><a class="reference internal" href="#proxy-cache">7.1.5.4.2.4. <code class="docutils literal notranslate"><span class="pre">proxy_cache</span></code></a><ul>
|
538
530
|
<li><a class="reference internal" href="#query-cache">7.1.5.4.2.4.1. クエリーキャッシュ</a></li>
|
539
531
|
<li><a class="reference internal" href="#reverse-proxy-and-cache">7.1.5.4.2.4.2. リバースプロキシとキャッシュ</a></li>
|
540
532
|
</ul>
|
@@ -556,12 +548,12 @@ http {
|
|
556
548
|
title="次の章へ">7.1.6. Groonga HTTPサーバー</a></p>
|
557
549
|
<div id="searchbox" style="display: none" role="search">
|
558
550
|
<h3>クイック検索</h3>
|
551
|
+
<div class="searchformwrapper">
|
559
552
|
<form class="search" action="../../search.html" method="get">
|
560
|
-
<
|
561
|
-
<
|
562
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
563
|
-
<input type="hidden" name="area" value="default" />
|
553
|
+
<input type="text" name="q" />
|
554
|
+
<input type="submit" value="検索" />
|
564
555
|
</form>
|
556
|
+
</div>
|
565
557
|
</div>
|
566
558
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
567
559
|
</div>
|
@@ -580,13 +572,13 @@ http {
|
|
580
572
|
<li class="right" >
|
581
573
|
<a href="groonga-benchmark.html" title="7.1.4. groonga-benchmark"
|
582
574
|
>前へ</a> |</li>
|
583
|
-
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga
|
575
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v9.0.2ドキュメント</a> »</li>
|
584
576
|
<li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
585
577
|
<li class="nav-item nav-item-2"><a href="../executables.html" >7.1. 実行ファイル</a> »</li>
|
586
578
|
</ul>
|
587
579
|
</div>
|
588
580
|
<div class="footer" role="contentinfo">
|
589
|
-
© Copyright 2009-
|
581
|
+
© Copyright 2009-2019, Brazil, Inc.
|
590
582
|
</div>
|
591
583
|
</body>
|
592
584
|
</html>
|