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
@@ -189,9 +189,6 @@ You can write command list with continuous line which is represented by '\\' cha
189
189
  ``column_remove``
190
190
  テーブルに定義されているカラムを削除します。
191
191
 
192
- ``view_add``
193
- VIEW型のテーブルに要素となるテーブルを定義します。
194
-
195
192
  ``load``
196
193
  テーブルにレコードを挿入します。
197
194
 
@@ -0,0 +1,176 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Tuning
6
+ ======
7
+
8
+ Summary
9
+ -------
10
+
11
+ There are some tuning parameters for improving groonga performance or
12
+ handling a large database.
13
+
14
+ Parameters
15
+ ----------
16
+
17
+ This section describes parameters.
18
+
19
+ .. _tuning-max-n-open-files:
20
+
21
+ The max number of open files per process
22
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23
+
24
+ This parameter is for handling a large database.
25
+
26
+ Groonga creates one or more files per table and colum. If your
27
+ database has many tables and columns, groonga process needs to open
28
+ many files.
29
+
30
+ System limits the max number of open files per process. So you need to
31
+ relax the limitation.
32
+
33
+ Here is an expression that compute how many files are opened by
34
+ groonga::
35
+
36
+ 3 (for DB) +
37
+ N tables +
38
+ N columns (except index clumns) +
39
+ (N index columns * 2) +
40
+ X (the number of plugins etc.)
41
+
42
+ Here is an example schema::
43
+
44
+ table_create Entries TABLE_HASH_KEY ShortText
45
+ column_create Entries content COLUMN_SCALAR Text
46
+ column_create Entries n_likes COLUMN_SCALAR UInt32
47
+ table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
48
+ column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
49
+ column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
50
+
51
+ This example opens at least 11 files::
52
+
53
+ 3 +
54
+ 2 (Entries and Terms) +
55
+ 2 (Entries.content and Entries.n_likes) +
56
+ 4 (Terms.entries_key_index and Terms.entries_content_index) +
57
+ X = 11 + X
58
+
59
+ .. _tuning-memory-usage:
60
+
61
+ Memory usage
62
+ ^^^^^^^^^^^^
63
+
64
+ This parameter is for handling a large database.
65
+
66
+ Groonga maps database files onto memory and accesses to them. Groonga
67
+ doesn't maps unnecessary files onto memory until they are nneded.
68
+
69
+ If you access to all data in database, all database files are mapped
70
+ onto memory. If total size of your database files is 6GiB, your
71
+ groonga process uses 6GiB memory.
72
+
73
+ Normally, your all database files aren't mapped onto memry. But is may
74
+ be occurred. It is an example case that you dump your database.
75
+
76
+ You must have memory and swap that is larger than database.
77
+
78
+ .. _tuning-linux:
79
+
80
+ Linux
81
+ -----
82
+
83
+ This section describes how to configure parameters on Linux.
84
+
85
+ .. _tuning-linux-nofile:
86
+
87
+ nofile
88
+ ^^^^^^
89
+
90
+ You can relax the :ref:`tuning-max-n-open-files` parameter by creating
91
+ a configuration file ``/etc/security/limits.d/groonga.conf`` that has
92
+ the following content::
93
+
94
+ ${USER} soft nofile ${MAX_VALUE}
95
+ ${USER} hard nofile ${MAX_VALUE}
96
+
97
+ If you run ``groonga`` process by ``groonga`` user and your groonga
98
+ process needs to open less than 10000 files, use the following
99
+ configuration::
100
+
101
+ groonga soft nofile 10000
102
+ groonga hard nofile 10000
103
+
104
+ The configuration is applied after your groonga service is restarted
105
+ or re-login as your groonga user.
106
+
107
+ .. _tuning-linux-overcommit-memory:
108
+
109
+ vm.overcommit_memory
110
+ ^^^^^^^^^^^^^^^^^^^^
111
+
112
+ This is :ref:`tuning-memory-usage` related parameter. You can handle a
113
+ database that is larger than your memory and swap by setting
114
+ ``vm.overcommit_memory`` kernel parameter to 1. 1 means that groonga
115
+ can always map database files onto memory. It is no problem until
116
+ groonga touch mapped database files that their size is larger than
117
+ memory and swap. Groonga recommends the configuration.
118
+
119
+ See `Linux kernel documentaion about overcommit
120
+ <https://www.kernel.org/doc/Documentation/vm/overcommit-accounting>`_
121
+ about ``vm.overcommit_memory`` parameter details.
122
+
123
+ You can set the configuration by putting a configuration file
124
+ ``/etc/sysctl.d/groonga.conf`` that has the following content::
125
+
126
+ vm.overcommit_memory = 1
127
+
128
+ The configuration can be applied by restarting your system or run the
129
+ following command::
130
+
131
+ % sudo sysctl -p
132
+
133
+
134
+ .. _tuning-linux-max-map-count:
135
+
136
+ vm.max_map_count
137
+ ^^^^^^^^^^^^^^^^
138
+
139
+ This is :ref:`tuning-memory-usage` related parameter. You can handle a
140
+ 16GiB or more larger size database by increasing ``vm.max_map_count``
141
+ kernel parameter. The parameter limits the max number of memory maps.
142
+
143
+ The default value of the kernel parameter may be 65530 or 65536.
144
+ Groonga maps 256KiB memory chunk at one time. If a database is larger
145
+ than 16GiB, groonga reaches the limitation. (``256KiB * 65536 = 16GiB``)
146
+
147
+ You needs to increase the value of the kernel parameter to handle
148
+ 16GiB or more larger size database. For example, you can handle almost
149
+ 32GiB size database by ``65536 * 2 = 131072``. You can set the
150
+ configuration by putting a configuration file
151
+ ``/etc/sysctl.d/groonga.conf`` that has the following content::
152
+
153
+ vm.max_map_count = 131072
154
+
155
+ Note that your real confiugration file will be the following because
156
+ you already have ``vm.overcommit_memory`` configuration::
157
+
158
+ vm.overcommit_memory = 1
159
+ vm.max_map_count = 131072
160
+
161
+ The configuration can be applied by restarting your system or run the
162
+ following command::
163
+
164
+ % sudo sysctl -p
165
+
166
+ FreeBSD
167
+ -------
168
+
169
+ This section describes how to configure parameters on FreeBSD.
170
+
171
+ .. _tuning-freebsd-maxfilesperproc:
172
+
173
+ kern.maxfileperproc
174
+ ^^^^^^^^^^^^^^^^^^^
175
+
176
+ TODO
@@ -37,6 +37,8 @@ For example, there is a registered word "日本". And "ニホン"
37
37
  (it must be katakana) is registered as its reading. An user
38
38
  can find "日本" by "ni", "二" or "に".
39
39
 
40
+ If you create dataset which is named as example by :doc:`/reference/executables/groonga-suggest-create-dataset` command, you can update pairs of registered word and its reading by loading data to '_key' and 'kana' column of item_example table explicitly for prefix RK search.
41
+
40
42
  Cooccurrence search
41
43
  ^^^^^^^^^^^^^^^^^^^
42
44
 
@@ -193,3 +195,70 @@ following command::
193
195
  {"sequence": "1", "time": 1312950804.76057, "item": "engin"},
194
196
  {"sequence": "1", "time": 1312950805.86057, "item": "engine", "type": "submit"}
195
197
  ]
198
+
199
+ How to update RK reading data
200
+ -----------------------------
201
+
202
+ Groonga requires registered word and its reading for RK search, so load such data in the advance.
203
+
204
+
205
+ Here is the example to register "日本" which means Japanese in english.
206
+
207
+ .. groonga-command
208
+ .. include:: ../example/suggest/complete/registered-word-japan.log
209
+ .. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
210
+ .. [
211
+ .. {"sequence": "1", "time": 1312950805.86058, "item": "日本", "type": "submit"}
212
+ .. ]
213
+
214
+
215
+ Here is the example to update RK data to complete "日本".
216
+
217
+ .. groonga-command
218
+ .. include:: ../example/suggest/complete/update-rk-data.log
219
+ .. load --table item_query
220
+ .. [
221
+ .. {"_key":"日本", "kana":["ニホン", "ニッポン"]}
222
+ .. ]
223
+
224
+ Then you can complete registered word "日本" by RK input - "nihon".
225
+
226
+ .. groonga-command
227
+ .. include:: ../example/suggest/complete/rk-search-nihon.log
228
+ .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
229
+
230
+ Without loading above RK data, you can't complete registered word "日本" by query - "nihon".
231
+
232
+ As the column type of item_query table is VECTOR_COLUMN, you can register multiple readings for registered word.
233
+
234
+ This is the reason that you can also complete the registered word "日本" by query - "nippon".
235
+
236
+ .. groonga-command
237
+ .. include:: ../example/suggest/complete/rk-search-nippon.log
238
+ .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nippon
239
+
240
+ This feature is very convenient because you can search registered word even though Japanese IM is disabled.
241
+
242
+ If there are multiple candidates as completed result, you can customize priority to set the value of "boost" column in item_query table.
243
+
244
+ Here is the example to customize priority for RK search.
245
+
246
+ .. groonga-command
247
+ .. include:: ../example/suggest/complete/registered-word-japanese.log
248
+ .. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
249
+ .. [
250
+ .. {"sequence": "1", "time": 1312950805.86059, "item": "日本語", "type": "submit"}
251
+ .. {"sequence": "1", "time": 1312950805.86060, "item": "日本人", "type": "submit"}
252
+ .. ]
253
+ .. load --table item_query
254
+ .. [
255
+ .. {"_key":"日本語", "kana":"ニホンゴ"}
256
+ .. {"_key":"日本人", "kana":"ニホンジン"}
257
+ .. ]
258
+ .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
259
+ .. load --table item_query
260
+ .. [
261
+ .. {"_key":"日本人", "boost": 100},
262
+ .. ]
263
+ .. suggest --table item_query --column kana --types complete --frequency_threshold 1 --query nihon
264
+
@@ -0,0 +1,45 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ How to avoid mmap Cannot allocate memory error
6
+ ==============================================
7
+
8
+ Example
9
+ -------
10
+
11
+ There is a case following mmap error in log file:
12
+
13
+ 2013-06-04 08:19:34.835218|A|4e86e700|mmap(4194304,551,432017408)=Cannot allocate memory <13036498944>
14
+
15
+ Note that <13036498944> means total size of mmap (almost 12GB) in this case.
16
+
17
+ Solution
18
+ --------
19
+
20
+ So you need to confirm following point of views.
21
+
22
+ * Are there enough free memory?
23
+ * Are maximum number of mappings exceeded?
24
+
25
+ To check there are enough free memory, you can use vmstat command.
26
+
27
+ To check whether maximum number of mappings are exceeded, you can investigate the value of vm.max_map_count.
28
+
29
+ If this issue is fixed by modifying the value of vm.max_map_count, it's exactly the reason.
30
+
31
+ As groonga allocates memory chunks each 256KB, you can estimate the size of database you can handle by following formula:
32
+
33
+ (database size) = vm.max_map_count * (memory chunks)
34
+
35
+ If you want to handle over 16GB groonga database, you must specify at least 65536 as the value of vm.max_map_count:
36
+
37
+ database size (16GB) = vm.max_map_count (65536) * memory chunks (256KB)
38
+
39
+ You can modify vm.max_map_count temporary by sudo sysctl -w vm.max_map_count=65536.
40
+
41
+ Then save the configuration value to /etc/sysctl.conf or /etc/sysctl.d/*.conf.
42
+
43
+ See :doc:`/reference/tuning` documentation about tuning related parameters.
44
+
45
+
@@ -401,10 +401,6 @@ dl.glossary dt {
401
401
  margin: 0;
402
402
  }
403
403
 
404
- .refcount {
405
- color: #060;
406
- }
407
-
408
404
  .optional {
409
405
  font-size: 1.3em;
410
406
  }
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>1. groongaの特徴 &mdash; groonga v3.0.8ドキュメント</title>
10
+ <title>1. groongaの特徴 &mdash; Groonga v3.0.9ドキュメント</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: '3.0.8',
18
+ VERSION: '3.0.9',
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 v3.0.8ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
30
30
  <link rel="next" title="2. インストール" href="install.html" />
31
31
  <link rel="prev" title="groonga ドキュメント" href="index.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="index.html" title="groonga ドキュメント"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -149,7 +149,7 @@
149
149
  <h3>このページ</h3>
150
150
  <ul class="this-page-menu">
151
151
  <li><a href="_sources/characteristic.txt"
152
- rel="nofollow">ソースコードを表示(英語)</a></li>
152
+ rel="nofollow">ソースコードを表示</a></li>
153
153
  </ul>
154
154
  <div id="searchbox" style="display: none">
155
155
  <h3>クイック検索</h3>
@@ -180,7 +180,7 @@
180
180
  <li class="right" >
181
181
  <a href="index.html" title="groonga ドキュメント"
182
182
  >前へ</a> |</li>
183
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
183
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
184
184
  </ul>
185
185
  </div>
186
186
  <div class="footer">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>3. コミュニティ &mdash; groonga v3.0.8ドキュメント</title>
10
+ <title>3. コミュニティ &mdash; Groonga v3.0.9ドキュメント</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: '3.0.8',
18
+ VERSION: '3.0.9',
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 v3.0.8ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
30
30
  <link rel="next" title="4. チュートリアル" href="tutorial.html" />
31
31
  <link rel="prev" title="2.8. その他" href="install/others.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="install/others.html" title="2.8. その他"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -119,7 +119,7 @@
119
119
  <h3>このページ</h3>
120
120
  <ul class="this-page-menu">
121
121
  <li><a href="_sources/community.txt"
122
- rel="nofollow">ソースコードを表示(英語)</a></li>
122
+ rel="nofollow">ソースコードを表示</a></li>
123
123
  </ul>
124
124
  <div id="searchbox" style="display: none">
125
125
  <h3>クイック検索</h3>
@@ -150,7 +150,7 @@
150
150
  <li class="right" >
151
151
  <a href="install/others.html" title="2.8. その他"
152
152
  >前へ</a> |</li>
153
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
153
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
154
154
  </ul>
155
155
  </div>
156
156
  <div class="footer">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>13. groongaへのコントリビュート方法 &mdash; groonga v3.0.8ドキュメント</title>
10
+ <title>13. groongaへのコントリビュート方法 &mdash; Groonga v3.0.9ドキュメント</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: '3.0.8',
18
+ VERSION: '3.0.9',
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 v3.0.8ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v3.0.9ドキュメント" href="index.html" />
30
30
  <link rel="next" title="13.1. バグレポートの送り方" href="contribution/report.html" />
31
31
  <link rel="prev" title="12.1. Travis CI" href="development/travis-ci.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="development/travis-ci.html" title="12.1. Travis CI"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
63
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -197,7 +197,7 @@
197
197
  <h3>このページ</h3>
198
198
  <ul class="this-page-menu">
199
199
  <li><a href="_sources/contribution.txt"
200
- rel="nofollow">ソースコードを表示(英語)</a></li>
200
+ rel="nofollow">ソースコードを表示</a></li>
201
201
  </ul>
202
202
  <div id="searchbox" style="display: none">
203
203
  <h3>クイック検索</h3>
@@ -228,7 +228,7 @@
228
228
  <li class="right" >
229
229
  <a href="development/travis-ci.html" title="12.1. Travis CI"
230
230
  >前へ</a> |</li>
231
- <li><a href="index.html">groonga v3.0.8ドキュメント</a> &raquo;</li>
231
+ <li><a href="index.html">Groonga v3.0.9ドキュメント</a> &raquo;</li>
232
232
  </ul>
233
233
  </div>
234
234
  <div class="footer">