rroonga 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.textile +15 -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.exe +0 -0
  21. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  22. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  23. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  24. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  25. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  26. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  28. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  29. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  30. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  32. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  33. data/vendor/local/lib/libgroonga.a +0 -0
  34. data/vendor/local/lib/libgroonga.dll.a +0 -0
  35. data/vendor/local/lib/libmecab.a +0 -0
  36. data/vendor/local/lib/libmecab.dll.a +0 -0
  37. data/vendor/local/lib/libmsgpack.a +0 -0
  38. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  39. data/vendor/local/lib/libmsgpackc.a +0 -0
  40. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  41. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  42. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  43. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  44. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  45. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  46. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  47. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  48. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +3 -0
  49. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
  50. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  51. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  52. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  53. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  54. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +15 -3
  55. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  56. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -3
  57. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  58. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +54 -0
  59. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  60. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
  62. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
  63. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
  64. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
  65. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
  66. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  67. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  68. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  74. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
  75. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  79. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
  91. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
  93. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
  95. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  96. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  97. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  98. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  99. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  100. data/vendor/local/share/doc/groonga/en/html/install/others.html +20 -8
  101. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  102. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
  103. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  104. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/news.html +226 -165
  106. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  112. data/vendor/local/share/doc/groonga/en/html/reference.html +46 -36
  113. data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
  114. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  115. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
  116. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  117. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  118. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  119. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  120. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  121. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  122. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  123. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  125. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  126. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  127. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
  128. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  129. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  130. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  131. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  132. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  133. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
  134. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
  136. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +95 -14
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
  158. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
  159. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
  160. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  161. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  162. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  163. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  164. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -44
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
  175. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +24 -12
  177. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
  178. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
  179. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
  180. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
  196. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
  198. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +290 -0
  204. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  205. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  207. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  215. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
  218. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +194 -5
  219. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
  224. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
  225. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
  226. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  239. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +3 -0
  240. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
  241. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  242. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  243. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  244. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  245. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +15 -3
  246. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  247. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -3
  248. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  249. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +54 -0
  250. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  251. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
  252. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
  253. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
  254. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
  255. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
  256. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
  257. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  265. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
  266. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  267. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  268. data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
  269. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
  270. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
  271. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
  272. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
  273. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
  274. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
  275. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
  276. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
  278. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  281. data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
  282. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
  283. data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
  284. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  285. data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
  286. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
  287. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
  288. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
  289. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
  290. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
  291. data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
  292. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
  293. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
  294. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
  295. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  296. data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
  297. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
  298. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  299. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  300. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  301. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
  302. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  303. data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
  304. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
  305. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
  306. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
  307. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
  308. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
  309. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
  310. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
  311. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
  312. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
  313. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
  314. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
  315. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
  316. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
  317. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
  318. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
  319. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
  320. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
  321. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
  322. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
  323. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
  324. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
  325. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
  326. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
  327. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
  328. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
  329. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
  330. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
  331. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
  332. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
  333. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
  334. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
  335. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
  336. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
  337. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  338. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
  339. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
  349. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
  362. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
  363. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
  364. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  365. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
  366. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  367. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
  368. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
  369. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
  370. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
  371. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
  372. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
  373. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
  374. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  375. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  376. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
  377. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
  378. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
  379. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
  380. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
  381. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
  382. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
  383. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
  384. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
  385. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
  386. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
  387. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
  388. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
  389. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
  390. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
  391. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
  392. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
  393. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
  394. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
  395. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  396. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  398. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  399. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
  400. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  401. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
  402. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
  403. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
  404. data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
  405. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  406. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
  407. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
  408. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
  409. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
  410. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
  411. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
  412. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
  413. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
  414. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
  415. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
  416. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
  417. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  418. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
  419. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  420. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
  421. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  422. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
  423. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  424. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
  425. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
  426. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
  427. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
  428. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  429. data/vendor/local/share/man/ja/man1/groonga.1 +1152 -241
  430. data/vendor/local/share/man/man1/groonga.1 +1215 -269
  431. metadata +150 -130
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 821ae6e3dcf634f88c048e540cbdff78ca64a6ea
4
- data.tar.gz: ebf81b8d46ff3cd22cd19faea18c49819fd53619
3
+ metadata.gz: a9e833220ec1f7465513a07b06796fea7d43b4d5
4
+ data.tar.gz: 3787fc2447658e0769b9a1ef4c2ba9f107bc93aa
5
5
  SHA512:
6
- metadata.gz: e0bf3e5bbd26a0d59239df57a457faf965ffe9c55c7d771d6020bcb12479a68dc535d8e422996fe77472edb75e10b54ed6109f3d2975413df9e1e412c529d42f
7
- data.tar.gz: ab2407a01b2a76be5e97eb4ccd68aed33fee46b45fd437d24f79df2b95e26810c55e007d86c3a1e6760f11f75407caa903d22edbcd4533202838fabdef6d9ef0
6
+ metadata.gz: 3dd5628d92a881ada3c17fb40add725327cde88e572ce430f03dfc7794e3e7416336225ba3fe42fe78b981661f3c812bce2e33a18325d5096adb8c9e1e2676b2
7
+ data.tar.gz: d93d8500e146d25aa89401622490470cc621a2608f9b0af64977c9bef4706a1a03b10c901d56ba1a7aff6627964061df750e060aa89f1898d1aa885dfa9984c5
@@ -1,16 +1,30 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#3-0-9). 3.0.9: 2013-10-29
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 3.0.9.
8
+ * Supported showing error message on error in {Groonga::Object#remove}.
9
+
10
+ h3. Fixes
11
+
12
+ * Fixed a crash bug that is caused by assigning @nil@ as source of
13
+ index column.
14
+
3
15
  h2(#3-0-8). 3.0.8: 2013-09-29
4
16
 
5
17
  h3. Improvements
6
18
 
7
19
  * Supported groonga 3.0.8.
20
+ * Supported x64-mingw32 Ruby.
21
+ * Supported Ruby 2.1.0 preview1.
8
22
 
9
23
  h2(#3-0-7). 3.0.7: 2013-09-19
10
24
 
11
25
  h3. Improvements
12
26
 
13
- * Added {Groonga::TableKeySupport#tokenize}. It requires groonga
27
+ * Added {Groonga::Table::KeySupport#tokenize}. It requires groonga
14
28
  3.0.8. Groonga 3.0.8 is not released yet.
15
29
  * Changed return object of {Groonga::Context#select} to groonga-client gem's
16
30
  return object. It is a backward imcompatible change. Some APIs are changed.
@@ -657,6 +657,10 @@ resolve_source_id (grn_ctx *context, grn_obj *column, grn_id range_id,
657
657
  source = RVAL2GRNOBJECT(rb_source, &context);
658
658
  }
659
659
  rb_grn_context_check(context, rb_source);
660
+ if (!source) {
661
+ rb_raise(rb_eArgError, "couldn't find source: <%s>",
662
+ rb_grn_inspect(rb_source));
663
+ }
660
664
  if (source->header.type == GRN_ACCESSOR) {
661
665
  char name[256];
662
666
  int length;
@@ -1436,15 +1436,14 @@ rb_grn_object_remove (VALUE self)
1436
1436
  {
1437
1437
  RbGrnObject *rb_grn_object;
1438
1438
  grn_ctx *context;
1439
- grn_rc rc;
1440
1439
 
1441
1440
  rb_grn_object = SELF(self);
1442
1441
  if (!rb_grn_object->object)
1443
1442
  return Qnil;
1444
1443
 
1445
1444
  context = rb_grn_object->context;
1446
- rc = grn_obj_remove(context, rb_grn_object->object);
1447
- rb_grn_rc_check(rc, self);
1445
+ grn_obj_remove(context, rb_grn_object->object);
1446
+ rb_grn_context_check(context, self);
1448
1447
 
1449
1448
  rb_iv_set(self, "@context", Qnil);
1450
1449
 
data/ext/groonga/rb-grn.h CHANGED
@@ -84,7 +84,7 @@ RB_GRN_BEGIN_DECLS
84
84
 
85
85
  #define RB_GRN_MAJOR_VERSION 3
86
86
  #define RB_GRN_MINOR_VERSION 0
87
- #define RB_GRN_MICRO_VERSION 8
87
+ #define RB_GRN_MICRO_VERSION 9
88
88
 
89
89
  #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
90
90
 
data/lib/1.9/groonga.so CHANGED
Binary file
data/lib/2.0/groonga.so CHANGED
Binary file
data/lib/2.1/groonga.so CHANGED
Binary file
@@ -638,7 +638,7 @@ module Groonga
638
638
  def restore(dumped_text, options={})
639
639
  define(options) do |schema|
640
640
  schema.restore(dumped_text)
641
- end
641
+ end
642
642
  end
643
643
 
644
644
  # @private
data/rroonga-build.rb CHANGED
@@ -27,7 +27,7 @@ module RroongaBuild
27
27
  module LatestGroongaVersion
28
28
  MAJOR = 3
29
29
  MINOR = 0
30
- MICRO = 8
30
+ MICRO = 9
31
31
  VERSION = [MAJOR, MINOR, MICRO]
32
32
  end
33
33
 
data/rroonga.gemspec CHANGED
@@ -70,7 +70,7 @@ Gem::Specification.new do |s|
70
70
  s.extra_rdoc_files = ["README.textile"]
71
71
  s.test_files = Dir.glob("test/**/*.rb")
72
72
  Dir.chdir("bin") do
73
- s.executables = Dir.glob("*") - ["groonga-index-validate"]
73
+ s.executables = Dir.glob("*")
74
74
  end
75
75
  end
76
76
 
@@ -171,4 +171,78 @@ class DatabaseTest < Test::Unit::TestCase
171
171
  assert_equal(["HashTable", "PatriciaTrie", "DoubleArrayTrie"].sort,
172
172
  @database.tables.collect(&:name).sort)
173
173
  end
174
+
175
+ class TestRemove < self
176
+ setup :setup_database
177
+
178
+ def test_referenced_table
179
+ Groonga::Schema.define do |schema|
180
+ schema.create_table("Names",
181
+ :type => :hash,
182
+ :key_type => :short_text) do |table|
183
+ end
184
+
185
+ schema.create_table("Shops",
186
+ :type => :hash,
187
+ :key_type => "Names") do |table|
188
+ end
189
+ end
190
+
191
+ path = @database.path
192
+ @database.remove
193
+ assert_false(File.exist?(path))
194
+ end
195
+
196
+ def test_referenced_column
197
+ Groonga::Schema.define do |schema|
198
+ schema.create_table("Categories",
199
+ :type => :hash,
200
+ :key_type => :short_text) do |table|
201
+ end
202
+
203
+ schema.create_table("Contents") do |table|
204
+ table.reference("category", "Categories")
205
+ end
206
+ end
207
+
208
+ path = @database.path
209
+ @database.remove
210
+ assert_false(File.exist?(path))
211
+ end
212
+
213
+ def test_indexed_table
214
+ Groonga::Schema.define do |schema|
215
+ schema.create_table("Categories",
216
+ :type => :hash,
217
+ :key_type => :short_text) do |table|
218
+ end
219
+
220
+ schema.create_table("Terms") do |table|
221
+ table.index("Categories._key")
222
+ end
223
+ end
224
+
225
+ path = @database.path
226
+ @database.remove
227
+ assert_false(File.exist?(path))
228
+ end
229
+
230
+ def test_indexed_column
231
+ Groonga::Schema.define do |schema|
232
+ schema.create_table("Categories",
233
+ :type => :hash,
234
+ :key_type => :short_text) do |table|
235
+ table.text("content")
236
+ end
237
+
238
+ schema.create_table("Terms") do |table|
239
+ table.index("Categories.content")
240
+ end
241
+ end
242
+
243
+ path = @database.path
244
+ @database.remove
245
+ assert_false(File.exist?(path))
246
+ end
247
+ end
174
248
  end
@@ -320,4 +320,26 @@ class IndexColumnTest < Test::Unit::TestCase
320
320
  ])
321
321
  end
322
322
  end
323
+
324
+ class SourceTest < self
325
+ def test_nil
326
+ Groonga::Schema.define do |schema|
327
+ schema.create_table("Contents",
328
+ :type => :patricia_trie,
329
+ :key_type => "ShortText") do |table|
330
+ end
331
+
332
+ schema.create_table("Terms",
333
+ :type => :patricia_trie,
334
+ :key_type => "ShortText",
335
+ :default_tokenizer => "TokenBigram") do |table|
336
+ end
337
+ end
338
+
339
+ index = Groonga["Terms"].define_index_column("index", "Contents")
340
+ assert_raise(ArgumentError.new("couldn't find source: <nil>")) do
341
+ index.source = nil
342
+ end
343
+ end
344
+ end
323
345
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
11
11
  groonga=${bindir}/groonga.exe
12
12
  groonga_httpd=${sbindir}/groonga-httpd.exe
13
13
  groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
14
- groonga_version=3.0.8
14
+ groonga_version=3.0.9
15
15
 
16
16
  Name: Groonga
17
17
  Description: An Embeddable Fulltext Search Engine
18
- Version: 3.0.8
18
+ Version: 3.0.9
19
19
  Libs: -L${libdir} -lgroonga
20
20
  Cflags: -I${includedir}/groonga
@@ -1,4 +1,4 @@
1
1
  # Sphinx build info version 1
2
2
  # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3
- config: a1e913b72d16363f03586c81b23c3efe
3
+ config: c91786c0f61c84defa7670531ac0fe67
4
4
  tags: 645f666f9bcd5a90fca523b33c5a78b7
@@ -20,6 +20,9 @@ htmlの作成
20
20
 
21
21
  % make html
22
22
 
23
+ This document is also ditributed in forms of release source archive and updated time to time.
24
+ If you want to refer latest documentation in source form, you can view such files via GitHub repository browser (https://github.com/groonga/groonga/tree/master/doc/source).
25
+
23
26
  pdfの作成
24
27
  ---------------
25
28
 
@@ -10,11 +10,6 @@ groonga documentation
10
10
 
11
11
  * :doc:`news`
12
12
 
13
- .. note::
14
-
15
- This document is also ditributed in forms of release source archive and updated time to time.
16
- If you want to refer latest documentation in source form, you can view such files via GitHub repository browser (https://github.com/groonga/groonga/tree/master/doc/source).
17
-
18
13
  .. toctree::
19
14
  :maxdepth: 3
20
15
  :numbered:
@@ -153,9 +153,9 @@ Install required packages to build groonga::
153
153
 
154
154
  Download source::
155
155
 
156
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.8.tar.gz
157
- % tar xvzf groonga-3.0.8.tar.gz
158
- % cd groonga-3.0.8
156
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
157
+ % tar xvzf groonga-3.0.9.tar.gz
158
+ % cd groonga-3.0.9
159
159
 
160
160
  Configure (see :ref:`source-configure` about ``configure`` options)::
161
161
 
@@ -185,9 +185,9 @@ Install required packages to build groonga::
185
185
 
186
186
  Download source::
187
187
 
188
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.8.tar.gz
189
- % tar xvzf groonga-3.0.8.tar.gz
190
- % cd groonga-3.0.8
188
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
189
+ % tar xvzf groonga-3.0.9.tar.gz
190
+ % cd groonga-3.0.9
191
191
 
192
192
  Configure (see :ref:`source-configure` about ``configure`` options)::
193
193
 
@@ -82,9 +82,9 @@ Install required packages to build groonga::
82
82
 
83
83
  Download source::
84
84
 
85
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.8.tar.gz
86
- % tar xvzf groonga-3.0.8.tar.gz
87
- % cd groonga-3.0.8
85
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
86
+ % tar xvzf groonga-3.0.9.tar.gz
87
+ % cd groonga-3.0.9
88
88
 
89
89
  Configure (see :ref:`source-configure` about ``configure`` options)::
90
90
 
@@ -40,9 +40,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
40
40
 
41
41
  Download source::
42
42
 
43
- % curl -O http://packages.groonga.org/source/groonga/groonga-3.0.8.tar.gz
44
- % tar xvzf groonga-3.0.8.tar.gz
45
- % cd groonga-3.0.8
43
+ % curl -O http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
44
+ % tar xvzf groonga-3.0.9.tar.gz
45
+ % cd groonga-3.0.9
46
46
 
47
47
  Configure (see :ref:`source-configure` about ``configure`` options)::
48
48
 
@@ -74,9 +74,9 @@ Build from source
74
74
  Groonga uses GNU build system. So the following is the simplest build
75
75
  steps::
76
76
 
77
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.8.tar.gz
78
- % tar xvzf groonga-3.0.8.tar.gz
79
- % cd groonga-3.0.8
77
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.9.tar.gz
78
+ % tar xvzf groonga-3.0.9.tar.gz
79
+ % cd groonga-3.0.9
80
80
  % ./configure
81
81
  % make
82
82
  % sudo make install
@@ -177,6 +177,12 @@ Here is an example that enables column value compression by zlib::
177
177
 
178
178
  % ./configure --with-zlib
179
179
 
180
+ .. note::
181
+
182
+ The disabled reason is that memory leak occurs when it refers column value.
183
+ This is already known issue as `GitHub#6 <https://github.com/groonga/groonga/issues/6>`_.
184
+ This issue is not nothing to do with updating column value.
185
+
180
186
  ``--with-lzo``
181
187
  ++++++++++++++
182
188
 
@@ -188,6 +194,12 @@ Here is an example that enables column value compression by LZO::
188
194
 
189
195
  % ./configure --with-lzo
190
196
 
197
+ .. note::
198
+
199
+ The disabled reason is that memory leak occurs when it refers column value.
200
+ This is already known issue as `GitHub#6 <https://github.com/groonga/groonga/issues/6>`_.
201
+ This issue is not nothing to do with updating column value.
202
+
191
203
  ``--with-message-pack=MESSAGE_PACK_INSTALL_PREFIX``
192
204
  +++++++++++++++++++++++++++++++++++++++++++++++++++
193
205