rroonga 4.0.6-x64-mingw32 → 4.0.7-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (599) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +14 -2
  4. data/ext/groonga/extconf.rb +0 -3
  5. data/ext/groonga/rb-grn-expression.c +1 -6
  6. data/ext/groonga/rb-grn-index-column.c +96 -0
  7. data/ext/groonga/rb-grn-index-cursor.c +32 -8
  8. data/ext/groonga/rb-grn-posting.c +26 -6
  9. data/ext/groonga/rb-grn-utils.c +27 -0
  10. data/ext/groonga/rb-grn.h +4 -1
  11. data/lib/1.9/groonga.so +0 -0
  12. data/lib/2.0/groonga.so +0 -0
  13. data/lib/2.1/groonga.so +0 -0
  14. data/rroonga-build.rb +3 -3
  15. data/test/test-column.rb +50 -12
  16. data/test/test-expression-builder.rb +1 -1
  17. data/test/test-expression.rb +80 -25
  18. data/test/test-index-column.rb +41 -0
  19. data/test/test-index-cursor.rb +21 -1
  20. data/test/test-table-key-support.rb +59 -1
  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_sjlj-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 +0 -0
  32. data/vendor/local/bin/lz4c +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/groonga.conf +1 -1
  39. data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
  40. data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
  41. data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
  42. data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
  43. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  44. data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
  45. data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
  46. data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
  47. data/vendor/local/etc/groonga/httpd/koi-win +103 -0
  48. data/vendor/local/etc/groonga/httpd/mime.types +89 -0
  49. data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
  50. data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
  51. data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
  52. data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
  53. data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
  54. data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
  55. data/vendor/local/etc/groonga/httpd/win-utf +126 -0
  56. data/vendor/local/include/groonga/groonga.h +5 -2095
  57. data/vendor/local/include/groonga/groonga/expr.h +108 -0
  58. data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
  59. data/vendor/local/include/groonga/groonga/ii.h +46 -0
  60. data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
  61. data/vendor/local/include/groonga/groonga/plugin.h +5 -3
  62. data/vendor/local/include/groonga/groonga/token.h +136 -0
  63. data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
  64. data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
  65. data/vendor/local/include/groonga/groonga/util.h +40 -0
  66. data/vendor/local/include/lz4.h +323 -0
  67. data/vendor/local/include/lz4hc.h +223 -0
  68. data/vendor/local/include/zconf.h +511 -0
  69. data/vendor/local/include/zlib.h +1768 -0
  70. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  74. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  75. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  76. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  77. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  78. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  79. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  80. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  81. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  82. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  83. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  84. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  85. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  86. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  87. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  88. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  89. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  90. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  91. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  92. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  93. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  94. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  95. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  96. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  97. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  98. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +22 -0
  99. data/vendor/local/lib/libgroonga.a +0 -0
  100. data/vendor/local/lib/libgroonga.dll.a +0 -0
  101. data/vendor/local/lib/libgroonga.la +3 -3
  102. data/vendor/local/lib/liblz4.a +0 -0
  103. data/vendor/local/lib/liblz4.dll +0 -0
  104. data/vendor/local/lib/liblz4.dll.1 +0 -0
  105. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  106. data/vendor/local/lib/libmecab.a +0 -0
  107. data/vendor/local/lib/libmecab.dll.a +0 -0
  108. data/vendor/local/lib/libmecab.la +3 -3
  109. data/vendor/local/lib/libmsgpack.a +0 -0
  110. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  111. data/vendor/local/lib/libmsgpack.la +3 -3
  112. data/vendor/local/lib/libmsgpackc.a +0 -0
  113. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  114. data/vendor/local/lib/libmsgpackc.la +3 -3
  115. data/vendor/local/lib/libonig.a +0 -0
  116. data/vendor/local/lib/libonig.dll.a +0 -0
  117. data/vendor/local/lib/libonig.la +2 -2
  118. data/vendor/local/lib/libz.a +0 -0
  119. data/vendor/local/lib/libz.dll.a +0 -0
  120. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  121. data/vendor/local/lib/pkgconfig/liblz4.pc +14 -0
  122. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  124. data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
  125. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  126. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  127. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  128. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  129. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  130. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  131. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  132. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  133. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +3 -24
  134. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
  135. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  137. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  138. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  139. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  140. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -19
  141. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  142. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
  143. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  144. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  145. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
  147. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
  148. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
  151. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
  152. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
  153. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
  154. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
  155. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
  156. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
  157. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
  158. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
  159. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
  160. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
  161. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  162. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  163. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  164. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  165. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
  166. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  167. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  168. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  169. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
  170. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  171. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  172. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  173. data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
  174. data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
  175. data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
  176. data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
  177. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
  178. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
  179. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
  180. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
  181. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
  182. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
  183. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
  184. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
  185. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
  186. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
  187. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
  188. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
  189. data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
  190. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
  191. data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
  192. data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
  193. data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
  194. data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
  195. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
  196. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
  197. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
  198. data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
  199. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  200. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
  201. data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
  202. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
  204. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
  205. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  206. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
  207. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
  208. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
  209. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
  210. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
  211. data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
  212. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  213. data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
  214. data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
  216. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
  217. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
  218. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
  219. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
  220. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
  221. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
  222. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
  223. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
  224. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
  225. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
  226. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
  227. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
  228. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
  229. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
  230. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
  231. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
  232. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
  233. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
  234. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
  235. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
  236. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
  237. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
  238. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
  239. data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
  240. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
  241. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
  242. data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
  243. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
  244. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
  245. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
  274. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
  275. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
  276. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
  277. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
  278. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
  279. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
  280. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
  281. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
  282. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
  283. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
  284. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  285. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
  286. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
  287. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
  288. data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
  299. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
  300. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
  301. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
  302. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
  303. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
  304. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
  305. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
  306. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
  307. data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
  308. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
  309. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
  310. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
  311. data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
  312. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
  313. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
  315. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
  316. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
  317. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
  318. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
  319. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
  320. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
  321. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
  322. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
  323. data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
  324. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  325. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  326. data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
  327. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
  328. data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
  329. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
  330. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
  331. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
  332. data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
  333. data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
  334. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
  335. data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
  336. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
  337. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  338. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  339. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
  350. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
  351. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -19
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
  378. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
  379. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  382. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  384. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
  385. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  386. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  387. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  388. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
  389. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  390. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  391. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  392. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
  393. data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
  394. data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
  395. data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
  402. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
  403. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
  404. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
  405. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
  406. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
  407. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
  408. data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
  409. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
  410. data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
  411. data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
  412. data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
  413. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
  414. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
  415. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
  416. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
  417. data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
  418. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  419. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
  420. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
  421. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
  423. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
  424. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  425. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
  426. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
  427. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
  428. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
  429. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
  430. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
  431. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  432. data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
  452. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
  453. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
  454. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
  455. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
  456. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
  457. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
  458. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
  459. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
  460. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
  461. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
  463. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
  464. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
  498. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
  499. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
  500. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
  501. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
  502. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
  503. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
  506. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
  507. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
  508. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
  509. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  510. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
  511. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
  512. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
  513. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
  514. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
  521. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
  522. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
  523. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
  524. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
  525. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
  526. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
  527. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
  528. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
  529. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
  530. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
  531. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
  532. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
  533. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
  534. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
  535. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
  536. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
  537. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
  538. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
  539. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
  540. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
  541. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
  542. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
  543. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  544. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  545. data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
  546. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
  547. data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
  548. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
  549. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
  550. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
  551. data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
  552. data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
  553. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
  554. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
  555. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
  556. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
  557. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  558. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  559. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
  560. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
  561. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
  562. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
  563. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
  564. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
  565. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
  566. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
  567. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  568. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
  569. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
  570. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  571. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  572. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  573. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  574. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  575. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  576. data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
  577. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
  578. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
  579. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  580. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  581. data/vendor/local/share/groonga/html/admin/index.html +2 -2
  582. data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
  583. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
  584. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
  585. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
  586. data/vendor/local/share/license/lz4/LICENSE +24 -0
  587. data/vendor/local/share/license/zlib/README +115 -0
  588. data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
  589. data/vendor/local/share/man/man1/groonga.1 +188 -227
  590. data/vendor/local/share/man/man1/lz4.1 +88 -0
  591. data/vendor/local/share/man/man1/lz4c.1 +33 -0
  592. data/vendor/local/share/man/man1/lz4cat.1 +32 -0
  593. metadata +118 -51
  594. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  595. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
  596. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
  597. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
  598. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
  599. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
@@ -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. select &mdash; Groonga v4.0.6-211-g8c0bb0b documentation</title>
10
+ <title>7.3.26. select &mdash; Groonga v4.0.8 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.6-211-g8c0bb0b',
18
+ VERSION: '4.0.8',
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.6-211-g8c0bb0b documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v4.0.8 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.3. Command" href="../command.html" />
30
- <link rel="next" title="7.3.26. shutdown" href="shutdown.html" />
31
- <link rel="prev" title="7.3.24. ruby_load" href="ruby_load.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" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,19 +48,19 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="shutdown.html" title="7.3.26. shutdown"
58
+ <a href="shutdown.html" title="7.3.27. shutdown"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="ruby_load.html" title="7.3.24. ruby_load"
61
+ <a href="ruby_load.html" title="7.3.25. ruby_load"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v4.0.8 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">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="select">
75
- <h1>7.3.25. <tt class="docutils literal"><span class="pre">select</span></tt><a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
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>
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><tt class="docutils literal"><span class="pre">select</span></tt> searches records that are matched to specified conditions
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
79
79
  from a table and then outputs them.</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>
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>
82
82
  </div>
83
83
  <div class="section" id="syntax">
84
- <h2>7.3.25.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>
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>
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 <tt class="docutils literal"><span class="pre">select</span></tt> to
108
108
  </div>
109
109
  </div>
110
110
  <div class="section" id="usage">
111
- <h2>7.3.25.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
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
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, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
149
+ <p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
150
150
  content and the number of likes for the entry. Title is key of
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>
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>
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.25.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
158
+ <h3>7.3.26.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 <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
160
+ all records in <code class="docutils literal"><span class="pre">Entries</span></code> 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 <tt class="docutils literal"><span class="pre">Entries</span></tt
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. <tt class="docutils literal"><span class="pre">select</span></tt>
230
+ second reason is that the number of all records is 5. <code class="docutils literal"><span class="pre">select</span></code>
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.25.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>
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>
239
239
  <div class="section" id="search-condition-query">
240
- <h4>7.3.25.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
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
246
246
  conditions. It can be used for non fulltext search conditions but
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>
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>
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 <tt class="docutils literal"><span class="pre">query</span></tt>
298
298
  # ]
299
299
  </pre></div>
300
300
  </div>
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
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
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.25.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>
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>
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 <tt class="docutils literal"><span class="pre">filter</spa
350
350
  # ]
351
351
  </pre></div>
352
352
  </div>
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>
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>
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.25.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>.
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>.
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><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
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
411
411
  started from the 2nd record.</p>
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>
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>
413
413
  means the number of output records is 1 at a maximium. If no records
414
- are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
414
+ are matched, <code class="docutils literal"><span class="pre">select</span></code> command outputs no records.</p>
415
415
  </div>
416
416
  <div class="section" id="the-total-number-of-records">
417
- <h3>7.3.25.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
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
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><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
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
457
457
  records.</p>
458
458
  </div>
459
459
  </div>
460
460
  <div class="section" id="parameters">
461
- <h2>7.3.25.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
461
+ <h2>7.3.26.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.25.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>
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>
466
466
  <div class="section" id="table">
467
- <span id="select-table"></span><h4>7.3.25.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>
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>
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
@@ -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.25.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
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
496
496
  feature.</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>
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>
500
500
  <div class="section" id="match-columns">
501
- <span id="select-match-columns"></span><h4>7.3.25.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>
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>
502
502
  <p>It specifies the default target column for fulltext search by
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>
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>
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 <tt class="docutils literal"><span class="pre">match_columns</span></tt> usage example.</p>
510
+ <p>Here is a simple <code class="docutils literal"><span class="pre">match_columns</span></code> 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><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
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
551
551
  records.</p>
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
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
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><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
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
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 <tt class="docutils literal"><span class="pre">query</span></tt> parameter value, the record is
603
+ columns is matched against <code class="docutils literal"><span class="pre">query</span></code> parameter value, the record is
604
604
  treated as matched.</p>
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
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
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><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
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
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.25.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>
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>
650
650
  <p>It specifies the query text. Normally, it is used for fulltext search
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
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
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, <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>
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>
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 <tt class="docutils literal"><span class="pre">word1</span></tt>
698
698
  # ]
699
699
  </pre></div>
700
700
  </div>
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>
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>
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 <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>
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>
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, <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>
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>
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 <tt class="docutils literal"><span class="pre">column</span></tt> colum
801
801
  # ]
802
802
  </pre></div>
803
803
  </div>
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>
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>
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 <tt class="docutils literal"><span class="pre">column</span></tt> colum
864
864
  # ]
865
865
  </pre></div>
866
866
  </div>
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>
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>
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.25.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>
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>
873
873
  <p>It specifies the filter text. Normally, it is used for complex search
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
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
876
876
  logical and. It means that matched records should be matched against
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
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
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, <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>
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>
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 <tt class="docutils literal"><span class="pre">column</span></tt> c
924
924
  # ]
925
925
  </pre></div>
926
926
  </div>
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>
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>
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 <tt class="docutils literal"><span class="pre">column</span></tt> c
987
987
  # ]
988
988
  </pre></div>
989
989
  </div>
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>
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>
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.25.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
996
+ <h3>7.3.26.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.25.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>
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>
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><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
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
1012
1012
  file</li>
1013
1013
  </ul>
1014
1014
  </div></blockquote>
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>
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>
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 <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
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
1102
1102
  search storategy escalation is used because the number of matched
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
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
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 <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (-1). So no
1109
+ records (0) is larger than <code class="docutils literal"><span class="pre">match_escalation_threshold</span></code> (-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.25.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>
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>
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.25.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>
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>
1122
1122
  <p>Here are available values:</p>
1123
1123
  <ul class="simple">
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>
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>
1129
1129
  </ul>
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
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
1131
1131
  implemented yet.</p>
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>
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>
1134
1134
  syntaxes.</p>
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
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
1137
1137
  update column because the column update syntax specifies column.</p>
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>
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>
1139
1139
  syntax. The query searches records that doesn't match
1140
- <tt class="docutils literal"><span class="pre">WORD</span></tt>. Leading NOT condition query is heavy query in many cases
1140
+ <code class="docutils literal"><span class="pre">WORD</span></code>. 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><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>
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>
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 <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>
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>
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 <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>
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>
1286
1286
  column values.</p>
1287
- <p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt>.</p>
1287
+ <p>Here is a usage example of <code class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></code>.</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 <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>
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>
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 <tt class="docutils literal"><span class="pre">content</span></tt> column val
1390
1390
  # ]
1391
1391
  </pre></div>
1392
1392
  </div>
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
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
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.25.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>
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>
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 <tt class="docutils literal"><span class="pre">query</span></tt> parameter
1404
+ <p>It specifies a column that is used to substitute <code class="docutils literal"><span class="pre">query</span></code> parameter
1405
1405
  value. The format of this parameter value is
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>
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>
1408
1408
  <p>Table for query expansion is called &quot;substitution table&quot;. Substitution
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>)
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>)
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
- <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>
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>
1415
1415
  <p>Query expansion substitutes key of substitution table in query with
1416
- values in substitution column. If a word in <tt class="docutils literal"><span class="pre">query</span></tt> is a key of
1416
+ values in substitution column. If a word in <code class="docutils literal"><span class="pre">query</span></code> 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
- <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
1422
+ <code class="docutils literal"><span class="pre">query_expander</span></code> 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><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
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
1442
1442
  matched in case insensitive manner.</p>
1443
1443
  <p>Note that those synonym values include the key value such as
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
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
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 <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
1451
+ <p>Here is a simple <code class="docutils literal"><span class="pre">query_expander</span></code> 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 <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>
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>
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 <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
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
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 <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
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
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 <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>
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>
1652
1652
  </div>
1653
1653
  </div>
1654
1654
  <div class="section" id="output-related-parameters">
1655
- <h3>7.3.25.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
1655
+ <h3>7.3.26.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.25.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>
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>
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 <tt class="docutils literal"><span class="pre">10</span
1689
1689
  # ]
1690
1690
  </pre></div>
1691
1691
  </div>
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
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
1693
1693
  values.</p>
1694
- <p><tt class="docutils literal"><span class="pre">*</span></tt> is a special value. It means that all columns that are not
1694
+ <p><code class="docutils literal"><span class="pre">*</span></code> 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 <tt class="docutils literal"><span class="pre">*</span></tt> usage example.</p>
1696
+ <p>Here is a <code class="docutils literal"><span class="pre">*</span></code> 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 <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
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
1736
1736
  column value.</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>
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>
1739
1739
  </div>
1740
1740
  <div class="section" id="sortby">
1741
- <h4>7.3.25.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
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
1743
1743
  name.</p>
1744
- <p>Here is a simple <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
1744
+ <p>Here is a simple <code class="docutils literal"><span class="pre">sortby</span></code> 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 <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>
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>
1814
1814
  are the case.</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>
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>
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 <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>
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>
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 <tt class="docutils literal"><
1920
1920
  # ]
1921
1921
  </pre></div>
1922
1922
  </div>
1923
- <p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts matched records by hit score in
1923
+ <p>The <code class="docutils literal"><span class="pre">select</span></code> 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 <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,
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,
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.25.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>
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>
1930
1930
  <p>It specifies offset to determine output records range. Offset is
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
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
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 <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
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
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 <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>
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>
2001
2001
  </div>
2002
2002
  <div class="section" id="limit">
2003
- <h4>7.3.25.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>
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>
2004
2004
  <p>It specifies the max number of output records. If the number of
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>
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>
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 <tt class="docutils literal"><span class="pre">limi
2037
2037
  # ]
2038
2038
  </pre></div>
2039
2039
  </div>
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
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
2043
2043
  records. It's very useful value to show all records.</p>
2044
- <p>Here is a simple negative <tt class="docutils literal"><span class="pre">limit</span></tt> value usage example.</p>
2044
+ <p>Here is a simple negative <code class="docutils literal"><span class="pre">limit</span></code> 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 <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>
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>
2113
2113
  </div>
2114
2114
  <div class="section" id="scorer">
2115
- <h4>7.3.25.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>
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>
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.25.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
2122
+ <h3>7.3.26.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.25.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>
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>
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.25.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>
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>
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.25.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>
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>
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.25.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>
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>
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.25.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>
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>
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.25.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
2150
+ <h3>7.3.26.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.25.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>
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>
2153
2153
  <p>TODO: write in English and add example.</p>
2154
2154
  <p>クエリキャッシュに関する動作を設定します。</p>
2155
- <p><tt class="docutils literal"><span class="pre">no</span></tt></p>
2155
+ <p><code class="docutils literal"><span class="pre">no</span></code></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.25.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>
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>
2163
2163
  <div class="section" id="adjuster">
2164
- <span id="select-adjuster"></span><h4>7.3.25.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>
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>
2165
2165
  <p>It specifies one or more score adjust expressions. You need to use
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
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
2167
2167
  with not searched request.</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>
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>
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 <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> syntax:</p>
2176
+ <p>Here is the <code class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></code> 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><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>
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>
2186
2186
  </ul>
2187
2187
  </div></blockquote>
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>
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>
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 <tt class="docutils literal"><span class="pre">groonga</span></tt> tag
2247
2247
  # ]
2248
2248
  </pre></div>
2249
2249
  </div>
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>
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>
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 <tt class="docutils literal"><span class="pre">&quot;Groo
2314
2314
  # ]
2315
2315
  </pre></div>
2316
2316
  </div>
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
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
2318
2318
  the factor is treated as 1. There is only one record that has
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>
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>
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 <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span>
2380
2380
  # ]
2381
2381
  </pre></div>
2382
2382
  </div>
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>.
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>.
2390
2390
  It increases score by 5.</p>
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>.
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>.
2392
2392
  It increases score by 3.</p>
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
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
2396
2396
  the same value. You can change increase score for each record that has
2397
- the same <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></tt>. It is useful to tune search score. See
2397
+ the same <code class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</span></code>. 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.25.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
2403
+ <h2>7.3.26.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><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
2409
+ <p><code class="docutils literal"><span class="pre">リターンコード</span></code></p>
2410
2410
  <blockquote>
2411
2411
  <div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
2412
2412
  文字列が返されます。</div></blockquote>
2413
- <p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
2413
+ <p><code class="docutils literal"><span class="pre">処理開始時間</span></code></p>
2414
2414
  <blockquote>
2415
2415
  <div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
2416
- <p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
2416
+ <p><code class="docutils literal"><span class="pre">処理時間</span></code></p>
2417
2417
  <blockquote>
2418
2418
  <div>処理にかかった秒数を返します。</div></blockquote>
2419
- <p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
2419
+ <p><code class="docutils literal"><span class="pre">検索結果</span></code></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><tt class="docutils literal"><span class="pre">ヒット数</span></tt></p>
2425
+ <p><code class="docutils literal"><span class="pre">ヒット数</span></code></p>
2426
2426
  <blockquote>
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>
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>
2429
2429
  <blockquote>
2430
2430
  <div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
2431
- <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
2431
+ <p><code class="docutils literal"><span class="pre">カラム型n</span></code></p>
2432
2432
  <blockquote>
2433
2433
  <div>output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
2434
- <p><tt class="docutils literal"><span class="pre">検索結果n</span></tt></p>
2434
+ <p><code class="docutils literal"><span class="pre">検索結果n</span></code></p>
2435
2435
  <blockquote>
2436
2436
  <div>output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
2437
2437
  </div></blockquote>
2438
- <p><tt class="docutils literal"><span class="pre">drilldown結果</span></tt></p>
2438
+ <p><code class="docutils literal"><span class="pre">drilldown結果</span></code></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><tt class="docutils literal"><span class="pre">件数</span></tt></p>
2444
+ <p><code class="docutils literal"><span class="pre">件数</span></code></p>
2445
2445
  <blockquote>
2446
2446
  <div>drilldownに指定されたカラムの値の異なり数が出力されます。</div></blockquote>
2447
- <p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
2447
+ <p><code class="docutils literal"><span class="pre">カラム名n</span></code></p>
2448
2448
  <blockquote>
2449
2449
  <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
2450
- <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
2450
+ <p><code class="docutils literal"><span class="pre">カラム型n</span></code></p>
2451
2451
  <blockquote>
2452
2452
  <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
2453
- <p><tt class="docutils literal"><span class="pre">ドリルダウン結果n</span></tt></p>
2453
+ <p><code class="docutils literal"><span class="pre">ドリルダウン結果n</span></code></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.25.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
2459
+ <h2>7.3.26.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,86 +2470,88 @@ the same <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</spa
2470
2470
  </div>
2471
2471
  </div>
2472
2472
  </div>
2473
- <div class="sphinxsidebar">
2473
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
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.25. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
2478
- <li><a class="reference internal" href="#summary">7.3.25.1. Summary</a></li>
2479
- <li><a class="reference internal" href="#syntax">7.3.25.2. Syntax</a></li>
2480
- <li><a class="reference internal" href="#usage">7.3.25.3. Usage</a><ul>
2481
- <li><a class="reference internal" href="#simple-usage">7.3.25.3.1. Simple usage</a></li>
2482
- <li><a class="reference internal" href="#search-conditions">7.3.25.3.2. Search conditions</a><ul>
2483
- <li><a class="reference internal" href="#search-condition-query">7.3.25.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.25.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
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>
2485
2485
  </ul>
2486
2486
  </li>
2487
- <li><a class="reference internal" href="#paging">7.3.25.3.3. Paging</a></li>
2488
- <li><a class="reference internal" href="#the-total-number-of-records">7.3.25.3.4. The total number of records</a></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>
2489
2489
  </ul>
2490
2490
  </li>
2491
- <li><a class="reference internal" href="#parameters">7.3.25.4. Parameters</a><ul>
2492
- <li><a class="reference internal" href="#required-parameter">7.3.25.4.1. Required parameter</a><ul>
2493
- <li><a class="reference internal" href="#table">7.3.25.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></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>
2494
2494
  </ul>
2495
2495
  </li>
2496
- <li><a class="reference internal" href="#search-related-parameters">7.3.25.4.2. Search related parameters</a><ul>
2497
- <li><a class="reference internal" href="#match-columns">7.3.25.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.25.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.25.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></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>
2500
2500
  </ul>
2501
2501
  </li>
2502
- <li><a class="reference internal" href="#advanced-search-parameters">7.3.25.4.3. Advanced search parameters</a><ul>
2503
- <li><a class="reference internal" href="#match-escalation-threshold">7.3.25.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.25.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.25.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.25.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></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>
2507
2507
  </ul>
2508
2508
  </li>
2509
- <li><a class="reference internal" href="#output-related-parameters">7.3.25.4.4. Output related parameters</a><ul>
2510
- <li><a class="reference internal" href="#output-columns">7.3.25.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.25.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.25.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.25.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.25.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></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>
2515
2515
  </ul>
2516
2516
  </li>
2517
- <li><a class="reference internal" href="#facet-related-parameters">7.3.25.4.5. Facet related parameters</a><ul>
2518
- <li><a class="reference internal" href="#drilldown">7.3.25.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.25.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.25.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.25.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.25.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></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>
2523
2523
  </ul>
2524
2524
  </li>
2525
- <li><a class="reference internal" href="#cache-related-parameter">7.3.25.4.6. Cache related parameter</a><ul>
2526
- <li><a class="reference internal" href="#cache">7.3.25.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></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>
2527
2527
  </ul>
2528
2528
  </li>
2529
- <li><a class="reference internal" href="#score-related-parameters">7.3.25.4.7. Score related parameters</a><ul>
2530
- <li><a class="reference internal" href="#adjuster">7.3.25.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt></a></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>
2531
2531
  </ul>
2532
2532
  </li>
2533
2533
  </ul>
2534
2534
  </li>
2535
- <li><a class="reference internal" href="#id6">7.3.25.5. 返値</a></li>
2536
- <li><a class="reference internal" href="#see-also">7.3.25.6. See also</a></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>
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.24. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
2543
+ title="previous chapter">7.3.25. <code class="docutils literal"><span class="pre">ruby_load</span></code></a></p>
2544
2544
  <h4>Next topic</h4>
2545
2545
  <p class="topless"><a href="shutdown.html"
2546
- title="next chapter">7.3.26. <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">
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">
2553
2555
  <h3>Quick search</h3>
2554
2556
  <form class="search" action="../../search.html" method="get">
2555
2557
  <input type="text" name="q" />
@@ -2566,24 +2568,24 @@ the same <tt class="docutils literal"><span class="pre">&quot;KEYWORD&quot;</spa
2566
2568
  </div>
2567
2569
  <div class="clearer"></div>
2568
2570
  </div>
2569
- <div class="related">
2571
+ <div class="related" role="navigation" aria-label="related navigation">
2570
2572
  <h3>Navigation</h3>
2571
2573
  <ul>
2572
2574
  <li class="right" style="margin-right: 10px">
2573
2575
  <a href="../../genindex.html" title="General Index"
2574
2576
  >index</a></li>
2575
2577
  <li class="right" >
2576
- <a href="shutdown.html" title="7.3.26. shutdown"
2578
+ <a href="shutdown.html" title="7.3.27. shutdown"
2577
2579
  >next</a> |</li>
2578
2580
  <li class="right" >
2579
- <a href="ruby_load.html" title="7.3.24. ruby_load"
2581
+ <a href="ruby_load.html" title="7.3.25. ruby_load"
2580
2582
  >previous</a> |</li>
2581
- <li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> &raquo;</li>
2583
+ <li><a href="../../index.html">Groonga v4.0.8 documentation</a> &raquo;</li>
2582
2584
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2583
2585
  <li><a href="../command.html" >7.3. Command</a> &raquo;</li>
2584
2586
  </ul>
2585
2587
  </div>
2586
- <div class="footer">
2588
+ <div class="footer" role="contentinfo">
2587
2589
  &copy; Copyright 2009-2014, Brazil, Inc.
2588
2590
  </div>
2589
2591
  </body>