rroonga 6.1.3-x86-mingw32 → 7.0.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -0
  3. data/doc/text/news.md +28 -0
  4. data/ext/groonga/rb-grn-column.c +53 -32
  5. data/ext/groonga/rb-grn-context.c +1 -1
  6. data/ext/groonga/rb-grn-data-column.c +103 -0
  7. data/ext/groonga/rb-grn-default-cache.c +104 -0
  8. data/ext/groonga/rb-grn-index-column.c +93 -15
  9. data/ext/groonga/rb-grn-inverted-index-cursor.c +269 -0
  10. data/ext/groonga/rb-grn-object.c +1 -1
  11. data/ext/groonga/rb-grn-plugin.c +1 -1
  12. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  13. data/ext/groonga/rb-grn-table-key-support.c +6 -0
  14. data/ext/groonga/rb-grn-table.c +0 -3
  15. data/ext/groonga/rb-grn-utils.c +35 -7
  16. data/ext/groonga/rb-grn.h +13 -4
  17. data/ext/groonga/rb-groonga.c +2 -0
  18. data/lib/2.1/groonga.so +0 -0
  19. data/lib/2.2/groonga.so +0 -0
  20. data/lib/2.3/groonga.so +0 -0
  21. data/rroonga-build.rb +7 -7
  22. data/rroonga.gemspec +2 -1
  23. data/test/test-data-column.rb +71 -2
  24. data/test/test-default-cache.rb +43 -0
  25. data/test/test-double-array-trie.rb +7 -0
  26. data/test/test-fix-size-column.rb +12 -0
  27. data/test/test-hash.rb +7 -0
  28. data/test/test-index-column.rb +12 -0
  29. data/test/test-index-cursor.rb +93 -28
  30. data/test/test-patricia-trie.rb +7 -0
  31. data/test/test-variable-size-column.rb +19 -0
  32. data/vendor/local/bin/grndb.exe +0 -0
  33. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  34. data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
  35. data/vendor/local/bin/groonga.exe +0 -0
  36. data/vendor/local/bin/libgroonga-0.dll +0 -0
  37. data/vendor/local/bin/libmecab-2.dll +0 -0
  38. data/vendor/local/bin/libmsgpackc.dll +0 -0
  39. data/vendor/local/bin/libonigmo-6.dll +0 -0
  40. data/vendor/local/bin/libpcre-1.dll +0 -0
  41. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  42. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  43. data/vendor/local/bin/lz4.exe +0 -0
  44. data/vendor/local/bin/lz4c.exe +0 -0
  45. data/vendor/local/bin/lz4cat +0 -0
  46. data/vendor/local/bin/mecab-config +2 -2
  47. data/vendor/local/bin/mecab.exe +0 -0
  48. data/vendor/local/bin/onigmo-config +2 -2
  49. data/vendor/local/bin/pcre-config +1 -1
  50. data/vendor/local/bin/pcregrep.exe +0 -0
  51. data/vendor/local/bin/pcretest.exe +0 -0
  52. data/vendor/local/bin/zlib1.dll +0 -0
  53. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +16 -3
  54. data/vendor/local/include/groonga/groonga.h +2 -1
  55. data/vendor/local/include/groonga/groonga/cache.h +49 -0
  56. data/vendor/local/include/groonga/groonga/column.h +1 -1
  57. data/vendor/local/include/groonga/groonga/groonga.h +26 -16
  58. data/vendor/local/include/groonga/groonga/ii.h +7 -1
  59. data/vendor/local/include/groonga/groonga/obj.h +8 -1
  60. data/vendor/local/include/groonga/groonga/plugin.h +6 -1
  61. data/vendor/local/include/groonga/groonga/table.h +5 -0
  62. data/vendor/local/include/groonga/groonga/util.h +4 -1
  63. data/vendor/local/include/groonga/groonga/window_function.h +5 -1
  64. data/vendor/local/include/onigmo.h +6 -5
  65. data/vendor/local/include/zconf.h +32 -9
  66. data/vendor/local/include/zlib.h +298 -154
  67. data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
  69. data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/functions/number.la +2 -2
  71. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/functions/string.la +2 -2
  75. data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
  76. data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
  77. data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
  78. data/vendor/local/lib/groonga/plugins/functions/time.la +2 -2
  79. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  80. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  81. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  82. data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
  83. data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
  84. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
  85. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
  86. data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
  87. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  88. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  89. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  90. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  91. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +2 -2
  92. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +2 -2
  93. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +2 -2
  94. data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +392 -53
  95. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +1 -2
  96. data/vendor/local/lib/groonga/plugins/sharding/range_expression_builder.rb +37 -14
  97. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  98. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  99. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  100. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  101. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  102. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  103. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  104. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
  105. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  106. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  107. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  108. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  109. data/vendor/local/lib/groonga/scripts/ruby/command.rb +0 -1
  110. data/vendor/local/lib/groonga/scripts/ruby/command_input.rb +15 -0
  111. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +1 -0
  112. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +2 -136
  113. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +12 -1
  114. data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +1 -1
  115. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
  116. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +7 -8
  117. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +234 -80
  118. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +185 -0
  119. data/vendor/local/lib/groonga/scripts/ruby/table.rb +27 -2
  120. data/vendor/local/lib/libgroonga.a +0 -0
  121. data/vendor/local/lib/libgroonga.dll.a +0 -0
  122. data/vendor/local/lib/libgroonga.la +2 -2
  123. data/vendor/local/lib/liblz4.a +0 -0
  124. data/vendor/local/lib/liblz4.dll +0 -0
  125. data/vendor/local/lib/liblz4.dll.1 +0 -0
  126. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  127. data/vendor/local/lib/libmecab.a +0 -0
  128. data/vendor/local/lib/libmecab.dll.a +0 -0
  129. data/vendor/local/lib/libmecab.la +2 -2
  130. data/vendor/local/lib/libmsgpackc.a +0 -0
  131. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  132. data/vendor/local/lib/libonigmo.a +0 -0
  133. data/vendor/local/lib/libonigmo.dll.a +0 -0
  134. data/vendor/local/lib/libonigmo.la +3 -3
  135. data/vendor/local/lib/libpcre.a +0 -0
  136. data/vendor/local/lib/libpcre.dll.a +0 -0
  137. data/vendor/local/lib/libpcre.la +2 -2
  138. data/vendor/local/lib/libpcrecpp.a +0 -0
  139. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  140. data/vendor/local/lib/libpcrecpp.la +2 -2
  141. data/vendor/local/lib/libpcreposix.a +0 -0
  142. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  143. data/vendor/local/lib/libpcreposix.la +2 -2
  144. data/vendor/local/lib/libz.a +0 -0
  145. data/vendor/local/lib/libz.dll.a +0 -0
  146. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  147. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  148. data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
  149. data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
  150. data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
  151. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  152. data/vendor/local/lib/pkgconfig/onigmo.pc +7 -7
  153. data/vendor/local/lib/pkgconfig/zlib.pc +4 -4
  154. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  155. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  156. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  157. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  158. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  159. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  160. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +11 -2
  161. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +13 -47
  162. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -5
  163. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
  164. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  165. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  166. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  167. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
  168. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  169. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +181 -891
  170. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +2 -1
  171. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +11 -9
  172. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +4 -4
  173. data/vendor/local/share/doc/groonga/en/html/_sources/news/5.x.txt +2 -2
  174. data/vendor/local/share/doc/groonga/en/html/_sources/news/6.x.txt +1086 -0
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +1 -1
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +45 -19
  178. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +632 -91
  179. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +514 -0
  180. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +902 -55
  181. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +5 -3
  182. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
  183. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +71 -23
  184. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
  185. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
  186. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +51 -25
  187. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_records.txt +195 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +100 -15
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/string_length.txt +33 -0
  190. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_new.txt +38 -0
  191. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
  192. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
  193. data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +6 -6
  194. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_function.txt +22 -0
  195. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/record_number.txt +28 -0
  196. data/vendor/local/share/doc/groonga/en/html/_sources/reference/window_functions/window_record_number.txt +25 -0
  197. data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions/record_number.txt → en/html/_sources/reference/window_functions/window_sum.txt} +5 -3
  198. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +3 -3
  199. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -93
  212. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/genindex.html +326 -251
  222. data/vendor/local/share/doc/groonga/en/html/index.html +111 -104
  223. data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
  224. data/vendor/local/share/doc/groonga/en/html/install/centos.html +24 -65
  225. data/vendor/local/share/doc/groonga/en/html/install/debian.html +12 -11
  226. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +9 -9
  227. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  228. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  229. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  230. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -9
  231. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  232. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/news.html +213 -898
  234. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +7 -6
  238. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +16 -14
  240. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +9 -9
  241. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/news/5.x.html +7 -7
  243. data/vendor/local/share/doc/groonga/en/html/news/6.x.html +1148 -0
  244. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  246. data/vendor/local/share/doc/groonga/en/html/reference.html +90 -82
  247. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +23 -23
  248. data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -39
  249. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
  250. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  251. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
  252. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  253. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +22 -22
  254. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  255. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  256. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  257. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  258. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  259. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  260. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  261. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  262. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  263. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  264. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
  265. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  266. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  267. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  268. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  269. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +24 -24
  270. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  271. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
  272. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +24 -24
  273. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +22 -22
  274. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  281. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  282. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  283. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +5 -5
  284. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
  285. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +6 -6
  286. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  287. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  288. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  289. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  290. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
  291. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  292. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  293. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  294. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  295. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +5 -5
  296. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +5 -5
  298. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  300. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  303. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
  304. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  305. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +61 -17
  309. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +1727 -408
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +526 -33
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +5 -5
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +5 -5
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +5 -5
  326. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  329. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +5 -5
  330. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  332. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  333. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1685 -492
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +5 -5
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  348. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +19 -19
  349. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  350. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  351. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +14 -14
  352. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +32 -32
  353. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -34
  354. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  355. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  356. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +24 -24
  357. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +23 -23
  358. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +107 -82
  359. data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -23
  360. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  361. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  362. data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +5 -5
  363. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  364. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  365. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  366. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  367. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
  368. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +10 -10
  369. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +355 -0
  370. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +30 -30
  371. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +25 -25
  372. data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +23 -23
  373. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +31 -31
  374. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +155 -55
  375. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +28 -28
  376. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +15 -15
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/{record_number.html → string_length.html} +36 -31
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +24 -24
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +23 -23
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +23 -23
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +23 -23
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +23 -23
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +23 -23
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +23 -23
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +24 -24
  387. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +170 -0
  388. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +28 -28
  389. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +24 -24
  390. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  391. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +36 -26
  392. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +27 -15
  393. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
  394. data/vendor/local/share/doc/groonga/en/html/reference/log.html +29 -29
  395. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  396. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -17
  397. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -20
  398. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +26 -26
  399. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  400. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  401. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  402. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
  403. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
  404. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
  405. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
  406. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +23 -23
  407. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +33 -33
  408. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +32 -32
  409. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +28 -28
  410. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +26 -26
  411. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +28 -28
  412. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  413. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  414. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  415. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
  416. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  417. data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +147 -0
  418. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +164 -0
  419. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +163 -0
  420. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +163 -0
  421. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  422. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  423. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  424. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  425. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  426. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  427. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  428. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  429. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  430. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  431. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  432. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  433. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  434. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  435. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  436. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  437. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  438. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  439. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  440. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  441. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  442. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  443. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  444. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  445. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  446. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  447. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +8 -8
  448. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +11 -2
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +13 -47
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -5
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +181 -891
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +2 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +11 -9
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +4 -4
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/news/5.x.txt +2 -2
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/news/6.x.txt +1086 -0
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +1 -1
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +45 -19
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +632 -91
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +514 -0
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +902 -55
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +5 -3
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +11 -9
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +71 -23
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +2 -0
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +8 -6
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +51 -25
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_records.txt +195 -0
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +100 -15
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/string_length.txt +33 -0
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_new.txt +38 -0
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +35 -7
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +24 -10
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +6 -6
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_function.txt +22 -0
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/record_number.txt +28 -0
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/window_functions/window_record_number.txt +25 -0
  487. data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions/record_number.txt → ja/html/_sources/reference/window_functions/window_sum.txt} +5 -3
  488. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +3 -3
  489. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  490. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  491. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  492. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  493. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  494. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  495. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  496. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  497. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  498. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  500. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  501. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -93
  502. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  503. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  504. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  505. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  506. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  508. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  509. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  510. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  511. data/vendor/local/share/doc/groonga/ja/html/genindex.html +186 -118
  512. data/vendor/local/share/doc/groonga/ja/html/index.html +111 -104
  513. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
  514. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +24 -61
  515. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +12 -11
  516. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
  517. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  518. data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
  519. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  520. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -9
  521. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  522. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  523. data/vendor/local/share/doc/groonga/ja/html/news.html +132 -761
  524. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  528. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +10 -10
  530. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +9 -9
  531. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
  532. data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +6 -6
  533. data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +1064 -0
  534. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  535. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  536. data/vendor/local/share/doc/groonga/ja/html/reference.html +90 -82
  537. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +23 -23
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -39
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +22 -22
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
  546. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
  547. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
  548. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
  549. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
  550. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
  551. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
  552. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
  553. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
  554. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
  555. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
  556. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
  557. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
  558. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
  559. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +24 -24
  560. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
  561. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
  562. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +24 -24
  563. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +22 -22
  564. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  567. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  573. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +5 -5
  574. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
  575. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +6 -6
  576. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +5 -5
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +5 -5
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +5 -5
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  590. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  591. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  592. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  593. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
  594. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  595. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +5 -5
  596. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
  597. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +5 -5
  598. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +67 -17
  599. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  600. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  601. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
  602. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
  603. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
  604. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +1629 -383
  605. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
  606. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +6 -6
  607. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  608. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  609. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
  610. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +508 -33
  611. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +5 -5
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +5 -5
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +5 -5
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  617. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
  618. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  619. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +5 -5
  620. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
  621. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  622. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  623. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +5 -5
  624. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1606 -478
  625. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  626. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  627. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  628. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +5 -5
  629. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  630. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  631. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  632. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
  633. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
  634. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
  635. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  636. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  637. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  638. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +19 -19
  639. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  640. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  641. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +14 -14
  642. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +32 -32
  643. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +76 -48
  644. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  645. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  646. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +24 -24
  647. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -23
  648. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +103 -82
  649. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -23
  650. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  651. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  652. data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +5 -5
  653. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  654. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  655. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  656. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  657. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
  658. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +10 -10
  659. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +370 -0
  660. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +30 -30
  661. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +25 -25
  662. data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +23 -23
  663. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +31 -31
  664. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +150 -52
  665. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +28 -28
  666. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +15 -15
  667. data/vendor/local/share/doc/groonga/ja/html/reference/functions/{record_number.html → string_length.html} +36 -31
  668. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +24 -24
  669. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
  670. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +23 -23
  671. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +23 -23
  672. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +23 -23
  673. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +23 -23
  674. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +23 -23
  675. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +23 -23
  676. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +24 -24
  677. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +171 -0
  678. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +28 -28
  679. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +24 -24
  680. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  681. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +36 -26
  682. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +19 -7
  683. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
  684. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +25 -25
  685. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  686. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -17
  687. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -20
  688. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +26 -26
  689. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  690. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  691. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  692. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
  693. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
  694. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +6 -6
  695. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
  696. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +23 -23
  697. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +33 -33
  698. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +32 -32
  699. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +28 -28
  700. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +26 -26
  701. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +28 -28
  702. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  703. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  704. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  705. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
  706. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  707. data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +146 -0
  708. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +165 -0
  709. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +164 -0
  710. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +164 -0
  711. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  712. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  713. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  714. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  715. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  716. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  717. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  718. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  719. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  720. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  721. data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
  722. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  723. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  724. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  725. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  726. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  727. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  728. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  729. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  730. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  731. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  732. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  733. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  734. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  735. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  736. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  737. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -8
  738. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  739. data/vendor/local/share/groonga/mruby/LEGAL +4 -0
  740. data/vendor/local/share/license/mruby/AUTHORS +1 -0
  741. data/vendor/local/share/license/mruby/MITL +1 -1
  742. data/vendor/local/share/license/zlib/README +3 -3
  743. metadata +100 -67
  744. data/lib/2.4/groonga.so +0 -0
  745. data/vendor/local/sbin/groonga-httpd-restart +0 -105
@@ -23,6 +23,7 @@ Reference manual
23
23
  reference/grn_expr
24
24
  reference/regular_expression
25
25
  reference/function
26
+ reference/window_function
26
27
  reference/operations
27
28
  reference/configuration
28
29
  reference/alias
@@ -60,7 +60,7 @@ Enable request timeout by default
60
60
 
61
61
  :doc:`/reference/executables/groonga` supports enabling request
62
62
  timeout by default. You can specify the default request timeout by
63
- :option:`--default-request-timeout`.
63
+ :option:`groonga --default-request-timeout`.
64
64
 
65
65
  If the default request timeout is larger than 0 second, the default
66
66
  request timeout is used as request timeout for all requests.
@@ -8,11 +8,7 @@
8
8
  Summary
9
9
  -------
10
10
 
11
- log_level - ログ出力レベルの設定
12
-
13
- Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
14
-
15
- log_levelは、ログ出力レベルを設定します。
11
+ ``log_level`` command sets log level of Groonga.
16
12
 
17
13
  Syntax
18
14
  ------
@@ -32,27 +28,57 @@ Parameters
32
28
 
33
29
  ``level``
34
30
 
35
- 設定するログ出力レベルの値を以下のいずれかで指定します。
36
-
37
- EMERG
38
- ALERT
39
- CRIT
40
- error
41
- warning
42
- notice
43
- info
44
- debug
31
+ Specify log level with a character or string which means log level.
32
+
33
+ .. list-table::
34
+ :header-rows: 1
35
+
36
+ * - Value
37
+ - Alias
38
+ * - ``E``
39
+ - ``emerge`` or ``emergency``
40
+ * - ``A``
41
+ - ``alert``
42
+ * - ``C``
43
+ - ``crit`` or ``critical``
44
+ * - ``e``
45
+ - ``error``
46
+ * - ``w``
47
+ - ``warn`` or ``warning``
48
+ * - ``n``
49
+ - ``notice``
50
+ * - ``i``
51
+ - ``info``
52
+ * - ``d``
53
+ - ``debug``
54
+ * - ``-``
55
+ - ``dump``
56
+
57
+ Example::
58
+
59
+ emergency
60
+ alert
61
+ critical
62
+ error
63
+ warning
64
+ notice
65
+ info
66
+ debug
45
67
 
46
68
  Return value
47
69
  ------------
48
70
 
49
- ::
71
+ ``log_level`` command returns whether log level configuration is succeeded or not::
72
+
73
+ [HEADER, SUCCEEDED_OR_NOT]
74
+
75
+ ``HEADER``
50
76
 
51
- [成功かどうかのフラグ]
77
+ See :doc:`/reference/command/output_format` about ``HEADER``.
52
78
 
53
- ``成功かどうかのフラグ``
79
+ ``SUCCEEDED_OR_NOT``
54
80
 
55
- エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
81
+ If command succeeded, it returns true, otherwise it returns false on error.
56
82
 
57
83
  See also
58
84
  --------
@@ -46,17 +46,69 @@ parameters are optional::
46
46
  [drilldown_limit=10]
47
47
  [drilldown_calc_types=NONE]
48
48
  [drilldown_calc_target=null]
49
+ [sort_keys=null]
50
+ [drilldown_sort_keys=null]
51
+ [match_columns=null]
52
+ [query=null]
53
+ [drilldown_filter=null]
49
54
 
50
- ``logical_select`` has the following named parameters for advanced
55
+ This command has the following named parameters for dynamic columns:
56
+
57
+ * ``columns[${NAME}].stage=null``
58
+ * ``columns[${NAME}].flags=COLUMN_SCALAR``
59
+ * ``columns[${NAME}].type=null``
60
+ * ``columns[${NAME}].value=null``
61
+ * ``columns[${NAME}].window.sort_keys=null``
62
+ * ``columns[${NAME}].window.group_keys=null``
63
+
64
+ You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For
65
+ example, ``column1`` is a valid ``${NAME}``. This is the same rule as
66
+ normal column. See also :ref:`column-create-name`.
67
+
68
+ Parameters that have the same ``${NAME}`` are grouped.
69
+
70
+ For example, the following parameters specify one dynamic column:
71
+
72
+ * ``--columns[name].stage initial``
73
+ * ``--columns[name].type UInt32``
74
+ * ``--columns[name].value 29``
75
+
76
+ The following parameters specify two dynamic columns:
77
+
78
+ * ``--columns[name1].stage initial``
79
+ * ``--columns[name1].type UInt32``
80
+ * ``--columns[name1].value 29``
81
+ * ``--columns[name2].stage filtered``
82
+ * ``--columns[name2].type Float``
83
+ * ``--columns[name2].value '_score * 0.1'``
84
+
85
+ This command has the following named parameters for advanced
51
86
  drilldown:
52
87
 
53
- * ``drilldown[${LABEL}].keys=null``
54
- * ``drilldown[${LABEL}].sortby=null``
55
- * ``drilldown[${LABEL}].output_columns="_key, _nsubrecs"``
56
- * ``drilldown[${LABEL}].offset=0``
57
- * ``drilldown[${LABEL}].limit=10``
58
- * ``drilldown[${LABEL}].calc_types=NONE``
59
- * ``drilldown[${LABEL}].calc_target=null``
88
+ * ``drilldowns[${LABEL}].keys=null``
89
+ * ``drilldowns[${LABEL}].sort_keys=null``
90
+ * ``drilldowns[${LABEL}].output_columns="_key, _nsubrecs"``
91
+ * ``drilldowns[${LABEL}].offset=0``
92
+ * ``drilldowns[${LABEL}].limit=10``
93
+ * ``drilldowns[${LABEL}].calc_types=NONE``
94
+ * ``drilldowns[${LABEL}].calc_target=null``
95
+ * ``drilldowns[${LABEL}].filter=null``
96
+ * ``drilldowns[${LABEL}].columns[${NAME}].stage=null``
97
+ * ``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``
98
+ * ``drilldowns[${LABEL}].columns[${NAME}].type=null``
99
+ * ``drilldowns[${LABEL}].columns[${NAME}].value=null``
100
+ * ``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``
101
+ * ``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``
102
+
103
+ .. deprecated:: 6.1.4
104
+
105
+ ``drilldown[...]`` syntax is deprecated. Use ``drilldowns[...]``
106
+ instead.
107
+
108
+ .. deprecated:: 6.1.5
109
+
110
+ :ref:`logical-select-drilldowns-label-sortby` is deprecated.
111
+ Use :ref:`logical-select-drilldowns-label-sort-keys` instead.
60
112
 
61
113
  You can use one or more alphabets, digits, ``_`` and ``.`` for
62
114
  ``${LABEL}``. For example, ``parent.sub1`` is a valid ``${LABEL}``.
@@ -65,15 +117,15 @@ Parameters that have the same ``${LABEL}`` are grouped.
65
117
 
66
118
  For example, the following parameters specify one drilldown:
67
119
 
68
- * ``--drilldown[label].keys column``
69
- * ``--drilldown[label].sortby -_nsubrecs``
120
+ * ``--drilldowns[label].keys column``
121
+ * ``--drilldowns[label].sort_keys -_nsubrecs``
70
122
 
71
123
  The following parameters specify two drilldowns:
72
124
 
73
- * ``--drilldown[label1].keys column1``
74
- * ``--drilldown[label1].sortby -_nsubrecs``
75
- * ``--drilldown[label2].keys column2``
76
- * ``--drilldown[label2].sortby _key``
125
+ * ``--drilldowns[label1].keys column1``
126
+ * ``--drilldowns[label1].sort_keys -_nsubrecs``
127
+ * ``--drilldowns[label2].keys column2``
128
+ * ``--drilldowns[label2].sort_keys _key``
77
129
 
78
130
  Differences from ``select``
79
131
  ---------------------------
@@ -86,12 +138,12 @@ But there are some differences from :doc:`select`:
86
138
 
87
139
  * ``logical_table`` and ``shard_key`` parameters are required
88
140
  instead of ``table`` parameter.
89
- * ``sortby`` isn't supported when multiple shards are used. (Only
141
+ * ``sort_keys`` isn't supported when multiple shards are used. (Only
90
142
  one shard is used, they are supported.)
91
- * ``_value.${KEY_NAME}`` in ``drilldown[${LABEL}].sortby`` doesn't
92
- work with multiple shards. It works with one shard. ``_key`` in
93
- ``drilldown[${LABEL}].sortby`` work with multiple shards.
94
- * ``match_columns`` and ``query`` aren't supported yet.
143
+ * ``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys``
144
+ doesn't work with multiple shards. It works with one
145
+ shard. ``_key`` in ``drilldowns[${LABEL}].sort_keys`` work with
146
+ multiple shards.
95
147
  * ``cache`` isn't supported yet.
96
148
  * ``match_escalation_threshold`` isn't supported yet.
97
149
  * ``query_flags`` isn't supported yet.
@@ -364,22 +416,48 @@ Search related parameters
364
416
  ``logical_select`` provides :doc:`select` compatible search related
365
417
  parameters.
366
418
 
367
- ``match_columns`` and ``query`` aren't supported yet. ``filter`` is
368
- only supported for now.
369
-
370
419
  .. _logical-select-match-columns:
371
420
 
372
421
  ``match_columns``
373
422
  """""""""""""""""
374
423
 
375
- Not implemented yet.
424
+ .. versionadded:: 7.0.1
425
+
426
+ Corresponds to :ref:`select-match-columns` in :doc:`select`. See
427
+ :ref:`select-match-columns` for details.
428
+
429
+ Here is an example to find records that include ``"fast"`` text in
430
+ ``content`` column:
431
+
432
+ .. groonga-command
433
+ .. include:: ../../example/reference/commands/logical_select/match_columns.log
434
+ .. logical_select \
435
+ .. --logical_table Entries \
436
+ .. --shard_key created_at \
437
+ .. --match_columns content \
438
+ .. --query "fast"
376
439
 
377
440
  .. _logical-select-query:
378
441
 
379
442
  ``query``
380
443
  """""""""
381
444
 
382
- Not implemented yet.
445
+ .. versionadded:: 7.0.1
446
+
447
+ Corresponds to :ref:`select-query` in :doc:`select`. See
448
+ :ref:`select-query` for details.
449
+
450
+ Here is an example to find records that include ``"fast"`` text in
451
+ ``content`` column:
452
+
453
+ .. groonga-command
454
+ .. include:: ../../example/reference/commands/logical_select/query.log
455
+ .. logical_select \
456
+ .. --logical_table Entries \
457
+ .. --shard_key created_at \
458
+ .. --query "content:@fast"
459
+
460
+ See also :ref:`logical-select-match-columns`.
383
461
 
384
462
  .. _logical-select-filter:
385
463
 
@@ -451,17 +529,26 @@ Here is an example:
451
529
  ``sortby``
452
530
  """"""""""
453
531
 
454
- Corresponds to :ref:`select-sortby` in :doc:`select`. See
455
- :ref:`select-sortby` for details.
532
+ .. deprecated:: 6.1.5
533
+
534
+ Use :ref:`logical-select-sort-keys` instead.
456
535
 
457
- ``sortby`` has a limitation. It works only when the number of search
458
- target shards is one. If the number of search target shards is larger
459
- than one, ``sortby`` doesn't work.
536
+ .. _logical-select-sort-keys:
537
+
538
+ ``sort_keys``
539
+ """""""""""""
540
+
541
+ Corresponds to :ref:`select-sort-keys` in :doc:`select`. See
542
+ :ref:`select-sort-keys` for details.
543
+
544
+ ``sort_keys`` has a limitation. It works only when the number of
545
+ search target shards is one. If the number of search target shards is
546
+ larger than one, ``sort_keys`` doesn't work.
460
547
 
461
548
  Here is an example that uses only one shard:
462
549
 
463
550
  .. groonga-command
464
- .. include:: ../../example/reference/commands/logical_select/sortby.log
551
+ .. include:: ../../example/reference/commands/logical_select/sort_keys.log
465
552
  .. logical_select \
466
553
  .. --logical_table Entries \
467
554
  .. --shard_key created_at \
@@ -469,7 +556,7 @@ Here is an example that uses only one shard:
469
556
  .. --min_border "include" \
470
557
  .. --max "2015/07/09 00:00:00" \
471
558
  .. --max_border "exclude" \
472
- .. --sortby _key
559
+ .. --sort_keys _key
473
560
 
474
561
  .. _logical-select-offset:
475
562
 
@@ -512,6 +599,204 @@ Here is an example:
512
599
 
513
600
  Not implemented yet.
514
601
 
602
+ .. _logical-select-dynamic-column-related-parameters:
603
+
604
+ Dynamic column related parameters
605
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
606
+
607
+ .. versionadded:: 7.0.1
608
+
609
+ All dynamic column related parameters in :doc:`select` are
610
+ supported. See :ref:`select-dynamic-column-related-parameters` for
611
+ details.
612
+
613
+ .. _logical-select-columns-name-stage:
614
+
615
+ ``columns[${NAME}].stage``
616
+ """"""""""""""""""""""""""
617
+
618
+ .. versionadded:: 7.0.1
619
+
620
+ Corresponds to :ref:`select-columns-name-stage` in :doc:`select`. See
621
+ :ref:`select-columns-name-stage` for details.
622
+
623
+ This is a required parameter.
624
+
625
+ Here is an example that creates ``is_popular`` column at ``initial``
626
+ stage. You can use ``is_popular`` in all parameters such as ``filter``
627
+ and ``output_columns``:
628
+
629
+ .. groonga-command
630
+ .. include:: ../../example/reference/commands/logical_select/columns_name_stage.log
631
+ .. logical_select \
632
+ .. --logical_table Entries \
633
+ .. --shard_key created_at \
634
+ .. --columns[is_popular].stage initial \
635
+ .. --columns[is_popular].type Bool \
636
+ .. --columns[is_popular].value 'n_likes >= 10' \
637
+ .. --filter is_popular \
638
+ .. --output_columns _id,is_popular,n_likes
639
+
640
+ .. _logical-select-columns-name-flags:
641
+
642
+ ``columns[${NAME}].flags``
643
+ """"""""""""""""""""""""""
644
+
645
+ .. versionadded:: 7.0.1
646
+
647
+ Corresponds to :ref:`select-columns-name-flags` in :doc:`select`. See
648
+ :ref:`select-columns-name-flags` for details.
649
+
650
+ The default value is ``COLUMN_SCALAR``.
651
+
652
+ Here is an example that creates a vector column by ``COLUMN_VECTOR``
653
+ flags. ``plugin_register functions/vector`` is for using
654
+ :doc:`/reference/functions/vector_new` function:
655
+
656
+ .. groonga-command
657
+ .. include:: ../../example/reference/commands/logical_select/columns_name_flags.log
658
+ .. plugin_register functions/vector
659
+ .. logical_select \
660
+ .. --logical_table Entries \
661
+ .. --shard_key created_at \
662
+ .. --columns[vector].stage initial \
663
+ .. --columns[vector].flags COLUMN_VECTOR \
664
+ .. --columns[vector].type UInt32 \
665
+ .. --columns[vector].value 'vector_new(1, 2, 3)' \
666
+ .. --output_columns _id,vector
667
+
668
+ .. _logical-select-columns-name-type:
669
+
670
+ ``columns[${NAME}].type``
671
+ """""""""""""""""""""""""
672
+
673
+ .. versionadded:: 7.0.1
674
+
675
+ Corresponds to :ref:`select-columns-name-type` in :doc:`select`. See
676
+ :ref:`select-columns-name-type` for details.
677
+
678
+ This is a required parameter.
679
+
680
+ Here is an example that creates a ``ShortText`` type column. Stored
681
+ value is casted to ``ShortText`` automatically. In this example,
682
+ number is casted to ``ShortText``:
683
+
684
+ .. groonga-command
685
+ .. include:: ../../example/reference/commands/logical_select/columns_name_type.log
686
+ .. logical_select \
687
+ .. --logical_table Entries \
688
+ .. --shard_key created_at \
689
+ .. --columns[n_likes_string].stage initial \
690
+ .. --columns[n_likes_string].type ShortText \
691
+ .. --columns[n_likes_string].value n_likes \
692
+ .. --output_columns _id,n_likes,n_likes_string
693
+
694
+ .. _logical-select-columns-name-value:
695
+
696
+ ``columns[${NAME}].value``
697
+ """"""""""""""""""""""""""
698
+
699
+ .. versionadded:: 7.0.1
700
+
701
+ Corresponds to :ref:`select-columns-name-value` in :doc:`select`. See
702
+ :ref:`select-columns-name-value` for details.
703
+
704
+ You need to specify :doc:`/reference/window_function` as ``value``
705
+ value and other window function related parameters when you use window
706
+ function. See :ref:`logical-select-window-function-related-parameters`
707
+ for details.
708
+
709
+ This is a required parameter.
710
+
711
+ Here is an example that creates a new dynamic column that stores the
712
+ number of characters of content. This example uses
713
+ :doc:`/reference/functions/string_length` function in
714
+ ``functions/string`` plugin to compute the number of characters in a
715
+ string. :doc:`plugin_register` is used to register
716
+ ``functions/string`` plugin:
717
+
718
+ .. groonga-command
719
+ .. include:: ../../example/reference/commands/logical_select/columns_name_value.log
720
+ .. plugin_register functions/string
721
+ .. logical_select \
722
+ .. --logical_table Entries \
723
+ .. --shard_key created_at \
724
+ .. --columns[content_length].stage initial \
725
+ .. --columns[content_length].type UInt32 \
726
+ .. --columns[content_length].value 'string_length(content)' \
727
+ .. --output_columns _id,content,content_length
728
+
729
+ .. _logical-select-window-function-related-parameters:
730
+
731
+ Window function related parameters
732
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
733
+
734
+ .. versionadded:: 7.0.1
735
+
736
+ All window function related parameters in :doc:`select` are
737
+ supported. See :ref:`select-window-function-related-parameters` for
738
+ details.
739
+
740
+ .. _logical-select-columns-name-window-sort-keys:
741
+
742
+ ``columns[${NAME}].window.sort_keys``
743
+ """""""""""""""""""""""""""""""""""""
744
+
745
+ .. versionadded:: 7.0.1
746
+
747
+ Corresponds to :ref:`select-columns-name-window-sort-keys` in
748
+ :doc:`select`. See :ref:`select-columns-name-window-sort-keys` for
749
+ details.
750
+
751
+ You must specify :ref:`logical-select-columns-name-window-sort-keys`
752
+ or :ref:`logical-select-columns-name-window-group-keys` to use window
753
+ function.
754
+
755
+ Here is an example that computes cumulative sum per
756
+ ``Entries.tag``. Each group is sorted by ``Entries._key``:
757
+
758
+ .. groonga-command
759
+ .. include:: ../../example/reference/commands/logical_select/columns_name_window_sort_keys.log
760
+ .. logical_select \
761
+ .. --logical_table Entries \
762
+ .. --shard_key created_at \
763
+ .. --columns[n_likes_cumulative_sum_per_tag].stage initial \
764
+ .. --columns[n_likes_cumulative_sum_per_tag].type UInt32 \
765
+ .. --columns[n_likes_cumulative_sum_per_tag].value 'window_sum(n_likes)' \
766
+ .. --columns[n_likes_cumulative_sum_per_tag].window.sort_keys _key \
767
+ .. --columns[n_likes_cumulative_sum_per_tag].window.group_keys tag \
768
+ .. --sort_keys _key \
769
+ .. --output_columns tag,_key,n_likes,n_likes_cumulative_sum_per_tag
770
+
771
+ .. _logical-select-columns-name-window-group-keys:
772
+
773
+ ``columns[${NAME}].window.group_keys``
774
+ """"""""""""""""""""""""""""""""""""""
775
+
776
+ .. versionadded:: 7.0.1
777
+
778
+ Corresponds to :ref:`select-columns-name-window-group-keys` in
779
+ :doc:`select`. See :ref:`select-columns-name-window-group-keys` for
780
+ details.
781
+
782
+ You must specify :ref:`logical-select-columns-name-window-sort-keys`
783
+ or :ref:`logical-select-columns-name-window-group-keys` to use window
784
+ function.
785
+
786
+ Here is an example that computes sum per ``Entries.tag``:
787
+
788
+ .. groonga-command
789
+ .. include:: ../../example/reference/commands/logical_select/columns_name_window_group_keys.log
790
+ .. logical_select \
791
+ .. --logical_table Entries \
792
+ .. --shard_key created_at \
793
+ .. --columns[n_likes_sum_per_tag].stage initial \
794
+ .. --columns[n_likes_sum_per_tag].type UInt32 \
795
+ .. --columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
796
+ .. --columns[n_likes_sum_per_tag].window.group_keys tag \
797
+ .. --sort_keys _key \
798
+ .. --output_columns tag,_key,n_likes,n_likes_sum_per_tag
799
+
515
800
  .. _logical-select-drilldown-related-parameters:
516
801
 
517
802
  Drilldown related parameters
@@ -543,20 +828,29 @@ Here is an example:
543
828
  ``drilldown_sortby``
544
829
  """"""""""""""""""""
545
830
 
546
- Corresponds to :ref:`select-drilldown-sortby` in :doc:`select`. See
547
- :ref:`select-drilldown-sortby` for details.
831
+ .. deprecated:: 6.1.5
832
+
833
+ Use :ref:`logical-select-drilldown-sort-keys` instead.
834
+
835
+ .. _logical-select-drilldown-sort-keys:
836
+
837
+ ``drilldown_sort_keys``
838
+ """""""""""""""""""""""
839
+
840
+ Corresponds to :ref:`select-drilldown-sort-keys` in :doc:`select`. See
841
+ :ref:`select-drilldown-sort-keys` for details.
548
842
 
549
843
  Here is an example:
550
844
 
551
845
  .. groonga-command
552
- .. include:: ../../example/reference/commands/logical_select/drilldown_sortby.log
846
+ .. include:: ../../example/reference/commands/logical_select/drilldown_sort_keys.log
553
847
  .. logical_select \
554
848
  .. --logical_table Entries \
555
849
  .. --shard_key created_at \
556
850
  .. --limit 0 \
557
851
  .. --output_columns _id \
558
852
  .. --drilldown tag \
559
- .. --drilldown_sortby -_nsubrecs,_key
853
+ .. --drilldown_sort_keys -_nsubrecs,_key
560
854
 
561
855
  .. _logical-select-drilldown-output-columns:
562
856
 
@@ -650,6 +944,30 @@ Corresponds to :ref:`select-drilldown-calc-target` in
650
944
 
651
945
  See also :ref:`logical-select-drilldown-calc-types` for an example.
652
946
 
947
+ .. _logical-select-drilldown-filter:
948
+
949
+ ``drilldown_filter``
950
+ """"""""""""""""""""
951
+
952
+ .. versionadded:: 7.0.1
953
+
954
+ Corresponds to :ref:`select-drilldown-filter` in
955
+ :doc:`select`. See :ref:`select-drilldown-filter` for details.
956
+
957
+ Here is an example to suppress drilled down tags that are occurred
958
+ only once:
959
+
960
+ .. groonga-command
961
+ .. include:: ../../example/reference/commands/logical_select/drilldown_filter.log
962
+ .. logical_select \
963
+ .. --logical_table Entries \
964
+ .. --shard_key created_at \
965
+ .. --limit 0 \
966
+ .. --output_columns _id \
967
+ .. --drilldown tag \
968
+ .. --drilldown_filter "_nsubrecs > 1" \
969
+ .. --drilldown_output_columns _key,_nsubrecs
970
+
653
971
  .. _logical-select-advanced-drilldown-related-parameters:
654
972
 
655
973
  Advanced drilldown related parameters
@@ -661,70 +979,80 @@ details.
661
979
 
662
980
  There are some limitations:
663
981
 
664
- * ``_value.${KEY_NAME}`` in ``drilldown[${LABEL}].sortby`` doesn't
665
- work with multiple shards. It works with one shard. ``_key`` in
666
- ``drilldown[${LABEL}].sortby`` work with multiple shards.
982
+ * ``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys``
983
+ doesn't work with multiple shards. It works with one
984
+ shard. ``_key`` in ``drilldowns[${LABEL}].sort_key`` work with
985
+ multiple shards.
667
986
 
668
- .. _logical-select-drilldown-label-keys:
987
+ .. _logical-select-drilldowns-label-keys:
669
988
 
670
- ``drilldown[${LABEL}].keys``
671
- """"""""""""""""""""""""""""
989
+ ``drilldowns[${LABEL}].keys``
990
+ """""""""""""""""""""""""""""
672
991
 
673
- Corresponds to :ref:`select-drilldown-label-keys` in
674
- :doc:`select`. See :ref:`select-drilldown-label-keys` for details.
992
+ Corresponds to :ref:`select-drilldowns-label-keys` in
993
+ :doc:`select`. See :ref:`select-drilldowns-label-keys` for details.
675
994
 
676
995
  Here is an example:
677
996
 
678
997
  .. groonga-command
679
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_keys.log
998
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_keys.log
680
999
  .. logical_select \
681
1000
  .. --logical_table Entries \
682
1001
  .. --shard_key created_at \
683
1002
  .. --limit 0 \
684
1003
  .. --output_columns _id \
685
- .. --drilldown[tag.n_likes].keys tag,n_likes \
686
- .. --drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
1004
+ .. --drilldowns[tag.n_likes].keys tag,n_likes \
1005
+ .. --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
687
1006
 
688
- .. _logical-select-drilldown-label-output-columns:
1007
+ .. _logical-select-drilldowns-label-output-columns:
689
1008
 
690
- ``drilldown[${LABEL}].output_columns``
691
- """"""""""""""""""""""""""""""""""""""
1009
+ ``drilldowns[${LABEL}].output_columns``
1010
+ """""""""""""""""""""""""""""""""""""""
692
1011
 
693
- Corresponds to :ref:`select-drilldown-label-output-columns` in
694
- :doc:`select`. See :ref:`select-drilldown-label-output-columns` for
1012
+ Corresponds to :ref:`select-drilldowns-label-output-columns` in
1013
+ :doc:`select`. See :ref:`select-drilldowns-label-output-columns` for
695
1014
  details.
696
1015
 
697
1016
  Here is an example:
698
1017
 
699
1018
  .. groonga-command
700
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_output_columns.log
1019
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_output_columns.log
701
1020
  .. logical_select \
702
1021
  .. --logical_table Entries \
703
1022
  .. --shard_key created_at \
704
1023
  .. --limit 0 \
705
1024
  .. --output_columns _id \
706
- .. --drilldown[tag].keys tag \
707
- .. --drilldown[tag].output_columns _key,_nsubrecs
1025
+ .. --drilldowns[tag].keys tag \
1026
+ .. --drilldowns[tag].output_columns _key,_nsubrecs
708
1027
 
709
- .. _logical-select-drilldown-label-sortby:
1028
+ .. _logical-select-drilldowns-label-sortby:
710
1029
 
711
- ``drilldown[${LABEL}].sortby``
712
- """"""""""""""""""""""""""""""
1030
+ ``drilldowns[${LABEL}].sortby``
1031
+ """""""""""""""""""""""""""""""
713
1032
 
714
- Corresponds to :ref:`logical-select-drilldown-sortby` in not labeled
715
- drilldown.
1033
+ .. deprecated:: 6.1.5
1034
+
1035
+ Use :ref:`logical-select-drilldowns-label-sort-keys` instead.
716
1036
 
717
- ``drilldown[${LABEL}].sortby`` has a limitation.
1037
+ .. _logical-select-drilldowns-label-sort-keys:
1038
+
1039
+ ``drilldowns[${LABEL}].sort_keys``
1040
+ """"""""""""""""""""""""""""""""""
1041
+
1042
+ Corresponds to :ref:`logical-select-drilldown-sort-keys` in not
1043
+ labeled drilldown.
718
1044
 
719
- ``_value.${KEY_NAME}`` in ``drilldown[${LABEL}].sortby`` doesn't work
720
- with multiple shards. It works with one shard. ``_key`` in
721
- ``drilldown[${LABEL}].sortby`` work with multiple shards.
1045
+ ``drilldowns[${LABEL}].sort_keys`` has a limitation.
1046
+
1047
+ ``_value.${KEY_NAME}`` in ``drilldowns[${LABEL}].sort_keys`` doesn't
1048
+ work with multiple shards. It works with one shard. ``_key`` in
1049
+ ``drilldowns[${LABEL}].sort_keys`` work with multiple shards.
722
1050
 
723
1051
  Here is an example that uses ``_value.${KEY_NAME}`` with only one
724
1052
  shard:
725
1053
 
726
1054
  .. groonga-command
727
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_sortby.log
1055
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_sort_keys.log
728
1056
  .. logical_select \
729
1057
  .. --logical_table Entries \
730
1058
  .. --shard_key created_at \
@@ -734,14 +1062,14 @@ shard:
734
1062
  .. --max_border "exclude" \
735
1063
  .. --limit 0 \
736
1064
  .. --output_columns _id \
737
- .. --drilldown[tag.n_likes].keys tag,n_likes \
738
- .. --drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
739
- .. --drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
1065
+ .. --drilldowns[tag.n_likes].keys tag,n_likes \
1066
+ .. --drilldowns[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
1067
+ .. --drilldowns[tag.n_likes].sort_keys -_nsubrecs,_value.n_likes,_value.tag
740
1068
 
741
- .. _logical-select-drilldown-label-offset:
1069
+ .. _logical-select-drilldowns-label-offset:
742
1070
 
743
- ``drilldown[${LABEL}].offset``
744
- """"""""""""""""""""""""""""""
1071
+ ``drilldowns[${LABEL}].offset``
1072
+ """""""""""""""""""""""""""""""
745
1073
 
746
1074
  Corresponds to :ref:`logical-select-drilldown-offset` in not labeled
747
1075
  drilldown.
@@ -749,19 +1077,19 @@ drilldown.
749
1077
  Here is an example:
750
1078
 
751
1079
  .. groonga-command
752
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_offset.log
1080
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_offset.log
753
1081
  .. logical_select \
754
1082
  .. --logical_table Entries \
755
1083
  .. --shard_key created_at \
756
1084
  .. --limit 0 \
757
1085
  .. --output_columns _id \
758
- .. --drilldown[tag.n_likes].keys tag \
759
- .. --drilldown[tag.n_likes].offset 1
1086
+ .. --drilldowns[tag.n_likes].keys tag \
1087
+ .. --drilldowns[tag.n_likes].offset 1
760
1088
 
761
- .. _logical-select-drilldown-label-limit:
1089
+ .. _logical-select-drilldowns-label-limit:
762
1090
 
763
- ``drilldown[${LABEL}].limit``
764
- """""""""""""""""""""""""""""
1091
+ ``drilldowns[${LABEL}].limit``
1092
+ """"""""""""""""""""""""""""""
765
1093
 
766
1094
  Corresponds to :ref:`logical-select-drilldown-limit` in not labeled
767
1095
  drilldown.
@@ -769,19 +1097,19 @@ drilldown.
769
1097
  Here is an example:
770
1098
 
771
1099
  .. groonga-command
772
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_limit.log
1100
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_limit.log
773
1101
  .. logical_select \
774
1102
  .. --logical_table Entries \
775
1103
  .. --shard_key created_at \
776
1104
  .. --limit 0 \
777
1105
  .. --output_columns _id \
778
- .. --drilldown[tag.n_likes].keys tag \
779
- .. --drilldown[tag.n_likes].limit 2
1106
+ .. --drilldowns[tag.n_likes].keys tag \
1107
+ .. --drilldowns[tag.n_likes].limit 2
780
1108
 
781
- .. _logical-select-drilldown-label-calc-types:
1109
+ .. _logical-select-drilldowns-label-calc-types:
782
1110
 
783
- ``drilldown[${LABEL}].calc_types``
784
- """"""""""""""""""""""""""""""""""
1111
+ ``drilldowns[${LABEL}].calc_types``
1112
+ """""""""""""""""""""""""""""""""""
785
1113
 
786
1114
  Corresponds to :ref:`logical-select-drilldown-calc-types` in not
787
1115
  labeled drilldown.
@@ -789,28 +1117,241 @@ labeled drilldown.
789
1117
  Here is an example:
790
1118
 
791
1119
  .. groonga-command
792
- .. include:: ../../example/reference/commands/logical_select/drilldown_label_calc_types.log
1120
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_calc_types.log
793
1121
  .. logical_select \
794
1122
  .. --logical_table Entries \
795
1123
  .. --shard_key created_at \
796
1124
  .. --limit 0 \
797
1125
  .. --output_columns _id \
798
- .. --drilldown[tag].keys tag \
799
- .. --drilldown[tag].calc_types MAX,MIN,SUM,AVG \
800
- .. --drilldown[tag].calc_target n_likes \
801
- .. --drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1126
+ .. --drilldowns[tag].keys tag \
1127
+ .. --drilldowns[tag].calc_types MAX,MIN,SUM,AVG \
1128
+ .. --drilldowns[tag].calc_target n_likes \
1129
+ .. --drilldowns[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
802
1130
 
803
- .. _logical-select-drilldown-label-calc-target:
1131
+ .. _logical-select-drilldowns-label-calc-target:
804
1132
 
805
- ``drilldown[${LABEL}].calc_target``
806
- """""""""""""""""""""""""""""""""""
1133
+ ``drilldowns[${LABEL}].calc_target``
1134
+ """"""""""""""""""""""""""""""""""""
807
1135
 
808
1136
  Corresponds to :ref:`logical-select-drilldown-calc-target` in not
809
1137
  labeled drilldown.
810
1138
 
811
- See also :ref:`logical-select-drilldown-label-calc-types`
1139
+ See also :ref:`logical-select-drilldowns-label-calc-types`
812
1140
  for an example.
813
1141
 
1142
+ .. _logical-select-drilldowns-label-filter:
1143
+
1144
+ ``drilldowns[${LABEL}].filter``
1145
+ """""""""""""""""""""""""""""""
1146
+
1147
+ .. versionadded:: 7.0.1
1148
+
1149
+ Corresponds to :ref:`logical-select-drilldown-filter` in not labeled
1150
+ drilldown.
1151
+
1152
+ Here is an example to suppress drilled down tags that are occurred
1153
+ only once:
1154
+
1155
+ .. groonga-command
1156
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_filter.log
1157
+ .. logical_select \
1158
+ .. --logical_table Entries \
1159
+ .. --shard_key created_at \
1160
+ .. --limit 0 \
1161
+ .. --output_columns _id \
1162
+ .. --drilldowns[tag].keys tag \
1163
+ .. --drilldowns[tag].filter "_nsubrecs > 1" \
1164
+ .. --drilldowns[tag].output_columns _key,_nsubrecs
1165
+
1166
+ .. _logical-select-drilldowns-label-columns-name-stage:
1167
+
1168
+ ``drilldowns[${LABEL}].columns[${NAME}].stage``
1169
+ """""""""""""""""""""""""""""""""""""""""""""""
1170
+
1171
+ .. versionadded:: 7.0.1
1172
+
1173
+ Corresponds to :ref:`select-drilldowns-label-columns-name-stage` in
1174
+ :doc:`select`. See :ref:`select-drilldowns-label-columns-name-stage`
1175
+ for details.
1176
+
1177
+ Here is an example that creates a dynamic column at ``initial``
1178
+ stage. This example creates a dynamic column that stores whether each
1179
+ drilled down tag is occurred only once or not:
1180
+
1181
+ .. groonga-command
1182
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_stage.log
1183
+ .. logical_select \
1184
+ .. --logical_table Entries \
1185
+ .. --shard_key created_at \
1186
+ .. --limit 0 \
1187
+ .. --output_columns _id \
1188
+ .. --drilldowns[tag].keys tag \
1189
+ .. --drilldowns[tag].columns[is_popular].stage initial \
1190
+ .. --drilldowns[tag].columns[is_popular].type Bool \
1191
+ .. --drilldowns[tag].columns[is_popular].value '_nsubrecs > 1' \
1192
+ .. --drilldowns[tag].output_columns _key,_nsubrecs,is_popular
1193
+
1194
+ .. _logical-select-drilldowns-label-columns-name-flags:
1195
+
1196
+ ``drilldowns[${LABEL}].columns[${NAME}].flags``
1197
+ """""""""""""""""""""""""""""""""""""""""""""""
1198
+
1199
+ .. versionadded:: 7.0.1
1200
+
1201
+ Corresponds to :ref:`logical-select-columns-name-flags` in main
1202
+ search.
1203
+
1204
+ The default value is ``COLUMN_SCALAR``.
1205
+
1206
+ Here is an example that creates a vector column by ``COLUMN_VECTOR``
1207
+ flags. ``plugin_register functions/vector`` is for using
1208
+ :doc:`/reference/functions/vector_new` function:
1209
+
1210
+ .. groonga-command
1211
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_flags.log
1212
+ .. logical_select \
1213
+ .. --logical_table Entries \
1214
+ .. --shard_key created_at \
1215
+ .. --limit 0 \
1216
+ .. --output_columns _id \
1217
+ .. --drilldowns[tag].keys tag \
1218
+ .. --drilldowns[tag].columns[vector].stage initial \
1219
+ .. --drilldowns[tag].columns[vector].flags COLUMN_VECTOR \
1220
+ .. --drilldowns[tag].columns[vector].type ShortText \
1221
+ .. --drilldowns[tag].columns[vector].value 'vector_new("a", "b", "c")' \
1222
+ .. --drilldowns[tag].output_columns _key,vector
1223
+
1224
+ .. _logical-select-drilldowns-label-columns-name-type:
1225
+
1226
+ ``drilldowns[${LABEL}].columns[${NAME}].type``
1227
+ """"""""""""""""""""""""""""""""""""""""""""""
1228
+
1229
+ .. versionadded:: 7.0.1
1230
+
1231
+ Corresponds to :ref:`logical-select-columns-name-type` in main
1232
+ search.
1233
+
1234
+ This is a required parameter.
1235
+
1236
+ Here is an example that creates a ``ShortText`` type column. Stored
1237
+ value is casted to ``ShortText`` automatically. In this example,
1238
+ number is casted to ``ShortText``:
1239
+
1240
+ .. groonga-command
1241
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_type.log
1242
+ .. logical_select \
1243
+ .. --logical_table Entries \
1244
+ .. --shard_key created_at \
1245
+ .. --limit 0 \
1246
+ .. --output_columns _id \
1247
+ .. --drilldowns[tag].keys tag \
1248
+ .. --drilldowns[tag].columns[nsubrecs_string].stage initial \
1249
+ .. --drilldowns[tag].columns[nsubrecs_string].type ShortText \
1250
+ .. --drilldowns[tag].columns[nsubrecs_string].value _nsubrecs \
1251
+ .. --drilldowns[tag].output_columns _key,_nsubrecs,nsubrecs_string
1252
+
1253
+ .. _logical-select-drilldowns-label-columns-name-value:
1254
+
1255
+ ``drilldowns[${LABEL}].columns[${NAME}].value``
1256
+ """""""""""""""""""""""""""""""""""""""""""""""
1257
+
1258
+ .. versionadded:: 7.0.1
1259
+
1260
+ Corresponds to :ref:`logical-select-columns-name-value` in main
1261
+ search.
1262
+
1263
+ This is a required parameter.
1264
+
1265
+ Here is an example that creates a new dynamic column that stores the
1266
+ number of characters of content. This example uses
1267
+ :doc:`/reference/functions/string_length` function in
1268
+ ``functions/string`` plugin to compute the number of characters in a
1269
+ string. :doc:`plugin_register` is used to register
1270
+ ``functions/string`` plugin:
1271
+
1272
+ .. groonga-command
1273
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_value.log
1274
+ .. plugin_register functions/string \
1275
+ .. logical_select \
1276
+ .. --logical_table Entries \
1277
+ .. --shard_key created_at \
1278
+ .. --limit 0 \
1279
+ .. --output_columns _id \
1280
+ .. --drilldowns[tag].keys tag \
1281
+ .. --drilldowns[tag].columns[tag_length].stage initial \
1282
+ .. --drilldowns[tag].columns[tag_length].type UInt32 \
1283
+ .. --drilldowns[tag].columns[tag_length].value 'string_length(_key)' \
1284
+ .. --drilldowns[tag].output_columns _key,tag_length
1285
+
1286
+ .. _logical-select-drilldowns-label-columns-name-window-sort-keys:
1287
+
1288
+ ``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys``
1289
+ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""
1290
+
1291
+ .. versionadded:: 7.0.1
1292
+
1293
+ Corresponds to :ref:`logical-select-columns-name-window-sort-keys` in
1294
+ main search.
1295
+
1296
+ You must specify
1297
+ :ref:`logical-select-drilldowns-label-columns-name-window-sort-keys`
1298
+ or
1299
+ :ref:`logical-select-drilldowns-label-columns-name-window-group-keys`
1300
+ to use window function.
1301
+
1302
+ Here is an example that computes the Nth record in the number of sub
1303
+ records order:
1304
+
1305
+ .. groonga-command
1306
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_window_sort_keys.log
1307
+ .. logical_select \
1308
+ .. --logical_table Entries \
1309
+ .. --shard_key created_at \
1310
+ .. --limit 0 \
1311
+ .. --output_columns _id \
1312
+ .. --drilldowns[tag].keys tag \
1313
+ .. --drilldowns[tag].columns[record_number].stage initial \
1314
+ .. --drilldowns[tag].columns[record_number].type UInt32 \
1315
+ .. --drilldowns[tag].columns[record_number].value 'window_record_number()' \
1316
+ .. --drilldowns[tag].columns[record_number].window.sort_keys _nsubrecs,_key \
1317
+ .. --drilldowns[tag].sort_keys record_number \
1318
+ .. --drilldowns[tag].output_columns _key,_nsubrecs,record_number
1319
+
1320
+ .. _logical-select-drilldowns-label-columns-name-window-group-keys:
1321
+
1322
+ ``drilldowns[${LABEL}].columns[${NAME}].window.group_keys``
1323
+ """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
1324
+
1325
+ .. versionadded:: 7.0.1
1326
+
1327
+ Corresponds to :ref:`logical-select-columns-name-window-group-keys` in
1328
+ main search.
1329
+
1330
+ You must specify
1331
+ :ref:`logical-select-drilldowns-label-columns-name-window-sort-keys`
1332
+ or
1333
+ :ref:`logical-select-drilldowns-label-columns-name-window-group-keys`
1334
+ to use window function.
1335
+
1336
+ Here is an example that computes the Nth record ordered by tag name
1337
+ for each the same number of sub records:
1338
+
1339
+ .. groonga-command
1340
+ .. include:: ../../example/reference/commands/logical_select/drilldowns_label_columns_name_window_group_keys.log
1341
+ .. logical_select \
1342
+ .. --logical_table Entries \
1343
+ .. --shard_key created_at \
1344
+ .. --limit 0 \
1345
+ .. --output_columns _id \
1346
+ .. --drilldowns[tag].keys tag \
1347
+ .. --drilldowns[tag].columns[record_number].stage initial \
1348
+ .. --drilldowns[tag].columns[record_number].type UInt32 \
1349
+ .. --drilldowns[tag].columns[record_number].value 'window_record_number()' \
1350
+ .. --drilldowns[tag].columns[record_number].window.sort_keys _key \
1351
+ .. --drilldowns[tag].columns[record_number].window.group_keys _nsubrecs \
1352
+ .. --drilldowns[tag].sort_keys _nsubrecs,record_number \
1353
+ .. --drilldowns[tag].output_columns _key,_nsubrecs,record_number
1354
+
814
1355
  Return value
815
1356
  ------------
816
1357