rroonga 3.1.2-x86-mingw32 → 4.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/install.textile +145 -0
  3. data/doc/text/news.textile +12 -0
  4. data/ext/groonga/rb-grn-expression.c +3 -3
  5. data/ext/groonga/rb-grn-snippet.c +6 -6
  6. data/ext/groonga/rb-grn.h +4 -4
  7. data/lib/1.9/groonga.so +0 -0
  8. data/lib/2.0/groonga.so +0 -0
  9. data/lib/2.1/groonga.so +0 -0
  10. data/lib/groonga/database-inspector.rb +1 -1
  11. data/rroonga-build.rb +7 -7
  12. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  13. data/vendor/local/bin/groonga.exe +0 -0
  14. data/vendor/local/bin/libgroonga-0.dll +0 -0
  15. data/vendor/local/bin/libmecab-1.dll +0 -0
  16. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  17. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  18. data/vendor/local/bin/mecab.exe +0 -0
  19. data/vendor/local/include/groonga/groonga.h +17 -25
  20. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  21. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  22. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  23. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  24. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  25. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  26. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  28. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  30. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  31. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  32. data/vendor/local/lib/libgroonga.a +0 -0
  33. data/vendor/local/lib/libgroonga.dll.a +0 -0
  34. data/vendor/local/lib/libmecab.a +0 -0
  35. data/vendor/local/lib/libmecab.dll.a +0 -0
  36. data/vendor/local/lib/libmsgpack.a +0 -0
  37. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  38. data/vendor/local/lib/libmsgpackc.a +0 -0
  39. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  40. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  41. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  42. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  43. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  44. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  45. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  46. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  47. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +1 -0
  48. data/vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt +3 -2
  49. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +3 -2
  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 +3 -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 +3 -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 +50 -2
  59. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +1 -1
  60. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +43 -18
  61. data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +1 -0
  62. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +1 -0
  63. data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
  64. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  65. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  66. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  67. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  68. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  69. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  70. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  71. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  72. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  73. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  74. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  75. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/contribution/report.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/development/travis-ci.html +5 -5
  79. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
  82. data/vendor/local/share/doc/groonga/en/html/index.html +6 -6
  83. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  84. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  85. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  86. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  87. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  88. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  89. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  90. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  91. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/news.html +250 -195
  99. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  100. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -6
  101. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +48 -27
  159. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  194. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  225. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +1 -0
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt +3 -2
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +3 -2
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  231. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  235. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  236. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  237. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +50 -2
  238. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +1 -1
  239. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +43 -18
  240. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +1 -0
  241. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +1 -0
  242. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +9 -9
  243. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  249. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  253. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  254. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  258. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  261. data/vendor/local/share/doc/groonga/ja/html/index.html +7 -7
  262. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  263. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  264. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  265. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  266. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  267. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  268. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  269. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  270. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  271. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  274. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  275. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  276. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  277. data/vendor/local/share/doc/groonga/ja/html/news.html +262 -202
  278. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  279. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +17 -19
  280. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +10 -10
  281. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  282. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  283. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
  284. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  287. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  290. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  296. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  297. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  298. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  299. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -10
  301. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  314. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  318. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  321. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  325. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
  327. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  328. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +48 -22
  338. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +6 -6
  346. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +7 -8
  355. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference.html +6 -6
  371. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  373. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  404. data/vendor/local/share/man/ja/man1/groonga.1 +107 -67
  405. data/vendor/local/share/man/man1/groonga.1 +96 -56
  406. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a3b4a2e6ad798be521e7b33fe7b214f5a783675
4
- data.tar.gz: ba178733fbdc374db16f015e88cef71d79f51ab1
3
+ metadata.gz: 668b15eac8833ed981dc1940d4886621650adff3
4
+ data.tar.gz: bc85378b8246200c2f6e90bcea6a60ca37c807f9
5
5
  SHA512:
6
- metadata.gz: 928b547c85106872332eac02588ce0423f5e832059bb3eb4cb2ec9d4afc62722997e8dabcc224c55af358051a287b1683752cb680421b4adea4253c40f427c38
7
- data.tar.gz: 4831c654e3d3c92709ab23628c8ba90cbd5d60ab84b360cbc354d01c17cd5ec6b6b4a6210b4ec3d1d71cf846826eb63bea5fa29884cdc7e750cf41e6cb4f62ad
6
+ metadata.gz: 2d0b5b5b02f1832a6e66fcd12ec24ea15b3b4d4c1029decfa1e0ee6492a3d46b17c1e8f5e6992b65348841b4dc57d06c21a273c14544ca64470ae75a5a4158f1
7
+ data.tar.gz: caebcfad73e2e8efc42e48c342521011184159de84b3b0f4db6f5e4a00386138b1f08fecddd593e69a393676c36f209d54d38648e1bab86d85b24670962877bf
@@ -0,0 +1,145 @@
1
+ h1. Install
2
+
3
+ This document describes how to install Rroonga.
4
+
5
+ You can install Rrroonga by RubyGems. It is the standard way for Ruby
6
+ libraries.
7
+
8
+ Rroonga is depends on Groonga. So you need to install both Groonga and
9
+ Rroonga. You can't install Groonga by RubyGems because it isn't Ruby
10
+ library. But don't worry. Rroonga provides the following options for
11
+ easy to install:
12
+
13
+ * Rroonga downloads, builds and installs Groonga automatically. You
14
+ don't need to do them explicitly.
15
+ * Rroonga uses Groonga installed by your packaging system.
16
+
17
+ The following sections describe the above in detail.
18
+
19
+ h2. Install with auto Groonga build
20
+
21
+ Rroonga searches Groonga on install. If Rroonga can't find
22
+ Groonga, Rroonga downloads, builds and installs Groonga
23
+ automatically.
24
+
25
+ Type the following command to install Rroonga and Groonga. You don't
26
+ need to install Groonga explicitly:
27
+
28
+ <pre>
29
+ !!!command_line
30
+ % gem install rroonga
31
+ </pre>
32
+
33
+ h2. Install with Groonga package
34
+
35
+ You can use Groonga package on you packaging system instead of
36
+ building Groonga by yourself. There are the following advantages for
37
+ this option:
38
+
39
+ * It reduces installation time.
40
+ * It doesn't fail on building Groonga.
41
+
42
+ h3. Windows
43
+
44
+ Rroonga gem for Windows includes both pre-compiled Rroonga and Groonga
45
+ in the gem. So what you need to do is you just install rroonga gem.
46
+
47
+ Type the following command on Ruby console:
48
+
49
+ <pre>
50
+ !!!command_line
51
+ % gem.bat install rroonga
52
+ </pre>
53
+
54
+ This document assumes that you're using "RubyInstaller for
55
+ Windows":http://rubyinstaller.org/ .
56
+
57
+ h3. OS X
58
+
59
+ There are Groonga packages for OS X environment.
60
+
61
+ h4. MacPorts
62
+
63
+ If you're using "MacPorts":http://www.macports.org/ , type the
64
+ following commands on your terminal:
65
+
66
+ <pre>
67
+ !!!command_line
68
+ % sudo port install groonga
69
+ % sudo gem install rroonga
70
+ </pre>
71
+
72
+ h4. Homebrew
73
+
74
+ If you're using "Homebrew":http://brew.sh/ , type the
75
+ following commands on your terminal:
76
+
77
+ <pre>
78
+ !!!command_line
79
+ % brew install groonga
80
+ % gem install rroonga
81
+ </pre>
82
+
83
+ h3. Debian GNU/Linux
84
+
85
+ You can install the Groonga package by apt. See "Groonga
86
+ documentation":http://groonga.org/docs/install/debian.html how to set
87
+ apt-line up.
88
+
89
+ Type the following commands on your terminal after you finish to set
90
+ apt-line up.
91
+
92
+ <pre>
93
+ !!!command_line
94
+ % sudo apt-get install -y libgroonga-dev
95
+ % sudo gem install rroonga
96
+ </pre>
97
+
98
+ h3. Ubuntu
99
+
100
+ You can install the Groonga package by apt. See "Groonga
101
+ documentation":http://groonga.org/docs/install/ubuntu.html how to set
102
+ apt-line up.
103
+
104
+ Type the following commands on your terminal after you finish to set
105
+ apt-line up.
106
+
107
+ <pre>
108
+ !!!command_line
109
+ % sudo apt-get install -y libgroonga-dev
110
+ % sudo gem install rroonga
111
+ </pre>
112
+
113
+ h3. CentOS
114
+
115
+ You can install the Groonga package by yum. See "Groonga
116
+ documentation":http://groonga.org/docs/install/centos.html how to set
117
+ yum repository up.
118
+
119
+ But you need to install Ruby 1.9.3 or later by yourself. Both CentOS 5
120
+ and 6 ship Ruby 1.8. Rroonga doesn't support Ruby 1.8.
121
+
122
+ Type the following commands on your terminal after you finish to set
123
+ yum repository up and installing Ruby 1.9.3 or later.
124
+
125
+ <pre>
126
+ !!!command_line
127
+ % sudo yum install groonga-devel -y
128
+ % gem install rroonga
129
+ </pre>
130
+
131
+ h3. Fedora
132
+
133
+ You can install the Groonga package by yum. The Groonga package is
134
+ included in the official Fedora repository.
135
+
136
+ <pre>
137
+ !!!command_line
138
+ % sudo yum install groonga-devel -y
139
+ % sudo gem install rroonga
140
+ </pre>
141
+
142
+ h2. Links
143
+
144
+ * "2. Install - Groonga documentation":http://groonga.org/docs/install.html
145
+
@@ -1,5 +1,17 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#4-0-0). 4.0.0: 2014-02-09
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 4.0.0. Groonga 3.1.2 or older are not supported.
8
+ * Added install document. [Patch by ongaeshi]
9
+
10
+ h3. Thanks
11
+
12
+ * ongaeshi
13
+
14
+
3
15
  h2(#3-1-2). 3.1.2: 2014-01-29
4
16
 
5
17
  h3. Improvements
@@ -1,6 +1,6 @@
1
1
  /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
2
  /*
3
- Copyright (C) 2009-2012 Kouhei Sutou <kou@clear-code.com>
3
+ Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
4
4
 
5
5
  This library is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU Lesser General Public
@@ -624,7 +624,7 @@ rb_grn_expression_snippet (int argc, VALUE *argv, VALUE self)
624
624
  {
625
625
  grn_ctx *context = NULL;
626
626
  grn_obj *expression;
627
- grn_snip *snippet;
627
+ grn_obj *snippet;
628
628
  VALUE options;
629
629
  VALUE rb_normalize, rb_skip_leading_spaces;
630
630
  VALUE rb_width, rb_max_results, rb_tags;
@@ -714,7 +714,7 @@ rb_grn_expression_snippet (int argc, VALUE *argv, VALUE self)
714
714
  related_object = rb_ary_new3(2, self, rb_ary_new4(argc, argv));
715
715
  rb_grn_context_check(context, related_object);
716
716
 
717
- return GRNOBJECT2RVAL(Qnil, context, (grn_obj *)snippet, GRN_TRUE);
717
+ return GRNOBJECT2RVAL(Qnil, context, snippet, GRN_TRUE);
718
718
  }
719
719
 
720
720
  void
@@ -1,6 +1,6 @@
1
1
  /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
2
  /*
3
- Copyright (C) 2009-2012 Kouhei Sutou <kou@clear-code.com>
3
+ Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
4
4
 
5
5
  This library is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU Lesser General Public
@@ -83,7 +83,7 @@ static VALUE
83
83
  rb_grn_snippet_initialize (int argc, VALUE *argv, VALUE self)
84
84
  {
85
85
  grn_ctx *context = NULL;
86
- grn_snip *snippet = NULL;
86
+ grn_obj *snippet = NULL;
87
87
  VALUE options;
88
88
  VALUE rb_context, rb_normalize, rb_skip_leading_spaces;
89
89
  VALUE rb_width, rb_max_results, rb_default_open_tag, rb_default_close_tag;
@@ -148,7 +148,7 @@ rb_grn_snippet_initialize (int argc, VALUE *argv, VALUE self)
148
148
  mapping);
149
149
  rb_grn_context_check(context, rb_ary_new4(argc, argv));
150
150
 
151
- rb_grn_object_assign(Qnil, self, rb_context, context, (grn_obj *)snippet);
151
+ rb_grn_object_assign(Qnil, self, rb_context, context, snippet);
152
152
  rb_grn_context_register_floating_object(DATA_PTR(self));
153
153
 
154
154
  rb_iv_set(self, "@context", rb_context);
@@ -203,7 +203,7 @@ rb_grn_snippet_add_keyword (int argc, VALUE *argv, VALUE self)
203
203
  close_tag_length = RSTRING_LEN(rb_close_tag);
204
204
  }
205
205
 
206
- rc = grn_snip_add_cond(context, (grn_snip *)snippet,
206
+ rc = grn_snip_add_cond(context, snippet,
207
207
  keyword, keyword_length,
208
208
  open_tag, open_tag_length,
209
209
  close_tag, close_tag_length);
@@ -245,7 +245,7 @@ rb_grn_snippet_execute (VALUE self, VALUE rb_string)
245
245
  string = StringValuePtr(rb_string);
246
246
  string_length = RSTRING_LEN(rb_string);
247
247
 
248
- rc = grn_snip_exec(context, (grn_snip *)snippet, string, string_length,
248
+ rc = grn_snip_exec(context, snippet, string, string_length,
249
249
  &n_results, &max_tagged_length);
250
250
  rb_grn_context_check(context, self);
251
251
  rb_grn_rc_check(rc, self);
@@ -256,7 +256,7 @@ rb_grn_snippet_execute (VALUE self, VALUE rb_string)
256
256
  VALUE rb_result;
257
257
  unsigned result_length;
258
258
 
259
- rc = grn_snip_get_result(context, (grn_snip *)snippet,
259
+ rc = grn_snip_get_result(context, snippet,
260
260
  i, result, &result_length);
261
261
  rb_grn_rc_check(rc, self);
262
262
  rb_result = rb_grn_context_rb_string_new(context, result, result_length);
data/ext/groonga/rb-grn.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
2
  /*
3
- Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
3
+ Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
4
4
 
5
5
  This library is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU Lesser General Public
@@ -82,9 +82,9 @@ RB_GRN_BEGIN_DECLS
82
82
  # define debug(...)
83
83
  #endif
84
84
 
85
- #define RB_GRN_MAJOR_VERSION 3
86
- #define RB_GRN_MINOR_VERSION 1
87
- #define RB_GRN_MICRO_VERSION 2
85
+ #define RB_GRN_MAJOR_VERSION 4
86
+ #define RB_GRN_MINOR_VERSION 0
87
+ #define RB_GRN_MICRO_VERSION 0
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
@@ -43,7 +43,7 @@ module Groonga
43
43
  attr_writer :show_tables
44
44
 
45
45
  # @return [Boolean] (true) Shows information about columns if true,
46
- # doesn't show it otherwise. If {#show_tables} is false, information
46
+ # doesn't show it otherwise. If {#show_tables?} is false, information
47
47
  # about columns isn't always shown.
48
48
  attr_writer :show_columns
49
49
  def initialize
data/rroonga-build.rb CHANGED
@@ -17,17 +17,17 @@
17
17
 
18
18
  module RroongaBuild
19
19
  module RequiredGroongaVersion
20
- MAJOR = 3
21
- MINOR = 1
22
- MICRO = 2
20
+ MAJOR = 4
21
+ MINOR = 0
22
+ MICRO = 0
23
23
  VERSION = [MAJOR, MINOR, MICRO]
24
- RELEASED_DATE = Time.utc(2014, 1, 29)
24
+ RELEASED_DATE = Time.utc(2014, 2, 9)
25
25
  end
26
26
 
27
27
  module LatestGroongaVersion
28
- MAJOR = 3
29
- MINOR = 1
30
- MICRO = 2
28
+ MAJOR = 4
29
+ MINOR = 0
30
+ MICRO = 0
31
31
  VERSION = [MAJOR, MINOR, MICRO]
32
32
  end
33
33
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -990,9 +990,6 @@ GRN_API grn_posting *grn_geo_cursor_next(grn_ctx *ctx, grn_obj *cursor);
990
990
  #define GRN_QUERY_COLUMN ':'
991
991
  #endif /* GRN_QUERY_COLUMN */
992
992
 
993
- /* grn_snip should be removed.
994
- * TODO: 3.0 */
995
- typedef struct _grn_snip grn_snip;
996
993
  typedef struct _grn_snip_mapping grn_snip_mapping;
997
994
 
998
995
  struct _grn_snip_mapping {
@@ -1005,27 +1002,22 @@ struct _grn_snip_mapping {
1005
1002
 
1006
1003
  #define GRN_SNIP_MAPPING_HTML_ESCAPE ((grn_snip_mapping *)-1)
1007
1004
 
1008
- /* grn_snip_open() should return grn_obj * instead.
1009
- * TODO: 3.0 */
1010
- GRN_API grn_snip *grn_snip_open(grn_ctx *ctx, int flags, unsigned int width,
1011
- unsigned int max_results,
1012
- const char *defaultopentag, unsigned int defaultopentag_len,
1013
- const char *defaultclosetag, unsigned int defaultclosetag_len,
1014
- grn_snip_mapping *mapping);
1015
- /* grn_snip_close() should be removed. Use grn_obj_close() instead.
1016
- * TODO: 3.0 */
1017
- GRN_API grn_rc grn_snip_close(grn_ctx *ctx, grn_snip *snip);
1018
- GRN_API grn_rc grn_snip_add_cond(grn_ctx *ctx, grn_snip *snip,
1005
+ GRN_API grn_obj *grn_snip_open(grn_ctx *ctx, int flags, unsigned int width,
1006
+ unsigned int max_results,
1007
+ const char *defaultopentag, unsigned int defaultopentag_len,
1008
+ const char *defaultclosetag, unsigned int defaultclosetag_len,
1009
+ grn_snip_mapping *mapping);
1010
+ GRN_API grn_rc grn_snip_add_cond(grn_ctx *ctx, grn_obj *snip,
1019
1011
  const char *keyword, unsigned int keyword_len,
1020
1012
  const char *opentag, unsigned int opentag_len,
1021
1013
  const char *closetag, unsigned int closetag_len);
1022
- GRN_API grn_rc grn_snip_set_normalizer(grn_ctx *ctx, grn_snip *snip,
1014
+ GRN_API grn_rc grn_snip_set_normalizer(grn_ctx *ctx, grn_obj *snip,
1023
1015
  grn_obj *normalizer);
1024
- GRN_API grn_obj *grn_snip_get_normalizer(grn_ctx *ctx, grn_snip *snip);
1025
- GRN_API grn_rc grn_snip_exec(grn_ctx *ctx, grn_snip *snip,
1016
+ GRN_API grn_obj *grn_snip_get_normalizer(grn_ctx *ctx, grn_obj *snip);
1017
+ GRN_API grn_rc grn_snip_exec(grn_ctx *ctx, grn_obj *snip,
1026
1018
  const char *string, unsigned int string_len,
1027
1019
  unsigned int *nresults, unsigned int *max_tagged_len);
1028
- GRN_API grn_rc grn_snip_get_result(grn_ctx *ctx, grn_snip *snip, const unsigned int index,
1020
+ GRN_API grn_rc grn_snip_get_result(grn_ctx *ctx, grn_obj *snip, const unsigned int index,
1029
1021
  char *result, unsigned int *result_len);
1030
1022
 
1031
1023
  /* log */
@@ -1709,15 +1701,15 @@ GRN_API grn_rc grn_expr_parse(grn_ctx *ctx, grn_obj *expr,
1709
1701
  grn_obj *default_column, grn_operator default_mode,
1710
1702
  grn_operator default_op, grn_expr_flags flags);
1711
1703
 
1712
- GRN_API grn_snip *grn_expr_snip(grn_ctx *ctx, grn_obj *expr, int flags,
1713
- unsigned int width, unsigned int max_results,
1714
- unsigned int n_tags,
1715
- const char **opentags, unsigned int *opentag_lens,
1716
- const char **closetags, unsigned int *closetag_lens,
1717
- grn_snip_mapping *mapping);
1704
+ GRN_API grn_obj *grn_expr_snip(grn_ctx *ctx, grn_obj *expr, int flags,
1705
+ unsigned int width, unsigned int max_results,
1706
+ unsigned int n_tags,
1707
+ const char **opentags, unsigned int *opentag_lens,
1708
+ const char **closetags, unsigned int *closetag_lens,
1709
+ grn_snip_mapping *mapping);
1718
1710
  GRN_API grn_rc grn_expr_snip_add_conditions(grn_ctx *ctx,
1719
1711
  grn_obj *expr,
1720
- grn_snip *snip,
1712
+ grn_obj *snip,
1721
1713
  unsigned int n_tags,
1722
1714
  const char **opentags,
1723
1715
  unsigned int *opentag_lens,
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.1.1-89-g7f6fcae
14
+ groonga_version=4.0.0
15
15
 
16
16
  Name: Groonga
17
17
  Description: An Embeddable Fulltext Search Engine
18
- Version: 3.1.2
18
+ Version: 4.0.0
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: d2ef4a7abbc3e6ca70721b71e485f1bc
3
+ config: 4af8da25a5f0f8c19df5f9bce6969edb
4
4
  tags: 645f666f9bcd5a90fca523b33c5a78b7
@@ -1,4 +1,5 @@
1
1
  .. -*- rst -*-
2
+ .. Groonga Project
2
3
 
3
4
  .. highlightlang:: none
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. -*- rst -*-
2
+ .. Groonga Project
2
3
 
3
4
  .. highlightlang:: none
4
5
 
@@ -22,7 +23,7 @@ so on aren't supported yet. Here is a feature list:
22
23
  #. Groonga can sort records by distance from the specified
23
24
  point in ascending order.
24
25
 
25
- Here are use cases for groonga's geolocation search:
26
+ Here are use cases for Groonga's geolocation search:
26
27
 
27
28
  * You list McDonald's around a station.
28
29
  * You list KFS around the current location sort by distance
@@ -37,7 +38,7 @@ Here are not use cases:
37
38
  record. (A column can't has geolocation data except a
38
39
  point.)
39
40
 
40
- The following figures show about groonga's geolocation
41
+ The following figures show about Groonga's geolocation
41
42
  search features.
42
43
 
43
44
  Here is a figure that only has records. A black point
@@ -1,11 +1,12 @@
1
1
  .. -*- rst -*-
2
+ .. Groonga Project
2
3
 
3
- .. groonga documentation master file, created by
4
+ .. Groonga documentation master file, created by
4
5
  sphinx-quickstart on Thu Oct 22 15:42:37 2009.
5
6
  You can adapt this file completely to your liking, but it should at least
6
7
  contain the root `toctree` directive.
7
8
 
8
- groonga documentation
9
+ Groonga documentation
9
10
  =====================
10
11
 
11
12
  * :doc:`news`
@@ -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.1.2.tar.gz
157
- % tar xvzf groonga-3.1.2.tar.gz
158
- % cd groonga-3.1.2
156
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
157
+ % tar xvzf groonga-4.0.0.tar.gz
158
+ % cd groonga-4.0.0
159
159
 
160
160
  Configure (see :ref:`source-configure` about ``configure`` options)::
161
161
 
@@ -145,9 +145,9 @@ Install required packages to build groonga::
145
145
 
146
146
  Download source::
147
147
 
148
- % wget http://packages.groonga.org/source/groonga/groonga-3.1.2.tar.gz
149
- % tar xvzf groonga-3.1.2.tar.gz
150
- % cd groonga-3.1.2
148
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
149
+ % tar xvzf groonga-4.0.0.tar.gz
150
+ % cd groonga-4.0.0
151
151
 
152
152
  Configure (see :ref:`source-configure` about ``configure`` options)::
153
153
 
@@ -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.1.2.tar.gz
86
- % tar xvzf groonga-3.1.2.tar.gz
87
- % cd groonga-3.1.2
85
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
86
+ % tar xvzf groonga-4.0.0.tar.gz
87
+ % cd groonga-4.0.0
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.1.2.tar.gz
44
- % tar xvzf groonga-3.1.2.tar.gz
45
- % cd groonga-3.1.2
43
+ % curl -O http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
44
+ % tar xvzf groonga-4.0.0.tar.gz
45
+ % cd groonga-4.0.0
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.1.2.tar.gz
78
- % tar xvzf groonga-3.1.2.tar.gz
79
- % cd groonga-3.1.2
77
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
78
+ % tar xvzf groonga-4.0.0.tar.gz
79
+ % cd groonga-4.0.0
80
80
  % ./configure
81
81
  % make
82
82
  % sudo make install
@@ -17,9 +17,9 @@ Install required packages to build groonga::
17
17
 
18
18
  Download source::
19
19
 
20
- % wget http://packages.groonga.org/source/groonga/groonga-3.1.2.tar.gz
21
- % gtar xvzf groonga-3.1.2.tar.gz
22
- % cd groonga-3.1.2
20
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
21
+ % gtar xvzf groonga-4.0.0.tar.gz
22
+ % cd groonga-4.0.0
23
23
 
24
24
  Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
25
25
  needed for building 64-bit version. To build 32-bit version, just
@@ -206,9 +206,9 @@ Install required packages to build groonga::
206
206
 
207
207
  Download source::
208
208
 
209
- % wget http://packages.groonga.org/source/groonga/groonga-3.1.2.tar.gz
210
- % tar xvzf groonga-3.1.2.tar.gz
211
- % cd groonga-3.1.2
209
+ % wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
210
+ % tar xvzf groonga-4.0.0.tar.gz
211
+ % cd groonga-4.0.0
212
212
 
213
213
  Configure (see :ref:`source-configure` about ``configure`` options)::
214
214