rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.textile +13 -1
  3. data/ext/groonga/rb-grn-index-column.c +4 -0
  4. data/ext/groonga/rb-grn-object.c +2 -3
  5. data/ext/groonga/rb-grn.h +1 -1
  6. data/lib/1.9/groonga.so +0 -0
  7. data/lib/2.0/groonga.so +0 -0
  8. data/lib/2.1/groonga.so +0 -0
  9. data/lib/groonga/schema.rb +1 -1
  10. data/rroonga-build.rb +1 -1
  11. data/rroonga.gemspec +1 -1
  12. data/test/test-database.rb +74 -0
  13. data/test/test-index-column.rb +22 -0
  14. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  15. data/vendor/local/bin/groonga.exe +0 -0
  16. data/vendor/local/bin/libgroonga-0.dll +0 -0
  17. data/vendor/local/bin/libmecab-1.dll +0 -0
  18. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  19. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  20. data/vendor/local/bin/mecab-config +0 -0
  21. data/vendor/local/bin/mecab.exe +0 -0
  22. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  23. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  24. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  25. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +0 -0
  26. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  28. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
  30. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  32. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/table/table.la +0 -0
  34. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  36. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
  38. data/vendor/local/lib/libgroonga.a +0 -0
  39. data/vendor/local/lib/libgroonga.dll.a +0 -0
  40. data/vendor/local/lib/libgroonga.la +0 -0
  41. data/vendor/local/lib/libmecab.a +0 -0
  42. data/vendor/local/lib/libmecab.dll.a +0 -0
  43. data/vendor/local/lib/libmecab.la +0 -0
  44. data/vendor/local/lib/libmsgpack.a +0 -0
  45. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  46. data/vendor/local/lib/libmsgpack.la +0 -0
  47. data/vendor/local/lib/libmsgpackc.a +0 -0
  48. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  49. data/vendor/local/lib/libmsgpackc.la +0 -0
  50. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  51. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  54. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  55. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  56. data/vendor/local/sbin/groonga-httpd-restart +0 -0
  57. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  58. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +3 -0
  59. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  63. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +15 -3
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  68. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +54 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
  76. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
  82. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  84. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
  85. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
  101. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
  103. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
  105. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  106. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  107. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  108. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  109. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  110. data/vendor/local/share/doc/groonga/en/html/install/others.html +20 -8
  111. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  112. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
  113. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  114. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/news.html +226 -165
  116. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  122. data/vendor/local/share/doc/groonga/en/html/reference.html +46 -36
  123. data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  125. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
  126. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  127. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  128. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  129. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  130. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  131. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  132. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  133. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  134. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  135. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  136. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  137. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
  138. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  139. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  140. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  141. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  142. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  143. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
  144. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
  146. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +95 -14
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -44
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
  185. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +24 -12
  187. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
  188. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
  189. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
  190. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
  206. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
  208. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +290 -0
  214. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  215. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  217. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  225. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
  228. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +194 -5
  229. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
  234. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
  235. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
  236. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  249. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +3 -0
  250. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
  251. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  252. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  253. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  254. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  255. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +15 -3
  256. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  257. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -3
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +54 -0
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
  276. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  278. data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
  281. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
  282. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
  283. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
  284. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
  285. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
  286. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
  287. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
  288. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  289. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
  290. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  291. data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
  292. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
  293. data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
  294. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  295. data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
  296. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
  297. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
  298. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
  299. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
  300. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
  301. data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
  302. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
  303. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
  304. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
  305. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  306. data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
  307. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
  308. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  309. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  310. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  311. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
  312. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  313. data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
  314. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
  315. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
  316. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
  317. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
  318. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
  319. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
  320. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
  321. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
  322. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
  323. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
  324. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
  325. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
  326. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
  327. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
  328. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
  330. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
  331. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
  332. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
  333. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
  334. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
  335. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
  336. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
  337. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
  338. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
  339. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
  349. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
  364. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
  365. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
  366. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
  367. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
  368. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
  369. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
  370. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
  372. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
  373. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
  374. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  375. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
  376. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  377. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
  378. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
  379. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
  380. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
  381. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
  382. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
  383. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
  384. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  385. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  386. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
  387. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
  388. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
  389. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
  390. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
  391. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
  392. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
  393. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
  394. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
  395. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
  396. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
  397. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
  398. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
  399. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
  400. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
  401. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
  402. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
  403. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
  404. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
  405. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  406. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  408. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  409. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
  410. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  411. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
  412. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
  413. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
  414. data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
  415. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  416. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
  417. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
  418. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
  419. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
  420. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
  421. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
  422. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
  423. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
  424. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
  425. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
  426. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
  427. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  428. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
  429. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  430. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
  431. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  432. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
  433. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  434. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
  435. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
  436. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
  437. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
  438. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  439. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  440. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  441. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  442. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  443. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  444. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  445. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  446. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  447. data/vendor/local/share/man/ja/man1/groonga.1 +1152 -241
  448. data/vendor/local/share/man/man1/groonga.1 +1215 -269
  449. metadata +150 -130
@@ -11,21 +11,21 @@
11
11
  Summary
12
12
  -------
13
13
 
14
- ``ruby_eval`` command evaluates ruby script and returns the result.
14
+ ``ruby_eval`` command evaluates Ruby script and returns the result.
15
15
 
16
16
  Syntax
17
17
  ------
18
18
 
19
19
  ``ruby_eval`` has one required parameter::
20
20
 
21
- ruby_eval ruby_script
21
+ ruby_eval script
22
22
 
23
23
  Usage
24
24
  -----
25
25
 
26
26
  You can execute any scripts which mruby supports by calling ``ruby_eval``.
27
27
 
28
- Here is an example that just calculate ``1 + 2`` by mruby plugin.
28
+ Here is an example that just calculate ``1 + 2`` as Ruby script.
29
29
 
30
30
  .. groonga-command
31
31
  .. include:: ../../example/reference/commands/ruby_eval/calc.log
@@ -42,35 +42,29 @@ Parameters
42
42
 
43
43
  This section describes all parameters.
44
44
 
45
- ``ruby_script``
46
- """""""""""""""
45
+ ``script``
46
+ """"""""""
47
47
 
48
- It specifies the ruby script which you want to evaluate.
48
+ It specifies the Ruby script which you want to evaluate.
49
49
 
50
50
  Return value
51
51
  ------------
52
52
 
53
- ``ruby_eval`` returns the evaluated result which key is "value" as json format::
53
+ ``ruby_eval`` returns the evaluated result with metadata such as
54
+ exception information (Including metadata isn't implemented yet)::
54
55
 
55
- [[HEADER, EVALUATED]]
56
+ [HEADER, {"value": EVALUATED_VALUE}]
56
57
 
57
58
  ``HEADER``
58
59
 
59
60
  See :doc:`/reference/command/output_format` about ``HEADER``.
60
61
 
61
- ``EVALUATED``
62
+ ``EVALUATED_VALUE``
62
63
 
63
- ``EVALUATED`` consists of pair of key and value in forms of {key:value}.
64
+ ``EVALUATED_VALUE`` is the evaludated value of ``ruby_script``.
64
65
 
65
- .. list-table::
66
- :header-rows: 1
67
-
68
- * - Name
69
- - Description
70
- * - ``key``
71
- - reserved word 'value'.
72
- * - ``value``
73
- - the value of evaluated script. It must be a number.
66
+ ``ruby_eval`` supports only a number for evaluated value for now.
67
+ Supported types will be increased in the future.
74
68
 
75
69
  See also
76
70
  --------
@@ -0,0 +1,71 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: commands_ruby_load
7
+
8
+ ``ruby_load``
9
+ =============
10
+
11
+ Summary
12
+ -------
13
+
14
+ ``ruby_load`` command loads specified Ruby script.
15
+
16
+ Syntax
17
+ ------
18
+
19
+ ``ruby_load`` has one required parameter::
20
+
21
+ ruby_load path
22
+
23
+ Usage
24
+ -----
25
+
26
+ You can load any script file which mruby supports by calling ``ruby_load``.
27
+
28
+ Here is an example that just load ``expression.rb`` as Ruby script.
29
+
30
+ .. groonga-command
31
+ .. include:: ../../example/reference/commands/ruby_load/load.log
32
+ .. register ruby/load
33
+ .. ruby_load "expression.rb"
34
+
35
+ Register ``ruby/load`` plugin to use ``ruby_load`` command in advance.
36
+
37
+ Note that ``ruby_load`` is implemented as an experimental plugin,
38
+ and the specification may be changed in the future.
39
+
40
+ Parameters
41
+ ----------
42
+
43
+ This section describes all parameters.
44
+
45
+ ``path``
46
+ """""""""""""""
47
+
48
+ It specifies the Ruby script path which you want to load.
49
+
50
+ Return value
51
+ ------------
52
+
53
+ ``ruby_load`` returns the loaded result with metadata such as
54
+ exception information (Including metadata isn't implemented yet)::
55
+
56
+ [HEADER, {"value": LOADED_VALUE}]
57
+
58
+ ``HEADER``
59
+
60
+ See :doc:`/reference/command/output_format` about ``HEADER``.
61
+
62
+ ``LOADED_VALUE``
63
+
64
+ ``LOADED_VALUE`` is the loaded value of ruby script.
65
+
66
+ ``ruby_load`` just return ``null`` as ``LOADED_VALUE`` for now, it will be supported in the future.
67
+
68
+ See also
69
+ --------
70
+
71
+ :doc:`/reference/commands/ruby_eval`
@@ -58,7 +58,7 @@ tokenizer that is named ``tokenizer``.
58
58
 
59
59
  See :doc:`/reference/tokenizers` about built-in tokenizers.
60
60
 
61
- Here is an example to use ``TokenTrigram`` tokenizer.
61
+ Here is an example to use built-in ``TokenTrigram`` tokenizer.
62
62
 
63
63
  .. groonga-command
64
64
  .. include:: ../../example/reference/commands/tokenize/tokenizer_token_trigram.log
@@ -66,15 +66,16 @@ Here is an example to use ``TokenTrigram`` tokenizer.
66
66
 
67
67
  If you want to use other tokenizers, you need to register additional
68
68
  tokenizer plugin by :doc:`register` command. For example, you can use
69
- MySQL compatible normalizer by registering `groonga-normalizer-mysql
70
- <https://github.com/groonga/groonga-normalizer-mysql>`_.
69
+ `KyTea <http://www.phontron.com/kytea/>`_ based tokenizer by
70
+ registering ``tokenizers/kytea``.
71
71
 
72
72
  ``string``
73
73
  """"""""""
74
74
 
75
- It specifies any string which you want to tokenize. If you want to
76
- include spaces in ``string``, you need to quote ``string`` by
77
- single quotation (``'``) or double quotation (``"``).
75
+ It specifies any string which you want to tokenize.
76
+
77
+ If you want to include spaces in ``string``, you need to quote
78
+ ``string`` by single quotation (``'``) or double quotation (``"``).
78
79
 
79
80
  Here is an example to use spaces in ``string``.
80
81
 
@@ -120,6 +120,8 @@ Examples::
120
120
  groonga off; # Disables groonga under /d/... path
121
121
  }
122
122
 
123
+ .. _groonga-database:
124
+
123
125
  ``groonga_database``
124
126
  """"""""""""""""""""
125
127
 
@@ -136,10 +138,33 @@ Context
136
138
  Specifies the path to a groonga database. This is the required
137
139
  directive.
138
140
 
141
+ .. _groonga-database-auto-create:
142
+
139
143
  ``groonga_database_auto_create``
140
144
  """"""""""""""""""""""""""""""""
141
145
 
142
- TODO
146
+ Synopsis::
147
+
148
+ groonga_database_auto_create on | off;
149
+
150
+ Default
151
+ ``groonga_database_auto_create on;``
152
+
153
+ Context
154
+ ``http``, ``server``, ``location``
155
+
156
+ Specifies whether groonga database is created automatically or not. If
157
+ the value is ``on`` and the groonga database specified by
158
+ :ref:`groonga-database` doesn't exist, the groonga database is created
159
+ automatically. If the groonga database exists, groonga-httpd does
160
+ nothing.
161
+
162
+ If parent directory doesn't exist, parent directory is also created
163
+ recursively.
164
+
165
+ The default value is ``on``. Normally, the value doesn't need to be
166
+ changed.
167
+
143
168
 
144
169
  ``groonga_base_path``
145
170
  """""""""""""""""""""
@@ -300,6 +325,35 @@ see http://wiki.nginx.org/CoreModule#worker_processes.
300
325
 
301
326
  By default, this is set to 1. It is nginx's default.
302
327
 
328
+ .. _groonga-cache-limit:
329
+
330
+ ``groonga_cache_limit``
331
+ """""""""""""""""""""""
332
+
333
+ This directive is introduced to customize cache limit for each worker process.
334
+
335
+ Synopsis::
336
+
337
+ groonga_cache_limit CACHE_LIMIT;
338
+
339
+ Default
340
+ 100
341
+
342
+ Context
343
+ ``http``, ``server``, ``location``
344
+
345
+ Specifies groonga's limit of query cache in the ``http``, ``server`` or
346
+ ``location`` block. The default value is 100.
347
+ You can disable query cache to specify 0 to ``groonga_cache_limit`` explicitly.
348
+
349
+ Examples::
350
+
351
+ location /d/ {
352
+ groonga on;
353
+ # You can customize query cache limit for groonga.
354
+ groonga_cache_limit 100;
355
+ }
356
+
303
357
  ``proxy_cache``
304
358
  """""""""""""""
305
359
 
@@ -367,38 +421,38 @@ change cache configuration dynamically by HTTP.
367
421
 
368
422
  Here is a sample configuration::
369
423
 
370
- ...
371
- http {
372
- proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m;
373
- proxy_cache_valid 10m;
374
- ...
375
- # Reverse proxy and cache
376
- server {
377
- listen 10041;
378
- ...
379
- # Only select command
380
- location /d/select {
381
- # Pass through groonga with cache
382
- proxy_cache groonga;
383
- proxy_pass http://localhost:20041;
384
- }
385
-
386
- location / {
387
- # Pass through groonga
388
- proxy_pass http://localhost:20041;
389
- }
390
- }
391
-
392
- # groonga
393
- server {
394
- location 20041;
395
- location /d/ {
396
- groonga on;
397
- groonga_database /var/lib/groonga/db/db;
398
- }
399
- }
400
- ...
401
- }
424
+ ...
425
+ http {
426
+ proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m;
427
+ proxy_cache_valid 10m;
428
+ ...
429
+ # Reverse proxy and cache
430
+ server {
431
+ listen 10041;
432
+ ...
433
+ # Only select command
434
+ location /d/select {
435
+ # Pass through groonga with cache
436
+ proxy_cache groonga;
437
+ proxy_pass http://localhost:20041;
438
+ }
439
+
440
+ location / {
441
+ # Pass through groonga
442
+ proxy_pass http://localhost:20041;
443
+ }
444
+ }
445
+
446
+ # groonga
447
+ server {
448
+ location 20041;
449
+ location /d/ {
450
+ groonga on;
451
+ groonga_database /var/lib/groonga/db/db;
452
+ }
453
+ }
454
+ ...
455
+ }
402
456
 
403
457
  See the following nginx documentations for parameter details:
404
458
 
@@ -22,6 +22,19 @@ DESCTIPION
22
22
 
23
23
  groonga-suggest-create-dataset creates a dataset for :doc:`/suggest`. A database has many datasets. This command just defines schema for a suggestion dataset.
24
24
 
25
+ This command generates some tables and columns for :doc:`/suggest`.
26
+
27
+ Here is the list of such tables. If you specify 'query' as dataset name, following '_DATASET' suffix are replaced. Thus, 'item_query', 'pair_query', 'sequence_query', 'event_query' tables are generated.
28
+
29
+ * event_type
30
+ * bigram
31
+ * kana
32
+ * item_DATASET
33
+ * pair_DATASET
34
+ * sequence_DATASET
35
+ * event_DATASET
36
+ * configuration
37
+
25
38
  OPTIONS
26
39
  -------
27
40
 
@@ -46,5 +59,5 @@ SEE ALSO
46
59
  --------
47
60
 
48
61
  :doc:`/suggest`
49
- .. : doc:`groonga-suggest-httpd`
50
- .. : doc:`groonga-suggest-learner`
62
+ :doc:`groonga-suggest-httpd`
63
+ :doc:`groonga-suggest-learner`
@@ -0,0 +1,68 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ groonga-suggest-httpd
6
+ =====================
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO
12
+
13
+ Synopsis
14
+ --------
15
+
16
+ ::
17
+
18
+ groonga-suggest-httpd [options] database_path
19
+
20
+ Usage
21
+ -----
22
+
23
+ TODO
24
+
25
+ Options
26
+ -------
27
+
28
+ .. cmdoption:: -p, --port
29
+
30
+ Specify http server port number. The default value is 8080.
31
+
32
+ .. cmdoption:: -t, --n-threads
33
+
34
+ Specify number of threads. The default value is 8.
35
+
36
+ .. cmdoption:: -s, --send-endpoint
37
+
38
+ Specify endpoint for sender.
39
+
40
+ .. cmdoption:: -r, --receive-endpoint
41
+
42
+ Specify endpoint for receiver.
43
+
44
+ .. cmdoption:: -l, --log-base-path
45
+
46
+ Specify path prefix of log.
47
+
48
+ .. cmdoption:: --n-lines-per-log-file
49
+
50
+ Specify the number of lines in a log file. The default value is 1,000,000.
51
+
52
+ .. cmdoption:: -d, --daemon
53
+
54
+ Specify this option to daemonize.
55
+
56
+ .. cmdoption:: --disable-max-fd-check
57
+
58
+ Specify this option to disable checking max fd on start.
59
+
60
+ Parameters
61
+ ----------
62
+
63
+ There is one required parameter - ``database_path``.
64
+
65
+ ``database_path``
66
+ ^^^^^^^^^^^^^^^^^^^
67
+
68
+ Specifies the path to a groonga database.
@@ -0,0 +1,40 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ groonga-suggest-learner
6
+ =======================
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO
12
+
13
+ Synopsis
14
+ --------
15
+
16
+ ::
17
+
18
+ groonga-suggest-learner [options] database_path
19
+
20
+ Usage
21
+ -----
22
+
23
+ TODO
24
+
25
+ Options
26
+ -------
27
+
28
+ TODO
29
+
30
+ Parameters
31
+ ----------
32
+
33
+ There is one required parameter - ``database_path``.
34
+
35
+ ``database_path``
36
+ ^^^^^^^^^^^^^^^^^
37
+
38
+ Specifies the path to a groonga database.
39
+
40
+