rroonga 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +13 -3
  3. data/doc/text/news.textile +8 -0
  4. data/ext/groonga/extconf.rb +1 -3
  5. data/ext/groonga/rb-grn-table-key-support.c +0 -4
  6. data/ext/groonga/rb-grn.h +1 -1
  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/rroonga-build.rb +3 -3
  11. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  12. data/vendor/local/bin/groonga.exe +0 -0
  13. data/vendor/local/bin/libgroonga-0.dll +0 -0
  14. data/vendor/local/bin/libmecab-1.dll +0 -0
  15. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  16. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  17. data/vendor/local/bin/mecab-config +2 -2
  18. data/vendor/local/bin/mecab.exe +0 -0
  19. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +10 -2
  20. data/vendor/local/include/groonga/groonga.h +30 -1048
  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/query_expanders/tsv.la +2 -2
  25. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  26. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  27. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  28. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  29. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  30. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  31. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  32. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  33. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  37. data/vendor/local/lib/libgroonga.a +0 -0
  38. data/vendor/local/lib/libgroonga.dll.a +0 -0
  39. data/vendor/local/lib/libgroonga.la +2 -2
  40. data/vendor/local/lib/libmecab.a +0 -0
  41. data/vendor/local/lib/libmecab.dll.a +0 -0
  42. data/vendor/local/lib/libmecab.la +1 -1
  43. data/vendor/local/lib/libmsgpack.a +0 -0
  44. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  45. data/vendor/local/lib/libmsgpack.la +1 -1
  46. data/vendor/local/lib/libmsgpackc.a +0 -0
  47. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  48. data/vendor/local/lib/libmsgpackc.la +1 -1
  49. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  50. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  54. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  55. data/vendor/local/sbin/groonga-httpd-restart +85 -49
  56. data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
  57. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +77 -0
  58. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +17 -0
  59. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +5 -0
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
  63. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  68. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +8 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +136 -1
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_cache.txt +114 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +92 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_command_version.txt +37 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +70 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +71 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_encoding.txt +49 -0
  76. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +83 -0
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +55 -0
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_hook.txt +67 -0
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ii.txt +35 -0
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_index_cursor.txt +44 -0
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_info.txt +56 -0
  82. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_match_escalation.txt +39 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +246 -0
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_proc.txt +56 -0
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_search.txt +31 -0
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table.txt +219 -0
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table_cursor.txt +109 -0
  88. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_type.txt +31 -0
  89. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_user_data.txt +29 -0
  90. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +63 -31
  91. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +1 -1
  92. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +85 -34
  93. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +77 -0
  94. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +5 -3
  95. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +218 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +19 -15
  97. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +16 -19
  98. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +5 -1
  99. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
  100. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +18 -5
  101. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +9 -0
  102. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
  103. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
  104. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/contribution.html +60 -55
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +11 -10
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +10 -10
  109. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +219 -0
  110. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +26 -26
  111. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
  112. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +118 -105
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
  115. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
  116. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/genindex.html +638 -6
  122. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/index.html +50 -24
  124. data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
  125. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  126. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  127. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -11
  128. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  129. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  130. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  131. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  132. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  133. data/vendor/local/share/doc/groonga/en/html/limitations.html +13 -5
  134. data/vendor/local/share/doc/groonga/en/html/news.html +308 -152
  135. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  141. data/vendor/local/share/doc/groonga/en/html/reference.html +37 -18
  142. data/vendor/local/share/doc/groonga/en/html/reference/api.html +30 -12
  143. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +322 -0
  144. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +284 -0
  145. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +197 -0
  146. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +190 -23
  147. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +254 -0
  148. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +219 -0
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +173 -16
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +237 -0
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +244 -0
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +186 -0
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +196 -0
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +237 -0
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +200 -0
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +648 -0
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +227 -0
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +180 -0
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +546 -0
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +321 -0
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +179 -0
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +177 -0
  163. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/command.html +17 -16
  165. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +71 -44
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +203 -48
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -6
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +10 -10
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +219 -0
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +94 -94
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +33 -33
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +39 -39
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +219 -12
  203. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +31 -28
  212. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +22 -23
  214. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +9 -6
  217. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -7
  219. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  230. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  232. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/server/package.html +22 -8
  239. data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
  240. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
  255. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +14 -5
  257. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
  259. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +77 -0
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +17 -0
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +5 -0
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +8 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +136 -1
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_cache.txt +114 -0
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +92 -0
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_command_version.txt +37 -0
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +70 -0
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +71 -0
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_encoding.txt +49 -0
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +83 -0
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +55 -0
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_hook.txt +67 -0
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ii.txt +35 -0
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_index_cursor.txt +44 -0
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_info.txt +56 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_match_escalation.txt +39 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +246 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_proc.txt +56 -0
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_search.txt +31 -0
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table.txt +219 -0
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table_cursor.txt +109 -0
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_type.txt +31 -0
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_user_data.txt +29 -0
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +63 -31
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +1 -1
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +85 -34
  299. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +77 -0
  300. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +5 -3
  301. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +218 -1
  302. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +19 -15
  303. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +16 -19
  304. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +5 -1
  305. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
  306. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +18 -5
  307. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +9 -0
  308. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
  309. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
  310. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  311. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  312. data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -56
  313. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +12 -11
  314. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +11 -11
  315. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +220 -0
  316. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +27 -27
  317. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +62 -62
  318. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +119 -106
  319. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
  320. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +38 -38
  321. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -10
  322. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  323. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  324. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  325. data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
  326. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
  327. data/vendor/local/share/doc/groonga/ja/html/genindex.html +642 -10
  328. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  329. data/vendor/local/share/doc/groonga/ja/html/index.html +50 -25
  330. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
  331. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
  332. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
  333. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +12 -12
  334. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
  335. data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
  336. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
  337. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
  338. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
  339. data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -6
  340. data/vendor/local/share/doc/groonga/ja/html/news.html +336 -154
  341. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
  342. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  343. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  344. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  345. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
  346. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  347. data/vendor/local/share/doc/groonga/ja/html/reference.html +38 -19
  348. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +31 -13
  349. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +319 -0
  350. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +285 -0
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +198 -0
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +191 -24
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +255 -0
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +220 -0
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +172 -17
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +238 -0
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +245 -0
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +187 -0
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +197 -0
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +238 -0
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +201 -0
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +649 -0
  363. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +228 -0
  364. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +181 -0
  365. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +547 -0
  366. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +322 -0
  367. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +180 -0
  368. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +178 -0
  369. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
  370. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +18 -17
  371. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
  372. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
  373. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
  374. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +64 -45
  375. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
  376. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
  377. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +8 -8
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +207 -49
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +11 -11
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +222 -0
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +95 -95
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +34 -34
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
  402. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
  403. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
  404. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
  405. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -6
  406. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +194 -12
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
  411. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -6
  412. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
  413. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
  414. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
  415. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  416. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -23
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +10 -15
  423. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
  424. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +11 -7
  425. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
  426. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
  427. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +6 -6
  428. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
  429. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
  430. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
  431. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
  432. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
  433. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
  434. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
  435. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  436. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  438. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  439. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
  440. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  441. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
  442. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
  443. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
  444. data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -10
  445. data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
  446. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
  447. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
  448. data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -6
  449. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -6
  450. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
  451. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
  452. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
  453. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
  454. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
  455. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
  456. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  457. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
  458. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  459. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
  460. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +9 -9
  461. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
  462. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +16 -6
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +13 -13
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  468. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  469. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  470. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  471. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  472. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  473. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  474. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  475. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  476. data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +4 -0
  477. data/vendor/local/share/groonga/html/admin/index.html +28 -26
  478. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +13 -5
  479. data/vendor/local/share/man/ja/man1/groonga.1 +3418 -350
  480. data/vendor/local/share/man/man1/groonga.1 +3485 -348
  481. metadata +116 -63
@@ -0,0 +1,56 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ ``grn_proc``
6
+ ============
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO...
12
+
13
+ Example
14
+ -------
15
+
16
+ TODO...
17
+
18
+ Reference
19
+ ---------
20
+
21
+ .. c:type:: grn_proc_type
22
+
23
+ TODO...
24
+
25
+ .. c:type:: grn_proc_func
26
+
27
+ TODO...
28
+
29
+ .. c:function:: grn_obj *grn_proc_create(grn_ctx *ctx, const char *name, int name_size, grn_proc_type type, grn_proc_func *init, grn_proc_func *next, grn_proc_func *fin, unsigned int nvars, grn_expr_var *vars)
30
+
31
+ nameに対応する新たなproc(手続き)をctxが使用するdbに定義します。
32
+
33
+ :param name: 作成するprocの名前を指定します。
34
+ :param name_size: The number of bytes of name parameter. If negative value is specified, name parameter is assumed that NULL-terminated string.
35
+ :param type: procの種類を指定します。
36
+ :param init: 初期化関数のポインタを指定します。
37
+ :param next: 実処理関数のポインタを指定します。
38
+ :param fin: 終了関数のポインタを指定します。
39
+ :param nvars: procで使用する変数の数を指定します。
40
+ :param vars: procで使用する変数の定義を指定します。( :c:type:`grn_expr_var` 構造体の配列)
41
+
42
+ .. c:function:: grn_obj *grn_proc_get_info(grn_ctx *ctx, grn_user_data *user_data, grn_expr_var **vars, unsigned int *nvars, grn_obj **caller)
43
+
44
+ user_dataをキーとして、現在実行中の :c:type:`grn_proc_func` 関数および定義されている変数( :c:type:`grn_expr_var` )の配列とその数を取得します。
45
+
46
+ :param user_data: :c:type:`grn_proc_func` に渡されたuser_dataを指定します。
47
+ :param nvars: 変数の数を取得します。
48
+
49
+ .. c:function:: grn_rc grn_obj_set_finalizer(grn_ctx *ctx, grn_obj *obj, grn_proc_func *func)
50
+
51
+ objectを破棄するときに呼ばれる関数を設定します。
52
+
53
+ table, column, proc, exprのみ設定可能です。
54
+
55
+ :param obj: 対象objectを指定します。
56
+ :param func: objectを破棄するときに呼ばれる関数を指定します。
@@ -0,0 +1,31 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ ``grn_search``
6
+ ==============
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO...
12
+
13
+ Example
14
+ -------
15
+
16
+ TODO...
17
+
18
+ Reference
19
+ ---------
20
+
21
+ .. c:type:: grn_search_optarg
22
+
23
+ .. c:function:: grn_rc grn_obj_search(grn_ctx *ctx, grn_obj *obj, grn_obj *query, grn_obj *res, grn_operator op, grn_search_optarg *optarg)
24
+
25
+ objを対象としてqueryにマッチするレコードを検索し、opの指定に従ってresにレコードを追加あるいは削除します。
26
+
27
+ :param obj: 検索対象のobjectを指定します。
28
+ :param query: 検索クエリを指定します。
29
+ :param res: 検索結果を格納するテーブルを指定します。
30
+ :param op: ``GRN_OP_OR``, ``GRN_OP_AND``, ``GRN_OP_AND_NOT``, ``GRN_OP_ADJUST`` のいずれかを指定します。
31
+ :param optarg: 詳細検索条件を指定します。
@@ -0,0 +1,219 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ ``grn_table``
6
+ =============
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO...
12
+
13
+ Example
14
+ -------
15
+
16
+ TODO...
17
+
18
+ Reference
19
+ ---------
20
+
21
+ .. c:function:: grn_obj *grn_table_create(grn_ctx *ctx, const char *name, unsigned int name_size, const char *path, grn_obj_flags flags, grn_obj *key_type, grn_obj *value_type)
22
+
23
+ nameパラメータに対応する新たなtableをctxが使用するdbに定義します。
24
+
25
+ :param name:
26
+ 作成するtableの名前を指定します。NULLなら無名tableとなります。
27
+
28
+ persistent dbに対して名前をありのtableを作成するときには、flagsに ``GRN_OBJ_PERSISTENT`` が指定されていなけれなりません。
29
+ :param path:
30
+ 作成するtableのファイルパスを指定します。
31
+ flagsに ``GRN_OBJ_PERSISTENT`` が指定されている場合のみ有効です。
32
+ NULLなら自動的にファイルパスが付与されます。
33
+ :param flags:
34
+ ``GRN_OBJ_PERSISTENT`` を指定すると永続tableとなります。
35
+
36
+ ``GRN_OBJ_TABLE_PAT_KEY``, ``GRN_OBJ_TABLE_HASH_KEY``, ``GRN_OBJ_TABLE_NO_KEY`` のいずれかを指定します。
37
+
38
+ ``GRN_OBJ_KEY_NORMALIZE`` を指定すると正規化された文字列がkeyとなります。
39
+
40
+ ``GRN_OBJ_KEY_WITH_SIS`` を指定するとkey文字列の全suffixが自動的に登録されます。
41
+ :param key_type:
42
+ keyの型を指定します。``GRN_OBJ_TABLE_NO_KEY`` が指定された場合は無効です。
43
+ 既存のtypeあるいはtableを指定できます。
44
+
45
+ key_typeにtable Aを指定してtable Bを作成した場合、Bは必ずAのサブセットとなります。
46
+ :param value_type:
47
+ keyに対応する値を格納する領域の型を指定します。
48
+ tableはcolumnとは別に、keyに対応する値を格納する領域を一つだけ持つことができます。
49
+
50
+ .. c:function:: grn_id grn_table_add(grn_ctx *ctx, grn_obj *table, const void *key, unsigned int key_size, int *added)
51
+
52
+ keyに対応する新しいrecordをtableに追加し、そのIDを返します。keyに対応するrecordがすでにtableに存在するならば、そのrecordのIDを返します。
53
+
54
+ ``GRN_OBJ_TABLE_NO_KEY`` が指定されたtableでは、key, key_size は無視されます。
55
+
56
+ :param table: 対象tableを指定します。
57
+ :param key: 検索keyを指定します。
58
+ :param added: NULL以外の値が指定された場合、新たにrecordが追加された時には1が、既存recordだった時には0がセットされます。
59
+
60
+ .. c:function:: grn_id grn_table_get(grn_ctx *ctx, grn_obj *table, const void *key, unsigned int key_size)
61
+
62
+ It finds a record that has key parameter and returns ID of the found record. If table parameter is a database, it finds an object (table, column and so on) that has key parameter and returns ID of the found object.
63
+
64
+ :param table: The table or database.
65
+ :param key: The record or object key to be found.
66
+
67
+ .. c:function:: grn_id grn_table_at(grn_ctx *ctx, grn_obj *table, grn_id id)
68
+
69
+ tableにidに対応するrecordが存在するか確認し、存在すれば指定されたIDを、存在しなければ ``GRN_ID_NIL`` を返します。
70
+
71
+ 注意: 実行には相応のコストがかかるのであまり頻繁に呼ばないようにして下さい。
72
+
73
+ :param table: 対象tableを指定します。
74
+ :param id: 検索idを指定します。
75
+
76
+ .. c:function:: grn_id grn_table_lcp_search(grn_ctx *ctx, grn_obj *table, const void *key, unsigned int key_size)
77
+
78
+ tableが ``GRN_TABLE_PAT_KEY`` もしくは ``GRN_TABLE_DAT_KEY`` を指定して作ったtableなら、longest common prefix searchを行い、対応するIDを返します。
79
+
80
+ tableが ``GRN_TABLE_HASH_KEY`` を指定して作ったtableなら、完全に一致するキーを検索し、対応するIDを返します。
81
+
82
+ :param table: 対象tableを指定します。
83
+ :param key: 検索keyを指定します。
84
+
85
+ .. c:function:: int grn_table_get_key(grn_ctx *ctx, grn_obj *table, grn_id id, void *keybuf, int buf_size)
86
+
87
+ tableのIDに対応するレコードのkeyを取得します。
88
+
89
+ 対応するレコードが存在する場合はkey長を返します。見つからない場合は0を返します。対応するキーの検索に成功し、またbuf_sizeの長さがkey長以上であった場合は、keybufに該当するkeyをコピーします。
90
+
91
+ :param table: 対象tableを指定します。
92
+ :param id: 対象レコードのIDを指定します。
93
+ :param keybuf: keyを格納するバッファ(呼出側で準備する)を指定します。
94
+ :param buf_size: keybufのサイズ(byte長)を指定します。
95
+
96
+ .. c:function:: grn_rc grn_table_delete(grn_ctx *ctx, grn_obj *table, const void *key, unsigned int key_size)
97
+
98
+ tableのkeyに対応するレコードを削除します。対応するレコードが存在しない場合は ``GRN_INVALID_ARGUMENT`` を返します。
99
+
100
+ :param table: 対象tableを指定します。
101
+ :param key: 検索keyを指定します。
102
+ :param key_size: 検索keyのサイズを指定します。
103
+
104
+ .. c:function:: grn_rc grn_table_delete_by_id(grn_ctx *ctx, grn_obj *table, grn_id id)
105
+
106
+ tableのidに対応するレコードを削除します。対応するレコードが存在しない場合は ``GRN_INVALID_ARGUMENT`` を返します。
107
+
108
+ :param table: 対象tableを指定します。
109
+ :param id: レコードIDを指定します。
110
+
111
+ .. c:function:: grn_rc grn_table_update_by_id(grn_ctx *ctx, grn_obj *table, grn_id id, const void *dest_key, unsigned int dest_key_size)
112
+
113
+ tableのidに対応するレコードのkeyを変更します。新しいkeyとそのbyte長をdest_keyとdest_key_sizeに指定します。
114
+
115
+ この操作は、``GRN_TABLE_DAT_KEY`` 型のテーブルのみ使用できます。
116
+
117
+ :param table: 対象tableを指定します。
118
+ :param id: レコードIDを指定します。
119
+
120
+ .. c:function:: grn_rc grn_table_update(grn_ctx *ctx, grn_obj *table, const void *src_key, unsigned int src_key_size, const void *dest_key, unsigned int dest_key_size)
121
+
122
+ tableのsrc_keyに対応するレコードのkeyを変更します。新しいkeyとそのbyte長をdest_keyとdest_key_sizeに指定します。
123
+
124
+ この操作は、``GRN_TABLE_DAT_KEY`` 型のテーブルのみ使用できます。
125
+
126
+ :param table: 対象tableを指定します。
127
+ :param src_key: 対象レコードのkeyを指定します。
128
+ :param src_key_size: 対象レコードのkeyの長さ(byte)を指定します。
129
+ :param dest_key: 変更後のkeyを指定します。
130
+ :param dest_key_size: 変更後のkeyの長さ(byte)を指定します。
131
+
132
+ .. c:function:: grn_rc grn_table_truncate(grn_ctx *ctx, grn_obj *table)
133
+
134
+ tableの全レコードを一括して削除します。
135
+
136
+ 注意: multithread環境では他のthreadのアクセスによって、存在しないアドレスへアクセスし、SIGSEGVが発生する可能性があります。
137
+
138
+ :param table: 対象tableを指定します。
139
+
140
+ .. c:type:: grn_table_sort_key
141
+
142
+ TODO...
143
+
144
+ .. c:type:: grn_table_sort_flags
145
+
146
+ TODO...
147
+
148
+ .. c:function:: int grn_table_sort(grn_ctx *ctx, grn_obj *table, int offset, int limit, grn_obj *result, grn_table_sort_key *keys, int n_keys)
149
+
150
+ table内のレコードをソートし、上位limit個の要素をresultに格納します。
151
+
152
+ keys.keyには、tableのcolumn,accessor,procのいずれかが指定できます。keys.flagsには、``GRN_TABLE_SORT_ASC`` / ``GRN_TABLE_SORT_DESC`` のいずれかを指定できます。``GRN_TABLE_SORT_ASC`` では昇順、``GRN_TABLE_SORT_DESC`` では降順でソートされます。keys.offsetは、内部利用のためのメンバです。
153
+
154
+ :param table: 対象tableを指定します。
155
+ :param offset: sortされたレコードのうち、(0ベースで)offset番目から順にresにレコードを格納します。
156
+ :param limit: resに格納するレコードの上限を指定します。
157
+ :param result: 結果を格納するtableを指定します。
158
+ :param keys: ソートキー配列へのポインタを指定します。
159
+ :param n_keys: ソートキー配列のサイズを指定します。
160
+
161
+ .. c:type:: grn_table_group_result
162
+
163
+ TODO...
164
+
165
+ .. c:type:: grn_table_group_flags
166
+
167
+ TODO...
168
+
169
+ .. c:function:: grn_rc grn_table_group(grn_ctx *ctx, grn_obj *table, grn_table_sort_key *keys, int n_keys, grn_table_group_result *results, int n_results)
170
+
171
+ tableのレコードを特定の条件でグループ化します。
172
+
173
+ :param table: 対象tableを指定します。
174
+ :param keys: group化キー構造体の配列へのポインタを指定します。
175
+ :param n_keys: group化キー構造体の配列のサイズを指定します。
176
+ :param results: group化の結果を格納する構造体の配列へのポインタを指定します。
177
+ :param n_results: group化の結果を格納する構造体の配列のサイズを指定します。
178
+
179
+ .. c:function:: grn_rc grn_table_setoperation(grn_ctx *ctx, grn_obj *table1, grn_obj *table2, grn_obj *res, grn_operator op)
180
+
181
+ table1とtable2をopの指定に従って集合演算した結果をresに格納します。
182
+
183
+ resにtable1あるいはtable2そのものを指定した場合を除けば、table1, table2は破壊されません。
184
+
185
+ :param table1: 対象table1を指定します。
186
+ :param table2: 対象table2を指定します。
187
+ :param res: 結果を格納するtableを指定します。
188
+ :param op: 実行する演算の種類を指定します。
189
+
190
+ .. c:function:: grn_rc grn_table_difference(grn_ctx *ctx, grn_obj *table1, grn_obj *table2, grn_obj *res1, grn_obj *res2)
191
+
192
+ table1とtable2から重複するレコードを取り除いた結果をそれぞれres1, res2に格納します。
193
+
194
+ :param table1: 対象table1を指定します。
195
+ :param table2: 対象table2を指定します。
196
+ :param res1: 結果を格納するtableを指定します。
197
+ :param res2: 結果を格納するtableを指定します。
198
+
199
+ .. c:function:: int grn_table_columns(grn_ctx *ctx, grn_obj *table, const char *name, unsigned int name_size, grn_obj *res)
200
+
201
+ nameパラメータから始まるtableのカラムIDをresパラメータに格納します。name_sizeパラメータが0の場合はすべてのカラムIDを格納します。
202
+
203
+ :param table: 対象tableを指定します。
204
+ :param name: 取得したいカラム名のprefixを指定します。
205
+ :param name_size: nameパラメータの長さを指定します。
206
+ :param res: 結果を格納する ``GRN_TABLE_HASH_KEY`` のtableを指定します。
207
+ :return: 格納したカラムIDの数を返します。
208
+
209
+ .. c:function:: unsigned int grn_table_size(grn_ctx *ctx, grn_obj *table)
210
+
211
+ tableに登録されているレコードの件数を返します。
212
+
213
+ :param table: 対象tableを指定します。
214
+
215
+ .. c:function:: grn_rc grn_table_rename(grn_ctx *ctx, grn_obj *table, const char *name, unsigned int name_size)
216
+
217
+ ctxが使用するdbにおいてtableに対応する名前をnameに更新します。tableの全てのcolumnも同時に名前が変更されます。tableは永続オブジェクトでなければいけません。
218
+
219
+ :param name_size: nameパラメータのsize(byte)を指定します。
@@ -0,0 +1,109 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ ``grn_table_cursor``
6
+ ====================
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO...
12
+
13
+ Example
14
+ -------
15
+
16
+ TODO...
17
+
18
+ Reference
19
+ ---------
20
+
21
+ .. c:type:: grn_table_cursor
22
+
23
+ TODO...
24
+
25
+ .. c:function:: grn_table_cursor *grn_table_cursor_open(grn_ctx *ctx, grn_obj *table, const void *min, unsigned int min_size, const void *max, unsigned int max_size, int offset, int limit, int flags)
26
+
27
+ tableに登録されているレコードを順番に取り出すためのカーソルを生成して返します。
28
+
29
+ :param table: 対象tableを指定します。
30
+ :param min: keyの下限を指定します。(NULLは下限なしと見なします。) ``GRN_CURSOR_PREFIX`` については後述。
31
+ :param min_size: minのsizeを指定します。``GRN_CURSOR_PREFIX`` については後述。
32
+ :param max: keyの上限を指定します。(NULLは上限なしと見なします。) ``GRN_CURSOR_PREFIX`` については後述。
33
+ :param max_size: maxのsizeを指定します。``GRN_CURSOR_PREFIX`` については無視される場合があります。
34
+ :param flags:
35
+ ``GRN_CURSOR_ASCENDING`` を指定すると昇順にレコードを取り出します。
36
+
37
+ ``GRN_CURSOR_DESCENDING`` を指定すると降順にレコードを取り出します。(下記 ``GRN_CURSOR_PREFIX`` を指定し、keyが近いレコードを取得する場合、もしくは、common prefix searchを行う場合には、``GRN_CURSOR_ASCENDING`` / ``GRN_CURSOR_DESCENDING`` は無視されます。)
38
+
39
+ ``GRN_CURSOR_GT`` を指定するとminに一致したkeyをcursorの範囲に含みません。(minがNULLの場合もしくは、下記 ``GRN_CURSOR_PREFIX`` を指定し、keyが近いレコードを取得する場合、もしくは、common prefix searchを行う場合には、``GRN_CURSOR_GT`` は無視されます。)
40
+
41
+ ``GRN_CURSOR_LT`` を指定するとmaxに一致したkeyをcursorの範囲に含みません。(maxがNULLの場合もしくは、下記 ``GRN_CURSOR_PREFIX`` を指定した場合には、``GRN_CURSOR_LT`` は無視されます。)
42
+
43
+ ``GRN_CURSOR_BY_ID`` を指定するとID順にレコードを取り出します。(下記 ``GRN_CURSOR_PREFIX`` を指定した場合には、``GRN_CURSOR_BY_ID`` は無視されます。) ``GRN_OBJ_TABLE_PAT_KEY`` を指定したtableについては、``GRN_CURSOR_BY_KEY`` を指定するとkey順にレコードを取り出します。( ``GRN_OBJ_TABLE_HASH_KEY`` , ``GRN_OBJ_TABLE_NO_KEY`` を指定したテーブルでは ``GRN_CURSOR_BY_KEY`` は無視されます。)
44
+
45
+ ``GRN_CURSOR_PREFIX`` を指定すると、 ``GRN_OBJ_TABLE_PAT_KEY`` を指定したテーブルに関する下記のレコードを取り出すカーソルが作成されます。maxがNULLの場合には、keyがminと前方一致するレコードを取り出します。max_sizeパラメータは無視されます。
46
+
47
+ maxとmax_sizeが指定され、かつ、テーブルのkeyがShortText型である場合、maxとcommon prefix searchを行い、common prefixがmin_sizeバイト以上のレコードを取り出します。minは無視されます。
48
+
49
+ maxとmax_sizeが指定され、かつ、テーブルのkeyが固定長型の場合、maxとPAT木上で近い位置にあるノードから順番にレコードを取り出します。ただし、keyのパトリシア木で、min_sizeバイト未満のビットに対するノードで、maxと異なった方向にあるノードに対応するレコードについては取り出しません。PAT木上で位置が近いこととkeyの値が近いことは同一ではありません。この場合、maxで与えられるポインタが指す値は、対象テーブルのkeyサイズと同じか超える幅である必要があります。minは無視されます。
50
+
51
+ ``GRN_CURSOR_BY_ID`` / ``GRN_CURSOR_BY_KEY`` / ``GRN_CURSOR_PREFIX`` の3フラグは、同時に指定することができません。
52
+
53
+ ``GRN_OBJ_TABLE_PAT_KEY`` を指定して作ったテーブルで、``GRN_CURSOR_PREFIX`` と ``GRN_CURSOR_RK`` を指定すると、半角小文字のアルファベット文字列から、それを旧JIS X 4063:2000規格に従って全角カタカナに変換した文字列に前方一致する値をkeyとするレコードを取り出します。``GRN_ENC_UTF8`` のみをサポートしています。``GRN_CURSOR_ASCENDING`` / ``GRN_CURSOR_DESCENDING`` は無効であり、レコードをkey値の昇降順で取り出すことはできません。
54
+
55
+ :param offset:
56
+ 該当する範囲のレコードのうち、(0ベースで)offset番目からレコードを取り出します。
57
+
58
+ ``GRN_CURSOR_PREFIX`` を指定したときは負の数を指定することはできません。
59
+
60
+ :param limit:
61
+ 該当する範囲のレコードのうち、limit件のみを取り出します。-1が指定された場合は、全件が指定されたものとみなします。
62
+
63
+ ``GRN_CURSOR_PREFIX`` を指定したときは-1より小さい負の数を指定することはできません。
64
+
65
+ .. c:function:: grn_rc grn_table_cursor_close(grn_ctx *ctx, grn_table_cursor *tc)
66
+
67
+ :c:func:`grn_table_cursor_open` で生成したcursorを解放します。
68
+
69
+ :param tc: 対象cursorを指定します。
70
+
71
+ .. c:function:: grn_id grn_table_cursor_next(grn_ctx *ctx, grn_table_cursor *tc)
72
+
73
+ cursorのカレントレコードを一件進めてそのIDを返します。cursorの対象範囲の末尾に達すると ``GRN_ID_NIL`` を返します。
74
+
75
+ :param tc: 対象cursorを指定します。
76
+
77
+ .. c:function:: int grn_table_cursor_get_key(grn_ctx *ctx, grn_table_cursor *tc, void **key)
78
+
79
+ cursorのカレントレコードのkeyをkeyパラメータにセットし、その長さを返します。
80
+
81
+ :param tc: 対象cursorを指定します。
82
+ :param key: カレントレコードのkeyへのポインタがセットされます。
83
+
84
+ .. c:function:: int grn_table_cursor_get_value(grn_ctx *ctx, grn_table_cursor *tc, void **value)
85
+
86
+ cursorパラメータのカレントレコードのvalueをvalueパラメータにセットし、その長さを返します。
87
+
88
+ :param tc: 対象cursorを指定します。
89
+ :param value: カレントレコードのvalueへのポインタがセットされます。
90
+
91
+ .. c:function:: grn_rc grn_table_cursor_set_value(grn_ctx *ctx, grn_table_cursor *tc, const void *value, int flags)
92
+
93
+ cursorのカレントレコードのvalueを引数の内容に置き換えます。cursorのカレントレコードが存在しない場合は ``GRN_INVALID_ARGUMENT`` を返します。
94
+
95
+ :param tc: 対象cursorを指定します。
96
+ :param value: 新しいvalueの値を指定します。
97
+ :param flags: :c:func:`grn_obj_set_value()` のflagsと同様の値を指定できます。
98
+
99
+ .. c:function:: grn_rc grn_table_cursor_delete(grn_ctx *ctx, grn_table_cursor *tc)
100
+
101
+ cursorのカレントレコードを削除します。cursorのカレントレコードが存在しない場合は ``GRN_INVALID_ARGUMENT`` を返します。
102
+
103
+ :param tc: 対象cursorを指定します。
104
+
105
+ .. c:function:: grn_obj *grn_table_cursor_table(grn_ctx *ctx, grn_table_cursor *tc)
106
+
107
+ cursorが属するtableを返します。
108
+
109
+ :param tc: 対象cursorを指定します。
@@ -0,0 +1,31 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ ``grn_type``
6
+ ============
7
+
8
+ Summary
9
+ -------
10
+
11
+ TODO...
12
+
13
+ Example
14
+ -------
15
+
16
+ TODO...
17
+
18
+ Reference
19
+ ---------
20
+
21
+ .. c:type:: grn_builtin_type
22
+
23
+ TODO...
24
+
25
+ .. c:function:: grn_obj *grn_type_create(grn_ctx *ctx, const char *name, unsigned int name_size, grn_obj_flags flags, unsigned int size)
26
+
27
+ nameに対応する新たなtype(型)をdbに定義します。
28
+
29
+ :param name: 作成するtypeの名前を指定します。
30
+ :param flags: ``GRN_OBJ_KEY_VAR_SIZE``, ``GRN_OBJ_KEY_FLOAT``, ``GRN_OBJ_KEY_INT``, ``GRN_OBJ_KEY_UINT`` のいずれかを指定します。
31
+ :param size: ``GRN_OBJ_KEY_VAR_SIZE`` の場合は最大長、それ以外の場合は長さ(単位:byte)を指定します。