rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32

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