rroonga 6.0.0-x64-mingw32 → 6.0.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (710) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +38 -1
  3. data/ext/groonga/extconf.rb +14 -1
  4. data/ext/groonga/rb-grn-array.c +1 -1
  5. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  6. data/ext/groonga/rb-grn-exception.c +18 -1
  7. data/ext/groonga/rb-grn-expression.c +0 -8
  8. data/ext/groonga/rb-grn-hash.c +15 -3
  9. data/ext/groonga/rb-grn-logger.c +22 -22
  10. data/ext/groonga/rb-grn-object.c +28 -6
  11. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  12. data/ext/groonga/rb-grn-request-canceler.c +164 -0
  13. data/ext/groonga/rb-grn-request-timer-id.c +64 -0
  14. data/ext/groonga/rb-grn-request-timer.c +155 -0
  15. data/ext/groonga/rb-grn-type.c +43 -1
  16. data/ext/groonga/rb-grn.h +17 -5
  17. data/ext/groonga/rb-groonga.c +3 -0
  18. data/lib/2.1/groonga.so +0 -0
  19. data/lib/2.2/groonga.so +0 -0
  20. data/lib/2.3/groonga.so +0 -0
  21. data/lib/groonga/expression-builder.rb +4 -13
  22. data/rroonga-build.rb +3 -3
  23. data/rroonga.gemspec +1 -2
  24. data/test/run-test.rb +2 -2
  25. data/test/test-expression-builder.rb +13 -1
  26. data/test/test-hash.rb +22 -3
  27. data/test/test-request-canceler.rb +46 -0
  28. data/test/test-request-timer.rb +40 -0
  29. data/test/test-table.rb +43 -7
  30. data/test/test-type.rb +104 -2
  31. data/vendor/local/bin/grndb.exe +0 -0
  32. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgroonga-0.dll +0 -0
  35. data/vendor/local/bin/libmecab-2.dll +0 -0
  36. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  37. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  38. data/vendor/local/bin/libonig-5.dll +0 -0
  39. data/vendor/local/bin/lz4.exe +0 -0
  40. data/vendor/local/bin/lz4c.exe +0 -0
  41. data/vendor/local/bin/lz4cat +0 -0
  42. data/vendor/local/bin/mecab.exe +0 -0
  43. data/vendor/local/bin/zlib1.dll +0 -0
  44. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
  45. data/vendor/local/include/groonga/groonga.h +1 -0
  46. data/vendor/local/include/groonga/groonga/dump.h +1 -1
  47. data/vendor/local/include/groonga/groonga/expr.h +1 -2
  48. data/vendor/local/include/groonga/groonga/groonga.h +18 -5
  49. data/vendor/local/include/groonga/groonga/obj.h +1 -0
  50. data/vendor/local/include/groonga/groonga/plugin.h +9 -0
  51. data/vendor/local/include/groonga/groonga/portability.h +8 -0
  52. data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
  53. data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
  54. data/vendor/local/include/groonga/groonga/type.h +9 -0
  55. data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
  56. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  58. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/ruby/eval.rb +36 -0
  66. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
  67. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
  68. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  70. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  78. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  79. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  80. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +14 -0
  81. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
  82. data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
  83. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
  84. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
  85. data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
  86. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
  87. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
  88. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
  89. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
  90. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
  91. data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
  92. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
  93. data/vendor/local/lib/libgroonga.a +0 -0
  94. data/vendor/local/lib/libgroonga.dll.a +0 -0
  95. data/vendor/local/lib/liblz4.a +0 -0
  96. data/vendor/local/lib/liblz4.dll +0 -0
  97. data/vendor/local/lib/liblz4.dll.1 +0 -0
  98. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  99. data/vendor/local/lib/libmecab.a +0 -0
  100. data/vendor/local/lib/libmecab.dll.a +0 -0
  101. data/vendor/local/lib/libmsgpack.a +0 -0
  102. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  103. data/vendor/local/lib/libmsgpackc.a +0 -0
  104. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  105. data/vendor/local/lib/libonig.a +0 -0
  106. data/vendor/local/lib/libonig.dll.a +0 -0
  107. data/vendor/local/lib/libz.a +0 -0
  108. data/vendor/local/lib/libz.dll.a +0 -0
  109. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  110. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  111. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  112. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  113. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  114. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  115. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  116. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  117. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +10 -1
  118. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
  119. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
  120. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
  121. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
  122. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  123. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +13 -3
  124. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
  125. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  126. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -4
  127. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  128. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +4 -3
  129. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -0
  135. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
  137. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
  138. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
  139. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
  140. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
  141. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
  143. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
  144. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
  145. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
  147. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
  148. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
  149. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
  150. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
  151. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
  152. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
  153. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
  154. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
  155. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
  156. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
  157. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
  158. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
  159. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
  160. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
  161. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
  162. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
  163. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
  164. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
  165. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
  166. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
  167. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
  168. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
  169. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
  173. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
  174. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
  178. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
  179. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  180. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
  182. data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
  183. data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
  184. data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
  185. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
  186. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
  187. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
  188. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
  189. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
  190. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
  191. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
  192. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
  193. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
  194. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
  195. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
  196. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
  197. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
  198. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
  199. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
  200. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
  201. data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
  202. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
  203. data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
  204. data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
  205. data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
  206. data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
  207. data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
  208. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
  209. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
  210. data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
  211. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
  212. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
  213. data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
  214. data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
  215. data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
  216. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
  217. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
  218. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
  219. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
  220. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
  221. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
  222. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
  223. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
  224. data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
  225. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  226. data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
  227. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
  228. data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
  229. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
  230. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
  231. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
  232. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
  233. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
  234. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
  235. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
  236. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
  237. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
  238. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
  239. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
  240. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
  241. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
  242. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
  243. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
  244. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
  245. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
  246. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
  247. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
  248. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
  249. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
  250. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
  251. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
  252. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
  253. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
  254. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
  255. data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
  256. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
  257. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
  258. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
  259. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
  260. data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
  261. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
  262. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
  263. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
  264. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
  265. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
  266. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
  274. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
  275. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
  276. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
  277. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
  278. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
  279. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
  280. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
  281. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
  282. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
  283. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
  284. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
  285. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
  286. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
  287. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
  288. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
  289. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
  290. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
  291. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
  292. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
  293. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
  294. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
  295. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
  296. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
  297. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
  298. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
  299. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
  300. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
  302. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
  303. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
  304. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
  305. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
  306. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
  307. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
  308. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
  309. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
  325. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
  326. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
  327. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
  328. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
  329. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
  330. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
  331. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
  332. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
  333. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
  334. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
  335. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
  336. data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
  337. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
  338. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
  339. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
  340. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
  341. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
  342. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
  343. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
  344. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
  345. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
  346. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
  347. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
  348. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
  349. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
  350. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
  351. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
  352. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
  353. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
  354. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
  355. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
  356. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
  357. data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
  358. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
  359. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
  360. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
  361. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
  362. data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
  363. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
  364. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
  365. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
  366. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
  367. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
  368. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
  369. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
  370. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
  371. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
  372. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
  373. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
  374. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
  375. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
  376. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
  377. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
  378. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
  379. data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
  380. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  381. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  382. data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
  383. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
  384. data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
  385. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
  386. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
  387. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
  388. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
  389. data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
  390. data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
  391. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
  392. data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
  393. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
  394. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
  395. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
  396. data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
  397. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
  398. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
  399. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
  400. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
  401. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
  402. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
  403. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
  404. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
  405. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
  406. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
  407. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
  408. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  409. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
  410. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
  411. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
  412. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
  413. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
  414. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  415. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +13 -3
  416. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
  417. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  418. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -4
  419. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  420. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +4 -3
  421. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
  422. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
  423. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
  424. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  425. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
  426. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -0
  427. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
  428. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
  429. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
  430. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
  431. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
  432. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
  433. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
  434. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
  435. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
  436. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
  442. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
  470. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
  471. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  472. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  473. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
  474. data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
  475. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
  476. data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
  477. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
  478. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
  479. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
  480. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
  481. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
  482. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
  483. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
  484. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
  485. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
  486. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
  487. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
  488. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
  489. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
  490. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
  491. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
  492. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
  493. data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
  494. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
  495. data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
  496. data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
  497. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
  498. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
  499. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
  500. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
  501. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
  502. data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
  503. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
  504. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
  505. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
  506. data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
  507. data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
  508. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
  509. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
  510. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
  511. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
  512. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
  513. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
  514. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
  515. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
  516. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
  517. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  518. data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
  519. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
  520. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
  521. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
  522. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
  523. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
  524. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
  525. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
  526. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
  527. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
  528. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
  529. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
  530. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
  531. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
  532. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
  533. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
  534. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
  535. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
  536. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
  537. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
  546. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
  547. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
  548. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
  549. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
  550. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
  551. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
  552. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
  553. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
  554. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
  555. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
  556. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
  557. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
  558. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
  559. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
  560. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
  561. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
  562. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
  563. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
  564. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
  565. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
  566. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
  567. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
  568. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
  569. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
  570. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
  571. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
  572. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
  573. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
  574. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
  575. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
  576. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
  590. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
  591. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
  592. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
  593. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
  594. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
  595. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
  596. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
  597. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
  598. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
  599. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
  600. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
  601. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
  602. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
  603. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
  604. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
  605. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
  606. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
  607. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
  608. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
  609. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
  610. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
  611. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
  617. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
  618. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
  619. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
  620. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
  621. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
  622. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
  623. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
  624. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
  625. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
  626. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
  627. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
  628. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
  629. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
  630. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
  631. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
  632. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
  633. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
  634. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
  635. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
  636. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
  637. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
  638. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
  639. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
  640. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
  641. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
  642. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
  643. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
  644. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
  645. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
  646. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
  647. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
  648. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
  649. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
  650. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
  651. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
  652. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
  653. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
  654. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
  655. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
  656. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
  657. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
  658. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
  659. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
  660. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
  661. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
  662. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
  663. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
  664. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
  665. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
  666. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
  667. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
  668. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
  669. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
  670. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
  671. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
  672. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  673. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  674. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
  675. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
  676. data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
  677. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
  678. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
  679. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
  680. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
  681. data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
  682. data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
  683. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
  684. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
  685. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
  686. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
  687. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
  688. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
  689. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
  690. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
  691. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
  692. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
  693. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
  694. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
  695. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
  696. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
  697. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
  698. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
  699. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
  700. metadata +72 -76
  701. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  702. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  703. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  704. data/vendor/local/lib/groonga/plugins/ruby/eval.la +0 -41
  705. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  706. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  707. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  708. data/vendor/local/lib/groonga/plugins/ruby/load.la +0 -41
  709. data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
  710. data/vendor/local/share/man/man1/groonga.1 +0 -55612
@@ -3,11 +3,11 @@
3
3
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
4
 
5
5
 
6
- <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.1.8. groonga-suggest-httpd &mdash; Groonga v5.1.2-250-gb1f40beドキュメント</title>
10
+ <title>7.1.8. groonga-suggest-httpd &mdash; Groonga v6.0.2ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '5.1.2-250-gb1f40be',
18
+ VERSION: '6.0.2',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v5.1.2-250-gb1f40beドキュメント" href="../../index.html" />
29
+ <link rel="top" title="Groonga v6.0.2ドキュメント" href="../../index.html" />
30
30
  <link rel="up" title="7.1. 実行ファイル" href="../executables.html" />
31
31
  <link rel="next" title="7.1.9. groonga-suggest-learner" href="groonga-suggest-learner.html" />
32
32
  <link rel="prev" title="7.1.7. groonga-suggest-create-dataset" href="groonga-suggest-create-dataset.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="groonga-suggest-create-dataset.html" title="7.1.7. groonga-suggest-create-dataset"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.2-250-gb1f40beドキュメント</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.2ドキュメント</a> &raquo;</li>
65
65
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
66
  <li class="nav-item nav-item-2"><a href="../executables.html" accesskey="U">7.1. 実行ファイル</a> &raquo;</li>
67
67
  </ul>
@@ -73,124 +73,313 @@
73
73
  <div class="body" role="main">
74
74
 
75
75
  <div class="section" id="groonga-suggest-httpd">
76
- <h1>7.1.8. groonga-suggest-httpd<a class="headerlink" href="#groonga-suggest-httpd" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <h1>7.1.8. <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code><a class="headerlink" href="#groonga-suggest-httpd" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
78
  <h2>7.1.8.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
- <p>groonga-suggest-httpd is a program to provide interface which accepts HTTP request and returns suggestion dataset, then saves logs for learning.
80
- groonga-suggest-httpd behaves similar in point of view of suggestion functionality, but the name of parameter is different.</p>
79
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> は次の機能に対するHTTPインターフェイスを提供するプログラムです。</p>
80
+ <blockquote>
81
+ <div><ul class="simple">
82
+ <li><p class="first"><a class="reference internal" href="../suggest.html"><span class="doc">サジェスト</span></a> を実行した結果を返す</p>
83
+ </li>
84
+ <li><p class="first">学習用にログを保存する</p>
85
+ </li>
86
+ </ul>
87
+ </div></blockquote>
88
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> は <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> コマンドのようなサジェスト機能を提供します。いくつかパラメーター名が異なることに注意してください。</p>
81
89
  </div>
82
- <div class="section" id="synopsis">
83
- <h2>7.1.8.2. 書式<a class="headerlink" href="#synopsis" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
- <div class="highlight-none"><div class="highlight"><pre><span></span>groonga-suggest-httpd [options] database_path
90
+ <div class="section" id="syntax">
91
+ <h2>7.1.8.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
92
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> にはデータベースのパスを指定します。:</p>
93
+ <div class="highlight-none"><div class="highlight"><pre><span></span>groonga-suggest-httpd [options] DATABASE_PATH
85
94
  </pre></div>
86
95
  </div>
87
96
  </div>
88
97
  <div class="section" id="usage">
89
98
  <h2>7.1.8.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
- <div class="section" id="set-up">
91
- <h3>7.1.8.3.1. 設定をする<a class="headerlink" href="#set-up" title="このヘッドラインへのパーマリンク">¶</a></h3>
92
- <p>最初に提案用のデータベースをセットアップする必要があります。</p>
99
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を使う場合は1つ以上のデータセットを作る必要があります。データセットはテーブルとカラムの集まりです。これらのテーブル・カラムは <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> で作成できます。</p>
100
+ <p>ユーザーの入力からサジェスト用データを学習するには <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> を使う必要があります。手動でサジェスト用データを作成する場合は <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> を使う必要はありません。手動でサジェスト用データを作る方法については <a class="reference internal" href="../suggest.html"><span class="doc">サジェスト</span></a> とその関連ドキュメントを参照してください。</p>
101
+ <p>1つ以上のデータセットを作ったらHTTP経由で <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を使えます。</p>
102
+ <p>つづくセクションでは次のことについて説明します。</p>
103
+ <blockquote>
104
+ <div><ul class="simple">
105
+ <li><p class="first">データセットのセットアップ方法</p>
106
+ </li>
107
+ <li><p class="first"><a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> と一緒に <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を使う方法</p>
108
+ </li>
109
+ <li><p class="first">サジェスト結果を取得するために <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を使う方法</p>
110
+ </li>
111
+ </ul>
112
+ </div></blockquote>
113
+ <div class="section" id="setup">
114
+ <h3>7.1.8.3.1. セットアップ<a class="headerlink" href="#setup" title="このヘッドラインへのパーマリンク">¶</a></h3>
115
+ <p><a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> でデータセットを作ります。</p>
116
+ <p>以下は <code class="docutils literal"><span class="pre">query</span></code> データセットを作る例です。</p>
117
+ <p>実行例:</p>
118
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-create-dataset ${DB_PATH} query
119
+ &gt; register suggest/suggest
120
+ true
121
+ &gt; table_create event_type TABLE_HASH_KEY ShortText
122
+ true
123
+ &gt; table_create bigram TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
124
+ true
125
+ &gt; table_create kana TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
126
+ true
127
+ &gt; table_create item_query TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit --normalizer NormalizerAuto
128
+ true
129
+ &gt; column_create bigram item_query_key COLUMN_INDEX|WITH_POSITION item_query _key
130
+ true
131
+ &gt; column_create item_query kana COLUMN_VECTOR kana
132
+ true
133
+ &gt; column_create kana item_query_kana COLUMN_INDEX item_query kana
134
+ true
135
+ &gt; column_create item_query freq COLUMN_SCALAR Int32
136
+ true
137
+ &gt; column_create item_query last COLUMN_SCALAR Time
138
+ true
139
+ &gt; column_create item_query boost COLUMN_SCALAR Int32
140
+ true
141
+ &gt; column_create item_query freq2 COLUMN_SCALAR Int32
142
+ true
143
+ &gt; column_create item_query buzz COLUMN_SCALAR Int32
144
+ true
145
+ &gt; table_create pair_query TABLE_HASH_KEY UInt64
146
+ true
147
+ &gt; column_create pair_query pre COLUMN_SCALAR item_query
148
+ true
149
+ &gt; column_create pair_query post COLUMN_SCALAR item_query
150
+ true
151
+ &gt; column_create pair_query freq0 COLUMN_SCALAR Int32
152
+ true
153
+ &gt; column_create pair_query freq1 COLUMN_SCALAR Int32
154
+ true
155
+ &gt; column_create pair_query freq2 COLUMN_SCALAR Int32
156
+ true
157
+ &gt; column_create item_query co COLUMN_INDEX pair_query pre
158
+ true
159
+ &gt; table_create sequence_query TABLE_HASH_KEY ShortText
160
+ true
161
+ &gt; table_create event_query TABLE_NO_KEY
162
+ true
163
+ &gt; column_create sequence_query events COLUMN_VECTOR|RING_BUFFER event_query
164
+ true
165
+ &gt; column_create event_query type COLUMN_SCALAR event_type
166
+ true
167
+ &gt; column_create event_query time COLUMN_SCALAR Time
168
+ true
169
+ &gt; column_create event_query item COLUMN_SCALAR item_query
170
+ true
171
+ &gt; column_create event_query sequence COLUMN_SCALAR sequence_query
172
+ true
173
+ &gt; table_create configuration TABLE_HASH_KEY ShortText
174
+ true
175
+ &gt; column_create configuration weight COLUMN_SCALAR UInt32
176
+ true
177
+ &gt; load --table configuration
178
+ &gt; [
179
+ &gt; {&quot;_key&quot;: &quot;query&quot;, &quot;weight&quot;: 1}
180
+ &gt; ]
181
+ 1
182
+ </pre></div>
183
+ </div>
184
+ <p><a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> は実行したコマンドを出力します。新しいデータセット用にどんなテーブル・カラムを作ったかを確認できます。</p>
185
+ </div>
186
+ <div class="section" id="launch-groonga-suggest-learner">
187
+ <h3>7.1.8.3.2. <code class="docutils literal"><span class="pre">groonga-suggest-learner</span></code> を起動<a class="headerlink" href="#launch-groonga-suggest-learner" title="このヘッドラインへのパーマリンク">¶</a></h3>
188
+ <p>学習したサジェストデータをすぐに使うかどうかを選択できます。</p>
189
+ <p>学習したサジェストデータをすぐに使う方法は2つあります。</p>
190
+ <blockquote>
191
+ <div><ul class="simple">
192
+ <li><p class="first"><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> と <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> のどちらも同じデータベースを使う</p>
193
+ </li>
194
+ <li><p class="first"><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> が <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> から学習したサジェストデータを受け取る</p>
195
+ </li>
196
+ </ul>
197
+ </div></blockquote>
198
+ <p>前者のケースでは、 <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> と <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> を同じホスト上で実行しなければいけません。</p>
199
+ <p>後者のケースでは、 <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> と <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> を違うホストで動かせます。</p>
200
+ <p>学習したサジェストデータをすぐに使う必要がないとき、 <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> が使っているデータベースから <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> が使っているデータベースに学習したサジェストデータを主導で反映する必要があります。通常、こちらの使い方を推奨します。なぜなら学習したサジェストデータには悪意のあるユーザーが入力由来のゴミデータが含まれているかもしれないからです。</p>
201
+ <p>このドキュメントでは <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> から学習したサジェストデータを受け取り、学習したサジェストデータをすぐに使います。 <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> と <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> はどちらも同じホストで動かします。これは説明しやすいからです。</p>
202
+ <p>以下は <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> を起動する例です。 <code class="docutils literal"><span class="pre">query</span></code> データセットがあるデータベースを指定します。このドキュメントでは <code class="docutils literal"><span class="pre">query</span></code> データセットを作る手順は省略します。</p>
93
203
  <p>実行例:</p>
94
- <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-create-dataset /tmp/groonga-databases/groonga-suggest-httpd query
204
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-learner --daemon ${DB_PATH}
95
205
  </pre></div>
96
206
  </div>
207
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-learner</span></code> プロセスは2つのエンドポイントを提供します。それぞれ <code class="docutils literal"><span class="pre">1234</span></code> 番ポートと <code class="docutils literal"><span class="pre">1235</span></code> 番ポートを使います。</p>
208
+ <blockquote>
209
+ <div><ul class="simple">
210
+ <li><p class="first"><code class="docutils literal"><span class="pre">1234</span></code> 番ポート: <code class="docutils literal"><span class="pre">groogna-suggest-httpd</span></code> からユーザーの入力を受け付けるエンドポイント</p>
211
+ </li>
212
+ <li><p class="first"><code class="docutils literal"><span class="pre">1235</span></code> 番ポート: <code class="docutils literal"><span class="pre">groogna-suggest-httpd</span></code> に学習したサジェストデータを送信するエンドポイント</p>
213
+ </li>
214
+ </ul>
215
+ </div></blockquote>
97
216
  </div>
98
217
  <div class="section" id="launch-groonga-suggest-httpd">
99
- <h3>7.1.8.3.2. Launch groonga-suggest-httpd<a class="headerlink" href="#launch-groonga-suggest-httpd" title="このヘッドラインへのパーマリンク">¶</a></h3>
100
- <p>Execute groonga-suggest-httpd command:</p>
218
+ <h3>7.1.8.3.3. <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を起動<a class="headerlink" href="#launch-groonga-suggest-httpd" title="このヘッドラインへのパーマリンク">¶</a></h3>
219
+ <p>次の目的のため、 <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を起動します。</p>
220
+ <blockquote>
221
+ <div><ul class="simple">
222
+ <li><p class="first">ユーザーの入力からサジェストデータを学習するため</p>
223
+ </li>
224
+ <li><p class="first">サジェスト結果をクライアントに提供するため</p>
225
+ </li>
226
+ </ul>
227
+ </div></blockquote>
228
+ <p>以下は <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> と通信する <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を起動する例です。</p>
101
229
  <p>実行例:</p>
102
- <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-httpd /tmp/groonga-databases/groonga-suggest-httpd
230
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-httpd --send-endpoint &#39;tcp://127.0.0.1:1234&#39; --receive-endpoint &#39;tcp://127.0.0.1:1235&#39; --daemon ${DB_PATH}
231
+ </pre></div>
232
+ </div>
233
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> プロセスは <code class="docutils literal"><span class="pre">8080</span></code> 番ポートでHTTPリクエストを受け付けます。</p>
234
+ <p>リクエストをログファイルに保存したい場合は <a class="reference internal" href="groonga-suggest-learner.html#cmdoption--log-base-path"><code class="xref std std-option docutils literal"><span class="pre">--log-base-path</span></code></a> オプションを指定してください。</p>
235
+ <p>以下は各ログファイルに <code class="docutils literal"><span class="pre">log</span></code> というプレフィックスをつけて <code class="docutils literal"><span class="pre">logs</span></code> ディレクトリーに保存する例です。:</p>
236
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-httpd --log-base-path logs/log ${DB_PATH}
237
+ </pre></div>
238
+ </div>
239
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> は <code class="docutils literal"><span class="pre">logYYYYmmddHHMMSS-00</span></code> という名前のログファイルを作成し、 <code class="docutils literal"><span class="pre">logs</span></code> ディレクトリー以下に保存します。</p>
240
+ </div>
241
+ <div class="section" id="learn-from-user-inputs">
242
+ <h3>7.1.8.3.4. ユーザーの入力から学習<a class="headerlink" href="#learn-from-user-inputs" title="このヘッドラインへのパーマリンク">¶</a></h3>
243
+ <p>ユーザーの入力からサジェストデータを学習できます。</p>
244
+ <p>サジェストデータを学習するには次のパラメーターを指定する必要があります。</p>
245
+ <blockquote>
246
+ <div><ul class="simple">
247
+ <li><code class="docutils literal"><span class="pre">i</span></code>: The ID of the user (You may use IP address of client)</li>
248
+ <li><p class="first"><code class="docutils literal"><span class="pre">l</span></code> :データセット名</p>
249
+ </li>
250
+ <li><p class="first"><code class="docutils literal"><span class="pre">s</span></code> :入力のタイムスタンプ。単位は秒。</p>
251
+ </li>
252
+ <li><p class="first"><code class="docutils literal"><span class="pre">t</span></code> :クエリーの種類。(省略可能。ユーザーの入力がサブミットされたときだけ <code class="docutils literal"><span class="pre">submit</span></code> を指定します。)</p>
253
+ </li>
254
+ <li><p class="first"><code class="docutils literal"><span class="pre">q</span></code> :ユーザーの入力</p>
255
+ </li>
256
+ </ul>
257
+ </div></blockquote>
258
+ <p>以下は``query`` データセットで「Groonga」というユーザーの入力を学習するリクエスト例です。</p>
259
+ <div class="highlight-none"><div class="highlight"><pre><span></span>.. groonga-command
260
+ .. include:: ../../example/reference/executables/groonga-suggest-httpd/learn.log
261
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=92619&amp;q=G&#39;
262
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=93850&amp;q=Gr&#39;
263
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=94293&amp;q=Gro&#39;
264
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=94734&amp;q=Groo&#39;
265
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95147&amp;q=Grooon&#39;
266
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95553&amp;q=Groonga&#39;
267
+ .. % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95959&amp;t=submit&amp;q=Groonga&#39;
103
268
  </pre></div>
104
269
  </div>
105
- <p>After executing above command, groonga-suggest-httpd accepts HTTP request on 8080 port.</p>
106
- <p>If you just want to save requests into log file, use <code class="docutils literal"><span class="pre">-l</span></code> option.</p>
107
- <p>Here is the example to save log files under <code class="docutils literal"><span class="pre">logs</span></code> directory with <code class="docutils literal"><span class="pre">log</span></code> prefix for each file.:</p>
108
- <div class="highlight-none"><div class="highlight"><pre><span></span>% groonga-suggest-httpd -l logs/log /tmp/groonga-databases/groonga-suggest-httpd
270
+ <p>入力中のデータに <code class="docutils literal"><span class="pre">t=submit</span></code> パラメーターをつけてはいけません。上の例では、ユーザーの入力を学習しているだけですが、ユーザーの入力を学習しながら同時に補完候補を取得することもできます。これは次のセクションで説明します。</p>
271
+ <p>サブミットされたデータには <code class="docutils literal"><span class="pre">t=submit</span></code> パラメーターをつけます。</p>
272
+ </div>
273
+ <div class="section" id="use-suggested-response">
274
+ <h3>7.1.8.3.5. サジェスト結果を使う<a class="headerlink" href="#use-suggested-response" title="このヘッドラインへのパーマリンク">¶</a></h3>
275
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> からのサジェスト結果を使えます。</p>
276
+ <p>サジェスト結果を取得するには次のパラメーターを指定します。</p>
277
+ <blockquote>
278
+ <div><ul class="simple">
279
+ <li><p class="first"><code class="docutils literal"><span class="pre">n</span></code> :データセット名</p>
280
+ </li>
281
+ <li><p class="first"><code class="docutils literal"><span class="pre">t</span></code> :クエリーの種類( <code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれか。複数指定も可。)</p>
282
+ </li>
283
+ <li><p class="first"><code class="docutils literal"><span class="pre">q</span></code> :ユーザーの入力</p>
284
+ </li>
285
+ </ul>
286
+ </div></blockquote>
287
+ <p><a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> のパラメーターを指定することもできます。</p>
288
+ <p>以下は <a class="reference internal" href="../suggest/completion.html"><span class="doc">補完</span></a> 結果を取得する例です。この結果は前のセクションで学習したデータを使って計算しています。 <code class="docutils literal"><span class="pre">frequency_threshold=1</span></code> パラメーターを使っているのはこれが例だからです。このパラメーターは1回以上出現した入力データも有効なデータとします。通常、プロダクション環境ではこのパラメーターを指定するべきではありません。ノイズが増える可能性が高いからです。</p>
289
+ <p>実行例:</p>
290
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% curl &#39;http://localhost:8080/?n=query&amp;t=complete&amp;q=G&amp;frequency_threshold=1&#39;
291
+ {&quot;complete&quot;:[[6],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;groonga&quot;,3],[&quot;g&quot;,2],[&quot;grooon&quot;,2],[&quot;gro&quot;,2],[&quot;groo&quot;,2],[&quot;gr&quot;,2]]}
109
292
  </pre></div>
110
293
  </div>
111
- <p>Under <code class="docutils literal"><span class="pre">logs</span></code> directory, log files such as <code class="docutils literal"><span class="pre">logYYYYmmddHHMMSS-00</span></code> are created.</p>
112
- </div>
113
- <div class="section" id="request-to-groonga-suggest-httpd">
114
- <h3>7.1.8.3.3. Request to groonga-suggest-httpd<a class="headerlink" href="#request-to-groonga-suggest-httpd" title="このヘッドラインへのパーマリンク">¶</a></h3>
115
- <p>Here is the sample requests to learn <code class="docutils literal"><span class="pre">groonga</span></code> for <code class="docutils literal"><span class="pre">query</span></code> dataset:</p>
116
- <div class="highlight-none"><div class="highlight"><pre><span></span>% curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=92619&amp;t=complete&amp;q=g&#39;
117
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=93850&amp;t=complete&amp;q=gr&#39;
118
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=94293&amp;t=complete&amp;q=gro&#39;
119
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=94734&amp;t=complete&amp;q=groo&#39;
120
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95147&amp;t=complete&amp;q=grooon&#39;
121
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95553&amp;t=complete&amp;q=groonga&#39;
122
- % curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=95959&amp;t=submit&amp;q=groonga
294
+ <p>補完用と学習用のどちらのパラメーターも指定することで補完と学習を組み合わせることができます。</p>
295
+ <p>実行例:</p>
296
+ <div class="highlight-none"><div class="highlight"><pre><span></span>% curl &#39;http://localhost:8080/?i=127.0.0.1&amp;l=query&amp;s=93000&amp;q=G&amp;n=query&amp;t=complete&amp;frequency_threshold=1&#39;
297
+ {&quot;complete&quot;:[[6],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;groonga&quot;,3],[&quot;g&quot;,2],[&quot;grooon&quot;,2],[&quot;gro&quot;,2],[&quot;groo&quot;,2],[&quot;gr&quot;,2]]}
123
298
  </pre></div>
124
299
  </div>
125
300
  </div>
126
301
  </div>
127
- <div class="section" id="options">
128
- <h2>7.1.8.4. Options<a class="headerlink" href="#options" title="このヘッドラインへのパーマリンク">¶</a></h2>
129
- <dl class="cmdoption">
302
+ <div class="section" id="command-line-parameters">
303
+ <h2>7.1.8.4. コマンドライン引数<a class="headerlink" href="#command-line-parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
304
+ <div class="section" id="required-parameters">
305
+ <h3>7.1.8.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
306
+ <p>必須の引数が1つあります。</p>
307
+ <div class="section" id="database-path">
308
+ <h4>7.1.8.4.1.1. <code class="docutils literal"><span class="pre">DATABASE_PATH</span></code><a class="headerlink" href="#database-path" title="このヘッドラインへのパーマリンク">¶</a></h4>
309
+ <p>Groongaのデータベースのパスを指定します。このデータベースには1つ以上のデータセットを作っておいてください。各データセットは <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> で作ります。</p>
310
+ </div>
311
+ </div>
312
+ <div class="section" id="optional-parameters">
313
+ <h3>7.1.8.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
314
+ <dl class="option">
130
315
  <dt id="cmdoption-p">
131
316
  <span id="cmdoption--port"></span><code class="descname">-p</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--port</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-p" title="この定義へのパーマリンク">¶</a></dt>
132
- <dd><p>Specify http server port number. The default value is 8080.</p>
317
+ <dd><p>HTTPサーバーのポート番号を指定します。</p>
318
+ <p>デフォルトのポート番号は <code class="docutils literal"><span class="pre">8080</span></code> です。</p>
133
319
  </dd></dl>
134
320
 
135
- <dl class="cmdoption">
321
+ <dl class="option">
136
322
  <dt id="cmdoption-t">
137
323
  <span id="cmdoption--n-threads"></span><code class="descname">-t</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--n-threads</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-t" title="この定義へのパーマリンク">¶</a></dt>
138
- <dd><p>Specify number of threads. The default value is 8.
139
- This option accepts 128 as the max value, but use the number of CPU cores for
140
- performance.</p>
324
+ <dd><p>最大スレッド数を指定します。</p>
325
+ <p>最大で128を指定できますが、パフォーマンスを出すためには最大でもCPUコア数を指定する方がよいです。</p>
326
+ <p>デフォルトはコア数です。</p>
141
327
  </dd></dl>
142
328
 
143
- <dl class="cmdoption">
329
+ <dl class="option">
144
330
  <dt id="cmdoption-s">
145
331
  <span id="cmdoption--send-endpoint"></span><code class="descname">-s</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--send-endpoint</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-s" title="この定義へのパーマリンク">¶</a></dt>
146
- <dd><p>Specify endpoint for sender.</p>
332
+ <dd><p>ユーザーの入力送信先になる <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> のエンドポイントURIを指定します。</p>
333
+ <p>フォーマットは <code class="docutils literal"><span class="pre">tcp://${HOST}:${PORT}</span></code> です。たとえば、 <code class="docutils literal"><span class="pre">tcp://192.168.0.1:2929</span></code> のように指定します。</p>
334
+ <p>デフォルト値はありません。</p>
147
335
  </dd></dl>
148
336
 
149
- <dl class="cmdoption">
337
+ <dl class="option">
150
338
  <dt id="cmdoption-r">
151
339
  <span id="cmdoption--receive-endpoint"></span><code class="descname">-r</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--receive-endpoint</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-r" title="この定義へのパーマリンク">¶</a></dt>
152
- <dd><p>Specify endpoint for receiver.</p>
340
+ <dd><p>ログ受信時に使用するアドレスを指定します。</p>
341
+ <p>フォーマットは <code class="docutils literal"><span class="pre">tcp://${HOST}:${PORT}</span></code> です。たとえば、 <code class="docutils literal"><span class="pre">tcp://192.168.0.1:2929</span></code> のように指定します。</p>
342
+ <p>デフォルト値はありません。</p>
153
343
  </dd></dl>
154
344
 
155
- <dl class="cmdoption">
345
+ <dl class="option">
156
346
  <dt id="cmdoption-l">
157
347
  <span id="cmdoption--log-base-path"></span><code class="descname">-l</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--log-base-path</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-l" title="この定義へのパーマリンク">¶</a></dt>
158
- <dd><p>Specify path prefix of log.</p>
348
+ <dd><p>ログのパス名のプレフィックスを指定します。</p>
349
+ <p>デフォルト値はありません。</p>
159
350
  </dd></dl>
160
351
 
161
- <dl class="cmdoption">
352
+ <dl class="option">
162
353
  <dt id="cmdoption--n-lines-per-log-file">
163
354
  <code class="descname">--n-lines-per-log-file</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption--n-lines-per-log-file" title="この定義へのパーマリンク">¶</a></dt>
164
- <dd><p>Specify the number of lines in a log file. The default value is 1,000,000.</p>
355
+ <dd><p>1つのログファイルの最大行数を指定します。</p>
356
+ <p>デフォルトは <code class="docutils literal"><span class="pre">1000000</span></code> (100万行)です。</p>
165
357
  </dd></dl>
166
358
 
167
- <dl class="cmdoption">
359
+ <dl class="option">
168
360
  <dt id="cmdoption-d">
169
361
  <span id="cmdoption--daemon"></span><code class="descname">-d</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--daemon</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-d" title="この定義へのパーマリンク">¶</a></dt>
170
- <dd><p>Specify this option to daemonize.</p>
362
+ <dd><p>デーモン化する場合に指定します。</p>
363
+ <p>デフォルトではデーモン化しません。</p>
171
364
  </dd></dl>
172
365
 
173
- <dl class="cmdoption">
366
+ <dl class="option">
174
367
  <dt id="cmdoption--disable-max-fd-check">
175
368
  <code class="descname">--disable-max-fd-check</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption--disable-max-fd-check" title="この定義へのパーマリンク">¶</a></dt>
176
- <dd><p>Specify this option to disable checking max fd on start.</p>
369
+ <dd><p>起動時の最大ファイルディスクリプター数のチェックを無効化する場合に指定します。</p>
370
+ <p>デフォルトはチェックします。</p>
177
371
  </dd></dl>
178
372
 
179
- </div>
180
- <div class="section" id="command-line-parameters">
181
- <h2>7.1.8.5. コマンドライン引数<a class="headerlink" href="#command-line-parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
182
- <p><code class="docutils literal"><span class="pre">database_path</span></code> だけが必須の引数です。</p>
183
- <div class="section" id="database-path">
184
- <h3>7.1.8.5.1. <code class="docutils literal"><span class="pre">database_path</span></code><a class="headerlink" href="#database-path" title="このヘッドラインへのパーマリンク">¶</a></h3>
185
- <p>Specifies the path to a Groonga database. This database must be created by <a class="reference internal" href="groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a> command because it executes required initialization for suggestion.</p>
186
373
  </div>
187
374
  </div>
188
375
  <div class="section" id="get-parameters">
189
- <h2>7.1.8.6. GETの引数<a class="headerlink" href="#get-parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
190
- <p>groonga-suggest-httpd accepts following GET parameters.</p>
376
+ <h2>7.1.8.5. GETの引数<a class="headerlink" href="#get-parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
377
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> GETパラメーターを受け付けます。</p>
191
378
  <p>必須の引数があります。どれが必須かはクエリーの種類に依存します。</p>
192
- <div class="section" id="required-parameters">
193
- <h3>7.1.8.6.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
379
+ <p>クエリーの種類が <code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれかのときは、道のパラメーターは <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> にそのまま渡します。つまり、 <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> のパラメーターを使うことができます。</p>
380
+ <div class="section" id="groonga-suggest-httpd-required-parameters">
381
+ <span id="id1"></span><h3>7.1.8.5.1. 必須引数<a class="headerlink" href="#groonga-suggest-httpd-required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
382
+ <p>次のパラメーターを指定する必要があります。</p>
194
383
  <table border="1" class="docutils">
195
384
  <colgroup>
196
385
  <col width="33%" />
@@ -202,23 +391,22 @@ performance.</p>
202
391
  </th>
203
392
  <th class="head"><p class="first last">説明</p>
204
393
  </th>
205
- <th class="head">Note</th>
394
+ <th class="head"><p class="first last">備考</p>
395
+ </th>
206
396
  </tr>
207
397
  </thead>
208
398
  <tbody valign="top">
209
- <tr class="row-even"><td>q</td>
210
- <td>UTF-8 encoded string which user fills in form</td>
211
- <td>&nbsp;</td>
212
- </tr>
213
- <tr class="row-odd"><td>t</td>
214
- <td>The type of query. The value of type must be complete, correct, suggest or submit. It also accepts multiple type of query which is concatinated by <code class="docutils literal"><span class="pre">|</span></code>. Note that <code class="docutils literal"><span class="pre">submit</span></code> is invalid value when you specify multiple type of query.</td>
399
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">q</span></code></td>
400
+ <td><p class="first last">ユーザーの入力。UTF-8でエンコードされた文字列です。</p>
401
+ </td>
215
402
  <td>&nbsp;</td>
216
403
  </tr>
217
404
  </tbody>
218
405
  </table>
219
406
  </div>
220
407
  <div class="section" id="required-parameters-for-learning">
221
- <h3>7.1.8.6.2. 学習時に必須の引数<a class="headerlink" href="#required-parameters-for-learning" title="このヘッドラインへのパーマリンク">¶</a></h3>
408
+ <span id="groonga-suggest-httpd-required-parameters-learning"></span><h3>7.1.8.5.2. 学習時に必須の引数<a class="headerlink" href="#required-parameters-for-learning" title="このヘッドラインへのパーマリンク">¶</a></h3>
409
+ <p><a class="reference internal" href="groonga-suggest-learner.html#cmdoption--send-endpoint"><code class="xref std std-option docutils literal"><span class="pre">--send-endpoint</span></code></a> を指定したときは次のパラメーターを指定しなければいけません。</p>
222
410
  <table border="1" class="docutils">
223
411
  <colgroup>
224
412
  <col width="33%" />
@@ -230,27 +418,70 @@ performance.</p>
230
418
  </th>
231
419
  <th class="head"><p class="first last">説明</p>
232
420
  </th>
233
- <th class="head">Note</th>
421
+ <th class="head"><p class="first last">備考</p>
422
+ </th>
234
423
  </tr>
235
424
  </thead>
236
425
  <tbody valign="top">
237
- <tr class="row-even"><td>s</td>
238
- <td>Elapsed time from 0:00 January 1, 1970</td>
239
- <td>Note that you need specify the value of <code class="docutils literal"><span class="pre">s</span></code> in milliseconds</td>
426
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">s</span></code></td>
427
+ <td><p class="first last"><code class="docutils literal"><span class="pre">1970-01-01T00:00:00Z</span></code> から経過時間。</p>
428
+ </td>
429
+ <td><p class="first last">単位はミリ秒。</p>
430
+ </td>
240
431
  </tr>
241
- <tr class="row-odd"><td>i</td>
242
- <td>Unique ID to distinct user</td>
243
- <td>Use session ID or IP address for example</td>
432
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">i</span></code></td>
433
+ <td><p class="first last">各ユーザーを識別するユニークなID。</p>
434
+ </td>
435
+ <td><p class="first last">セッションID、IPアドレスなどを使うことができるでしょう。</p>
436
+ </td>
244
437
  </tr>
245
- <tr class="row-even"><td>l</td>
246
- <td>Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by <code class="docutils literal"><span class="pre">|</span></code></td>
247
- <td>Note that dataset name must be matched to following regular expression <code class="docutils literal"><span class="pre">[A-Za-z</span> <span class="pre">][A-Za-z0-9</span> <span class="pre">]{0,15}</span></code></td>
438
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">l</span></code></td>
439
+ <td><p class="first last">1つ以上の学習対象のデータセット名。複数のデータセットを指定する場合は <code class="docutils literal"><span class="pre">dataset1|dataset2|dataset3</span></code> のように区切り文字として <code class="docutils literal"><span class="pre">|</span></code> を使います。</p>
440
+ </td>
441
+ <td><p class="first last">データセット名は <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> で指定した名前です。</p>
442
+ </td>
248
443
  </tr>
249
444
  </tbody>
250
445
  </table>
251
446
  </div>
252
447
  <div class="section" id="required-parameters-for-suggestion">
253
- <h3>7.1.8.6.3. 提案時に必須の引数<a class="headerlink" href="#required-parameters-for-suggestion" title="このヘッドラインへのパーマリンク">¶</a></h3>
448
+ <span id="groonga-suggest-httpd-required-parameters-suggestion"></span><h3>7.1.8.5.3. サジェスト時に必須の引数<a class="headerlink" href="#required-parameters-for-suggestion" title="このヘッドラインへのパーマリンク">¶</a></h3>
449
+ <p><code class="docutils literal"><span class="pre">t</span></code> パラメータに <code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれかを指定したときは次のパラメーターを指定する必要があります。</p>
450
+ <table border="1" class="docutils">
451
+ <colgroup>
452
+ <col width="33%" />
453
+ <col width="33%" />
454
+ <col width="33%" />
455
+ </colgroup>
456
+ <thead valign="bottom">
457
+ <tr class="row-odd"><th class="head"><p class="first last">キー</p>
458
+ </th>
459
+ <th class="head"><p class="first last">説明</p>
460
+ </th>
461
+ <th class="head"><p class="first last">備考</p>
462
+ </th>
463
+ </tr>
464
+ </thead>
465
+ <tbody valign="top">
466
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">n</span></code></td>
467
+ <td><p class="first last">サジェスト結果を計算するときに使うデータセット名。</p>
468
+ </td>
469
+ <td><p class="first last">データセット名は <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> で指定した名前です。</p>
470
+ </td>
471
+ </tr>
472
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">t</span></code></td>
473
+ <td><p class="first">クエリーの種類。</p>
474
+ <p class="last"><code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれか。</p>
475
+ </td>
476
+ <td><p class="first last">複数の種類を指定することもできます。複数指定するときは <code class="docutils literal"><span class="pre">complete|correct</span></code> のように <code class="docutils literal"><span class="pre">|</span></code> で区切ってください。</p>
477
+ </td>
478
+ </tr>
479
+ </tbody>
480
+ </table>
481
+ </div>
482
+ <div class="section" id="groonga-suggest-httpd-optional-parameters">
483
+ <span id="id2"></span><h3>7.1.8.5.4. 省略可能引数<a class="headerlink" href="#groonga-suggest-httpd-optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
484
+ <p>いくつか省略可能な引数があります。</p>
254
485
  <table border="1" class="docutils">
255
486
  <colgroup>
256
487
  <col width="33%" />
@@ -262,20 +493,22 @@ performance.</p>
262
493
  </th>
263
494
  <th class="head"><p class="first last">説明</p>
264
495
  </th>
265
- <th class="head">Note</th>
496
+ <th class="head"><p class="first last">備考</p>
497
+ </th>
266
498
  </tr>
267
499
  </thead>
268
500
  <tbody valign="top">
269
- <tr class="row-even"><td>n</td>
270
- <td><p class="first last">提案用のデータベース名を指定します。</p>
501
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">callback</span></code></td>
502
+ <td><p class="first last">JSONPの関数名</p>
271
503
  </td>
272
- <td>This dataset name is used to calculate suggestion results</td>
504
+ <td>&nbsp;</td>
273
505
  </tr>
274
506
  </tbody>
275
507
  </table>
276
508
  </div>
277
- <div class="section" id="optional-parameter">
278
- <h3>7.1.8.6.4. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
509
+ <div class="section" id="optional-parameters-for-learning">
510
+ <span id="groonga-suggest-httpd-optional-parameters-learning"></span><h3>7.1.8.5.5. 学習時に指定可能な引数<a class="headerlink" href="#optional-parameters-for-learning" title="このヘッドラインへのパーマリンク">¶</a></h3>
511
+ <p><a class="reference internal" href="groonga-suggest-learner.html#cmdoption--send-endpoint"><code class="xref std std-option docutils literal"><span class="pre">--send-endpoint</span></code></a> オプションを指定したときに指定可能なパラメーターは次の通りです。</p>
279
512
  <table border="1" class="docutils">
280
513
  <colgroup>
281
514
  <col width="33%" />
@@ -287,39 +520,67 @@ performance.</p>
287
520
  </th>
288
521
  <th class="head"><p class="first last">説明</p>
289
522
  </th>
290
- <th class="head">Note</th>
523
+ <th class="head"><p class="first last">備考</p>
524
+ </th>
291
525
  </tr>
292
526
  </thead>
293
527
  <tbody valign="top">
294
- <tr class="row-even"><td>callback</td>
295
- <td>Specify the name of function if you prefer JSONP as response format</td>
296
- <td>The name of function must be matched to reqular expression <code class="docutils literal"><span class="pre">[A-Za-z</span> <span class="pre">][A-Za-z0-9</span> <span class="pre">]{0,15}</span></code></td>
528
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">t</span></code></td>
529
+ <td><p class="first">クエリーの種類。</p>
530
+ <p class="last">指定可能な値は <code class="docutils literal"><span class="pre">submit</span></code> だけです。</p>
531
+ </td>
532
+ <td><p class="first">ユーザーが <code class="docutils literal"><span class="pre">q</span></code> で指定した入力をサブミットしたときは <code class="docutils literal"><span class="pre">submit</span></code> を指定してください。</p>
533
+ <p class="last">まだサブミットされていないユーザーの入力を指定するときは <code class="docutils literal"><span class="pre">submit</span></code> を指定しないでください。 <code class="docutils literal"><span class="pre">submit</span></code> を指定していないときに <code class="docutils literal"><span class="pre">t</span></code> に <code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のうち1つ以上を指定するとサジェスト結果を使えます。これらの <code class="docutils literal"><span class="pre">t</span></code> に指定する値については <a class="reference internal" href="#groonga-suggest-httpd-required-parameters-suggestion"><span class="std std-ref">サジェスト時に必須の引数</span></a> を参照してください。</p>
534
+ </td>
297
535
  </tr>
298
536
  </tbody>
299
537
  </table>
300
538
  </div>
301
539
  </div>
302
540
  <div class="section" id="return-value">
303
- <h2>7.1.8.7. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
304
- <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> command returns following response in JSON or JSONP format.</p>
305
- <p>JSON形式:</p>
306
- <div class="highlight-none"><div class="highlight"><pre><span></span>{TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]}
541
+ <h2>7.1.8.6. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
542
+ <p><code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> のレスポンスは次のフォーマットになります。 <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> のボディ部分と同じです。:</p>
543
+ <div class="highlight-none"><div class="highlight"><pre><span></span>{
544
+ TYPE1: [
545
+ [CANDIDATE_1, SCORE_1],
546
+ [CANDIDATE_2, SCORE_2],
547
+ ...,
548
+ [CANDIDATE_N, SCORE_N]
549
+ ],
550
+ TYPE2: [
551
+ [CANDIDATE_1, SCORE_1],
552
+ [CANDIDATE_2, SCORE_2],
553
+ ...,
554
+ [CANDIDATE_N, SCORE_N]
555
+ ],
556
+ ...
557
+ }
307
558
  </pre></div>
308
559
  </div>
309
- <p>JSONP形式:</p>
310
- <div class="highlight-none"><div class="highlight"><pre><span></span>FUNCTION({TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]})
560
+ <p><code class="docutils literal"><span class="pre">t</span></code> に <code class="docutils literal"><span class="pre">submit</span></code> を指定したときのレスポンスは次の通りです。:</p>
561
+ <div class="highlight-none"><div class="highlight"><pre><span></span>{}
311
562
  </pre></div>
312
563
  </div>
313
- <p><code class="docutils literal"><span class="pre">TYPE</span></code></p>
314
- <blockquote>
315
- <div><p><code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれか。</p>
316
- </div></blockquote>
317
- <p><code class="docutils literal"><span class="pre">CANDIDATE_N</span></code></p>
318
- <blockquote>
319
- <div>The string of candidate (UTF-8).</div></blockquote>
320
- <p><code class="docutils literal"><span class="pre">SCORE_N</span></code></p>
564
+ <div class="section" id="type">
565
+ <h3>7.1.8.6.1. <code class="docutils literal"><span class="pre">TYPE</span></code><a class="headerlink" href="#type" title="このヘッドラインへのパーマリンク">¶</a></h3>
566
+ <p><code class="docutils literal"><span class="pre">complete</span></code> 、 <code class="docutils literal"><span class="pre">correct</span></code> 、 <code class="docutils literal"><span class="pre">suggest</span></code> のどれか。</p>
567
+ </div>
568
+ <div class="section" id="candidate-n">
569
+ <h3>7.1.8.6.2. <code class="docutils literal"><span class="pre">CANDIDATE_N</span></code><a class="headerlink" href="#candidate-n" title="このヘッドラインへのパーマリンク">¶</a></h3>
570
+ <p>UTF-8でエンコードされた候補文字列。</p>
571
+ </div>
572
+ <div class="section" id="score-n">
573
+ <h3>7.1.8.6.3. <code class="docutils literal"><span class="pre">SCORE_N</span></code><a class="headerlink" href="#score-n" title="このヘッドラインへのパーマリンク">¶</a></h3>
574
+ <p>候補のスコアー。</p>
575
+ <p>スコアーの降順でソートされた候補リスト。</p>
576
+ </div>
577
+ </div>
578
+ <div class="section" id="see-also">
579
+ <h2>7.1.8.7. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
321
580
  <blockquote>
322
- <div><p>スコア。</p>
581
+ <div><ul class="simple">
582
+ <li><a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a></li>
583
+ </ul>
323
584
  </div></blockquote>
324
585
  </div>
325
586
  </div>
@@ -332,28 +593,40 @@ performance.</p>
332
593
  <div class="sphinxsidebarwrapper">
333
594
  <h3><a href="../../index.html">目次</a></h3>
334
595
  <ul>
335
- <li><a class="reference internal" href="#">7.1.8. groonga-suggest-httpd</a><ul>
596
+ <li><a class="reference internal" href="#">7.1.8. <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code></a><ul>
336
597
  <li><a class="reference internal" href="#summary">7.1.8.1. 概要</a></li>
337
- <li><a class="reference internal" href="#synopsis">7.1.8.2. 書式</a></li>
598
+ <li><a class="reference internal" href="#syntax">7.1.8.2. 構文</a></li>
338
599
  <li><a class="reference internal" href="#usage">7.1.8.3. 使い方</a><ul>
339
- <li><a class="reference internal" href="#set-up">7.1.8.3.1. 設定をする</a></li>
340
- <li><a class="reference internal" href="#launch-groonga-suggest-httpd">7.1.8.3.2. Launch groonga-suggest-httpd</a></li>
341
- <li><a class="reference internal" href="#request-to-groonga-suggest-httpd">7.1.8.3.3. Request to groonga-suggest-httpd</a></li>
600
+ <li><a class="reference internal" href="#setup">7.1.8.3.1. セットアップ</a></li>
601
+ <li><a class="reference internal" href="#launch-groonga-suggest-learner">7.1.8.3.2. <code class="docutils literal"><span class="pre">groonga-suggest-learner</span></code> を起動</a></li>
602
+ <li><a class="reference internal" href="#launch-groonga-suggest-httpd">7.1.8.3.3. <code class="docutils literal"><span class="pre">groonga-suggest-httpd</span></code> を起動</a></li>
603
+ <li><a class="reference internal" href="#learn-from-user-inputs">7.1.8.3.4. ユーザーの入力から学習</a></li>
604
+ <li><a class="reference internal" href="#use-suggested-response">7.1.8.3.5. サジェスト結果を使う</a></li>
605
+ </ul>
606
+ </li>
607
+ <li><a class="reference internal" href="#command-line-parameters">7.1.8.4. コマンドライン引数</a><ul>
608
+ <li><a class="reference internal" href="#required-parameters">7.1.8.4.1. 必須引数</a><ul>
609
+ <li><a class="reference internal" href="#database-path">7.1.8.4.1.1. <code class="docutils literal"><span class="pre">DATABASE_PATH</span></code></a></li>
610
+ </ul>
611
+ </li>
612
+ <li><a class="reference internal" href="#optional-parameters">7.1.8.4.2. 省略可能引数</a></li>
342
613
  </ul>
343
614
  </li>
344
- <li><a class="reference internal" href="#options">7.1.8.4. Options</a></li>
345
- <li><a class="reference internal" href="#command-line-parameters">7.1.8.5. コマンドライン引数</a><ul>
346
- <li><a class="reference internal" href="#database-path">7.1.8.5.1. <code class="docutils literal"><span class="pre">database_path</span></code></a></li>
615
+ <li><a class="reference internal" href="#get-parameters">7.1.8.5. GETの引数</a><ul>
616
+ <li><a class="reference internal" href="#groonga-suggest-httpd-required-parameters">7.1.8.5.1. 必須引数</a></li>
617
+ <li><a class="reference internal" href="#required-parameters-for-learning">7.1.8.5.2. 学習時に必須の引数</a></li>
618
+ <li><a class="reference internal" href="#required-parameters-for-suggestion">7.1.8.5.3. サジェスト時に必須の引数</a></li>
619
+ <li><a class="reference internal" href="#groonga-suggest-httpd-optional-parameters">7.1.8.5.4. 省略可能引数</a></li>
620
+ <li><a class="reference internal" href="#optional-parameters-for-learning">7.1.8.5.5. 学習時に指定可能な引数</a></li>
347
621
  </ul>
348
622
  </li>
349
- <li><a class="reference internal" href="#get-parameters">7.1.8.6. GETの引数</a><ul>
350
- <li><a class="reference internal" href="#required-parameters">7.1.8.6.1. 必須引数</a></li>
351
- <li><a class="reference internal" href="#required-parameters-for-learning">7.1.8.6.2. 学習時に必須の引数</a></li>
352
- <li><a class="reference internal" href="#required-parameters-for-suggestion">7.1.8.6.3. 提案時に必須の引数</a></li>
353
- <li><a class="reference internal" href="#optional-parameter">7.1.8.6.4. 省略可能引数</a></li>
623
+ <li><a class="reference internal" href="#return-value">7.1.8.6. 戻り値</a><ul>
624
+ <li><a class="reference internal" href="#type">7.1.8.6.1. <code class="docutils literal"><span class="pre">TYPE</span></code></a></li>
625
+ <li><a class="reference internal" href="#candidate-n">7.1.8.6.2. <code class="docutils literal"><span class="pre">CANDIDATE_N</span></code></a></li>
626
+ <li><a class="reference internal" href="#score-n">7.1.8.6.3. <code class="docutils literal"><span class="pre">SCORE_N</span></code></a></li>
354
627
  </ul>
355
628
  </li>
356
- <li><a class="reference internal" href="#return-value">7.1.8.7. 戻り値</a></li>
629
+ <li><a class="reference internal" href="#see-also">7.1.8.7. 参考</a></li>
357
630
  </ul>
358
631
  </li>
359
632
  </ul>
@@ -379,9 +652,6 @@ performance.</p>
379
652
  <input type="hidden" name="check_keywords" value="yes" />
380
653
  <input type="hidden" name="area" value="default" />
381
654
  </form>
382
- <p class="searchtip" style="font-size: 90%">
383
- モジュール、クラス、または関数名を入力してください
384
- </p>
385
655
  </div>
386
656
  <script type="text/javascript">$('#searchbox').show(0);</script>
387
657
  </div>
@@ -400,7 +670,7 @@ performance.</p>
400
670
  <li class="right" >
401
671
  <a href="groonga-suggest-create-dataset.html" title="7.1.7. groonga-suggest-create-dataset"
402
672
  >前へ</a> |</li>
403
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.1.2-250-gb1f40beドキュメント</a> &raquo;</li>
673
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v6.0.2ドキュメント</a> &raquo;</li>
404
674
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
405
675
  <li class="nav-item nav-item-2"><a href="../executables.html" >7.1. 実行ファイル</a> &raquo;</li>
406
676
  </ul>