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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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ドキュメント</title>
10
+ <title>7.3.27. logical_select &mdash; Groonga v5.0.6-226-gd7da7e7ドキュメント</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
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v5.0.4-139-g6629adbドキュメント" href="../../index.html" />
30
- <link rel="up" title="7.3. コマンド" href="../command.html" />
31
- <link rel="next" title="7.3.25. logical_table_remove" href="logical_table_remove.html" />
32
- <link rel="prev" title="7.3.23. logical_range_filter" href="logical_range_filter.html" />
29
+ <link rel="top" title="Groonga v5.0.6-226-gd7da7e7ドキュメント" href="../../index.html" />
30
+ <link rel="up" title="7.18. シャーディング" href="../sharding.html" />
31
+ <link rel="next" title="7.3.28. logical_shard_list" href="logical_shard_list.html" />
32
+ <link rel="prev" title="7.3.26. logical_range_filter" href="logical_range_filter.html" />
33
33
  </head>
34
- <body>
34
+ <body role="document">
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../../index.html">
@@ -49,33 +49,33 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related">
52
+ <div class="related" role="navigation" aria-label="related navigation">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
56
56
  <a href="../../genindex.html" title="総合索引"
57
57
  accesskey="I">索引</a></li>
58
58
  <li class="right" >
59
- <a href="logical_table_remove.html" title="7.3.25. logical_table_remove"
59
+ <a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
60
60
  accesskey="N">次へ</a> |</li>
61
61
  <li class="right" >
62
- <a href="logical_range_filter.html" title="7.3.23. logical_range_filter"
62
+ <a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adbドキュメント</a> &raquo;</li>
65
- <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
- <li><a href="../command.html" accesskey="U">7.3. コマンド</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
65
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
+ <li class="nav-item nav-item-2"><a href="../sharding.html" accesskey="U">7.18. シャーディング</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
70
70
  <div class="document">
71
71
  <div class="documentwrapper">
72
72
  <div class="bodywrapper">
73
- <div class="body">
73
+ <div class="body" role="main">
74
74
 
75
75
  <div class="section" id="logical-select">
76
- <h1>7.3.24. <tt class="docutils literal"><span class="pre">logical_select</span></tt><a class="headerlink" href="#logical-select" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
+ <h1>7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code><a class="headerlink" href="#logical-select" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
- <h2>7.3.24.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
78
+ <h2>7.3.27.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
79
  <div class="admonition note">
80
80
  <p class="first admonition-title">注釈</p>
81
81
  <p class="last">このコマンドは実験的な機能です。</p>
@@ -83,119 +83,2047 @@
83
83
  <div class="versionadded">
84
84
  <p><span class="versionmodified">バージョン 5.0.5 で追加.</span></p>
85
85
  </div>
86
- <p>TODO</p>
86
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><em>select</em></a> のシャーディングバージョンです。 <code class="docutils literal"><span class="pre">logical_select</span></code> は複数のテーブルからレコードを検索し、マッチしたレコードを出力します。</p>
87
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> は <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので、 <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを <a class="reference internal" href="plugin_register.html"><em>plugin_register</em></a> する必要があります。</p>
87
88
  </div>
88
89
  <div class="section" id="syntax">
89
- <h2>7.3.24.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
- <p><tt class="docutils literal"><span class="pre">logical_select</span></tt> コマンドには7つの引数があります。</p>
91
- <p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">logical_table</span></tt> と <tt class="docutils literal"><span class="pre">shard_key</span></tt> です。</p>
90
+ <h2>7.3.27.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
91
+ <p>このコマンドにはたくさんの引数があります。</p>
92
+ <p>必須の引数は <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。それ以外の引数は省略可能です:</p>
92
93
  <div class="highlight-none"><div class="highlight"><pre>logical_select logical_table
93
94
  shard_key
94
- [min]
95
- [min_border]
96
- [max]
97
- [max_border]
98
- [filter]
95
+ [min=null]
96
+ [min_border=&quot;include&quot;]
97
+ [max=null]
98
+ [max_border=&quot;include&quot;]
99
+ [filter=null]
100
+ [sortby=null]
101
+ [output_columns=&quot;_id, _key, *&quot;]
102
+ [offset=0]
103
+ [limit=10]
104
+ [drilldown=null]
105
+ [drilldown_sortby=null]
106
+ [drilldown_output_columns=&quot;_key, _nsubrecs&quot;]
107
+ [drilldown_offset=0]
108
+ [drilldown_limit=10]
109
+ [drilldown_calc_types=NONE]
110
+ [drilldown_calc_target=null]
99
111
  </pre></div>
100
112
  </div>
113
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> には高度なドリルダウン機能のために以下の名前付き引数があります。</p>
114
+ <blockquote>
115
+ <div><ul class="simple">
116
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].keys=null</span></code></li>
117
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby=null</span></code></li>
118
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].output_columns=&quot;_key,</span> <span class="pre">_nsubrecs&quot;</span></code></li>
119
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].offset=0</span></code></li>
120
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].limit=10</span></code></li>
121
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_types=NONE</span></code></li>
122
+ <li><code class="docutils literal"><span class="pre">drilldown[${LABEL}].calc_target=null</span></code></li>
123
+ </ul>
124
+ </div></blockquote>
125
+ <p><code class="docutils literal"><span class="pre">${LABEL}</span></code> には1つ以上のアルファベット、数字、 <code class="docutils literal"><span class="pre">_</span></code> 、 <code class="docutils literal"><span class="pre">.</span></code> を使うことができます。たとえば、 <code class="docutils literal"><span class="pre">parent.sub1</span></code> は有効な <code class="docutils literal"><span class="pre">${LABEL}</span></code> です。</p>
126
+ <p>同じ <code class="docutils literal"><span class="pre">${LABEL}</span></code> も持つ引数は同じグループになります。</p>
127
+ <p>たとえば、以下の引数は1つのドリルダウンを指定しています。</p>
128
+ <blockquote>
129
+ <div><ul class="simple">
130
+ <li><code class="docutils literal"><span class="pre">--drilldown[label].keys</span> <span class="pre">column</span></code></li>
131
+ <li><code class="docutils literal"><span class="pre">--drilldown[label].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
132
+ </ul>
133
+ </div></blockquote>
134
+ <p>以下の引数は2つのドリルダウンを指定しています。</p>
135
+ <blockquote>
136
+ <div><ul class="simple">
137
+ <li><code class="docutils literal"><span class="pre">--drilldown[label1].keys</span> <span class="pre">column1</span></code></li>
138
+ <li><code class="docutils literal"><span class="pre">--drilldown[label1].sortby</span> <span class="pre">-_nsubrecs</span></code></li>
139
+ <li><code class="docutils literal"><span class="pre">--drilldown[label2].keys</span> <span class="pre">column2</span></code></li>
140
+ <li><code class="docutils literal"><span class="pre">--drilldown[label2].sortby</span> <span class="pre">_key</span></code></li>
141
+ </ul>
142
+ </div></blockquote>
143
+ </div>
144
+ <div class="section" id="differences-from-select">
145
+ <h2>7.3.27.3. <code class="docutils literal"><span class="pre">select</span></code> との違い<a class="headerlink" href="#differences-from-select" title="このヘッドラインへのパーマリンク">¶</a></h2>
146
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> の多くの機能は <a class="reference internal" href="select.html"><em>select</em></a> の機能と対応しています。たとえば、引数名は同じですし、出力フォーマットも同じです。</p>
147
+ <p>しかし、いくつか <a class="reference internal" href="select.html"><em>select</em></a> と違うところもあります。</p>
148
+ <blockquote>
149
+ <div><ul class="simple">
150
+ <li><p class="first"><code class="docutils literal"><span class="pre">table</span></code> 引数ではなく、 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数が必須です。</p>
151
+ </li>
152
+ <li><p class="first">複数のシャードを使った場合の <code class="docutils literal"><span class="pre">sortby</span></code> はサポートしていません。(1つのシャードのみを使った場合はサポートしています。)</p>
153
+ </li>
154
+ <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
155
+ </li>
156
+ <li><p class="first"><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。</p>
157
+ </li>
158
+ <li><p class="first"><code class="docutils literal"><span class="pre">cache</span></code> はまだサポートしていません。</p>
159
+ </li>
160
+ <li><p class="first"><code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> はまだサポートしていません。</p>
161
+ </li>
162
+ <li><p class="first"><code class="docutils literal"><span class="pre">query_flags</span></code> はまだサポートしていません。</p>
163
+ </li>
164
+ <li><p class="first"><code class="docutils literal"><span class="pre">query_expander</span></code> はまだサポートしていません。</p>
165
+ </li>
166
+ <li><p class="first"><code class="docutils literal"><span class="pre">adjuster</span></code> はまだサポートしていません。</p>
167
+ </li>
168
+ </ul>
169
+ </div></blockquote>
101
170
  </div>
102
171
  <div class="section" id="usage">
103
- <h2>7.3.24.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
172
+ <h2>7.3.27.4. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
173
+ <p>例を使いながら <code class="docutils literal"><span class="pre">logical_select</span></code> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
174
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> は <code class="docutils literal"><span class="pre">sharding</span></code> プラグインに含まれているので <code class="docutils literal"><span class="pre">sharding</span></code> プラグインを登録する必要があります。</p>
175
+ <p>実行例:</p>
176
+ <div class="highlight-none"><div class="highlight"><pre>plugin_register sharding
177
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
178
+ </pre></div>
179
+ </div>
180
+ <p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
181
+ <p>実行例:</p>
182
+ <div class="highlight-none"><div class="highlight"><pre>table_create Entries_20150708 TABLE_HASH_KEY ShortText
183
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
184
+ column_create Entries_20150708 created_at COLUMN_SCALAR Time
185
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
186
+ column_create Entries_20150708 content COLUMN_SCALAR Text
187
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
188
+ column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
189
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
190
+ column_create Entries_20150708 tag COLUMN_SCALAR ShortText
191
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
192
+ table_create Entries_20150709 TABLE_HASH_KEY ShortText
193
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
194
+ column_create Entries_20150709 created_at COLUMN_SCALAR Time
195
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
196
+ column_create Entries_20150709 content COLUMN_SCALAR Text
197
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
198
+ column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
199
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
200
+ column_create Entries_20150709 tag COLUMN_SCALAR ShortText
201
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
202
+ table_create Terms TABLE_PAT_KEY ShortText \
203
+ --default_tokenizer TokenBigram \
204
+ --normalizer NormalizerAuto
205
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
206
+ column_create Terms entries_key_index_20150708 \
207
+ COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
208
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
209
+ column_create Terms entries_content_index_20150708 \
210
+ COLUMN_INDEX|WITH_POSITION Entries_20150708 content
211
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
212
+ column_create Terms entries_key_index_20150709 \
213
+ COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
214
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
215
+ column_create Terms entries_content_index_20150709 \
216
+ COLUMN_INDEX|WITH_POSITION Entries_20150709 content
217
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
218
+ load --table Entries_20150708
219
+ [
220
+ {&quot;_key&quot;: &quot;The first post!&quot;,
221
+ &quot;created_at&quot;: &quot;2015/07/08 00:00:00&quot;,
222
+ &quot;content&quot;: &quot;Welcome! This is my first post!&quot;,
223
+ &quot;n_likes&quot;: 5,
224
+ &quot;tag&quot;: &quot;Hello&quot;},
225
+ {&quot;_key&quot;: &quot;Groonga&quot;,
226
+ &quot;created_at&quot;: &quot;2015/07/08 01:00:00&quot;,
227
+ &quot;content&quot;: &quot;I started to use Groonga. It&#39;s very fast!&quot;,
228
+ &quot;n_likes&quot;: 10,
229
+ &quot;tag&quot;: &quot;Groonga&quot;},
230
+ {&quot;_key&quot;: &quot;Mroonga&quot;,
231
+ &quot;created_at&quot;: &quot;2015/07/08 02:00:00&quot;,
232
+ &quot;content&quot;: &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
233
+ &quot;n_likes&quot;: 15,
234
+ &quot;tag&quot;: &quot;Groonga&quot;}
235
+ ]
236
+ # [[0, 1337566253.89858, 0.000355720520019531], 3]
237
+ load --table Entries_20150709
238
+ [
239
+ {&quot;_key&quot;: &quot;Good-bye Senna&quot;,
240
+ &quot;created_at&quot;: &quot;2015/07/09 00:00:00&quot;,
241
+ &quot;content&quot;: &quot;I migrated all Senna system!&quot;,
242
+ &quot;n_likes&quot;: 3,
243
+ &quot;tag&quot;: &quot;Senna&quot;},
244
+ {&quot;_key&quot;: &quot;Good-bye Tritonn&quot;,
245
+ &quot;created_at&quot;: &quot;2015/07/09 01:00:00&quot;,
246
+ &quot;content&quot;: &quot;I also migrated all Tritonn system!&quot;,
247
+ &quot;n_likes&quot;: 3,
248
+ &quot;tag&quot;: &quot;Senna&quot;}
249
+ ]
250
+ # [[0, 1337566253.89858, 0.000355720520019531], 2]
251
+ </pre></div>
252
+ </div>
253
+ <p>ブログエントリー用に <code class="docutils literal"><span class="pre">Entries_20150708</span></code> と <code class="docutils literal"><span class="pre">Entries_20150709</span></code> の2つのテーブルがあります。</p>
254
+ <div class="admonition note">
255
+ <p class="first admonition-title">注釈</p>
256
+ <p class="last">テーブル名には <code class="docutils literal"><span class="pre">${論理テーブル名}_${YYYYMMDD}</span></code> という命名規則を使う必要があります。この例では、 <code class="docutils literal"><span class="pre">論理テーブル名</span></code> は <code class="docutils literal"><span class="pre">Entries</span></code> で <code class="docutils literal"><span class="pre">YYYYMMDD</span></code> は <code class="docutils literal"><span class="pre">20150708</span></code> または <code class="docutils literal"><span class="pre">20150709</span></code> です。</p>
257
+ </div>
258
+ <p>各エントリはタイトルと作成日時と内容と「いいね!」数、タグを持っています。タイトルは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD</span></code> のキーとします。作成日時は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.created_at</span></code> カラムの値とします。内容は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムの値とします。「いいね!」数は <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.n_likes</span></code> カラムの値とします。タグは <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.tag</span></code> カラムの値とします。</p>
259
+ <p><code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> カラムと <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> カラムには <code class="docutils literal"><span class="pre">TokenBigram</span></code> トークナイザーを使ったインデックスを作成します。そのため、 <code class="docutils literal"><span class="pre">Entries_YYYYMMDD._key</span></code> と <code class="docutils literal"><span class="pre">Entries_YYYYMMDD.content</span></code> は両方とも全文検索できます。</p>
260
+ <p>これで例を示すためのスキーマとデータの準備ができました。</p>
261
+ <div class="section" id="simple-usage">
262
+ <h3>7.3.27.4.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
104
263
  <p>TODO</p>
105
264
  </div>
265
+ </div>
106
266
  <div class="section" id="parameters">
107
- <h2>7.3.24.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
108
- <p>このセクションでは <tt class="docutils literal"><span class="pre">logical_select</span></tt> の引数について説明します。</p>
267
+ <h2>7.3.27.5. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
268
+ <p>このセクションでは <code class="docutils literal"><span class="pre">logical_select</span></code> の引数について説明します。</p>
109
269
  <div class="section" id="required-parameter">
110
- <h3>7.3.24.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
111
- <p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">logical_table</span></tt> と <tt class="docutils literal"><span class="pre">shard_key</span></tt> です。</p>
270
+ <h3>7.3.27.5.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
271
+ <p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> です。</p>
112
272
  <div class="section" id="logical-table">
113
- <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="このヘッドラインへのパーマリンク">¶</a></h4>
114
- <p>論理テーブル名を指定します。これは &quot;_YYYYMMDD&quot; をテーブル名から除いたものです。実際のテーブルが &quot;Logs_20150203&quot;&quot;Logs_20150203&quot; といったものなら、論理テーブル名は &quot;Logs&quot; です。</p>
273
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
274
+ <p>論理テーブル名を指定します。これは <code class="docutils literal"><span class="pre">_YYYYMMDD</span></code> をテーブル名からのぞいたものです。実際のテーブルが <code class="docutils literal"><span class="pre">Entries_20150708</span></code> <code class="docutils literal"><span class="pre">Entries_20150709</span></code> といったものなら、論理テーブル名は <code class="docutils literal"><span class="pre">Entries</span></code> です。</p>
275
+ <p><code class="docutils literal"><span class="pre">logical_table</span></code> と <code class="docutils literal"><span class="pre">shard_key</span></code> 引数を指定すると10レコード表示できます。これらの引数は必須の引数です。</p>
276
+ <p>実行例:</p>
277
+ <div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Entries --shard_key created_at
278
+ # [
279
+ # [
280
+ # 0,
281
+ # 1337566253.89858,
282
+ # 0.000355720520019531
283
+ # ],
284
+ # [
285
+ # [
286
+ # [
287
+ # 5
288
+ # ],
289
+ # [
290
+ # [
291
+ # &quot;_id&quot;,
292
+ # &quot;UInt32&quot;
293
+ # ],
294
+ # [
295
+ # &quot;_key&quot;,
296
+ # &quot;ShortText&quot;
297
+ # ],
298
+ # [
299
+ # &quot;content&quot;,
300
+ # &quot;Text&quot;
301
+ # ],
302
+ # [
303
+ # &quot;created_at&quot;,
304
+ # &quot;Time&quot;
305
+ # ],
306
+ # [
307
+ # &quot;n_likes&quot;,
308
+ # &quot;UInt32&quot;
309
+ # ],
310
+ # [
311
+ # &quot;tag&quot;,
312
+ # &quot;ShortText&quot;
313
+ # ]
314
+ # ],
315
+ # [
316
+ # 1,
317
+ # &quot;The first post!&quot;,
318
+ # &quot;Welcome! This is my first post!&quot;,
319
+ # 1436281200.0,
320
+ # 5,
321
+ # &quot;Hello&quot;
322
+ # ],
323
+ # [
324
+ # 2,
325
+ # &quot;Groonga&quot;,
326
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
327
+ # 1436284800.0,
328
+ # 10,
329
+ # &quot;Groonga&quot;
330
+ # ],
331
+ # [
332
+ # 3,
333
+ # &quot;Mroonga&quot;,
334
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
335
+ # 1436288400.0,
336
+ # 15,
337
+ # &quot;Groonga&quot;
338
+ # ],
339
+ # [
340
+ # 1,
341
+ # &quot;Good-bye Senna&quot;,
342
+ # &quot;I migrated all Senna system!&quot;,
343
+ # 1436367600.0,
344
+ # 3,
345
+ # &quot;Senna&quot;
346
+ # ],
347
+ # [
348
+ # 2,
349
+ # &quot;Good-bye Tritonn&quot;,
350
+ # &quot;I also migrated all Tritonn system!&quot;,
351
+ # 1436371200.0,
352
+ # 3,
353
+ # &quot;Senna&quot;
354
+ # ]
355
+ # ]
356
+ # ]
357
+ # ]
358
+ </pre></div>
359
+ </div>
360
+ <p>存在しないテーブルを指定するとエラーが返ります。</p>
361
+ <p>実行例:</p>
362
+ <div class="highlight-none"><div class="highlight"><pre>logical_select --logical_table Nonexistent --shard_key created_at
363
+ # [
364
+ # [
365
+ # -22,
366
+ # 1337566253.89858,
367
+ # 0.000355720520019531,
368
+ # &quot;[logical_select] no shard exists: logical_table: &lt;Nonexistent&gt;: shard_key: &lt;created_at&gt;&quot;,
369
+ # [
370
+ # [
371
+ # &quot;Groonga::Context.set_groonga_error&quot;,
372
+ # &quot;lib/mrb/scripts/context.rb&quot;,
373
+ # 27
374
+ # ]
375
+ # ]
376
+ # ]
377
+ # ]
378
+ </pre></div>
379
+ </div>
115
380
  </div>
116
381
  <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="このヘッドラインへのパーマリンク">¶</a></h4>
118
- <p>個々のテーブルで共通のキーとして扱うカラム名を指定します。</p>
382
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
383
+ <p>シャードキーとして使うカラム名を指定します。シャードキーは適切なシャードへレコードを分配するために使う値を保存しているカラムです。</p>
384
+ <p>今のところ、シャードキーは <code class="docutils literal"><span class="pre">Time</span></code> 型でなければいけません。</p>
385
+ <p><code class="docutils literal"><span class="pre">shard_key</span></code> の指定方法は <a class="reference internal" href="#logical-select-logical-table"><span>logical_table</span></a> を見てください。</p>
119
386
  </div>
120
387
  </div>
121
388
  <div class="section" id="optional-parameters">
122
- <h3>7.3.24.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
389
+ <h3>7.3.27.5.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
123
390
  <p>いくつか省略可能な引数があります。</p>
124
391
  <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="このヘッドラインへのパーマリンク">¶</a></h4>
126
- <p><tt class="docutils literal"><span class="pre">shard_key</span></tt> の最小値を指定します。</p>
392
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
393
+ <p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最小値を指定します。シャードにマッチするレコードがない場合は、そのシャードは検索対象外になります。</p>
394
+ <p>たとえば、 <code class="docutils literal"><span class="pre">min</span></code> が <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> は検索対象外です。なぜなら、 <code class="docutils literal"><span class="pre">Entry_20150708</span></code> は <code class="docutils literal"><span class="pre">&quot;2015/07/08&quot;</span></code> のレコードしかないからです。</p>
395
+ <p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150709</span></code> テーブルだけを使う例です。 <code class="docutils literal"><span class="pre">Entry_20150708</span></code> は使われません。</p>
396
+ <p>実行例:</p>
397
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
398
+ --logical_table Entries \
399
+ --shard_key created_at \
400
+ --min &quot;2015/07/09 00:00:00&quot;
401
+ # [
402
+ # [
403
+ # 0,
404
+ # 1337566253.89858,
405
+ # 0.000355720520019531
406
+ # ],
407
+ # [
408
+ # [
409
+ # [
410
+ # 2
411
+ # ],
412
+ # [
413
+ # [
414
+ # &quot;_id&quot;,
415
+ # &quot;UInt32&quot;
416
+ # ],
417
+ # [
418
+ # &quot;_key&quot;,
419
+ # &quot;ShortText&quot;
420
+ # ],
421
+ # [
422
+ # &quot;content&quot;,
423
+ # &quot;Text&quot;
424
+ # ],
425
+ # [
426
+ # &quot;created_at&quot;,
427
+ # &quot;Time&quot;
428
+ # ],
429
+ # [
430
+ # &quot;n_likes&quot;,
431
+ # &quot;UInt32&quot;
432
+ # ],
433
+ # [
434
+ # &quot;tag&quot;,
435
+ # &quot;ShortText&quot;
436
+ # ]
437
+ # ],
438
+ # [
439
+ # 1,
440
+ # &quot;Good-bye Senna&quot;,
441
+ # &quot;I migrated all Senna system!&quot;,
442
+ # 1436367600.0,
443
+ # 3,
444
+ # &quot;Senna&quot;
445
+ # ],
446
+ # [
447
+ # 2,
448
+ # &quot;Good-bye Tritonn&quot;,
449
+ # &quot;I also migrated all Tritonn system!&quot;,
450
+ # 1436371200.0,
451
+ # 3,
452
+ # &quot;Senna&quot;
453
+ # ]
454
+ # ]
455
+ # ]
456
+ # ]
457
+ </pre></div>
458
+ </div>
127
459
  </div>
128
460
  <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="このヘッドラインへのパーマリンク">¶</a></h4>
130
- <p>最小値を境界値として含めるのか否かを指定します。 <tt class="docutils literal"><span class="pre">include</span></tt> もしくは <tt class="docutils literal"><span class="pre">exclude</span></tt> を指定します。</p>
461
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
462
+ <p>最小値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
463
+ <table border="1" class="docutils">
464
+ <colgroup>
465
+ <col width="50%" />
466
+ <col width="50%" />
467
+ </colgroup>
468
+ <thead valign="bottom">
469
+ <tr class="row-odd"><th class="head">Value</th>
470
+ <th class="head"><p class="first last">説明</p>
471
+ </th>
472
+ </tr>
473
+ </thead>
474
+ <tbody valign="top">
475
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
476
+ <td><p class="first last"><code class="docutils literal"><span class="pre">min</span></code> の値を含みます。これがデフォルト値です。</p>
477
+ </td>
478
+ </tr>
479
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
480
+ <td><p class="first last"><code class="docutils literal"><span class="pre">min</span></code> の値を含みません。</p>
481
+ </td>
482
+ </tr>
483
+ </tbody>
484
+ </table>
485
+ <p>次の例は <code class="docutils literal"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></code> レコードは含まれません。このレコードの <code class="docutils literal"><span class="pre">created_at</span></code> の値が <code class="docutils literal"><span class="pre">&quot;2015/07/09</span> <span class="pre">00:00:00&quot;</span></code> だからです。</p>
486
+ <p>実行例:</p>
487
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
488
+ --logical_table Entries \
489
+ --shard_key created_at \
490
+ --min &quot;2015/07/09 00:00:00&quot; \
491
+ --min_border &quot;exclude&quot;
492
+ # [
493
+ # [
494
+ # 0,
495
+ # 1337566253.89858,
496
+ # 0.000355720520019531
497
+ # ],
498
+ # [
499
+ # [
500
+ # [
501
+ # 1
502
+ # ],
503
+ # [
504
+ # [
505
+ # &quot;_id&quot;,
506
+ # &quot;UInt32&quot;
507
+ # ],
508
+ # [
509
+ # &quot;_key&quot;,
510
+ # &quot;ShortText&quot;
511
+ # ],
512
+ # [
513
+ # &quot;content&quot;,
514
+ # &quot;Text&quot;
515
+ # ],
516
+ # [
517
+ # &quot;created_at&quot;,
518
+ # &quot;Time&quot;
519
+ # ],
520
+ # [
521
+ # &quot;n_likes&quot;,
522
+ # &quot;UInt32&quot;
523
+ # ],
524
+ # [
525
+ # &quot;tag&quot;,
526
+ # &quot;ShortText&quot;
527
+ # ]
528
+ # ],
529
+ # [
530
+ # 2,
531
+ # &quot;Good-bye Tritonn&quot;,
532
+ # &quot;I also migrated all Tritonn system!&quot;,
533
+ # 1436371200.0,
534
+ # 3,
535
+ # &quot;Senna&quot;
536
+ # ]
537
+ # ]
538
+ # ]
539
+ # ]
540
+ </pre></div>
541
+ </div>
131
542
  </div>
132
543
  <div class="section" id="max">
133
- <h4>7.3.24.4.2.3. <tt class="docutils literal"><span class="pre">max</span></tt><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h4>
134
- <p><tt class="docutils literal"><span class="pre">shard_key</span></tt> の最大値を指定します。</p>
544
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
545
+ <p><code class="docutils literal"><span class="pre">shard_key</span></code> カラムの最大値を指定します。シャードにマッチするレコードがない場合、そのシャードは検索対象外になります。</p>
546
+ <p>たとえば、 <code class="docutils literal"><span class="pre">max</span></code> が <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> は検索対象外です。なぜなら <code class="docutils literal"><span class="pre">Entry_20150709</span></code> には <code class="docutils literal"><span class="pre">&quot;&quot;2015/07/09&quot;</span></code> のレコードしかないからです。</p>
547
+ <p>以下の例は <code class="docutils literal"><span class="pre">Entry_20150708</span></code> テーブルだけを使います。 <code class="docutils literal"><span class="pre">Entry_20150709</span></code> は使いません。</p>
548
+ <p>実行例:</p>
549
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
550
+ --logical_table Entries \
551
+ --shard_key created_at \
552
+ --max &quot;2015/07/08 23:59:59&quot;
553
+ # [
554
+ # [
555
+ # 0,
556
+ # 1337566253.89858,
557
+ # 0.000355720520019531
558
+ # ],
559
+ # [
560
+ # [
561
+ # [
562
+ # 3
563
+ # ],
564
+ # [
565
+ # [
566
+ # &quot;_id&quot;,
567
+ # &quot;UInt32&quot;
568
+ # ],
569
+ # [
570
+ # &quot;_key&quot;,
571
+ # &quot;ShortText&quot;
572
+ # ],
573
+ # [
574
+ # &quot;content&quot;,
575
+ # &quot;Text&quot;
576
+ # ],
577
+ # [
578
+ # &quot;created_at&quot;,
579
+ # &quot;Time&quot;
580
+ # ],
581
+ # [
582
+ # &quot;n_likes&quot;,
583
+ # &quot;UInt32&quot;
584
+ # ],
585
+ # [
586
+ # &quot;tag&quot;,
587
+ # &quot;ShortText&quot;
588
+ # ]
589
+ # ],
590
+ # [
591
+ # 1,
592
+ # &quot;The first post!&quot;,
593
+ # &quot;Welcome! This is my first post!&quot;,
594
+ # 1436281200.0,
595
+ # 5,
596
+ # &quot;Hello&quot;
597
+ # ],
598
+ # [
599
+ # 2,
600
+ # &quot;Groonga&quot;,
601
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
602
+ # 1436284800.0,
603
+ # 10,
604
+ # &quot;Groonga&quot;
605
+ # ],
606
+ # [
607
+ # 3,
608
+ # &quot;Mroonga&quot;,
609
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
610
+ # 1436288400.0,
611
+ # 15,
612
+ # &quot;Groonga&quot;
613
+ # ]
614
+ # ]
615
+ # ]
616
+ # ]
617
+ </pre></div>
618
+ </div>
135
619
  </div>
136
620
  <div class="section" id="max-border">
137
- <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="このヘッドラインへのパーマリンク">¶</a></h4>
138
- <p>最大値を境界値として含めるのか否かを指定します。 <tt class="docutils literal"><span class="pre">include</span></tt> もしくは <tt class="docutils literal"><span class="pre">exclude</span></tt> を指定します。</p>
621
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
622
+ <p>最大値を含めるかどうかを指定します。指定可能な値は次の通りです。</p>
623
+ <table border="1" class="docutils">
624
+ <colgroup>
625
+ <col width="50%" />
626
+ <col width="50%" />
627
+ </colgroup>
628
+ <thead valign="bottom">
629
+ <tr class="row-odd"><th class="head">Value</th>
630
+ <th class="head"><p class="first last">説明</p>
631
+ </th>
632
+ </tr>
633
+ </thead>
634
+ <tbody valign="top">
635
+ <tr class="row-even"><td><code class="docutils literal"><span class="pre">include</span></code></td>
636
+ <td><p class="first last"><code class="docutils literal"><span class="pre">max</span></code> の値を含みます。これがデフォルト値です。</p>
637
+ </td>
638
+ </tr>
639
+ <tr class="row-odd"><td><code class="docutils literal"><span class="pre">exclude</span></code></td>
640
+ <td><p class="first last"><code class="docutils literal"><span class="pre">max</span></code> の値を含みません。</p>
641
+ </td>
642
+ </tr>
643
+ </tbody>
644
+ </table>
645
+ <p>次の例は <code class="docutils literal"><span class="pre">exclude</span></code> の使用例です。結果には <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></code> レコードは含まれません。このレコードの <code class="docutils literal"><span class="pre">created_at</span></code> の値が <code class="docutils literal"><span class="pre">&quot;2015/07/09</span> <span class="pre">00:00:00&quot;</span></code> だからです。</p>
646
+ <p>実行例:</p>
647
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
648
+ --logical_table Entries \
649
+ --shard_key created_at \
650
+ --max &quot;2015/07/09 00:00:00&quot; \
651
+ --max_border &quot;exclude&quot;
652
+ # [
653
+ # [
654
+ # 0,
655
+ # 1337566253.89858,
656
+ # 0.000355720520019531
657
+ # ],
658
+ # [
659
+ # [
660
+ # [
661
+ # 3
662
+ # ],
663
+ # [
664
+ # [
665
+ # &quot;_id&quot;,
666
+ # &quot;UInt32&quot;
667
+ # ],
668
+ # [
669
+ # &quot;_key&quot;,
670
+ # &quot;ShortText&quot;
671
+ # ],
672
+ # [
673
+ # &quot;content&quot;,
674
+ # &quot;Text&quot;
675
+ # ],
676
+ # [
677
+ # &quot;created_at&quot;,
678
+ # &quot;Time&quot;
679
+ # ],
680
+ # [
681
+ # &quot;n_likes&quot;,
682
+ # &quot;UInt32&quot;
683
+ # ],
684
+ # [
685
+ # &quot;tag&quot;,
686
+ # &quot;ShortText&quot;
687
+ # ]
688
+ # ],
689
+ # [
690
+ # 1,
691
+ # &quot;The first post!&quot;,
692
+ # &quot;Welcome! This is my first post!&quot;,
693
+ # 1436281200.0,
694
+ # 5,
695
+ # &quot;Hello&quot;
696
+ # ],
697
+ # [
698
+ # 2,
699
+ # &quot;Groonga&quot;,
700
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
701
+ # 1436284800.0,
702
+ # 10,
703
+ # &quot;Groonga&quot;
704
+ # ],
705
+ # [
706
+ # 3,
707
+ # &quot;Mroonga&quot;,
708
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
709
+ # 1436288400.0,
710
+ # 15,
711
+ # &quot;Groonga&quot;
712
+ # ]
713
+ # ]
714
+ # ]
715
+ # ]
716
+ </pre></div>
717
+ </div>
718
+ </div>
719
+ </div>
720
+ <div class="section" id="search-related-parameters">
721
+ <span id="logical-select-search-related-parameters"></span><h3>7.3.27.5.3. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
722
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> は <a class="reference internal" href="select.html"><em>select</em></a> 互換の検索関連パラメーターをサポートしています。</p>
723
+ <p><code class="docutils literal"><span class="pre">match_columns</span></code> と <code class="docutils literal"><span class="pre">query</span></code> はまだサポートしていません。今のところ、 <code class="docutils literal"><span class="pre">filter</span></code> だけサポートしています。</p>
724
+ <div class="section" id="match-columns">
725
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
726
+ <p>未実装です。</p>
727
+ </div>
728
+ <div class="section" id="query">
729
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
730
+ <p>未実装です。</p>
139
731
  </div>
140
732
  <div class="section" id="filter">
141
- <h4>7.3.24.4.2.5. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
733
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
734
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-filter"><span>filter</span></a> を見てください。</p>
735
+ <p>以下は例です。</p>
736
+ <p>実行例:</p>
737
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
738
+ --logical_table Entries \
739
+ --shard_key created_at \
740
+ --filter &quot;n_likes &lt;= 5&quot;
741
+ # [
742
+ # [
743
+ # 0,
744
+ # 1337566253.89858,
745
+ # 0.000355720520019531
746
+ # ],
747
+ # [
748
+ # [
749
+ # [
750
+ # 3
751
+ # ],
752
+ # [
753
+ # [
754
+ # &quot;_id&quot;,
755
+ # &quot;UInt32&quot;
756
+ # ],
757
+ # [
758
+ # &quot;_key&quot;,
759
+ # &quot;ShortText&quot;
760
+ # ],
761
+ # [
762
+ # &quot;content&quot;,
763
+ # &quot;Text&quot;
764
+ # ],
765
+ # [
766
+ # &quot;created_at&quot;,
767
+ # &quot;Time&quot;
768
+ # ],
769
+ # [
770
+ # &quot;n_likes&quot;,
771
+ # &quot;UInt32&quot;
772
+ # ],
773
+ # [
774
+ # &quot;tag&quot;,
775
+ # &quot;ShortText&quot;
776
+ # ]
777
+ # ],
778
+ # [
779
+ # 1,
780
+ # &quot;The first post!&quot;,
781
+ # &quot;Welcome! This is my first post!&quot;,
782
+ # 1436281200.0,
783
+ # 5,
784
+ # &quot;Hello&quot;
785
+ # ],
786
+ # [
787
+ # 1,
788
+ # &quot;Good-bye Senna&quot;,
789
+ # &quot;I migrated all Senna system!&quot;,
790
+ # 1436367600.0,
791
+ # 3,
792
+ # &quot;Senna&quot;
793
+ # ],
794
+ # [
795
+ # 2,
796
+ # &quot;Good-bye Tritonn&quot;,
797
+ # &quot;I also migrated all Tritonn system!&quot;,
798
+ # 1436371200.0,
799
+ # 3,
800
+ # &quot;Senna&quot;
801
+ # ]
802
+ # ]
803
+ # ]
804
+ # ]
805
+ </pre></div>
142
806
  </div>
143
807
  </div>
144
808
  </div>
145
- <div class="section" id="return-value">
146
- <h2>7.3.24.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
147
- <p>TODO: add more description for RESULTS</p>
148
- <div class="highlight-none"><div class="highlight"><pre>[HEADER, RESULTS]
809
+ <div class="section" id="advanced-search-parameters">
810
+ <span id="logical-select-advanced-search-parameters"></span><h3>7.3.27.5.4. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
811
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> は高度な検索パラメーターをまだ実装していません。</p>
812
+ <div class="section" id="match-escalation-threshold">
813
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
814
+ <p>未実装です。</p>
815
+ </div>
816
+ <div class="section" id="query-flags">
817
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
818
+ <p>未実装です。</p>
819
+ </div>
820
+ <div class="section" id="query-expander">
821
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
822
+ <p>未実装です。</p>
823
+ </div>
824
+ </div>
825
+ <div class="section" id="output-related-parameters">
826
+ <h3>7.3.27.5.5. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
827
+ <div class="section" id="output-columns">
828
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
829
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-output-columns"><span>output_columns</span></a> を見てください。</p>
830
+ <p>以下は例です。</p>
831
+ <p>実行例:</p>
832
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
833
+ --logical_table Entries \
834
+ --shard_key created_at \
835
+ --output_columns &#39;_key, *&#39;
836
+ # [
837
+ # [
838
+ # 0,
839
+ # 1337566253.89858,
840
+ # 0.000355720520019531
841
+ # ],
842
+ # [
843
+ # [
844
+ # [
845
+ # 5
846
+ # ],
847
+ # [
848
+ # [
849
+ # &quot;_key&quot;,
850
+ # &quot;ShortText&quot;
851
+ # ],
852
+ # [
853
+ # &quot;content&quot;,
854
+ # &quot;Text&quot;
855
+ # ],
856
+ # [
857
+ # &quot;created_at&quot;,
858
+ # &quot;Time&quot;
859
+ # ],
860
+ # [
861
+ # &quot;n_likes&quot;,
862
+ # &quot;UInt32&quot;
863
+ # ],
864
+ # [
865
+ # &quot;tag&quot;,
866
+ # &quot;ShortText&quot;
867
+ # ]
868
+ # ],
869
+ # [
870
+ # &quot;The first post!&quot;,
871
+ # &quot;Welcome! This is my first post!&quot;,
872
+ # 1436281200.0,
873
+ # 5,
874
+ # &quot;Hello&quot;
875
+ # ],
876
+ # [
877
+ # &quot;Groonga&quot;,
878
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
879
+ # 1436284800.0,
880
+ # 10,
881
+ # &quot;Groonga&quot;
882
+ # ],
883
+ # [
884
+ # &quot;Mroonga&quot;,
885
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
886
+ # 1436288400.0,
887
+ # 15,
888
+ # &quot;Groonga&quot;
889
+ # ],
890
+ # [
891
+ # &quot;Good-bye Senna&quot;,
892
+ # &quot;I migrated all Senna system!&quot;,
893
+ # 1436367600.0,
894
+ # 3,
895
+ # &quot;Senna&quot;
896
+ # ],
897
+ # [
898
+ # &quot;Good-bye Tritonn&quot;,
899
+ # &quot;I also migrated all Tritonn system!&quot;,
900
+ # 1436371200.0,
901
+ # 3,
902
+ # &quot;Senna&quot;
903
+ # ]
904
+ # ]
905
+ # ]
906
+ # ]
907
+ </pre></div>
908
+ </div>
909
+ </div>
910
+ <div class="section" id="sortby">
911
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
912
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-sortby"><span>sortby</span></a> を見てください。</p>
913
+ <p><code class="docutils literal"><span class="pre">sortby</span></code> には制限があります。検索対象のシャードが1つの場合のみ動作します。もし、検索対象のシャードが複数ある場合、 <code class="docutils literal"><span class="pre">sortby</span></code> は正常な動作をしません。</p>
914
+ <p>以下は1つのシャードのみを使っている例です。</p>
915
+ <p>実行例:</p>
916
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
917
+ --logical_table Entries \
918
+ --shard_key created_at \
919
+ --min &quot;2015/07/08 00:00:00&quot; \
920
+ --min_border &quot;include&quot; \
921
+ --max &quot;2015/07/09 00:00:00&quot; \
922
+ --max_border &quot;exclude&quot; \
923
+ --sortby _key
924
+ # [
925
+ # [
926
+ # 0,
927
+ # 1337566253.89858,
928
+ # 0.000355720520019531
929
+ # ],
930
+ # [
931
+ # [
932
+ # [
933
+ # 3
934
+ # ],
935
+ # [
936
+ # [
937
+ # &quot;_id&quot;,
938
+ # &quot;UInt32&quot;
939
+ # ],
940
+ # [
941
+ # &quot;_key&quot;,
942
+ # &quot;ShortText&quot;
943
+ # ],
944
+ # [
945
+ # &quot;content&quot;,
946
+ # &quot;Text&quot;
947
+ # ],
948
+ # [
949
+ # &quot;created_at&quot;,
950
+ # &quot;Time&quot;
951
+ # ],
952
+ # [
953
+ # &quot;n_likes&quot;,
954
+ # &quot;UInt32&quot;
955
+ # ],
956
+ # [
957
+ # &quot;tag&quot;,
958
+ # &quot;ShortText&quot;
959
+ # ]
960
+ # ],
961
+ # [
962
+ # 2,
963
+ # &quot;Groonga&quot;,
964
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
965
+ # 1436284800.0,
966
+ # 10,
967
+ # &quot;Groonga&quot;
968
+ # ],
969
+ # [
970
+ # 3,
971
+ # &quot;Mroonga&quot;,
972
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
973
+ # 1436288400.0,
974
+ # 15,
975
+ # &quot;Groonga&quot;
976
+ # ],
977
+ # [
978
+ # 1,
979
+ # &quot;The first post!&quot;,
980
+ # &quot;Welcome! This is my first post!&quot;,
981
+ # 1436281200.0,
982
+ # 5,
983
+ # &quot;Hello&quot;
984
+ # ]
985
+ # ]
986
+ # ]
987
+ # ]
988
+ </pre></div>
989
+ </div>
990
+ </div>
991
+ <div class="section" id="offset">
992
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
993
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-offset"><span>offset</span></a> を見てください。</p>
994
+ <p>以下は例です。</p>
995
+ <p>実行例:</p>
996
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
997
+ --logical_table Entries \
998
+ --shard_key created_at \
999
+ --offset 2
1000
+ # [
1001
+ # [
1002
+ # 0,
1003
+ # 1337566253.89858,
1004
+ # 0.000355720520019531
1005
+ # ],
1006
+ # [
1007
+ # [
1008
+ # [
1009
+ # 5
1010
+ # ],
1011
+ # [
1012
+ # [
1013
+ # &quot;_id&quot;,
1014
+ # &quot;UInt32&quot;
1015
+ # ],
1016
+ # [
1017
+ # &quot;_key&quot;,
1018
+ # &quot;ShortText&quot;
1019
+ # ],
1020
+ # [
1021
+ # &quot;content&quot;,
1022
+ # &quot;Text&quot;
1023
+ # ],
1024
+ # [
1025
+ # &quot;created_at&quot;,
1026
+ # &quot;Time&quot;
1027
+ # ],
1028
+ # [
1029
+ # &quot;n_likes&quot;,
1030
+ # &quot;UInt32&quot;
1031
+ # ],
1032
+ # [
1033
+ # &quot;tag&quot;,
1034
+ # &quot;ShortText&quot;
1035
+ # ]
1036
+ # ],
1037
+ # [
1038
+ # 3,
1039
+ # &quot;Mroonga&quot;,
1040
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1041
+ # 1436288400.0,
1042
+ # 15,
1043
+ # &quot;Groonga&quot;
1044
+ # ],
1045
+ # [
1046
+ # 1,
1047
+ # &quot;Good-bye Senna&quot;,
1048
+ # &quot;I migrated all Senna system!&quot;,
1049
+ # 1436367600.0,
1050
+ # 3,
1051
+ # &quot;Senna&quot;
1052
+ # ],
1053
+ # [
1054
+ # 2,
1055
+ # &quot;Good-bye Tritonn&quot;,
1056
+ # &quot;I also migrated all Tritonn system!&quot;,
1057
+ # 1436371200.0,
1058
+ # 3,
1059
+ # &quot;Senna&quot;
1060
+ # ]
1061
+ # ]
1062
+ # ]
1063
+ # ]
149
1064
  </pre></div>
150
1065
  </div>
151
1066
  </div>
1067
+ <div class="section" id="limit">
1068
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1069
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-limit"><span>limit</span></a> を見てください。</p>
1070
+ <p>以下は例です。</p>
1071
+ <p>実行例:</p>
1072
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1073
+ --logical_table Entries \
1074
+ --shard_key created_at \
1075
+ --limit 2
1076
+ # [
1077
+ # [
1078
+ # 0,
1079
+ # 1337566253.89858,
1080
+ # 0.000355720520019531
1081
+ # ],
1082
+ # [
1083
+ # [
1084
+ # [
1085
+ # 5
1086
+ # ],
1087
+ # [
1088
+ # [
1089
+ # &quot;_id&quot;,
1090
+ # &quot;UInt32&quot;
1091
+ # ],
1092
+ # [
1093
+ # &quot;_key&quot;,
1094
+ # &quot;ShortText&quot;
1095
+ # ],
1096
+ # [
1097
+ # &quot;content&quot;,
1098
+ # &quot;Text&quot;
1099
+ # ],
1100
+ # [
1101
+ # &quot;created_at&quot;,
1102
+ # &quot;Time&quot;
1103
+ # ],
1104
+ # [
1105
+ # &quot;n_likes&quot;,
1106
+ # &quot;UInt32&quot;
1107
+ # ],
1108
+ # [
1109
+ # &quot;tag&quot;,
1110
+ # &quot;ShortText&quot;
1111
+ # ]
1112
+ # ],
1113
+ # [
1114
+ # 1,
1115
+ # &quot;The first post!&quot;,
1116
+ # &quot;Welcome! This is my first post!&quot;,
1117
+ # 1436281200.0,
1118
+ # 5,
1119
+ # &quot;Hello&quot;
1120
+ # ],
1121
+ # [
1122
+ # 2,
1123
+ # &quot;Groonga&quot;,
1124
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1125
+ # 1436284800.0,
1126
+ # 10,
1127
+ # &quot;Groonga&quot;
1128
+ # ]
1129
+ # ]
1130
+ # ]
1131
+ # ]
1132
+ </pre></div>
1133
+ </div>
1134
+ </div>
1135
+ <div class="section" id="scorer">
1136
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1137
+ <p>未実装です。</p>
1138
+ </div>
1139
+ </div>
1140
+ <div class="section" id="drilldown-related-parameters">
1141
+ <span id="logical-select-drilldown-related-parameters"></span><h3>7.3.27.5.6. ドリルダウン関連の引数<a class="headerlink" href="#drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1142
+ <p><a class="reference internal" href="select.html"><em>select</em></a> のすべてのドリルダウン関連パラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-drilldown-related-parameters"><span>ドリルダウン関連の引数</span></a> を見てください。</p>
1143
+ <div class="section" id="drilldown">
1144
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1145
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown"><span>drilldown</span></a> を見てください。</p>
1146
+ <p>以下は例です。</p>
1147
+ <p>実行例:</p>
1148
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1149
+ --logical_table Entries \
1150
+ --shard_key created_at \
1151
+ --output_columns _key,tag \
1152
+ --drilldown tag
1153
+ # [
1154
+ # [
1155
+ # 0,
1156
+ # 1337566253.89858,
1157
+ # 0.000355720520019531
1158
+ # ],
1159
+ # [
1160
+ # [
1161
+ # [
1162
+ # 5
1163
+ # ],
1164
+ # [
1165
+ # [
1166
+ # &quot;_key&quot;,
1167
+ # &quot;ShortText&quot;
1168
+ # ],
1169
+ # [
1170
+ # &quot;tag&quot;,
1171
+ # &quot;ShortText&quot;
1172
+ # ]
1173
+ # ],
1174
+ # [
1175
+ # &quot;The first post!&quot;,
1176
+ # &quot;Hello&quot;
1177
+ # ],
1178
+ # [
1179
+ # &quot;Groonga&quot;,
1180
+ # &quot;Groonga&quot;
1181
+ # ],
1182
+ # [
1183
+ # &quot;Mroonga&quot;,
1184
+ # &quot;Groonga&quot;
1185
+ # ],
1186
+ # [
1187
+ # &quot;Good-bye Senna&quot;,
1188
+ # &quot;Senna&quot;
1189
+ # ],
1190
+ # [
1191
+ # &quot;Good-bye Tritonn&quot;,
1192
+ # &quot;Senna&quot;
1193
+ # ]
1194
+ # ],
1195
+ # [
1196
+ # [
1197
+ # 3
1198
+ # ],
1199
+ # [
1200
+ # [
1201
+ # &quot;_key&quot;,
1202
+ # &quot;ShortText&quot;
1203
+ # ],
1204
+ # [
1205
+ # &quot;_nsubrecs&quot;,
1206
+ # &quot;Int32&quot;
1207
+ # ]
1208
+ # ],
1209
+ # [
1210
+ # &quot;Hello&quot;,
1211
+ # 1
1212
+ # ],
1213
+ # [
1214
+ # &quot;Groonga&quot;,
1215
+ # 2
1216
+ # ],
1217
+ # [
1218
+ # &quot;Senna&quot;,
1219
+ # 2
1220
+ # ]
1221
+ # ]
1222
+ # ]
1223
+ # ]
1224
+ </pre></div>
1225
+ </div>
1226
+ </div>
1227
+ <div class="section" id="drilldown-sortby">
1228
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1229
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-sortby"><span>drilldown_sortby</span></a> を見てください。</p>
1230
+ <p>以下は例です。</p>
1231
+ <p>実行例:</p>
1232
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1233
+ --logical_table Entries \
1234
+ --shard_key created_at \
1235
+ --limit 0 \
1236
+ --output_columns _id \
1237
+ --drilldown tag \
1238
+ --drilldown_sortby -_nsubrecs,_key
1239
+ # [
1240
+ # [
1241
+ # 0,
1242
+ # 1337566253.89858,
1243
+ # 0.000355720520019531
1244
+ # ],
1245
+ # [
1246
+ # [
1247
+ # [
1248
+ # 5
1249
+ # ],
1250
+ # [
1251
+ # [
1252
+ # &quot;_id&quot;,
1253
+ # &quot;UInt32&quot;
1254
+ # ]
1255
+ # ]
1256
+ # ],
1257
+ # [
1258
+ # [
1259
+ # 3
1260
+ # ],
1261
+ # [
1262
+ # [
1263
+ # &quot;_key&quot;,
1264
+ # &quot;ShortText&quot;
1265
+ # ],
1266
+ # [
1267
+ # &quot;_nsubrecs&quot;,
1268
+ # &quot;Int32&quot;
1269
+ # ]
1270
+ # ],
1271
+ # [
1272
+ # &quot;Groonga&quot;,
1273
+ # 2
1274
+ # ],
1275
+ # [
1276
+ # &quot;Senna&quot;,
1277
+ # 2
1278
+ # ],
1279
+ # [
1280
+ # &quot;Hello&quot;,
1281
+ # 1
1282
+ # ]
1283
+ # ]
1284
+ # ]
1285
+ # ]
1286
+ </pre></div>
1287
+ </div>
1288
+ </div>
1289
+ <div class="section" id="drilldown-output-columns">
1290
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1291
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-output-columns"><span>drilldown_output_columns</span></a> を見てください。</p>
1292
+ <p>以下は例です。</p>
1293
+ <p>実行例:</p>
1294
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1295
+ --logical_table Entries \
1296
+ --shard_key created_at \
1297
+ --limit 0 \
1298
+ --output_columns _id \
1299
+ --drilldown tag \
1300
+ --drilldown_output_columns _key
1301
+ # [
1302
+ # [
1303
+ # 0,
1304
+ # 1337566253.89858,
1305
+ # 0.000355720520019531
1306
+ # ],
1307
+ # [
1308
+ # [
1309
+ # [
1310
+ # 5
1311
+ # ],
1312
+ # [
1313
+ # [
1314
+ # &quot;_id&quot;,
1315
+ # &quot;UInt32&quot;
1316
+ # ]
1317
+ # ]
1318
+ # ],
1319
+ # [
1320
+ # [
1321
+ # 3
1322
+ # ],
1323
+ # [
1324
+ # [
1325
+ # &quot;_key&quot;,
1326
+ # &quot;ShortText&quot;
1327
+ # ]
1328
+ # ],
1329
+ # [
1330
+ # &quot;Hello&quot;
1331
+ # ],
1332
+ # [
1333
+ # &quot;Groonga&quot;
1334
+ # ],
1335
+ # [
1336
+ # &quot;Senna&quot;
1337
+ # ]
1338
+ # ]
1339
+ # ]
1340
+ # ]
1341
+ </pre></div>
1342
+ </div>
1343
+ </div>
1344
+ <div class="section" id="drilldown-offset">
1345
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1346
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-offset"><span>drilldown_offset</span></a> を見てください。</p>
1347
+ <p>以下は例です。</p>
1348
+ <p>実行例:</p>
1349
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1350
+ --logical_table Entries \
1351
+ --shard_key created_at \
1352
+ --limit 0 \
1353
+ --output_columns _id \
1354
+ --drilldown tag \
1355
+ --drilldown_offset 1
1356
+ # [
1357
+ # [
1358
+ # 0,
1359
+ # 1337566253.89858,
1360
+ # 0.000355720520019531
1361
+ # ],
1362
+ # [
1363
+ # [
1364
+ # [
1365
+ # 5
1366
+ # ],
1367
+ # [
1368
+ # [
1369
+ # &quot;_id&quot;,
1370
+ # &quot;UInt32&quot;
1371
+ # ]
1372
+ # ]
1373
+ # ],
1374
+ # [
1375
+ # [
1376
+ # 3
1377
+ # ],
1378
+ # [
1379
+ # [
1380
+ # &quot;_key&quot;,
1381
+ # &quot;ShortText&quot;
1382
+ # ],
1383
+ # [
1384
+ # &quot;_nsubrecs&quot;,
1385
+ # &quot;Int32&quot;
1386
+ # ]
1387
+ # ],
1388
+ # [
1389
+ # &quot;Groonga&quot;,
1390
+ # 2
1391
+ # ],
1392
+ # [
1393
+ # &quot;Senna&quot;,
1394
+ # 2
1395
+ # ]
1396
+ # ]
1397
+ # ]
1398
+ # ]
1399
+ </pre></div>
1400
+ </div>
1401
+ </div>
1402
+ <div class="section" id="drilldown-limit">
1403
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1404
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-limit"><span>drilldown_limit</span></a> を見てください。</p>
1405
+ <p>以下は例です。</p>
1406
+ <p>実行例:</p>
1407
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1408
+ --logical_table Entries \
1409
+ --shard_key created_at \
1410
+ --limit 0 \
1411
+ --output_columns _id \
1412
+ --drilldown tag \
1413
+ --drilldown_limit 2
1414
+ # [
1415
+ # [
1416
+ # 0,
1417
+ # 1337566253.89858,
1418
+ # 0.000355720520019531
1419
+ # ],
1420
+ # [
1421
+ # [
1422
+ # [
1423
+ # 5
1424
+ # ],
1425
+ # [
1426
+ # [
1427
+ # &quot;_id&quot;,
1428
+ # &quot;UInt32&quot;
1429
+ # ]
1430
+ # ]
1431
+ # ],
1432
+ # [
1433
+ # [
1434
+ # 3
1435
+ # ],
1436
+ # [
1437
+ # [
1438
+ # &quot;_key&quot;,
1439
+ # &quot;ShortText&quot;
1440
+ # ],
1441
+ # [
1442
+ # &quot;_nsubrecs&quot;,
1443
+ # &quot;Int32&quot;
1444
+ # ]
1445
+ # ],
1446
+ # [
1447
+ # &quot;Hello&quot;,
1448
+ # 1
1449
+ # ],
1450
+ # [
1451
+ # &quot;Groonga&quot;,
1452
+ # 2
1453
+ # ]
1454
+ # ]
1455
+ # ]
1456
+ # ]
1457
+ </pre></div>
1458
+ </div>
1459
+ </div>
1460
+ <div class="section" id="drilldown-calc-types">
1461
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1462
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> を見てください。</p>
1463
+ <p>以下は例です。</p>
1464
+ <p>実行例:</p>
1465
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1466
+ --logical_table Entries \
1467
+ --shard_key created_at \
1468
+ --limit -1 \
1469
+ --output_columns tag,n_likes \
1470
+ --drilldown tag \
1471
+ --drilldown_calc_types MAX,MIN,SUM,AVG \
1472
+ --drilldown_calc_target n_likes \
1473
+ --drilldown_output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1474
+ # [
1475
+ # [
1476
+ # 0,
1477
+ # 1337566253.89858,
1478
+ # 0.000355720520019531
1479
+ # ],
1480
+ # [
1481
+ # [
1482
+ # [
1483
+ # 5
1484
+ # ],
1485
+ # [
1486
+ # [
1487
+ # &quot;tag&quot;,
1488
+ # &quot;ShortText&quot;
1489
+ # ],
1490
+ # [
1491
+ # &quot;n_likes&quot;,
1492
+ # &quot;UInt32&quot;
1493
+ # ]
1494
+ # ],
1495
+ # [
1496
+ # &quot;Hello&quot;,
1497
+ # 5
1498
+ # ],
1499
+ # [
1500
+ # &quot;Groonga&quot;,
1501
+ # 10
1502
+ # ],
1503
+ # [
1504
+ # &quot;Groonga&quot;,
1505
+ # 15
1506
+ # ],
1507
+ # [
1508
+ # &quot;Senna&quot;,
1509
+ # 3
1510
+ # ],
1511
+ # [
1512
+ # &quot;Senna&quot;,
1513
+ # 3
1514
+ # ]
1515
+ # ],
1516
+ # [
1517
+ # [
1518
+ # 3
1519
+ # ],
1520
+ # [
1521
+ # [
1522
+ # &quot;_key&quot;,
1523
+ # &quot;ShortText&quot;
1524
+ # ],
1525
+ # [
1526
+ # &quot;_nsubrecs&quot;,
1527
+ # &quot;Int32&quot;
1528
+ # ],
1529
+ # [
1530
+ # &quot;_max&quot;,
1531
+ # &quot;Int64&quot;
1532
+ # ],
1533
+ # [
1534
+ # &quot;_min&quot;,
1535
+ # &quot;Int64&quot;
1536
+ # ],
1537
+ # [
1538
+ # &quot;_sum&quot;,
1539
+ # &quot;Int64&quot;
1540
+ # ],
1541
+ # [
1542
+ # &quot;_avg&quot;,
1543
+ # &quot;Float&quot;
1544
+ # ]
1545
+ # ],
1546
+ # [
1547
+ # &quot;Hello&quot;,
1548
+ # 1,
1549
+ # 5,
1550
+ # 5,
1551
+ # 5,
1552
+ # 5.0
1553
+ # ],
1554
+ # [
1555
+ # &quot;Groonga&quot;,
1556
+ # 2,
1557
+ # 15,
1558
+ # 10,
1559
+ # 25,
1560
+ # 12.5
1561
+ # ],
1562
+ # [
1563
+ # &quot;Senna&quot;,
1564
+ # 2,
1565
+ # 3,
1566
+ # 3,
1567
+ # 6,
1568
+ # 3.0
1569
+ # ]
1570
+ # ]
1571
+ # ]
1572
+ # ]
1573
+ </pre></div>
1574
+ </div>
1575
+ </div>
1576
+ <div class="section" id="drilldown-calc-target">
1577
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1578
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-calc-target"><span>drilldown_calc_target</span></a> を見てください。</p>
1579
+ <p>具体例は <a class="reference internal" href="select.html#select-drilldown-calc-types"><span>drilldown_calc_types</span></a> を見てください。</p>
1580
+ </div>
1581
+ </div>
1582
+ <div class="section" id="advanced-drilldown-related-parameters">
1583
+ <span id="logical-select-advanced-drilldown-related-parameters"></span><h3>7.3.27.5.7. 高度なドリルダウン関連のパラメーター<a class="headerlink" href="#advanced-drilldown-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
1584
+ <p><a class="reference internal" href="select.html"><em>select</em></a> のすべての高度なドリルダウン関連のパラメーターをサポートしています。詳細は <a class="reference internal" href="select.html#select-advanced-drilldown-related-parameters"><span>高度なドリルダウン関連のパラメーター</span></a> を見てください。</p>
1585
+ <p>いくつか制限があります。</p>
1586
+ <blockquote>
1587
+ <div><ul class="simple">
1588
+ <li><p class="first">複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
1589
+ </li>
1590
+ </ul>
1591
+ </div></blockquote>
1592
+ <div class="section" id="drilldown-label-keys">
1593
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1594
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-keys"><span>drilldown[${LABEL}].keys</span></a> を見てください。</p>
1595
+ <p>以下は例です。</p>
1596
+ <p>実行例:</p>
1597
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1598
+ --logical_table Entries \
1599
+ --shard_key created_at \
1600
+ --limit 0 \
1601
+ --output_columns _id \
1602
+ --drilldown[tag.n_likes].keys tag,n_likes \
1603
+ --drilldown[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
1604
+ # [
1605
+ # [
1606
+ # 0,
1607
+ # 1337566253.89858,
1608
+ # 0.000355720520019531
1609
+ # ],
1610
+ # [
1611
+ # [
1612
+ # [
1613
+ # 5
1614
+ # ],
1615
+ # [
1616
+ # [
1617
+ # &quot;_id&quot;,
1618
+ # &quot;UInt32&quot;
1619
+ # ]
1620
+ # ]
1621
+ # ],
1622
+ # {
1623
+ # &quot;tag.n_likes&quot;: [
1624
+ # [
1625
+ # 4
1626
+ # ],
1627
+ # [
1628
+ # [
1629
+ # &quot;tag&quot;,
1630
+ # &quot;ShortText&quot;
1631
+ # ],
1632
+ # [
1633
+ # &quot;n_likes&quot;,
1634
+ # &quot;UInt32&quot;
1635
+ # ],
1636
+ # [
1637
+ # &quot;_nsubrecs&quot;,
1638
+ # &quot;Int32&quot;
1639
+ # ]
1640
+ # ],
1641
+ # [
1642
+ # &quot;Hello&quot;,
1643
+ # 5,
1644
+ # 1
1645
+ # ],
1646
+ # [
1647
+ # &quot;Groonga&quot;,
1648
+ # 10,
1649
+ # 1
1650
+ # ],
1651
+ # [
1652
+ # &quot;Groonga&quot;,
1653
+ # 15,
1654
+ # 1
1655
+ # ],
1656
+ # [
1657
+ # &quot;Senna&quot;,
1658
+ # 3,
1659
+ # 2
1660
+ # ]
1661
+ # ]
1662
+ # }
1663
+ # ]
1664
+ # ]
1665
+ </pre></div>
1666
+ </div>
1667
+ </div>
1668
+ <div class="section" id="drilldown-label-output-columns">
1669
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1670
+ <p><a class="reference internal" href="select.html"><em>select</em></a> の <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> に対応しています。詳細は <a class="reference internal" href="select.html#select-drilldown-label-output-columns"><span>drilldown[${LABEL}].output_columns</span></a> を見てください。</p>
1671
+ <p>以下は例です。</p>
1672
+ <p>実行例:</p>
1673
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1674
+ --logical_table Entries \
1675
+ --shard_key created_at \
1676
+ --limit 0 \
1677
+ --output_columns _id \
1678
+ --drilldown[tag].keys tag \
1679
+ --drilldown[tag].output_columns _key,_nsubrecs
1680
+ # [
1681
+ # [
1682
+ # 0,
1683
+ # 1337566253.89858,
1684
+ # 0.000355720520019531
1685
+ # ],
1686
+ # [
1687
+ # [
1688
+ # [
1689
+ # 5
1690
+ # ],
1691
+ # [
1692
+ # [
1693
+ # &quot;_id&quot;,
1694
+ # &quot;UInt32&quot;
1695
+ # ]
1696
+ # ]
1697
+ # ],
1698
+ # {
1699
+ # &quot;tag&quot;: [
1700
+ # [
1701
+ # 3
1702
+ # ],
1703
+ # [
1704
+ # [
1705
+ # &quot;_key&quot;,
1706
+ # &quot;ShortText&quot;
1707
+ # ],
1708
+ # [
1709
+ # &quot;_nsubrecs&quot;,
1710
+ # &quot;Int32&quot;
1711
+ # ]
1712
+ # ],
1713
+ # [
1714
+ # &quot;Hello&quot;,
1715
+ # 1
1716
+ # ],
1717
+ # [
1718
+ # &quot;Groonga&quot;,
1719
+ # 2
1720
+ # ],
1721
+ # [
1722
+ # &quot;Senna&quot;,
1723
+ # 2
1724
+ # ]
1725
+ # ]
1726
+ # }
1727
+ # ]
1728
+ # ]
1729
+ </pre></div>
1730
+ </div>
1731
+ </div>
1732
+ <div class="section" id="drilldown-label-sortby">
1733
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1734
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-sortby"><span>drilldown_sortby</span></a> に対応しています。</p>
1735
+ <p><code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> には制限があります。</p>
1736
+ <p>複数のシャードを使った場合、 <code class="docutils literal"><span class="pre">drilldown[${LABEL}].sortby</span></code> の中で <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使えません。1つのシャードのみを使った場合は使えます。</p>
1737
+ <p>以下は1つのシャードに対して <code class="docutils literal"><span class="pre">_value.${KEY_NAME}</span></code> を使う例です。</p>
1738
+ <p>実行例:</p>
1739
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1740
+ --logical_table Entries \
1741
+ --shard_key created_at \
1742
+ --min &quot;2015/07/08 00:00:00&quot; \
1743
+ --min_border &quot;include&quot; \
1744
+ --max &quot;2015/07/09 00:00:00&quot; \
1745
+ --max_border &quot;exclude&quot; \
1746
+ --limit 0 \
1747
+ --output_columns _id \
1748
+ --drilldown[tag.n_likes].keys tag,n_likes \
1749
+ --drilldown[tag.n_likes].output_columns _nsubrecs,_value.n_likes,_value.tag \
1750
+ --drilldown[tag.n_likes].sortby -_nsubrecs,_value.n_likes,_value.tag
1751
+ # [
1752
+ # [
1753
+ # 0,
1754
+ # 1337566253.89858,
1755
+ # 0.000355720520019531
1756
+ # ],
1757
+ # [
1758
+ # [
1759
+ # [
1760
+ # 3
1761
+ # ],
1762
+ # [
1763
+ # [
1764
+ # &quot;_id&quot;,
1765
+ # &quot;UInt32&quot;
1766
+ # ]
1767
+ # ]
1768
+ # ],
1769
+ # {
1770
+ # &quot;tag.n_likes&quot;: [
1771
+ # [
1772
+ # 3
1773
+ # ],
1774
+ # [
1775
+ # [
1776
+ # &quot;_nsubrecs&quot;,
1777
+ # &quot;Int32&quot;
1778
+ # ],
1779
+ # [
1780
+ # &quot;n_likes&quot;,
1781
+ # &quot;UInt32&quot;
1782
+ # ],
1783
+ # [
1784
+ # &quot;tag&quot;,
1785
+ # &quot;ShortText&quot;
1786
+ # ]
1787
+ # ],
1788
+ # [
1789
+ # 1,
1790
+ # 5,
1791
+ # &quot;Hello&quot;
1792
+ # ],
1793
+ # [
1794
+ # 1,
1795
+ # 10,
1796
+ # &quot;Groonga&quot;
1797
+ # ],
1798
+ # [
1799
+ # 1,
1800
+ # 15,
1801
+ # &quot;Groonga&quot;
1802
+ # ]
1803
+ # ]
1804
+ # }
1805
+ # ]
1806
+ # ]
1807
+ </pre></div>
1808
+ </div>
1809
+ </div>
1810
+ <div class="section" id="drilldown-label-offset">
1811
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1812
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-offset"><span>drilldown_offset</span></a> に対応しています。</p>
1813
+ <p>以下は例です。</p>
1814
+ <p>実行例:</p>
1815
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1816
+ --logical_table Entries \
1817
+ --shard_key created_at \
1818
+ --limit 0 \
1819
+ --output_columns _id \
1820
+ --drilldown[tag.n_likes].keys tag \
1821
+ --drilldown[tag.n_likes].offset 1
1822
+ # [
1823
+ # [
1824
+ # 0,
1825
+ # 1337566253.89858,
1826
+ # 0.000355720520019531
1827
+ # ],
1828
+ # [
1829
+ # [
1830
+ # [
1831
+ # 5
1832
+ # ],
1833
+ # [
1834
+ # [
1835
+ # &quot;_id&quot;,
1836
+ # &quot;UInt32&quot;
1837
+ # ]
1838
+ # ]
1839
+ # ],
1840
+ # {
1841
+ # &quot;tag.n_likes&quot;: [
1842
+ # [
1843
+ # 3
1844
+ # ],
1845
+ # [
1846
+ # [
1847
+ # &quot;_key&quot;,
1848
+ # &quot;ShortText&quot;
1849
+ # ],
1850
+ # [
1851
+ # &quot;_nsubrecs&quot;,
1852
+ # &quot;Int32&quot;
1853
+ # ]
1854
+ # ],
1855
+ # [
1856
+ # &quot;Groonga&quot;,
1857
+ # 2
1858
+ # ],
1859
+ # [
1860
+ # &quot;Senna&quot;,
1861
+ # 2
1862
+ # ]
1863
+ # ]
1864
+ # }
1865
+ # ]
1866
+ # ]
1867
+ </pre></div>
1868
+ </div>
1869
+ </div>
1870
+ <div class="section" id="drilldown-label-limit">
1871
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1872
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-limit"><span>drilldown_limit</span></a> に対応しています。</p>
1873
+ <p>以下は例です。</p>
1874
+ <p>実行例:</p>
1875
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1876
+ --logical_table Entries \
1877
+ --shard_key created_at \
1878
+ --limit 0 \
1879
+ --output_columns _id \
1880
+ --drilldown[tag.n_likes].keys tag \
1881
+ --drilldown[tag.n_likes].limit 2
1882
+ # [
1883
+ # [
1884
+ # 0,
1885
+ # 1337566253.89858,
1886
+ # 0.000355720520019531
1887
+ # ],
1888
+ # [
1889
+ # [
1890
+ # [
1891
+ # 5
1892
+ # ],
1893
+ # [
1894
+ # [
1895
+ # &quot;_id&quot;,
1896
+ # &quot;UInt32&quot;
1897
+ # ]
1898
+ # ]
1899
+ # ],
1900
+ # {
1901
+ # &quot;tag.n_likes&quot;: [
1902
+ # [
1903
+ # 3
1904
+ # ],
1905
+ # [
1906
+ # [
1907
+ # &quot;_key&quot;,
1908
+ # &quot;ShortText&quot;
1909
+ # ],
1910
+ # [
1911
+ # &quot;_nsubrecs&quot;,
1912
+ # &quot;Int32&quot;
1913
+ # ]
1914
+ # ],
1915
+ # [
1916
+ # &quot;Hello&quot;,
1917
+ # 1
1918
+ # ],
1919
+ # [
1920
+ # &quot;Groonga&quot;,
1921
+ # 2
1922
+ # ]
1923
+ # ]
1924
+ # }
1925
+ # ]
1926
+ # ]
1927
+ </pre></div>
1928
+ </div>
1929
+ </div>
1930
+ <div class="section" id="drilldown-label-calc-types">
1931
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
1932
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-types"><span>drilldown_calc_types</span></a> に対応しています。</p>
1933
+ <p>以下は例です。</p>
1934
+ <p>実行例:</p>
1935
+ <div class="highlight-none"><div class="highlight"><pre>logical_select \
1936
+ --logical_table Entries \
1937
+ --shard_key created_at \
1938
+ --limit 0 \
1939
+ --output_columns _id \
1940
+ --drilldown[tag].keys tag \
1941
+ --drilldown[tag].calc_types MAX,MIN,SUM,AVG \
1942
+ --drilldown[tag].calc_target n_likes \
1943
+ --drilldown[tag].output_columns _key,_nsubrecs,_max,_min,_sum,_avg
1944
+ # [
1945
+ # [
1946
+ # 0,
1947
+ # 1337566253.89858,
1948
+ # 0.000355720520019531
1949
+ # ],
1950
+ # [
1951
+ # [
1952
+ # [
1953
+ # 5
1954
+ # ],
1955
+ # [
1956
+ # [
1957
+ # &quot;_id&quot;,
1958
+ # &quot;UInt32&quot;
1959
+ # ]
1960
+ # ]
1961
+ # ],
1962
+ # {
1963
+ # &quot;tag&quot;: [
1964
+ # [
1965
+ # 3
1966
+ # ],
1967
+ # [
1968
+ # [
1969
+ # &quot;_key&quot;,
1970
+ # &quot;ShortText&quot;
1971
+ # ],
1972
+ # [
1973
+ # &quot;_nsubrecs&quot;,
1974
+ # &quot;Int32&quot;
1975
+ # ],
1976
+ # [
1977
+ # &quot;_max&quot;,
1978
+ # &quot;Int64&quot;
1979
+ # ],
1980
+ # [
1981
+ # &quot;_min&quot;,
1982
+ # &quot;Int64&quot;
1983
+ # ],
1984
+ # [
1985
+ # &quot;_sum&quot;,
1986
+ # &quot;Int64&quot;
1987
+ # ],
1988
+ # [
1989
+ # &quot;_avg&quot;,
1990
+ # &quot;Float&quot;
1991
+ # ]
1992
+ # ],
1993
+ # [
1994
+ # &quot;Hello&quot;,
1995
+ # 1,
1996
+ # 5,
1997
+ # 5,
1998
+ # 5,
1999
+ # 5.0
2000
+ # ],
2001
+ # [
2002
+ # &quot;Groonga&quot;,
2003
+ # 2,
2004
+ # 15,
2005
+ # 10,
2006
+ # 25,
2007
+ # 12.5
2008
+ # ],
2009
+ # [
2010
+ # &quot;Senna&quot;,
2011
+ # 2,
2012
+ # 3,
2013
+ # 3,
2014
+ # 6,
2015
+ # 3.0
2016
+ # ]
2017
+ # ]
2018
+ # }
2019
+ # ]
2020
+ # ]
2021
+ </pre></div>
2022
+ </div>
2023
+ </div>
2024
+ <div class="section" id="drilldown-label-calc-target">
2025
+ <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="このヘッドラインへのパーマリンク">¶</a></h4>
2026
+ <p>ラベルなしドリルダウンの <a class="reference internal" href="#logical-select-drilldown-calc-target"><span>drilldown_calc_target</span></a> に対応しています。</p>
2027
+ <p>例は <a class="reference internal" href="#logical-select-drilldown-label-calc-types"><span>drilldown[${LABEL}].calc_types</span></a> を参照してください。</p>
2028
+ </div>
2029
+ </div>
2030
+ </div>
2031
+ <div class="section" id="return-value">
2032
+ <h2>7.3.27.6. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
2033
+ <p><code class="docutils literal"><span class="pre">logical_select</span></code> の戻り値のフォーマットは <a class="reference internal" href="select.html"><em>select</em></a> と同じです。詳細は <a class="reference internal" href="select.html#select-return-value"><span>戻り値</span></a> を見てください。</p>
2034
+ </div>
152
2035
  </div>
153
2036
 
154
2037
 
155
2038
  </div>
156
2039
  </div>
157
2040
  </div>
158
- <div class="sphinxsidebar">
2041
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
159
2042
  <div class="sphinxsidebarwrapper">
160
2043
  <h3><a href="../../index.html">目次</a></h3>
161
2044
  <ul>
162
- <li><a class="reference internal" href="#">7.3.24. <tt class="docutils literal"><span class="pre">logical_select</span></tt></a><ul>
163
- <li><a class="reference internal" href="#summary">7.3.24.1. 概要</a></li>
164
- <li><a class="reference internal" href="#syntax">7.3.24.2. 構文</a></li>
165
- <li><a class="reference internal" href="#usage">7.3.24.3. 使い方</a></li>
166
- <li><a class="reference internal" href="#parameters">7.3.24.4. 引数</a><ul>
167
- <li><a class="reference internal" href="#required-parameter">7.3.24.4.1. 必須引数</a><ul>
168
- <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>
169
- <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>
2045
+ <li><a class="reference internal" href="#">7.3.27. <code class="docutils literal"><span class="pre">logical_select</span></code></a><ul>
2046
+ <li><a class="reference internal" href="#summary">7.3.27.1. 概要</a></li>
2047
+ <li><a class="reference internal" href="#syntax">7.3.27.2. 構文</a></li>
2048
+ <li><a class="reference internal" href="#differences-from-select">7.3.27.3. <code class="docutils literal"><span class="pre">select</span></code> との違い</a></li>
2049
+ <li><a class="reference internal" href="#usage">7.3.27.4. 使い方</a><ul>
2050
+ <li><a class="reference internal" href="#simple-usage">7.3.27.4.1. 簡単な使い方</a></li>
2051
+ </ul>
2052
+ </li>
2053
+ <li><a class="reference internal" href="#parameters">7.3.27.5. 引数</a><ul>
2054
+ <li><a class="reference internal" href="#required-parameter">7.3.27.5.1. 必須引数</a><ul>
2055
+ <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>
2056
+ <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>
2057
+ </ul>
2058
+ </li>
2059
+ <li><a class="reference internal" href="#optional-parameters">7.3.27.5.2. 省略可能引数</a><ul>
2060
+ <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>
2061
+ <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>
2062
+ <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>
2063
+ <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>
2064
+ </ul>
2065
+ </li>
2066
+ <li><a class="reference internal" href="#search-related-parameters">7.3.27.5.3. 検索関係の引数</a><ul>
2067
+ <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>
2068
+ <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>
2069
+ <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>
170
2070
  </ul>
171
2071
  </li>
172
- <li><a class="reference internal" href="#optional-parameters">7.3.24.4.2. 省略可能引数</a><ul>
173
- <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>
174
- <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>
175
- <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>
176
- <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>
177
- <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>
2072
+ <li><a class="reference internal" href="#advanced-search-parameters">7.3.27.5.4. 高度な検索のための引数</a><ul>
2073
+ <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>
2074
+ <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>
2075
+ <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>
178
2076
  </ul>
179
2077
  </li>
2078
+ <li><a class="reference internal" href="#output-related-parameters">7.3.27.5.5. 出力関連の引数</a><ul>
2079
+ <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>
2080
+ <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>
2081
+ <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>
2082
+ <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>
2083
+ <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>
180
2084
  </ul>
181
2085
  </li>
182
- <li><a class="reference internal" href="#return-value">7.3.24.5. 戻り値</a></li>
2086
+ <li><a class="reference internal" href="#drilldown-related-parameters">7.3.27.5.6. ドリルダウン関連の引数</a><ul>
2087
+ <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>
2088
+ <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>
2089
+ <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>
2090
+ <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>
2091
+ <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>
2092
+ <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>
2093
+ <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>
2094
+ </ul>
2095
+ </li>
2096
+ <li><a class="reference internal" href="#advanced-drilldown-related-parameters">7.3.27.5.7. 高度なドリルダウン関連のパラメーター</a><ul>
2097
+ <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>
2098
+ <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>
2099
+ <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>
2100
+ <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>
2101
+ <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>
2102
+ <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>
2103
+ <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>
2104
+ </ul>
2105
+ </li>
2106
+ </ul>
2107
+ </li>
2108
+ <li><a class="reference internal" href="#return-value">7.3.27.6. 戻り値</a></li>
183
2109
  </ul>
184
2110
  </li>
185
2111
  </ul>
186
2112
 
187
2113
  <h4>前のトピックへ</h4>
188
2114
  <p class="topless"><a href="logical_range_filter.html"
189
- title="前の章へ">7.3.23. <tt class="docutils literal"><span class="pre">logical_range_filter</span></tt></a></p>
2115
+ title="前の章へ">7.3.26. <code class="docutils literal"><span class="pre">logical_range_filter</span></code></a></p>
190
2116
  <h4>次のトピックへ</h4>
191
- <p class="topless"><a href="logical_table_remove.html"
192
- title="次の章へ">7.3.25. <tt class="docutils literal"><span class="pre">logical_table_remove</span></tt></a></p>
193
- <h3>このページ</h3>
194
- <ul class="this-page-menu">
195
- <li><a href="../../_sources/reference/commands/logical_select.txt"
196
- rel="nofollow">ソースコードを表示</a></li>
197
- </ul>
198
- <div id="searchbox" style="display: none">
2117
+ <p class="topless"><a href="logical_shard_list.html"
2118
+ title="次の章へ">7.3.28. <code class="docutils literal"><span class="pre">logical_shard_list</span></code></a></p>
2119
+ <div role="note" aria-label="source link">
2120
+ <h3>このページ</h3>
2121
+ <ul class="this-page-menu">
2122
+ <li><a href="../../_sources/reference/commands/logical_select.txt"
2123
+ rel="nofollow">ソースコードを表示</a></li>
2124
+ </ul>
2125
+ </div>
2126
+ <div id="searchbox" style="display: none" role="search">
199
2127
  <h3>クイック検索</h3>
200
2128
  <form class="search" action="../../search.html" method="get">
201
2129
  <input type="text" name="q" />
@@ -212,24 +2140,24 @@
212
2140
  </div>
213
2141
  <div class="clearer"></div>
214
2142
  </div>
215
- <div class="related">
2143
+ <div class="related" role="navigation" aria-label="related navigation">
216
2144
  <h3>ナビゲーション</h3>
217
2145
  <ul>
218
2146
  <li class="right" style="margin-right: 10px">
219
2147
  <a href="../../genindex.html" title="総合索引"
220
2148
  >索引</a></li>
221
2149
  <li class="right" >
222
- <a href="logical_table_remove.html" title="7.3.25. logical_table_remove"
2150
+ <a href="logical_shard_list.html" title="7.3.28. logical_shard_list"
223
2151
  >次へ</a> |</li>
224
2152
  <li class="right" >
225
- <a href="logical_range_filter.html" title="7.3.23. logical_range_filter"
2153
+ <a href="logical_range_filter.html" title="7.3.26. logical_range_filter"
226
2154
  >前へ</a> |</li>
227
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adbドキュメント</a> &raquo;</li>
228
- <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
229
- <li><a href="../command.html" >7.3. コマンド</a> &raquo;</li>
2155
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
2156
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
2157
+ <li class="nav-item nav-item-2"><a href="../sharding.html" >7.18. シャーディング</a> &raquo;</li>
230
2158
  </ul>
231
2159
  </div>
232
- <div class="footer">
2160
+ <div class="footer" role="contentinfo">
233
2161
  &copy; Copyright 2009-2015, Brazil, Inc.
234
2162
  </div>
235
2163
  </body>