rroonga 3.1.1-x86-mingw32 → 3.1.2-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 (489) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -39
  3. data/bin/grndump +8 -1
  4. data/doc/text/news.textile +21 -1
  5. data/ext/groonga/extconf.rb +1 -6
  6. data/ext/groonga/rb-grn-table.c +20 -0
  7. data/ext/groonga/rb-grn.h +1 -1
  8. data/ext/groonga/rb-groonga.c +42 -0
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/dumper.rb +7 -3
  13. data/lib/groonga/record.rb +19 -1
  14. data/rroonga-build.rb +5 -5
  15. data/test/test-array.rb +14 -1
  16. data/test/test-database-dumper.rb +68 -83
  17. data/test/test-database.rb +1 -1
  18. data/test/test-double-array-trie.rb +16 -1
  19. data/test/test-hash.rb +16 -1
  20. data/test/test-lock-timeout.rb +29 -0
  21. data/test/test-patricia-trie.rb +16 -1
  22. data/test/test-record.rb +194 -160
  23. data/test/test-variable-size-column.rb +1 -1
  24. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  25. data/vendor/local/bin/groonga.exe +0 -0
  26. data/vendor/local/bin/libgroonga-0.dll +0 -0
  27. data/vendor/local/bin/libmecab-1.dll +0 -0
  28. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  29. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  30. data/vendor/local/bin/mecab-config +2 -2
  31. data/vendor/local/bin/mecab.exe +0 -0
  32. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  33. data/vendor/local/include/groonga/groonga.h +15 -1
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  42. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  45. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  50. data/vendor/local/lib/libgroonga.a +0 -0
  51. data/vendor/local/lib/libgroonga.dll.a +0 -0
  52. data/vendor/local/lib/libgroonga.la +3 -3
  53. data/vendor/local/lib/libmecab.a +0 -0
  54. data/vendor/local/lib/libmecab.dll.a +0 -0
  55. data/vendor/local/lib/libmecab.la +1 -1
  56. data/vendor/local/lib/libmsgpack.a +0 -0
  57. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  58. data/vendor/local/lib/libmsgpack.la +1 -1
  59. data/vendor/local/lib/libmsgpackc.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  61. data/vendor/local/lib/libmsgpackc.la +1 -1
  62. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  63. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  67. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  68. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  69. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  70. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +1 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +2 -2
  73. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +6 -6
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -6
  76. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -6
  77. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  78. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  79. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
  80. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -10
  81. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +10 -9
  82. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +32 -1
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +49 -0
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -0
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +1 -1
  88. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
  89. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +1 -1
  90. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +5 -6
  91. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  92. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  93. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
  94. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +1 -1
  95. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +1 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +5 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
  98. data/vendor/local/share/doc/groonga/en/html/_sources/reference/pseudo_column.txt +1 -1
  99. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
  100. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +4 -4
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +2 -2
  102. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
  103. data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +1 -0
  104. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +1 -0
  106. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -0
  107. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +19 -0
  108. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +3 -0
  109. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
  111. data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
  112. data/vendor/local/share/doc/groonga/en/html/contribution.html +20 -18
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +20 -18
  117. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
  118. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
  120. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
  121. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
  122. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
  123. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
  124. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
  125. data/vendor/local/share/doc/groonga/en/html/development.html +22 -20
  126. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +26 -24
  127. data/vendor/local/share/doc/groonga/en/html/genindex.html +269 -183
  128. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +20 -18
  129. data/vendor/local/share/doc/groonga/en/html/index.html +41 -38
  130. data/vendor/local/share/doc/groonga/en/html/install.html +20 -18
  131. data/vendor/local/share/doc/groonga/en/html/install/centos.html +27 -25
  132. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -24
  133. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +26 -24
  134. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +23 -21
  135. data/vendor/local/share/doc/groonga/en/html/install/others.html +23 -21
  136. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  137. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -28
  138. data/vendor/local/share/doc/groonga/en/html/install/windows.html +29 -27
  139. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  140. data/vendor/local/share/doc/groonga/en/html/news.html +239 -201
  141. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
  142. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  143. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
  144. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +20 -18
  145. data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
  146. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  147. data/vendor/local/share/doc/groonga/en/html/reference.html +41 -38
  148. data/vendor/local/share/doc/groonga/en/html/reference/api.html +46 -43
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +205 -0
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +55 -53
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +78 -76
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +48 -46
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +75 -73
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +54 -52
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +46 -44
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +62 -60
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +46 -44
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +48 -46
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +42 -40
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +46 -44
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +117 -115
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +40 -38
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +80 -78
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +56 -54
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -38
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +36 -34
  170. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
  171. data/vendor/local/share/doc/groonga/en/html/reference/command.html +20 -18
  172. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
  173. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +20 -18
  174. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +20 -18
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +20 -18
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +21 -19
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +20 -18
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +20 -18
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +21 -19
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +20 -18
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +20 -18
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +21 -19
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +20 -18
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +20 -18
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +21 -19
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +20 -18
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +21 -19
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +20 -18
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +20 -18
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +20 -18
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +21 -19
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -18
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +20 -18
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +21 -19
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +21 -19
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +21 -19
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +20 -18
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +20 -18
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +20 -18
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +21 -19
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +20 -18
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +21 -19
  204. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +20 -18
  205. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +23 -21
  206. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -24
  207. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +20 -18
  208. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
  209. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  210. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +20 -18
  212. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -31
  213. data/vendor/local/share/doc/groonga/en/html/reference/function.html +20 -18
  214. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +20 -18
  215. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  216. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +23 -21
  217. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +21 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +21 -19
  219. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +21 -19
  220. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +21 -19
  221. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +20 -18
  222. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
  223. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -21
  224. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +20 -18
  225. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +21 -19
  226. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +20 -18
  227. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +20 -18
  228. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +20 -18
  229. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -18
  230. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +20 -18
  231. data/vendor/local/share/doc/groonga/en/html/reference/output.html +20 -18
  232. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +21 -19
  233. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
  234. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +21 -19
  235. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +24 -22
  236. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
  237. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +22 -20
  238. data/vendor/local/share/doc/groonga/en/html/reference/types.html +21 -19
  239. data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
  240. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  241. data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
  242. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
  243. data/vendor/local/share/doc/groonga/en/html/server/http.html +20 -18
  244. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +20 -18
  245. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
  246. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
  247. data/vendor/local/share/doc/groonga/en/html/server/package.html +20 -18
  248. data/vendor/local/share/doc/groonga/en/html/spec.html +24 -22
  249. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +20 -18
  250. data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
  251. data/vendor/local/share/doc/groonga/en/html/suggest.html +20 -18
  252. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +20 -18
  253. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +20 -18
  254. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +22 -20
  255. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +20 -18
  256. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +20 -18
  257. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
  258. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  259. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  260. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  261. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
  262. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +20 -18
  263. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -18
  264. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
  265. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
  266. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +20 -18
  267. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +20 -18
  268. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
  269. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  270. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -18
  271. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +20 -18
  272. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -0
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +1 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +2 -2
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -10
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +10 -9
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -0
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +32 -1
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +49 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +1 -1
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +1 -1
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +5 -6
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +1 -1
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +1 -1
  299. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +5 -3
  300. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
  301. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/pseudo_column.txt +1 -1
  302. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
  303. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +4 -4
  304. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +2 -2
  305. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
  306. data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +1 -0
  307. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -2
  308. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +1 -0
  309. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -0
  310. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +19 -0
  311. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +3 -0
  312. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  313. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
  314. data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
  315. data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -18
  316. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
  317. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
  318. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
  319. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +20 -18
  320. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
  321. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -18
  322. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
  323. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
  324. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
  325. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
  326. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -18
  327. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
  328. data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
  329. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -18
  330. data/vendor/local/share/doc/groonga/ja/html/genindex.html +274 -183
  331. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +20 -18
  332. data/vendor/local/share/doc/groonga/ja/html/index.html +41 -38
  333. data/vendor/local/share/doc/groonga/ja/html/install.html +20 -18
  334. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +23 -21
  335. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +23 -21
  336. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -21
  337. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +23 -21
  338. data/vendor/local/share/doc/groonga/ja/html/install/others.html +23 -21
  339. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  340. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +23 -21
  341. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -27
  342. data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
  343. data/vendor/local/share/doc/groonga/ja/html/news.html +264 -224
  344. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
  345. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  346. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
  347. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +27 -25
  348. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
  349. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  350. data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -38
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +46 -43
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +206 -0
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -53
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +78 -76
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +48 -46
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -72
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +54 -52
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +46 -44
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +46 -44
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +48 -46
  363. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +42 -40
  364. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +46 -44
  365. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
  366. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +117 -115
  367. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
  368. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +40 -38
  369. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +80 -78
  370. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +56 -54
  371. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -38
  372. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -34
  373. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
  374. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +20 -18
  375. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
  376. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +20 -18
  377. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +20 -18
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +20 -18
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +21 -19
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +20 -18
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +20 -18
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +21 -19
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +20 -18
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +20 -18
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +21 -19
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +20 -18
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +20 -18
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +21 -19
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +20 -18
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +21 -19
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +20 -18
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +20 -18
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -18
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -19
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -18
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +20 -18
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +21 -19
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +21 -19
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +21 -19
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +20 -18
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +20 -18
  402. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +20 -18
  403. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +21 -19
  404. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +20 -18
  405. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +20 -18
  406. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +21 -19
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +20 -18
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -21
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -24
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -18
  411. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
  412. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  413. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +26 -24
  414. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +20 -18
  415. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -31
  416. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +20 -18
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +20 -18
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +23 -21
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +21 -19
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +21 -19
  423. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +21 -19
  424. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -18
  425. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
  426. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -20
  427. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +20 -18
  428. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +22 -20
  429. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +20 -18
  430. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +21 -19
  431. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +22 -20
  432. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -18
  433. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +20 -18
  434. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +22 -20
  435. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +21 -19
  436. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
  437. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +21 -19
  438. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +23 -21
  439. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
  440. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +22 -20
  441. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +21 -19
  442. data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
  443. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  444. data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
  445. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
  446. data/vendor/local/share/doc/groonga/ja/html/server/http.html +20 -18
  447. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +20 -18
  448. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
  449. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
  450. data/vendor/local/share/doc/groonga/ja/html/server/package.html +20 -18
  451. data/vendor/local/share/doc/groonga/ja/html/spec.html +24 -22
  452. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +20 -18
  453. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
  454. data/vendor/local/share/doc/groonga/ja/html/suggest.html +21 -19
  455. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +22 -20
  456. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +22 -20
  457. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +21 -19
  458. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +22 -20
  459. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +20 -18
  460. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
  461. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  462. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -18
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +20 -18
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -18
  468. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
  469. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +20 -18
  470. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +20 -18
  471. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -18
  472. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  473. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -18
  474. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +20 -18
  475. data/vendor/local/share/man/ja/man1/groonga.1 +198 -132
  476. data/vendor/local/share/man/man1/groonga.1 +619 -554
  477. metadata +8 -14
  478. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  479. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  480. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  481. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +0 -199
  482. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +0 -180
  483. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +0 -201
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +0 -200
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +0 -181
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +0 -202
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.15.14. grn_obj &mdash; Groonga v3.1.1ドキュメント</title>
10
+ <title>8.15.15. grn_obj &mdash; Groonga v3.1.1-89-g7f6fcaeドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.1.1',
18
+ VERSION: '3.1.1-89-g7f6fcae',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v3.1.1ドキュメント" href="../../index.html" />
29
+ <link rel="top" title="Groonga v3.1.1-89-g7f6fcaeドキュメント" href="../../index.html" />
30
30
  <link rel="up" title="8.15. API" href="../api.html" />
31
- <link rel="next" title="8.15.15. grn_proc" href="grn_proc.html" />
32
- <link rel="prev" title="8.15.13. grn_match_escalation" href="grn_match_escalation.html" />
31
+ <link rel="next" title="8.15.16. grn_proc" href="grn_proc.html" />
32
+ <link rel="prev" title="8.15.14. grn_match_escalation" href="grn_match_escalation.html" />
33
33
  </head>
34
- <body>
34
+ <body role="document">
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../../index.html">
@@ -49,19 +49,19 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related">
52
+ <div class="related" role="navigation" aria-label="related navigation">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
56
56
  <a href="../../genindex.html" title="総合索引"
57
57
  accesskey="I">索引</a></li>
58
58
  <li class="right" >
59
- <a href="grn_proc.html" title="8.15.15. grn_proc"
59
+ <a href="grn_proc.html" title="8.15.16. grn_proc"
60
60
  accesskey="N">次へ</a> |</li>
61
61
  <li class="right" >
62
- <a href="grn_match_escalation.html" title="8.15.13. grn_match_escalation"
62
+ <a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v3.1.1ドキュメント</a> &raquo;</li>
64
+ <li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcaeドキュメント</a> &raquo;</li>
65
65
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
66
66
  <li><a href="../api.html" accesskey="U">8.15. API</a> &raquo;</li>
67
67
  </ul>
@@ -70,29 +70,29 @@
70
70
  <div class="document">
71
71
  <div class="documentwrapper">
72
72
  <div class="bodywrapper">
73
- <div class="body">
73
+ <div class="body" role="main">
74
74
 
75
75
  <div class="section" id="grn-obj">
76
- <h1>8.15.14. <tt class="docutils literal"><span class="pre">grn_obj</span></tt><a class="headerlink" href="#grn-obj" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <h1>8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt><a class="headerlink" href="#grn-obj" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
- <h2>8.15.14.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
78
+ <h2>8.15.15.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
79
  <p>TODO...</p>
80
80
  </div>
81
81
  <div class="section" id="example">
82
- <h2>8.15.14.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
82
+ <h2>8.15.15.2. 実行例:<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
83
  <p>TODO...</p>
84
84
  </div>
85
85
  <div class="section" id="reference">
86
- <h2>8.15.14.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
+ <h2>8.15.15.3. リファレンス<a class="headerlink" href="#reference" title="このヘッドラインへのパーマリンク">¶</a></h2>
87
87
  <dl class="type">
88
- <dt id="grn_obj">
89
- <tt class="descname">grn_obj</tt><a class="headerlink" href="#grn_obj" title="この定義へのパーマリンク">¶</a></dt>
88
+ <dt id="c.grn_obj">
89
+ <tt class="descname">grn_obj</tt><a class="headerlink" href="#c.grn_obj" title="この定義へのパーマリンク">¶</a></dt>
90
90
  <dd><p>TODO...</p>
91
91
  </dd></dl>
92
92
 
93
93
  <dl class="function">
94
- <dt id="grn_obj_column">
95
- <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_column</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*table</em>, const char<em>&nbsp;*name</em>, unsigned int<em>&nbsp;name_size</em><big>)</big><a class="headerlink" href="#grn_obj_column" title="この定義へのパーマリンク">¶</a></dt>
94
+ <dt id="c.grn_obj_column">
95
+ <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_column</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*table</em>, const char<em>&nbsp;*name</em>, unsigned int<em>&nbsp;name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_column" title="この定義へのパーマリンク">¶</a></dt>
96
96
  <dd><p>nameがカラム名の場合、それに対応するtableのカラムを返します。対応するカラムが存在しなければNULLを返します。</p>
97
97
  <p>nameはアクセサ文字列の場合、それに対応するaccessorを返します。アクセサ文字列とは、カラム名等を'.'で連結した文字列です。'_id', '_key'は特殊なアクセサで、それぞれレコードID/keyを返します。例) 'col1' / 'col2.col3' / 'col2._id'</p>
98
98
  <table class="docutils field-list" frame="void" rules="none">
@@ -110,8 +110,8 @@
110
110
  </dd></dl>
111
111
 
112
112
  <dl class="function">
113
- <dt id="grn_obj_is_builtin">
114
- grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_is_builtin" title="この定義へのパーマリンク">¶</a></dt>
113
+ <dt id="c.grn_obj_is_builtin">
114
+ grn_bool <tt class="descname">grn_obj_is_builtin</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_is_builtin" title="この定義へのパーマリンク">¶</a></dt>
115
115
  <dd><p>Check whether Groonga built-in object.</p>
116
116
  <table class="docutils field-list" frame="void" rules="none">
117
117
  <col class="field-name" />
@@ -131,8 +131,8 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
131
131
  </dd></dl>
132
132
 
133
133
  <dl class="function">
134
- <dt id="grn_obj_get_value">
135
- <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_get_value</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*value</em><big>)</big><a class="headerlink" href="#grn_obj_get_value" title="この定義へのパーマリンク">¶</a></dt>
134
+ <dt id="c.grn_obj_get_value">
135
+ <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a> *<tt class="descname">grn_obj_get_value</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*value</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_value" title="この定義へのパーマリンク">¶</a></dt>
136
136
  <dd><p>objのIDに対応するレコードのvalueを取得します。valueを戻り値として返します。</p>
137
137
  <table class="docutils field-list" frame="void" rules="none">
138
138
  <col class="field-name" />
@@ -150,13 +150,13 @@ grn_bool <tt class="descname">grn_obj_is_builtin</tt><big>(</big><a class="refer
150
150
  </dd></dl>
151
151
 
152
152
  <dl class="function">
153
- <dt id="grn_obj_get_values">
154
- int <tt class="descname">grn_obj_get_values</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;offset</em>, void<em>&nbsp;**values</em><big>)</big><a class="headerlink" href="#grn_obj_get_values" title="この定義へのパーマリンク">¶</a></dt>
153
+ <dt id="c.grn_obj_get_values">
154
+ int <tt class="descname">grn_obj_get_values</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;offset</em>, void<em>&nbsp;**values</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_values" title="この定義へのパーマリンク">¶</a></dt>
155
155
  <dd><p>objに指定されたカラムについて、offsetに指定されたレコードIDを開始位置として、IDが連続するレコードに対応するカラム値が昇順に格納された配列へのポインタをvaluesにセットします。</p>
156
156
  <p>取得できた件数が戻り値として返されます。エラーが発生した場合は -1 が返されます。</p>
157
157
  <div class="admonition note">
158
158
  <p class="first admonition-title">ノート</p>
159
- <p class="last">値が固定長であるカラムのみがobjに指定できます。範囲内のIDに対応するレコードが有効であるとは限りません。delete操作を実行したことのあるテーブルに対しては、<a class="reference internal" href="grn_table.html#grn_table_at" title="grn_table_at"><tt class="xref c c-func docutils literal"><span class="pre">grn_table_at()</span></tt></a> などによって各レコードの存否を別途確認しなければなりません。</p>
159
+ <p class="last">値が固定長であるカラムのみがobjに指定できます。範囲内のIDに対応するレコードが有効であるとは限りません。delete操作を実行したことのあるテーブルに対しては、<a class="reference internal" href="grn_table.html#c.grn_table_at" title="grn_table_at"><tt class="xref c c-func docutils literal"><span class="pre">grn_table_at()</span></tt></a> などによって各レコードの存否を別途確認しなければなりません。</p>
160
160
  </div>
161
161
  <table class="docutils field-list" frame="void" rules="none">
162
162
  <col class="field-name" />
@@ -174,8 +174,8 @@ int <tt class="descname">grn_obj_get_values</tt><big>(</big><a class="reference
174
174
  </dd></dl>
175
175
 
176
176
  <dl class="function">
177
- <dt id="grn_obj_set_value">
178
- grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*value</em>, int<em>&nbsp;flags</em><big>)</big><a class="headerlink" href="#grn_obj_set_value" title="この定義へのパーマリンク">¶</a></dt>
177
+ <dt id="c.grn_obj_set_value">
178
+ grn_rc <tt class="descname">grn_obj_set_value</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*value</em>, int<em>&nbsp;flags</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_set_value" title="この定義へのパーマリンク">¶</a></dt>
179
179
  <dd><p>objのIDに対応するレコードの値を更新します。対応するレコードが存在しない場合は <tt class="docutils literal"><span class="pre">GRN_INVALID_ARGUMENT</span></tt> を返します。</p>
180
180
  <table class="docutils field-list" frame="void" rules="none">
181
181
  <col class="field-name" />
@@ -187,19 +187,19 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
187
187
  <li><strong>value</strong> -- 格納する値を指定します。</li>
188
188
  <li><strong>flags</strong> -- <p>以下の値を指定できます。</p>
189
189
  <table class="hlist"><tr><td><ul>
190
- <li><a class="reference internal" href="#GRN_OBJ_SET" title="GRN_OBJ_SET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_SET</span></tt></a></li>
191
- <li><a class="reference internal" href="#GRN_OBJ_INCR" title="GRN_OBJ_INCR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_INCR</span></tt></a></li>
192
- <li><a class="reference internal" href="#GRN_OBJ_DECR" title="GRN_OBJ_DECR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_DECR</span></tt></a></li>
190
+ <li><a class="reference internal" href="#c.GRN_OBJ_SET" title="GRN_OBJ_SET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_SET</span></tt></a></li>
191
+ <li><a class="reference internal" href="#c.GRN_OBJ_INCR" title="GRN_OBJ_INCR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_INCR</span></tt></a></li>
192
+ <li><a class="reference internal" href="#c.GRN_OBJ_DECR" title="GRN_OBJ_DECR"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_DECR</span></tt></a></li>
193
193
  </ul>
194
194
  </td><td><ul>
195
- <li><a class="reference internal" href="#GRN_OBJ_APPEND" title="GRN_OBJ_APPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_APPEND</span></tt></a></li>
196
- <li><a class="reference internal" href="#GRN_OBJ_PREPEND" title="GRN_OBJ_PREPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_PREPEND</span></tt></a></li>
197
- <li><a class="reference internal" href="#GRN_OBJ_GET" title="GRN_OBJ_GET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_GET</span></tt></a></li>
195
+ <li><a class="reference internal" href="#c.GRN_OBJ_APPEND" title="GRN_OBJ_APPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_APPEND</span></tt></a></li>
196
+ <li><a class="reference internal" href="#c.GRN_OBJ_PREPEND" title="GRN_OBJ_PREPEND"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_PREPEND</span></tt></a></li>
197
+ <li><a class="reference internal" href="#c.GRN_OBJ_GET" title="GRN_OBJ_GET"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_GET</span></tt></a></li>
198
198
  </ul>
199
199
  </td><td><ul>
200
- <li><a class="reference internal" href="#GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a></li>
201
- <li><a class="reference internal" href="#GRN_OBJ_LOCK" title="GRN_OBJ_LOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_LOCK</span></tt></a></li>
202
- <li><a class="reference internal" href="#GRN_OBJ_UNLOCK" title="GRN_OBJ_UNLOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_UNLOCK</span></tt></a></li>
200
+ <li><a class="reference internal" href="#c.GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a></li>
201
+ <li><a class="reference internal" href="#c.GRN_OBJ_LOCK" title="GRN_OBJ_LOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_LOCK</span></tt></a></li>
202
+ <li><a class="reference internal" href="#c.GRN_OBJ_UNLOCK" title="GRN_OBJ_UNLOCK"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_UNLOCK</span></tt></a></li>
203
203
  </ul>
204
204
  </td></tr></table>
205
205
  </li>
@@ -211,67 +211,67 @@ grn_rc <tt class="descname">grn_obj_set_value</tt><big>(</big><a class="referenc
211
211
  </dd></dl>
212
212
 
213
213
  <dl class="macro">
214
- <dt id="GRN_OBJ_SET_MASK">
215
- <tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#GRN_OBJ_SET_MASK" title="この定義へのパーマリンク">¶</a></dt>
214
+ <dt id="c.GRN_OBJ_SET_MASK">
215
+ <tt class="descname">GRN_OBJ_SET_MASK</tt><a class="headerlink" href="#c.GRN_OBJ_SET_MASK" title="この定義へのパーマリンク">¶</a></dt>
216
216
  <dd></dd></dl>
217
217
 
218
218
  <dl class="macro">
219
- <dt id="GRN_OBJ_SET">
220
- <tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#GRN_OBJ_SET" title="この定義へのパーマリンク">¶</a></dt>
219
+ <dt id="c.GRN_OBJ_SET">
220
+ <tt class="descname">GRN_OBJ_SET</tt><a class="headerlink" href="#c.GRN_OBJ_SET" title="この定義へのパーマリンク">¶</a></dt>
221
221
  <dd><p>レコードの値をvalueと置き換えます。</p>
222
222
  </dd></dl>
223
223
 
224
224
  <dl class="macro">
225
- <dt id="GRN_OBJ_INCR">
226
- <tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#GRN_OBJ_INCR" title="この定義へのパーマリンク">¶</a></dt>
225
+ <dt id="c.GRN_OBJ_INCR">
226
+ <tt class="descname">GRN_OBJ_INCR</tt><a class="headerlink" href="#c.GRN_OBJ_INCR" title="この定義へのパーマリンク">¶</a></dt>
227
227
  <dd><p>レコードの値にvalueを加算します。</p>
228
228
  </dd></dl>
229
229
 
230
230
  <dl class="macro">
231
- <dt id="GRN_OBJ_DECR">
232
- <tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#GRN_OBJ_DECR" title="この定義へのパーマリンク">¶</a></dt>
231
+ <dt id="c.GRN_OBJ_DECR">
232
+ <tt class="descname">GRN_OBJ_DECR</tt><a class="headerlink" href="#c.GRN_OBJ_DECR" title="この定義へのパーマリンク">¶</a></dt>
233
233
  <dd><p>レコードの値にvalueを減算します。</p>
234
234
  </dd></dl>
235
235
 
236
236
  <dl class="macro">
237
- <dt id="GRN_OBJ_APPEND">
238
- <tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#GRN_OBJ_APPEND" title="この定義へのパーマリンク">¶</a></dt>
237
+ <dt id="c.GRN_OBJ_APPEND">
238
+ <tt class="descname">GRN_OBJ_APPEND</tt><a class="headerlink" href="#c.GRN_OBJ_APPEND" title="この定義へのパーマリンク">¶</a></dt>
239
239
  <dd><p>レコードの値の末尾にvalueを追加します。</p>
240
240
  </dd></dl>
241
241
 
242
242
  <dl class="macro">
243
- <dt id="GRN_OBJ_PREPEND">
244
- <tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#GRN_OBJ_PREPEND" title="この定義へのパーマリンク">¶</a></dt>
243
+ <dt id="c.GRN_OBJ_PREPEND">
244
+ <tt class="descname">GRN_OBJ_PREPEND</tt><a class="headerlink" href="#c.GRN_OBJ_PREPEND" title="この定義へのパーマリンク">¶</a></dt>
245
245
  <dd><p>レコードの値の先頭にvalueを追加します。</p>
246
246
  </dd></dl>
247
247
 
248
248
  <dl class="macro">
249
- <dt id="GRN_OBJ_GET">
250
- <tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#GRN_OBJ_GET" title="この定義へのパーマリンク">¶</a></dt>
249
+ <dt id="c.GRN_OBJ_GET">
250
+ <tt class="descname">GRN_OBJ_GET</tt><a class="headerlink" href="#c.GRN_OBJ_GET" title="この定義へのパーマリンク">¶</a></dt>
251
251
  <dd><p>新しいレコードの値をvalueにセットします。</p>
252
252
  </dd></dl>
253
253
 
254
254
  <dl class="macro">
255
- <dt id="GRN_OBJ_COMPARE">
256
- <tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#GRN_OBJ_COMPARE" title="この定義へのパーマリンク">¶</a></dt>
255
+ <dt id="c.GRN_OBJ_COMPARE">
256
+ <tt class="descname">GRN_OBJ_COMPARE</tt><a class="headerlink" href="#c.GRN_OBJ_COMPARE" title="この定義へのパーマリンク">¶</a></dt>
257
257
  <dd><p>レコードの値とvalueが等しいか調べます。</p>
258
258
  </dd></dl>
259
259
 
260
260
  <dl class="macro">
261
- <dt id="GRN_OBJ_LOCK">
262
- <tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#GRN_OBJ_LOCK" title="この定義へのパーマリンク">¶</a></dt>
263
- <dd><p>当該レコードをロックします。<a class="reference internal" href="#GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a> と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。</p>
261
+ <dt id="c.GRN_OBJ_LOCK">
262
+ <tt class="descname">GRN_OBJ_LOCK</tt><a class="headerlink" href="#c.GRN_OBJ_LOCK" title="この定義へのパーマリンク">¶</a></dt>
263
+ <dd><p>当該レコードをロックします。<a class="reference internal" href="#c.GRN_OBJ_COMPARE" title="GRN_OBJ_COMPARE"><tt class="xref c c-macro docutils literal"><span class="pre">GRN_OBJ_COMPARE</span></tt></a> と共に指定された場合は、レコードの値とvalueが等しい場合に限ってロックします。</p>
264
264
  </dd></dl>
265
265
 
266
266
  <dl class="macro">
267
- <dt id="GRN_OBJ_UNLOCK">
268
- <tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#GRN_OBJ_UNLOCK" title="この定義へのパーマリンク">¶</a></dt>
267
+ <dt id="c.GRN_OBJ_UNLOCK">
268
+ <tt class="descname">GRN_OBJ_UNLOCK</tt><a class="headerlink" href="#c.GRN_OBJ_UNLOCK" title="この定義へのパーマリンク">¶</a></dt>
269
269
  <dd><p>当該レコードのロックを解除します。</p>
270
270
  </dd></dl>
271
271
 
272
272
  <dl class="function">
273
- <dt id="grn_obj_remove">
274
- grn_rc <tt class="descname">grn_obj_remove</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_remove" title="この定義へのパーマリンク">¶</a></dt>
273
+ <dt id="c.grn_obj_remove">
274
+ grn_rc <tt class="descname">grn_obj_remove</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_remove" title="この定義へのパーマリンク">¶</a></dt>
275
275
  <dd><p>objをメモリから解放し、それが永続オブジェクトであった場合は、該当するファイル一式を削除します。</p>
276
276
  <table class="docutils field-list" frame="void" rules="none">
277
277
  <col class="field-name" />
@@ -287,8 +287,8 @@ grn_rc <tt class="descname">grn_obj_remove</tt><big>(</big><a class="reference i
287
287
  </dd></dl>
288
288
 
289
289
  <dl class="function">
290
- <dt id="grn_obj_rename">
291
- grn_rc <tt class="descname">grn_obj_rename</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, const char<em>&nbsp;*name</em>, unsigned int<em>&nbsp;name_size</em><big>)</big><a class="headerlink" href="#grn_obj_rename" title="この定義へのパーマリンク">¶</a></dt>
290
+ <dt id="c.grn_obj_rename">
291
+ grn_rc <tt class="descname">grn_obj_rename</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, const char<em>&nbsp;*name</em>, unsigned int<em>&nbsp;name_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_rename" title="この定義へのパーマリンク">¶</a></dt>
292
292
  <dd><p>ctxが使用するdbにおいてobjに対応する名前をnameに更新します。objは永続オブジェクトでなければいけません。</p>
293
293
  <table class="docutils field-list" frame="void" rules="none">
294
294
  <col class="field-name" />
@@ -306,10 +306,10 @@ grn_rc <tt class="descname">grn_obj_rename</tt><big>(</big><a class="reference i
306
306
  </dd></dl>
307
307
 
308
308
  <dl class="function">
309
- <dt id="grn_obj_close">
310
- grn_rc <tt class="descname">grn_obj_close</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_close" title="この定義へのパーマリンク">¶</a></dt>
309
+ <dt id="c.grn_obj_close">
310
+ grn_rc <tt class="descname">grn_obj_close</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_close" title="この定義へのパーマリンク">¶</a></dt>
311
311
  <dd><p>一時的なobjectであるobjをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
312
- <p>永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい <a class="reference internal" href="#grn_obj_unlink" title="grn_obj_unlink"><tt class="xref c c-func docutils literal"><span class="pre">grn_obj_unlink()</span></tt></a> を用いるべきです。</p>
312
+ <p>永続的な、table, column, exprなどは解放してはいけません。一般的には、一時的か永続的かを気にしなくてよい <a class="reference internal" href="#c.grn_obj_unlink" title="grn_obj_unlink"><tt class="xref c c-func docutils literal"><span class="pre">grn_obj_unlink()</span></tt></a> を用いるべきです。</p>
313
313
  <table class="docutils field-list" frame="void" rules="none">
314
314
  <col class="field-name" />
315
315
  <col class="field-body" />
@@ -324,8 +324,8 @@ grn_rc <tt class="descname">grn_obj_close</tt><big>(</big><a class="reference in
324
324
  </dd></dl>
325
325
 
326
326
  <dl class="function">
327
- <dt id="grn_obj_reinit">
328
- grn_rc <tt class="descname">grn_obj_reinit</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;domain</em>, unsigned char<em>&nbsp;flags</em><big>)</big><a class="headerlink" href="#grn_obj_reinit" title="この定義へのパーマリンク">¶</a></dt>
327
+ <dt id="c.grn_obj_reinit">
328
+ grn_rc <tt class="descname">grn_obj_reinit</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;domain</em>, unsigned char<em>&nbsp;flags</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_reinit" title="この定義へのパーマリンク">¶</a></dt>
329
329
  <dd><p>objの型を変更します。</p>
330
330
  <p>objは <tt class="xref c c-func docutils literal"><span class="pre">GRN_OBJ_INIT()</span></tt> マクロなどで初期化済みでなければいけません。</p>
331
331
  <table class="docutils field-list" frame="void" rules="none">
@@ -344,14 +344,14 @@ grn_rc <tt class="descname">grn_obj_reinit</tt><big>(</big><a class="reference i
344
344
  </dd></dl>
345
345
 
346
346
  <dl class="function">
347
- <dt id="grn_obj_unlink">
348
- void <tt class="descname">grn_obj_unlink</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_unlink" title="この定義へのパーマリンク">¶</a></dt>
347
+ <dt id="c.grn_obj_unlink">
348
+ void <tt class="descname">grn_obj_unlink</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_unlink" title="この定義へのパーマリンク">¶</a></dt>
349
349
  <dd><p>objをメモリから解放します。objに属するobjectも再帰的にメモリから解放されます。</p>
350
350
  </dd></dl>
351
351
 
352
352
  <dl class="function">
353
- <dt id="grn_obj_path">
354
- const char *<tt class="descname">grn_obj_path</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_path" title="この定義へのパーマリンク">¶</a></dt>
353
+ <dt id="c.grn_obj_path">
354
+ const char *<tt class="descname">grn_obj_path</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_path" title="この定義へのパーマリンク">¶</a></dt>
355
355
  <dd><p>objに対応するファイルパスを返します。一時objectならNULLを返します。</p>
356
356
  <table class="docutils field-list" frame="void" rules="none">
357
357
  <col class="field-name" />
@@ -367,8 +367,8 @@ const char *<tt class="descname">grn_obj_path</tt><big>(</big><a class="referenc
367
367
  </dd></dl>
368
368
 
369
369
  <dl class="function">
370
- <dt id="grn_obj_name">
371
- int <tt class="descname">grn_obj_name</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, char<em>&nbsp;*namebuf</em>, int<em>&nbsp;buf_size</em><big>)</big><a class="headerlink" href="#grn_obj_name" title="この定義へのパーマリンク">¶</a></dt>
370
+ <dt id="c.grn_obj_name">
371
+ int <tt class="descname">grn_obj_name</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, char<em>&nbsp;*namebuf</em>, int<em>&nbsp;buf_size</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_name" title="この定義へのパーマリンク">¶</a></dt>
372
372
  <dd><p>objの名前の長さを返します。無名objectなら0を返します。</p>
373
373
  <p>名前付きのobjectであり、buf_sizeの長さが名前の長以上であった場合は、namebufに該当する名前をコピーします。</p>
374
374
  <table class="docutils field-list" frame="void" rules="none">
@@ -387,9 +387,9 @@ int <tt class="descname">grn_obj_name</tt><big>(</big><a class="reference intern
387
387
  </dd></dl>
388
388
 
389
389
  <dl class="function">
390
- <dt id="grn_obj_get_range">
391
- grn_id <tt class="descname">grn_obj_get_range</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_get_range" title="この定義へのパーマリンク">¶</a></dt>
392
- <dd><p>objパラメータのとる値の範囲を表わしているオブジェクトのIDを返します。例えば、<a class="reference internal" href="grn_type.html#grn_builtin_type" title="grn_builtin_type"><tt class="xref c c-type docutils literal"><span class="pre">grn_builtin_type</span></tt></a> にある <tt class="docutils literal"><span class="pre">GRN_DB_INT</span></tt> などを返します。</p>
390
+ <dt id="c.grn_obj_get_range">
391
+ grn_id <tt class="descname">grn_obj_get_range</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_get_range" title="この定義へのパーマリンク">¶</a></dt>
392
+ <dd><p>objパラメータのとる値の範囲を表わしているオブジェクトのIDを返します。例えば、<a class="reference internal" href="grn_type.html#c.grn_builtin_type" title="grn_builtin_type"><tt class="xref c c-type docutils literal"><span class="pre">grn_builtin_type</span></tt></a> にある <tt class="docutils literal"><span class="pre">GRN_DB_INT</span></tt> などを返します。</p>
393
393
  <table class="docutils field-list" frame="void" rules="none">
394
394
  <col class="field-name" />
395
395
  <col class="field-body" />
@@ -404,8 +404,8 @@ grn_id <tt class="descname">grn_obj_get_range</tt><big>(</big><a class="referenc
404
404
  </dd></dl>
405
405
 
406
406
  <dl class="function">
407
- <dt id="grn_obj_expire">
408
- int <tt class="descname">grn_obj_expire</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, int<em>&nbsp;threshold</em><big>)</big><a class="headerlink" href="#grn_obj_expire" title="この定義へのパーマリンク">¶</a></dt>
407
+ <dt id="c.grn_obj_expire">
408
+ int <tt class="descname">grn_obj_expire</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, int<em>&nbsp;threshold</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_expire" title="この定義へのパーマリンク">¶</a></dt>
409
409
  <dd><p>objの占有するメモリのうち、可能な領域をthresholdを指標として解放します。</p>
410
410
  <table class="docutils field-list" frame="void" rules="none">
411
411
  <col class="field-name" />
@@ -421,8 +421,8 @@ int <tt class="descname">grn_obj_expire</tt><big>(</big><a class="reference inte
421
421
  </dd></dl>
422
422
 
423
423
  <dl class="function">
424
- <dt id="grn_obj_check">
425
- int <tt class="descname">grn_obj_check</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_check" title="この定義へのパーマリンク">¶</a></dt>
424
+ <dt id="c.grn_obj_check">
425
+ int <tt class="descname">grn_obj_check</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_check" title="この定義へのパーマリンク">¶</a></dt>
426
426
  <dd><p>objに対応するファイルの整合性を検査します。</p>
427
427
  <table class="docutils field-list" frame="void" rules="none">
428
428
  <col class="field-name" />
@@ -438,8 +438,8 @@ int <tt class="descname">grn_obj_check</tt><big>(</big><a class="reference inter
438
438
  </dd></dl>
439
439
 
440
440
  <dl class="function">
441
- <dt id="grn_obj_lock">
442
- grn_rc <tt class="descname">grn_obj_lock</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, int<em>&nbsp;timeout</em><big>)</big><a class="headerlink" href="#grn_obj_lock" title="この定義へのパーマリンク">¶</a></dt>
441
+ <dt id="c.grn_obj_lock">
442
+ grn_rc <tt class="descname">grn_obj_lock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em>, int<em>&nbsp;timeout</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_lock" title="この定義へのパーマリンク">¶</a></dt>
443
443
  <dd><p>objをlockします。timeout(秒)経過してもlockを取得できない場合は <tt class="docutils literal"><span class="pre">GRN_RESOURCE_DEADLOCK_AVOIDED</span></tt> を返します。</p>
444
444
  <table class="docutils field-list" frame="void" rules="none">
445
445
  <col class="field-name" />
@@ -455,8 +455,8 @@ grn_rc <tt class="descname">grn_obj_lock</tt><big>(</big><a class="reference int
455
455
  </dd></dl>
456
456
 
457
457
  <dl class="function">
458
- <dt id="grn_obj_unlock">
459
- grn_rc <tt class="descname">grn_obj_unlock</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em><big>)</big><a class="headerlink" href="#grn_obj_unlock" title="この定義へのパーマリンク">¶</a></dt>
458
+ <dt id="c.grn_obj_unlock">
459
+ grn_rc <tt class="descname">grn_obj_unlock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, grn_id<em>&nbsp;id</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_unlock" title="この定義へのパーマリンク">¶</a></dt>
460
460
  <dd><p>objをunlockします。</p>
461
461
  <table class="docutils field-list" frame="void" rules="none">
462
462
  <col class="field-name" />
@@ -472,8 +472,8 @@ grn_rc <tt class="descname">grn_obj_unlock</tt><big>(</big><a class="reference i
472
472
  </dd></dl>
473
473
 
474
474
  <dl class="function">
475
- <dt id="grn_obj_clear_lock">
476
- grn_rc <tt class="descname">grn_obj_clear_lock</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_clear_lock" title="この定義へのパーマリンク">¶</a></dt>
475
+ <dt id="c.grn_obj_clear_lock">
476
+ grn_rc <tt class="descname">grn_obj_clear_lock</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_clear_lock" title="この定義へのパーマリンク">¶</a></dt>
477
477
  <dd><p>強制的にロックをクリアします。</p>
478
478
  <table class="docutils field-list" frame="void" rules="none">
479
479
  <col class="field-name" />
@@ -489,8 +489,8 @@ grn_rc <tt class="descname">grn_obj_clear_lock</tt><big>(</big><a class="referen
489
489
  </dd></dl>
490
490
 
491
491
  <dl class="function">
492
- <dt id="grn_obj_is_locked">
493
- unsigned int <tt class="descname">grn_obj_is_locked</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_is_locked" title="この定義へのパーマリンク">¶</a></dt>
492
+ <dt id="c.grn_obj_is_locked">
493
+ unsigned int <tt class="descname">grn_obj_is_locked</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_is_locked" title="この定義へのパーマリンク">¶</a></dt>
494
494
  <dd><p>objが現在lockされていれば0以外の値を返します。</p>
495
495
  <table class="docutils field-list" frame="void" rules="none">
496
496
  <col class="field-name" />
@@ -506,8 +506,8 @@ unsigned int <tt class="descname">grn_obj_is_locked</tt><big>(</big><a class="re
506
506
  </dd></dl>
507
507
 
508
508
  <dl class="function">
509
- <dt id="grn_obj_defrag">
510
- int <tt class="descname">grn_obj_defrag</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, int<em>&nbsp;threshold</em><big>)</big><a class="headerlink" href="#grn_obj_defrag" title="この定義へのパーマリンク">¶</a></dt>
509
+ <dt id="c.grn_obj_defrag">
510
+ int <tt class="descname">grn_obj_defrag</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em>, int<em>&nbsp;threshold</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_defrag" title="この定義へのパーマリンク">¶</a></dt>
511
511
  <dd><p>objの占有するDBファイル領域のうち、可能な領域をthresholdを指標としてフラグメントの解消を行います。</p>
512
512
  <p>フラグメント解消が実行されたセグメントの数を返します。</p>
513
513
  <table class="docutils field-list" frame="void" rules="none">
@@ -524,8 +524,8 @@ int <tt class="descname">grn_obj_defrag</tt><big>(</big><a class="reference inte
524
524
  </dd></dl>
525
525
 
526
526
  <dl class="function">
527
- <dt id="grn_obj_id">
528
- grn_id <tt class="descname">grn_obj_id</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><big>)</big><a class="headerlink" href="#grn_obj_id" title="この定義へのパーマリンク">¶</a></dt>
527
+ <dt id="c.grn_obj_id">
528
+ grn_id <tt class="descname">grn_obj_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*obj</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_id" title="この定義へのパーマリンク">¶</a></dt>
529
529
  <dd><p>objのidを返します。</p>
530
530
  <table class="docutils field-list" frame="void" rules="none">
531
531
  <col class="field-name" />
@@ -541,8 +541,8 @@ grn_id <tt class="descname">grn_obj_id</tt><big>(</big><a class="reference inter
541
541
  </dd></dl>
542
542
 
543
543
  <dl class="function">
544
- <dt id="grn_obj_delete_by_id">
545
- grn_rc <tt class="descname">grn_obj_delete_by_id</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*db</em>, grn_id<em>&nbsp;id</em>, grn_bool<em>&nbsp;removep</em><big>)</big><a class="headerlink" href="#grn_obj_delete_by_id" title="この定義へのパーマリンク">¶</a></dt>
544
+ <dt id="c.grn_obj_delete_by_id">
545
+ grn_rc <tt class="descname">grn_obj_delete_by_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*db</em>, grn_id<em>&nbsp;id</em>, grn_bool<em>&nbsp;removep</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_delete_by_id" title="この定義へのパーマリンク">¶</a></dt>
546
546
  <dd><p>dbからidに対応するテーブルやカラムなどを削除します。mroonga向けに用意した内部APIです。</p>
547
547
  <table class="docutils field-list" frame="void" rules="none">
548
548
  <col class="field-name" />
@@ -560,8 +560,8 @@ grn_rc <tt class="descname">grn_obj_delete_by_id</tt><big>(</big><a class="refer
560
560
  </dd></dl>
561
561
 
562
562
  <dl class="function">
563
- <dt id="grn_obj_path_by_id">
564
- grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="reference internal" href="grn_ctx.html#grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*db</em>, grn_id<em>&nbsp;id</em>, char<em>&nbsp;*buffer</em><big>)</big><a class="headerlink" href="#grn_obj_path_by_id" title="この定義へのパーマリンク">¶</a></dt>
563
+ <dt id="c.grn_obj_path_by_id">
564
+ grn_rc <tt class="descname">grn_obj_path_by_id</tt><span class="sig-paren">(</span><a class="reference internal" href="grn_ctx.html#c.grn_ctx" title="grn_ctx">grn_ctx</a><em>&nbsp;*ctx</em>, <a class="reference internal" href="#c.grn_obj" title="grn_obj">grn_obj</a><em>&nbsp;*db</em>, grn_id<em>&nbsp;id</em>, char<em>&nbsp;*buffer</em><span class="sig-paren">)</span><a class="headerlink" href="#c.grn_obj_path_by_id" title="この定義へのパーマリンク">¶</a></dt>
565
565
  <dd><p>dbのidに対応するpathを返します。mroonga向けに用意した内部APIです。</p>
566
566
  <table class="docutils field-list" frame="void" rules="none">
567
567
  <col class="field-name" />
@@ -585,30 +585,32 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
585
585
  </div>
586
586
  </div>
587
587
  </div>
588
- <div class="sphinxsidebar">
588
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
589
589
  <div class="sphinxsidebarwrapper">
590
590
  <h3><a href="../../index.html">目次</a></h3>
591
591
  <ul>
592
- <li><a class="reference internal" href="#">8.15.14. <tt class="docutils literal"><span class="pre">grn_obj</span></tt></a><ul>
593
- <li><a class="reference internal" href="#summary">8.15.14.1. 概要</a></li>
594
- <li><a class="reference internal" href="#example">8.15.14.2. 実行例:</a></li>
595
- <li><a class="reference internal" href="#reference">8.15.14.3. リファレンス</a></li>
592
+ <li><a class="reference internal" href="#">8.15.15. <tt class="docutils literal"><span class="pre">grn_obj</span></tt></a><ul>
593
+ <li><a class="reference internal" href="#summary">8.15.15.1. 概要</a></li>
594
+ <li><a class="reference internal" href="#example">8.15.15.2. 実行例:</a></li>
595
+ <li><a class="reference internal" href="#reference">8.15.15.3. リファレンス</a></li>
596
596
  </ul>
597
597
  </li>
598
598
  </ul>
599
599
 
600
600
  <h4>前のトピックへ</h4>
601
601
  <p class="topless"><a href="grn_match_escalation.html"
602
- title="前の章へ">8.15.13. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">grn_match_escalation</span></tt></a></p>
602
+ title="前の章へ">8.15.14. <tt class="docutils literal"><span class="pre">grn_match_escalation</span></tt></a></p>
603
603
  <h4>次のトピックへ</h4>
604
604
  <p class="topless"><a href="grn_proc.html"
605
- title="次の章へ">8.15.15. <tt class="docutils literal"><span class="pre">grn_proc</span></tt></a></p>
606
- <h3>このページ</h3>
607
- <ul class="this-page-menu">
608
- <li><a href="../../_sources/reference/api/grn_obj.txt"
609
- rel="nofollow">ソースコードを表示</a></li>
610
- </ul>
611
- <div id="searchbox" style="display: none">
605
+ title="次の章へ">8.15.16. <tt class="docutils literal"><span class="pre">grn_proc</span></tt></a></p>
606
+ <div role="note" aria-label="source link">
607
+ <h3>このページ</h3>
608
+ <ul class="this-page-menu">
609
+ <li><a href="../../_sources/reference/api/grn_obj.txt"
610
+ rel="nofollow">ソースコードを表示</a></li>
611
+ </ul>
612
+ </div>
613
+ <div id="searchbox" style="display: none" role="search">
612
614
  <h3>クイック検索</h3>
613
615
  <form class="search" action="../../search.html" method="get">
614
616
  <input type="text" name="q" />
@@ -625,25 +627,25 @@ grn_rc <tt class="descname">grn_obj_path_by_id</tt><big>(</big><a class="referen
625
627
  </div>
626
628
  <div class="clearer"></div>
627
629
  </div>
628
- <div class="related">
630
+ <div class="related" role="navigation" aria-label="related navigation">
629
631
  <h3>ナビゲーション</h3>
630
632
  <ul>
631
633
  <li class="right" style="margin-right: 10px">
632
634
  <a href="../../genindex.html" title="総合索引"
633
635
  >索引</a></li>
634
636
  <li class="right" >
635
- <a href="grn_proc.html" title="8.15.15. grn_proc"
637
+ <a href="grn_proc.html" title="8.15.16. grn_proc"
636
638
  >次へ</a> |</li>
637
639
  <li class="right" >
638
- <a href="grn_match_escalation.html" title="8.15.13. grn_match_escalation"
640
+ <a href="grn_match_escalation.html" title="8.15.14. grn_match_escalation"
639
641
  >前へ</a> |</li>
640
- <li><a href="../../index.html">Groonga v3.1.1ドキュメント</a> &raquo;</li>
642
+ <li><a href="../../index.html">Groonga v3.1.1-89-g7f6fcaeドキュメント</a> &raquo;</li>
641
643
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
642
644
  <li><a href="../api.html" >8.15. API</a> &raquo;</li>
643
645
  </ul>
644
646
  </div>
645
- <div class="footer">
646
- &copy; Copyright 2009-2013, Brazil, Inc.
647
+ <div class="footer" role="contentinfo">
648
+ &copy; Copyright 2009-2014, Brazil, Inc.
647
649
  </div>
648
650
  </body>
649
651
  </html>