rroonga 5.0.4-x64-mingw32 → 5.0.5-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +2 -2
  3. data/example/measure-data-column-disk-usage.rb +124 -0
  4. data/example/measure-index-column-disk-usage.rb +81 -0
  5. data/example/measure-table-disk-usage.rb +100 -0
  6. data/ext/groonga/rb-grn-database.c +31 -0
  7. data/ext/groonga/rb-grn-double-array-trie.c +1 -8
  8. data/ext/groonga/rb-grn-logger.c +45 -0
  9. data/ext/groonga/rb-grn-object.c +29 -1
  10. data/ext/groonga/rb-grn-patricia-trie.c +1 -8
  11. data/ext/groonga/rb-grn-table-cursor.c +8 -3
  12. data/ext/groonga/rb-grn-table.c +10 -5
  13. data/ext/groonga/rb-grn-thread.c +160 -0
  14. data/ext/groonga/rb-grn-windows-event-logger.c +79 -0
  15. data/ext/groonga/rb-grn.h +3 -1
  16. data/ext/groonga/rb-groonga.c +3 -1
  17. data/lib/1.9/groonga.so +0 -0
  18. data/lib/2.0/groonga.so +0 -0
  19. data/lib/2.1/groonga.so +0 -0
  20. data/lib/2.2/groonga.so +0 -0
  21. data/lib/groonga/dumper.rb +6 -1
  22. data/rroonga-build.rb +4 -4
  23. data/test/groonga-test-utils.rb +5 -1
  24. data/test/test-database.rb +11 -0
  25. data/test/test-logger.rb +6 -0
  26. data/test/test-operator.rb +6 -6
  27. data/test/test-procedure.rb +15 -0
  28. data/test/test-table-dumper.rb +170 -1
  29. data/test/test-thread.rb +42 -0
  30. data/test/test-windows-event-logger.rb +28 -0
  31. data/vendor/local/bin/grndb.exe +0 -0
  32. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  35. data/vendor/local/bin/libgroonga-0.dll +0 -0
  36. data/vendor/local/bin/libmecab-1.dll +0 -0
  37. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  38. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  39. data/vendor/local/bin/libonig-5.dll +0 -0
  40. data/vendor/local/bin/libstdc++-6.dll +0 -0
  41. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  42. data/vendor/local/bin/lz4.exe +0 -0
  43. data/vendor/local/bin/lz4c.exe +0 -0
  44. data/vendor/local/bin/lz4cat +0 -0
  45. data/vendor/local/bin/mecab-config +2 -2
  46. data/vendor/local/bin/mecab.exe +0 -0
  47. data/vendor/local/bin/onig-config +1 -1
  48. data/vendor/local/bin/zlib1.dll +0 -0
  49. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  50. data/vendor/local/etc/groonga/windows_event_log/provider.man +38 -0
  51. data/vendor/local/include/groonga/groonga.h +2 -0
  52. data/vendor/local/include/groonga/groonga/command.h +2 -0
  53. data/vendor/local/include/groonga/groonga/groonga.h +5 -0
  54. data/vendor/local/include/groonga/groonga/obj.h +1 -0
  55. data/vendor/local/include/groonga/groonga/portability.h +16 -0
  56. data/vendor/local/include/groonga/groonga/thread.h +42 -0
  57. data/vendor/local/include/groonga/groonga/windows_event_logger.h +33 -0
  58. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  60. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  66. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
  70. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
  74. data/vendor/local/lib/groonga/plugins/sharding.rb +5 -0
  75. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +43 -6
  76. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +32 -25
  77. data/vendor/local/lib/groonga/plugins/sharding/logical_parameters.rb +44 -0
  78. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +217 -49
  79. data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +507 -45
  80. data/vendor/local/lib/groonga/plugins/sharding/logical_shard_list.rb +28 -0
  81. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +11 -6
  82. data/vendor/local/lib/groonga/plugins/sharding/parameters.rb +10 -0
  83. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  84. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  85. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  86. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  87. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  88. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  89. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  90. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  91. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  92. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  93. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  94. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
  95. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  96. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  97. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  98. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  99. data/vendor/local/lib/groonga/scripts/ruby/command.rb +31 -1
  100. data/vendor/local/lib/groonga/scripts/ruby/context.rb +18 -2
  101. data/vendor/local/lib/groonga/scripts/ruby/database.rb +12 -4
  102. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +31 -28
  103. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
  104. data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +4 -2
  105. data/vendor/local/lib/groonga/scripts/ruby/query_logger.rb +9 -0
  106. data/vendor/local/lib/groonga/scripts/ruby/query_logger/flag.rb +39 -0
  107. data/vendor/local/lib/groonga/scripts/ruby/record.rb +12 -0
  108. data/vendor/local/lib/groonga/scripts/ruby/table.rb +35 -1
  109. data/vendor/local/lib/libgroonga.a +0 -0
  110. data/vendor/local/lib/libgroonga.dll.a +0 -0
  111. data/vendor/local/lib/libgroonga.la +2 -2
  112. data/vendor/local/lib/liblz4.dll +0 -0
  113. data/vendor/local/lib/liblz4.dll.1 +0 -0
  114. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  115. data/vendor/local/lib/libmecab.a +0 -0
  116. data/vendor/local/lib/libmecab.dll.a +0 -0
  117. data/vendor/local/lib/libmecab.la +2 -2
  118. data/vendor/local/lib/libmsgpack.a +0 -0
  119. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  120. data/vendor/local/lib/libmsgpack.la +2 -2
  121. data/vendor/local/lib/libmsgpackc.a +0 -0
  122. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  123. data/vendor/local/lib/libmsgpackc.la +2 -2
  124. data/vendor/local/lib/libonig.a +0 -0
  125. data/vendor/local/lib/libonig.dll.a +0 -0
  126. data/vendor/local/lib/libonig.la +2 -2
  127. data/vendor/local/lib/libz.dll.a +0 -0
  128. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  129. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  130. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  131. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  132. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  133. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  134. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  135. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  136. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  137. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  138. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  139. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  140. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  141. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +3 -2
  142. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +19 -0
  143. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
  144. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
  145. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
  146. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +16 -7
  147. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +7 -3
  148. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +4 -0
  149. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  150. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
  151. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  152. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  153. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  154. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  155. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
  156. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  157. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +319 -0
  158. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  159. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
  160. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +23 -0
  161. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +122 -0
  162. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
  163. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +381 -0
  164. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
  165. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -1
  166. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +85 -0
  167. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +218 -9
  168. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -3
  169. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +1 -1
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +3 -1
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +138 -0
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +97 -10
  173. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +745 -23
  174. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +107 -0
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +3 -1
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -3
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +1 -2
  178. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +90 -0
  179. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +1 -1
  180. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +1 -1
  182. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -3
  183. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
  184. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
  185. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +240 -56
  186. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +33 -7
  187. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +90 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +2 -1
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +110 -0
  190. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -1
  191. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +1 -3
  192. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -3
  193. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +3 -4
  194. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -1
  195. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -1
  196. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  197. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
  198. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
  199. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
  200. data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -2
  201. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
  202. data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +3 -0
  203. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +2 -0
  204. data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +108 -0
  205. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -21
  206. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -1
  207. data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
  208. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
  209. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +24 -18
  210. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +19 -19
  211. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +9 -9
  212. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
  213. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
  214. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +27 -2
  215. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  216. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  217. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  218. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  219. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
  220. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  221. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  222. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  223. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  224. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
  225. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  226. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  227. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
  228. data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
  229. data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
  230. data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
  231. data/vendor/local/share/doc/groonga/en/html/contribution.html +78 -70
  232. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +30 -27
  233. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +146 -0
  234. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +237 -0
  235. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +227 -0
  236. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +231 -0
  237. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +37 -35
  238. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +54 -52
  239. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +80 -78
  240. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +135 -122
  241. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +38 -34
  242. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +58 -54
  243. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +21 -19
  244. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +27 -25
  245. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +23 -21
  246. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
  247. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +21 -19
  248. data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
  249. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +30 -28
  250. data/vendor/local/share/doc/groonga/en/html/genindex.html +48 -20
  251. data/vendor/local/share/doc/groonga/en/html/index.html +123 -105
  252. data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
  253. data/vendor/local/share/doc/groonga/en/html/install/centos.html +32 -30
  254. data/vendor/local/share/doc/groonga/en/html/install/debian.html +31 -29
  255. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +29 -27
  256. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +26 -24
  257. data/vendor/local/share/doc/groonga/en/html/install/others.html +92 -90
  258. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +26 -24
  259. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +29 -28
  260. data/vendor/local/share/doc/groonga/en/html/install/windows.html +34 -32
  261. data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -17
  262. data/vendor/local/share/doc/groonga/en/html/news.html +509 -142
  263. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
  264. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  265. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
  266. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
  267. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
  268. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +110 -108
  269. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +73 -71
  270. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +111 -109
  271. data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
  272. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  273. data/vendor/local/share/doc/groonga/en/html/reference.html +111 -94
  274. data/vendor/local/share/doc/groonga/en/html/reference/api.html +55 -52
  275. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +51 -49
  276. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +63 -61
  277. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +84 -82
  278. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +46 -44
  279. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +41 -39
  280. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +89 -87
  281. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +88 -50
  282. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +48 -46
  283. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +83 -81
  284. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
  285. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +48 -46
  286. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +46 -44
  287. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +45 -43
  288. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +45 -43
  289. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
  290. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +93 -91
  291. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
  292. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +43 -41
  293. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +79 -77
  294. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +69 -67
  295. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +296 -0
  296. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +45 -43
  297. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +38 -36
  298. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +51 -49
  299. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +60 -58
  300. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
  301. data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
  302. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +23 -21
  303. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +28 -26
  304. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +23 -21
  305. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +72 -70
  306. data/vendor/local/share/doc/groonga/en/html/reference/command.html +70 -61
  307. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +23 -21
  308. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +59 -57
  309. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +28 -26
  310. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +100 -98
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -42
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +49 -47
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +33 -31
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +796 -0
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +62 -60
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +96 -94
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +46 -44
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +67 -64
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +236 -0
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +62 -60
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +46 -44
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +59 -57
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +63 -61
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +281 -54
  325. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +66 -64
  326. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +53 -52
  327. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +48 -46
  328. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +48 -46
  329. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +48 -46
  330. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +78 -75
  331. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +283 -0
  332. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +160 -85
  333. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +2071 -83
  334. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +287 -0
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +71 -68
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +86 -84
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +52 -50
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +227 -0
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +57 -55
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +53 -51
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +43 -41
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +43 -41
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +56 -54
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +75 -74
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +59 -57
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +59 -57
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +898 -647
  348. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +43 -41
  349. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +50 -48
  350. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +87 -85
  351. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +175 -152
  352. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +55 -53
  353. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +46 -44
  354. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +327 -0
  355. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +77 -75
  356. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +241 -0
  357. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +108 -106
  358. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +56 -51
  359. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +56 -55
  360. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +24 -22
  361. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +41 -39
  362. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +28 -26
  363. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +33 -31
  364. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +83 -81
  365. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +29 -27
  366. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
  367. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +48 -46
  368. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +40 -38
  369. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +84 -82
  370. data/vendor/local/share/doc/groonga/en/html/reference/function.html +22 -20
  371. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +47 -45
  372. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +25 -23
  373. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +85 -83
  374. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +36 -34
  375. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +26 -24
  376. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +66 -64
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +54 -52
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +34 -32
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +23 -21
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -53
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +24 -22
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +49 -47
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +45 -43
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +33 -31
  386. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +29 -27
  387. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +244 -242
  388. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +327 -325
  389. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -29
  390. data/vendor/local/share/doc/groonga/en/html/reference/log.html +43 -41
  391. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +49 -47
  392. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +21 -19
  393. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +23 -21
  394. data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -34
  395. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +21 -19
  396. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +62 -60
  397. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +107 -103
  398. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +50 -40
  399. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +27 -25
  400. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +41 -31
  401. data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +19 -17
  402. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +241 -0
  403. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
  404. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +30 -28
  405. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +23 -21
  406. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +23 -21
  407. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +23 -21
  408. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +56 -54
  409. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +41 -39
  410. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +341 -289
  411. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +68 -66
  412. data/vendor/local/share/doc/groonga/en/html/reference/types.html +43 -41
  413. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  414. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  415. data/vendor/local/share/doc/groonga/en/html/server.html +19 -17
  416. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +22 -20
  417. data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
  418. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +37 -35
  419. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +23 -21
  420. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +23 -21
  421. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +21 -19
  422. data/vendor/local/share/doc/groonga/en/html/server/package.html +39 -37
  423. data/vendor/local/share/doc/groonga/en/html/spec.html +23 -21
  424. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +129 -127
  425. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -20
  426. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
  427. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
  428. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
  429. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  430. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +29 -23
  431. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +35 -33
  432. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +25 -23
  433. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +46 -39
  434. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -19
  435. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +65 -63
  436. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +55 -53
  437. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +25 -23
  438. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +22 -20
  439. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +25 -23
  440. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
  441. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  442. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +3 -2
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +19 -0
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +16 -7
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +7 -3
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +4 -0
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +319 -0
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +23 -0
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +122 -0
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +381 -0
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -1
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +85 -0
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +218 -9
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -3
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +1 -1
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +3 -1
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +138 -0
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +97 -10
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +745 -23
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +107 -0
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +3 -1
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -3
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +1 -2
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +90 -0
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +1 -1
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +1 -1
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +1 -1
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -3
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +240 -56
  487. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +33 -7
  488. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +90 -0
  489. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +2 -1
  490. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +110 -0
  491. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -1
  492. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +1 -3
  493. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -3
  494. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +3 -4
  495. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -1
  496. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -1
  497. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  498. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
  499. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
  500. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
  501. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -2
  502. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
  503. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +3 -0
  504. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +2 -0
  505. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +108 -0
  506. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -21
  507. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -1
  508. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
  509. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
  510. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +24 -18
  511. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +19 -19
  512. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +9 -9
  513. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
  514. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
  515. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +27 -2
  516. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  517. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  518. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  519. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  520. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
  521. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  522. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  523. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  524. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  525. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
  526. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  527. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  528. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
  529. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
  530. data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
  531. data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
  532. data/vendor/local/share/doc/groonga/ja/html/contribution.html +77 -69
  533. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +30 -27
  534. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +144 -0
  535. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +226 -0
  536. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +215 -0
  537. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +229 -0
  538. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +36 -34
  539. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +53 -51
  540. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +79 -77
  541. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +134 -121
  542. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +29 -27
  543. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +57 -53
  544. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +21 -19
  545. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +23 -21
  546. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +23 -21
  547. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
  548. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +21 -19
  549. data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
  550. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +25 -23
  551. data/vendor/local/share/doc/groonga/ja/html/genindex.html +48 -20
  552. data/vendor/local/share/doc/groonga/ja/html/index.html +122 -104
  553. data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
  554. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +35 -33
  555. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +33 -31
  556. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +30 -28
  557. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +26 -24
  558. data/vendor/local/share/doc/groonga/ja/html/install/others.html +83 -81
  559. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +25 -23
  560. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +30 -29
  561. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +33 -31
  562. data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -17
  563. data/vendor/local/share/doc/groonga/ja/html/news.html +460 -126
  564. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
  565. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  566. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
  567. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
  568. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
  569. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +102 -100
  570. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +66 -64
  571. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +91 -89
  572. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
  573. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  574. data/vendor/local/share/doc/groonga/ja/html/reference.html +111 -94
  575. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +55 -52
  576. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +51 -49
  577. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +58 -56
  578. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +84 -82
  579. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +46 -44
  580. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +41 -39
  581. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +85 -83
  582. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +88 -50
  583. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +48 -46
  584. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +78 -76
  585. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
  586. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +48 -46
  587. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +46 -44
  588. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +45 -43
  589. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +45 -43
  590. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
  591. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +93 -91
  592. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
  593. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +43 -41
  594. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +79 -77
  595. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +69 -67
  596. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +286 -0
  597. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +45 -43
  598. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +38 -36
  599. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -46
  600. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +60 -58
  601. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
  602. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
  603. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +23 -21
  604. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -26
  605. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +23 -21
  606. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +61 -59
  607. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +70 -61
  608. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -21
  609. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +49 -47
  610. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -26
  611. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +99 -97
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +41 -39
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +49 -47
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +33 -31
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +781 -0
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +62 -60
  617. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +88 -86
  618. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +46 -44
  619. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +66 -63
  620. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +229 -0
  621. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +62 -60
  622. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +46 -44
  623. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +58 -56
  624. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +63 -61
  625. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +266 -54
  626. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +59 -57
  627. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +53 -52
  628. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +48 -46
  629. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +48 -46
  630. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +48 -46
  631. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +78 -75
  632. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +276 -0
  633. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +158 -85
  634. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +2008 -80
  635. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +285 -0
  636. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +71 -68
  637. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +82 -79
  638. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +52 -50
  639. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +220 -0
  640. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +53 -51
  641. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +51 -49
  642. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +43 -41
  643. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +43 -41
  644. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +52 -50
  645. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +68 -67
  646. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +59 -57
  647. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +59 -57
  648. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +680 -448
  649. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +43 -41
  650. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +48 -46
  651. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +84 -82
  652. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +146 -126
  653. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +55 -53
  654. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +46 -44
  655. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +322 -0
  656. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +73 -70
  657. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +229 -0
  658. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +94 -91
  659. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +56 -51
  660. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +56 -55
  661. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +24 -22
  662. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +39 -37
  663. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +28 -26
  664. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +33 -31
  665. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +73 -72
  666. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +29 -27
  667. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
  668. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +48 -46
  669. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +40 -38
  670. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +84 -82
  671. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +22 -20
  672. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -44
  673. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +25 -23
  674. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +69 -67
  675. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +36 -34
  676. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +26 -24
  677. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +56 -54
  678. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +45 -43
  679. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -32
  680. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +35 -33
  681. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +23 -21
  682. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +48 -46
  683. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +24 -22
  684. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +35 -33
  685. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -35
  686. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +33 -31
  687. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +26 -24
  688. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +143 -141
  689. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +236 -234
  690. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -28
  691. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +43 -41
  692. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +39 -37
  693. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +21 -19
  694. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +23 -21
  695. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -30
  696. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +21 -19
  697. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +42 -39
  698. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +91 -88
  699. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +50 -40
  700. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +27 -25
  701. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +41 -31
  702. data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +19 -17
  703. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +223 -0
  704. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
  705. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +27 -25
  706. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +23 -21
  707. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +23 -21
  708. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +23 -21
  709. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +46 -44
  710. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +38 -36
  711. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +303 -243
  712. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +62 -60
  713. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +42 -40
  714. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  715. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  716. data/vendor/local/share/doc/groonga/ja/html/server.html +19 -17
  717. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +21 -19
  718. data/vendor/local/share/doc/groonga/ja/html/server/http.html +21 -19
  719. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +31 -29
  720. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +23 -21
  721. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +23 -21
  722. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +21 -19
  723. data/vendor/local/share/doc/groonga/ja/html/server/package.html +38 -36
  724. data/vendor/local/share/doc/groonga/ja/html/spec.html +23 -21
  725. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +128 -126
  726. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -20
  727. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
  728. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
  729. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
  730. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  731. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +29 -23
  732. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +34 -32
  733. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -20
  734. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +46 -39
  735. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +21 -19
  736. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +66 -64
  737. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +52 -50
  738. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +25 -23
  739. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +22 -20
  740. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +25 -23
  741. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
  742. data/vendor/local/share/license/groonga/README.md +6 -0
  743. data/vendor/local/share/license/mruby/AUTHORS +1 -0
  744. data/vendor/local/share/license/mruby/MITL +1 -1
  745. data/vendor/local/share/license/mruby/README.md +6 -5
  746. data/vendor/local/share/license/msgpack/README +219 -0
  747. data/vendor/local/share/man/ja/man1/groonga.1 +23512 -15126
  748. data/vendor/local/share/man/man1/groonga.1 +26542 -17745
  749. metadata +77 -3
  750. data/vendor/local/share/license/msgpack/AUTHORS +0 -0
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.3.24. logical_select &mdash; Groonga v5.0.4-139-g6629adb documentation</title>
10
+ <title>7.3.27. logical_select &mdash; Groonga v5.0.6-226-gd7da7e7 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '5.0.4-139-g6629adb',
18
+ VERSION: '5.0.6-226-gd7da7e7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v5.0.4-139-g6629adb documentation" href="../../index.html" />
29
- <link rel="up" title="7.3. Command" href="../command.html" />
30
- <link rel="next" title="7.3.25. logical_table_remove" href="logical_table_remove.html" />
31
- <link rel="prev" title="7.3.23. logical_range_filter" href="logical_range_filter.html" />
28
+ <link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
29
+ <link rel="up" title="7.18. Sharding" href="../sharding.html" />
30
+ <link rel="next" title="7.3.28. logical_shard_list" href="logical_shard_list.html" />
31
+ <link rel="prev" title="7.3.26. logical_range_filter" href="logical_range_filter.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,33 +48,33 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="logical_table_remove.html" title="7.3.25. logical_table_remove"
58
+ <a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="logical_range_filter.html" title="7.3.23. logical_range_filter"
61
+ <a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adb documentation</a> &raquo;</li>
64
- <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
63
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> &raquo;</li>
64
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
+ <li class="nav-item nav-item-2"><a href="../sharding.html" accesskey="U">7.18. Sharding</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
68
68
 
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="logical-select">
75
- <h1>7.3.24. <tt class="docutils literal"><span class="pre">logical_select</span></tt><a class="headerlink" href="#logical-select" title="Permalink to this headline">¶</a></h1>
75
+ <h1>7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
- <h2>7.3.24.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
77
+ <h2>7.3.27.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
78
  <div class="admonition note">
79
79
  <p class="first admonition-title">Note</p>
80
80
  <p class="last">This command is an experimental feature.</p>
@@ -82,122 +82,2110 @@
82
82
  <div class="versionadded">
83
83
  <p><span class="versionmodified">New in version 5.0.5.</span></p>
84
84
  </div>
85
- <p>TODO</p>
85
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> is a sharding version of
86
+ <a class="reference internal" href="select.html"><em>select</em></a>. <code class="docutils literal"><span class="pre">logical_select</span></code> searches records from multiple
87
+ tables and outputs them.</p>
88
+ <p>You need to <a class="reference internal" href="plugin_register.html"><em>plugin_register</em></a> <code class="docutils literal"><span class="pre">sharding</span></code> plugin because
89
+ <code class="docutils literal"><span class="pre">logical_select</span></code> is included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
86
90
  </div>
87
91
  <div class="section" id="syntax">
88
- <h2>7.3.24.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
89
- <p><tt class="docutils literal"><span class="pre">logical_select</span></tt> command has seven parameters.</p>
90
- <p>The required parameters are <tt class="docutils literal"><span class="pre">logical_table</span></tt> and <tt class="docutils literal"><span class="pre">shard_key</span></tt>:</p>
92
+ <h2>7.3.27.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
93
+ <p>This command takes many parameters.</p>
94
+ <p>The required parameters are <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>. Other
95
+ parameters are optional:</p>
91
96
  <div class="highlight-none"><div class="highlight"><pre>logical_select logical_table
92
97
  shard_key
93
- [min]
94
- [min_border]
95
- [max]
96
- [max_border]
97
- [filter]
98
+ [min=null]
99
+ [min_border=&quot;include&quot;]
100
+ [max=null]
101
+ [max_border=&quot;include&quot;]
102
+ [filter=null]
103
+ [sortby=null]
104
+ [output_columns=&quot;_id, _key, *&quot;]
105
+ [offset=0]
106
+ [limit=10]
107
+ [drilldown=null]
108
+ [drilldown_sortby=null]
109
+ [drilldown_output_columns=&quot;_key, _nsubrecs&quot;]
110
+ [drilldown_offset=0]
111
+ [drilldown_limit=10]
112
+ [drilldown_calc_types=NONE]
113
+ [drilldown_calc_target=null]
98
114
  </pre></div>
99
115
  </div>
116
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> has the following named parameters for advanced
117
+ drilldown:</p>
118
+ <blockquote>
119
+ <div><ul class="simple">
120
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
121
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
122
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
123
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
124
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
125
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
126
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
127
+ </ul>
128
+ </div></blockquote>
129
+ <p>You can use one or more alphabets, digits, <code class="docutils literal"><span class="pre">_</span></code> and <code class="docutils literal"><span class="pre">.</span></code> for
130
+ <code class="docutils literal"><span class="pre">${LABEL}</span></code>. For example, <code class="docutils literal"><span class="pre">parent.sub1</span></code> is a valid <code class="docutils literal"><span class="pre">${LABEL}</span></code>.</p>
131
+ <p>Parameters that have the same <code class="docutils literal"><span class="pre">${LABEL}</span></code> are grouped.</p>
132
+ <p>For example, the following parameters specify one drilldown:</p>
133
+ <blockquote>
134
+ <div><ul class="simple">
135
+ <li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
136
+ <li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
137
+ </ul>
138
+ </div></blockquote>
139
+ <p>The following parameters specify two drilldowns:</p>
140
+ <blockquote>
141
+ <div><ul class="simple">
142
+ <li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
143
+ <li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
144
+ <li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
145
+ <li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
146
+ </ul>
147
+ </div></blockquote>
148
+ </div>
149
+ <div class="section" id="differences-from-select">
150
+ <h2>7.3.27.3. Differences from <code class="docutils literal"><span class="pre">select</span></code><a class="headerlink" href="#differences-from-select" title="Permalink to this headline">¶</a></h2>
151
+ <p>Most of <code class="docutils literal"><span class="pre">logical_select</span></code> features can be used like corresponding
152
+ <a class="reference internal" href="select.html"><em>select</em></a> features. For example, parameter name is same, output
153
+ format is same and so on.</p>
154
+ <p>But there are some differences from <a class="reference internal" href="select.html"><em>select</em></a>:</p>
155
+ <blockquote>
156
+ <div><ul class="simple">
157
+ <li><code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code> parameters are required
158
+ instead of <code class="docutils literal"><span class="pre">table</span></code> parameter.</li>
159
+ <li><code class="docutils literal"><span class="pre">sortby</span></code> isn't supported when multiple shards are used. (Only
160
+ one shard is used, they are supported.)</li>
161
+ <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
162
+ work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
163
+ <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
164
+ <li><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet.</li>
165
+ <li><code class="docutils literal"><span class="pre">cache</span></code> isn't supported yet.</li>
166
+ <li><code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> isn't supported yet.</li>
167
+ <li><code class="docutils literal"><span class="pre">query_flags</span></code> isn't supported yet.</li>
168
+ <li><code class="docutils literal"><span class="pre">query_expander</span></code> isn't supported yet.</li>
169
+ <li><code class="docutils literal"><span class="pre">adjuster</span></code> isn't supported yet.</li>
170
+ </ul>
171
+ </div></blockquote>
100
172
  </div>
101
173
  <div class="section" id="usage">
102
- <h2>7.3.24.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
174
+ <h2>7.3.27.4. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
175
+ <p>Let's learn about <code class="docutils literal"><span class="pre">logical_select</span></code> usage with examples. This section
176
+ shows many popular usages.</p>
177
+ <p>You need to register <code class="docutils literal"><span class="pre">sharding</span></code> plugin because <code class="docutils literal"><span class="pre">logical_select</span></code> is
178
+ included in <code class="docutils literal"><span class="pre">sharding</span></code> plugin.</p>
179
+ <p>Execution example:</p>
180
+ <div class="highlight-none"><div class="highlight"><pre>plugin_register sharding
181
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
182
+ </pre></div>
183
+ </div>
184
+ <p>Here are a schema definition and sample data to show usage.</p>
185
+ <p>Execution example:</p>
186
+ <div class="highlight-none"><div class="highlight"><pre>table_create Entries_20150708 TABLE_HASH_KEY ShortText
187
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
188
+ column_create Entries_20150708 created_at COLUMN_SCALAR Time
189
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
190
+ column_create Entries_20150708 content COLUMN_SCALAR Text
191
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
192
+ column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
193
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
194
+ column_create Entries_20150708 tag COLUMN_SCALAR ShortText
195
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
196
+ table_create Entries_20150709 TABLE_HASH_KEY ShortText
197
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
198
+ column_create Entries_20150709 created_at COLUMN_SCALAR Time
199
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
200
+ column_create Entries_20150709 content COLUMN_SCALAR Text
201
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
202
+ column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
203
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
204
+ column_create Entries_20150709 tag COLUMN_SCALAR ShortText
205
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
206
+ table_create Terms TABLE_PAT_KEY ShortText \
207
+ --default_tokenizer TokenBigram \
208
+ --normalizer NormalizerAuto
209
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
210
+ column_create Terms entries_key_index_20150708 \
211
+ COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
212
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
213
+ column_create Terms entries_content_index_20150708 \
214
+ COLUMN_INDEX|WITH_POSITION Entries_20150708 content
215
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
216
+ column_create Terms entries_key_index_20150709 \
217
+ COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
218
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
219
+ column_create Terms entries_content_index_20150709 \
220
+ COLUMN_INDEX|WITH_POSITION Entries_20150709 content
221
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
222
+ load --table Entries_20150708
223
+ [
224
+ {&quot;_key&quot;: &quot;The first post!&quot;,
225
+ &quot;created_at&quot;: &quot;2015/07/08 00:00:00&quot;,
226
+ &quot;content&quot;: &quot;Welcome! This is my first post!&quot;,
227
+ &quot;n_likes&quot;: 5,
228
+ &quot;tag&quot;: &quot;Hello&quot;},
229
+ {&quot;_key&quot;: &quot;Groonga&quot;,
230
+ &quot;created_at&quot;: &quot;2015/07/08 01:00:00&quot;,
231
+ &quot;content&quot;: &quot;I started to use Groonga. It&#39;s very fast!&quot;,
232
+ &quot;n_likes&quot;: 10,
233
+ &quot;tag&quot;: &quot;Groonga&quot;},
234
+ {&quot;_key&quot;: &quot;Mroonga&quot;,
235
+ &quot;created_at&quot;: &quot;2015/07/08 02:00:00&quot;,
236
+ &quot;content&quot;: &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
237
+ &quot;n_likes&quot;: 15,
238
+ &quot;tag&quot;: &quot;Groonga&quot;}
239
+ ]
240
+ # [[0, 1337566253.89858, 0.000355720520019531], 3]
241
+ load --table Entries_20150709
242
+ [
243
+ {&quot;_key&quot;: &quot;Good-bye Senna&quot;,
244
+ &quot;created_at&quot;: &quot;2015/07/09 00:00:00&quot;,
245
+ &quot;content&quot;: &quot;I migrated all Senna system!&quot;,
246
+ &quot;n_likes&quot;: 3,
247
+ &quot;tag&quot;: &quot;Senna&quot;},
248
+ {&quot;_key&quot;: &quot;Good-bye Tritonn&quot;,
249
+ &quot;created_at&quot;: &quot;2015/07/09 01:00:00&quot;,
250
+ &quot;content&quot;: &quot;I also migrated all Tritonn system!&quot;,
251
+ &quot;n_likes&quot;: 3,
252
+ &quot;tag&quot;: &quot;Senna&quot;}
253
+ ]
254
+ # [[0, 1337566253.89858, 0.000355720520019531], 2]
255
+ </pre></div>
256
+ </div>
257
+ <p>There are two tables, <code class="docutils literal"><span class="pre">Entries_20150708</span></code> and <code class="docutils literal"><span class="pre">Entries_20150709</span></code>,
258
+ for blog entries.</p>
259
+ <div class="admonition note">
260
+ <p class="first admonition-title">Note</p>
261
+ <p class="last">You need to use <code class="docutils literal"><span class="pre">${LOGICAL_TABLE_NAME}_${YYYYMMDD}</span></code> naming rule
262
+ for table names. In this example, <code class="docutils literal"><span class="pre">LOGICAL_TABLE_NAME</span></code> is
263
+ <code class="docutils literal"><span class="pre">Entries</span></code> and <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> is <code class="docutils literal"><span class="pre">20150708</span></code> or <code class="docutils literal"><span class="pre">20150709</span></code>.</p>
264
+ </div>
265
+ <p>An entry has title, created time, content, the number of likes for the
266
+ entry and tag. Title is key of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code>. Created time is
267
+ value of <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> column. Content is value of
268
+ <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> column. The number of likes is value of
269
+ <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> column. Tag is value of
270
+ <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> column.</p>
271
+ <p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> column and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code>
272
+ column are indexed using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both
273
+ <code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> and <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> are
274
+ fulltext search ready.</p>
275
+ <p>OK. The schema and data for examples are ready.</p>
276
+ <div class="section" id="simple-usage">
277
+ <h3>7.3.27.4.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
103
278
  <p>TODO</p>
104
279
  </div>
280
+ </div>
105
281
  <div class="section" id="parameters">
106
- <h2>7.3.24.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
107
- <p>This section describes parameters of <tt class="docutils literal"><span class="pre">logical_select</span></tt>.</p>
282
+ <h2>7.3.27.5. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
283
+ <p>This section describes parameters of <code class="docutils literal"><span class="pre">logical_select</span></code>.</p>
108
284
  <div class="section" id="required-parameter">
109
- <h3>7.3.24.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
110
- <p>There are required parameters, <tt class="docutils literal"><span class="pre">logical_table</span></tt> and <tt class="docutils literal"><span class="pre">shard_key</span></tt>.</p>
285
+ <h3>7.3.27.5.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
286
+ <p>There are required parameters, <code class="docutils literal"><span class="pre">logical_table</span></code> and <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
111
287
  <div class="section" id="logical-table">
112
- <h4>7.3.24.4.1.1. <tt class="docutils literal"><span class="pre">logical_table</span></tt><a class="headerlink" href="#logical-table" title="Permalink to this headline">¶</a></h4>
113
- <p>Specifies logical table name. It means table name without &quot;_YYYYMMDD&quot; postfix.
114
- If you use actual table such as &quot;Logs_20150203&quot;, &quot;Logs_20150203&quot; and so on, logical table name is &quot;Logs&quot;.</p>
288
+ <span id="logical-select-logical-table"></span><h4>7.3.27.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code><a class="headerlink" href="#logical-table" title="Permalink to this headline">¶</a></h4>
289
+ <p>Specifies logical table name. It means table name without
290
+ <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> postfix. If you use actual table such as
291
+ <code class="docutils literal"><span class="pre">Entries_20150708</span></code>, <code class="docutils literal"><span class="pre">Entries_20150709</span></code> and so on, logical table
292
+ name is <code class="docutils literal"><span class="pre">Entries</span></code>.</p>
293
+ <p>You can show 10 records by specifying <code class="docutils literal"><span class="pre">logical_table</span></code> and
294
+ <code class="docutils literal"><span class="pre">shard_key</span></code> parameters. They are required parameters.</p>
295
+ <p>Execution example:</p>
296
+ <div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Entries --shard_key created_at
297
+ # [
298
+ # [
299
+ # 0,
300
+ # 1337566253.89858,
301
+ # 0.000355720520019531
302
+ # ],
303
+ # [
304
+ # [
305
+ # [
306
+ # 5
307
+ # ],
308
+ # [
309
+ # [
310
+ # &quot;_id&quot;,
311
+ # &quot;UInt32&quot;
312
+ # ],
313
+ # [
314
+ # &quot;_key&quot;,
315
+ # &quot;ShortText&quot;
316
+ # ],
317
+ # [
318
+ # &quot;content&quot;,
319
+ # &quot;Text&quot;
320
+ # ],
321
+ # [
322
+ # &quot;created_at&quot;,
323
+ # &quot;Time&quot;
324
+ # ],
325
+ # [
326
+ # &quot;n_likes&quot;,
327
+ # &quot;UInt32&quot;
328
+ # ],
329
+ # [
330
+ # &quot;tag&quot;,
331
+ # &quot;ShortText&quot;
332
+ # ]
333
+ # ],
334
+ # [
335
+ # 1,
336
+ # &quot;The first post!&quot;,
337
+ # &quot;Welcome! This is my first post!&quot;,
338
+ # 1436281200.0,
339
+ # 5,
340
+ # &quot;Hello&quot;
341
+ # ],
342
+ # [
343
+ # 2,
344
+ # &quot;Groonga&quot;,
345
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
346
+ # 1436284800.0,
347
+ # 10,
348
+ # &quot;Groonga&quot;
349
+ # ],
350
+ # [
351
+ # 3,
352
+ # &quot;Mroonga&quot;,
353
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
354
+ # 1436288400.0,
355
+ # 15,
356
+ # &quot;Groonga&quot;
357
+ # ],
358
+ # [
359
+ # 1,
360
+ # &quot;Good-bye Senna&quot;,
361
+ # &quot;I migrated all Senna system!&quot;,
362
+ # 1436367600.0,
363
+ # 3,
364
+ # &quot;Senna&quot;
365
+ # ],
366
+ # [
367
+ # 2,
368
+ # &quot;Good-bye Tritonn&quot;,
369
+ # &quot;I also migrated all Tritonn system!&quot;,
370
+ # 1436371200.0,
371
+ # 3,
372
+ # &quot;Senna&quot;
373
+ # ]
374
+ # ]
375
+ # ]
376
+ # ]
377
+ </pre></div>
378
+ </div>
379
+ <p>If nonexistent table is specified, an error is returned.</p>
380
+ <p>Execution example:</p>
381
+ <div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Nonexistent --shard_key created_at
382
+ # [
383
+ # [
384
+ # -22,
385
+ # 1337566253.89858,
386
+ # 0.000355720520019531,
387
+ # &quot;[logical_select] no shard exists: logical_table: &lt;Nonexistent&gt;: shard_key: &lt;created_at&gt;&quot;,
388
+ # [
389
+ # [
390
+ # &quot;Groonga::Context.set_groonga_error&quot;,
391
+ # &quot;lib/mrb/scripts/context.rb&quot;,
392
+ # 27
393
+ # ]
394
+ # ]
395
+ # ]
396
+ # ]
397
+ </pre></div>
398
+ </div>
115
399
  </div>
116
400
  <div class="section" id="shard-key">
117
- <h4>7.3.24.4.1.2. <tt class="docutils literal"><span class="pre">shard_key</span></tt><a class="headerlink" href="#shard-key" title="Permalink to this headline">¶</a></h4>
118
- <p>Specifies column name which is treated as shared key in each parted table.</p>
401
+ <span id="logical-select-shard-key"></span><h4>7.3.27.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code><a class="headerlink" href="#shard-key" title="Permalink to this headline">¶</a></h4>
402
+ <p>Specifies column name which is treated as shared key. Shard key is a
403
+ column that stores data that is used for distributing records to
404
+ suitable shards.</p>
405
+ <p>Shard key must be <code class="docutils literal"><span class="pre">Time</span></code> type for now.</p>
406
+ <p>See <a class="reference internal" href="#logical-select-logical-table"><span>logical_table</span></a> how to specify <code class="docutils literal"><span class="pre">shard_key</span></code>.</p>
119
407
  </div>
120
408
  </div>
121
409
  <div class="section" id="optional-parameters">
122
- <h3>7.3.24.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
410
+ <h3>7.3.27.5.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
123
411
  <p>There are optional parameters.</p>
124
412
  <div class="section" id="min">
125
- <h4>7.3.24.4.2.1. <tt class="docutils literal"><span class="pre">min</span></tt><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h4>
126
- <p>Specifies the min value of <tt class="docutils literal"><span class="pre">shard_key</span></tt></p>
413
+ <span id="logical-select-min"></span><h4>7.3.27.5.2.1. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h4>
414
+ <p>Specifies the minimum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn't
415
+ have any matched records, the shard isn't searched.</p>
416
+ <p>For example, <code class="docutils literal"><span class="pre">min</span></code> is <code class="docutils literal"><span class="pre">&quot;2015/07/09</span> <span class="pre">00:00:00&quot;</span></code>, <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
417
+ isn't searched. Because <code class="docutils literal"><span class="pre">Entry_20150708</span></code> has only records for
418
+ <code class="docutils literal"><span class="pre">&quot;2015/07/08&quot;</span></code>.</p>
419
+ <p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
420
+ table. <code class="docutils literal"><span class="pre">Entry_20150708</span></code> isn't used.</p>
421
+ <p>Execution example:</p>
422
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
423
+ --logical_table Entries \
424
+ --shard_key created_at \
425
+ --min &quot;2015/07/09 00:00:00&quot;
426
+ # [
427
+ # [
428
+ # 0,
429
+ # 1337566253.89858,
430
+ # 0.000355720520019531
431
+ # ],
432
+ # [
433
+ # [
434
+ # [
435
+ # 2
436
+ # ],
437
+ # [
438
+ # [
439
+ # &quot;_id&quot;,
440
+ # &quot;UInt32&quot;
441
+ # ],
442
+ # [
443
+ # &quot;_key&quot;,
444
+ # &quot;ShortText&quot;
445
+ # ],
446
+ # [
447
+ # &quot;content&quot;,
448
+ # &quot;Text&quot;
449
+ # ],
450
+ # [
451
+ # &quot;created_at&quot;,
452
+ # &quot;Time&quot;
453
+ # ],
454
+ # [
455
+ # &quot;n_likes&quot;,
456
+ # &quot;UInt32&quot;
457
+ # ],
458
+ # [
459
+ # &quot;tag&quot;,
460
+ # &quot;ShortText&quot;
461
+ # ]
462
+ # ],
463
+ # [
464
+ # 1,
465
+ # &quot;Good-bye Senna&quot;,
466
+ # &quot;I migrated all Senna system!&quot;,
467
+ # 1436367600.0,
468
+ # 3,
469
+ # &quot;Senna&quot;
470
+ # ],
471
+ # [
472
+ # 2,
473
+ # &quot;Good-bye Tritonn&quot;,
474
+ # &quot;I also migrated all Tritonn system!&quot;,
475
+ # 1436371200.0,
476
+ # 3,
477
+ # &quot;Senna&quot;
478
+ # ]
479
+ # ]
480
+ # ]
481
+ # ]
482
+ </pre></div>
483
+ </div>
127
484
  </div>
128
485
  <div class="section" id="min-border">
129
- <h4>7.3.24.4.2.2. <tt class="docutils literal"><span class="pre">min_border</span></tt><a class="headerlink" href="#min-border" title="Permalink to this headline">¶</a></h4>
130
- <p>Specifies whether the min value of borderline must be include or not.
131
- Specify <tt class="docutils literal"><span class="pre">include</span></tt> or <tt class="docutils literal"><span class="pre">exclude</span></tt> as the value of this parameter.</p>
486
+ <span id="logical-select-min-border"></span><h4>7.3.27.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="Permalink to this headline">¶</a></h4>
487
+ <p>Specifies whether the minimum value is include or not. Here is
488
+ available values.</p>
489
+ <table border="1" class="docutils">
490
+ <colgroup>
491
+ <col width="50%" />
492
+ <col width="50%" />
493
+ </colgroup>
494
+ <thead valign="bottom">
495
+ <tr class="row-odd"><th class="head">Value</th>
496
+ <th class="head">Description</th>
497
+ </tr>
498
+ </thead>
499
+ <tbody valign="top">
500
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
501
+ <td>Includes <code class="docutils literal"><span class="pre">min</span></code> value. This is the default.</td>
502
+ </tr>
503
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
504
+ <td>Doesn't include <code class="docutils literal"><span class="pre">min</span></code> value.</td>
505
+ </tr>
506
+ </tbody>
507
+ </table>
508
+ <p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn't include the
509
+ <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
510
+ <code class="docutils literal"><span class="pre">&quot;2015/07/09</span> <span class="pre">00:00:00&quot;</span></code>.</p>
511
+ <p>Execution example:</p>
512
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
513
+ --logical_table Entries \
514
+ --shard_key created_at \
515
+ --min &quot;2015/07/09 00:00:00&quot; \
516
+ --min_border &quot;exclude&quot;
517
+ # [
518
+ # [
519
+ # 0,
520
+ # 1337566253.89858,
521
+ # 0.000355720520019531
522
+ # ],
523
+ # [
524
+ # [
525
+ # [
526
+ # 1
527
+ # ],
528
+ # [
529
+ # [
530
+ # &quot;_id&quot;,
531
+ # &quot;UInt32&quot;
532
+ # ],
533
+ # [
534
+ # &quot;_key&quot;,
535
+ # &quot;ShortText&quot;
536
+ # ],
537
+ # [
538
+ # &quot;content&quot;,
539
+ # &quot;Text&quot;
540
+ # ],
541
+ # [
542
+ # &quot;created_at&quot;,
543
+ # &quot;Time&quot;
544
+ # ],
545
+ # [
546
+ # &quot;n_likes&quot;,
547
+ # &quot;UInt32&quot;
548
+ # ],
549
+ # [
550
+ # &quot;tag&quot;,
551
+ # &quot;ShortText&quot;
552
+ # ]
553
+ # ],
554
+ # [
555
+ # 2,
556
+ # &quot;Good-bye Tritonn&quot;,
557
+ # &quot;I also migrated all Tritonn system!&quot;,
558
+ # 1436371200.0,
559
+ # 3,
560
+ # &quot;Senna&quot;
561
+ # ]
562
+ # ]
563
+ # ]
564
+ # ]
565
+ </pre></div>
566
+ </div>
132
567
  </div>
133
568
  <div class="section" id="max">
134
- <h4>7.3.24.4.2.3. <tt class="docutils literal"><span class="pre">max</span></tt><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h4>
135
- <p>Specifies the max value of <tt class="docutils literal"><span class="pre">shard_key</span></tt>.</p>
569
+ <span id="logical-select-max"></span><h4>7.3.27.5.2.3. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h4>
570
+ <p>Specifies the maximum value of <code class="docutils literal"><span class="pre">shard_key</span></code> column. If shard doesn't
571
+ have any matched records, the shard isn't searched.</p>
572
+ <p>For example, <code class="docutils literal"><span class="pre">max</span></code> is <code class="docutils literal"><span class="pre">&quot;2015/07/08</span> <span class="pre">23:59:59&quot;</span></code>, <code class="docutils literal"><span class="pre">Entry_20150709</span></code>
573
+ isn't searched. Because <code class="docutils literal"><span class="pre">Entry_20150709</span></code> has only records for
574
+ <code class="docutils literal"><span class="pre">&quot;&quot;2015/07/09&quot;</span></code>.</p>
575
+ <p>The following example only uses <code class="docutils literal"><span class="pre">Entry_20150708</span></code>
576
+ table. <code class="docutils literal"><span class="pre">Entry_20150709</span></code> isn't used.</p>
577
+ <p>Execution example:</p>
578
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
579
+ --logical_table Entries \
580
+ --shard_key created_at \
581
+ --max &quot;2015/07/08 23:59:59&quot;
582
+ # [
583
+ # [
584
+ # 0,
585
+ # 1337566253.89858,
586
+ # 0.000355720520019531
587
+ # ],
588
+ # [
589
+ # [
590
+ # [
591
+ # 3
592
+ # ],
593
+ # [
594
+ # [
595
+ # &quot;_id&quot;,
596
+ # &quot;UInt32&quot;
597
+ # ],
598
+ # [
599
+ # &quot;_key&quot;,
600
+ # &quot;ShortText&quot;
601
+ # ],
602
+ # [
603
+ # &quot;content&quot;,
604
+ # &quot;Text&quot;
605
+ # ],
606
+ # [
607
+ # &quot;created_at&quot;,
608
+ # &quot;Time&quot;
609
+ # ],
610
+ # [
611
+ # &quot;n_likes&quot;,
612
+ # &quot;UInt32&quot;
613
+ # ],
614
+ # [
615
+ # &quot;tag&quot;,
616
+ # &quot;ShortText&quot;
617
+ # ]
618
+ # ],
619
+ # [
620
+ # 1,
621
+ # &quot;The first post!&quot;,
622
+ # &quot;Welcome! This is my first post!&quot;,
623
+ # 1436281200.0,
624
+ # 5,
625
+ # &quot;Hello&quot;
626
+ # ],
627
+ # [
628
+ # 2,
629
+ # &quot;Groonga&quot;,
630
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
631
+ # 1436284800.0,
632
+ # 10,
633
+ # &quot;Groonga&quot;
634
+ # ],
635
+ # [
636
+ # 3,
637
+ # &quot;Mroonga&quot;,
638
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
639
+ # 1436288400.0,
640
+ # 15,
641
+ # &quot;Groonga&quot;
642
+ # ]
643
+ # ]
644
+ # ]
645
+ # ]
646
+ </pre></div>
647
+ </div>
136
648
  </div>
137
649
  <div class="section" id="max-border">
138
- <h4>7.3.24.4.2.4. <tt class="docutils literal"><span class="pre">max_border</span></tt><a class="headerlink" href="#max-border" title="Permalink to this headline">¶</a></h4>
139
- <p>Specifies whether the max value of borderline must be include or not.
140
- Specify <tt class="docutils literal"><span class="pre">include</span></tt> or <tt class="docutils literal"><span class="pre">exclude</span></tt> as the value of this parameter.</p>
650
+ <span id="logical-select-max-border"></span><h4>7.3.27.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="Permalink to this headline">¶</a></h4>
651
+ <p>Specifies whether the maximum value is include or not. Here is
652
+ available values.</p>
653
+ <table border="1" class="docutils">
654
+ <colgroup>
655
+ <col width="50%" />
656
+ <col width="50%" />
657
+ </colgroup>
658
+ <thead valign="bottom">
659
+ <tr class="row-odd"><th class="head">Value</th>
660
+ <th class="head">Description</th>
661
+ </tr>
662
+ </thead>
663
+ <tbody valign="top">
664
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
665
+ <td>Includes <code class="docutils literal"><span class="pre">max</span></code> value. This is the default.</td>
666
+ </tr>
667
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
668
+ <td>Doesn't include <code class="docutils literal"><span class="pre">max</span></code> value.</td>
669
+ </tr>
670
+ </tbody>
671
+ </table>
672
+ <p>Here is an example for <code class="docutils literal"><span class="pre">exclude</span></code>. The result doesn't include the
673
+ <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></code> record because its <code class="docutils literal"><span class="pre">created_at</span></code> value is
674
+ <code class="docutils literal"><span class="pre">&quot;2015/07/09</span> <span class="pre">00:00:00&quot;</span></code>.</p>
675
+ <p>Execution example:</p>
676
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
677
+ --logical_table Entries \
678
+ --shard_key created_at \
679
+ --max &quot;2015/07/09 00:00:00&quot; \
680
+ --max_border &quot;exclude&quot;
681
+ # [
682
+ # [
683
+ # 0,
684
+ # 1337566253.89858,
685
+ # 0.000355720520019531
686
+ # ],
687
+ # [
688
+ # [
689
+ # [
690
+ # 3
691
+ # ],
692
+ # [
693
+ # [
694
+ # &quot;_id&quot;,
695
+ # &quot;UInt32&quot;
696
+ # ],
697
+ # [
698
+ # &quot;_key&quot;,
699
+ # &quot;ShortText&quot;
700
+ # ],
701
+ # [
702
+ # &quot;content&quot;,
703
+ # &quot;Text&quot;
704
+ # ],
705
+ # [
706
+ # &quot;created_at&quot;,
707
+ # &quot;Time&quot;
708
+ # ],
709
+ # [
710
+ # &quot;n_likes&quot;,
711
+ # &quot;UInt32&quot;
712
+ # ],
713
+ # [
714
+ # &quot;tag&quot;,
715
+ # &quot;ShortText&quot;
716
+ # ]
717
+ # ],
718
+ # [
719
+ # 1,
720
+ # &quot;The first post!&quot;,
721
+ # &quot;Welcome! This is my first post!&quot;,
722
+ # 1436281200.0,
723
+ # 5,
724
+ # &quot;Hello&quot;
725
+ # ],
726
+ # [
727
+ # 2,
728
+ # &quot;Groonga&quot;,
729
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
730
+ # 1436284800.0,
731
+ # 10,
732
+ # &quot;Groonga&quot;
733
+ # ],
734
+ # [
735
+ # 3,
736
+ # &quot;Mroonga&quot;,
737
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
738
+ # 1436288400.0,
739
+ # 15,
740
+ # &quot;Groonga&quot;
741
+ # ]
742
+ # ]
743
+ # ]
744
+ # ]
745
+ </pre></div>
746
+ </div>
747
+ </div>
748
+ </div>
749
+ <div class="section" id="search-related-parameters">
750
+ <span id="logical-select-search-related-parameters"></span><h3>7.3.27.5.3. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
751
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> provides <a class="reference internal" href="select.html"><em>select</em></a> compatible search related
752
+ parameters.</p>
753
+ <p><code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> aren't supported yet. <code class="docutils literal"><span class="pre">filter</span></code> is
754
+ only supported for now.</p>
755
+ <div class="section" id="match-columns">
756
+ <span id="logical-select-match-columns"></span><h4>7.3.27.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
757
+ <p>Not implemented yet.</p>
758
+ </div>
759
+ <div class="section" id="query">
760
+ <span id="logical-select-query"></span><h4>7.3.27.5.3.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
761
+ <p>Not implemented yet.</p>
141
762
  </div>
142
763
  <div class="section" id="filter">
143
- <h4>7.3.24.4.2.5. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
764
+ <span id="logical-select-filter"></span><h4>7.3.27.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
765
+ <p>Corresponds to <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
766
+ <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> for details.</p>
767
+ <p>Here is an example:</p>
768
+ <p>Execution example:</p>
769
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
770
+ --logical_table Entries \
771
+ --shard_key created_at \
772
+ --filter &quot;n_likes &lt;= 5&quot;
773
+ # [
774
+ # [
775
+ # 0,
776
+ # 1337566253.89858,
777
+ # 0.000355720520019531
778
+ # ],
779
+ # [
780
+ # [
781
+ # [
782
+ # 3
783
+ # ],
784
+ # [
785
+ # [
786
+ # &quot;_id&quot;,
787
+ # &quot;UInt32&quot;
788
+ # ],
789
+ # [
790
+ # &quot;_key&quot;,
791
+ # &quot;ShortText&quot;
792
+ # ],
793
+ # [
794
+ # &quot;content&quot;,
795
+ # &quot;Text&quot;
796
+ # ],
797
+ # [
798
+ # &quot;created_at&quot;,
799
+ # &quot;Time&quot;
800
+ # ],
801
+ # [
802
+ # &quot;n_likes&quot;,
803
+ # &quot;UInt32&quot;
804
+ # ],
805
+ # [
806
+ # &quot;tag&quot;,
807
+ # &quot;ShortText&quot;
808
+ # ]
809
+ # ],
810
+ # [
811
+ # 1,
812
+ # &quot;The first post!&quot;,
813
+ # &quot;Welcome! This is my first post!&quot;,
814
+ # 1436281200.0,
815
+ # 5,
816
+ # &quot;Hello&quot;
817
+ # ],
818
+ # [
819
+ # 1,
820
+ # &quot;Good-bye Senna&quot;,
821
+ # &quot;I migrated all Senna system!&quot;,
822
+ # 1436367600.0,
823
+ # 3,
824
+ # &quot;Senna&quot;
825
+ # ],
826
+ # [
827
+ # 2,
828
+ # &quot;Good-bye Tritonn&quot;,
829
+ # &quot;I also migrated all Tritonn system!&quot;,
830
+ # 1436371200.0,
831
+ # 3,
832
+ # &quot;Senna&quot;
833
+ # ]
834
+ # ]
835
+ # ]
836
+ # ]
837
+ </pre></div>
144
838
  </div>
145
839
  </div>
146
840
  </div>
147
- <div class="section" id="return-value">
148
- <h2>7.3.24.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
149
- <p>TODO: add more description for RESULTS</p>
150
- <div class="highlight-none"><div class="highlight"><pre>[HEADER, RESULTS]
841
+ <div class="section" id="advanced-search-parameters">
842
+ <span id="logical-select-advanced-search-parameters"></span><h3>7.3.27.5.4. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
843
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> doesn't implement advanced search parameters yet.</p>
844
+ <div class="section" id="match-escalation-threshold">
845
+ <span id="logical-select-match-escalation-threshold"></span><h4>7.3.27.5.4.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
846
+ <p>Not implemented yet.</p>
847
+ </div>
848
+ <div class="section" id="query-flags">
849
+ <span id="logical-select-query-flags"></span><h4>7.3.27.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
850
+ <p>Not implemented yet.</p>
851
+ </div>
852
+ <div class="section" id="query-expander">
853
+ <span id="logical-select-query-expander"></span><h4>7.3.27.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
854
+ <p>Not implemented yet.</p>
855
+ </div>
856
+ </div>
857
+ <div class="section" id="output-related-parameters">
858
+ <h3>7.3.27.5.5. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
859
+ <div class="section" id="output-columns">
860
+ <span id="logical-select-output-columns"></span><h4>7.3.27.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
861
+ <p>Corresponds to <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
862
+ <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> for details.</p>
863
+ <p>Here is an example:</p>
864
+ <p>Execution example:</p>
865
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
866
+ --logical_table Entries \
867
+ --shard_key created_at \
868
+ --output_columns &#39;_key, *&#39;
869
+ # [
870
+ # [
871
+ # 0,
872
+ # 1337566253.89858,
873
+ # 0.000355720520019531
874
+ # ],
875
+ # [
876
+ # [
877
+ # [
878
+ # 5
879
+ # ],
880
+ # [
881
+ # [
882
+ # &quot;_key&quot;,
883
+ # &quot;ShortText&quot;
884
+ # ],
885
+ # [
886
+ # &quot;content&quot;,
887
+ # &quot;Text&quot;
888
+ # ],
889
+ # [
890
+ # &quot;created_at&quot;,
891
+ # &quot;Time&quot;
892
+ # ],
893
+ # [
894
+ # &quot;n_likes&quot;,
895
+ # &quot;UInt32&quot;
896
+ # ],
897
+ # [
898
+ # &quot;tag&quot;,
899
+ # &quot;ShortText&quot;
900
+ # ]
901
+ # ],
902
+ # [
903
+ # &quot;The first post!&quot;,
904
+ # &quot;Welcome! This is my first post!&quot;,
905
+ # 1436281200.0,
906
+ # 5,
907
+ # &quot;Hello&quot;
908
+ # ],
909
+ # [
910
+ # &quot;Groonga&quot;,
911
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
912
+ # 1436284800.0,
913
+ # 10,
914
+ # &quot;Groonga&quot;
915
+ # ],
916
+ # [
917
+ # &quot;Mroonga&quot;,
918
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
919
+ # 1436288400.0,
920
+ # 15,
921
+ # &quot;Groonga&quot;
922
+ # ],
923
+ # [
924
+ # &quot;Good-bye Senna&quot;,
925
+ # &quot;I migrated all Senna system!&quot;,
926
+ # 1436367600.0,
927
+ # 3,
928
+ # &quot;Senna&quot;
929
+ # ],
930
+ # [
931
+ # &quot;Good-bye Tritonn&quot;,
932
+ # &quot;I also migrated all Tritonn system!&quot;,
933
+ # 1436371200.0,
934
+ # 3,
935
+ # &quot;Senna&quot;
936
+ # ]
937
+ # ]
938
+ # ]
939
+ # ]
940
+ </pre></div>
941
+ </div>
942
+ </div>
943
+ <div class="section" id="sortby">
944
+ <span id="logical-select-sortby"></span><h4>7.3.27.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
945
+ <p>Corresponds to <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
946
+ <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> for details.</p>
947
+ <p><code class="docutils literal"><span class="pre">sortby</span></code> has a limitation. It works only when the number of search
948
+ target shards is one. If the number of search target shards is larger
949
+ than one, <code class="docutils literal"><span class="pre">sortby</span></code> doesn't work.</p>
950
+ <p>Here is an example that uses only one shard:</p>
951
+ <p>Execution example:</p>
952
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
953
+ --logical_table Entries \
954
+ --shard_key created_at \
955
+ --min &quot;2015/07/08 00:00:00&quot; \
956
+ --min_border &quot;include&quot; \
957
+ --max &quot;2015/07/09 00:00:00&quot; \
958
+ --max_border &quot;exclude&quot; \
959
+ --sortby _key
960
+ # [
961
+ # [
962
+ # 0,
963
+ # 1337566253.89858,
964
+ # 0.000355720520019531
965
+ # ],
966
+ # [
967
+ # [
968
+ # [
969
+ # 3
970
+ # ],
971
+ # [
972
+ # [
973
+ # &quot;_id&quot;,
974
+ # &quot;UInt32&quot;
975
+ # ],
976
+ # [
977
+ # &quot;_key&quot;,
978
+ # &quot;ShortText&quot;
979
+ # ],
980
+ # [
981
+ # &quot;content&quot;,
982
+ # &quot;Text&quot;
983
+ # ],
984
+ # [
985
+ # &quot;created_at&quot;,
986
+ # &quot;Time&quot;
987
+ # ],
988
+ # [
989
+ # &quot;n_likes&quot;,
990
+ # &quot;UInt32&quot;
991
+ # ],
992
+ # [
993
+ # &quot;tag&quot;,
994
+ # &quot;ShortText&quot;
995
+ # ]
996
+ # ],
997
+ # [
998
+ # 2,
999
+ # &quot;Groonga&quot;,
1000
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1001
+ # 1436284800.0,
1002
+ # 10,
1003
+ # &quot;Groonga&quot;
1004
+ # ],
1005
+ # [
1006
+ # 3,
1007
+ # &quot;Mroonga&quot;,
1008
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1009
+ # 1436288400.0,
1010
+ # 15,
1011
+ # &quot;Groonga&quot;
1012
+ # ],
1013
+ # [
1014
+ # 1,
1015
+ # &quot;The first post!&quot;,
1016
+ # &quot;Welcome! This is my first post!&quot;,
1017
+ # 1436281200.0,
1018
+ # 5,
1019
+ # &quot;Hello&quot;
1020
+ # ]
1021
+ # ]
1022
+ # ]
1023
+ # ]
1024
+ </pre></div>
1025
+ </div>
1026
+ </div>
1027
+ <div class="section" id="offset">
1028
+ <span id="logical-select-offset"></span><h4>7.3.27.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
1029
+ <p>Corresponds to <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1030
+ <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> for details.</p>
1031
+ <p>Here is an example:</p>
1032
+ <p>Execution example:</p>
1033
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1034
+ --logical_table Entries \
1035
+ --shard_key created_at \
1036
+ --offset 2
1037
+ # [
1038
+ # [
1039
+ # 0,
1040
+ # 1337566253.89858,
1041
+ # 0.000355720520019531
1042
+ # ],
1043
+ # [
1044
+ # [
1045
+ # [
1046
+ # 5
1047
+ # ],
1048
+ # [
1049
+ # [
1050
+ # &quot;_id&quot;,
1051
+ # &quot;UInt32&quot;
1052
+ # ],
1053
+ # [
1054
+ # &quot;_key&quot;,
1055
+ # &quot;ShortText&quot;
1056
+ # ],
1057
+ # [
1058
+ # &quot;content&quot;,
1059
+ # &quot;Text&quot;
1060
+ # ],
1061
+ # [
1062
+ # &quot;created_at&quot;,
1063
+ # &quot;Time&quot;
1064
+ # ],
1065
+ # [
1066
+ # &quot;n_likes&quot;,
1067
+ # &quot;UInt32&quot;
1068
+ # ],
1069
+ # [
1070
+ # &quot;tag&quot;,
1071
+ # &quot;ShortText&quot;
1072
+ # ]
1073
+ # ],
1074
+ # [
1075
+ # 3,
1076
+ # &quot;Mroonga&quot;,
1077
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1078
+ # 1436288400.0,
1079
+ # 15,
1080
+ # &quot;Groonga&quot;
1081
+ # ],
1082
+ # [
1083
+ # 1,
1084
+ # &quot;Good-bye Senna&quot;,
1085
+ # &quot;I migrated all Senna system!&quot;,
1086
+ # 1436367600.0,
1087
+ # 3,
1088
+ # &quot;Senna&quot;
1089
+ # ],
1090
+ # [
1091
+ # 2,
1092
+ # &quot;Good-bye Tritonn&quot;,
1093
+ # &quot;I also migrated all Tritonn system!&quot;,
1094
+ # 1436371200.0,
1095
+ # 3,
1096
+ # &quot;Senna&quot;
1097
+ # ]
1098
+ # ]
1099
+ # ]
1100
+ # ]
151
1101
  </pre></div>
152
1102
  </div>
153
1103
  </div>
1104
+ <div class="section" id="limit">
1105
+ <span id="logical-select-limit"></span><h4>7.3.27.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
1106
+ <p>Corresponds to <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1107
+ <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> for details.</p>
1108
+ <p>Here is an example:</p>
1109
+ <p>Execution example:</p>
1110
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1111
+ --logical_table Entries \
1112
+ --shard_key created_at \
1113
+ --limit 2
1114
+ # [
1115
+ # [
1116
+ # 0,
1117
+ # 1337566253.89858,
1118
+ # 0.000355720520019531
1119
+ # ],
1120
+ # [
1121
+ # [
1122
+ # [
1123
+ # 5
1124
+ # ],
1125
+ # [
1126
+ # [
1127
+ # &quot;_id&quot;,
1128
+ # &quot;UInt32&quot;
1129
+ # ],
1130
+ # [
1131
+ # &quot;_key&quot;,
1132
+ # &quot;ShortText&quot;
1133
+ # ],
1134
+ # [
1135
+ # &quot;content&quot;,
1136
+ # &quot;Text&quot;
1137
+ # ],
1138
+ # [
1139
+ # &quot;created_at&quot;,
1140
+ # &quot;Time&quot;
1141
+ # ],
1142
+ # [
1143
+ # &quot;n_likes&quot;,
1144
+ # &quot;UInt32&quot;
1145
+ # ],
1146
+ # [
1147
+ # &quot;tag&quot;,
1148
+ # &quot;ShortText&quot;
1149
+ # ]
1150
+ # ],
1151
+ # [
1152
+ # 1,
1153
+ # &quot;The first post!&quot;,
1154
+ # &quot;Welcome! This is my first post!&quot;,
1155
+ # 1436281200.0,
1156
+ # 5,
1157
+ # &quot;Hello&quot;
1158
+ # ],
1159
+ # [
1160
+ # 2,
1161
+ # &quot;Groonga&quot;,
1162
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1163
+ # 1436284800.0,
1164
+ # 10,
1165
+ # &quot;Groonga&quot;
1166
+ # ]
1167
+ # ]
1168
+ # ]
1169
+ # ]
1170
+ </pre></div>
1171
+ </div>
1172
+ </div>
1173
+ <div class="section" id="scorer">
1174
+ <span id="logical-select-scorer"></span><h4>7.3.27.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
1175
+ <p>Not implemented yet.</p>
1176
+ </div>
1177
+ </div>
1178
+ <div class="section" id="drilldown-related-parameters">
1179
+ <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.27.5.6. Drilldown related parameters<a class="headerlink" href="#drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
1180
+ <p>All drilldown related parameters in <a class="reference internal" href="select.html"><em>select</em></a> are supported. See
1181
+ <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span>Drilldown related parameters</span></a> for details.</p>
1182
+ <div class="section" id="drilldown">
1183
+ <span id="logical-select-drilldown"></span><h4>7.3.27.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
1184
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1185
+ <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> for details.</p>
1186
+ <p>Here is an example:</p>
1187
+ <p>Execution example:</p>
1188
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1189
+ --logical_table Entries \
1190
+ --shard_key created_at \
1191
+ --output_columns _key,tag \
1192
+ --drilldown tag
1193
+ # [
1194
+ # [
1195
+ # 0,
1196
+ # 1337566253.89858,
1197
+ # 0.000355720520019531
1198
+ # ],
1199
+ # [
1200
+ # [
1201
+ # [
1202
+ # 5
1203
+ # ],
1204
+ # [
1205
+ # [
1206
+ # &quot;_key&quot;,
1207
+ # &quot;ShortText&quot;
1208
+ # ],
1209
+ # [
1210
+ # &quot;tag&quot;,
1211
+ # &quot;ShortText&quot;
1212
+ # ]
1213
+ # ],
1214
+ # [
1215
+ # &quot;The first post!&quot;,
1216
+ # &quot;Hello&quot;
1217
+ # ],
1218
+ # [
1219
+ # &quot;Groonga&quot;,
1220
+ # &quot;Groonga&quot;
1221
+ # ],
1222
+ # [
1223
+ # &quot;Mroonga&quot;,
1224
+ # &quot;Groonga&quot;
1225
+ # ],
1226
+ # [
1227
+ # &quot;Good-bye Senna&quot;,
1228
+ # &quot;Senna&quot;
1229
+ # ],
1230
+ # [
1231
+ # &quot;Good-bye Tritonn&quot;,
1232
+ # &quot;Senna&quot;
1233
+ # ]
1234
+ # ],
1235
+ # [
1236
+ # [
1237
+ # 3
1238
+ # ],
1239
+ # [
1240
+ # [
1241
+ # &quot;_key&quot;,
1242
+ # &quot;ShortText&quot;
1243
+ # ],
1244
+ # [
1245
+ # &quot;_nsubrecs&quot;,
1246
+ # &quot;Int32&quot;
1247
+ # ]
1248
+ # ],
1249
+ # [
1250
+ # &quot;Hello&quot;,
1251
+ # 1
1252
+ # ],
1253
+ # [
1254
+ # &quot;Groonga&quot;,
1255
+ # 2
1256
+ # ],
1257
+ # [
1258
+ # &quot;Senna&quot;,
1259
+ # 2
1260
+ # ]
1261
+ # ]
1262
+ # ]
1263
+ # ]
1264
+ </pre></div>
1265
+ </div>
1266
+ </div>
1267
+ <div class="section" id="drilldown-sortby">
1268
+ <span id="logical-select-drilldown-sortby"></span><h4>7.3.27.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
1269
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1270
+ <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> for details.</p>
1271
+ <p>Here is an example:</p>
1272
+ <p>Execution example:</p>
1273
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1274
+ --logical_table Entries \
1275
+ --shard_key created_at \
1276
+ --limit 0 \
1277
+ --output_columns _id \
1278
+ --drilldown tag \
1279
+ --drilldown_sortby -_nsubrecs,_key
1280
+ # [
1281
+ # [
1282
+ # 0,
1283
+ # 1337566253.89858,
1284
+ # 0.000355720520019531
1285
+ # ],
1286
+ # [
1287
+ # [
1288
+ # [
1289
+ # 5
1290
+ # ],
1291
+ # [
1292
+ # [
1293
+ # &quot;_id&quot;,
1294
+ # &quot;UInt32&quot;
1295
+ # ]
1296
+ # ]
1297
+ # ],
1298
+ # [
1299
+ # [
1300
+ # 3
1301
+ # ],
1302
+ # [
1303
+ # [
1304
+ # &quot;_key&quot;,
1305
+ # &quot;ShortText&quot;
1306
+ # ],
1307
+ # [
1308
+ # &quot;_nsubrecs&quot;,
1309
+ # &quot;Int32&quot;
1310
+ # ]
1311
+ # ],
1312
+ # [
1313
+ # &quot;Groonga&quot;,
1314
+ # 2
1315
+ # ],
1316
+ # [
1317
+ # &quot;Senna&quot;,
1318
+ # 2
1319
+ # ],
1320
+ # [
1321
+ # &quot;Hello&quot;,
1322
+ # 1
1323
+ # ]
1324
+ # ]
1325
+ # ]
1326
+ # ]
1327
+ </pre></div>
1328
+ </div>
1329
+ </div>
1330
+ <div class="section" id="drilldown-output-columns">
1331
+ <span id="logical-select-drilldown-output-columns"></span><h4>7.3.27.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
1332
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> in
1333
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> for details.</p>
1334
+ <p>Here is an example:</p>
1335
+ <p>Execution example:</p>
1336
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1337
+ --logical_table Entries \
1338
+ --shard_key created_at \
1339
+ --limit 0 \
1340
+ --output_columns _id \
1341
+ --drilldown tag \
1342
+ --drilldown_output_columns _key
1343
+ # [
1344
+ # [
1345
+ # 0,
1346
+ # 1337566253.89858,
1347
+ # 0.000355720520019531
1348
+ # ],
1349
+ # [
1350
+ # [
1351
+ # [
1352
+ # 5
1353
+ # ],
1354
+ # [
1355
+ # [
1356
+ # &quot;_id&quot;,
1357
+ # &quot;UInt32&quot;
1358
+ # ]
1359
+ # ]
1360
+ # ],
1361
+ # [
1362
+ # [
1363
+ # 3
1364
+ # ],
1365
+ # [
1366
+ # [
1367
+ # &quot;_key&quot;,
1368
+ # &quot;ShortText&quot;
1369
+ # ]
1370
+ # ],
1371
+ # [
1372
+ # &quot;Hello&quot;
1373
+ # ],
1374
+ # [
1375
+ # &quot;Groonga&quot;
1376
+ # ],
1377
+ # [
1378
+ # &quot;Senna&quot;
1379
+ # ]
1380
+ # ]
1381
+ # ]
1382
+ # ]
1383
+ </pre></div>
1384
+ </div>
1385
+ </div>
1386
+ <div class="section" id="drilldown-offset">
1387
+ <span id="logical-select-drilldown-offset"></span><h4>7.3.27.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
1388
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1389
+ <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> for details.</p>
1390
+ <p>Here is an example:</p>
1391
+ <p>Execution example:</p>
1392
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1393
+ --logical_table Entries \
1394
+ --shard_key created_at \
1395
+ --limit 0 \
1396
+ --output_columns _id \
1397
+ --drilldown tag \
1398
+ --drilldown_offset 1
1399
+ # [
1400
+ # [
1401
+ # 0,
1402
+ # 1337566253.89858,
1403
+ # 0.000355720520019531
1404
+ # ],
1405
+ # [
1406
+ # [
1407
+ # [
1408
+ # 5
1409
+ # ],
1410
+ # [
1411
+ # [
1412
+ # &quot;_id&quot;,
1413
+ # &quot;UInt32&quot;
1414
+ # ]
1415
+ # ]
1416
+ # ],
1417
+ # [
1418
+ # [
1419
+ # 3
1420
+ # ],
1421
+ # [
1422
+ # [
1423
+ # &quot;_key&quot;,
1424
+ # &quot;ShortText&quot;
1425
+ # ],
1426
+ # [
1427
+ # &quot;_nsubrecs&quot;,
1428
+ # &quot;Int32&quot;
1429
+ # ]
1430
+ # ],
1431
+ # [
1432
+ # &quot;Groonga&quot;,
1433
+ # 2
1434
+ # ],
1435
+ # [
1436
+ # &quot;Senna&quot;,
1437
+ # 2
1438
+ # ]
1439
+ # ]
1440
+ # ]
1441
+ # ]
1442
+ </pre></div>
1443
+ </div>
1444
+ </div>
1445
+ <div class="section" id="drilldown-limit">
1446
+ <span id="logical-select-drilldown-limit"></span><h4>7.3.27.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
1447
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> in <a class="reference internal" href="select.html"><em>select</em></a>. See
1448
+ <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> for details.</p>
1449
+ <p>Here is an example:</p>
1450
+ <p>Execution example:</p>
1451
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1452
+ --logical_table Entries \
1453
+ --shard_key created_at \
1454
+ --limit 0 \
1455
+ --output_columns _id \
1456
+ --drilldown tag \
1457
+ --drilldown_limit 2
1458
+ # [
1459
+ # [
1460
+ # 0,
1461
+ # 1337566253.89858,
1462
+ # 0.000355720520019531
1463
+ # ],
1464
+ # [
1465
+ # [
1466
+ # [
1467
+ # 5
1468
+ # ],
1469
+ # [
1470
+ # [
1471
+ # &quot;_id&quot;,
1472
+ # &quot;UInt32&quot;
1473
+ # ]
1474
+ # ]
1475
+ # ],
1476
+ # [
1477
+ # [
1478
+ # 3
1479
+ # ],
1480
+ # [
1481
+ # [
1482
+ # &quot;_key&quot;,
1483
+ # &quot;ShortText&quot;
1484
+ # ],
1485
+ # [
1486
+ # &quot;_nsubrecs&quot;,
1487
+ # &quot;Int32&quot;
1488
+ # ]
1489
+ # ],
1490
+ # [
1491
+ # &quot;Hello&quot;,
1492
+ # 1
1493
+ # ],
1494
+ # [
1495
+ # &quot;Groonga&quot;,
1496
+ # 2
1497
+ # ]
1498
+ # ]
1499
+ # ]
1500
+ # ]
1501
+ </pre></div>
1502
+ </div>
1503
+ </div>
1504
+ <div class="section" id="drilldown-calc-types">
1505
+ <span id="logical-select-drilldown-calc-types"></span><h4>7.3.27.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code><a class="headerlink" href="#drilldown-calc-types" title="Permalink to this headline">¶</a></h4>
1506
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> in
1507
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> for details.</p>
1508
+ <p>Here is an example:</p>
1509
+ <p>Execution example:</p>
1510
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1511
+ --logical_table Entries \
1512
+ --shard_key created_at \
1513
+ --limit -1 \
1514
+ --output_columns tag,n_likes \
1515
+ --drilldown tag \
1516
+ --drilldown_calc_types MAX,MIN,SUM,AVG \
1517
+ --drilldown_calc_target n_likes \
1518
+ --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1519
+ # [
1520
+ # [
1521
+ # 0,
1522
+ # 1337566253.89858,
1523
+ # 0.000355720520019531
1524
+ # ],
1525
+ # [
1526
+ # [
1527
+ # [
1528
+ # 5
1529
+ # ],
1530
+ # [
1531
+ # [
1532
+ # &quot;tag&quot;,
1533
+ # &quot;ShortText&quot;
1534
+ # ],
1535
+ # [
1536
+ # &quot;n_likes&quot;,
1537
+ # &quot;UInt32&quot;
1538
+ # ]
1539
+ # ],
1540
+ # [
1541
+ # &quot;Hello&quot;,
1542
+ # 5
1543
+ # ],
1544
+ # [
1545
+ # &quot;Groonga&quot;,
1546
+ # 10
1547
+ # ],
1548
+ # [
1549
+ # &quot;Groonga&quot;,
1550
+ # 15
1551
+ # ],
1552
+ # [
1553
+ # &quot;Senna&quot;,
1554
+ # 3
1555
+ # ],
1556
+ # [
1557
+ # &quot;Senna&quot;,
1558
+ # 3
1559
+ # ]
1560
+ # ],
1561
+ # [
1562
+ # [
1563
+ # 3
1564
+ # ],
1565
+ # [
1566
+ # [
1567
+ # &quot;_key&quot;,
1568
+ # &quot;ShortText&quot;
1569
+ # ],
1570
+ # [
1571
+ # &quot;_nsubrecs&quot;,
1572
+ # &quot;Int32&quot;
1573
+ # ],
1574
+ # [
1575
+ # &quot;_max&quot;,
1576
+ # &quot;Int64&quot;
1577
+ # ],
1578
+ # [
1579
+ # &quot;_min&quot;,
1580
+ # &quot;Int64&quot;
1581
+ # ],
1582
+ # [
1583
+ # &quot;_sum&quot;,
1584
+ # &quot;Int64&quot;
1585
+ # ],
1586
+ # [
1587
+ # &quot;_avg&quot;,
1588
+ # &quot;Float&quot;
1589
+ # ]
1590
+ # ],
1591
+ # [
1592
+ # &quot;Hello&quot;,
1593
+ # 1,
1594
+ # 5,
1595
+ # 5,
1596
+ # 5,
1597
+ # 5.0
1598
+ # ],
1599
+ # [
1600
+ # &quot;Groonga&quot;,
1601
+ # 2,
1602
+ # 15,
1603
+ # 10,
1604
+ # 25,
1605
+ # 12.5
1606
+ # ],
1607
+ # [
1608
+ # &quot;Senna&quot;,
1609
+ # 2,
1610
+ # 3,
1611
+ # 3,
1612
+ # 6,
1613
+ # 3.0
1614
+ # ]
1615
+ # ]
1616
+ # ]
1617
+ # ]
1618
+ </pre></div>
1619
+ </div>
1620
+ </div>
1621
+ <div class="section" id="drilldown-calc-target">
1622
+ <span id="logical-select-drilldown-calc-target"></span><h4>7.3.27.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code><a class="headerlink" href="#drilldown-calc-target" title="Permalink to this headline">¶</a></h4>
1623
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> in
1624
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> for details.</p>
1625
+ <p>See also <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> for an example.</p>
1626
+ </div>
1627
+ </div>
1628
+ <div class="section" id="advanced-drilldown-related-parameters">
1629
+ <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.27.5.7. Advanced drilldown related parameters<a class="headerlink" href="#advanced-drilldown-related-parameters" title="Permalink to this headline">¶</a></h3>
1630
+ <p>All advanced drilldown related parameters in <a class="reference internal" href="select.html"><em>select</em></a> are
1631
+ supported. See <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span>Advanced drilldown related parameters</span></a> for
1632
+ details.</p>
1633
+ <p>There are some limitations:</p>
1634
+ <blockquote>
1635
+ <div><ul class="simple">
1636
+ <li><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't
1637
+ work with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
1638
+ <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</li>
1639
+ </ul>
1640
+ </div></blockquote>
1641
+ <div class="section" id="drilldown-label-keys">
1642
+ <span id="logical-select-drilldown-label-keys"></span><h4>7.3.27.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code><a class="headerlink" href="#drilldown-label-keys" title="Permalink to this headline">¶</a></h4>
1643
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> in
1644
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> for details.</p>
1645
+ <p>Here is an example:</p>
1646
+ <p>Execution example:</p>
1647
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1648
+ --logical_table Entries \
1649
+ --shard_key created_at \
1650
+ --limit 0 \
1651
+ --output_columns _id \
1652
+ --drilldown[tag.n_likes].keys tag,n_likes \
1653
+ --drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
1654
+ # [
1655
+ # [
1656
+ # 0,
1657
+ # 1337566253.89858,
1658
+ # 0.000355720520019531
1659
+ # ],
1660
+ # [
1661
+ # [
1662
+ # [
1663
+ # 5
1664
+ # ],
1665
+ # [
1666
+ # [
1667
+ # &quot;_id&quot;,
1668
+ # &quot;UInt32&quot;
1669
+ # ]
1670
+ # ]
1671
+ # ],
1672
+ # {
1673
+ # &quot;tag.n_likes&quot;: [
1674
+ # [
1675
+ # 4
1676
+ # ],
1677
+ # [
1678
+ # [
1679
+ # &quot;tag&quot;,
1680
+ # &quot;ShortText&quot;
1681
+ # ],
1682
+ # [
1683
+ # &quot;n_likes&quot;,
1684
+ # &quot;UInt32&quot;
1685
+ # ],
1686
+ # [
1687
+ # &quot;_nsubrecs&quot;,
1688
+ # &quot;Int32&quot;
1689
+ # ]
1690
+ # ],
1691
+ # [
1692
+ # &quot;Hello&quot;,
1693
+ # 5,
1694
+ # 1
1695
+ # ],
1696
+ # [
1697
+ # &quot;Groonga&quot;,
1698
+ # 10,
1699
+ # 1
1700
+ # ],
1701
+ # [
1702
+ # &quot;Groonga&quot;,
1703
+ # 15,
1704
+ # 1
1705
+ # ],
1706
+ # [
1707
+ # &quot;Senna&quot;,
1708
+ # 3,
1709
+ # 2
1710
+ # ]
1711
+ # ]
1712
+ # }
1713
+ # ]
1714
+ # ]
1715
+ </pre></div>
1716
+ </div>
1717
+ </div>
1718
+ <div class="section" id="drilldown-label-output-columns">
1719
+ <span id="logical-select-drilldown-label-output-columns"></span><h4>7.3.27.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code><a class="headerlink" href="#drilldown-label-output-columns" title="Permalink to this headline">¶</a></h4>
1720
+ <p>Corresponds to <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> in
1721
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> for
1722
+ details.</p>
1723
+ <p>Here is an example:</p>
1724
+ <p>Execution example:</p>
1725
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1726
+ --logical_table Entries \
1727
+ --shard_key created_at \
1728
+ --limit 0 \
1729
+ --output_columns _id \
1730
+ --drilldown[tag].keys tag \
1731
+ --drilldown[tag].output_columns _key,_nsubrecs
1732
+ # [
1733
+ # [
1734
+ # 0,
1735
+ # 1337566253.89858,
1736
+ # 0.000355720520019531
1737
+ # ],
1738
+ # [
1739
+ # [
1740
+ # [
1741
+ # 5
1742
+ # ],
1743
+ # [
1744
+ # [
1745
+ # &quot;_id&quot;,
1746
+ # &quot;UInt32&quot;
1747
+ # ]
1748
+ # ]
1749
+ # ],
1750
+ # {
1751
+ # &quot;tag&quot;: [
1752
+ # [
1753
+ # 3
1754
+ # ],
1755
+ # [
1756
+ # [
1757
+ # &quot;_key&quot;,
1758
+ # &quot;ShortText&quot;
1759
+ # ],
1760
+ # [
1761
+ # &quot;_nsubrecs&quot;,
1762
+ # &quot;Int32&quot;
1763
+ # ]
1764
+ # ],
1765
+ # [
1766
+ # &quot;Hello&quot;,
1767
+ # 1
1768
+ # ],
1769
+ # [
1770
+ # &quot;Groonga&quot;,
1771
+ # 2
1772
+ # ],
1773
+ # [
1774
+ # &quot;Senna&quot;,
1775
+ # 2
1776
+ # ]
1777
+ # ]
1778
+ # }
1779
+ # ]
1780
+ # ]
1781
+ </pre></div>
1782
+ </div>
1783
+ </div>
1784
+ <div class="section" id="drilldown-label-sortby">
1785
+ <span id="logical-select-drilldown-label-sortby"></span><h4>7.3.27.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code><a class="headerlink" href="#drilldown-label-sortby" title="Permalink to this headline">¶</a></h4>
1786
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-sortby"><span>drilldown_sortby</span></a> in not labeled
1787
+ drilldown.</p>
1788
+ <p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> has a limitation.</p>
1789
+ <p><code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> in <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> doesn't work
1790
+ with multiple shards. It works with one shard. <code class="docutils literal"><span class="pre">_key</span></code> in
1791
+ <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> work with multiple shards.</p>
1792
+ <p>Here is an example that uses <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> with only one
1793
+ shard:</p>
1794
+ <p>Execution example:</p>
1795
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1796
+ --logical_table Entries \
1797
+ --shard_key created_at \
1798
+ --min &quot;2015/07/08 00:00:00&quot; \
1799
+ --min_border &quot;include&quot; \
1800
+ --max &quot;2015/07/09 00:00:00&quot; \
1801
+ --max_border &quot;exclude&quot; \
1802
+ --limit 0 \
1803
+ --output_columns _id \
1804
+ --drilldown[tag.n_likes].keys tag,n_likes \
1805
+ --drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
1806
+ --drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
1807
+ # [
1808
+ # [
1809
+ # 0,
1810
+ # 1337566253.89858,
1811
+ # 0.000355720520019531
1812
+ # ],
1813
+ # [
1814
+ # [
1815
+ # [
1816
+ # 3
1817
+ # ],
1818
+ # [
1819
+ # [
1820
+ # &quot;_id&quot;,
1821
+ # &quot;UInt32&quot;
1822
+ # ]
1823
+ # ]
1824
+ # ],
1825
+ # {
1826
+ # &quot;tag.n_likes&quot;: [
1827
+ # [
1828
+ # 3
1829
+ # ],
1830
+ # [
1831
+ # [
1832
+ # &quot;_nsubrecs&quot;,
1833
+ # &quot;Int32&quot;
1834
+ # ],
1835
+ # [
1836
+ # &quot;n_likes&quot;,
1837
+ # &quot;UInt32&quot;
1838
+ # ],
1839
+ # [
1840
+ # &quot;tag&quot;,
1841
+ # &quot;ShortText&quot;
1842
+ # ]
1843
+ # ],
1844
+ # [
1845
+ # 1,
1846
+ # 5,
1847
+ # &quot;Hello&quot;
1848
+ # ],
1849
+ # [
1850
+ # 1,
1851
+ # 10,
1852
+ # &quot;Groonga&quot;
1853
+ # ],
1854
+ # [
1855
+ # 1,
1856
+ # 15,
1857
+ # &quot;Groonga&quot;
1858
+ # ]
1859
+ # ]
1860
+ # }
1861
+ # ]
1862
+ # ]
1863
+ </pre></div>
1864
+ </div>
1865
+ </div>
1866
+ <div class="section" id="drilldown-label-offset">
1867
+ <span id="logical-select-drilldown-label-offset"></span><h4>7.3.27.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code><a class="headerlink" href="#drilldown-label-offset" title="Permalink to this headline">¶</a></h4>
1868
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-offset"><span>drilldown_offset</span></a> in not labeled
1869
+ drilldown.</p>
1870
+ <p>Here is an example:</p>
1871
+ <p>Execution example:</p>
1872
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1873
+ --logical_table Entries \
1874
+ --shard_key created_at \
1875
+ --limit 0 \
1876
+ --output_columns _id \
1877
+ --drilldown[tag.n_likes].keys tag \
1878
+ --drilldown[tag.n_likes].offset 1
1879
+ # [
1880
+ # [
1881
+ # 0,
1882
+ # 1337566253.89858,
1883
+ # 0.000355720520019531
1884
+ # ],
1885
+ # [
1886
+ # [
1887
+ # [
1888
+ # 5
1889
+ # ],
1890
+ # [
1891
+ # [
1892
+ # &quot;_id&quot;,
1893
+ # &quot;UInt32&quot;
1894
+ # ]
1895
+ # ]
1896
+ # ],
1897
+ # {
1898
+ # &quot;tag.n_likes&quot;: [
1899
+ # [
1900
+ # 3
1901
+ # ],
1902
+ # [
1903
+ # [
1904
+ # &quot;_key&quot;,
1905
+ # &quot;ShortText&quot;
1906
+ # ],
1907
+ # [
1908
+ # &quot;_nsubrecs&quot;,
1909
+ # &quot;Int32&quot;
1910
+ # ]
1911
+ # ],
1912
+ # [
1913
+ # &quot;Groonga&quot;,
1914
+ # 2
1915
+ # ],
1916
+ # [
1917
+ # &quot;Senna&quot;,
1918
+ # 2
1919
+ # ]
1920
+ # ]
1921
+ # }
1922
+ # ]
1923
+ # ]
1924
+ </pre></div>
1925
+ </div>
1926
+ </div>
1927
+ <div class="section" id="drilldown-label-limit">
1928
+ <span id="logical-select-drilldown-label-limit"></span><h4>7.3.27.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code><a class="headerlink" href="#drilldown-label-limit" title="Permalink to this headline">¶</a></h4>
1929
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-limit"><span>drilldown_limit</span></a> in not labeled
1930
+ drilldown.</p>
1931
+ <p>Here is an example:</p>
1932
+ <p>Execution example:</p>
1933
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1934
+ --logical_table Entries \
1935
+ --shard_key created_at \
1936
+ --limit 0 \
1937
+ --output_columns _id \
1938
+ --drilldown[tag.n_likes].keys tag \
1939
+ --drilldown[tag.n_likes].limit 2
1940
+ # [
1941
+ # [
1942
+ # 0,
1943
+ # 1337566253.89858,
1944
+ # 0.000355720520019531
1945
+ # ],
1946
+ # [
1947
+ # [
1948
+ # [
1949
+ # 5
1950
+ # ],
1951
+ # [
1952
+ # [
1953
+ # &quot;_id&quot;,
1954
+ # &quot;UInt32&quot;
1955
+ # ]
1956
+ # ]
1957
+ # ],
1958
+ # {
1959
+ # &quot;tag.n_likes&quot;: [
1960
+ # [
1961
+ # 3
1962
+ # ],
1963
+ # [
1964
+ # [
1965
+ # &quot;_key&quot;,
1966
+ # &quot;ShortText&quot;
1967
+ # ],
1968
+ # [
1969
+ # &quot;_nsubrecs&quot;,
1970
+ # &quot;Int32&quot;
1971
+ # ]
1972
+ # ],
1973
+ # [
1974
+ # &quot;Hello&quot;,
1975
+ # 1
1976
+ # ],
1977
+ # [
1978
+ # &quot;Groonga&quot;,
1979
+ # 2
1980
+ # ]
1981
+ # ]
1982
+ # }
1983
+ # ]
1984
+ # ]
1985
+ </pre></div>
1986
+ </div>
1987
+ </div>
1988
+ <div class="section" id="drilldown-label-calc-types">
1989
+ <span id="logical-select-drilldown-label-calc-types"></span><h4>7.3.27.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code><a class="headerlink" href="#drilldown-label-calc-types" title="Permalink to this headline">¶</a></h4>
1990
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> in not
1991
+ labeled drilldown.</p>
1992
+ <p>Here is an example:</p>
1993
+ <p>Execution example:</p>
1994
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1995
+ --logical_table Entries \
1996
+ --shard_key created_at \
1997
+ --limit 0 \
1998
+ --output_columns _id \
1999
+ --drilldown[tag].keys tag \
2000
+ --drilldown[tag].calc_types MAX,MIN,SUM,AVG \
2001
+ --drilldown[tag].calc_target n_likes \
2002
+ --drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
2003
+ # [
2004
+ # [
2005
+ # 0,
2006
+ # 1337566253.89858,
2007
+ # 0.000355720520019531
2008
+ # ],
2009
+ # [
2010
+ # [
2011
+ # [
2012
+ # 5
2013
+ # ],
2014
+ # [
2015
+ # [
2016
+ # &quot;_id&quot;,
2017
+ # &quot;UInt32&quot;
2018
+ # ]
2019
+ # ]
2020
+ # ],
2021
+ # {
2022
+ # &quot;tag&quot;: [
2023
+ # [
2024
+ # 3
2025
+ # ],
2026
+ # [
2027
+ # [
2028
+ # &quot;_key&quot;,
2029
+ # &quot;ShortText&quot;
2030
+ # ],
2031
+ # [
2032
+ # &quot;_nsubrecs&quot;,
2033
+ # &quot;Int32&quot;
2034
+ # ],
2035
+ # [
2036
+ # &quot;_max&quot;,
2037
+ # &quot;Int64&quot;
2038
+ # ],
2039
+ # [
2040
+ # &quot;_min&quot;,
2041
+ # &quot;Int64&quot;
2042
+ # ],
2043
+ # [
2044
+ # &quot;_sum&quot;,
2045
+ # &quot;Int64&quot;
2046
+ # ],
2047
+ # [
2048
+ # &quot;_avg&quot;,
2049
+ # &quot;Float&quot;
2050
+ # ]
2051
+ # ],
2052
+ # [
2053
+ # &quot;Hello&quot;,
2054
+ # 1,
2055
+ # 5,
2056
+ # 5,
2057
+ # 5,
2058
+ # 5.0
2059
+ # ],
2060
+ # [
2061
+ # &quot;Groonga&quot;,
2062
+ # 2,
2063
+ # 15,
2064
+ # 10,
2065
+ # 25,
2066
+ # 12.5
2067
+ # ],
2068
+ # [
2069
+ # &quot;Senna&quot;,
2070
+ # 2,
2071
+ # 3,
2072
+ # 3,
2073
+ # 6,
2074
+ # 3.0
2075
+ # ]
2076
+ # ]
2077
+ # }
2078
+ # ]
2079
+ # ]
2080
+ </pre></div>
2081
+ </div>
2082
+ </div>
2083
+ <div class="section" id="drilldown-label-calc-target">
2084
+ <span id="logical-select-drilldown-label-calc-target"></span><h4>7.3.27.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code><a class="headerlink" href="#drilldown-label-calc-target" title="Permalink to this headline">¶</a></h4>
2085
+ <p>Corresponds to <a class="reference internal" href="#logical-select-drilldown-calc-target"><span>drilldown_calc_target</span></a> in not
2086
+ labeled drilldown.</p>
2087
+ <p>See also <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span>drilldown[${LABEL}].calc_types</span></a>
2088
+ for an example.</p>
2089
+ </div>
2090
+ </div>
2091
+ </div>
2092
+ <div class="section" id="return-value">
2093
+ <h2>7.3.27.6. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
2094
+ <p>The return value format of <code class="docutils literal"><span class="pre">logical_select</span></code> is compatible with
2095
+ <a class="reference internal" href="select.html"><em>select</em></a>. See <a class="reference internal" href="select.html#select-return-value"><span>Return value</span></a> for details.</p>
2096
+ </div>
154
2097
  </div>
155
2098
 
156
2099
 
157
2100
  </div>
158
2101
  </div>
159
2102
  </div>
160
- <div class="sphinxsidebar">
2103
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
161
2104
  <div class="sphinxsidebarwrapper">
162
2105
  <h3><a href="../../index.html">Table Of Contents</a></h3>
163
2106
  <ul>
164
- <li><a class="reference internal" href="#">7.3.24. <tt class="docutils literal"><span class="pre">logical_select</span></tt></a><ul>
165
- <li><a class="reference internal" href="#summary">7.3.24.1. Summary</a></li>
166
- <li><a class="reference internal" href="#syntax">7.3.24.2. Syntax</a></li>
167
- <li><a class="reference internal" href="#usage">7.3.24.3. Usage</a></li>
168
- <li><a class="reference internal" href="#parameters">7.3.24.4. Parameters</a><ul>
169
- <li><a class="reference internal" href="#required-parameter">7.3.24.4.1. Required parameter</a><ul>
170
- <li><a class="reference internal" href="#logical-table">7.3.24.4.1.1. <tt class="docutils literal"><span class="pre">logical_table</span></tt></a></li>
171
- <li><a class="reference internal" href="#shard-key">7.3.24.4.1.2. <tt class="docutils literal"><span class="pre">shard_key</span></tt></a></li>
2107
+ <li><a class="reference internal" href="#">7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
2108
+ <li><a class="reference internal" href="#summary">7.3.27.1. Summary</a></li>
2109
+ <li><a class="reference internal" href="#syntax">7.3.27.2. Syntax</a></li>
2110
+ <li><a class="reference internal" href="#differences-from-select">7.3.27.3. Differences from <code class="docutils literal"><span class="pre">select</span></code></a></li>
2111
+ <li><a class="reference internal" href="#usage">7.3.27.4. Usage</a><ul>
2112
+ <li><a class="reference internal" href="#simple-usage">7.3.27.4.1. Simple usage</a></li>
172
2113
  </ul>
173
2114
  </li>
174
- <li><a class="reference internal" href="#optional-parameters">7.3.24.4.2. Optional parameters</a><ul>
175
- <li><a class="reference internal" href="#min">7.3.24.4.2.1. <tt class="docutils literal"><span class="pre">min</span></tt></a></li>
176
- <li><a class="reference internal" href="#min-border">7.3.24.4.2.2. <tt class="docutils literal"><span class="pre">min_border</span></tt></a></li>
177
- <li><a class="reference internal" href="#max">7.3.24.4.2.3. <tt class="docutils literal"><span class="pre">max</span></tt></a></li>
178
- <li><a class="reference internal" href="#max-border">7.3.24.4.2.4. <tt class="docutils literal"><span class="pre">max_border</span></tt></a></li>
179
- <li><a class="reference internal" href="#filter">7.3.24.4.2.5. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
2115
+ <li><a class="reference internal" href="#parameters">7.3.27.5. Parameters</a><ul>
2116
+ <li><a class="reference internal" href="#required-parameter">7.3.27.5.1. Required parameter</a><ul>
2117
+ <li><a class="reference internal" href="#logical-table">7.3.27.5.1.1. <code class="docutils literal"><span class="pre">logical_table</span></code></a></li>
2118
+ <li><a class="reference internal" href="#shard-key">7.3.27.5.1.2. <code class="docutils literal"><span class="pre">shard_key</span></code></a></li>
180
2119
  </ul>
181
2120
  </li>
2121
+ <li><a class="reference internal" href="#optional-parameters">7.3.27.5.2. Optional parameters</a><ul>
2122
+ <li><a class="reference internal" href="#min">7.3.27.5.2.1. <code class="docutils literal"><span class="pre">min</span></code></a></li>
2123
+ <li><a class="reference internal" href="#min-border">7.3.27.5.2.2. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
2124
+ <li><a class="reference internal" href="#max">7.3.27.5.2.3. <code class="docutils literal"><span class="pre">max</span></code></a></li>
2125
+ <li><a class="reference internal" href="#max-border">7.3.27.5.2.4. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
182
2126
  </ul>
183
2127
  </li>
184
- <li><a class="reference internal" href="#return-value">7.3.24.5. Return value</a></li>
2128
+ <li><a class="reference internal" href="#search-related-parameters">7.3.27.5.3. Search related parameters</a><ul>
2129
+ <li><a class="reference internal" href="#match-columns">7.3.27.5.3.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
2130
+ <li><a class="reference internal" href="#query">7.3.27.5.3.2. <code class="docutils literal"><span class="pre">query</span></code></a></li>
2131
+ <li><a class="reference internal" href="#filter">7.3.27.5.3.3. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
2132
+ </ul>
2133
+ </li>
2134
+ <li><a class="reference internal" href="#advanced-search-parameters">7.3.27.5.4. Advanced search parameters</a><ul>
2135
+ <li><a class="reference internal" href="#match-escalation-threshold">7.3.27.5.4.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code></a></li>
2136
+ <li><a class="reference internal" href="#query-flags">7.3.27.5.4.2. <code class="docutils literal"><span class="pre">query_flags</span></code></a></li>
2137
+ <li><a class="reference internal" href="#query-expander">7.3.27.5.4.3. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
2138
+ </ul>
2139
+ </li>
2140
+ <li><a class="reference internal" href="#output-related-parameters">7.3.27.5.5. Output related parameters</a><ul>
2141
+ <li><a class="reference internal" href="#output-columns">7.3.27.5.5.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
2142
+ <li><a class="reference internal" href="#sortby">7.3.27.5.5.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
2143
+ <li><a class="reference internal" href="#offset">7.3.27.5.5.3. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
2144
+ <li><a class="reference internal" href="#limit">7.3.27.5.5.4. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
2145
+ <li><a class="reference internal" href="#scorer">7.3.27.5.5.5. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
2146
+ </ul>
2147
+ </li>
2148
+ <li><a class="reference internal" href="#drilldown-related-parameters">7.3.27.5.6. Drilldown related parameters</a><ul>
2149
+ <li><a class="reference internal" href="#drilldown">7.3.27.5.6.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
2150
+ <li><a class="reference internal" href="#drilldown-sortby">7.3.27.5.6.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
2151
+ <li><a class="reference internal" href="#drilldown-output-columns">7.3.27.5.6.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
2152
+ <li><a class="reference internal" href="#drilldown-offset">7.3.27.5.6.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
2153
+ <li><a class="reference internal" href="#drilldown-limit">7.3.27.5.6.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
2154
+ <li><a class="reference internal" href="#drilldown-calc-types">7.3.27.5.6.6. <code class="docutils literal"><span class="pre">drilldown_calc_types</span></code></a></li>
2155
+ <li><a class="reference internal" href="#drilldown-calc-target">7.3.27.5.6.7. <code class="docutils literal"><span class="pre">drilldown_calc_target</span></code></a></li>
2156
+ </ul>
2157
+ </li>
2158
+ <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.27.5.7. Advanced drilldown related parameters</a><ul>
2159
+ <li><a class="reference internal" href="#drilldown-label-keys">7.3.27.5.7.1. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys</span></code></a></li>
2160
+ <li><a class="reference internal" href="#drilldown-label-output-columns">7.3.27.5.7.2. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns</span></code></a></li>
2161
+ <li><a class="reference internal" href="#drilldown-label-sortby">7.3.27.5.7.3. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code></a></li>
2162
+ <li><a class="reference internal" href="#drilldown-label-offset">7.3.27.5.7.4. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset</span></code></a></li>
2163
+ <li><a class="reference internal" href="#drilldown-label-limit">7.3.27.5.7.5. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit</span></code></a></li>
2164
+ <li><a class="reference internal" href="#drilldown-label-calc-types">7.3.27.5.7.6. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types</span></code></a></li>
2165
+ <li><a class="reference internal" href="#drilldown-label-calc-target">7.3.27.5.7.7. <code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target</span></code></a></li>
2166
+ </ul>
2167
+ </li>
2168
+ </ul>
2169
+ </li>
2170
+ <li><a class="reference internal" href="#return-value">7.3.27.6. Return value</a></li>
185
2171
  </ul>
186
2172
  </li>
187
2173
  </ul>
188
2174
 
189
2175
  <h4>Previous topic</h4>
190
2176
  <p class="topless"><a href="logical_range_filter.html"
191
- title="previous chapter">7.3.23. <tt class="docutils literal"><span class="pre">logical_range_filter</span></tt></a></p>
2177
+ title="previous chapter">7.3.26. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
192
2178
  <h4>Next topic</h4>
193
- <p class="topless"><a href="logical_table_remove.html"
194
- title="next chapter">7.3.25. <tt class="docutils literal"><span class="pre">logical_table_remove</span></tt></a></p>
195
- <h3>This Page</h3>
196
- <ul class="this-page-menu">
197
- <li><a href="../../_sources/reference/commands/logical_select.txt"
198
- rel="nofollow">Show Source</a></li>
199
- </ul>
200
- <div id="searchbox" style="display: none">
2179
+ <p class="topless"><a href="logical_shard_list.html"
2180
+ title="next chapter">7.3.28. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
2181
+ <div role="note" aria-label="source link">
2182
+ <h3>This Page</h3>
2183
+ <ul class="this-page-menu">
2184
+ <li><a href="../../_sources/reference/commands/logical_select.txt"
2185
+ rel="nofollow">Show Source</a></li>
2186
+ </ul>
2187
+ </div>
2188
+ <div id="searchbox" style="display: none" role="search">
201
2189
  <h3>Quick search</h3>
202
2190
  <form class="search" action="../../search.html" method="get">
203
2191
  <input type="text" name="q" />
@@ -214,24 +2202,24 @@ Specify <tt class="docutils literal"><span class="pre">include</span></tt> or <t
214
2202
  </div>
215
2203
  <div class="clearer"></div>
216
2204
  </div>
217
- <div class="related">
2205
+ <div class="related" role="navigation" aria-label="related navigation">
218
2206
  <h3>Navigation</h3>
219
2207
  <ul>
220
2208
  <li class="right" style="margin-right: 10px">
221
2209
  <a href="../../genindex.html" title="General Index"
222
2210
  >index</a></li>
223
2211
  <li class="right" >
224
- <a href="logical_table_remove.html" title="7.3.25. logical_table_remove"
2212
+ <a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
225
2213
  >next</a> |</li>
226
2214
  <li class="right" >
227
- <a href="logical_range_filter.html" title="7.3.23. logical_range_filter"
2215
+ <a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
228
2216
  >previous</a> |</li>
229
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adb documentation</a> &raquo;</li>
230
- <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
231
- <li><a href="../command.html" >7.3. Command</a> &raquo;</li>
2217
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> &raquo;</li>
2218
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2219
+ <li class="nav-item nav-item-2"><a href="../sharding.html" >7.18. Sharding</a> &raquo;</li>
232
2220
  </ul>
233
2221
  </div>
234
- <div class="footer">
2222
+ <div class="footer" role="contentinfo">
235
2223
  &copy; Copyright 2009-2015, Brazil, Inc.
236
2224
  </div>
237
2225
  </body>