rroonga 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -39
  3. data/bin/grndump +8 -1
  4. data/doc/text/news.textile +21 -1
  5. data/ext/groonga/extconf.rb +1 -6
  6. data/ext/groonga/rb-grn-table.c +20 -0
  7. data/ext/groonga/rb-grn.h +1 -1
  8. data/ext/groonga/rb-groonga.c +42 -0
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/dumper.rb +7 -3
  13. data/lib/groonga/record.rb +19 -1
  14. data/rroonga-build.rb +5 -5
  15. data/test/test-array.rb +14 -1
  16. data/test/test-database-dumper.rb +68 -83
  17. data/test/test-database.rb +1 -1
  18. data/test/test-double-array-trie.rb +16 -1
  19. data/test/test-hash.rb +16 -1
  20. data/test/test-lock-timeout.rb +29 -0
  21. data/test/test-patricia-trie.rb +16 -1
  22. data/test/test-record.rb +194 -160
  23. data/test/test-variable-size-column.rb +1 -1
  24. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  25. data/vendor/local/bin/groonga.exe +0 -0
  26. data/vendor/local/bin/libgroonga-0.dll +0 -0
  27. data/vendor/local/bin/libmecab-1.dll +0 -0
  28. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  29. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  30. data/vendor/local/bin/mecab-config +2 -2
  31. data/vendor/local/bin/mecab.exe +0 -0
  32. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  33. data/vendor/local/include/groonga/groonga.h +15 -1
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  42. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  45. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  50. data/vendor/local/lib/libgroonga.a +0 -0
  51. data/vendor/local/lib/libgroonga.dll.a +0 -0
  52. data/vendor/local/lib/libgroonga.la +3 -3
  53. data/vendor/local/lib/libmecab.a +0 -0
  54. data/vendor/local/lib/libmecab.dll.a +0 -0
  55. data/vendor/local/lib/libmecab.la +1 -1
  56. data/vendor/local/lib/libmsgpack.a +0 -0
  57. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  58. data/vendor/local/lib/libmsgpack.la +1 -1
  59. data/vendor/local/lib/libmsgpackc.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  61. data/vendor/local/lib/libmsgpackc.la +1 -1
  62. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  63. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  67. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  68. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  69. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  70. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +1 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +2 -2
  73. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +6 -6
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -6
  76. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -6
  77. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  78. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  79. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
  80. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -10
  81. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +10 -9
  82. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +32 -1
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +49 -0
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -0
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +1 -1
  88. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
  89. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +1 -1
  90. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +5 -6
  91. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  92. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  93. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
  94. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +1 -1
  95. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +1 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +5 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
  98. data/vendor/local/share/doc/groonga/en/html/_sources/reference/pseudo_column.txt +1 -1
  99. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
  100. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +4 -4
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +2 -2
  102. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
  103. data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +1 -0
  104. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +1 -0
  106. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -0
  107. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +19 -0
  108. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +3 -0
  109. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
  111. data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
  112. data/vendor/local/share/doc/groonga/en/html/contribution.html +20 -18
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +20 -18
  117. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
  118. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
  120. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
  121. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
  122. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
  123. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
  124. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
  125. data/vendor/local/share/doc/groonga/en/html/development.html +22 -20
  126. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +26 -24
  127. data/vendor/local/share/doc/groonga/en/html/genindex.html +269 -183
  128. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +20 -18
  129. data/vendor/local/share/doc/groonga/en/html/index.html +41 -38
  130. data/vendor/local/share/doc/groonga/en/html/install.html +20 -18
  131. data/vendor/local/share/doc/groonga/en/html/install/centos.html +27 -25
  132. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -24
  133. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +26 -24
  134. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +23 -21
  135. data/vendor/local/share/doc/groonga/en/html/install/others.html +23 -21
  136. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  137. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -28
  138. data/vendor/local/share/doc/groonga/en/html/install/windows.html +29 -27
  139. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  140. data/vendor/local/share/doc/groonga/en/html/news.html +239 -201
  141. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
  142. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  143. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
  144. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +20 -18
  145. data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
  146. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  147. data/vendor/local/share/doc/groonga/en/html/reference.html +41 -38
  148. data/vendor/local/share/doc/groonga/en/html/reference/api.html +46 -43
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +205 -0
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +55 -53
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +78 -76
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +48 -46
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +75 -73
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +54 -52
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +46 -44
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +62 -60
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +46 -44
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +48 -46
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +42 -40
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +46 -44
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +117 -115
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +40 -38
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +80 -78
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +56 -54
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -38
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +36 -34
  170. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
  171. data/vendor/local/share/doc/groonga/en/html/reference/command.html +20 -18
  172. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
  173. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +20 -18
  174. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +20 -18
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +20 -18
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +21 -19
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +20 -18
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +20 -18
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +21 -19
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +20 -18
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +20 -18
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +21 -19
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +20 -18
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +20 -18
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +21 -19
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +20 -18
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +21 -19
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +20 -18
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +20 -18
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +20 -18
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +21 -19
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -18
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +20 -18
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +21 -19
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +21 -19
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +21 -19
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +20 -18
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +20 -18
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +20 -18
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +21 -19
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +20 -18
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +21 -19
  204. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +20 -18
  205. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +23 -21
  206. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -24
  207. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +20 -18
  208. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
  209. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  210. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +20 -18
  212. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -31
  213. data/vendor/local/share/doc/groonga/en/html/reference/function.html +20 -18
  214. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +20 -18
  215. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  216. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +23 -21
  217. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +21 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +21 -19
  219. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +21 -19
  220. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +21 -19
  221. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +20 -18
  222. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
  223. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -21
  224. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +20 -18
  225. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +21 -19
  226. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +20 -18
  227. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +20 -18
  228. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +20 -18
  229. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -18
  230. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +20 -18
  231. data/vendor/local/share/doc/groonga/en/html/reference/output.html +20 -18
  232. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +21 -19
  233. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
  234. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +21 -19
  235. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +24 -22
  236. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
  237. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +22 -20
  238. data/vendor/local/share/doc/groonga/en/html/reference/types.html +21 -19
  239. data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
  240. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  241. data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
  242. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
  243. data/vendor/local/share/doc/groonga/en/html/server/http.html +20 -18
  244. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +20 -18
  245. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
  246. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
  247. data/vendor/local/share/doc/groonga/en/html/server/package.html +20 -18
  248. data/vendor/local/share/doc/groonga/en/html/spec.html +24 -22
  249. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +20 -18
  250. data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
  251. data/vendor/local/share/doc/groonga/en/html/suggest.html +20 -18
  252. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +20 -18
  253. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +20 -18
  254. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +22 -20
  255. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +20 -18
  256. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +20 -18
  257. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
  258. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  259. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  260. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  261. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
  262. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +20 -18
  263. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -18
  264. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
  265. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
  266. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +20 -18
  267. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +20 -18
  268. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
  269. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  270. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -18
  271. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +20 -18
  272. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -0
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +1 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +2 -2
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -10
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +10 -9
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -0
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +32 -1
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +49 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +1 -1
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +1 -1
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +5 -6
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +1 -1
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +1 -1
  299. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +5 -3
  300. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
  301. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/pseudo_column.txt +1 -1
  302. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
  303. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +4 -4
  304. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +2 -2
  305. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
  306. data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +1 -0
  307. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -2
  308. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +1 -0
  309. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -0
  310. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +19 -0
  311. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +3 -0
  312. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  313. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
  314. data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
  315. data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -18
  316. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
  317. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
  318. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
  319. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +20 -18
  320. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
  321. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -18
  322. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
  323. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
  324. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
  325. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
  326. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -18
  327. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
  328. data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
  329. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -18
  330. data/vendor/local/share/doc/groonga/ja/html/genindex.html +274 -183
  331. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +20 -18
  332. data/vendor/local/share/doc/groonga/ja/html/index.html +41 -38
  333. data/vendor/local/share/doc/groonga/ja/html/install.html +20 -18
  334. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +23 -21
  335. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +23 -21
  336. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -21
  337. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +23 -21
  338. data/vendor/local/share/doc/groonga/ja/html/install/others.html +23 -21
  339. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  340. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +23 -21
  341. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -27
  342. data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
  343. data/vendor/local/share/doc/groonga/ja/html/news.html +264 -224
  344. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
  345. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  346. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
  347. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +27 -25
  348. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
  349. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  350. data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -38
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +46 -43
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +206 -0
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -53
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +78 -76
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +48 -46
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -72
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +54 -52
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +46 -44
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +46 -44
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +48 -46
  363. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +42 -40
  364. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +46 -44
  365. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
  366. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +117 -115
  367. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
  368. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +40 -38
  369. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +80 -78
  370. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +56 -54
  371. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -38
  372. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -34
  373. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
  374. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +20 -18
  375. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
  376. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +20 -18
  377. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +20 -18
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +20 -18
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +21 -19
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +20 -18
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +20 -18
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +21 -19
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +20 -18
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +20 -18
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +21 -19
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +20 -18
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +20 -18
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +21 -19
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +20 -18
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +21 -19
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +20 -18
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +20 -18
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -18
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -19
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -18
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +20 -18
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +21 -19
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +21 -19
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +21 -19
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +20 -18
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +20 -18
  402. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +20 -18
  403. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +21 -19
  404. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +20 -18
  405. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +20 -18
  406. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +21 -19
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +20 -18
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -21
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -24
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -18
  411. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
  412. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  413. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +26 -24
  414. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +20 -18
  415. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -31
  416. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +20 -18
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +20 -18
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +23 -21
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +21 -19
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +21 -19
  423. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +21 -19
  424. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -18
  425. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
  426. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -20
  427. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +20 -18
  428. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +22 -20
  429. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +20 -18
  430. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +21 -19
  431. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +22 -20
  432. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -18
  433. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +20 -18
  434. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +22 -20
  435. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +21 -19
  436. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
  437. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +21 -19
  438. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +23 -21
  439. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
  440. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +22 -20
  441. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +21 -19
  442. data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
  443. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  444. data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
  445. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
  446. data/vendor/local/share/doc/groonga/ja/html/server/http.html +20 -18
  447. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +20 -18
  448. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
  449. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
  450. data/vendor/local/share/doc/groonga/ja/html/server/package.html +20 -18
  451. data/vendor/local/share/doc/groonga/ja/html/spec.html +24 -22
  452. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +20 -18
  453. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
  454. data/vendor/local/share/doc/groonga/ja/html/suggest.html +21 -19
  455. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +22 -20
  456. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +22 -20
  457. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +21 -19
  458. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +22 -20
  459. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +20 -18
  460. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
  461. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  462. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -18
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +20 -18
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -18
  468. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
  469. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +20 -18
  470. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +20 -18
  471. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -18
  472. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  473. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -18
  474. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +20 -18
  475. data/vendor/local/share/man/ja/man1/groonga.1 +198 -132
  476. data/vendor/local/share/man/man1/groonga.1 +619 -554
  477. metadata +8 -14
  478. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  479. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  480. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  481. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +0 -199
  482. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +0 -180
  483. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +0 -201
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +0 -200
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +0 -181
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +0 -202
@@ -1,80 +0,0 @@
1
- .. -*- rst -*-
2
-
3
- .. highlightlang:: none
4
-
5
- get
6
- ===
7
-
8
- 名前
9
- ----
10
-
11
- get - 一件のレコードの値の取得
12
-
13
- 書式
14
- ----
15
- ::
16
-
17
- get table [key [output_columns [id]]]
18
-
19
- 説明
20
- ----
21
-
22
- groonga組込コマンドの一つであるgetについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
23
-
24
- getは、使用しているデータベースのテーブルの中の1件のレコードを指定し、カラムの値を取得します。
25
-
26
- 引数
27
- ----
28
-
29
- ``table``
30
-
31
- 値を取得するレコードを含むテーブルの名前を指定します。
32
-
33
- ``key``
34
-
35
- 値を取得するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラメータを指定しても無視されます(idパラメータを代わりに指定します)。
36
-
37
- ``output_columns``
38
-
39
- 出力するカラム名のリストをカンマ(',')区切りで指定します。
40
-
41
- 返値
42
- ---
43
-
44
- 以下のようなjson形式で値が返却されます。
45
-
46
- ::
47
-
48
- [[リターンコード, 処理開始時間, 処理時間], [カラム値1,..]]
49
-
50
- ``リターンコード``
51
-
52
- grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
53
- 文字列が返されます。
54
-
55
- ``処理開始時間``
56
-
57
- 処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。
58
-
59
- ``処理時間``
60
-
61
- 処理にかかった秒数を返します。
62
-
63
- ``カラム値n``
64
-
65
- output_columnsで指定されたカラムの値。
66
-
67
-
68
- --
69
-
70
- テーブルEntryから主キー値が"abandon"であるレコードのbodyカラムの値を取得します。::
71
-
72
- get Entry abandon body
73
-
74
- [[0,1268211658.00739,0.000361],["放棄する"]]
75
-
76
-
77
- 関連項目
78
- --------
79
-
80
- :doc:`load`
@@ -1,105 +0,0 @@
1
- .. -*- rst -*-
2
-
3
- .. highlightlang:: none
4
-
5
- set
6
- ===
7
-
8
- 名前
9
- ----
10
-
11
- set - 一件のレコードの値の更新
12
-
13
- 書式
14
- ----
15
- ::
16
-
17
- set table [key [columns [values [output_columns [id]]]]]
18
-
19
- 説明
20
- ----
21
-
22
- groonga組込コマンドの一つであるsetについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
23
-
24
- setは、使用しているデータベースのテーブルの中の1件のレコードについて、カラムの値を更新し、更新したカラムの値を返却します。
25
-
26
- 引数
27
- ----
28
-
29
- ``table``
30
-
31
- 値を更新しようとするレコードを含むテーブルの名前を指定します。
32
-
33
- ``key``
34
-
35
- 値を変更するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラメータを指定しても無視されます(idパラメータを代わりに指定します)。
36
-
37
- ``columns``
38
-
39
- テーブルに登録するレコードに値を設定するカラム名のリストを指定します。
40
-
41
- ``values``
42
-
43
- 登録するレコードの値を表現した文字列を渡します。
44
-
45
- 以下のいずれかの形式が使用できます。
46
-
47
- ``形式1``
48
- [カラム値1, カラム値2,..]
49
-
50
- ``形式2``
51
- {カラム名1: カラム値1, カラム名2: カラム値2}
52
-
53
- 形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効です。
54
-
55
- ``output_columns``
56
-
57
- 出力するカラム名のリストをカンマ(',')区切りで指定します。
58
-
59
- ``id``
60
-
61
- レコードIDによってレコードを指定します。idパラメータを指定する場合は、keyパラメータを指定してはいけません。
62
-
63
- 返値
64
- ---
65
-
66
- 以下のようなjson形式で値が返却されます。
67
-
68
- ::
69
-
70
- [[リターンコード, 処理開始時間, 処理時間], [新規追加, [カラム値1, ...]]]
71
-
72
- ``リターンコード``
73
-
74
- grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
75
- 文字列が返されます。
76
-
77
- ``処理開始時間``
78
-
79
- 処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。
80
-
81
- ``処理時間``
82
-
83
- 処理にかかった秒数を返します。
84
-
85
- ``新規追加``
86
-
87
- レコードが追加されたかどうかを判定する。
88
-
89
- ``カラム値n``
90
-
91
- output_columnsで指定されたカラムの値。
92
-
93
-
94
- --
95
-
96
- テーブルEntryにレコードを登録します。::
97
-
98
- set Entry abandon body 放棄する
99
-
100
- [[0,1268208665.67547,0.045],[]]
101
-
102
- 関連項目
103
- --------
104
-
105
- :doc:`load`
@@ -1,200 +0,0 @@
1
-
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
-
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml">
7
- <head>
8
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
-
10
- <title>add &mdash; Groonga v3.1.0-121-g24b7c84ドキュメント</title>
11
-
12
- <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
- <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
14
-
15
- <script type="text/javascript">
16
- var DOCUMENTATION_OPTIONS = {
17
- URL_ROOT: '../../',
18
- VERSION: '3.1.0-121-g24b7c84',
19
- COLLAPSE_INDEX: false,
20
- FILE_SUFFIX: '.html',
21
- HAS_SOURCE: true
22
- };
23
- </script>
24
- <script type="text/javascript" src="../../_static/jquery.js"></script>
25
- <script type="text/javascript" src="../../_static/underscore.js"></script>
26
- <script type="text/javascript" src="../../_static/doctools.js"></script>
27
- <script type="text/javascript" src="../../_static/translations.js"></script>
28
- <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v3.1.0-121-g24b7c84ドキュメント" href="../../index.html" />
30
- </head>
31
- <body>
32
- <div class="header">
33
- <h1 class="title">
34
- <a id="top-link" href="../../index.html">
35
- <span class="project">groonga</span>
36
- <span class="separator">-</span>
37
- <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
38
- </a>
39
- </h1>
40
-
41
- <div class="other-language-links">
42
- <ul>
43
- <li><a href="../../../../en/html/reference/commands_not_implemented/add.html"><img src="../../_static/us.png" alt="English">English page</a></li>
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- <div class="related">
50
- <h3>ナビゲーション</h3>
51
- <ul>
52
- <li class="right" style="margin-right: 10px">
53
- <a href="../../genindex.html" title="総合索引"
54
- accesskey="I">索引</a></li>
55
- <li><a href="../../index.html">Groonga v3.1.0-121-g24b7c84ドキュメント</a> &raquo;</li>
56
- </ul>
57
- </div>
58
-
59
- <div class="document">
60
- <div class="documentwrapper">
61
- <div class="bodywrapper">
62
- <div class="body">
63
-
64
- <div class="section" id="add">
65
- <h1>add<a class="headerlink" href="#add" title="このヘッドラインへのパーマリンク">¶</a></h1>
66
- <div class="section" id="id1">
67
- <h2>名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
68
- <p>add - 一件のレコードの追加</p>
69
- </div>
70
- <div class="section" id="id2">
71
- <h2>書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
72
- <div class="highlight-none"><div class="highlight"><pre>add table [key [columns [values [output_columns]]]]
73
- </pre></div>
74
- </div>
75
- </div>
76
- <div class="section" id="id3">
77
- <h2>説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
78
- <p><strong>未実装です</strong></p>
79
- <p>groonga組込コマンドの一つであるaddについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
80
- <p>addは、使用しているデータベースのテーブルに1件のレコードを登録し、カラムの値を更新し、更新したカラムの値を返却します。</p>
81
- </div>
82
- <div class="section" id="id4">
83
- <h2>引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
85
- <blockquote>
86
- <div>レコードを追加しようとするテーブルの名前を指定します。</div></blockquote>
87
- <p><tt class="docutils literal"><span class="pre">key</span></tt></p>
88
- <blockquote>
89
- <div>登録するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラメータを指定する必要はなく、指定された場合は無視されます。</div></blockquote>
90
- <p><tt class="docutils literal"><span class="pre">columns</span></tt></p>
91
- <blockquote>
92
- <div>テーブルに登録するレコードに値を設定するカラム名のリストを指定します。</div></blockquote>
93
- <p><tt class="docutils literal"><span class="pre">values</span></tt></p>
94
- <blockquote>
95
- <div><p>登録するレコードの値を表現した文字列を渡します。</p>
96
- <p>以下のいずれかの形式が使用できます。</p>
97
- <dl class="docutils">
98
- <dt><tt class="docutils literal"><span class="pre">形式1</span></tt></dt>
99
- <dd>[カラム値1, カラム値2,..]</dd>
100
- <dt><tt class="docutils literal"><span class="pre">形式2</span></tt></dt>
101
- <dd>{カラム名1: カラム値1, カラム名2: カラム値2}</dd>
102
- </dl>
103
- <p>形式1の[カラム名1, カラム名2,..]の要素はcolumns引数が省略された場合のみ有効です。</p>
104
- </div></blockquote>
105
- <p><tt class="docutils literal"><span class="pre">output_columns</span></tt></p>
106
- <blockquote>
107
- <div>出力するカラム名のリストをカンマ(',')区切りで指定します。</div></blockquote>
108
- <p>返値
109
- ---</p>
110
- <p>以下のようなjson形式で値が返却されます。</p>
111
- <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], 新規追加、[カラム値1, ...]]
112
- </pre></div>
113
- </div>
114
- <p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
115
- <blockquote>
116
- <div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
117
- 文字列が返されます。</div></blockquote>
118
- <p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
119
- <blockquote>
120
- <div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
121
- <p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
122
- <blockquote>
123
- <div>処理にかかった秒数を返します。</div></blockquote>
124
- <p><tt class="docutils literal"><span class="pre">新規追加</span></tt></p>
125
- <blockquote>
126
- <div>レコードが追加されたかどうかを判定する。</div></blockquote>
127
- <p><tt class="docutils literal"><span class="pre">カラム値n</span></tt></p>
128
- <blockquote>
129
- <div>output_columnsで指定されたカラムの値。</div></blockquote>
130
- </div>
131
- <div class="section" id="id5">
132
- <h2>例<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
133
- <p>テーブルEntryにレコードを登録します。:</p>
134
- <div class="highlight-none"><div class="highlight"><pre>add Entry abandon body 放棄する
135
-
136
- [[0,1268208665.67547,0.045],true,[]]
137
- </pre></div>
138
- </div>
139
- </div>
140
- <div class="section" id="id6">
141
- <h2>関連項目<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
142
- <p><tt class="xref doc docutils literal"><span class="pre">load</span></tt></p>
143
- </div>
144
- </div>
145
-
146
-
147
- </div>
148
- </div>
149
- </div>
150
- <div class="sphinxsidebar">
151
- <div class="sphinxsidebarwrapper">
152
- <h3><a href="../../index.html">目次</a></h3>
153
- <ul>
154
- <li><a class="reference internal" href="#">add</a><ul>
155
- <li><a class="reference internal" href="#id1">名前</a></li>
156
- <li><a class="reference internal" href="#id2">書式</a></li>
157
- <li><a class="reference internal" href="#id3">説明</a></li>
158
- <li><a class="reference internal" href="#id4">引数</a></li>
159
- <li><a class="reference internal" href="#id5">例</a></li>
160
- <li><a class="reference internal" href="#id6">関連項目</a></li>
161
- </ul>
162
- </li>
163
- </ul>
164
-
165
- <h3>このページ</h3>
166
- <ul class="this-page-menu">
167
- <li><a href="../../_sources/reference/commands_not_implemented/add.txt"
168
- rel="nofollow">ソースコードを表示</a></li>
169
- </ul>
170
- <div id="searchbox" style="display: none">
171
- <h3>クイック検索</h3>
172
- <form class="search" action="../../search.html" method="get">
173
- <input type="text" name="q" />
174
- <input type="submit" value="検索" />
175
- <input type="hidden" name="check_keywords" value="yes" />
176
- <input type="hidden" name="area" value="default" />
177
- </form>
178
- <p class="searchtip" style="font-size: 90%">
179
- モジュール、クラス、または関数名を入力してください
180
- </p>
181
- </div>
182
- <script type="text/javascript">$('#searchbox').show(0);</script>
183
- </div>
184
- </div>
185
- <div class="clearer"></div>
186
- </div>
187
- <div class="related">
188
- <h3>ナビゲーション</h3>
189
- <ul>
190
- <li class="right" style="margin-right: 10px">
191
- <a href="../../genindex.html" title="総合索引"
192
- >索引</a></li>
193
- <li><a href="../../index.html">Groonga v3.1.0-121-g24b7c84ドキュメント</a> &raquo;</li>
194
- </ul>
195
- </div>
196
- <div class="footer">
197
- &copy; Copyright 2009-2013, Brazil, Inc.
198
- </div>
199
- </body>
200
- </html>
@@ -1,181 +0,0 @@
1
-
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
-
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml">
7
- <head>
8
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
-
10
- <title>get &mdash; Groonga v3.1.0-121-g24b7c84ドキュメント</title>
11
-
12
- <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
- <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
14
-
15
- <script type="text/javascript">
16
- var DOCUMENTATION_OPTIONS = {
17
- URL_ROOT: '../../',
18
- VERSION: '3.1.0-121-g24b7c84',
19
- COLLAPSE_INDEX: false,
20
- FILE_SUFFIX: '.html',
21
- HAS_SOURCE: true
22
- };
23
- </script>
24
- <script type="text/javascript" src="../../_static/jquery.js"></script>
25
- <script type="text/javascript" src="../../_static/underscore.js"></script>
26
- <script type="text/javascript" src="../../_static/doctools.js"></script>
27
- <script type="text/javascript" src="../../_static/translations.js"></script>
28
- <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v3.1.0-121-g24b7c84ドキュメント" href="../../index.html" />
30
- </head>
31
- <body>
32
- <div class="header">
33
- <h1 class="title">
34
- <a id="top-link" href="../../index.html">
35
- <span class="project">groonga</span>
36
- <span class="separator">-</span>
37
- <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
38
- </a>
39
- </h1>
40
-
41
- <div class="other-language-links">
42
- <ul>
43
- <li><a href="../../../../en/html/reference/commands_not_implemented/get.html"><img src="../../_static/us.png" alt="English">English page</a></li>
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- <div class="related">
50
- <h3>ナビゲーション</h3>
51
- <ul>
52
- <li class="right" style="margin-right: 10px">
53
- <a href="../../genindex.html" title="総合索引"
54
- accesskey="I">索引</a></li>
55
- <li><a href="../../index.html">Groonga v3.1.0-121-g24b7c84ドキュメント</a> &raquo;</li>
56
- </ul>
57
- </div>
58
-
59
- <div class="document">
60
- <div class="documentwrapper">
61
- <div class="bodywrapper">
62
- <div class="body">
63
-
64
- <div class="section" id="get">
65
- <h1>get<a class="headerlink" href="#get" title="このヘッドラインへのパーマリンク">¶</a></h1>
66
- <div class="section" id="id1">
67
- <h2>名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
68
- <p>get - 一件のレコードの値の取得</p>
69
- </div>
70
- <div class="section" id="id2">
71
- <h2>書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
72
- <div class="highlight-none"><div class="highlight"><pre>get table [key [output_columns [id]]]
73
- </pre></div>
74
- </div>
75
- </div>
76
- <div class="section" id="id3">
77
- <h2>説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
78
- <p>groonga組込コマンドの一つであるgetについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
79
- <p>getは、使用しているデータベースのテーブルの中の1件のレコードを指定し、カラムの値を取得します。</p>
80
- </div>
81
- <div class="section" id="id4">
82
- <h2>引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
84
- <blockquote>
85
- <div>値を取得するレコードを含むテーブルの名前を指定します。</div></blockquote>
86
- <p><tt class="docutils literal"><span class="pre">key</span></tt></p>
87
- <blockquote>
88
- <div>値を取得するレコードの主キー値を指定します。主キーなしのテーブルの場合はこのパラメータを指定しても無視されます(idパラメータを代わりに指定します)。</div></blockquote>
89
- <p><tt class="docutils literal"><span class="pre">output_columns</span></tt></p>
90
- <blockquote>
91
- <div>出力するカラム名のリストをカンマ(',')区切りで指定します。</div></blockquote>
92
- <p>返値
93
- ---</p>
94
- <p>以下のようなjson形式で値が返却されます。</p>
95
- <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [カラム値1,..]]
96
- </pre></div>
97
- </div>
98
- <p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
99
- <blockquote>
100
- <div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
101
- 文字列が返されます。</div></blockquote>
102
- <p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
103
- <blockquote>
104
- <div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
105
- <p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
106
- <blockquote>
107
- <div>処理にかかった秒数を返します。</div></blockquote>
108
- <p><tt class="docutils literal"><span class="pre">カラム値n</span></tt></p>
109
- <blockquote>
110
- <div>output_columnsで指定されたカラムの値。</div></blockquote>
111
- </div>
112
- <div class="section" id="id5">
113
- <h2>例<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
114
- <p>テーブルEntryから主キー値が&quot;abandon&quot;であるレコードのbodyカラムの値を取得します。:</p>
115
- <div class="highlight-none"><div class="highlight"><pre>get Entry abandon body
116
-
117
- [[0,1268211658.00739,0.000361],[&quot;放棄する&quot;]]
118
- </pre></div>
119
- </div>
120
- </div>
121
- <div class="section" id="id6">
122
- <h2>関連項目<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
123
- <p><tt class="xref doc docutils literal"><span class="pre">load</span></tt></p>
124
- </div>
125
- </div>
126
-
127
-
128
- </div>
129
- </div>
130
- </div>
131
- <div class="sphinxsidebar">
132
- <div class="sphinxsidebarwrapper">
133
- <h3><a href="../../index.html">目次</a></h3>
134
- <ul>
135
- <li><a class="reference internal" href="#">get</a><ul>
136
- <li><a class="reference internal" href="#id1">名前</a></li>
137
- <li><a class="reference internal" href="#id2">書式</a></li>
138
- <li><a class="reference internal" href="#id3">説明</a></li>
139
- <li><a class="reference internal" href="#id4">引数</a></li>
140
- <li><a class="reference internal" href="#id5">例</a></li>
141
- <li><a class="reference internal" href="#id6">関連項目</a></li>
142
- </ul>
143
- </li>
144
- </ul>
145
-
146
- <h3>このページ</h3>
147
- <ul class="this-page-menu">
148
- <li><a href="../../_sources/reference/commands_not_implemented/get.txt"
149
- rel="nofollow">ソースコードを表示</a></li>
150
- </ul>
151
- <div id="searchbox" style="display: none">
152
- <h3>クイック検索</h3>
153
- <form class="search" action="../../search.html" method="get">
154
- <input type="text" name="q" />
155
- <input type="submit" value="検索" />
156
- <input type="hidden" name="check_keywords" value="yes" />
157
- <input type="hidden" name="area" value="default" />
158
- </form>
159
- <p class="searchtip" style="font-size: 90%">
160
- モジュール、クラス、または関数名を入力してください
161
- </p>
162
- </div>
163
- <script type="text/javascript">$('#searchbox').show(0);</script>
164
- </div>
165
- </div>
166
- <div class="clearer"></div>
167
- </div>
168
- <div class="related">
169
- <h3>ナビゲーション</h3>
170
- <ul>
171
- <li class="right" style="margin-right: 10px">
172
- <a href="../../genindex.html" title="総合索引"
173
- >索引</a></li>
174
- <li><a href="../../index.html">Groonga v3.1.0-121-g24b7c84ドキュメント</a> &raquo;</li>
175
- </ul>
176
- </div>
177
- <div class="footer">
178
- &copy; Copyright 2009-2013, Brazil, Inc.
179
- </div>
180
- </body>
181
- </html>