rroonga 6.0.0-x86-mingw32 → 6.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +38 -1
- data/ext/groonga/extconf.rb +14 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +18 -1
- data/ext/groonga/rb-grn-expression.c +0 -8
- data/ext/groonga/rb-grn-hash.c +15 -3
- data/ext/groonga/rb-grn-logger.c +22 -22
- data/ext/groonga/rb-grn-object.c +28 -6
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-request-canceler.c +164 -0
- data/ext/groonga/rb-grn-request-timer-id.c +64 -0
- data/ext/groonga/rb-grn-request-timer.c +155 -0
- data/ext/groonga/rb-grn-type.c +43 -1
- data/ext/groonga/rb-grn.h +17 -5
- data/ext/groonga/rb-groonga.c +3 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga/expression-builder.rb +4 -13
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -2
- data/test/run-test.rb +2 -2
- data/test/test-expression-builder.rb +13 -1
- data/test/test-hash.rb +22 -3
- data/test/test-request-canceler.rb +46 -0
- data/test/test-request-timer.rb +40 -0
- data/test/test-table.rb +43 -7
- data/test/test-type.rb +104 -2
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-2.dll +0 -0
- data/vendor/local/bin/libmsgpack-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
- data/vendor/local/include/groonga/groonga/dump.h +1 -1
- data/vendor/local/include/groonga/groonga/expr.h +1 -2
- data/vendor/local/include/groonga/groonga/groonga.h +18 -5
- data/vendor/local/include/groonga/groonga/obj.h +1 -0
- data/vendor/local/include/groonga/groonga/plugin.h +9 -0
- data/vendor/local/include/groonga/groonga/portability.h +8 -0
- data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
- data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
- data/vendor/local/include/groonga/groonga/type.h +9 -0
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
- 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/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/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/ruby/eval.rb +36 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/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/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/scripts/ruby/command_line/grndb.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +10 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +13 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +4 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
- data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +13 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +4 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
- data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
- metadata +72 -76
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +0 -41
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +0 -41
- data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
- data/vendor/local/share/man/man1/groonga.1 +0 -55612
data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt
CHANGED
@@ -4,173 +4,374 @@
|
|
4
4
|
|
5
5
|
.. groonga-command
|
6
6
|
.. database: groonga-suggest-httpd
|
7
|
+
.. % killall lt-groonga-suggest-learner || :
|
8
|
+
.. % killall lt-groonga-suggest-httpd || :
|
7
9
|
|
8
|
-
groonga-suggest-httpd
|
9
|
-
|
10
|
+
``groonga-suggest-httpd``
|
11
|
+
=========================
|
10
12
|
|
11
13
|
Summary
|
12
14
|
-------
|
13
15
|
|
14
|
-
groonga-suggest-httpd is a program
|
15
|
-
|
16
|
+
``groonga-suggest-httpd`` is a program that provides HTTP interface
|
17
|
+
for the following features:
|
16
18
|
|
17
|
-
|
18
|
-
|
19
|
+
* Returning :doc:`/reference/suggest` execution result
|
20
|
+
* Saving logs for learning
|
21
|
+
|
22
|
+
``groonga-suggest-httpd`` provides suggest feature like
|
23
|
+
:doc:`/reference/commands/suggest` command. Note that some parameter
|
24
|
+
names are different of them.
|
19
25
|
|
20
|
-
|
26
|
+
Syntax
|
27
|
+
------
|
21
28
|
|
22
|
-
|
29
|
+
``groonga-suggest-httpd`` requires database path::
|
30
|
+
|
31
|
+
groonga-suggest-httpd [options] DATABASE_PATH
|
23
32
|
|
24
33
|
Usage
|
25
34
|
-----
|
26
35
|
|
36
|
+
You need to create one or more datasets to use
|
37
|
+
``groonga-suggest-httpd``. A dataset consists of tables and
|
38
|
+
columns. You can define them by :doc:`groonga-suggest-create-dataset`.
|
27
39
|
|
28
|
-
|
29
|
-
|
40
|
+
You need to use :doc:`groonga-suggest-learner` to learn suggestion
|
41
|
+
data from user inputs. You doesn't need to use
|
42
|
+
:doc:`groonga-suggest-learner` when you create suggestion data by
|
43
|
+
hand. See :doc:`/reference/suggest` and sub documents about creating
|
44
|
+
suggestion data by hand.
|
30
45
|
|
31
|
-
|
46
|
+
You can use ``groonga-suggest-httpd`` via HTTP after you create one or
|
47
|
+
more datasets.
|
32
48
|
|
33
|
-
|
34
|
-
.. include:: ../example/reference/executables/groonga-suggest-httpd-setup.log
|
35
|
-
.. .. % groonga-suggest-create-dataset /tmp/groonga-databases/groonga-suggest-httpd query
|
49
|
+
The following sections describes the followings:
|
36
50
|
|
37
|
-
|
38
|
-
|
51
|
+
* How to set up a dataset
|
52
|
+
* How to use ``groonga-suggest-httpd`` with :doc:`groonga-suggest-learner`
|
53
|
+
* How to use ``groonga-suggest-httpd`` for retrieving suggestions.
|
39
54
|
|
40
|
-
|
55
|
+
Setup
|
56
|
+
^^^^^
|
57
|
+
|
58
|
+
You need to create a dataset by :doc:`groonga-suggest-create-dataset`.
|
59
|
+
|
60
|
+
Here is an example that creates ``query`` dataset:
|
41
61
|
|
42
62
|
.. groonga-command
|
43
|
-
.. include::
|
44
|
-
..
|
63
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/setup.log
|
64
|
+
.. % groonga-suggest-create-dataset ${DB_PATH} query
|
45
65
|
|
46
|
-
|
66
|
+
:doc:`groonga-suggest-create-dataset` outputs executed commands. You
|
67
|
+
can confirm that what tables and columns are created for the new
|
68
|
+
dataset.
|
47
69
|
|
48
|
-
|
70
|
+
Launch ``groonga-suggest-learner``
|
71
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
49
72
|
|
50
|
-
|
73
|
+
You can choose whether you use learned suggestion data immediately or
|
74
|
+
not.
|
51
75
|
|
52
|
-
|
76
|
+
There are two ways to use learned suggestion data immediately:
|
53
77
|
|
54
|
-
|
78
|
+
* Both of ``groonga-suggest-httpd`` and
|
79
|
+
:doc:`groonga-suggest-learner` use the same database
|
80
|
+
* ``groonga-suggest-httpd`` receives learned suggestion data from
|
81
|
+
:doc:`groonga-suggest-learner`
|
55
82
|
|
56
|
-
|
83
|
+
In the former case, you must run both ``groonga-suggest-httpd`` and
|
84
|
+
:doc:`groonga-suggest-learner` on the same host.
|
85
|
+
|
86
|
+
In the latter case, you can run ``groonga-suggest-httpd`` and
|
87
|
+
:doc:`groonga-suggest-learner` on different hosts.
|
88
|
+
|
89
|
+
If you don't need to use learned suggestion data immediately, you need
|
90
|
+
to apply learned suggestion data from database that is used by
|
91
|
+
:doc:`groonga-suggest-learner` to database that is used by
|
92
|
+
``groonga-suggest-httpd`` by hand. Normally, this usage is
|
93
|
+
recommended. Because learned suggestion data may have garbage data by
|
94
|
+
inputs from evil users.
|
95
|
+
|
96
|
+
In this document, learned suggestion data are used immediately by
|
97
|
+
receiving learned suggestion data from
|
98
|
+
:doc:`groonga-suggest-learner`. Both ``groonga-suggest-httpd`` and
|
99
|
+
:doc:`groonga-suggest-learner` are running on the same host. Because
|
100
|
+
it's easy to explain.
|
101
|
+
|
102
|
+
Here is an example that launches :doc:`groonga-suggest-learner`. You
|
103
|
+
need to specify database that has ``query`` dataset. This document
|
104
|
+
omits the instruction for creating ``query`` dataset:
|
105
|
+
|
106
|
+
.. groonga-command
|
107
|
+
.. database: groonga-suggest-httpd-learner
|
108
|
+
.. % groonga-suggest-create-dataset ${DB_PATH} query
|
109
|
+
|
110
|
+
.. groonga-command
|
111
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/launch-lerner.log
|
112
|
+
.. % groonga-suggest-learner --daemon ${DB_PATH}
|
113
|
+
|
114
|
+
The ``groonga-suggest-learner`` process opens two endpoints at
|
115
|
+
``1234`` port and ``1235`` port:
|
116
|
+
|
117
|
+
* ``1234`` port: Endpoint that accepts user input data from
|
118
|
+
``groogna-suggest-httpd``
|
119
|
+
* ``1235`` port: Endpoint that sends learned suggestion data to
|
120
|
+
``groogna-suggest-httpd``
|
121
|
+
|
122
|
+
Launch ``groonga-suggest-httpd``
|
57
123
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
58
124
|
|
59
|
-
|
125
|
+
You need to launch ``groonga-suggest-httpd`` for the following proposes:
|
60
126
|
|
61
|
-
|
62
|
-
|
63
|
-
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94293&t=complete&q=gro'
|
64
|
-
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94734&t=complete&q=groo'
|
65
|
-
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95147&t=complete&q=grooon'
|
66
|
-
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95553&t=complete&q=groonga'
|
67
|
-
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=groonga
|
127
|
+
* Learning suggestion data from user inputs
|
128
|
+
* Providing suggestion result to clients
|
68
129
|
|
69
|
-
|
70
|
-
|
130
|
+
Here is an example that launches ``groonga-suggest-httpd`` that
|
131
|
+
communicates :doc:`groonga-suggest-learner`:
|
71
132
|
|
72
|
-
..
|
133
|
+
.. groonga-command
|
134
|
+
.. database: groonga-suggest-httpd
|
73
135
|
|
74
|
-
|
136
|
+
.. groonga-command
|
137
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/launch.log
|
138
|
+
.. % groonga-suggest-httpd --send-endpoint 'tcp://127.0.0.1:1234' --receive-endpoint 'tcp://127.0.0.1:1235' --daemon ${DB_PATH}
|
75
139
|
|
76
|
-
|
140
|
+
The ``groonga-suggest-httpd`` process accepts HTTP requests on
|
141
|
+
``8080`` port.
|
77
142
|
|
78
|
-
|
79
|
-
|
80
|
-
performance.
|
143
|
+
If you want to save requests into log file, use
|
144
|
+
:option:`--log-base-path` option.
|
81
145
|
|
82
|
-
|
146
|
+
Here is an example to save log files under ``logs`` directory with
|
147
|
+
``log`` prefix for each file::
|
83
148
|
|
84
|
-
|
149
|
+
% groonga-suggest-httpd --log-base-path logs/log ${DB_PATH}
|
85
150
|
|
86
|
-
|
151
|
+
``groonga-suggest-httpd`` creates log files such as
|
152
|
+
``logYYYYmmddHHMMSS-00`` under ``logs`` directory.
|
87
153
|
|
88
|
-
|
154
|
+
Learn from user inputs
|
155
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
89
156
|
|
90
|
-
|
157
|
+
You can learn suggestion data from user inputs.
|
91
158
|
|
92
|
-
|
159
|
+
You need to specify the following parameters to learn suggestion data:
|
93
160
|
|
94
|
-
|
161
|
+
* ``i``: The ID of the user (You may use IP address of client)
|
162
|
+
* ``l``: The dataset name
|
163
|
+
* ``s``: The timestamp of the input in seconds
|
164
|
+
* ``t``: The query type (It's optional. You must specify ``submit`` only when the user input is submitted.)
|
165
|
+
* ``q``: The user input
|
95
166
|
|
96
|
-
|
167
|
+
Here are example requests to learn user input "Groonga" in ``query``
|
168
|
+
dataset::
|
97
169
|
|
98
|
-
..
|
170
|
+
.. groonga-command
|
171
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/learn.log
|
172
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=92619&q=G'
|
173
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=93850&q=Gr'
|
174
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94293&q=Gro'
|
175
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94734&q=Groo'
|
176
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95147&q=Grooon'
|
177
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95553&q=Groonga'
|
178
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=Groonga'
|
99
179
|
|
100
|
-
|
180
|
+
Inputting data must not use ``t=submit`` parameter. In the above example, you just learn user inputs but you can learn and get complete candidates at once. It's described at the next section.
|
101
181
|
|
102
|
-
|
182
|
+
Submitted data must use ``t=submit`` parameter.
|
103
183
|
|
104
|
-
|
184
|
+
Use suggested response
|
185
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
186
|
+
|
187
|
+
You can get suggested result from ``groonga-suggest-httpd``.
|
188
|
+
|
189
|
+
You need to specify the following parameters to get suggested result:
|
190
|
+
|
191
|
+
* ``n``: The dataset name
|
192
|
+
* ``t``: The query type (``complete``, ``correct`` and/or ``suggest``)
|
193
|
+
* ``q``: The user input
|
194
|
+
|
195
|
+
You can also specify parameters for :doc:`/reference/commands/suggest` as option.
|
196
|
+
|
197
|
+
Here is an example that gets :doc:`/reference/suggest/completion` result. The result is computed by using learned data at the previous section. ``frequency_threshold=1`` parameter is used because this is an example. The parameter enables input data that are occurred one or more times. Normally, you should not use the parameter for production. The parameter will increase noises:
|
198
|
+
|
199
|
+
.. groonga-command
|
200
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/complete.log
|
201
|
+
.. % curl 'http://localhost:8080/?n=query&t=complete&q=G&frequency_threshold=1'
|
202
|
+
|
203
|
+
You can combine completion and learning by specifying parameters for both:
|
204
|
+
|
205
|
+
.. groonga-command
|
206
|
+
.. include:: ../../example/reference/executables/groonga-suggest-httpd/learn-and-complete.log
|
207
|
+
.. % curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=96000&q=G&n=query&t=complete&frequency_threshold=1'
|
105
208
|
|
106
209
|
Command line parameters
|
107
210
|
-----------------------
|
108
211
|
|
109
|
-
|
212
|
+
Required parameters
|
213
|
+
^^^^^^^^^^^^^^^^^^^
|
214
|
+
|
215
|
+
There is one required parameter.
|
216
|
+
|
217
|
+
``DATABASE_PATH``
|
218
|
+
"""""""""""""""""
|
219
|
+
|
220
|
+
Specifies the path to a Groonga database. This database must have one
|
221
|
+
or more datasets. Each dataset must be created by
|
222
|
+
:doc:`groonga-suggest-create-dataset`.
|
110
223
|
|
111
|
-
|
224
|
+
Optional parameters
|
112
225
|
^^^^^^^^^^^^^^^^^^^
|
113
226
|
|
114
|
-
|
227
|
+
.. option:: -p, --port
|
228
|
+
|
229
|
+
Specify HTTP server port number.
|
230
|
+
|
231
|
+
The default port number is ``8080``.
|
232
|
+
|
233
|
+
.. option:: -t, --n-threads
|
234
|
+
|
235
|
+
Specify number of threads.
|
236
|
+
|
237
|
+
This option accepts ``128`` as the max value, but use the number of
|
238
|
+
CPU cores for performance.
|
239
|
+
|
240
|
+
The default value is the number of CPU cores.
|
241
|
+
|
242
|
+
.. option:: -s, --send-endpoint
|
243
|
+
|
244
|
+
Specify endpoint URI of :doc:`groonga-suggest-learner` for sending
|
245
|
+
user inputs.
|
246
|
+
|
247
|
+
The format is ``tcp://${HOST}:${PORT}`` such as
|
248
|
+
``tcp://192.168.0.1:2929``.
|
115
249
|
|
250
|
+
The default value is none.
|
251
|
+
|
252
|
+
.. option:: -r, --receive-endpoint
|
253
|
+
|
254
|
+
Specify endpoint URI of :doc:`groonga-suggest-learner` for
|
255
|
+
receiving learned suggestion data.
|
256
|
+
|
257
|
+
The format is ``tcp://${HOST}:${PORT}`` such as
|
258
|
+
``tcp://192.168.0.1:2929``.
|
259
|
+
|
260
|
+
The default value is none.
|
261
|
+
|
262
|
+
.. option:: -l, --log-base-path
|
263
|
+
|
264
|
+
Specify path prefix of log.
|
265
|
+
|
266
|
+
The default value is none.
|
267
|
+
|
268
|
+
.. option:: --n-lines-per-log-file
|
269
|
+
|
270
|
+
Specify the max number of lines in a log file.
|
271
|
+
|
272
|
+
The default value is ``1000000``.
|
273
|
+
|
274
|
+
.. option:: -d, --daemon
|
275
|
+
|
276
|
+
Specify this option to daemonize.
|
277
|
+
|
278
|
+
Don't daemonize by default.
|
279
|
+
|
280
|
+
.. option:: --disable-max-fd-check
|
281
|
+
|
282
|
+
Specify this option to disable checking the max number of file
|
283
|
+
descriptors on start.
|
284
|
+
|
285
|
+
Check by default.
|
116
286
|
|
117
287
|
GET parameters
|
118
288
|
--------------
|
119
289
|
|
120
|
-
groonga-suggest-httpd accepts
|
290
|
+
``groonga-suggest-httpd`` accepts some GET parameters.
|
121
291
|
|
122
|
-
There are required parameters which
|
292
|
+
There are required parameters which depend on query type.
|
293
|
+
|
294
|
+
In ``complete``, ``correct`` or ``suggest`` query type, unhandled
|
295
|
+
parameters are passed through :doc:`/reference/commands/suggest`. It
|
296
|
+
means that you can use parameters of
|
297
|
+
:doc:`/reference/commands/suggest`.
|
298
|
+
|
299
|
+
.. _groonga-suggest-httpd-required-parameters:
|
123
300
|
|
124
301
|
Required parameters
|
125
302
|
^^^^^^^^^^^^^^^^^^^
|
126
303
|
|
304
|
+
You must specify the following parameters.
|
305
|
+
|
127
306
|
.. list-table::
|
128
307
|
:header-rows: 1
|
129
308
|
|
130
309
|
* - Key
|
131
310
|
- Description
|
132
311
|
- Note
|
133
|
-
* - q
|
134
|
-
- UTF-8 encoded string
|
135
|
-
-
|
136
|
-
|
137
|
-
|
138
|
-
-
|
312
|
+
* - ``q``
|
313
|
+
- Input by user. It must be UTF-8 encoded string.
|
314
|
+
-
|
315
|
+
|
316
|
+
.. _groonga-suggest-httpd-required-parameters-learning:
|
139
317
|
|
140
318
|
Required parameters for learning
|
141
319
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
142
320
|
|
321
|
+
You must specify the following parameters when you specify
|
322
|
+
:option:`--send-endpoint`.
|
323
|
+
|
143
324
|
.. list-table::
|
144
325
|
:header-rows: 1
|
145
326
|
|
146
327
|
* - Key
|
147
328
|
- Description
|
148
329
|
- Note
|
149
|
-
* - s
|
150
|
-
- Elapsed time
|
151
|
-
-
|
152
|
-
* - i
|
153
|
-
- Unique ID to distinct user
|
154
|
-
-
|
155
|
-
|
156
|
-
|
157
|
-
-
|
330
|
+
* - ``s``
|
331
|
+
- Elapsed time since ``1970-01-01T00:00:00Z``.
|
332
|
+
- The unit is millisecond.
|
333
|
+
* - ``i``
|
334
|
+
- Unique ID to distinct each user
|
335
|
+
- Session ID, IP address and so on will be usable
|
336
|
+
for this value.
|
337
|
+
* - ``l``
|
338
|
+
- One or more learn target dataset names. You need to use ``|``
|
339
|
+
as separator such as ``dataset1|dataset2|dataset3``.
|
340
|
+
- Dataset name is the name that you specify to
|
341
|
+
:doc:`groonga-suggest-create-dataset`.
|
342
|
+
|
343
|
+
.. _groonga-suggest-httpd-required-parameters-suggestion:
|
158
344
|
|
159
345
|
Required parameters for suggestion
|
160
346
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
161
347
|
|
348
|
+
You must specify the following parameters when you specify one of
|
349
|
+
``complete``, ``correct`` and ``suggest`` to ``t`` parameter.
|
350
|
+
|
162
351
|
.. list-table::
|
163
352
|
:header-rows: 1
|
164
353
|
|
165
354
|
* - Key
|
166
355
|
- Description
|
167
356
|
- Note
|
168
|
-
* - n
|
169
|
-
-
|
170
|
-
-
|
357
|
+
* - ``n``
|
358
|
+
- The dataset name to use computing suggestion result.
|
359
|
+
- Dataset name is the name that you specify to
|
360
|
+
:doc:`groonga-suggest-create-dataset`.
|
361
|
+
* - ``t``
|
362
|
+
- The query type.
|
171
363
|
|
172
|
-
|
173
|
-
|
364
|
+
Available values are ``complete``, ``correct``, ``suggest``.
|
365
|
+
|
366
|
+
- You can specify multiple types. You need to use ``|`` as
|
367
|
+
separator such as ``complete|correct``.
|
368
|
+
|
369
|
+
.. _groonga-suggest-httpd-optional-parameters:
|
370
|
+
|
371
|
+
Optional parameters
|
372
|
+
^^^^^^^^^^^^^^^^^^^
|
373
|
+
|
374
|
+
Here are optional parameters.
|
174
375
|
|
175
376
|
.. list-table::
|
176
377
|
:header-rows: 1
|
@@ -178,33 +379,90 @@ Optional parameter
|
|
178
379
|
* - Key
|
179
380
|
- Description
|
180
381
|
- Note
|
181
|
-
* - callback
|
182
|
-
-
|
183
|
-
-
|
382
|
+
* - ``callback``
|
383
|
+
- Function name for JSONP
|
384
|
+
-
|
184
385
|
|
185
|
-
|
186
|
-
|
386
|
+
.. _groonga-suggest-httpd-optional-parameters-learning:
|
387
|
+
|
388
|
+
Optional parameters for learning
|
389
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
390
|
+
|
391
|
+
Here are optional parameters when you specify
|
392
|
+
:option:`--send-endpoint`.
|
393
|
+
|
394
|
+
.. list-table::
|
395
|
+
:header-rows: 1
|
396
|
+
|
397
|
+
* - Key
|
398
|
+
- Description
|
399
|
+
- Note
|
400
|
+
* - ``t``
|
401
|
+
- The query type.
|
187
402
|
|
188
|
-
|
403
|
+
Available value is only ``submit``.
|
189
404
|
|
190
|
-
|
405
|
+
- You must specify ``submit`` when user submits the input
|
406
|
+
specified as ``q``.
|
191
407
|
|
192
|
-
|
408
|
+
You must not specify ``submit`` for user inputs that aren't
|
409
|
+
submitted yet. You can use suggestion by specifying
|
410
|
+
``complete``, ``correct`` and/or ``suggest`` to ``t`` when you
|
411
|
+
doesn't specify ``submit``. See
|
412
|
+
:ref:`groonga-suggest-httpd-required-parameters-suggestion` for
|
413
|
+
details about these values.
|
193
414
|
|
194
|
-
In JSONP format::
|
195
415
|
|
196
|
-
|
416
|
+
Return value
|
417
|
+
------------
|
197
418
|
|
419
|
+
``groonga-suggest-httpd`` returns the following format response. It's
|
420
|
+
the same format as body of :doc:`/reference/commands/suggest`::
|
421
|
+
|
422
|
+
{
|
423
|
+
TYPE1: [
|
424
|
+
[CANDIDATE_1, SCORE_1],
|
425
|
+
[CANDIDATE_2, SCORE_2],
|
426
|
+
...,
|
427
|
+
[CANDIDATE_N, SCORE_N]
|
428
|
+
],
|
429
|
+
TYPE2: [
|
430
|
+
[CANDIDATE_1, SCORE_1],
|
431
|
+
[CANDIDATE_2, SCORE_2],
|
432
|
+
...,
|
433
|
+
[CANDIDATE_N, SCORE_N]
|
434
|
+
],
|
435
|
+
...
|
436
|
+
}
|
437
|
+
|
438
|
+
Here is the response when ``t`` is ``submit``::
|
439
|
+
|
440
|
+
{}
|
198
441
|
|
199
442
|
``TYPE``
|
443
|
+
^^^^^^^^
|
200
444
|
|
201
|
-
|
445
|
+
One of ``complete``, ``correct`` and ``suggest``.
|
202
446
|
|
203
447
|
``CANDIDATE_N``
|
448
|
+
^^^^^^^^^^^^^^^
|
204
449
|
|
205
|
-
|
450
|
+
The string of candidate in UTF-8.
|
206
451
|
|
207
452
|
``SCORE_N``
|
453
|
+
^^^^^^^^^^^
|
454
|
+
|
455
|
+
The score of the candidate.
|
456
|
+
|
457
|
+
Candidates are sorted by score descendant.
|
208
458
|
|
209
|
-
|
459
|
+
See also
|
460
|
+
--------
|
461
|
+
|
462
|
+
* :doc:`/reference/commands/suggest`
|
210
463
|
|
464
|
+
.. groonga-command
|
465
|
+
.. % killall lt-groonga-suggest-learner || :
|
466
|
+
.. % killall lt-groonga-suggest-httpd || :
|
467
|
+
.. % killall -KILL lt-groonga-suggest-learner || :
|
468
|
+
.. % killall -KILL lt-groonga-suggest-httpd || :
|
@@ -186,31 +186,45 @@ Options
|
|
186
186
|
|
187
187
|
.. cmdoption:: -l, --log-level <log level>
|
188
188
|
|
189
|
-
Specifies log level.
|
189
|
+
Specifies log level. Log level must be a log level name or an
|
190
|
+
integer value. Here are available log levels:
|
190
191
|
|
191
192
|
.. list-table::
|
192
193
|
:header-rows: 1
|
193
194
|
|
194
|
-
* -
|
195
|
-
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
-
|
200
|
-
* -
|
201
|
-
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
-
|
206
|
-
* -
|
207
|
-
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
-
|
212
|
-
* -
|
213
|
-
-
|
195
|
+
* - Log level
|
196
|
+
- Name
|
197
|
+
- Integer value
|
198
|
+
* - None
|
199
|
+
- ``none``
|
200
|
+
- ``0``
|
201
|
+
* - Emergency
|
202
|
+
- ``E``, ``emerge`` or ``emergency``
|
203
|
+
- ``1``
|
204
|
+
* - Alert
|
205
|
+
- ``A`` or ``alert``
|
206
|
+
- ``2``
|
207
|
+
* - Critical
|
208
|
+
- ``C``, ``crit`` or ``critical``
|
209
|
+
- ``3``
|
210
|
+
* - Error
|
211
|
+
- ``e`` or ``error``
|
212
|
+
- ``4``
|
213
|
+
* - Warning
|
214
|
+
- ``w``, ``warn`` or ``warning``
|
215
|
+
- ``5``
|
216
|
+
* - Notice
|
217
|
+
- ``n`` or ``notice``
|
218
|
+
- ``6``
|
219
|
+
* - Information
|
220
|
+
- ``i`` or ``info``
|
221
|
+
- ``7``
|
222
|
+
* - Debug
|
223
|
+
- ``d`` or ``debug``
|
224
|
+
- ``8``
|
225
|
+
* - Dump
|
226
|
+
- ``-`` or ``dump``
|
227
|
+
- ``9``
|
214
228
|
|
215
229
|
.. cmdoption:: -a, --address <ip/hostname>
|
216
230
|
|
@@ -299,6 +313,20 @@ Options
|
|
299
313
|
|
300
314
|
検索の挙動をエスカレーションする閾値を指定します。(デフォルトは0です)
|
301
315
|
|
316
|
+
.. cmdoption:: --default-request-timeout <timeout>
|
317
|
+
|
318
|
+
Specifies the default request timeout in seconds.
|
319
|
+
|
320
|
+
You can specify timeout less than 1 second by decimal such as
|
321
|
+
``0.1``. ``0.1`` means that 100 milliseconds.
|
322
|
+
|
323
|
+
If you specify ``0`` or less value, request timeout is disabled by
|
324
|
+
default.
|
325
|
+
|
326
|
+
The default value is ``0``.
|
327
|
+
|
328
|
+
.. seealso:: :doc:`/reference/command/request_timeout`
|
329
|
+
|
302
330
|
Command line parameters
|
303
331
|
-----------------------
|
304
332
|
|
@@ -145,8 +145,8 @@ and the coordinate of New York to calculate distance.
|
|
145
145
|
Parameters
|
146
146
|
----------
|
147
147
|
|
148
|
-
Required
|
149
|
-
|
148
|
+
Required parameters
|
149
|
+
^^^^^^^^^^^^^^^^^^^
|
150
150
|
|
151
151
|
There are two required parameter, ``point1`` and ``point2``.
|
152
152
|
|