rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (560) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +17 -1
  4. data/ext/groonga/extconf.rb +2 -1
  5. data/ext/groonga/rb-grn-column.c +31 -0
  6. data/ext/groonga/rb-grn-database.c +33 -1
  7. data/ext/groonga/rb-grn-table.c +1 -1
  8. data/ext/groonga/rb-grn.h +1 -1
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/geo-point.rb +2 -1
  13. data/rroonga-build.rb +3 -3
  14. data/test/test-column.rb +68 -6
  15. data/test/test-command-select.rb +0 -3
  16. data/test/test-database.rb +28 -1
  17. data/test/test-expression-builder.rb +1 -1
  18. data/test/test-geo-point.rb +15 -0
  19. data/test/test-variable-size-column.rb +2 -2
  20. data/vendor/local/bin/grndb.exe +0 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libonig-5.dll +0 -0
  29. data/vendor/local/bin/libstdc++-6.dll +0 -0
  30. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  31. data/vendor/local/bin/lz4.exe +0 -0
  32. data/vendor/local/bin/lz4c.exe +0 -0
  33. data/vendor/local/bin/lz4cat +0 -0
  34. data/vendor/local/bin/mecab-config +2 -2
  35. data/vendor/local/bin/mecab.exe +0 -0
  36. data/vendor/local/bin/onig-config +1 -1
  37. data/vendor/local/bin/zlib1.dll +0 -0
  38. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  39. data/vendor/local/include/groonga/groonga.h +1 -0
  40. data/vendor/local/include/groonga/groonga/groonga.h +4 -1
  41. data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
  42. data/vendor/local/include/lz4.h +21 -29
  43. data/vendor/local/include/lz4frame.h +252 -0
  44. data/vendor/local/include/lz4hc.h +14 -63
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  53. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  55. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  57. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  61. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  63. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  65. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  69. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  73. data/vendor/local/lib/groonga/scripts/ruby/command/grndb.rb +169 -0
  74. data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
  75. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
  77. data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
  78. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
  79. data/vendor/local/lib/libgroonga.a +0 -0
  80. data/vendor/local/lib/libgroonga.dll.a +0 -0
  81. data/vendor/local/lib/libgroonga.la +3 -3
  82. data/vendor/local/lib/liblz4.a +0 -0
  83. data/vendor/local/lib/liblz4.dll +0 -0
  84. data/vendor/local/lib/liblz4.dll.1 +0 -0
  85. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  86. data/vendor/local/lib/libmecab.a +0 -0
  87. data/vendor/local/lib/libmecab.dll.a +0 -0
  88. data/vendor/local/lib/libmecab.la +3 -3
  89. data/vendor/local/lib/libmsgpack.a +0 -0
  90. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  91. data/vendor/local/lib/libmsgpack.la +3 -3
  92. data/vendor/local/lib/libmsgpackc.a +0 -0
  93. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  94. data/vendor/local/lib/libmsgpackc.la +3 -3
  95. data/vendor/local/lib/libonig.a +0 -0
  96. data/vendor/local/lib/libonig.dll.a +0 -0
  97. data/vendor/local/lib/libonig.la +2 -2
  98. data/vendor/local/lib/libz.a +0 -0
  99. data/vendor/local/lib/libz.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  101. data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
  102. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  104. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  105. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  106. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  107. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  108. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  109. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  110. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  111. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  112. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  113. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
  114. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  115. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
  116. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  117. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  118. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  119. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  120. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
  121. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  122. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  123. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
  124. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
  125. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  127. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
  128. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
  129. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
  135. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
  137. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
  138. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  139. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  140. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  141. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
  142. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  143. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  144. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  145. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  146. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  147. data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
  148. data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
  149. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  150. data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
  151. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  152. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  153. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  154. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  155. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
  156. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  157. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  158. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  159. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  160. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  161. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
  162. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  163. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  164. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
  165. data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
  166. data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
  167. data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
  168. data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
  169. data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
  170. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
  171. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
  172. data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
  173. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
  174. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
  175. data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
  176. data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
  177. data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
  178. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  179. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
  180. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  181. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
  182. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
  183. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
  184. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
  185. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  186. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  187. data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
  188. data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
  212. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  213. data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
  214. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
  215. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
  216. data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
  217. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
  219. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
  220. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
  256. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
  257. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
  258. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
  259. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
  266. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
  267. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
  268. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
  269. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
  270. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
  281. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
  282. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
  283. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
  284. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
  285. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
  286. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
  287. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
  288. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
  289. data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
  290. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  291. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
  292. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
  293. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
  294. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
  295. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
  296. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
  297. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
  298. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
  299. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
  300. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
  301. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
  302. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  303. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  304. data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
  305. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
  306. data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
  307. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
  308. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
  309. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
  310. data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
  311. data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
  312. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
  313. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  314. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  315. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  316. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  317. data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
  318. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
  319. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
  320. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
  321. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  322. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
  323. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
  324. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
  325. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
  326. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
  327. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
  328. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
  329. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  330. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
  331. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  332. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
  333. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  334. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  335. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  336. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  337. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
  338. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  339. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  340. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
  341. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
  342. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
  343. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  344. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
  345. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
  346. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
  347. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  353. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
  354. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
  355. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  356. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  357. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  358. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
  359. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  360. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  361. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  362. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  363. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  364. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  365. data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
  366. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  367. data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
  368. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  369. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  370. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  371. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  372. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
  373. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  374. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  375. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  376. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  377. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
  380. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  381. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
  382. data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
  383. data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
  384. data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
  385. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
  386. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
  387. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
  388. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
  389. data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
  390. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
  391. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
  392. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
  393. data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
  394. data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
  395. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  396. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
  397. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  398. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
  399. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
  400. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
  401. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
  402. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  403. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  404. data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
  405. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
  406. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
  407. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
  408. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
  409. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
  410. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
  411. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
  412. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
  413. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
  414. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
  415. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
  416. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
  417. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
  418. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
  429. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  430. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
  431. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
  432. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
  433. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
  434. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  435. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
  436. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
  437. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
  438. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
  439. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
  440. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
  441. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
  442. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
  443. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
  444. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
  445. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
  446. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
  447. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
  448. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
  449. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
  450. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
  451. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
  452. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
  453. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
  454. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
  473. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
  474. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
  475. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
  476. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
  477. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
  478. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
  479. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  480. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
  481. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
  482. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
  483. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
  484. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
  485. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
  486. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
  487. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
  488. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
  489. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
  490. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
  491. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
  492. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
  493. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
  494. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
  495. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
  496. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
  497. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
  498. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
  499. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
  500. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
  501. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
  502. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
  503. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
  504. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
  505. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
  506. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
  507. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  508. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
  509. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
  510. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
  511. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
  512. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
  513. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
  514. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
  515. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
  516. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
  517. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
  518. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
  519. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  520. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  521. data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
  522. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
  523. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
  524. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
  525. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
  526. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
  527. data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
  528. data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
  529. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
  530. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  531. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  532. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  533. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  534. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
  535. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
  536. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
  537. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
  538. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
  539. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  540. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
  541. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
  542. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
  543. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
  544. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
  545. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
  546. data/vendor/local/share/groonga/html/admin/index.html +1 -1
  547. data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
  548. data/vendor/local/share/license/mruby/AUTHORS +11 -0
  549. data/vendor/local/share/license/mruby/README.md +32 -20
  550. data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
  551. data/vendor/local/share/man/man1/groonga.1 +930 -239
  552. metadata +104 -81
  553. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  554. data/vendor/local/bin/lz4 +0 -0
  555. data/vendor/local/bin/lz4c +0 -0
  556. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  557. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
  558. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
  559. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
  560. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -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.25. ruby_load &mdash; Groonga v4.0.8 documentation</title>
10
+ <title>7.3.28. ruby_load &mdash; Groonga v4.0.8-168-gae696d7 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.3. Command" href="../command.html" />
30
- <link rel="next" title="7.3.26. select" href="select.html" />
31
- <link rel="prev" title="7.3.24. ruby_eval" href="ruby_eval.html" />
30
+ <link rel="next" title="7.3.29. select" href="select.html" />
31
+ <link rel="prev" title="7.3.27. ruby_eval" href="ruby_eval.html" />
32
32
  </head>
33
- <body role="document">
33
+ <body>
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,19 +48,19 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related" role="navigation" aria-label="related navigation">
51
+ <div class="related">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="select.html" title="7.3.26. select"
58
+ <a href="select.html" title="7.3.29. select"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="ruby_eval.html" title="7.3.24. ruby_eval"
61
+ <a href="ruby_eval.html" title="7.3.27. ruby_eval"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -69,25 +69,25 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body" role="main">
72
+ <div class="body">
73
73
 
74
74
  <div class="section" id="ruby-load">
75
- <h1>7.3.25. <code class="docutils literal"><span class="pre">ruby_load</span></code><a class="headerlink" href="#ruby-load" title="Permalink to this headline">¶</a></h1>
75
+ <h1>7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt><a class="headerlink" href="#ruby-load" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
- <h2>7.3.25.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p><code class="docutils literal"><span class="pre">ruby_load</span></code> command loads specified Ruby script.</p>
77
+ <h2>7.3.28.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> command loads specified Ruby script.</p>
79
79
  </div>
80
80
  <div class="section" id="syntax">
81
- <h2>7.3.25.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
82
- <p><code class="docutils literal"><span class="pre">ruby_load</span></code> has one required parameter:</p>
81
+ <h2>7.3.28.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
82
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> has one required parameter:</p>
83
83
  <div class="highlight-none"><div class="highlight"><pre>ruby_load path
84
84
  </pre></div>
85
85
  </div>
86
86
  </div>
87
87
  <div class="section" id="usage">
88
- <h2>7.3.25.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
89
- <p>You can load any script file which mruby supports by calling <code class="docutils literal"><span class="pre">ruby_load</span></code>.</p>
90
- <p>Here is an example that just load <code class="docutils literal"><span class="pre">expression.rb</span></code> as Ruby script.</p>
88
+ <h2>7.3.28.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
89
+ <p>You can load any script file which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_load</span></tt>.</p>
90
+ <p>Here is an example that just load <tt class="docutils literal"><span class="pre">expression.rb</span></tt> as Ruby script.</p>
91
91
  <p>Execution example:</p>
92
92
  <div class="highlight-none"><div class="highlight"><pre>register ruby/load
93
93
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -95,36 +95,36 @@ ruby_load &quot;expression.rb&quot;
95
95
  # [[0, 1337566253.89858, 0.000355720520019531], {&quot;value&quot;: null}]
96
96
  </pre></div>
97
97
  </div>
98
- <p>Register <code class="docutils literal"><span class="pre">ruby/load</span></code> plugin to use <code class="docutils literal"><span class="pre">ruby_load</span></code> command in advance.</p>
99
- <p>Note that <code class="docutils literal"><span class="pre">ruby_load</span></code> is implemented as an experimental plugin,
98
+ <p>Register <tt class="docutils literal"><span class="pre">ruby/load</span></tt> plugin to use <tt class="docutils literal"><span class="pre">ruby_load</span></tt> command in advance.</p>
99
+ <p>Note that <tt class="docutils literal"><span class="pre">ruby_load</span></tt> is implemented as an experimental plugin,
100
100
  and the specification may be changed in the future.</p>
101
101
  </div>
102
102
  <div class="section" id="parameters">
103
- <h2>7.3.25.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
103
+ <h2>7.3.28.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
104
104
  <p>This section describes all parameters.</p>
105
105
  <div class="section" id="path">
106
- <h3>7.3.25.4.1. <code class="docutils literal"><span class="pre">path</span></code><a class="headerlink" href="#path" title="Permalink to this headline">¶</a></h3>
106
+ <h3>7.3.28.4.1. <tt class="docutils literal"><span class="pre">path</span></tt><a class="headerlink" href="#path" title="Permalink to this headline">¶</a></h3>
107
107
  <p>It specifies the Ruby script path which you want to load.</p>
108
108
  </div>
109
109
  </div>
110
110
  <div class="section" id="return-value">
111
- <h2>7.3.25.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
112
- <p><code class="docutils literal"><span class="pre">ruby_load</span></code> returns the loaded result with metadata such as
111
+ <h2>7.3.28.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
112
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> returns the loaded result with metadata such as
113
113
  exception information (Including metadata isn't implemented yet):</p>
114
114
  <div class="highlight-none"><div class="highlight"><pre>[HEADER, {&quot;value&quot;: LOADED_VALUE}]
115
115
  </pre></div>
116
116
  </div>
117
- <p><code class="docutils literal"><span class="pre">HEADER</span></code></p>
117
+ <p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
118
118
  <blockquote>
119
- <div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <code class="docutils literal"><span class="pre">HEADER</span></code>.</div></blockquote>
120
- <p><code class="docutils literal"><span class="pre">LOADED_VALUE</span></code></p>
119
+ <div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
120
+ <p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt></p>
121
121
  <blockquote>
122
- <div><p><code class="docutils literal"><span class="pre">LOADED_VALUE</span></code> is the loaded value of ruby script.</p>
123
- <p><code class="docutils literal"><span class="pre">ruby_load</span></code> just return <code class="docutils literal"><span class="pre">null</span></code> as <code class="docutils literal"><span class="pre">LOADED_VALUE</span></code> for now, it will be supported in the future.</p>
122
+ <div><p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> is the loaded value of ruby script.</p>
123
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> just return <tt class="docutils literal"><span class="pre">null</span></tt> as <tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> for now, it will be supported in the future.</p>
124
124
  </div></blockquote>
125
125
  </div>
126
126
  <div class="section" id="see-also">
127
- <h2>7.3.25.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
127
+ <h2>7.3.28.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
128
128
  <p><a class="reference internal" href="ruby_eval.html"><em>ruby_eval</em></a></p>
129
129
  </div>
130
130
  </div>
@@ -133,38 +133,36 @@ exception information (Including metadata isn't implemented yet):</p>
133
133
  </div>
134
134
  </div>
135
135
  </div>
136
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
136
+ <div class="sphinxsidebar">
137
137
  <div class="sphinxsidebarwrapper">
138
138
  <h3><a href="../../index.html">Table Of Contents</a></h3>
139
139
  <ul>
140
- <li><a class="reference internal" href="#">7.3.25. <code class="docutils literal"><span class="pre">ruby_load</span></code></a><ul>
141
- <li><a class="reference internal" href="#summary">7.3.25.1. Summary</a></li>
142
- <li><a class="reference internal" href="#syntax">7.3.25.2. Syntax</a></li>
143
- <li><a class="reference internal" href="#usage">7.3.25.3. Usage</a></li>
144
- <li><a class="reference internal" href="#parameters">7.3.25.4. Parameters</a><ul>
145
- <li><a class="reference internal" href="#path">7.3.25.4.1. <code class="docutils literal"><span class="pre">path</span></code></a></li>
140
+ <li><a class="reference internal" href="#">7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a><ul>
141
+ <li><a class="reference internal" href="#summary">7.3.28.1. Summary</a></li>
142
+ <li><a class="reference internal" href="#syntax">7.3.28.2. Syntax</a></li>
143
+ <li><a class="reference internal" href="#usage">7.3.28.3. Usage</a></li>
144
+ <li><a class="reference internal" href="#parameters">7.3.28.4. Parameters</a><ul>
145
+ <li><a class="reference internal" href="#path">7.3.28.4.1. <tt class="docutils literal"><span class="pre">path</span></tt></a></li>
146
146
  </ul>
147
147
  </li>
148
- <li><a class="reference internal" href="#return-value">7.3.25.5. Return value</a></li>
149
- <li><a class="reference internal" href="#see-also">7.3.25.6. See also</a></li>
148
+ <li><a class="reference internal" href="#return-value">7.3.28.5. Return value</a></li>
149
+ <li><a class="reference internal" href="#see-also">7.3.28.6. See also</a></li>
150
150
  </ul>
151
151
  </li>
152
152
  </ul>
153
153
 
154
154
  <h4>Previous topic</h4>
155
155
  <p class="topless"><a href="ruby_eval.html"
156
- title="previous chapter">7.3.24. <code class="docutils literal"><span class="pre">ruby_eval</span></code></a></p>
156
+ title="previous chapter">7.3.27. <tt class="docutils literal"><span class="pre">ruby_eval</span></tt></a></p>
157
157
  <h4>Next topic</h4>
158
158
  <p class="topless"><a href="select.html"
159
- title="next chapter">7.3.26. <code class="docutils literal"><span class="pre">select</span></code></a></p>
160
- <div role="note" aria-label="source link">
161
- <h3>This Page</h3>
162
- <ul class="this-page-menu">
163
- <li><a href="../../_sources/reference/commands/ruby_load.txt"
164
- rel="nofollow">Show Source</a></li>
165
- </ul>
166
- </div>
167
- <div id="searchbox" style="display: none" role="search">
159
+ title="next chapter">7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
160
+ <h3>This Page</h3>
161
+ <ul class="this-page-menu">
162
+ <li><a href="../../_sources/reference/commands/ruby_load.txt"
163
+ rel="nofollow">Show Source</a></li>
164
+ </ul>
165
+ <div id="searchbox" style="display: none">
168
166
  <h3>Quick search</h3>
169
167
  <form class="search" action="../../search.html" method="get">
170
168
  <input type="text" name="q" />
@@ -181,24 +179,24 @@ exception information (Including metadata isn't implemented yet):</p>
181
179
  </div>
182
180
  <div class="clearer"></div>
183
181
  </div>
184
- <div class="related" role="navigation" aria-label="related navigation">
182
+ <div class="related">
185
183
  <h3>Navigation</h3>
186
184
  <ul>
187
185
  <li class="right" style="margin-right: 10px">
188
186
  <a href="../../genindex.html" title="General Index"
189
187
  >index</a></li>
190
188
  <li class="right" >
191
- <a href="select.html" title="7.3.26. select"
189
+ <a href="select.html" title="7.3.29. select"
192
190
  >next</a> |</li>
193
191
  <li class="right" >
194
- <a href="ruby_eval.html" title="7.3.24. ruby_eval"
192
+ <a href="ruby_eval.html" title="7.3.27. ruby_eval"
195
193
  >previous</a> |</li>
196
- <li><a href="../../index.html">Groonga v4.0.8 documentation</a> &raquo;</li>
194
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
197
195
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
198
196
  <li><a href="../command.html" >7.3. Command</a> &raquo;</li>
199
197
  </ul>
200
198
  </div>
201
- <div class="footer" role="contentinfo">
199
+ <div class="footer">
202
200
  &copy; Copyright 2009-2014, Brazil, Inc.
203
201
  </div>
204
202
  </body>
@@ -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.26. select &mdash; Groonga v4.0.8 documentation</title>
10
+ <title>7.3.29. select &mdash; Groonga v4.0.8-168-gae696d7 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.3. Command" href="../command.html" />
30
- <link rel="next" title="7.3.27. shutdown" href="shutdown.html" />
31
- <link rel="prev" title="7.3.25. ruby_load" href="ruby_load.html" />
30
+ <link rel="next" title="7.3.30. shutdown" href="shutdown.html" />
31
+ <link rel="prev" title="7.3.28. ruby_load" href="ruby_load.html" />
32
32
  </head>
33
- <body role="document">
33
+ <body>
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,19 +48,19 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related" role="navigation" aria-label="related navigation">
51
+ <div class="related">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="shutdown.html" title="7.3.27. shutdown"
58
+ <a href="shutdown.html" title="7.3.30. shutdown"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="ruby_load.html" title="7.3.25. ruby_load"
61
+ <a href="ruby_load.html" title="7.3.28. ruby_load"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">7.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -69,21 +69,21 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body" role="main">
72
+ <div class="body">
73
73
 
74
74
  <div class="section" id="select">
75
- <h1>7.3.26. <code class="docutils literal"><span class="pre">select</span></code><a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
75
+ <h1>7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt><a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
- <h2>7.3.26.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p><code class="docutils literal"><span class="pre">select</span></code> searches records that are matched to specified conditions
77
+ <h2>7.3.29.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> searches records that are matched to specified conditions
79
79
  from a table and then outputs them.</p>
80
- <p><code class="docutils literal"><span class="pre">select</span></code> is the most important command in groonga. You need to
81
- understand <code class="docutils literal"><span class="pre">select</span></code> to use the full power of groonga.</p>
80
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> is the most important command in groonga. You need to
81
+ understand <tt class="docutils literal"><span class="pre">select</span></tt> to use the full power of groonga.</p>
82
82
  </div>
83
83
  <div class="section" id="syntax">
84
- <h2>7.3.26.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
85
- <p><code class="docutils literal"><span class="pre">select</span></code> has many parameters. The required parameter is only
86
- <code class="docutils literal"><span class="pre">table</span></code> and others are optional:</p>
84
+ <h2>7.3.29.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
85
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> has many parameters. The required parameter is only
86
+ <tt class="docutils literal"><span class="pre">table</span></tt> and others are optional:</p>
87
87
  <div class="highlight-none"><div class="highlight"><pre>select table
88
88
  [match_columns=null]
89
89
  [query=null]
@@ -108,8 +108,8 @@ understand <code class="docutils literal"><span class="pre">select</span></code>
108
108
  </div>
109
109
  </div>
110
110
  <div class="section" id="usage">
111
- <h2>7.3.26.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
112
- <p>Let's learn about <code class="docutils literal"><span class="pre">select</span></code> usage with examples. This section shows
111
+ <h2>7.3.29.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
112
+ <p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
113
113
  many popular usages.</p>
114
114
  <p>Here are a schema definition and sample data to show usage.</p>
115
115
  <p>Execution example:</p>
@@ -146,18 +146,18 @@ load --table Entries
146
146
  # [[0, 1337566253.89858, 0.000355720520019531], 5]
147
147
  </pre></div>
148
148
  </div>
149
- <p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
149
+ <p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
150
150
  content and the number of likes for the entry. Title is key of
151
- <code class="docutils literal"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal"><span class="pre">Entries.content</span></code> column. The
152
- number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
153
- <p><code class="docutils literal"><span class="pre">Entries._key</span></code> column and <code class="docutils literal"><span class="pre">Entries.content</span></code> column are indexed
154
- using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal"><span class="pre">Entries._key</span></code> and
155
- <code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
151
+ <tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
152
+ number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
153
+ <p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
154
+ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
155
+ <tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
156
156
  <p>OK. The schema and data for examples are ready.</p>
157
157
  <div class="section" id="simple-usage">
158
- <h3>7.3.26.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
158
+ <h3>7.3.29.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
159
159
  <p>Here is the most simple usage with the above schema and data. It outputs
160
- all records in <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
160
+ all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
161
161
  <p>Execution example:</p>
162
162
  <div class="highlight-none"><div class="highlight"><pre>select Entries
163
163
  # [
@@ -227,29 +227,29 @@ all records in <code class="docutils literal"><span class="pre">Entries</span></
227
227
  <p>Why does the command output all records? There are two reasons. The
228
228
  first reason is that the command doesn't specify any search
229
229
  conditions. No search condition means all records are matched. The
230
- second reason is that the number of all records is 5. <code class="docutils literal"><span class="pre">select</span></code>
230
+ second reason is that the number of all records is 5. <tt class="docutils literal"><span class="pre">select</span></tt>
231
231
  command outputs 10 records at a maximum by default. There are only 5
232
232
  records. It is less than 10. So the command outputs all records.</p>
233
233
  </div>
234
234
  <div class="section" id="search-conditions">
235
- <h3>7.3.26.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
236
- <p>Search conditions are specified by <code class="docutils literal"><span class="pre">query</span></code> or <code class="docutils literal"><span class="pre">filter</span></code>. You can
237
- also specify both <code class="docutils literal"><span class="pre">query</span></code> and <code class="docutils literal"><span class="pre">filter</span></code>. It means that selected
238
- records must be matched against both <code class="docutils literal"><span class="pre">query</span></code> and <code class="docutils literal"><span class="pre">filter</span></code>.</p>
235
+ <h3>7.3.29.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
236
+ <p>Search conditions are specified by <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. You can
237
+ also specify both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. It means that selected
238
+ records must be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>.</p>
239
239
  <div class="section" id="search-condition-query">
240
- <h4>7.3.26.3.2.1. Search condition: <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#search-condition-query" title="Permalink to this headline">¶</a></h4>
241
- <p><code class="docutils literal"><span class="pre">query</span></code> is designed for search box in Web page. Imagine a search box
242
- in google.com. You specify search conditions for <code class="docutils literal"><span class="pre">query</span></code> as space
243
- separated keywords. For example, <code class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></code> means a matched
244
- record should contain two words, <code class="docutils literal"><span class="pre">search</span></code> and <code class="docutils literal"><span class="pre">engine</span></code>.</p>
245
- <p>Normally, <code class="docutils literal"><span class="pre">query</span></code> parameter is used for specifying fulltext search
240
+ <h4>7.3.29.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="Permalink to this headline">¶</a></h4>
241
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
242
+ in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
243
+ separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
244
+ record should contain two words, <tt class="docutils literal"><span class="pre">search</span></tt> and <tt class="docutils literal"><span class="pre">engine</span></tt>.</p>
245
+ <p>Normally, <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
246
246
  conditions. It can be used for non fulltext search conditions but
247
- <code class="docutils literal"><span class="pre">filter</span></code> is used for the propose.</p>
248
- <p><code class="docutils literal"><span class="pre">query</span></code> parameter is used with <code class="docutils literal"><span class="pre">match_columns</span></code> parameter when
249
- <code class="docutils literal"><span class="pre">query</span></code> parameter is used for specifying fulltext search
250
- conditions. <code class="docutils literal"><span class="pre">match_columns</span></code> specifies which columnes and indexes are
251
- matched against <code class="docutils literal"><span class="pre">query</span></code>.</p>
252
- <p>Here is a simple <code class="docutils literal"><span class="pre">query</span></code> usage example.</p>
247
+ <tt class="docutils literal"><span class="pre">filter</span></tt> is used for the propose.</p>
248
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> parameter is used with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter when
249
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
250
+ conditions. <tt class="docutils literal"><span class="pre">match_columns</span></tt> specifies which columnes and indexes are
251
+ matched against <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
252
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">query</span></tt> usage example.</p>
253
253
  <p>Execution example:</p>
254
254
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
255
255
  # [
@@ -298,16 +298,16 @@ matched against <code class="docutils literal"><span class="pre">query</span></c
298
298
  # ]
299
299
  </pre></div>
300
300
  </div>
301
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code>
302
- in <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
303
- <p><code class="docutils literal"><span class="pre">query</span></code> has query syntax but its deatils aren't described here. See
301
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
302
+ in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
303
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> has query syntax but its deatils aren't described here. See
304
304
  <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
305
305
  </div>
306
306
  <div class="section" id="search-condition-filter">
307
- <h4>7.3.26.3.2.2. Search condition: <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#search-condition-filter" title="Permalink to this headline">¶</a></h4>
308
- <p><code class="docutils literal"><span class="pre">filter</span></code> is designed for complex search conditions. You specify
309
- search conditions for <code class="docutils literal"><span class="pre">filter</span></code> as ECMAScript like syntax.</p>
310
- <p>Here is a simple <code class="docutils literal"><span class="pre">filter</span></code> usage example.</p>
307
+ <h4>7.3.29.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="Permalink to this headline">¶</a></h4>
308
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
309
+ search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
310
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
311
311
  <p>Execution example:</p>
312
312
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; _key == &quot;Groonga&quot;&#39;
313
313
  # [
@@ -350,20 +350,20 @@ search conditions for <code class="docutils literal"><span class="pre">filter</s
350
350
  # ]
351
351
  </pre></div>
352
352
  </div>
353
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code>
354
- in <code class="docutils literal"><span class="pre">content</span></code> column value and has <code class="docutils literal"><span class="pre">Groonga</span></code> as <code class="docutils literal"><span class="pre">_key</span></code> from
355
- <code class="docutils literal"><span class="pre">Entries</span></code> table. There are three operators in the command, <code class="docutils literal"><span class="pre">&#64;</span></code>,
356
- <code class="docutils literal"><span class="pre">&amp;&amp;</span></code> and <code class="docutils literal"><span class="pre">==</span></code>. <code class="docutils literal"><span class="pre">&#64;</span></code> is fulltext search operator. <code class="docutils literal"><span class="pre">&amp;&amp;</span></code> and
357
- <code class="docutils literal"><span class="pre">==</span></code> are the same as ECMAScript. <code class="docutils literal"><span class="pre">&amp;&amp;</span></code> is logical AND operator and
358
- <code class="docutils literal"><span class="pre">==</span></code> is equality operator.</p>
359
- <p><code class="docutils literal"><span class="pre">filter</span></code> has more operators and syntax like grouping by <code class="docutils literal"><span class="pre">(...)</span></code>
353
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
354
+ in <tt class="docutils literal"><span class="pre">content</span></tt> column value and has <tt class="docutils literal"><span class="pre">Groonga</span></tt> as <tt class="docutils literal"><span class="pre">_key</span></tt> from
355
+ <tt class="docutils literal"><span class="pre">Entries</span></tt> table. There are three operators in the command, <tt class="docutils literal"><span class="pre">&#64;</span></tt>,
356
+ <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> and <tt class="docutils literal"><span class="pre">==</span></tt>. <tt class="docutils literal"><span class="pre">&#64;</span></tt> is fulltext search operator. <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> and
357
+ <tt class="docutils literal"><span class="pre">==</span></tt> are the same as ECMAScript. <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> is logical AND operator and
358
+ <tt class="docutils literal"><span class="pre">==</span></tt> is equality operator.</p>
359
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> has more operators and syntax like grouping by <tt class="docutils literal"><span class="pre">(...)</span></tt>
360
360
  its deatils aren't described here. See <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a> for
361
361
  datails.</p>
362
362
  </div>
363
363
  </div>
364
364
  <div class="section" id="paging">
365
- <h3>7.3.26.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
366
- <p>You can specify range of outputted records by <code class="docutils literal"><span class="pre">offset</span></code> and <code class="docutils literal"><span class="pre">limit</span></code>.
365
+ <h3>7.3.29.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
366
+ <p>You can specify range of outputted records by <tt class="docutils literal"><span class="pre">offset</span></tt> and <tt class="docutils literal"><span class="pre">limit</span></tt>.
367
367
  Here is an example to output only the 2nd record.</p>
368
368
  <p>Execution example:</p>
369
369
  <div class="highlight-none"><div class="highlight"><pre>select Entries --offset 1 --limit 1
@@ -407,15 +407,15 @@ Here is an example to output only the 2nd record.</p>
407
407
  # ]
408
408
  </pre></div>
409
409
  </div>
410
- <p><code class="docutils literal"><span class="pre">offset</span></code> is zero-origin. <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></code> means output range is
410
+ <p><tt class="docutils literal"><span class="pre">offset</span></tt> is zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is
411
411
  started from the 2nd record.</p>
412
- <p><code class="docutils literal"><span class="pre">limit</span></code> specifies the max number of output records. <code class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></code>
412
+ <p><tt class="docutils literal"><span class="pre">limit</span></tt> specifies the max number of output records. <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt>
413
413
  means the number of output records is 1 at a maximium. If no records
414
- are matched, <code class="docutils literal"><span class="pre">select</span></code> command outputs no records.</p>
414
+ are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
415
415
  </div>
416
416
  <div class="section" id="the-total-number-of-records">
417
- <h3>7.3.26.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
418
- <p>You can use <code class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></code> to retrieve the total number of recrods
417
+ <h3>7.3.29.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
418
+ <p>You can use <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> to retrieve the total number of recrods
419
419
  without any contents of records.</p>
420
420
  <p>Execution example:</p>
421
421
  <div class="highlight-none"><div class="highlight"><pre>select Entries --limit 0
@@ -453,19 +453,19 @@ without any contents of records.</p>
453
453
  # ]
454
454
  </pre></div>
455
455
  </div>
456
- <p><code class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></code> is also useful for retrieving only the number of matched
456
+ <p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> is also useful for retrieving only the number of matched
457
457
  records.</p>
458
458
  </div>
459
459
  </div>
460
460
  <div class="section" id="parameters">
461
- <h2>7.3.26.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
461
+ <h2>7.3.29.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
462
462
  <p>This section describes all parameters. Parameters are categorized.</p>
463
463
  <div class="section" id="required-parameter">
464
- <h3>7.3.26.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
465
- <p>There is a required parameter, <code class="docutils literal"><span class="pre">table</span></code>.</p>
464
+ <h3>7.3.29.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
465
+ <p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
466
466
  <div class="section" id="table">
467
- <span id="select-table"></span><h4>7.3.26.4.1.1. <code class="docutils literal"><span class="pre">table</span></code><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
468
- <p>It specifies a table to be searched. <code class="docutils literal"><span class="pre">table</span></code> must be specified.</p>
467
+ <span id="select-table"></span><h4>7.3.29.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
468
+ <p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
469
469
  <p>If nonexistent table is specified, an error is returned.</p>
470
470
  <p>Execution example:</p>
471
471
  <div class="highlight-none"><div class="highlight"><pre>select Nonexistent
@@ -479,7 +479,7 @@ records.</p>
479
479
  # [
480
480
  # &quot;grn_select&quot;,
481
481
  # &quot;proc.c&quot;,
482
- # 778
482
+ # 1108
483
483
  # ]
484
484
  # ]
485
485
  # ]
@@ -489,25 +489,25 @@ records.</p>
489
489
  </div>
490
490
  </div>
491
491
  <div class="section" id="search-related-parameters">
492
- <h3>7.3.26.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
493
- <p>There are search related parameters. Typically, <code class="docutils literal"><span class="pre">match_columns</span></code> and
494
- <code class="docutils literal"><span class="pre">query</span></code> parameters are used for implementing a search
495
- box. <code class="docutils literal"><span class="pre">filter</span></code> parameters is used for implementing complex search
492
+ <h3>7.3.29.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
493
+ <p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
494
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
495
+ box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
496
496
  feature.</p>
497
- <p>If both <code class="docutils literal"><span class="pre">query</span></code> and <code class="docutils literal"><span class="pre">filter</span></code> are specified, selected records must
498
- be matched against both <code class="docutils literal"><span class="pre">query</span></code> and <code class="docutils literal"><span class="pre">filter</span></code>. If both <code class="docutils literal"><span class="pre">query</span></code>
499
- and <code class="docutils literal"><span class="pre">filter</span></code> aren't specified, all records are selected.</p>
497
+ <p>If both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt> are specified, selected records must
498
+ be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. If both <tt class="docutils literal"><span class="pre">query</span></tt>
499
+ and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
500
500
  <div class="section" id="match-columns">
501
- <span id="select-match-columns"></span><h4>7.3.26.4.2.1. <code class="docutils literal"><span class="pre">match_columns</span></code><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
501
+ <span id="select-match-columns"></span><h4>7.3.29.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
502
502
  <p>It specifies the default target column for fulltext search by
503
- <code class="docutils literal"><span class="pre">query</span></code> parameter value. A target column for fulltext search can be
504
- specified in <code class="docutils literal"><span class="pre">query</span></code> parameter. The difference between
505
- <code class="docutils literal"><span class="pre">match_columns</span></code> and <code class="docutils literal"><span class="pre">query</span></code> is whether weight is supported or
506
- not. <code class="docutils literal"><span class="pre">match_columns</span></code> supports weight but <code class="docutils literal"><span class="pre">query</span></code> doesn't.</p>
503
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
504
+ specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
505
+ <tt class="docutils literal"><span class="pre">match_columns</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> is whether weight is supported or
506
+ not. <tt class="docutils literal"><span class="pre">match_columns</span></tt> supports weight but <tt class="docutils literal"><span class="pre">query</span></tt> doesn't.</p>
507
507
  <p>Weight is relative importance of target column. A higher weight target
508
508
  column gets more hit score rather than a lower weight target column
509
509
  when a record is matched by fulltext search. The default weight is 1.</p>
510
- <p>Here is a simple <code class="docutils literal"><span class="pre">match_columns</span></code> usage example.</p>
510
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">match_columns</span></tt> usage example.</p>
511
511
  <p>Execution example:</p>
512
512
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --output_columns &#39;_key, _score&#39;
513
513
  # [
@@ -544,18 +544,18 @@ when a record is matched by fulltext search. The default weight is 1.</p>
544
544
  # ]
545
545
  </pre></div>
546
546
  </div>
547
- <p><code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></code> means the default target column for
548
- fulltext search is <code class="docutils literal"><span class="pre">content</span></code> column and its weight
549
- is 1. <code class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></code> means that the <code class="docutils literal"><span class="pre">select</span></code>
550
- command outputs <code class="docutils literal"><span class="pre">_key</span></code> value and <code class="docutils literal"><span class="pre">_score</span></code> value for matched
547
+ <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> means the default target column for
548
+ fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight
549
+ is 1. <tt class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></tt> means that the <tt class="docutils literal"><span class="pre">select</span></tt>
550
+ command outputs <tt class="docutils literal"><span class="pre">_key</span></tt> value and <tt class="docutils literal"><span class="pre">_score</span></tt> value for matched
551
551
  records.</p>
552
- <p>Pay attention to <code class="docutils literal"><span class="pre">_score</span></code> value. <code class="docutils literal"><span class="pre">_score</span></code> value is the number of
553
- matched counts against <code class="docutils literal"><span class="pre">query</span></code> parameter value. In the example,
554
- <code class="docutils literal"><span class="pre">query</span></code> parameter value is <code class="docutils literal"><span class="pre">fast</span></code>. The fact that <code class="docutils literal"><span class="pre">_score</span></code> value
555
- is 1 means that <code class="docutils literal"><span class="pre">fast</span></code> appers in <code class="docutils literal"><span class="pre">content</span></code> column only once. The
556
- fact that <code class="docutils literal"><span class="pre">_score</span></code> value is 2 means that <code class="docutils literal"><span class="pre">fast</span></code> appears in
557
- <code class="docutils literal"><span class="pre">content</span></code> column twice.</p>
558
- <p>To specify weight, <code class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></code> syntax is used. Here is a
552
+ <p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is the number of
553
+ matched counts against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. In the example,
554
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter value is <tt class="docutils literal"><span class="pre">fast</span></tt>. The fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value
555
+ is 1 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appers in <tt class="docutils literal"><span class="pre">content</span></tt> column only once. The
556
+ fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value is 2 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appears in
557
+ <tt class="docutils literal"><span class="pre">content</span></tt> column twice.</p>
558
+ <p>To specify weight, <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></tt> syntax is used. Here is a
559
559
  weight usage example.</p>
560
560
  <p>Execution example:</p>
561
561
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns &#39;content * 2&#39; --query fast --output_columns &#39;_key, _score&#39;
@@ -593,17 +593,17 @@ weight usage example.</p>
593
593
  # ]
594
594
  </pre></div>
595
595
  </div>
596
- <p><code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'content</span> <span class="pre">*</span> <span class="pre">2'</span></code> means the default target column for
597
- fulltext search is <code class="docutils literal"><span class="pre">content</span></code> column and its weight is 2.</p>
598
- <p>Pay attention to <code class="docutils literal"><span class="pre">_score</span></code> value. <code class="docutils literal"><span class="pre">_score</span></code> value is doubled because
596
+ <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'content</span> <span class="pre">*</span> <span class="pre">2'</span></tt> means the default target column for
597
+ fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight is 2.</p>
598
+ <p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is doubled because
599
599
  weight is 2.</p>
600
600
  <p>You can specify one or more columns as the default target columns for
601
601
  fulltext search. If one or more columns are specified, fulltext search
602
602
  is done for all columns and scores are accumulated. If one of the
603
- columns is matched against <code class="docutils literal"><span class="pre">query</span></code> parameter value, the record is
603
+ columns is matched against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value, the record is
604
604
  treated as matched.</p>
605
- <p>To specify one or more columns, <code class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span>
606
- <span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></code> syntax is used. <code class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></code> can be omitted. If it is
605
+ <p>To specify one or more columns, <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span>
606
+ <span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></tt> syntax is used. <tt class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></tt> can be omitted. If it is
607
607
  omitted, 1 is used for weight. Here is a one or more columns usage
608
608
  example.</p>
609
609
  <p>Execution example:</p>
@@ -638,23 +638,23 @@ example.</p>
638
638
  # ]
639
639
  </pre></div>
640
640
  </div>
641
- <p><code class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'_key</span> <span class="pre">*</span> <span class="pre">10</span> <span class="pre">||</span> <span class="pre">content'</span></code> means the default target
642
- columns for fulltext search are <code class="docutils literal"><span class="pre">_key</span></code> and <code class="docutils literal"><span class="pre">content</span></code> columns and
643
- <code class="docutils literal"><span class="pre">_key</span></code> column's weight is 10 and <code class="docutils literal"><span class="pre">content</span></code> column's weight
644
- is 1. This weight allocation means <code class="docutils literal"><span class="pre">_key</span></code> column value is more
645
- important rather than <code class="docutils literal"><span class="pre">content</span></code> column value. In this example, title
641
+ <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'_key</span> <span class="pre">*</span> <span class="pre">10</span> <span class="pre">||</span> <span class="pre">content'</span></tt> means the default target
642
+ columns for fulltext search are <tt class="docutils literal"><span class="pre">_key</span></tt> and <tt class="docutils literal"><span class="pre">content</span></tt> columns and
643
+ <tt class="docutils literal"><span class="pre">_key</span></tt> column's weight is 10 and <tt class="docutils literal"><span class="pre">content</span></tt> column's weight
644
+ is 1. This weight allocation means <tt class="docutils literal"><span class="pre">_key</span></tt> column value is more
645
+ important rather than <tt class="docutils literal"><span class="pre">content</span></tt> column value. In this example, title
646
646
  of blog entry is more important rather thatn content of blog entry.</p>
647
647
  </div>
648
648
  <div class="section" id="query">
649
- <span id="select-query"></span><h4>7.3.26.4.2.2. <code class="docutils literal"><span class="pre">query</span></code><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
649
+ <span id="select-query"></span><h4>7.3.29.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
650
650
  <p>It specifies the query text. Normally, it is used for fulltext search
651
- with <code class="docutils literal"><span class="pre">match_columns</span></code> parameter. <code class="docutils literal"><span class="pre">query</span></code> parameter is designed for
651
+ with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter. <tt class="docutils literal"><span class="pre">query</span></tt> parameter is designed for
652
652
  a fulltext search form in a Web page. A query text should be formatted
653
653
  in <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>. The syntax is similar to common search
654
- form like Google's search form. For example, <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></code> means
655
- that groonga searches records that contain both <code class="docutils literal"><span class="pre">word1</span></code> and
656
- <code class="docutils literal"><span class="pre">word2</span></code>. <code class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></code> means that groogna searches records that
657
- contain either <code class="docutils literal"><span class="pre">word1</span></code> or <code class="docutils literal"><span class="pre">word2</span></code>.</p>
654
+ form like Google's search form. For example, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means
655
+ that groonga searches records that contain both <tt class="docutils literal"><span class="pre">word1</span></tt> and
656
+ <tt class="docutils literal"><span class="pre">word2</span></tt>. <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></tt> means that groogna searches records that
657
+ contain either <tt class="docutils literal"><span class="pre">word1</span></tt> or <tt class="docutils literal"><span class="pre">word2</span></tt>.</p>
658
658
  <p>Here is a simple logical and search example.</p>
659
659
  <p>Execution example:</p>
660
660
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query &quot;fast groonga&quot;
@@ -698,8 +698,8 @@ contain either <code class="docutils literal"><span class="pre">word1</span></co
698
698
  # ]
699
699
  </pre></div>
700
700
  </div>
701
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain two words
702
- <code class="docutils literal"><span class="pre">fast</span></code> and <code class="docutils literal"><span class="pre">groonga</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code>
701
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain two words
702
+ <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt class="docutils literal"><span class="pre">groonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt>
703
703
  table.</p>
704
704
  <p>Here is a simple logical or search example.</p>
705
705
  <p>Execution example:</p>
@@ -750,14 +750,14 @@ table.</p>
750
750
  # ]
751
751
  </pre></div>
752
752
  </div>
753
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain one of two words
754
- <code class="docutils literal"><span class="pre">groonga</span></code> or <code class="docutils literal"><span class="pre">mroonga</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column value from
755
- <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
753
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain one of two words
754
+ <tt class="docutils literal"><span class="pre">groonga</span></tt> or <tt class="docutils literal"><span class="pre">mroonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from
755
+ <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
756
756
  <p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other syntax.</p>
757
757
  <p>It can be used for not only fulltext search but also other
758
- conditions. For example, <code class="docutils literal"><span class="pre">column:value</span></code> means the value of
759
- <code class="docutils literal"><span class="pre">column</span></code> column is equal to <code class="docutils literal"><span class="pre">value</span></code>. <code class="docutils literal"><span class="pre">column:&lt;value</span></code> means the
760
- value of <code class="docutils literal"><span class="pre">column</span></code> column is less than <code class="docutils literal"><span class="pre">value</span></code>.</p>
758
+ conditions. For example, <tt class="docutils literal"><span class="pre">column:value</span></tt> means the value of
759
+ <tt class="docutils literal"><span class="pre">column</span></tt> column is equal to <tt class="docutils literal"><span class="pre">value</span></tt>. <tt class="docutils literal"><span class="pre">column:&lt;value</span></tt> means the
760
+ value of <tt class="docutils literal"><span class="pre">column</span></tt> column is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
761
761
  <p>Here is a simple equality operator search example.</p>
762
762
  <p>Execution example:</p>
763
763
  <div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
@@ -801,8 +801,8 @@ value of <code class="docutils literal"><span class="pre">column</span></code> c
801
801
  # ]
802
802
  </pre></div>
803
803
  </div>
804
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is
805
- <code class="docutils literal"><span class="pre">Groonga</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
804
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
805
+ <tt class="docutils literal"><span class="pre">Groonga</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
806
806
  <p>Here is a simple less than operator search example.</p>
807
807
  <p>Execution example:</p>
808
808
  <div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:&lt;11
@@ -864,23 +864,23 @@ value of <code class="docutils literal"><span class="pre">column</span></code> c
864
864
  # ]
865
865
  </pre></div>
866
866
  </div>
867
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value
868
- is less than <code class="docutils literal"><span class="pre">11</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
867
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
868
+ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
869
869
  <p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other operations.</p>
870
870
  </div>
871
871
  <div class="section" id="filter">
872
- <span id="select-filter"></span><h4>7.3.26.4.2.3. <code class="docutils literal"><span class="pre">filter</span></code><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
872
+ <span id="select-filter"></span><h4>7.3.29.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
873
873
  <p>It specifies the filter text. Normally, it is used for complex search
874
- conditions. <code class="docutils literal"><span class="pre">filter</span></code> can be used with <code class="docutils literal"><span class="pre">query</span></code> parameter. If both
875
- <code class="docutils literal"><span class="pre">filter</span></code> and <code class="docutils literal"><span class="pre">query</span></code> are specified, there are conbined with
874
+ conditions. <tt class="docutils literal"><span class="pre">filter</span></tt> can be used with <tt class="docutils literal"><span class="pre">query</span></tt> parameter. If both
875
+ <tt class="docutils literal"><span class="pre">filter</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> are specified, there are conbined with
876
876
  logical and. It means that matched records should be matched against
877
- both <code class="docutils literal"><span class="pre">filter</span></code> and <code class="docutils literal"><span class="pre">query</span></code>.</p>
878
- <p><code class="docutils literal"><span class="pre">filter</span></code> parameter is designed for complex conditions. A filter text
877
+ both <tt class="docutils literal"><span class="pre">filter</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
878
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> parameter is designed for complex conditions. A filter text
879
879
  should be formated in <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. The syntax is
880
- similar to ECMAScript. For example, <code class="docutils literal"><span class="pre">column</span> <span class="pre">==</span> <span class="pre">&quot;value&quot;</span></code> means that
881
- the value of <code class="docutils literal"><span class="pre">column</span></code> column is equal to <code class="docutils literal"><span class="pre">&quot;value&quot;</span></code>. <code class="docutils literal"><span class="pre">column</span> <span class="pre">&lt;</span>
882
- <span class="pre">value</span></code> means that the value of <code class="docutils literal"><span class="pre">column</span></code> column is less than
883
- <code class="docutils literal"><span class="pre">value</span></code>.</p>
880
+ similar to ECMAScript. For example, <tt class="docutils literal"><span class="pre">column</span> <span class="pre">==</span> <span class="pre">&quot;value&quot;</span></tt> means that
881
+ the value of <tt class="docutils literal"><span class="pre">column</span></tt> column is equal to <tt class="docutils literal"><span class="pre">&quot;value&quot;</span></tt>. <tt class="docutils literal"><span class="pre">column</span> <span class="pre">&lt;</span>
882
+ <span class="pre">value</span></tt> means that the value of <tt class="docutils literal"><span class="pre">column</span></tt> column is less than
883
+ <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
884
884
  <p>Here is a simple equality operator search example.</p>
885
885
  <p>Execution example:</p>
886
886
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;_key == &quot;Groonga&quot;&#39;
@@ -924,8 +924,8 @@ the value of <code class="docutils literal"><span class="pre">column</span></cod
924
924
  # ]
925
925
  </pre></div>
926
926
  </div>
927
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is
928
- <code class="docutils literal"><span class="pre">Groonga</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
927
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
928
+ <tt class="docutils literal"><span class="pre">Groonga</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
929
929
  <p>Here is a simple less than operator search example.</p>
930
930
  <p>Execution example:</p>
931
931
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes &lt; 11&#39;
@@ -987,15 +987,15 @@ the value of <code class="docutils literal"><span class="pre">column</span></cod
987
987
  # ]
988
988
  </pre></div>
989
989
  </div>
990
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value
991
- is less than <code class="docutils literal"><span class="pre">11</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
990
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
991
+ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
992
992
  <p>See <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a> for other operators.</p>
993
993
  </div>
994
994
  </div>
995
995
  <div class="section" id="advanced-search-parameters">
996
- <h3>7.3.26.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
996
+ <h3>7.3.29.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
997
997
  <div class="section" id="match-escalation-threshold">
998
- <span id="id1"></span><h4>7.3.26.4.3.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
998
+ <span id="id1"></span><h4>7.3.29.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
999
999
  <p>It specifies threshold to determine whether search storategy
1000
1000
  escalation is used or not. The threshold is compared against the
1001
1001
  number of matched records. If the number of matched records is equal
@@ -1006,15 +1006,15 @@ is used only when no records are matched.</p>
1006
1006
  <p>The default threshold can be customized by one of the followings.</p>
1007
1007
  <blockquote>
1008
1008
  <div><ul class="simple">
1009
- <li><code class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></code> option of configure</li>
1010
- <li><code class="docutils literal"><span class="pre">--match-escalation-threshold</span></code> option of groogna command</li>
1011
- <li><code class="docutils literal"><span class="pre">match-escalation-threshold</span></code> configuration item in configuration
1009
+ <li><tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> option of configure</li>
1010
+ <li><tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> option of groogna command</li>
1011
+ <li><tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> configuration item in configuration
1012
1012
  file</li>
1013
1013
  </ul>
1014
1014
  </div></blockquote>
1015
- <p>Here is a simple <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> usage example. The
1016
- first <code class="docutils literal"><span class="pre">select</span></code> doesn't have <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code>
1017
- parameter. The second <code class="docutils literal"><span class="pre">select</span></code> has <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code>
1015
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> usage example. The
1016
+ first <tt class="docutils literal"><span class="pre">select</span></tt> doesn't have <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt>
1017
+ parameter. The second <tt class="docutils literal"><span class="pre">select</span></tt> has <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt>
1018
1018
  parameter.</p>
1019
1019
  <p>Execution example:</p>
1020
1020
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query groo
@@ -1091,60 +1091,60 @@ select Entries --match_columns content --query groo --match_escalation_threshold
1091
1091
  # ]
1092
1092
  </pre></div>
1093
1093
  </div>
1094
- <p>The first <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain a word
1095
- <code class="docutils literal"><span class="pre">groo</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code> table. But no
1096
- records are matched because the <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer tokenizes
1097
- <code class="docutils literal"><span class="pre">groonga</span></code> to <code class="docutils literal"><span class="pre">groonga</span></code> not <code class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></code>. (The
1098
- <code class="docutils literal"><span class="pre">TokenBigramSplitSymbolAlpha</span></code> tokenizer tokenizes <code class="docutils literal"><span class="pre">groonga</span></code> to
1099
- <code class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></code>. See <a class="reference internal" href="../tokenizers.html"><em>Tokenizers</em></a> for details.)
1100
- It means that <code class="docutils literal"><span class="pre">groonga</span></code> is indexed but <code class="docutils literal"><span class="pre">groo</span></code> isn't indexed. So no
1101
- records are matched against <code class="docutils literal"><span class="pre">groo</span></code> by exact match. In the case, the
1094
+ <p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word
1095
+ <tt class="docutils literal"><span class="pre">groo</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table. But no
1096
+ records are matched because the <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer tokenizes
1097
+ <tt class="docutils literal"><span class="pre">groonga</span></tt> to <tt class="docutils literal"><span class="pre">groonga</span></tt> not <tt class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></tt>. (The
1098
+ <tt class="docutils literal"><span class="pre">TokenBigramSplitSymbolAlpha</span></tt> tokenizer tokenizes <tt class="docutils literal"><span class="pre">groonga</span></tt> to
1099
+ <tt class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></tt>. See <a class="reference internal" href="../tokenizers.html"><em>Tokenizers</em></a> for details.)
1100
+ It means that <tt class="docutils literal"><span class="pre">groonga</span></tt> is indexed but <tt class="docutils literal"><span class="pre">groo</span></tt> isn't indexed. So no
1101
+ records are matched against <tt class="docutils literal"><span class="pre">groo</span></tt> by exact match. In the case, the
1102
1102
  search storategy escalation is used because the number of matched
1103
- records (0) is equal to <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> (0). One record
1104
- is matched against <code class="docutils literal"><span class="pre">groo</span></code> by unsplit search.</p>
1105
- <p>The second <code class="docutils literal"><span class="pre">select</span></code> command also searches records that contain a
1106
- word <code class="docutils literal"><span class="pre">groo</span></code> in <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code> table. And
1103
+ records (0) is equal to <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (0). One record
1104
+ is matched against <tt class="docutils literal"><span class="pre">groo</span></tt> by unsplit search.</p>
1105
+ <p>The second <tt class="docutils literal"><span class="pre">select</span></tt> command also searches records that contain a
1106
+ word <tt class="docutils literal"><span class="pre">groo</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table. And
1107
1107
  it also doesn't found matched records. In this case, the search
1108
1108
  storategy escalation is not used because the number of matched
1109
- records (0) is larger than <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> (-1). So no
1109
+ records (0) is larger than <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (-1). So no
1110
1110
  more searches aren't executed. And no records are matched.</p>
1111
1111
  </div>
1112
1112
  <div class="section" id="query-expansion">
1113
- <span id="id2"></span><h4>7.3.26.4.3.2. <code class="docutils literal"><span class="pre">query_expansion</span></code><a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h4>
1113
+ <span id="id2"></span><h4>7.3.29.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h4>
1114
1114
  <p>Deprecated. Use <a class="reference internal" href="#query-expander"><em>query_expander</em></a> instead.</p>
1115
1115
  </div>
1116
1116
  <div class="section" id="query-flags">
1117
- <span id="id3"></span><h4>7.3.26.4.3.3. <code class="docutils literal"><span class="pre">query_flags</span></code><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
1118
- <p>It customs <code class="docutils literal"><span class="pre">query</span></code> parameter syntax. You cannot update column value
1119
- by <code class="docutils literal"><span class="pre">query</span></code> parameter by default. But if you specify
1120
- <code class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code> as <code class="docutils literal"><span class="pre">query_flags</span></code>, you can update
1121
- column value by <code class="docutils literal"><span class="pre">query</span></code>.</p>
1117
+ <span id="id3"></span><h4>7.3.29.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
1118
+ <p>It customs <tt class="docutils literal"><span class="pre">query</span></tt> parameter syntax. You cannot update column value
1119
+ by <tt class="docutils literal"><span class="pre">query</span></tt> parameter by default. But if you specify
1120
+ <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as <tt class="docutils literal"><span class="pre">query_flags</span></tt>, you can update
1121
+ column value by <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
1122
1122
  <p>Here are available values:</p>
1123
1123
  <ul class="simple">
1124
- <li><code class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></code></li>
1125
- <li><code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code></li>
1126
- <li><code class="docutils literal"><span class="pre">ALLOW_UPDATE</span></code></li>
1127
- <li><code class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></code></li>
1128
- <li><code class="docutils literal"><span class="pre">NONE</span></code></li>
1124
+ <li><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt></li>
1125
+ <li><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt></li>
1126
+ <li><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt></li>
1127
+ <li><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt></li>
1128
+ <li><tt class="docutils literal"><span class="pre">NONE</span></tt></li>
1129
1129
  </ul>
1130
- <p><code class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></code> enables pragma at the head of <code class="docutils literal"><span class="pre">query</span></code>. This is not
1130
+ <p><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt> enables pragma at the head of <tt class="docutils literal"><span class="pre">query</span></tt>. This is not
1131
1131
  implemented yet.</p>
1132
- <p><code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code> enables search againt columns that are not included
1133
- in <code class="docutils literal"><span class="pre">match_columns</span></code>. To specify column, there are <code class="docutils literal"><span class="pre">COLUMN:...</span></code>
1132
+ <p><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> enables search againt columns that are not included
1133
+ in <tt class="docutils literal"><span class="pre">match_columns</span></tt>. To specify column, there are <tt class="docutils literal"><span class="pre">COLUMN:...</span></tt>
1134
1134
  syntaxes.</p>
1135
- <p><code class="docutils literal"><span class="pre">ALLOW_UPDATE</span></code> enables column update by <code class="docutils literal"><span class="pre">query</span></code> with
1136
- <code class="docutils literal"><span class="pre">COLUMN:=NEW_VALUE</span></code> syntax. <code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code> is also required to
1135
+ <p><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt> enables column update by <tt class="docutils literal"><span class="pre">query</span></tt> with
1136
+ <tt class="docutils literal"><span class="pre">COLUMN:=NEW_VALUE</span></tt> syntax. <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> is also required to
1137
1137
  update column because the column update syntax specifies column.</p>
1138
- <p><code class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></code> enables leading NOT condition with <code class="docutils literal"><span class="pre">-WORD</span></code>
1138
+ <p><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt> enables leading NOT condition with <tt class="docutils literal"><span class="pre">-WORD</span></tt>
1139
1139
  syntax. The query searches records that doesn't match
1140
- <code class="docutils literal"><span class="pre">WORD</span></code>. Leading NOT condition query is heavy query in many cases
1140
+ <tt class="docutils literal"><span class="pre">WORD</span></tt>. Leading NOT condition query is heavy query in many cases
1141
1141
  because it matches many records. So this flag is disabled by
1142
1142
  default. Be careful about it when you use the flag.</p>
1143
- <p><code class="docutils literal"><span class="pre">NONE</span></code> is just ignores. You can use <code class="docutils literal"><span class="pre">NONE</span></code> for specifying no flags.</p>
1144
- <p>They can be combined by separated <code class="docutils literal"><span class="pre">|</span></code> such as
1145
- <code class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></code>.</p>
1146
- <p>The default value is <code class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></code>.</p>
1147
- <p>Here is a usage example of <code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code>.</p>
1143
+ <p><tt class="docutils literal"><span class="pre">NONE</span></tt> is just ignores. You can use <tt class="docutils literal"><span class="pre">NONE</span></tt> for specifying no flags.</p>
1144
+ <p>They can be combined by separated <tt class="docutils literal"><span class="pre">|</span></tt> such as
1145
+ <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt>.</p>
1146
+ <p>The default value is <tt class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></tt>.</p>
1147
+ <p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt>.</p>
1148
1148
  <p>Execution example:</p>
1149
1149
  <div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
1150
1150
  # [
@@ -1187,9 +1187,9 @@ default. Be careful about it when you use the flag.</p>
1187
1187
  # ]
1188
1188
  </pre></div>
1189
1189
  </div>
1190
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain <code class="docutils literal"><span class="pre">mroonga</span></code> in
1191
- <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
1192
- <p>Here is a usage example of <code class="docutils literal"><span class="pre">ALLOW_UPDATE</span></code>.</p>
1190
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain <tt class="docutils literal"><span class="pre">mroonga</span></tt> in
1191
+ <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
1192
+ <p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt>.</p>
1193
1193
  <p>Execution example:</p>
1194
1194
  <div class="highlight-none"><div class="highlight"><pre>table_create Users TABLE_HASH_KEY ShortText
1195
1195
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -1281,10 +1281,10 @@ select Users
1281
1281
  # ]
1282
1282
  </pre></div>
1283
1283
  </div>
1284
- <p>The first <code class="docutils literal"><span class="pre">select</span></code> command sets <code class="docutils literal"><span class="pre">age</span></code> column value of all records
1285
- to <code class="docutils literal"><span class="pre">19</span></code>. The second <code class="docutils literal"><span class="pre">select</span></code> command outputs updated <code class="docutils literal"><span class="pre">age</span></code>
1284
+ <p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command sets <tt class="docutils literal"><span class="pre">age</span></tt> column value of all records
1285
+ to <tt class="docutils literal"><span class="pre">19</span></tt>. The second <tt class="docutils literal"><span class="pre">select</span></tt> command outputs updated <tt class="docutils literal"><span class="pre">age</span></tt>
1286
1286
  column values.</p>
1287
- <p>Here is a usage example of <code class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></code>.</p>
1287
+ <p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt>.</p>
1288
1288
  <p>Execution example:</p>
1289
1289
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
1290
1290
  # [
@@ -1345,9 +1345,9 @@ column values.</p>
1345
1345
  # ]
1346
1346
  </pre></div>
1347
1347
  </div>
1348
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that don't contain <code class="docutils literal"><span class="pre">mroonga</span></code>
1349
- in <code class="docutils literal"><span class="pre">content</span></code> column value from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
1350
- <p>Here is a usage example of <code class="docutils literal"><span class="pre">NONE</span></code>.</p>
1348
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that don't contain <tt class="docutils literal"><span class="pre">mroonga</span></tt>
1349
+ in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
1350
+ <p>Here is a usage example of <tt class="docutils literal"><span class="pre">NONE</span></tt>.</p>
1351
1351
  <p>Execution example:</p>
1352
1352
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query &#39;mroonga OR _key:Groonga&#39; --query_flags NONE
1353
1353
  # [
@@ -1390,36 +1390,36 @@ in <code class="docutils literal"><span class="pre">content</span></code> column
1390
1390
  # ]
1391
1391
  </pre></div>
1392
1392
  </div>
1393
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command searches records that contain one of two words
1394
- <code class="docutils literal"><span class="pre">mroonga</span></code> or <code class="docutils literal"><span class="pre">_key:Groonga</span></code> in <code class="docutils literal"><span class="pre">content</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.
1395
- Note that <code class="docutils literal"><span class="pre">_key:Groonga</span></code> doesn't mean that the value of <code class="docutils literal"><span class="pre">_key</span></code>
1396
- column is equal to <code class="docutils literal"><span class="pre">Groonga</span></code>. Because <code class="docutils literal"><span class="pre">ALLOW_COLUMN</span></code> flag is not
1393
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain one of two words
1394
+ <tt class="docutils literal"><span class="pre">mroonga</span></tt> or <tt class="docutils literal"><span class="pre">_key:Groonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.
1395
+ Note that <tt class="docutils literal"><span class="pre">_key:Groonga</span></tt> doesn't mean that the value of <tt class="docutils literal"><span class="pre">_key</span></tt>
1396
+ column is equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>. Because <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> flag is not
1397
1397
  specified.</p>
1398
1398
  <p>See also <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</p>
1399
1399
  </div>
1400
1400
  <div class="section" id="query-expander">
1401
- <span id="id4"></span><h4>7.3.26.4.3.4. <code class="docutils literal"><span class="pre">query_expander</span></code><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
1401
+ <span id="id4"></span><h4>7.3.29.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
1402
1402
  <p>It's for query expansion. Query expansion substitutes specific words
1403
1403
  to another words in query. Nomally, it's used for synonym search.</p>
1404
- <p>It specifies a column that is used to substitute <code class="docutils literal"><span class="pre">query</span></code> parameter
1404
+ <p>It specifies a column that is used to substitute <tt class="docutils literal"><span class="pre">query</span></tt> parameter
1405
1405
  value. The format of this parameter value is
1406
- &quot;<code class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></code>&quot;. For example, &quot;<code class="docutils literal"><span class="pre">Terms.synonym</span></code>&quot; specifies
1407
- <code class="docutils literal"><span class="pre">synonym</span></code> column in <code class="docutils literal"><span class="pre">Terms</span></code> table.</p>
1406
+ &quot;<tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt>&quot;. For example, &quot;<tt class="docutils literal"><span class="pre">Terms.synonym</span></tt>&quot; specifies
1407
+ <tt class="docutils literal"><span class="pre">synonym</span></tt> column in <tt class="docutils literal"><span class="pre">Terms</span></tt> table.</p>
1408
1408
  <p>Table for query expansion is called &quot;substitution table&quot;. Substitution
1409
- table's key must be <code class="docutils literal"><span class="pre">ShortText</span></code>. So array table (<code class="docutils literal"><span class="pre">TABLE_NO_KEY</span></code>)
1409
+ table's key must be <tt class="docutils literal"><span class="pre">ShortText</span></tt>. So array table (<tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt>)
1410
1410
  can't be used for query expansion. Because array table doesn't have
1411
1411
  key.</p>
1412
1412
  <p>Column for query expansion is called &quot;substitution
1413
1413
  column&quot;. Substitution column's value type must be
1414
- <code class="docutils literal"><span class="pre">ShortText</span></code>. Column type must be vector (<code class="docutils literal"><span class="pre">COLUMN_VECTOR</span></code>).</p>
1414
+ <tt class="docutils literal"><span class="pre">ShortText</span></tt>. Column type must be vector (<tt class="docutils literal"><span class="pre">COLUMN_VECTOR</span></tt>).</p>
1415
1415
  <p>Query expansion substitutes key of substitution table in query with
1416
- values in substitution column. If a word in <code class="docutils literal"><span class="pre">query</span></code> is a key of
1416
+ values in substitution column. If a word in <tt class="docutils literal"><span class="pre">query</span></tt> is a key of
1417
1417
  substitution table, the word is substituted with substitution column
1418
1418
  value that is associated with the key. Substition isn't performed
1419
1419
  recursively. It means that substitution target words in substituted
1420
1420
  query aren't substituted.</p>
1421
1421
  <p>Here is a sample substitution table to show a simple
1422
- <code class="docutils literal"><span class="pre">query_expander</span></code> usage example.</p>
1422
+ <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
1423
1423
  <p>Execution example:</p>
1424
1424
  <div class="highlight-none"><div class="highlight"><pre>table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
1425
1425
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -1433,22 +1433,22 @@ load --table Thesaurus
1433
1433
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
1434
1434
  </pre></div>
1435
1435
  </div>
1436
- <p><code class="docutils literal"><span class="pre">Thesaurus</span></code> substitution table has two synonyms, <code class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></code> and
1437
- <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code>. If an user searches with <code class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></code>, groonga
1438
- searches with <code class="docutils literal"><span class="pre">&quot;((mroonga)</span> <span class="pre">OR</span> <span class="pre">(tritonn)</span> <span class="pre">OR</span> <span class="pre">(groonga</span> <span class="pre">mysql))&quot;</span></code>. If an
1439
- user searches with <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code>, groonga searches with <code class="docutils literal"><span class="pre">&quot;((groonga)</span>
1440
- <span class="pre">OR</span> <span class="pre">(senna))&quot;</span></code>. Nomrally, it's good idea that substitution table has
1441
- <code class="docutils literal"><span class="pre">KEY_NORMALIZE</span></code> flag. If the flag is used, substitute target word is
1436
+ <p><tt class="docutils literal"><span class="pre">Thesaurus</span></tt> substitution table has two synonyms, <tt class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></tt> and
1437
+ <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt>. If an user searches with <tt class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></tt>, groonga
1438
+ searches with <tt class="docutils literal"><span class="pre">&quot;((mroonga)</span> <span class="pre">OR</span> <span class="pre">(tritonn)</span> <span class="pre">OR</span> <span class="pre">(groonga</span> <span class="pre">mysql))&quot;</span></tt>. If an
1439
+ user searches with <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt>, groonga searches with <tt class="docutils literal"><span class="pre">&quot;((groonga)</span>
1440
+ <span class="pre">OR</span> <span class="pre">(senna))&quot;</span></tt>. Nomrally, it's good idea that substitution table has
1441
+ <tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt> flag. If the flag is used, substitute target word is
1442
1442
  matched in case insensitive manner.</p>
1443
1443
  <p>Note that those synonym values include the key value such as
1444
- <code class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></code> and <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code>. It's recommended that you include the
1444
+ <tt class="docutils literal"><span class="pre">&quot;mroonga&quot;</span></tt> and <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt>. It's recommended that you include the
1445
1445
  key value. If you don't include key value, substituted value doesn't
1446
1446
  include the original substitute target value. Normally, including the
1447
1447
  original value is better search result. If you have a word that you
1448
1448
  don't want to be searched, you should not include the original
1449
1449
  word. For example, you can implement &quot;stop words&quot; by an empty vector
1450
1450
  value.</p>
1451
- <p>Here is a simple <code class="docutils literal"><span class="pre">query_expander</span></code> usage example.</p>
1451
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
1452
1452
  <p>Execution example:</p>
1453
1453
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query &quot;mroonga&quot;
1454
1454
  # [
@@ -1581,13 +1581,13 @@ select Entries --match_columns content --query &quot;((mroonga) OR (tritonn) OR
1581
1581
  # ]
1582
1582
  </pre></div>
1583
1583
  </div>
1584
- <p>The first <code class="docutils literal"><span class="pre">select</span></code> command doesn't use query expansion. So a record
1585
- that has <code class="docutils literal"><span class="pre">&quot;tritonn&quot;</span></code> isn't found. The second <code class="docutils literal"><span class="pre">select</span></code> command uses
1586
- query expansion. So a record that has <code class="docutils literal"><span class="pre">&quot;tritonn&quot;</span></code> is found. The
1587
- third <code class="docutils literal"><span class="pre">select</span></code> command doesn't use query expansion but it is same as
1588
- the second <code class="docutils literal"><span class="pre">select</span></code> command. The third one uses expanded query.</p>
1584
+ <p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion. So a record
1585
+ that has <tt class="docutils literal"><span class="pre">&quot;tritonn&quot;</span></tt> isn't found. The second <tt class="docutils literal"><span class="pre">select</span></tt> command uses
1586
+ query expansion. So a record that has <tt class="docutils literal"><span class="pre">&quot;tritonn&quot;</span></tt> is found. The
1587
+ third <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion but it is same as
1588
+ the second <tt class="docutils literal"><span class="pre">select</span></tt> command. The third one uses expanded query.</p>
1589
1589
  <p>Each substitute value can contain any <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> syntax
1590
- such as <code class="docutils literal"><span class="pre">(...)</span></code> and <code class="docutils literal"><span class="pre">OR</span></code>. You can use complex substitution by
1590
+ such as <tt class="docutils literal"><span class="pre">(...)</span></tt> and <tt class="docutils literal"><span class="pre">OR</span></tt>. You can use complex substitution by
1591
1591
  using those syntax.</p>
1592
1592
  <p>Here is a complex substitution usage example that uses query syntax.</p>
1593
1593
  <p>Execution example:</p>
@@ -1643,20 +1643,20 @@ select Entries --match_columns content --query &quot;popular&quot; --query_expan
1643
1643
  # ]
1644
1644
  </pre></div>
1645
1645
  </div>
1646
- <p>The <code class="docutils literal"><span class="pre">load</span></code> command registers a new synonym <code class="docutils literal"><span class="pre">&quot;popular&quot;</span></code>. It is
1647
- substituted with <code class="docutils literal"><span class="pre">((popular)</span> <span class="pre">OR</span> <span class="pre">(n_likes:&gt;=10))</span></code>. The substituted
1646
+ <p>The <tt class="docutils literal"><span class="pre">load</span></tt> command registers a new synonym <tt class="docutils literal"><span class="pre">&quot;popular&quot;</span></tt>. It is
1647
+ substituted with <tt class="docutils literal"><span class="pre">((popular)</span> <span class="pre">OR</span> <span class="pre">(n_likes:&gt;=10))</span></tt>. The substituted
1648
1648
  query means that &quot;popular&quot; is containing the word &quot;popular&quot; or 10 or
1649
1649
  more liked entries.</p>
1650
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value
1651
- is equal to or more than <code class="docutils literal"><span class="pre">10</span></code> from <code class="docutils literal"><span class="pre">Entries</span></code> table.</p>
1650
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
1651
+ is equal to or more than <tt class="docutils literal"><span class="pre">10</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
1652
1652
  </div>
1653
1653
  </div>
1654
1654
  <div class="section" id="output-related-parameters">
1655
- <h3>7.3.26.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
1655
+ <h3>7.3.29.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
1656
1656
  <div class="section" id="output-columns">
1657
- <span id="id5"></span><h4>7.3.26.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
1658
- <p>It specifies output columns separated by <code class="docutils literal"><span class="pre">,</span></code>.</p>
1659
- <p>Here is a simple <code class="docutils literal"><span class="pre">output_columns</span></code> usage example.</p>
1657
+ <span id="id5"></span><h4>7.3.29.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
1658
+ <p>It specifies output columns separated by <tt class="docutils literal"><span class="pre">,</span></tt>.</p>
1659
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">output_columns</span></tt> usage example.</p>
1660
1660
  <p>Execution example:</p>
1661
1661
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns &#39;_id, _key&#39; --limit 1
1662
1662
  # [
@@ -1689,11 +1689,11 @@ is equal to or more than <code class="docutils literal"><span class="pre">10</sp
1689
1689
  # ]
1690
1690
  </pre></div>
1691
1691
  </div>
1692
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command just outputs <code class="docutils literal"><span class="pre">_id</span></code> and <code class="docutils literal"><span class="pre">_key</span></code> column
1692
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command just outputs <tt class="docutils literal"><span class="pre">_id</span></tt> and <tt class="docutils literal"><span class="pre">_key</span></tt> column
1693
1693
  values.</p>
1694
- <p><code class="docutils literal"><span class="pre">*</span></code> is a special value. It means that all columns that are not
1694
+ <p><tt class="docutils literal"><span class="pre">*</span></tt> is a special value. It means that all columns that are not
1695
1695
  <a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a>.</p>
1696
- <p>Here is a <code class="docutils literal"><span class="pre">*</span></code> usage example.</p>
1696
+ <p>Here is a <tt class="docutils literal"><span class="pre">*</span></tt> usage example.</p>
1697
1697
  <p>Execution example:</p>
1698
1698
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns &#39;_key, *&#39; --limit 1
1699
1699
  # [
@@ -1731,17 +1731,17 @@ values.</p>
1731
1731
  # ]
1732
1732
  </pre></div>
1733
1733
  </div>
1734
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs <code class="docutils literal"><span class="pre">_key</span></code> pseudo column, <code class="docutils literal"><span class="pre">content</span></code>
1735
- column and <code class="docutils literal"><span class="pre">n_likes</span></code> column values but doesn't output <code class="docutils literal"><span class="pre">_id</span></code> pseudo
1734
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column, <tt class="docutils literal"><span class="pre">content</span></tt>
1735
+ column and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column values but doesn't output <tt class="docutils literal"><span class="pre">_id</span></tt> pseudo
1736
1736
  column value.</p>
1737
- <p>The default value is <code class="docutils literal"><span class="pre">_id,</span> <span class="pre">_key,</span> <span class="pre">*</span></code>. It means that all column
1738
- values except <code class="docutils literal"><span class="pre">_score</span></code> are outputted.</p>
1737
+ <p>The default value is <tt class="docutils literal"><span class="pre">_id,</span> <span class="pre">_key,</span> <span class="pre">*</span></tt>. It means that all column
1738
+ values except <tt class="docutils literal"><span class="pre">_score</span></tt> are outputted.</p>
1739
1739
  </div>
1740
1740
  <div class="section" id="sortby">
1741
- <h4>7.3.26.4.4.2. <code class="docutils literal"><span class="pre">sortby</span></code><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
1742
- <p>It specifies sort keys separated by <code class="docutils literal"><span class="pre">,</span></code>. Each sort key is column
1741
+ <h4>7.3.29.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
1742
+ <p>It specifies sort keys separated by <tt class="docutils literal"><span class="pre">,</span></tt>. Each sort key is column
1743
1743
  name.</p>
1744
- <p>Here is a simple <code class="docutils literal"><span class="pre">sortby</span></code> usage example.</p>
1744
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
1745
1745
  <p>Execution example:</p>
1746
1746
  <div class="highlight-none"><div class="highlight"><pre>select Entries --sortby &#39;n_likes, _id&#39;
1747
1747
  # [
@@ -1808,12 +1808,12 @@ name.</p>
1808
1808
  # ]
1809
1809
  </pre></div>
1810
1810
  </div>
1811
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command sorts by <code class="docutils literal"><span class="pre">n_likes</span></code> column value in ascending
1812
- order. For records that has the same <code class="docutils literal"><span class="pre">n_likes</span></code> are sorted by <code class="docutils literal"><span class="pre">_id</span></code>
1813
- in ascending order. <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></code> and <code class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Tritonn&quot;</span></code>
1811
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts by <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value in ascending
1812
+ order. For records that has the same <tt class="docutils literal"><span class="pre">n_likes</span></tt> are sorted by <tt class="docutils literal"><span class="pre">_id</span></tt>
1813
+ in ascending order. <tt class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Senna&quot;</span></tt> and <tt class="docutils literal"><span class="pre">&quot;Good-bye</span> <span class="pre">Tritonn&quot;</span></tt>
1814
1814
  are the case.</p>
1815
- <p>If you want to sort in descending order, add <code class="docutils literal"><span class="pre">-</span></code> before column name.</p>
1816
- <p>Here is a descending order <code class="docutils literal"><span class="pre">sortby</span></code> usage example.</p>
1815
+ <p>If you want to sort in descending order, add <tt class="docutils literal"><span class="pre">-</span></tt> before column name.</p>
1816
+ <p>Here is a descending order <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
1817
1817
  <p>Execution example:</p>
1818
1818
  <div class="highlight-none"><div class="highlight"><pre>select Entries --sortby &#39;-n_likes, _id&#39;
1819
1819
  # [
@@ -1880,10 +1880,10 @@ are the case.</p>
1880
1880
  # ]
1881
1881
  </pre></div>
1882
1882
  </div>
1883
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command sorts by <code class="docutils literal"><span class="pre">n_likes</span></code> column value in descending
1884
- order. But ascending order is used for sorting by <code class="docutils literal"><span class="pre">_id</span></code>.</p>
1885
- <p>You can use <code class="docutils literal"><span class="pre">_score</span></code> pseudo column in <code class="docutils literal"><span class="pre">sortby</span></code> if you use
1886
- <code class="docutils literal"><span class="pre">query</span></code> or <code class="docutils literal"><span class="pre">filter</span></code> parameter.</p>
1883
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts by <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value in descending
1884
+ order. But ascending order is used for sorting by <tt class="docutils literal"><span class="pre">_id</span></tt>.</p>
1885
+ <p>You can use <tt class="docutils literal"><span class="pre">_score</span></tt> pseudo column in <tt class="docutils literal"><span class="pre">sortby</span></tt> if you use
1886
+ <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt> parameter.</p>
1887
1887
  <p>Execution example:</p>
1888
1888
  <div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --sortby -_score --output_columns &#39;_key, _score&#39;
1889
1889
  # [
@@ -1920,15 +1920,15 @@ order. But ascending order is used for sorting by <code class="docutils literal"
1920
1920
  # ]
1921
1921
  </pre></div>
1922
1922
  </div>
1923
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command sorts matched records by hit score in
1923
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts matched records by hit score in
1924
1924
  descending order and outputs record key and hit score.</p>
1925
- <p>If you use <code class="docutils literal"><span class="pre">_score</span></code> without <code class="docutils literal"><span class="pre">query</span></code> nor <code class="docutils literal"><span class="pre">filter</span></code> parameters,
1925
+ <p>If you use <tt class="docutils literal"><span class="pre">_score</span></tt> without <tt class="docutils literal"><span class="pre">query</span></tt> nor <tt class="docutils literal"><span class="pre">filter</span></tt> parameters,
1926
1926
  it's just ignored but get a warning in log file.</p>
1927
1927
  </div>
1928
1928
  <div class="section" id="offset">
1929
- <h4>7.3.26.4.4.3. <code class="docutils literal"><span class="pre">offset</span></code><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
1929
+ <h4>7.3.29.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
1930
1930
  <p>It specifies offset to determine output records range. Offset is
1931
- zero-origin. <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></code> means output range is started from the 2nd
1931
+ zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is started from the 2nd
1932
1932
  record.</p>
1933
1933
  <p>Execution example:</p>
1934
1934
  <div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 3 --output_columns _key
@@ -1960,10 +1960,10 @@ record.</p>
1960
1960
  # ]
1961
1961
  </pre></div>
1962
1962
  </div>
1963
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs from the 4th record.</p>
1964
- <p>You can specify negative value. It means that <code class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
1965
- <span class="pre">records</span> <span class="pre">+</span> <span class="pre">offset</span></code>. If you have 3 matched records and specify
1966
- <code class="docutils literal"><span class="pre">--offset</span> <span class="pre">-2</span></code>, you get records from the 1st (<code class="docutils literal"><span class="pre">3</span> <span class="pre">+</span> <span class="pre">-2</span> <span class="pre">=</span> <span class="pre">1</span></code>) record
1963
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs from the 4th record.</p>
1964
+ <p>You can specify negative value. It means that <tt class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
1965
+ <span class="pre">records</span> <span class="pre">+</span> <span class="pre">offset</span></tt>. If you have 3 matched records and specify
1966
+ <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">-2</span></tt>, you get records from the 1st (<tt class="docutils literal"><span class="pre">3</span> <span class="pre">+</span> <span class="pre">-2</span> <span class="pre">=</span> <span class="pre">1</span></tt>) record
1967
1967
  to the 3rd record.</p>
1968
1968
  <p>Execution example:</p>
1969
1969
  <div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset -2 --output_columns _key
@@ -1995,15 +1995,15 @@ to the 3rd record.</p>
1995
1995
  # ]
1996
1996
  </pre></div>
1997
1997
  </div>
1998
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs from the 4th record because the total
1999
- number of records is <code class="docutils literal"><span class="pre">5</span></code>.</p>
2000
- <p>The default value is <code class="docutils literal"><span class="pre">0</span></code>.</p>
1998
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs from the 4th record because the total
1999
+ number of records is <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
2000
+ <p>The default value is <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
2001
2001
  </div>
2002
2002
  <div class="section" id="limit">
2003
- <h4>7.3.26.4.4.4. <code class="docutils literal"><span class="pre">limit</span></code><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
2003
+ <h4>7.3.29.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
2004
2004
  <p>It specifies the max number of output records. If the number of
2005
- matched records is less than <code class="docutils literal"><span class="pre">limit</span></code>, all records are outputted.</p>
2006
- <p>Here is a simple <code class="docutils literal"><span class="pre">limit</span></code> usage example.</p>
2005
+ matched records is less than <tt class="docutils literal"><span class="pre">limit</span></tt>, all records are outputted.</p>
2006
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">limit</span></tt> usage example.</p>
2007
2007
  <p>Execution example:</p>
2008
2008
  <div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
2009
2009
  # [
@@ -2037,11 +2037,11 @@ matched records is less than <code class="docutils literal"><span class="pre">li
2037
2037
  # ]
2038
2038
  </pre></div>
2039
2039
  </div>
2040
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs the 3rd, the 4th and the 5th records.</p>
2041
- <p>You can specify negative value. It means that <code class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
2042
- <span class="pre">records</span> <span class="pre">+</span> <span class="pre">limit</span> <span class="pre">+</span> <span class="pre">1</span></code>. For example, <code class="docutils literal"><span class="pre">--limit</span> <span class="pre">-1</span></code> outputs all
2040
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs the 3rd, the 4th and the 5th records.</p>
2041
+ <p>You can specify negative value. It means that <tt class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
2042
+ <span class="pre">records</span> <span class="pre">+</span> <span class="pre">limit</span> <span class="pre">+</span> <span class="pre">1</span></tt>. For example, <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">-1</span></tt> outputs all
2043
2043
  records. It's very useful value to show all records.</p>
2044
- <p>Here is a simple negative <code class="docutils literal"><span class="pre">limit</span></code> value usage example.</p>
2044
+ <p>Here is a simple negative <tt class="docutils literal"><span class="pre">limit</span></tt> value usage example.</p>
2045
2045
  <p>Execution example:</p>
2046
2046
  <div class="highlight-none"><div class="highlight"><pre>select Entries --limit -1
2047
2047
  # [
@@ -2108,85 +2108,85 @@ records. It's very useful value to show all records.</p>
2108
2108
  # ]
2109
2109
  </pre></div>
2110
2110
  </div>
2111
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command outputs all records.</p>
2112
- <p>The default value is <code class="docutils literal"><span class="pre">10</span></code>.</p>
2111
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs all records.</p>
2112
+ <p>The default value is <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
2113
2113
  </div>
2114
2114
  <div class="section" id="scorer">
2115
- <h4>7.3.26.4.4.5. <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
2115
+ <h4>7.3.29.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
2116
2116
  <p>TODO: write in English and add example.</p>
2117
2117
  <p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
2118
2118
  <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
2119
2119
  </div>
2120
2120
  </div>
2121
2121
  <div class="section" id="facet-related-parameters">
2122
- <h3>7.3.26.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
2122
+ <h3>7.3.29.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
2123
2123
  <div class="section" id="drilldown">
2124
- <h4>7.3.26.4.5.1. <code class="docutils literal"><span class="pre">drilldown</span></code><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
2124
+ <h4>7.3.29.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
2125
2125
  <p>TODO: write in English and add example.</p>
2126
2126
  <p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
2127
2127
  </div>
2128
2128
  <div class="section" id="drilldown-sortby">
2129
- <h4>7.3.26.4.5.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
2129
+ <h4>7.3.29.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
2130
2130
  <p>TODO: write in English and add example.</p>
2131
2131
  <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
2132
2132
  </div>
2133
2133
  <div class="section" id="drilldown-output-columns">
2134
- <h4>7.3.26.4.5.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
2134
+ <h4>7.3.29.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
2135
2135
  <p>TODO: write in English and add example.</p>
2136
2136
  <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
2137
2137
  </div>
2138
2138
  <div class="section" id="drilldown-offset">
2139
- <h4>7.3.26.4.5.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
2139
+ <h4>7.3.29.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
2140
2140
  <p>TODO: write in English and add example.</p>
2141
2141
  <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
2142
2142
  </div>
2143
2143
  <div class="section" id="drilldown-limit">
2144
- <h4>7.3.26.4.5.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
2144
+ <h4>7.3.29.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
2145
2145
  <p>TODO: write in English and add example.</p>
2146
2146
  <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
2147
2147
  </div>
2148
2148
  </div>
2149
2149
  <div class="section" id="cache-related-parameter">
2150
- <h3>7.3.26.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
2150
+ <h3>7.3.29.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
2151
2151
  <div class="section" id="cache">
2152
- <h4>7.3.26.4.6.1. <code class="docutils literal"><span class="pre">cache</span></code><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
2152
+ <h4>7.3.29.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
2153
2153
  <p>TODO: write in English and add example.</p>
2154
2154
  <p>クエリキャッシュに関する動作を設定します。</p>
2155
- <p><code class="docutils literal"><span class="pre">no</span></code></p>
2155
+ <p><tt class="docutils literal"><span class="pre">no</span></tt></p>
2156
2156
  <blockquote>
2157
2157
  <div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
2158
2158
  </div>
2159
2159
  </div>
2160
2160
  <div class="section" id="score-related-parameters">
2161
- <h3>7.3.26.4.7. Score related parameters<a class="headerlink" href="#score-related-parameters" title="Permalink to this headline">¶</a></h3>
2162
- <p>There is a score related parameter, <code class="docutils literal"><span class="pre">adjuster</span></code>.</p>
2161
+ <h3>7.3.29.4.7. Score related parameters<a class="headerlink" href="#score-related-parameters" title="Permalink to this headline">¶</a></h3>
2162
+ <p>There is a score related parameter, <tt class="docutils literal"><span class="pre">adjuster</span></tt>.</p>
2163
2163
  <div class="section" id="adjuster">
2164
- <span id="select-adjuster"></span><h4>7.3.26.4.7.1. <code class="docutils literal"><span class="pre">adjuster</span></code><a class="headerlink" href="#adjuster" title="Permalink to this headline">¶</a></h4>
2164
+ <span id="select-adjuster"></span><h4>7.3.29.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt><a class="headerlink" href="#adjuster" title="Permalink to this headline">¶</a></h4>
2165
2165
  <p>It specifies one or more score adjust expressions. You need to use
2166
- <code class="docutils literal"><span class="pre">adjuster</span></code> with <code class="docutils literal"><span class="pre">query</span></code> or <code class="docutils literal"><span class="pre">filter</span></code>. <code class="docutils literal"><span class="pre">adjuster</span></code> doesn't work
2166
+ <tt class="docutils literal"><span class="pre">adjuster</span></tt> with <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. <tt class="docutils literal"><span class="pre">adjuster</span></tt> doesn't work
2167
2167
  with not searched request.</p>
2168
- <p>You can increase score of specific records by <code class="docutils literal"><span class="pre">adjuster</span></code>. You can
2169
- use <code class="docutils literal"><span class="pre">adjuster</span></code> to set high score for important records.</p>
2170
- <p>For example, you can use <code class="docutils literal"><span class="pre">adjuster</span></code> to increase score of records
2171
- that have <code class="docutils literal"><span class="pre">groonga</span></code> tag.</p>
2168
+ <p>You can increase score of specific records by <tt class="docutils literal"><span class="pre">adjuster</span></tt>. You can
2169
+ use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to set high score for important records.</p>
2170
+ <p>For example, you can use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to increase score of records
2171
+ that have <tt class="docutils literal"><span class="pre">groonga</span></tt> tag.</p>
2172
2172
  <p>Here is the syntax:</p>
2173
2173
  <div class="highlight-none"><div class="highlight"><pre>--adjuster &quot;SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ...&quot;
2174
2174
  </pre></div>
2175
2175
  </div>
2176
- <p>Here is the <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> syntax:</p>
2176
+ <p>Here is the <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> syntax:</p>
2177
2177
  <div class="highlight-none"><div class="highlight"><pre>COLUMN @ &quot;KEYWORD&quot; * FACTOR
2178
2178
  </pre></div>
2179
2179
  </div>
2180
2180
  <p>Note the following:</p>
2181
2181
  <blockquote>
2182
2182
  <div><ul class="simple">
2183
- <li><code class="docutils literal"><span class="pre">COLUMN</span></code> must be indexed.</li>
2184
- <li><code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></code> must be a string.</li>
2185
- <li><code class="docutils literal"><span class="pre">FACTOR</span></code> must be a positive integer.</li>
2183
+ <li><tt class="docutils literal"><span class="pre">COLUMN</span></tt> must be indexed.</li>
2184
+ <li><tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></tt> must be a string.</li>
2185
+ <li><tt class="docutils literal"><span class="pre">FACTOR</span></tt> must be a positive integer.</li>
2186
2186
  </ul>
2187
2187
  </div></blockquote>
2188
- <p>Here is a sample <code class="docutils literal"><span class="pre">adjuster</span></code> usage example that uses just one
2189
- <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code>:</p>
2188
+ <p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses just one
2189
+ <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
2190
2190
  <p>Execution example:</p>
2191
2191
  <div class="highlight-none"><div class="highlight"><pre>select Entries \
2192
2192
  --filter true \
@@ -2247,13 +2247,13 @@ that have <code class="docutils literal"><span class="pre">groonga</span></code>
2247
2247
  # ]
2248
2248
  </pre></div>
2249
2249
  </div>
2250
- <p>The <code class="docutils literal"><span class="pre">select</span></code> command matches all records. Then it applies
2251
- <code class="docutils literal"><span class="pre">adjuster</span></code>. The adjuster increases score of records that have
2252
- <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code> in <code class="docutils literal"><span class="pre">Entries.content</span></code> column by 5. There is only one
2253
- record that has <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code> in <code class="docutils literal"><span class="pre">Entries.content</span></code> column. So the
2254
- record that its key is <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code> has score 6 (<code class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span></code>).</p>
2255
- <p>You can omit <code class="docutils literal"><span class="pre">FACTOR</span></code>. If you omit <code class="docutils literal"><span class="pre">FACTOR</span></code>, it is treated as 1.</p>
2256
- <p>Here is a sample <code class="docutils literal"><span class="pre">adjuster</span></code> usage example that omits <code class="docutils literal"><span class="pre">FACTOR</span></code>:</p>
2250
+ <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command matches all records. Then it applies
2251
+ <tt class="docutils literal"><span class="pre">adjuster</span></tt>. The adjuster increases score of records that have
2252
+ <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column by 5. There is only one
2253
+ record that has <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the
2254
+ record that its key is <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt> has score 6 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
2255
+ <p>You can omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. If you omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>, it is treated as 1.</p>
2256
+ <p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that omits <tt class="docutils literal"><span class="pre">FACTOR</span></tt>:</p>
2257
2257
  <p>Execution example:</p>
2258
2258
  <div class="highlight-none"><div class="highlight"><pre>select Entries \
2259
2259
  --filter true \
@@ -2314,12 +2314,12 @@ record that its key is <code class="docutils literal"><span class="pre">&quot;Gr
2314
2314
  # ]
2315
2315
  </pre></div>
2316
2316
  </div>
2317
- <p>The <code class="docutils literal"><span class="pre">adjuster</span></code> in the <code class="docutils literal"><span class="pre">select</span></code> command doesn't have <code class="docutils literal"><span class="pre">FACTOR</span></code>. So
2317
+ <p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't have <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. So
2318
2318
  the factor is treated as 1. There is only one record that has
2319
- <code class="docutils literal"><span class="pre">&quot;groonga&quot;</span></code> in <code class="docutils literal"><span class="pre">Entries.content</span></code> column. So the record that its
2320
- key is <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code> has score 2 (<code class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">1</span></code>).</p>
2321
- <p>Here is a sample <code class="docutils literal"><span class="pre">adjuster</span></code> usage example that uses multiple
2322
- <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code>:</p>
2319
+ <tt class="docutils literal"><span class="pre">&quot;groonga&quot;</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the record that its
2320
+ key is <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt> has score 2 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">1</span></tt>).</p>
2321
+ <p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses multiple
2322
+ <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
2323
2323
  <p>Execution example:</p>
2324
2324
  <div class="highlight-none"><div class="highlight"><pre>select Entries \
2325
2325
  --filter true \
@@ -2380,83 +2380,83 @@ key is <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</spa
2380
2380
  # ]
2381
2381
  </pre></div>
2382
2382
  </div>
2383
- <p>The <code class="docutils literal"><span class="pre">adjuster</span></code> in the <code class="docutils literal"><span class="pre">select</span></code> command has two
2384
- <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> s. The final increased score is sum of
2385
- scores of these <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> s. All
2386
- <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> s in the <code class="docutils literal"><span class="pre">select</span></code> command are applied to
2387
- a record that its key is <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code>. So the final increased score
2388
- of the record is sum of scores of all <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> s.</p>
2389
- <p>The first <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> is <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;groonga&quot;</span> <span class="pre">*</span> <span class="pre">5</span></code>.
2383
+ <p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command has two
2384
+ <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. The final increased score is sum of
2385
+ scores of these <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. All
2386
+ <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s in the <tt class="docutils literal"><span class="pre">select</span></tt> command are applied to
2387
+ a record that its key is <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt>. So the final increased score
2388
+ of the record is sum of scores of all <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s.</p>
2389
+ <p>The first <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;groonga&quot;</span> <span class="pre">*</span> <span class="pre">5</span></tt>.
2390
2390
  It increases score by 5.</p>
2391
- <p>The second <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> is <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;started&quot;</span> <span class="pre">*</span> <span class="pre">3</span></code>.
2391
+ <p>The second <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;started&quot;</span> <span class="pre">*</span> <span class="pre">3</span></tt>.
2392
2392
  It increases score by 3.</p>
2393
- <p>The final increased score is 9 (<code class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span> <span class="pre">+</span> <span class="pre">3</span></code>).</p>
2394
- <p>A <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> has a factor for <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></code>. This
2395
- means that increased scores of all records that has <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></code> are
2393
+ <p>The final increased score is 9 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span> <span class="pre">+</span> <span class="pre">3</span></tt>).</p>
2394
+ <p>A <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> has a factor for <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></tt>. This
2395
+ means that increased scores of all records that has <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></tt> are
2396
2396
  the same value. You can change increase score for each record that has
2397
- the same <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></code>. It is useful to tune search score. See
2397
+ the same <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></tt>. It is useful to tune search score. See
2398
2398
  <a class="reference internal" href="../columns/vector.html#weight-vector-column"><em>Weight vector column</em></a> for details.</p>
2399
2399
  </div>
2400
2400
  </div>
2401
2401
  </div>
2402
2402
  <div class="section" id="id6">
2403
- <h2>7.3.26.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
2403
+ <h2>7.3.29.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
2404
2404
  <p>TODO: write in English and add example.</p>
2405
2405
  <p>以下のようなjson形式で値が返却されます。</p>
2406
2406
  <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
2407
2407
  </pre></div>
2408
2408
  </div>
2409
- <p><code class="docutils literal"><span class="pre">リターンコード</span></code></p>
2409
+ <p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
2410
2410
  <blockquote>
2411
2411
  <div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
2412
2412
  文字列が返されます。</div></blockquote>
2413
- <p><code class="docutils literal"><span class="pre">処理開始時間</span></code></p>
2413
+ <p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
2414
2414
  <blockquote>
2415
2415
  <div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
2416
- <p><code class="docutils literal"><span class="pre">処理時間</span></code></p>
2416
+ <p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
2417
2417
  <blockquote>
2418
2418
  <div>処理にかかった秒数を返します。</div></blockquote>
2419
- <p><code class="docutils literal"><span class="pre">検索結果</span></code></p>
2419
+ <p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
2420
2420
  <blockquote>
2421
2421
  <div><p>drilldown条件が実行される前の検索結果が以下のように出力されます。:</p>
2422
2422
  <div class="highlight-none"><div class="highlight"><pre>[[ヒット数], [[カラム名1,カラム型1],..], 検索結果1,..]
2423
2423
  </pre></div>
2424
2424
  </div>
2425
- <p><code class="docutils literal"><span class="pre">ヒット数</span></code></p>
2425
+ <p><tt class="docutils literal"><span class="pre">ヒット数</span></tt></p>
2426
2426
  <blockquote>
2427
- <div>検索条件にヒットしたレコードの数が出力されます。 <code class="docutils literal"><span class="pre">--limit</span></code> オプションで出力件数を制限した場合は出力するレコード数と一致しません。 <code class="docutils literal"><span class="pre">ヒット数</span></code> は <code class="docutils literal"><span class="pre">--limit</span></code> オプションに関係なく常にヒットしたレコードの数になります。</div></blockquote>
2428
- <p><code class="docutils literal"><span class="pre">カラム名n</span></code></p>
2427
+ <div>検索条件にヒットしたレコードの数が出力されます。 <tt class="docutils literal"><span class="pre">--limit</span></tt> オプションで出力件数を制限した場合は出力するレコード数と一致しません。 <tt class="docutils literal"><span class="pre">ヒット数</span></tt> は <tt class="docutils literal"><span class="pre">--limit</span></tt> オプションに関係なく常にヒットしたレコードの数になります。</div></blockquote>
2428
+ <p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
2429
2429
  <blockquote>
2430
2430
  <div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
2431
- <p><code class="docutils literal"><span class="pre">カラム型n</span></code></p>
2431
+ <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
2432
2432
  <blockquote>
2433
2433
  <div>output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
2434
- <p><code class="docutils literal"><span class="pre">検索結果n</span></code></p>
2434
+ <p><tt class="docutils literal"><span class="pre">検索結果n</span></tt></p>
2435
2435
  <blockquote>
2436
2436
  <div>output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
2437
2437
  </div></blockquote>
2438
- <p><code class="docutils literal"><span class="pre">drilldown結果</span></code></p>
2438
+ <p><tt class="docutils literal"><span class="pre">drilldown結果</span></tt></p>
2439
2439
  <blockquote>
2440
2440
  <div><p>drilldown処理の結果が以下のように出力されます。:</p>
2441
2441
  <div class="highlight-none"><div class="highlight"><pre>[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
2442
2442
  </pre></div>
2443
2443
  </div>
2444
- <p><code class="docutils literal"><span class="pre">件数</span></code></p>
2444
+ <p><tt class="docutils literal"><span class="pre">件数</span></tt></p>
2445
2445
  <blockquote>
2446
2446
  <div>drilldownに指定されたカラムの値の異なり数が出力されます。</div></blockquote>
2447
- <p><code class="docutils literal"><span class="pre">カラム名n</span></code></p>
2447
+ <p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
2448
2448
  <blockquote>
2449
2449
  <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
2450
- <p><code class="docutils literal"><span class="pre">カラム型n</span></code></p>
2450
+ <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
2451
2451
  <blockquote>
2452
2452
  <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
2453
- <p><code class="docutils literal"><span class="pre">ドリルダウン結果n</span></code></p>
2453
+ <p><tt class="docutils literal"><span class="pre">ドリルダウン結果n</span></tt></p>
2454
2454
  <blockquote>
2455
2455
  <div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
2456
2456
  </div></blockquote>
2457
2457
  </div>
2458
2458
  <div class="section" id="see-also">
2459
- <h2>7.3.26.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
2459
+ <h2>7.3.29.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
2460
2460
  <blockquote>
2461
2461
  <div><ul class="simple">
2462
2462
  <li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a></li>
@@ -2470,88 +2470,86 @@ the same <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</s
2470
2470
  </div>
2471
2471
  </div>
2472
2472
  </div>
2473
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
2473
+ <div class="sphinxsidebar">
2474
2474
  <div class="sphinxsidebarwrapper">
2475
2475
  <h3><a href="../../index.html">Table Of Contents</a></h3>
2476
2476
  <ul>
2477
- <li><a class="reference internal" href="#">7.3.26. <code class="docutils literal"><span class="pre">select</span></code></a><ul>
2478
- <li><a class="reference internal" href="#summary">7.3.26.1. Summary</a></li>
2479
- <li><a class="reference internal" href="#syntax">7.3.26.2. Syntax</a></li>
2480
- <li><a class="reference internal" href="#usage">7.3.26.3. Usage</a><ul>
2481
- <li><a class="reference internal" href="#simple-usage">7.3.26.3.1. Simple usage</a></li>
2482
- <li><a class="reference internal" href="#search-conditions">7.3.26.3.2. Search conditions</a><ul>
2483
- <li><a class="reference internal" href="#search-condition-query">7.3.26.3.2.1. Search condition: <code class="docutils literal"><span class="pre">query</span></code></a></li>
2484
- <li><a class="reference internal" href="#search-condition-filter">7.3.26.3.2.2. Search condition: <code class="docutils literal"><span class="pre">filter</span></code></a></li>
2477
+ <li><a class="reference internal" href="#">7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
2478
+ <li><a class="reference internal" href="#summary">7.3.29.1. Summary</a></li>
2479
+ <li><a class="reference internal" href="#syntax">7.3.29.2. Syntax</a></li>
2480
+ <li><a class="reference internal" href="#usage">7.3.29.3. Usage</a><ul>
2481
+ <li><a class="reference internal" href="#simple-usage">7.3.29.3.1. Simple usage</a></li>
2482
+ <li><a class="reference internal" href="#search-conditions">7.3.29.3.2. Search conditions</a><ul>
2483
+ <li><a class="reference internal" href="#search-condition-query">7.3.29.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
2484
+ <li><a class="reference internal" href="#search-condition-filter">7.3.29.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
2485
2485
  </ul>
2486
2486
  </li>
2487
- <li><a class="reference internal" href="#paging">7.3.26.3.3. Paging</a></li>
2488
- <li><a class="reference internal" href="#the-total-number-of-records">7.3.26.3.4. The total number of records</a></li>
2487
+ <li><a class="reference internal" href="#paging">7.3.29.3.3. Paging</a></li>
2488
+ <li><a class="reference internal" href="#the-total-number-of-records">7.3.29.3.4. The total number of records</a></li>
2489
2489
  </ul>
2490
2490
  </li>
2491
- <li><a class="reference internal" href="#parameters">7.3.26.4. Parameters</a><ul>
2492
- <li><a class="reference internal" href="#required-parameter">7.3.26.4.1. Required parameter</a><ul>
2493
- <li><a class="reference internal" href="#table">7.3.26.4.1.1. <code class="docutils literal"><span class="pre">table</span></code></a></li>
2491
+ <li><a class="reference internal" href="#parameters">7.3.29.4. Parameters</a><ul>
2492
+ <li><a class="reference internal" href="#required-parameter">7.3.29.4.1. Required parameter</a><ul>
2493
+ <li><a class="reference internal" href="#table">7.3.29.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
2494
2494
  </ul>
2495
2495
  </li>
2496
- <li><a class="reference internal" href="#search-related-parameters">7.3.26.4.2. Search related parameters</a><ul>
2497
- <li><a class="reference internal" href="#match-columns">7.3.26.4.2.1. <code class="docutils literal"><span class="pre">match_columns</span></code></a></li>
2498
- <li><a class="reference internal" href="#query">7.3.26.4.2.2. <code class="docutils literal"><span class="pre">query</span></code></a></li>
2499
- <li><a class="reference internal" href="#filter">7.3.26.4.2.3. <code class="docutils literal"><span class="pre">filter</span></code></a></li>
2496
+ <li><a class="reference internal" href="#search-related-parameters">7.3.29.4.2. Search related parameters</a><ul>
2497
+ <li><a class="reference internal" href="#match-columns">7.3.29.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
2498
+ <li><a class="reference internal" href="#query">7.3.29.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
2499
+ <li><a class="reference internal" href="#filter">7.3.29.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
2500
2500
  </ul>
2501
2501
  </li>
2502
- <li><a class="reference internal" href="#advanced-search-parameters">7.3.26.4.3. Advanced search parameters</a><ul>
2503
- <li><a class="reference internal" href="#match-escalation-threshold">7.3.26.4.3.1. <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code></a></li>
2504
- <li><a class="reference internal" href="#query-expansion">7.3.26.4.3.2. <code class="docutils literal"><span class="pre">query_expansion</span></code></a></li>
2505
- <li><a class="reference internal" href="#query-flags">7.3.26.4.3.3. <code class="docutils literal"><span class="pre">query_flags</span></code></a></li>
2506
- <li><a class="reference internal" href="#query-expander">7.3.26.4.3.4. <code class="docutils literal"><span class="pre">query_expander</span></code></a></li>
2502
+ <li><a class="reference internal" href="#advanced-search-parameters">7.3.29.4.3. Advanced search parameters</a><ul>
2503
+ <li><a class="reference internal" href="#match-escalation-threshold">7.3.29.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
2504
+ <li><a class="reference internal" href="#query-expansion">7.3.29.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
2505
+ <li><a class="reference internal" href="#query-flags">7.3.29.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt></a></li>
2506
+ <li><a class="reference internal" href="#query-expander">7.3.29.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
2507
2507
  </ul>
2508
2508
  </li>
2509
- <li><a class="reference internal" href="#output-related-parameters">7.3.26.4.4. Output related parameters</a><ul>
2510
- <li><a class="reference internal" href="#output-columns">7.3.26.4.4.1. <code class="docutils literal"><span class="pre">output_columns</span></code></a></li>
2511
- <li><a class="reference internal" href="#sortby">7.3.26.4.4.2. <code class="docutils literal"><span class="pre">sortby</span></code></a></li>
2512
- <li><a class="reference internal" href="#offset">7.3.26.4.4.3. <code class="docutils literal"><span class="pre">offset</span></code></a></li>
2513
- <li><a class="reference internal" href="#limit">7.3.26.4.4.4. <code class="docutils literal"><span class="pre">limit</span></code></a></li>
2514
- <li><a class="reference internal" href="#scorer">7.3.26.4.4.5. <code class="docutils literal"><span class="pre">scorer</span></code></a></li>
2509
+ <li><a class="reference internal" href="#output-related-parameters">7.3.29.4.4. Output related parameters</a><ul>
2510
+ <li><a class="reference internal" href="#output-columns">7.3.29.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
2511
+ <li><a class="reference internal" href="#sortby">7.3.29.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
2512
+ <li><a class="reference internal" href="#offset">7.3.29.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
2513
+ <li><a class="reference internal" href="#limit">7.3.29.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
2514
+ <li><a class="reference internal" href="#scorer">7.3.29.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
2515
2515
  </ul>
2516
2516
  </li>
2517
- <li><a class="reference internal" href="#facet-related-parameters">7.3.26.4.5. Facet related parameters</a><ul>
2518
- <li><a class="reference internal" href="#drilldown">7.3.26.4.5.1. <code class="docutils literal"><span class="pre">drilldown</span></code></a></li>
2519
- <li><a class="reference internal" href="#drilldown-sortby">7.3.26.4.5.2. <code class="docutils literal"><span class="pre">drilldown_sortby</span></code></a></li>
2520
- <li><a class="reference internal" href="#drilldown-output-columns">7.3.26.4.5.3. <code class="docutils literal"><span class="pre">drilldown_output_columns</span></code></a></li>
2521
- <li><a class="reference internal" href="#drilldown-offset">7.3.26.4.5.4. <code class="docutils literal"><span class="pre">drilldown_offset</span></code></a></li>
2522
- <li><a class="reference internal" href="#drilldown-limit">7.3.26.4.5.5. <code class="docutils literal"><span class="pre">drilldown_limit</span></code></a></li>
2517
+ <li><a class="reference internal" href="#facet-related-parameters">7.3.29.4.5. Facet related parameters</a><ul>
2518
+ <li><a class="reference internal" href="#drilldown">7.3.29.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
2519
+ <li><a class="reference internal" href="#drilldown-sortby">7.3.29.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
2520
+ <li><a class="reference internal" href="#drilldown-output-columns">7.3.29.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
2521
+ <li><a class="reference internal" href="#drilldown-offset">7.3.29.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
2522
+ <li><a class="reference internal" href="#drilldown-limit">7.3.29.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
2523
2523
  </ul>
2524
2524
  </li>
2525
- <li><a class="reference internal" href="#cache-related-parameter">7.3.26.4.6. Cache related parameter</a><ul>
2526
- <li><a class="reference internal" href="#cache">7.3.26.4.6.1. <code class="docutils literal"><span class="pre">cache</span></code></a></li>
2525
+ <li><a class="reference internal" href="#cache-related-parameter">7.3.29.4.6. Cache related parameter</a><ul>
2526
+ <li><a class="reference internal" href="#cache">7.3.29.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
2527
2527
  </ul>
2528
2528
  </li>
2529
- <li><a class="reference internal" href="#score-related-parameters">7.3.26.4.7. Score related parameters</a><ul>
2530
- <li><a class="reference internal" href="#adjuster">7.3.26.4.7.1. <code class="docutils literal"><span class="pre">adjuster</span></code></a></li>
2529
+ <li><a class="reference internal" href="#score-related-parameters">7.3.29.4.7. Score related parameters</a><ul>
2530
+ <li><a class="reference internal" href="#adjuster">7.3.29.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt></a></li>
2531
2531
  </ul>
2532
2532
  </li>
2533
2533
  </ul>
2534
2534
  </li>
2535
- <li><a class="reference internal" href="#id6">7.3.26.5. 返値</a></li>
2536
- <li><a class="reference internal" href="#see-also">7.3.26.6. See also</a></li>
2535
+ <li><a class="reference internal" href="#id6">7.3.29.5. 返値</a></li>
2536
+ <li><a class="reference internal" href="#see-also">7.3.29.6. See also</a></li>
2537
2537
  </ul>
2538
2538
  </li>
2539
2539
  </ul>
2540
2540
 
2541
2541
  <h4>Previous topic</h4>
2542
2542
  <p class="topless"><a href="ruby_load.html"
2543
- title="previous chapter">7.3.25. <code class="docutils literal"><span class="pre">ruby_load</span></code></a></p>
2543
+ title="previous chapter">7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
2544
2544
  <h4>Next topic</h4>
2545
2545
  <p class="topless"><a href="shutdown.html"
2546
- title="next chapter">7.3.27. <code class="docutils literal"><span class="pre">shutdown</span></code></a></p>
2547
- <div role="note" aria-label="source link">
2548
- <h3>This Page</h3>
2549
- <ul class="this-page-menu">
2550
- <li><a href="../../_sources/reference/commands/select.txt"
2551
- rel="nofollow">Show Source</a></li>
2552
- </ul>
2553
- </div>
2554
- <div id="searchbox" style="display: none" role="search">
2546
+ title="next chapter">7.3.30. <tt class="docutils literal"><span class="pre">shutdown</span></tt></a></p>
2547
+ <h3>This Page</h3>
2548
+ <ul class="this-page-menu">
2549
+ <li><a href="../../_sources/reference/commands/select.txt"
2550
+ rel="nofollow">Show Source</a></li>
2551
+ </ul>
2552
+ <div id="searchbox" style="display: none">
2555
2553
  <h3>Quick search</h3>
2556
2554
  <form class="search" action="../../search.html" method="get">
2557
2555
  <input type="text" name="q" />
@@ -2568,24 +2566,24 @@ the same <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</s
2568
2566
  </div>
2569
2567
  <div class="clearer"></div>
2570
2568
  </div>
2571
- <div class="related" role="navigation" aria-label="related navigation">
2569
+ <div class="related">
2572
2570
  <h3>Navigation</h3>
2573
2571
  <ul>
2574
2572
  <li class="right" style="margin-right: 10px">
2575
2573
  <a href="../../genindex.html" title="General Index"
2576
2574
  >index</a></li>
2577
2575
  <li class="right" >
2578
- <a href="shutdown.html" title="7.3.27. shutdown"
2576
+ <a href="shutdown.html" title="7.3.30. shutdown"
2579
2577
  >next</a> |</li>
2580
2578
  <li class="right" >
2581
- <a href="ruby_load.html" title="7.3.25. ruby_load"
2579
+ <a href="ruby_load.html" title="7.3.28. ruby_load"
2582
2580
  >previous</a> |</li>
2583
- <li><a href="../../index.html">Groonga v4.0.8 documentation</a> &raquo;</li>
2581
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
2584
2582
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2585
2583
  <li><a href="../command.html" >7.3. Command</a> &raquo;</li>
2586
2584
  </ul>
2587
2585
  </div>
2588
- <div class="footer" role="contentinfo">
2586
+ <div class="footer">
2589
2587
  &copy; Copyright 2009-2014, Brazil, Inc.
2590
2588
  </div>
2591
2589
  </body>