rroonga 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. data/AUTHORS +5 -0
  2. data/Gemfile +1 -12
  3. data/README.textile +73 -0
  4. data/Rakefile +4 -57
  5. data/bin/grndump +11 -1
  6. data/ext/groonga/extconf.rb +125 -54
  7. data/ext/groonga/rb-grn-context.c +25 -7
  8. data/ext/groonga/rb-grn-database.c +25 -0
  9. data/ext/groonga/rb-grn-object.c +19 -7
  10. data/ext/groonga/rb-grn-table.c +8 -10
  11. data/ext/groonga/rb-grn.h +9 -2
  12. data/lib/1.8/groonga.so +0 -0
  13. data/lib/1.9/groonga.so +0 -0
  14. data/lib/groonga/dumper.rb +2 -2
  15. data/lib/groonga/expression-builder.rb +33 -18
  16. data/rroonga-build.rb +1 -1
  17. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  18. data/vendor/local/bin/groonga.exe +0 -0
  19. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  20. data/vendor/local/bin/libgroonga-0.dll +0 -0
  21. data/vendor/local/bin/libmecab-1.dll +0 -0
  22. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  23. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  24. data/vendor/local/bin/libstdc++-6.dll +0 -0
  25. data/vendor/local/bin/mecab-config +0 -0
  26. data/vendor/local/bin/mecab.exe +0 -0
  27. data/vendor/local/include/groonga/groonga.h +5 -5
  28. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  30. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
  32. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  34. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
  36. data/vendor/local/lib/libgroonga.a +0 -0
  37. data/vendor/local/lib/libgroonga.dll.a +0 -0
  38. data/vendor/local/lib/libgroonga.la +0 -0
  39. data/vendor/local/lib/libmecab.a +0 -0
  40. data/vendor/local/lib/libmecab.dll.a +0 -0
  41. data/vendor/local/lib/libmecab.la +0 -0
  42. data/vendor/local/lib/libmsgpack.a +0 -0
  43. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  44. data/vendor/local/lib/libmsgpack.la +0 -0
  45. data/vendor/local/lib/libmsgpackc.a +0 -0
  46. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  47. data/vendor/local/lib/libmsgpackc.la +0 -0
  48. data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
  49. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  50. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  54. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  55. data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +349 -109
  56. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +41 -10
  57. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +71 -0
  58. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
  59. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +154 -4
  60. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +21 -29
  61. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  62. data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
  63. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
  64. data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
  65. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
  66. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
  67. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
  68. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
  69. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
  70. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
  71. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
  72. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
  73. data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
  74. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
  75. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/commands/select.html +683 -162
  79. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +170 -12
  82. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
  101. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/index.html +23 -16
  115. data/vendor/local/share/doc/groonga/en/html/indexing.html +95 -14
  116. data/vendor/local/share/doc/groonga/en/html/install.html +67 -37
  117. data/vendor/local/share/doc/groonga/en/html/limitations.html +9 -9
  118. data/vendor/local/share/doc/groonga/en/html/log.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/news.html +161 -25
  125. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  126. data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  131. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
  132. data/vendor/local/share/doc/groonga/en/html/spec.html +13 -11
  133. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +33 -6
  134. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +33 -6
  135. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +37 -6
  137. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +293 -29
  142. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +340 -27
  144. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +282 -24
  147. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +524 -15
  148. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +103 -8
  149. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +128 -13
  150. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +155 -17
  151. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
  154. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  155. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +349 -109
  156. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +41 -10
  157. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +71 -0
  158. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
  159. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +154 -4
  160. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +21 -29
  161. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  162. data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
  163. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
  164. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
  165. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
  166. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
  167. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
  168. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
  169. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
  170. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
  171. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
  172. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
  173. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
  174. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
  175. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
  176. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
  177. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
  178. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +601 -162
  179. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
  180. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
  181. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +170 -12
  182. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
  183. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
  184. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
  185. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
  186. data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
  187. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  188. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  189. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  190. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  191. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  192. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  193. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  194. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  195. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  196. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  197. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  198. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
  199. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
  200. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
  201. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
  202. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
  203. data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
  204. data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
  205. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
  206. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
  207. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
  208. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
  209. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
  210. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +5 -5
  211. data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
  212. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  213. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  214. data/vendor/local/share/doc/groonga/ja/html/index.html +23 -16
  215. data/vendor/local/share/doc/groonga/ja/html/indexing.html +95 -14
  216. data/vendor/local/share/doc/groonga/ja/html/install.html +66 -37
  217. data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -9
  218. data/vendor/local/share/doc/groonga/ja/html/log.html +5 -5
  219. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  220. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  221. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  222. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  223. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  224. data/vendor/local/share/doc/groonga/ja/html/news.html +147 -25
  225. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  226. data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
  227. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
  228. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  229. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  230. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  231. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
  232. data/vendor/local/share/doc/groonga/ja/html/spec.html +13 -11
  233. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +33 -6
  234. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -6
  235. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +37 -6
  237. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +292 -28
  242. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  243. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +340 -27
  244. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +282 -24
  247. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +524 -15
  248. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +103 -8
  249. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +128 -13
  250. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +155 -17
  251. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  253. data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
  254. data/vendor/local/share/doc/groonga/source/commands/select.txt +349 -109
  255. data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +28 -1
  256. data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +28 -1
  257. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +1 -1
  258. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +1 -1
  259. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +1 -1
  260. data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +74 -1
  261. data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +32 -1
  262. data/vendor/local/share/doc/groonga/source/conf.py +3 -3
  263. data/vendor/local/share/doc/groonga/source/example/completion-1.log +28 -1
  264. data/vendor/local/share/doc/groonga/source/example/correction-1.log +28 -1
  265. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +32 -1
  266. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +1 -1
  267. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +38 -3
  268. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +46 -4
  269. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +38 -3
  270. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +38 -3
  271. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +38 -3
  272. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +40 -3
  273. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +48 -3
  274. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +6 -6
  275. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +100 -3
  276. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +5 -5
  277. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +80 -2
  278. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +75 -1
  279. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +31 -4
  280. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +38 -1
  281. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +7 -7
  282. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +132 -3
  283. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +6 -6
  284. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +132 -3
  285. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +32 -1
  286. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +95 -1
  287. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +32 -1
  288. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +32 -1
  289. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +86 -1
  290. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +32 -1
  291. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +70 -1
  292. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +51 -1
  293. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +55 -1
  294. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +34 -1
  295. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +18 -1
  296. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +80 -2
  297. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +34 -3
  298. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +89 -5
  299. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +8 -8
  300. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +66 -2
  301. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +76 -2
  302. data/vendor/local/share/doc/groonga/source/install.txt +41 -10
  303. data/vendor/local/share/doc/groonga/source/news.txt +71 -0
  304. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +1 -1
  305. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  306. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +1 -1
  307. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  308. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +1 -1
  309. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  310. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +1 -1
  311. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  312. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +1 -1
  313. data/vendor/local/share/groonga/html/admin/css/{admin.css → groonga-admin.css} +5 -4
  314. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  315. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  316. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  317. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  318. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  319. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  320. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  321. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  322. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ffd27a_256x240.png → redmond/images/ui-icons_217bc0_256x240.png} +0 -0
  323. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_222222_256x240.png → redmond/images/ui-icons_2e83ff_256x240.png} +0 -0
  324. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_228ef1_256x240.png → redmond/images/ui-icons_469bdd_256x240.png} +0 -0
  325. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  326. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  327. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ef8c08_256x240.png → redmond/images/ui-icons_d8e7f3_256x240.png} +0 -0
  328. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  329. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/jquery-ui-1.8.1.custom.css → redmond/jquery-ui-1.8.18.custom.css} +169 -90
  330. data/vendor/local/share/groonga/html/admin/images/groonga.svg +121 -0
  331. data/vendor/local/share/groonga/html/admin/index.html +44 -1145
  332. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +1354 -0
  333. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +4 -0
  334. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +356 -0
  335. data/vendor/local/share/man/ja/man1/groonga.1 +2813 -331
  336. data/vendor/local/share/man/man1/groonga.1 +2898 -337
  337. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  338. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  339. metadata +988 -921
  340. data/test/groonga-test-utils.rb +0 -139
  341. data/test/run-test.rb +0 -60
  342. data/test/test-accessor.rb +0 -36
  343. data/test/test-array.rb +0 -123
  344. data/test/test-column.rb +0 -350
  345. data/test/test-command-select.rb +0 -147
  346. data/test/test-context.rb +0 -130
  347. data/test/test-database-dumper.rb +0 -259
  348. data/test/test-database.rb +0 -148
  349. data/test/test-double-array-trie.rb +0 -164
  350. data/test/test-encoding.rb +0 -33
  351. data/test/test-exception.rb +0 -96
  352. data/test/test-expression-builder.rb +0 -269
  353. data/test/test-expression.rb +0 -134
  354. data/test/test-fix-size-column.rb +0 -77
  355. data/test/test-gqtp.rb +0 -70
  356. data/test/test-hash.rb +0 -344
  357. data/test/test-index-column.rb +0 -180
  358. data/test/test-index-cursor.rb +0 -93
  359. data/test/test-logger.rb +0 -37
  360. data/test/test-pagination.rb +0 -249
  361. data/test/test-patricia-trie.rb +0 -415
  362. data/test/test-plugin.rb +0 -35
  363. data/test/test-procedure.rb +0 -37
  364. data/test/test-query-log.rb +0 -258
  365. data/test/test-record.rb +0 -569
  366. data/test/test-remote.rb +0 -63
  367. data/test/test-schema-create-table.rb +0 -267
  368. data/test/test-schema-dumper.rb +0 -235
  369. data/test/test-schema-type.rb +0 -208
  370. data/test/test-schema-view.rb +0 -90
  371. data/test/test-schema.rb +0 -886
  372. data/test/test-snippet.rb +0 -130
  373. data/test/test-table-cursor.rb +0 -187
  374. data/test/test-table-dumper.rb +0 -83
  375. data/test/test-table-offset-and-limit.rb +0 -100
  376. data/test/test-table-select-mecab.rb +0 -80
  377. data/test/test-table-select-normalize.rb +0 -57
  378. data/test/test-table-select-weight.rb +0 -123
  379. data/test/test-table-select.rb +0 -191
  380. data/test/test-table.rb +0 -675
  381. data/test/test-type.rb +0 -79
  382. data/test/test-variable-size-column.rb +0 -147
  383. data/test/test-variable.rb +0 -28
  384. data/test/test-vector-column.rb +0 -76
  385. data/test/test-version.rb +0 -61
  386. data/test/test-view.rb +0 -72
  387. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  388. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  389. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  390. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  391. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  392. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  393. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  394. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  395. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  396. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  397. data/vendor/local/share/groonga/html/admin/js/jquery-1.4.2.min.js +0 -154
  398. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.1.custom.min.js +0 -756
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>7.3.17. select &mdash; groonga v2.0.0ドキュメント</title>
12
+ <title>7.3.17. select &mdash; groonga v2.0.1ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.0',
20
+ VERSION: '2.0.1',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="../_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
31
- <link rel="top" title="groonga v2.0.0ドキュメント" href="../index.html" />
31
+ <link rel="top" title="groonga v2.0.1ドキュメント" href="../index.html" />
32
32
  <link rel="up" title="7.3. コマンド" href="../commands.html" />
33
33
  <link rel="next" title="7.3.18. shutdown" href="shutdown.html" />
34
34
  <link rel="prev" title="7.3.16. quit" href="quit.html" />
@@ -63,7 +63,7 @@
63
63
  <li class="right" >
64
64
  <a href="quit.html" title="7.3.16. quit"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="../index.html">groonga v2.0.0ドキュメント</a> &raquo;</li>
66
+ <li><a href="../index.html">groonga v2.0.1ドキュメント</a> &raquo;</li>
67
67
  <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
68
68
  <li><a href="../commands.html" accesskey="U">7.3. コマンド</a> &raquo;</li>
69
69
  </ul>
@@ -76,157 +76,558 @@
76
76
 
77
77
  <div class="section" id="select">
78
78
  <h1>7.3.17. select<a class="headerlink" href="#select" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
- <div class="section" id="id1">
80
- <h2>7.3.17.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
- <p>select - テーブルの中から条件にマッチするレコードを検索して出力する</p>
82
- </div>
83
- <div class="section" id="id2">
84
- <h2>7.3.17.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
85
- <div class="highlight-none"><div class="highlight"><pre>select table [match_columns [query [filter [scorer [sortby [output_columns
86
- [offset [limit [drilldown [drilldown_sortby [drilldown_output_columns
87
- [drilldown_offset [drilldown_limit [cache
88
- [match_escalation_threshold [query_expansion]]]]]]]]]]]]]]]]
79
+ <div class="section" id="summary">
80
+ <h2>7.3.17.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> はテーブルから指定された条件にマッチするレコードを検索し、見つかったレコードを出力します。</p>
82
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> は最も重要なgroongaのコマンドです。groongaの力を最大限に活かすためには <tt class="docutils literal"><span class="pre">select</span></tt> を理解する必要があります。</p>
83
+ </div>
84
+ <div class="section" id="syntax">
85
+ <h2>7.3.17.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> には多くの引数があります。必須の引数は <tt class="docutils literal"><span class="pre">table</span></tt> だけで、残りは省略できます。:</p>
87
+ <div class="highlight-none"><div class="highlight"><pre>select table
88
+ [match_columns=null]
89
+ [query=null]
90
+ [filter=null]
91
+ [scorer=null]
92
+ [sortby=null]
93
+ [output_columns=&quot;_id, _key, *&quot;]
94
+ [offset=0]
95
+ [limit=10]
96
+ [drilldown=null]
97
+ [drilldown_sortby=null]
98
+ [drilldown_output_columns=null]
99
+ [drilldown_offset=0]
100
+ [drilldown_limit=10]
101
+ [cache=yes]
102
+ [match_escalation_threshold=0]
103
+ [query_expansion=null]
89
104
  </pre></div>
90
105
  </div>
91
106
  </div>
92
- <div class="section" id="id3">
93
- <h2>7.3.17.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
94
- <p>groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
95
- <p>selectは、使用しているデータベースのテーブルの中から条件にマッチするレコードを検索して出力します。</p>
107
+ <div class="section" id="usage">
108
+ <h2>7.3.17.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
109
+ <p>例を使いながら <tt class="docutils literal"><span class="pre">select</span></tt> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
110
+ <p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
111
+ <p>Execution example:</p>
112
+ <div class="highlight-none"><div class="highlight"><pre>&gt; table_create Entries TABLE_HASH_KEY ShortText
113
+ [[0,1335594537.43378,0.000381708145141602],true]
114
+ &gt; column_create Entries content COLUMN_SCALAR Text
115
+ [[0,1335594537.63582,0.000931501388549805],true]
116
+ &gt; table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
117
+ [[0,1335594537.83776,0.000288009643554688],true]
118
+ &gt; column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
119
+ [[0,1335594538.03901,0.0059964656829834],true]
120
+ &gt; column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
121
+ [[0,1335594538.24584,0.00617790222167969],true]
122
+ &gt; load --table Entries
123
+ &gt; [
124
+ &gt; {&quot;_key&quot;: &quot;The first post!&quot;, &quot;content&quot;: &quot;Welcome! This is my first post!&quot;},
125
+ &gt; {&quot;_key&quot;: &quot;Groonga&quot;, &quot;content&quot;: &quot;I started to use groonga. It&#39;s very fast!&quot;}
126
+ &gt; {&quot;_key&quot;: &quot;Mroonga&quot;, &quot;content&quot;: &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;}
127
+ &gt; ]
128
+ </pre></div>
96
129
  </div>
97
- <div class="section" id="id4">
98
- <h2>7.3.17.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
99
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
100
- <blockquote>
101
- <div>検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーになります。</div></blockquote>
102
- <p><tt class="docutils literal"><span class="pre">match_columns</span></tt></p>
103
- <blockquote>
104
- <div><p>query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定します。</p>
105
- <blockquote>
106
- <div>カラム名</div></blockquote>
107
- <p>カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のスコアに積算される重みを指定することができます。</p>
108
- <blockquote>
109
- <div>カラム名 * 重み</div></blockquote>
110
- <p>複数のカラムを'||'で結合して指定することもできます。</p>
111
- <blockquote>
112
- <div>カラム名1 * 重み1 || カラム名2 * 重み2</div></blockquote>
113
- <p>また、カラム名ではなく、検索に使用するインデックス名を指定することもできます。</p>
114
- </div></blockquote>
115
- <p><tt class="docutils literal"><span class="pre">query</span></tt></p>
116
- <blockquote>
117
- <div>以下の形式の文字列によって検索条件を指定します。</div></blockquote>
118
- <div class="section" id="id5">
119
- <h3>7.3.17.4.1. 条件式<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h3>
120
- <p>以下の条件式が使用できます。</p>
121
- <dl class="docutils">
122
- <dt>文字列</dt>
123
- <dd>全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)</dd>
124
- <dt>&quot;文字列&quot;</dt>
125
- <dd>フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでいる)</dd>
126
- <dt>カラム名:値</dt>
127
- <dd>一致条件(カラム値 == 値)</dd>
128
- <dt>カラム名:!値</dt>
129
- <dd>不一致条件(カラム値 != 値)</dd>
130
- <dt>カラム名:&lt;値</dt>
131
- <dd>比較条件(カラム値 &lt; 値)</dd>
132
- <dt>カラム名:&gt;値</dt>
133
- <dd>比較条件(カラム値 &gt; 値)</dd>
134
- <dt>カラム名:&lt;=値</dt>
135
- <dd>比較条件(カラム値 &lt;= 値)</dd>
136
- <dt>カラム名:&gt;=値</dt>
137
- <dd>比較条件(カラム値 &gt;= 値)</dd>
138
- <dt>カラム名:&#64;文字列</dt>
139
- <dd>全文検索条件(カラム値が指定された文字列を含んでいる)</dd>
140
- </dl>
141
- </div>
142
- <div class="section" id="id6">
143
- <h3>7.3.17.4.2. 結合演算子<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h3>
144
- <p>複数の条件式を結合するために以下の演算子が使用できます。</p>
145
- <dl class="docutils">
146
- <dt>a OR b</dt>
147
- <dd>論理和(aとbといずれかの条件がマッチする)</dd>
148
- <dt>a + b</dt>
149
- <dd>論理積(aとbの両方がマッチする)</dd>
150
- <dt>a - b</dt>
151
- <dd>aにマッチし、bにはマッチしない</dd>
152
- <dt>( )</dt>
153
- <dd>複数の条件をまとめる</dd>
154
- </dl>
155
- <p><tt class="docutils literal"><span class="pre">filter</span></tt></p>
156
- <blockquote>
157
- <div><p>絞り込み条件をscript形式のgrn_expr文字列によって指定します。</p>
158
- <p>query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードのみがヒットします。どちらも指定しない場合は全件がヒットします。</p>
159
- </div></blockquote>
160
- <p><tt class="docutils literal"><span class="pre">scorer</span></tt></p>
130
+ <p>ブログエントリ用の <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルがあります。各エントリはタイトルと内容を持っています。タイトルは <tt class="docutils literal"><span class="pre">Entries</span></tt> のキーとします。内容は <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムの値とします。</p>
131
+ <p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> カラムと <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムには <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> トークナイザーを使ってのインデックスを作成します。そのため、 <tt class="docutils literal"><span class="pre">Entries._key</span></tt> と <tt class="docutils literal"><span class="pre">Entries.content</span></tt> は両方とも全文検索できます。</p>
132
+ <p>これで例を示すためのスキーマとデータの準備ができました。</p>
133
+ <div class="section" id="simple-usage">
134
+ <h3>7.3.17.3.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
135
+ <p>上記のスキーマとデータを使った一番簡単な使い方を示します。この例では <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルのすべてのレコードを出力します。</p>
136
+ <p>Execution example:</p>
137
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries
138
+ [
139
+ [
140
+ 0,
141
+ 1335519592.67133,
142
+ 0.000493049621582031
143
+ ],
144
+ [
145
+ [
146
+ [
147
+ 3
148
+ ],
149
+ [
150
+ [
151
+ &quot;_id&quot;,
152
+ &quot;UInt32&quot;
153
+ ],
154
+ [
155
+ &quot;_key&quot;,
156
+ &quot;ShortText&quot;
157
+ ],
158
+ [
159
+ &quot;content&quot;,
160
+ &quot;Text&quot;
161
+ ]
162
+ ],
163
+ [
164
+ 1,
165
+ &quot;The first post!&quot;,
166
+ &quot;Welcome! This is my first post!&quot;
167
+ ],
168
+ [
169
+ 2,
170
+ &quot;Groonga&quot;,
171
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
172
+ ],
173
+ [
174
+ 3,
175
+ &quot;Mroonga&quot;,
176
+ &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
177
+ ]
178
+ ]
179
+ ]
180
+ ]
181
+ </pre></div>
182
+ </div>
183
+ <p>どうしてこのコマンドがすべてのレコードを出力するのでしょうか?理由は2つです。1つ目の理由はこのコマンドが検索条件を何も指定していないからです。検索条件を指定しないとすべてのレコードがマッチします。2つ目の理由は全レコード数が2だからです。 <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはデフォルトでは最大10レコードを出力します。この例では3レコードしかありません。これは10よりも少ないのですべてのレコードを出力します。</p>
184
+ </div>
185
+ <div class="section" id="search-conditions">
186
+ <h3>7.3.17.3.2. 検索条件<a class="headerlink" href="#search-conditions" title="このヘッドラインへのパーマリンク">¶</a></h3>
187
+ <p>検索条件は <tt class="docutils literal"><span class="pre">query</span></tt> または <tt class="docutils literal"><span class="pre">filter</span></tt> で指定します。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を両方指定することもできます。この場合は <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> の両方の条件にマッチしたレコードが出力されます。</p>
188
+ <div class="section" id="search-condition-query">
189
+ <h4>7.3.17.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="このヘッドラインへのパーマリンク">¶</a></h4>
190
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> はWebページの検索ボックス用に用意されています。例えば、google.co.jpにあるような検索ボックスです。 <tt class="docutils literal"><span class="pre">query</span></tt> の検索条件はスペース区切りでキーワードを指定します。例えば、 <tt class="docutils literal"><span class="pre">検索</span> <span class="pre">エンジン</span></tt> は <tt class="docutils literal"><span class="pre">検索</span></tt> と <tt class="docutils literal"><span class="pre">エンジン</span></tt> という2つのキーワードを含むレコードを検索します。</p>
191
+ <p>通常は <tt class="docutils literal"><span class="pre">query</span></tt> パラメータは全文検索条件を指定するために使います。全文検索条件以外も指定できますが、その用途には <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータの方が向いています。</p>
192
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> パラメータで全文検索条件を指定する場合は、 <tt class="docutils literal"><span class="pre">match_columns</span></tt> パラメータと一緒に使います。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> はどのカラムまたはインデックスを使って <tt class="docutils literal"><span class="pre">query</span></tt> を検索するかを指定します。</p>
193
+ <p>以下は簡単な <tt class="docutils literal"><span class="pre">query</span></tt> の使用例です。</p>
194
+ <p>Execution example:</p>
195
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast
196
+ [
197
+ [
198
+ 0,
199
+ 1335519592.87374,
200
+ 0.000868797302246094
201
+ ],
202
+ [
203
+ [
204
+ [
205
+ 2
206
+ ],
207
+ [
208
+ [
209
+ &quot;_id&quot;,
210
+ &quot;UInt32&quot;
211
+ ],
212
+ [
213
+ &quot;_key&quot;,
214
+ &quot;ShortText&quot;
215
+ ],
216
+ [
217
+ &quot;content&quot;,
218
+ &quot;Text&quot;
219
+ ]
220
+ ],
221
+ [
222
+ 2,
223
+ &quot;Groonga&quot;,
224
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
225
+ ],
226
+ [
227
+ 3,
228
+ &quot;Mroonga&quot;,
229
+ &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
230
+ ]
231
+ ]
232
+ ]
233
+ ]
234
+ </pre></div>
235
+ </div>
236
+ <p>この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドは <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルの中から <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> を含んでいるレコードを検索します。</p>
237
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> はクエリ構文という構文を使いますが、詳細はここでは説明しません。詳細は <a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a> を参照してください。</p>
238
+ </div>
239
+ <div class="section" id="search-condition-filter">
240
+ <h4>7.3.17.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
241
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> は複雑な検索条件を指定するために用意されています。ECMAScriptのような構文で <tt class="docutils literal"><span class="pre">filter</span></tt> に検索条件を指定します。</p>
242
+ <p>以下は簡単な <tt class="docutils literal"><span class="pre">filter</span></tt> の使用例です。</p>
243
+ <p>Execution example:</p>
244
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; _key == &quot;Groonga&quot;&#39;
245
+ [
246
+ [
247
+ 0,
248
+ 1335520300.98383,
249
+ 0.000544071197509766
250
+ ],
251
+ [
252
+ [
253
+ [
254
+ 1
255
+ ],
256
+ [
257
+ [
258
+ &quot;_id&quot;,
259
+ &quot;UInt32&quot;
260
+ ],
261
+ [
262
+ &quot;_key&quot;,
263
+ &quot;ShortText&quot;
264
+ ],
265
+ [
266
+ &quot;content&quot;,
267
+ &quot;Text&quot;
268
+ ]
269
+ ],
270
+ [
271
+ 2,
272
+ &quot;Groonga&quot;,
273
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
274
+ ]
275
+ ]
276
+ ]
277
+ ]
278
+ </pre></div>
279
+ </div>
280
+ <p>この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドは <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルの中の <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> という単語を含んでいて、かつ、 <tt class="docutils literal"><span class="pre">_key</span></tt> が <tt class="docutils literal"><span class="pre">Groonga</span></tt> のレコードを検索します。このコマンドの中には <tt class="docutils literal"><span class="pre">&#64;</span></tt> と <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> と <tt class="docutils literal"><span class="pre">==</span></tt> という3つの演算子があります。 <tt class="docutils literal"><span class="pre">&#64;</span></tt> は全文検索用の演算子です。 <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> と <tt class="docutils literal"><span class="pre">==</span></tt> はECMAScriptと同じ意味です。 <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> が論理和用の演算子で <tt class="docutils literal"><span class="pre">==</span></tt> が等価演算子です。</p>
281
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> にはもっと演算子や構文があります。例えば、 <tt class="docutils literal"><span class="pre">(...)</span></tt> を使った検索条件のグループ化などです。しかし、ここでは詳細は説明しません。詳細は <a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a> を参照してください。</p>
282
+ </div>
283
+ </div>
284
+ <div class="section" id="paging">
285
+ <h3>7.3.17.3.3. ページング<a class="headerlink" href="#paging" title="このヘッドラインへのパーマリンク">¶</a></h3>
286
+ <p><tt class="docutils literal"><span class="pre">offset</span></tt> と <tt class="docutils literal"><span class="pre">limit</span></tt> を指定することで出力されるレコードの範囲を指定できます。以下は2番目のレコードだけを出力する例です。</p>
287
+ <p>Execution example:</p>
288
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --offset 1 --limit 1
289
+ [
290
+ [
291
+ 0,
292
+ 1335519593.28077,
293
+ 0.000288248062133789
294
+ ],
295
+ [
296
+ [
297
+ [
298
+ 3
299
+ ],
300
+ [
301
+ [
302
+ &quot;_id&quot;,
303
+ &quot;UInt32&quot;
304
+ ],
305
+ [
306
+ &quot;_key&quot;,
307
+ &quot;ShortText&quot;
308
+ ],
309
+ [
310
+ &quot;content&quot;,
311
+ &quot;Text&quot;
312
+ ]
313
+ ],
314
+ [
315
+ 2,
316
+ &quot;Groonga&quot;,
317
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
318
+ ]
319
+ ]
320
+ ]
321
+ ]
322
+ </pre></div>
323
+ </div>
324
+ <p><tt class="docutils literal"><span class="pre">offset</span></tt> は0基点です。 <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> は2番目以降のレコードを出力するという意味になります。</p>
325
+ <p><tt class="docutils literal"><span class="pre">limit</span></tt> は出力レコード数の最大値を指定します。 <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt> は多くても1レコードを出力するという意味になります。もし、1つもレコードがマッチしていなければ <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはどのレコードも出力しません。</p>
326
+ </div>
327
+ <div class="section" id="the-total-number-of-records">
328
+ <h3>7.3.17.3.4. 全レコード数<a class="headerlink" href="#the-total-number-of-records" title="このヘッドラインへのパーマリンク">¶</a></h3>
329
+ <p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> を使うとレコードの内容は取得せずに全レコード数だけを取得できます。</p>
330
+ <p>Execution example:</p>
331
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --limit 0
332
+ [
333
+ [
334
+ 0,
335
+ 1335519593.48351,
336
+ 0.000329017639160156
337
+ ],
338
+ [
339
+ [
340
+ [
341
+ 3
342
+ ],
343
+ [
344
+ [
345
+ &quot;_id&quot;,
346
+ &quot;UInt32&quot;
347
+ ],
348
+ [
349
+ &quot;_key&quot;,
350
+ &quot;ShortText&quot;
351
+ ],
352
+ [
353
+ &quot;content&quot;,
354
+ &quot;Text&quot;
355
+ ]
356
+ ]
357
+ ]
358
+ ]
359
+ ]
360
+ </pre></div>
361
+ </div>
362
+ <p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> はマッチしたレコード数だけを取得したいときにも便利です。</p>
363
+ </div>
364
+ </div>
365
+ <div class="section" id="parameters">
366
+ <h2>7.3.17.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
367
+ <p>このセクションではすべての引数について説明します。引数はカテゴリわけしています。</p>
368
+ <div class="section" id="required-parameter">
369
+ <h3>7.3.17.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
370
+ <p><tt class="docutils literal"><span class="pre">table</span></tt> だけが必須の引数です。</p>
371
+ <div class="section" id="table">
372
+ <h4>7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="このヘッドラインへのパーマリンク">¶</a></h4>
373
+ <p>検索対象のテーブルを指定します。 <tt class="docutils literal"><span class="pre">table</span></tt> は必ず指定しなければいけません。</p>
374
+ <p>存在しないテーブルを指定するとエラーが返ります。</p>
375
+ <p>Execution example:</p>
376
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Nonexistent
377
+ [
378
+ [
379
+ -22,
380
+ 1335519593.68574,
381
+ 0.000583171844482422,
382
+ &quot;invalid table name: &lt;Nonexistent&gt;&quot;,
383
+ [
384
+ [
385
+ &quot;grn_select&quot;,
386
+ &quot;proc.c&quot;,
387
+ 542
388
+ ]
389
+ ]
390
+ ]
391
+ ]
392
+ </pre></div>
393
+ </div>
394
+ </div>
395
+ </div>
396
+ <div class="section" id="search-related-parameters">
397
+ <h3>7.3.17.4.2. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
398
+ <p>検索関係の引数がいくつかあります。一般的には、検索ボックスを実装するために <tt class="docutils literal"><span class="pre">match_columns</span></tt> と <tt class="docutils literal"><span class="pre">query</span></tt> 引数を使い、複雑な検索機能を実装するために <tt class="docutils literal"><span class="pre">filter</span></tt> 引数を使います。</p>
399
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を指定した場合は、 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> にマッチしたレコードが選択されます。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> のどちらも指定しなかった場合はすべてのレコードが選択されます。</p>
400
+ <div class="section" id="match-columns">
401
+ <h4>7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
402
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは <tt class="docutils literal"><span class="pre">query</span></tt> 引数でも指定できます。検索対象カラムを <tt class="docutils literal"><span class="pre">match_columns</span></tt> で指定する場合と <tt class="docutils literal"><span class="pre">query</span></tt> で指定する場合の違いは重みを指定できるかどうかです。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> では重みを指定できますが、 <tt class="docutils literal"><span class="pre">query</span></tt> では指定できません。</p>
403
+ <p>重みは検索対象カラムの相対的な重要度です。重みの大きい検索対象カラムでマッチした場合は小さい検索対象カラムでマッチした場合よりも多くのヒットスコアがつきます。デフォルトの重みは1です。</p>
404
+ <p>以下は簡単な <tt class="docutils literal"><span class="pre">match_columns</span></tt> の使用例です。</p>
405
+ <p>Execution example:</p>
406
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast --output_columns &#39;_key, _score&#39;
407
+ [
408
+ [
409
+ 0,
410
+ 1335519593.88754,
411
+ 0.000384092330932617
412
+ ],
413
+ [
414
+ [
415
+ [
416
+ 2
417
+ ],
418
+ [
419
+ [
420
+ &quot;_key&quot;,
421
+ &quot;ShortText&quot;
422
+ ],
423
+ [
424
+ &quot;_score&quot;,
425
+ &quot;Int32&quot;
426
+ ]
427
+ ],
428
+ [
429
+ &quot;Groonga&quot;,
430
+ 1
431
+ ],
432
+ [
433
+ &quot;Mroonga&quot;,
434
+ 2
435
+ ]
436
+ ]
437
+ ]
438
+ ]
439
+ </pre></div>
440
+ </div>
441
+ <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> はデフォルトの全文検索対象カラムに <tt class="docutils literal"><span class="pre">content</span></tt> カラムを使用し、その重みは1、という意味になります。 <tt class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></tt> はこの <tt class="docutils literal"><span class="pre">select</span></tt> コマンドがマッチしたレコードの <tt class="docutils literal"><span class="pre">_key</span></tt> の値と <tt class="docutils literal"><span class="pre">_score</span></tt> の値を出力する、ということを指定しています。</p>
442
+ <p><tt class="docutils literal"><span class="pre">_score</span></tt> の値に注目してください。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値は <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値に何個マッチしたかになっています。この例では、 <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値は <tt class="docutils literal"><span class="pre">fast</span></tt> です。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が1ということは <tt class="docutils literal"><span class="pre">content</span></tt> カラムの中に <tt class="docutils literal"><span class="pre">fast</span></tt> が1つだけあるということです。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が2ということは <tt class="docutils literal"><span class="pre">content</span></tt> カラムの中に <tt class="docutils literal"><span class="pre">fast</span></tt> が2つあるということです。</p>
443
+ <p>重みを指定するためには <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></tt> という構文を使います。以下は重みの使用例です。</p>
444
+ <p>Execution example:</p>
445
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns &#39;content * 2&#39; --query fast --output_columns &#39;_key, _score&#39;
446
+ [
447
+ [
448
+ 0,
449
+ 1335519594.08917,
450
+ 0.0003814697265625
451
+ ],
452
+ [
453
+ [
454
+ [
455
+ 2
456
+ ],
457
+ [
458
+ [
459
+ &quot;_key&quot;,
460
+ &quot;ShortText&quot;
461
+ ],
462
+ [
463
+ &quot;_score&quot;,
464
+ &quot;Int32&quot;
465
+ ]
466
+ ],
467
+ [
468
+ &quot;Groonga&quot;,
469
+ 2
470
+ ],
471
+ [
472
+ &quot;Mroonga&quot;,
473
+ 4
474
+ ]
475
+ ]
476
+ ]
477
+ ]
478
+ </pre></div>
479
+ </div>
480
+ <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> はデフォルトの全文検索用カラムとして <tt class="docutils literal"><span class="pre">content</span></tt> カラムを使い、その重みは2という意味です。</p>
481
+ <p><tt class="docutils literal"><span class="pre">_score</span></tt> の値に注目してください。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が2倍になっています。これは重みを2にしたからです。</p>
482
+ <p>デフォルトの全文検索対象カラムとして複数のカラムを指定することができます。複数のカラムを指定した場合はすべてのカラムに対して全文検索が行われ、ヒットスコアが積算されます。つまり、 <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値がどれか1つでも全文検索対象カラムにマッチしたら、そのレコードはマッチしたものとして扱われます。</p>
483
+ <p>複数のカラムを指定するには <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> <span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></tt> という構文を追加います。 <tt class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></tt> は省略することができます。省略した場合は重みが1になります。以下は複数カラムの使用例です。</p>
484
+ <p>Execution example:</p>
485
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns &#39;_key * 10 || content&#39; --query groonga --output_columns &#39;_key, _score&#39;
486
+ [
487
+ [
488
+ 0,
489
+ 1335594540.29792,
490
+ 0.000547885894775391
491
+ ],
492
+ [
493
+ [
494
+ [
495
+ 1
496
+ ],
497
+ [
498
+ [
499
+ &quot;_key&quot;,
500
+ &quot;ShortText&quot;
501
+ ],
502
+ [
503
+ &quot;_score&quot;,
504
+ &quot;Int32&quot;
505
+ ]
506
+ ],
507
+ [
508
+ &quot;Groonga&quot;,
509
+ 11
510
+ ]
511
+ ]
512
+ ]
513
+ ]
514
+ </pre></div>
515
+ </div>
516
+ <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> はデフォルト検索対象カラムが <tt class="docutils literal"><span class="pre">_key</span></tt> カラムと <tt class="docutils literal"><span class="pre">content</span></tt> カラムで、 <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの重みは10、 <tt class="docutils literal"><span class="pre">content</span></tt> カラムの重みは1という意味です。この重み付けは <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値よりも重要だという意味になります。この例では、ブログエントリのタイトルはブログエントリの内容よりも重要だということです。</p>
517
+ </div>
518
+ <div class="section" id="query">
519
+ <h4>7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
520
+ <p>TODO: write short description and add example.</p>
521
+ <p><a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a> を参照してください。</p>
522
+ </div>
523
+ <div class="section" id="filter">
524
+ <h4>7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
525
+ <p>TODO: write short description and add example.</p>
526
+ <p><a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a> を参照してください。</p>
527
+ </div>
528
+ </div>
529
+ <div class="section" id="advanced-search-parameters">
530
+ <h3>7.3.17.4.3. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
531
+ <div class="section" id="match-escalation-threshold">
532
+ <h4>7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="このヘッドラインへのパーマリンク">¶</a></h4>
533
+ <p>TODO: add example.</p>
534
+ <p>検索方法をエスカレーションするかどうかを決定するための閾値を指定します。この閾値はマッチしたレコード数との比較に使われます。マッチしたレコード数がこの閾値以下の場合は検索方法をエスカレーションします。検索方法のエスカレーションについては <a class="reference internal" href="../spec/search.html"><em>検索</em></a> を参照してください。</p>
535
+ <p>デフォルトの閾値は0です。これは1つもレコードがマッチしなかったときだけ検索方法をエスカレーションするということです。</p>
536
+ <p>デフォルトの閾値は以下の方法でカスタマイズできます。</p>
161
537
  <blockquote>
162
- <div><p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
163
- <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
538
+ <div><ul class="simple">
539
+ <li>configureの <tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> オプション</li>
540
+ <li>groongaコマンドの <tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> オプション</li>
541
+ <li>設定ファイルの <tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> 設定項目</li>
542
+ </ul>
164
543
  </div></blockquote>
165
- <p><tt class="docutils literal"><span class="pre">sortby</span></tt></p>
166
- <blockquote>
167
- <div><p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
544
+ </div>
545
+ <div class="section" id="query-expansion">
546
+ <h4>7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="このヘッドラインへのパーマリンク">¶</a></h4>
547
+ <p>TODO: write in English and add example.</p>
548
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値を拡張(置換)するために使うカラムを指定します。</p>
549
+ <p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
550
+ <p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート(&quot;&quot;)で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
551
+ </div>
552
+ </div>
553
+ <div class="section" id="output-related-parameters">
554
+ <h3>7.3.17.4.4. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
555
+ <div class="section" id="output-columns">
556
+ <h4>7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
557
+ <p>TODO: write in English and add example.</p>
558
+ <p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
559
+ <p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
560
+ </div>
561
+ <div class="section" id="sortby">
562
+ <h4>7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
563
+ <p>TODO: write in English and add example.</p>
564
+ <p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
168
565
  <div class="highlight-none"><div class="highlight"><pre>[-]カラム名1, [-]カラム名2, [-]カラム名3, ...
169
566
  </pre></div>
170
567
  </div>
171
568
  <p>カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加しない場合には昇順にソートします。</p>
172
569
  <p>query引数またはfilter引数を指定した場合はカラム名に'_score'を使えます。'_score'を指定することでスコアでソートすることができます。query引数もfilter引数も指定していない状態で'_score'を指定するとエラーになります。</p>
173
- </div></blockquote>
174
- <p><tt class="docutils literal"><span class="pre">output_columns</span></tt></p>
175
- <blockquote>
176
- <div><p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
177
- <p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
178
- </div></blockquote>
179
- <p><tt class="docutils literal"><span class="pre">offset</span></tt></p>
180
- <blockquote>
181
- <div>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</div></blockquote>
182
- <p><tt class="docutils literal"><span class="pre">limit</span></tt></p>
183
- <blockquote>
184
- <div>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</div></blockquote>
185
- <p><tt class="docutils literal"><span class="pre">drilldown</span></tt></p>
186
- <blockquote>
187
- <div>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</div></blockquote>
188
- <p><tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></p>
189
- <blockquote>
190
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</div></blockquote>
191
- <p><tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></p>
192
- <blockquote>
193
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</div></blockquote>
194
- <p><tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></p>
195
- <blockquote>
196
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</div></blockquote>
197
- <p><tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></p>
198
- <blockquote>
199
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</div></blockquote>
200
- <p><tt class="docutils literal"><span class="pre">cache</span></tt></p>
201
- <blockquote>
202
- <div><p>クエリキャッシュに関する動作を設定します。</p>
203
- <blockquote>
204
- <div><p><tt class="docutils literal"><span class="pre">no</span></tt></p>
570
+ </div>
571
+ <div class="section" id="offset">
572
+ <h4>7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
573
+ <p>TODO: write in English and add example.</p>
574
+ <p>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</p>
575
+ </div>
576
+ <div class="section" id="limit">
577
+ <h4>7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
578
+ <p>TODO: write in English and add example.</p>
579
+ <p>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</p>
580
+ </div>
581
+ <div class="section" id="scorer">
582
+ <h4>7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
583
+ <p>TODO: write in English and add example.</p>
584
+ <p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
585
+ <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
586
+ </div>
587
+ </div>
588
+ <div class="section" id="facet-related-parameters">
589
+ <h3>7.3.17.4.5. ファセット関連の引数<a class="headerlink" href="#facet-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
590
+ <div class="section" id="drilldown">
591
+ <h4>7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
592
+ <p>TODO: write in English and add example.</p>
593
+ <p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
594
+ </div>
595
+ <div class="section" id="drilldown-sortby">
596
+ <h4>7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
597
+ <p>TODO: write in English and add example.</p>
598
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
599
+ </div>
600
+ <div class="section" id="drilldown-output-columns">
601
+ <h4>7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
602
+ <p>TODO: write in English and add example.</p>
603
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
604
+ </div>
605
+ <div class="section" id="drilldown-offset">
606
+ <h4>7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
607
+ <p>TODO: write in English and add example.</p>
608
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
609
+ </div>
610
+ <div class="section" id="drilldown-limit">
611
+ <h4>7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
612
+ <p>TODO: write in English and add example.</p>
613
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
614
+ </div>
615
+ </div>
616
+ <div class="section" id="cache-related-parameter">
617
+ <h3>7.3.17.4.6. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
618
+ <div class="section" id="cache">
619
+ <h4>7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
620
+ <p>TODO: write in English and add example.</p>
621
+ <p>クエリキャッシュに関する動作を設定します。</p>
622
+ <p><tt class="docutils literal"><span class="pre">no</span></tt></p>
205
623
  <blockquote>
206
624
  <div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
207
- </div></blockquote>
208
- </div></blockquote>
209
- <p><tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></p>
210
- <blockquote>
211
- <div><p>検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0です。デフォルト値は以下のいずれかの方法で設定できます。</p>
212
- <blockquote>
213
- <div><ul class="simple">
214
- <li>configureの--with-match-escalation-thresholdオプション</li>
215
- <li>groongaコマンド起動時の--match-escalation-thresholdオプション</li>
216
- <li>設定ファイル中のmatch-escalation-threshold設定項目</li>
217
- </ul>
218
- </div></blockquote>
219
- <p>クエリのヒット件数が閾値を越えない場合は <a class="reference internal" href="../spec/search.html"><em>検索</em></a> で説明している方法で検索方法をエスカレーションしてきます。</p>
220
- </div></blockquote>
221
- <p><tt class="docutils literal"><span class="pre">query_expansion</span></tt></p>
222
- <blockquote>
223
- <div><p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
224
- <p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート(&quot;&quot;)で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
225
- </div></blockquote>
226
625
  </div>
227
626
  </div>
228
- <div class="section" id="id7">
229
- <h2>7.3.17.5. 返値<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
627
+ </div>
628
+ <div class="section" id="id1">
629
+ <h2>7.3.17.5. 返値<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
630
+ <p>TODO: write in English and add example.</p>
230
631
  <p>以下のようなjson形式で値が返却されます。</p>
231
632
  <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
232
633
  </pre></div>
@@ -280,18 +681,14 @@
280
681
  <div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
281
682
  </div></blockquote>
282
683
  </div>
283
- <div class="section" id="id8">
284
- <h2>7.3.17.6. 例<a class="headerlink" href="#id8" title="このヘッドラインへのパーマリンク">¶</a></h2>
285
- <p>テーブルEntryの全レコード・全カラムの値を出力します。:</p>
286
- <div class="highlight-none"><div class="highlight"><pre>select Entry
287
-
288
- [[[2],[[&quot;_id&quot;, &quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;body&quot;,&quot;ShortText&quot;]],[1,&quot;abandon&quot;,&quot;放棄する&quot;],[2,&quot;abbreviate&quot;,&quot;短縮する&quot;]]]
289
- </pre></div>
290
- </div>
291
- </div>
292
- <div class="section" id="id9">
293
- <h2>7.3.17.7. 関連項目<a class="headerlink" href="#id9" title="このヘッドラインへのパーマリンク">¶</a></h2>
294
- <p><a class="reference internal" href="../expr.html"><em>grn_expr</em></a></p>
684
+ <div class="section" id="see-also">
685
+ <h2>7.3.17.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
686
+ <blockquote>
687
+ <div><ul class="simple">
688
+ <li><a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a></li>
689
+ <li><a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a></li>
690
+ </ul>
691
+ </div></blockquote>
295
692
  </div>
296
693
  </div>
297
694
 
@@ -304,17 +701,59 @@
304
701
  <h3><a href="../index.html">目次</a></h3>
305
702
  <ul>
306
703
  <li><a class="reference internal" href="#">7.3.17. select</a><ul>
307
- <li><a class="reference internal" href="#id1">7.3.17.1. 名前</a></li>
308
- <li><a class="reference internal" href="#id2">7.3.17.2. 書式</a></li>
309
- <li><a class="reference internal" href="#id3">7.3.17.3. 説明</a></li>
310
- <li><a class="reference internal" href="#id4">7.3.17.4. 引数</a><ul>
311
- <li><a class="reference internal" href="#id5">7.3.17.4.1. 条件式</a></li>
312
- <li><a class="reference internal" href="#id6">7.3.17.4.2. 結合演算子</a></li>
704
+ <li><a class="reference internal" href="#summary">7.3.17.1. 概要</a></li>
705
+ <li><a class="reference internal" href="#syntax">7.3.17.2. 構文</a></li>
706
+ <li><a class="reference internal" href="#usage">7.3.17.3. 使い方</a><ul>
707
+ <li><a class="reference internal" href="#simple-usage">7.3.17.3.1. 簡単な使い方</a></li>
708
+ <li><a class="reference internal" href="#search-conditions">7.3.17.3.2. 検索条件</a><ul>
709
+ <li><a class="reference internal" href="#search-condition-query">7.3.17.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
710
+ <li><a class="reference internal" href="#search-condition-filter">7.3.17.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
711
+ </ul>
712
+ </li>
713
+ <li><a class="reference internal" href="#paging">7.3.17.3.3. ページング</a></li>
714
+ <li><a class="reference internal" href="#the-total-number-of-records">7.3.17.3.4. 全レコード数</a></li>
715
+ </ul>
716
+ </li>
717
+ <li><a class="reference internal" href="#parameters">7.3.17.4. 引数</a><ul>
718
+ <li><a class="reference internal" href="#required-parameter">7.3.17.4.1. 必須引数</a><ul>
719
+ <li><a class="reference internal" href="#table">7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
720
+ </ul>
721
+ </li>
722
+ <li><a class="reference internal" href="#search-related-parameters">7.3.17.4.2. 検索関係の引数</a><ul>
723
+ <li><a class="reference internal" href="#match-columns">7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
724
+ <li><a class="reference internal" href="#query">7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
725
+ <li><a class="reference internal" href="#filter">7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
726
+ </ul>
727
+ </li>
728
+ <li><a class="reference internal" href="#advanced-search-parameters">7.3.17.4.3. 高度な検索のための引数</a><ul>
729
+ <li><a class="reference internal" href="#match-escalation-threshold">7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
730
+ <li><a class="reference internal" href="#query-expansion">7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
731
+ </ul>
732
+ </li>
733
+ <li><a class="reference internal" href="#output-related-parameters">7.3.17.4.4. 出力関連の引数</a><ul>
734
+ <li><a class="reference internal" href="#output-columns">7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
735
+ <li><a class="reference internal" href="#sortby">7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
736
+ <li><a class="reference internal" href="#offset">7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
737
+ <li><a class="reference internal" href="#limit">7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
738
+ <li><a class="reference internal" href="#scorer">7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
739
+ </ul>
740
+ </li>
741
+ <li><a class="reference internal" href="#facet-related-parameters">7.3.17.4.5. ファセット関連の引数</a><ul>
742
+ <li><a class="reference internal" href="#drilldown">7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
743
+ <li><a class="reference internal" href="#drilldown-sortby">7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
744
+ <li><a class="reference internal" href="#drilldown-output-columns">7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
745
+ <li><a class="reference internal" href="#drilldown-offset">7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
746
+ <li><a class="reference internal" href="#drilldown-limit">7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
747
+ </ul>
748
+ </li>
749
+ <li><a class="reference internal" href="#cache-related-parameter">7.3.17.4.6. キャッシュ関連の引数</a><ul>
750
+ <li><a class="reference internal" href="#cache">7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
751
+ </ul>
752
+ </li>
313
753
  </ul>
314
754
  </li>
315
- <li><a class="reference internal" href="#id7">7.3.17.5. 返値</a></li>
316
- <li><a class="reference internal" href="#id8">7.3.17.6. 例</a></li>
317
- <li><a class="reference internal" href="#id9">7.3.17.7. 関連項目</a></li>
755
+ <li><a class="reference internal" href="#id1">7.3.17.5. 返値</a></li>
756
+ <li><a class="reference internal" href="#see-also">7.3.17.6. 参考</a></li>
318
757
  </ul>
319
758
  </li>
320
759
  </ul>
@@ -359,7 +798,7 @@
359
798
  <li class="right" >
360
799
  <a href="quit.html" title="7.3.16. quit"
361
800
  >前へ</a> |</li>
362
- <li><a href="../index.html">groonga v2.0.0ドキュメント</a> &raquo;</li>
801
+ <li><a href="../index.html">groonga v2.0.1ドキュメント</a> &raquo;</li>
363
802
  <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
364
803
  <li><a href="../commands.html" >7.3. コマンド</a> &raquo;</li>
365
804
  </ul>