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

Sign up to get free protection for your applications and to get access to all the features.
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 documentation</title>
12
+ <title>7.3.17. select &mdash; groonga v2.0.2 documentation</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.2',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.0 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
31
31
  <link rel="up" title="7.3. コマンド" href="../commands.html" />
32
32
  <link rel="next" title="7.3.18. shutdown" href="shutdown.html" />
33
33
  <link rel="prev" title="7.3.16. quit" href="quit.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="quit.html" title="7.3.16. quit"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
66
66
  <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
67
67
  <li><a href="../commands.html" accesskey="U">7.3. コマンド</a> &raquo;</li>
68
68
  </ul>
@@ -75,157 +75,640 @@
75
75
 
76
76
  <div class="section" id="select">
77
77
  <h1>7.3.17. select<a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
78
- <div class="section" id="id1">
79
- <h2>7.3.17.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
80
- <p>select - テーブルの中から条件にマッチするレコードを検索して出力する</p>
81
- </div>
82
- <div class="section" id="id2">
83
- <h2>7.3.17.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
84
- <div class="highlight-none"><div class="highlight"><pre>select table [match_columns [query [filter [scorer [sortby [output_columns
85
- [offset [limit [drilldown [drilldown_sortby [drilldown_output_columns
86
- [drilldown_offset [drilldown_limit [cache
87
- [match_escalation_threshold [query_expansion]]]]]]]]]]]]]]]]
78
+ <div class="section" id="summary">
79
+ <h2>7.3.17.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
80
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> searches records that are matched to specified conditions
81
+ from a table and then outputs them.</p>
82
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> is the most important command in groonga. You need to
83
+ understand <tt class="docutils literal"><span class="pre">select</span></tt> to use the full power of groonga.</p>
84
+ </div>
85
+ <div class="section" id="syntax">
86
+ <h2>7.3.17.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
87
+ <p><tt class="docutils literal"><span class="pre">select</span></tt> has many parameters. The required parameter is only
88
+ <tt class="docutils literal"><span class="pre">table</span></tt> and others are optional:</p>
89
+ <div class="highlight-none"><div class="highlight"><pre>select table
90
+ [match_columns=null]
91
+ [query=null]
92
+ [filter=null]
93
+ [scorer=null]
94
+ [sortby=null]
95
+ [output_columns=&quot;_id, _key, *&quot;]
96
+ [offset=0]
97
+ [limit=10]
98
+ [drilldown=null]
99
+ [drilldown_sortby=null]
100
+ [drilldown_output_columns=null]
101
+ [drilldown_offset=0]
102
+ [drilldown_limit=10]
103
+ [cache=yes]
104
+ [match_escalation_threshold=0]
105
+ [query_expansion=null]
88
106
  </pre></div>
89
107
  </div>
90
108
  </div>
91
- <div class="section" id="id3">
92
- <h2>7.3.17.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
93
- <p>groonga組込コマンドの一つであるselectについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
94
- <p>selectは、使用しているデータベースのテーブルの中から条件にマッチするレコードを検索して出力します。</p>
109
+ <div class="section" id="usage">
110
+ <h2>7.3.17.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
111
+ <p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
112
+ many popular usages.</p>
113
+ <p>Here are a schema definition and sample data to show usage.</p>
114
+ <p>Execution example:</p>
115
+ <div class="highlight-none"><div class="highlight"><pre>&gt; table_create Entries TABLE_HASH_KEY ShortText
116
+ [[0,1335594537.43378,0.000381708145141602],true]
117
+ &gt; column_create Entries content COLUMN_SCALAR Text
118
+ [[0,1335594537.63582,0.000931501388549805],true]
119
+ &gt; table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
120
+ [[0,1335594537.83776,0.000288009643554688],true]
121
+ &gt; column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
122
+ [[0,1335594538.03901,0.0059964656829834],true]
123
+ &gt; column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
124
+ [[0,1335594538.24584,0.00617790222167969],true]
125
+ &gt; load --table Entries
126
+ &gt; [
127
+ &gt; {&quot;_key&quot;: &quot;The first post!&quot;, &quot;content&quot;: &quot;Welcome! This is my first post!&quot;},
128
+ &gt; {&quot;_key&quot;: &quot;Groonga&quot;, &quot;content&quot;: &quot;I started to use groonga. It&#39;s very fast!&quot;}
129
+ &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;}
130
+ &gt; ]
131
+ </pre></div>
95
132
  </div>
96
- <div class="section" id="id4">
97
- <h2>7.3.17.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
98
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
99
- <blockquote>
100
- <div>検索対象のテーブルを指定します。存在しないテーブルを指定した場合はエラーになります。</div></blockquote>
101
- <p><tt class="docutils literal"><span class="pre">match_columns</span></tt></p>
102
- <blockquote>
103
- <div><p>query引数に指定する検索条件文字列でデフォルトの検索対象となるカラムを指定します。</p>
104
- <blockquote>
105
- <div>カラム名</div></blockquote>
106
- <p>カラム名の後ろに'* 数値'を指定することによって、そのカラムにヒットした際のスコアに積算される重みを指定することができます。</p>
107
- <blockquote>
108
- <div>カラム名 * 重み</div></blockquote>
109
- <p>複数のカラムを'||'で結合して指定することもできます。</p>
110
- <blockquote>
111
- <div>カラム名1 * 重み1 || カラム名2 * 重み2</div></blockquote>
112
- <p>また、カラム名ではなく、検索に使用するインデックス名を指定することもできます。</p>
113
- </div></blockquote>
114
- <p><tt class="docutils literal"><span class="pre">query</span></tt></p>
115
- <blockquote>
116
- <div>以下の形式の文字列によって検索条件を指定します。</div></blockquote>
117
- <div class="section" id="id5">
118
- <h3>7.3.17.4.1. 条件式<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
119
- <p>以下の条件式が使用できます。</p>
120
- <dl class="docutils">
121
- <dt>文字列</dt>
122
- <dd>全文検索条件(デフォルト検索対象カラムの値が指定された文字列を含んでいる)</dd>
123
- <dt>&quot;文字列&quot;</dt>
124
- <dd>フレーズ検索条件(デフォルト検索対象カラムの値が指定されたフレーズを含んでいる)</dd>
125
- <dt>カラム名:値</dt>
126
- <dd>一致条件(カラム値 == 値)</dd>
127
- <dt>カラム名:!値</dt>
128
- <dd>不一致条件(カラム値 != 値)</dd>
129
- <dt>カラム名:&lt;値</dt>
130
- <dd>比較条件(カラム値 &lt; 値)</dd>
131
- <dt>カラム名:&gt;値</dt>
132
- <dd>比較条件(カラム値 &gt; 値)</dd>
133
- <dt>カラム名:&lt;=値</dt>
134
- <dd>比較条件(カラム値 &lt;= 値)</dd>
135
- <dt>カラム名:&gt;=値</dt>
136
- <dd>比較条件(カラム値 &gt;= 値)</dd>
137
- <dt>カラム名:&#64;文字列</dt>
138
- <dd>全文検索条件(カラム値が指定された文字列を含んでいる)</dd>
139
- </dl>
140
- </div>
141
- <div class="section" id="id6">
142
- <h3>7.3.17.4.2. 結合演算子<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
143
- <p>複数の条件式を結合するために以下の演算子が使用できます。</p>
144
- <dl class="docutils">
145
- <dt>a OR b</dt>
146
- <dd>論理和(aとbといずれかの条件がマッチする)</dd>
147
- <dt>a + b</dt>
148
- <dd>論理積(aとbの両方がマッチする)</dd>
149
- <dt>a - b</dt>
150
- <dd>aにマッチし、bにはマッチしない</dd>
151
- <dt>( )</dt>
152
- <dd>複数の条件をまとめる</dd>
153
- </dl>
154
- <p><tt class="docutils literal"><span class="pre">filter</span></tt></p>
155
- <blockquote>
156
- <div><p>絞り込み条件をscript形式のgrn_expr文字列によって指定します。</p>
157
- <p>query引数とfilter引数をどちらも指定した場合は、両方の条件を満足するレコードのみがヒットします。どちらも指定しない場合は全件がヒットします。</p>
158
- </div></blockquote>
159
- <p><tt class="docutils literal"><span class="pre">scorer</span></tt></p>
133
+ <p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title
134
+ and content. Title is key of <tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of
135
+ <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column.</p>
136
+ <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
137
+ 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
138
+ <tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
139
+ <p>OK. The schema and data for examples are ready.</p>
140
+ <div class="section" id="simple-usage">
141
+ <h3>7.3.17.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
142
+ <p>Here is the most simple usage with the above shema and data. It outputs
143
+ all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
144
+ <p>Execution example:</p>
145
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries
146
+ [
147
+ [
148
+ 0,
149
+ 1335519592.67133,
150
+ 0.000493049621582031
151
+ ],
152
+ [
153
+ [
154
+ [
155
+ 3
156
+ ],
157
+ [
158
+ [
159
+ &quot;_id&quot;,
160
+ &quot;UInt32&quot;
161
+ ],
162
+ [
163
+ &quot;_key&quot;,
164
+ &quot;ShortText&quot;
165
+ ],
166
+ [
167
+ &quot;content&quot;,
168
+ &quot;Text&quot;
169
+ ]
170
+ ],
171
+ [
172
+ 1,
173
+ &quot;The first post!&quot;,
174
+ &quot;Welcome! This is my first post!&quot;
175
+ ],
176
+ [
177
+ 2,
178
+ &quot;Groonga&quot;,
179
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
180
+ ],
181
+ [
182
+ 3,
183
+ &quot;Mroonga&quot;,
184
+ &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
185
+ ]
186
+ ]
187
+ ]
188
+ ]
189
+ </pre></div>
190
+ </div>
191
+ <p>Why does the command output all records? There are two reasons. The
192
+ first reason is that the command doesn't specify any search
193
+ conditions. No search condition means all records are matched. The
194
+ second reason is that the number of all records is 3. <tt class="docutils literal"><span class="pre">select</span></tt>
195
+ command outputs 10 records at a maximum by default. There are only 3
196
+ records. It is less than 10. So the command outputs all records.</p>
197
+ </div>
198
+ <div class="section" id="search-conditions">
199
+ <h3>7.3.17.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
200
+ <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
201
+ 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
202
+ 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>
203
+ <div class="section" id="search-condition-query">
204
+ <h4>7.3.17.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>
205
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
206
+ in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
207
+ separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
208
+ 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>
209
+ <p>Normally, <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
210
+ conditions. It can be used for non fulltext search conditions but
211
+ <tt class="docutils literal"><span class="pre">filter</span></tt> is used for the propose.</p>
212
+ <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
213
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
214
+ conditions. <tt class="docutils literal"><span class="pre">match_columns</span></tt> specifies which columnes and indexes are
215
+ matched against <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
216
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">query</span></tt> usage example.</p>
217
+ <p>Execution example:</p>
218
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast
219
+ [
220
+ [
221
+ 0,
222
+ 1335519592.87374,
223
+ 0.000868797302246094
224
+ ],
225
+ [
226
+ [
227
+ [
228
+ 2
229
+ ],
230
+ [
231
+ [
232
+ &quot;_id&quot;,
233
+ &quot;UInt32&quot;
234
+ ],
235
+ [
236
+ &quot;_key&quot;,
237
+ &quot;ShortText&quot;
238
+ ],
239
+ [
240
+ &quot;content&quot;,
241
+ &quot;Text&quot;
242
+ ]
243
+ ],
244
+ [
245
+ 2,
246
+ &quot;Groonga&quot;,
247
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
248
+ ],
249
+ [
250
+ 3,
251
+ &quot;Mroonga&quot;,
252
+ &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
253
+ ]
254
+ ]
255
+ ]
256
+ ]
257
+ </pre></div>
258
+ </div>
259
+ <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>
260
+ 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>
261
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> has query syntax but its deatils aren't described here. See
262
+ <a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
263
+ </div>
264
+ <div class="section" id="search-condition-filter">
265
+ <h4>7.3.17.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>
266
+ <p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
267
+ search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
268
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
269
+ <p>Execution example:</p>
270
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; _key == &quot;Groonga&quot;&#39;
271
+ [
272
+ [
273
+ 0,
274
+ 1335520300.98383,
275
+ 0.000544071197509766
276
+ ],
277
+ [
278
+ [
279
+ [
280
+ 1
281
+ ],
282
+ [
283
+ [
284
+ &quot;_id&quot;,
285
+ &quot;UInt32&quot;
286
+ ],
287
+ [
288
+ &quot;_key&quot;,
289
+ &quot;ShortText&quot;
290
+ ],
291
+ [
292
+ &quot;content&quot;,
293
+ &quot;Text&quot;
294
+ ]
295
+ ],
296
+ [
297
+ 2,
298
+ &quot;Groonga&quot;,
299
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
300
+ ]
301
+ ]
302
+ ]
303
+ ]
304
+ </pre></div>
305
+ </div>
306
+ <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>
307
+ 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
308
+ <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>,
309
+ <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
310
+ <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
311
+ <tt class="docutils literal"><span class="pre">==</span></tt> is equality operator.</p>
312
+ <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>
313
+ its deatils aren't described here. See <a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a> for
314
+ datails.</p>
315
+ </div>
316
+ </div>
317
+ <div class="section" id="paging">
318
+ <h3>7.3.17.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
319
+ <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>.
320
+ Here is an example to output only the 2nd record.</p>
321
+ <p>Execution example:</p>
322
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --offset 1 --limit 1
323
+ [
324
+ [
325
+ 0,
326
+ 1335519593.28077,
327
+ 0.000288248062133789
328
+ ],
329
+ [
330
+ [
331
+ [
332
+ 3
333
+ ],
334
+ [
335
+ [
336
+ &quot;_id&quot;,
337
+ &quot;UInt32&quot;
338
+ ],
339
+ [
340
+ &quot;_key&quot;,
341
+ &quot;ShortText&quot;
342
+ ],
343
+ [
344
+ &quot;content&quot;,
345
+ &quot;Text&quot;
346
+ ]
347
+ ],
348
+ [
349
+ 2,
350
+ &quot;Groonga&quot;,
351
+ &quot;I started to use groonga. It&#39;s very fast!&quot;
352
+ ]
353
+ ]
354
+ ]
355
+ ]
356
+ </pre></div>
357
+ </div>
358
+ <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
359
+ started from the 2nd record.</p>
360
+ <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>
361
+ means the number of output records is 1 at a maximium. If no records
362
+ are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
363
+ </div>
364
+ <div class="section" id="the-total-number-of-records">
365
+ <h3>7.3.17.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
366
+ <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
367
+ without any contents of records.</p>
368
+ <p>Execution example:</p>
369
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --limit 0
370
+ [
371
+ [
372
+ 0,
373
+ 1335519593.48351,
374
+ 0.000329017639160156
375
+ ],
376
+ [
377
+ [
378
+ [
379
+ 3
380
+ ],
381
+ [
382
+ [
383
+ &quot;_id&quot;,
384
+ &quot;UInt32&quot;
385
+ ],
386
+ [
387
+ &quot;_key&quot;,
388
+ &quot;ShortText&quot;
389
+ ],
390
+ [
391
+ &quot;content&quot;,
392
+ &quot;Text&quot;
393
+ ]
394
+ ]
395
+ ]
396
+ ]
397
+ ]
398
+ </pre></div>
399
+ </div>
400
+ <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
401
+ records.</p>
402
+ </div>
403
+ </div>
404
+ <div class="section" id="parameters">
405
+ <h2>7.3.17.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
406
+ <p>This section describes all parameters. Parameters are categorized.</p>
407
+ <div class="section" id="required-parameter">
408
+ <h3>7.3.17.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
409
+ <p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
410
+ <div class="section" id="table">
411
+ <h4>7.3.17.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>
412
+ <p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
413
+ <p>If nonexistent table is specified, an error is returned.</p>
414
+ <p>Execution example:</p>
415
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Nonexistent
416
+ [
417
+ [
418
+ -22,
419
+ 1335519593.68574,
420
+ 0.000583171844482422,
421
+ &quot;invalid table name: &lt;Nonexistent&gt;&quot;,
422
+ [
423
+ [
424
+ &quot;grn_select&quot;,
425
+ &quot;proc.c&quot;,
426
+ 542
427
+ ]
428
+ ]
429
+ ]
430
+ ]
431
+ </pre></div>
432
+ </div>
433
+ </div>
434
+ </div>
435
+ <div class="section" id="search-related-parameters">
436
+ <h3>7.3.17.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
437
+ <p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
438
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
439
+ box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
440
+ feature.</p>
441
+ <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
442
+ 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>
443
+ and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
444
+ <div class="section" id="match-columns">
445
+ <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="Permalink to this headline">¶</a></h4>
446
+ <p>It specifies the default target column for fulltext search by
447
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
448
+ specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
449
+ <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
450
+ 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>
451
+ <p>Weight is relative importance of target column. A higher weight target
452
+ column gets more hit score rather than a lower weight target column
453
+ when a record is matched by fulltext search. The default weight is 1.</p>
454
+ <p>Here is a simple <tt class="docutils literal"><span class="pre">match_columns</span></tt> usage example.</p>
455
+ <p>Execution example:</p>
456
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast --output_columns &#39;_key, _score&#39;
457
+ [
458
+ [
459
+ 0,
460
+ 1335519593.88754,
461
+ 0.000384092330932617
462
+ ],
463
+ [
464
+ [
465
+ [
466
+ 2
467
+ ],
468
+ [
469
+ [
470
+ &quot;_key&quot;,
471
+ &quot;ShortText&quot;
472
+ ],
473
+ [
474
+ &quot;_score&quot;,
475
+ &quot;Int32&quot;
476
+ ]
477
+ ],
478
+ [
479
+ &quot;Groonga&quot;,
480
+ 1
481
+ ],
482
+ [
483
+ &quot;Mroonga&quot;,
484
+ 2
485
+ ]
486
+ ]
487
+ ]
488
+ ]
489
+ </pre></div>
490
+ </div>
491
+ <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> means the default target column for
492
+ fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight
493
+ 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>
494
+ 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
495
+ records.</p>
496
+ <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
497
+ matched counts against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. In the example,
498
+ <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
499
+ 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
500
+ 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
501
+ <tt class="docutils literal"><span class="pre">content</span></tt> column twice.</p>
502
+ <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
503
+ weight usage example.</p>
504
+ <p>Execution example:</p>
505
+ <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;
506
+ [
507
+ [
508
+ 0,
509
+ 1335519594.08917,
510
+ 0.0003814697265625
511
+ ],
512
+ [
513
+ [
514
+ [
515
+ 2
516
+ ],
517
+ [
518
+ [
519
+ &quot;_key&quot;,
520
+ &quot;ShortText&quot;
521
+ ],
522
+ [
523
+ &quot;_score&quot;,
524
+ &quot;Int32&quot;
525
+ ]
526
+ ],
527
+ [
528
+ &quot;Groonga&quot;,
529
+ 2
530
+ ],
531
+ [
532
+ &quot;Mroonga&quot;,
533
+ 4
534
+ ]
535
+ ]
536
+ ]
537
+ ]
538
+ </pre></div>
539
+ </div>
540
+ <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
541
+ fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight is 2.</p>
542
+ <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
543
+ weight is 2.</p>
544
+ <p>You can specify one or more columns as the default target columns for
545
+ fulltext search. If one or more columns are specified, fulltext search
546
+ is done for all columns and scores are accumulated. If one of the
547
+ columns is matched against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value, the record is
548
+ treated as matched.</p>
549
+ <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>
550
+ <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
551
+ omitted, 1 is used for weight. Here is a one or more columns usage
552
+ example.</p>
553
+ <p>Execution example:</p>
554
+ <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;
555
+ [
556
+ [
557
+ 0,
558
+ 1335594540.29792,
559
+ 0.000547885894775391
560
+ ],
561
+ [
562
+ [
563
+ [
564
+ 1
565
+ ],
566
+ [
567
+ [
568
+ &quot;_key&quot;,
569
+ &quot;ShortText&quot;
570
+ ],
571
+ [
572
+ &quot;_score&quot;,
573
+ &quot;Int32&quot;
574
+ ]
575
+ ],
576
+ [
577
+ &quot;Groonga&quot;,
578
+ 11
579
+ ]
580
+ ]
581
+ ]
582
+ ]
583
+ </pre></div>
584
+ </div>
585
+ <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
586
+ 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
587
+ <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
588
+ is 1. This weight allocation means <tt class="docutils literal"><span class="pre">_key</span></tt> column value is more
589
+ important rather than <tt class="docutils literal"><span class="pre">content</span></tt> column value. In this example, title
590
+ of blog entry is more important rather thatn content of blog entry.</p>
591
+ </div>
592
+ <div class="section" id="query">
593
+ <h4>7.3.17.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>
594
+ <p>TODO: write short description and add example.</p>
595
+ <p>See <a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a>.</p>
596
+ </div>
597
+ <div class="section" id="filter">
598
+ <h4>7.3.17.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>
599
+ <p>TODO: write short description and add example.</p>
600
+ <p>See <a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a>.</p>
601
+ </div>
602
+ </div>
603
+ <div class="section" id="advanced-search-parameters">
604
+ <h3>7.3.17.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
605
+ <div class="section" id="match-escalation-threshold">
606
+ <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="Permalink to this headline">¶</a></h4>
607
+ <p>TODO: add example.</p>
608
+ <p>It specifies threshold to determine whether search storategy
609
+ escalation is used or not. The threshold is compared against the
610
+ number of matched records. If the number of matched records is equal
611
+ to or less than the threshold, search storategy escalation is
612
+ used. See <a class="reference internal" href="../spec/search.html"><em>検索</em></a> about search storategy escalation.</p>
613
+ <p>The default threshold is 0. It means that search storategy escalation
614
+ is used only when no records are matched.</p>
615
+ <p>The default threshold can be customized by one of the followings.</p>
160
616
  <blockquote>
161
- <div><p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
162
- <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
617
+ <div><ul class="simple">
618
+ <li><tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> option of configure</li>
619
+ <li><tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> option of groogna command</li>
620
+ <li><tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> configuration item in configuration
621
+ file</li>
622
+ </ul>
163
623
  </div></blockquote>
164
- <p><tt class="docutils literal"><span class="pre">sortby</span></tt></p>
165
- <blockquote>
166
- <div><p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
624
+ </div>
625
+ <div class="section" id="query-expansion">
626
+ <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="Permalink to this headline">¶</a></h4>
627
+ <p>TODO: write in English and add example.</p>
628
+ <p>It specifies a column that is used to expand (substitute) <tt class="docutils literal"><span class="pre">query</span></tt>
629
+ parameter value.</p>
630
+ <p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
631
+ <p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート(&quot;&quot;)で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
632
+ </div>
633
+ </div>
634
+ <div class="section" id="output-related-parameters">
635
+ <h3>7.3.17.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
636
+ <div class="section" id="output-columns">
637
+ <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="Permalink to this headline">¶</a></h4>
638
+ <p>TODO: write in English and add example.</p>
639
+ <p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
640
+ <p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
641
+ </div>
642
+ <div class="section" id="sortby">
643
+ <h4>7.3.17.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>
644
+ <p>TODO: write in English and add example.</p>
645
+ <p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
167
646
  <div class="highlight-none"><div class="highlight"><pre>[-]カラム名1, [-]カラム名2, [-]カラム名3, ...
168
647
  </pre></div>
169
648
  </div>
170
649
  <p>カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加しない場合には昇順にソートします。</p>
171
650
  <p>query引数またはfilter引数を指定した場合はカラム名に'_score'を使えます。'_score'を指定することでスコアでソートすることができます。query引数もfilter引数も指定していない状態で'_score'を指定するとエラーになります。</p>
172
- </div></blockquote>
173
- <p><tt class="docutils literal"><span class="pre">output_columns</span></tt></p>
174
- <blockquote>
175
- <div><p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
176
- <p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
177
- </div></blockquote>
178
- <p><tt class="docutils literal"><span class="pre">offset</span></tt></p>
179
- <blockquote>
180
- <div>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</div></blockquote>
181
- <p><tt class="docutils literal"><span class="pre">limit</span></tt></p>
182
- <blockquote>
183
- <div>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</div></blockquote>
184
- <p><tt class="docutils literal"><span class="pre">drilldown</span></tt></p>
185
- <blockquote>
186
- <div>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</div></blockquote>
187
- <p><tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></p>
188
- <blockquote>
189
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</div></blockquote>
190
- <p><tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></p>
191
- <blockquote>
192
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</div></blockquote>
193
- <p><tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></p>
194
- <blockquote>
195
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</div></blockquote>
196
- <p><tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></p>
197
- <blockquote>
198
- <div>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</div></blockquote>
199
- <p><tt class="docutils literal"><span class="pre">cache</span></tt></p>
200
- <blockquote>
201
- <div><p>クエリキャッシュに関する動作を設定します。</p>
202
- <blockquote>
203
- <div><p><tt class="docutils literal"><span class="pre">no</span></tt></p>
651
+ </div>
652
+ <div class="section" id="offset">
653
+ <h4>7.3.17.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>
654
+ <p>TODO: write in English and add example.</p>
655
+ <p>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</p>
656
+ </div>
657
+ <div class="section" id="limit">
658
+ <h4>7.3.17.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>
659
+ <p>TODO: write in English and add example.</p>
660
+ <p>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</p>
661
+ </div>
662
+ <div class="section" id="scorer">
663
+ <h4>7.3.17.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>
664
+ <p>TODO: write in English and add example.</p>
665
+ <p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
666
+ <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
667
+ </div>
668
+ </div>
669
+ <div class="section" id="facet-related-parameters">
670
+ <h3>7.3.17.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
671
+ <div class="section" id="drilldown">
672
+ <h4>7.3.17.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>
673
+ <p>TODO: write in English and add example.</p>
674
+ <p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
675
+ </div>
676
+ <div class="section" id="drilldown-sortby">
677
+ <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="Permalink to this headline">¶</a></h4>
678
+ <p>TODO: write in English and add example.</p>
679
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
680
+ </div>
681
+ <div class="section" id="drilldown-output-columns">
682
+ <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="Permalink to this headline">¶</a></h4>
683
+ <p>TODO: write in English and add example.</p>
684
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
685
+ </div>
686
+ <div class="section" id="drilldown-offset">
687
+ <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="Permalink to this headline">¶</a></h4>
688
+ <p>TODO: write in English and add example.</p>
689
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
690
+ </div>
691
+ <div class="section" id="drilldown-limit">
692
+ <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="Permalink to this headline">¶</a></h4>
693
+ <p>TODO: write in English and add example.</p>
694
+ <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
695
+ </div>
696
+ </div>
697
+ <div class="section" id="cache-related-parameter">
698
+ <h3>7.3.17.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
699
+ <div class="section" id="cache">
700
+ <h4>7.3.17.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>
701
+ <p>TODO: write in English and add example.</p>
702
+ <p>クエリキャッシュに関する動作を設定します。</p>
703
+ <p><tt class="docutils literal"><span class="pre">no</span></tt></p>
204
704
  <blockquote>
205
705
  <div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
206
- </div></blockquote>
207
- </div></blockquote>
208
- <p><tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></p>
209
- <blockquote>
210
- <div><p>検索の挙動をエスカレーションするかどうかの閾値を設定します。デフォルト値は0です。デフォルト値は以下のいずれかの方法で設定できます。</p>
211
- <blockquote>
212
- <div><ul class="simple">
213
- <li>configureの--with-match-escalation-thresholdオプション</li>
214
- <li>groongaコマンド起動時の--match-escalation-thresholdオプション</li>
215
- <li>設定ファイル中のmatch-escalation-threshold設定項目</li>
216
- </ul>
217
- </div></blockquote>
218
- <p>クエリのヒット件数が閾値を越えない場合は <a class="reference internal" href="../spec/search.html"><em>検索</em></a> で説明している方法で検索方法をエスカレーションしてきます。</p>
219
- </div></blockquote>
220
- <p><tt class="docutils literal"><span class="pre">query_expansion</span></tt></p>
221
- <blockquote>
222
- <div><p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
223
- <p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート(&quot;&quot;)で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
224
- </div></blockquote>
225
706
  </div>
226
707
  </div>
227
- <div class="section" id="id7">
228
- <h2>7.3.17.5. 返値<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
708
+ </div>
709
+ <div class="section" id="id1">
710
+ <h2>7.3.17.5. 返値<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
711
+ <p>TODO: write in English and add example.</p>
229
712
  <p>以下のようなjson形式で値が返却されます。</p>
230
713
  <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
231
714
  </pre></div>
@@ -279,18 +762,14 @@
279
762
  <div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
280
763
  </div></blockquote>
281
764
  </div>
282
- <div class="section" id="id8">
283
- <h2>7.3.17.6. 例<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
284
- <p>テーブルEntryの全レコード・全カラムの値を出力します。:</p>
285
- <div class="highlight-none"><div class="highlight"><pre>select Entry
286
-
287
- [[[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;]]]
288
- </pre></div>
289
- </div>
290
- </div>
291
- <div class="section" id="id9">
292
- <h2>7.3.17.7. 関連項目<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
293
- <p><a class="reference internal" href="../expr.html"><em>grn_expr</em></a></p>
765
+ <div class="section" id="see-also">
766
+ <h2>7.3.17.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
767
+ <blockquote>
768
+ <div><ul class="simple">
769
+ <li><a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a></li>
770
+ <li><a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a></li>
771
+ </ul>
772
+ </div></blockquote>
294
773
  </div>
295
774
  </div>
296
775
 
@@ -303,17 +782,59 @@
303
782
  <h3><a href="../index.html">Table Of Contents</a></h3>
304
783
  <ul>
305
784
  <li><a class="reference internal" href="#">7.3.17. select</a><ul>
306
- <li><a class="reference internal" href="#id1">7.3.17.1. 名前</a></li>
307
- <li><a class="reference internal" href="#id2">7.3.17.2. 書式</a></li>
308
- <li><a class="reference internal" href="#id3">7.3.17.3. 説明</a></li>
309
- <li><a class="reference internal" href="#id4">7.3.17.4. 引数</a><ul>
310
- <li><a class="reference internal" href="#id5">7.3.17.4.1. 条件式</a></li>
311
- <li><a class="reference internal" href="#id6">7.3.17.4.2. 結合演算子</a></li>
785
+ <li><a class="reference internal" href="#summary">7.3.17.1. Summary</a></li>
786
+ <li><a class="reference internal" href="#syntax">7.3.17.2. Syntax</a></li>
787
+ <li><a class="reference internal" href="#usage">7.3.17.3. Usage</a><ul>
788
+ <li><a class="reference internal" href="#simple-usage">7.3.17.3.1. Simple usage</a></li>
789
+ <li><a class="reference internal" href="#search-conditions">7.3.17.3.2. Search conditions</a><ul>
790
+ <li><a class="reference internal" href="#search-condition-query">7.3.17.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
791
+ <li><a class="reference internal" href="#search-condition-filter">7.3.17.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
792
+ </ul>
793
+ </li>
794
+ <li><a class="reference internal" href="#paging">7.3.17.3.3. Paging</a></li>
795
+ <li><a class="reference internal" href="#the-total-number-of-records">7.3.17.3.4. The total number of records</a></li>
796
+ </ul>
797
+ </li>
798
+ <li><a class="reference internal" href="#parameters">7.3.17.4. Parameters</a><ul>
799
+ <li><a class="reference internal" href="#required-parameter">7.3.17.4.1. Required parameter</a><ul>
800
+ <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>
801
+ </ul>
802
+ </li>
803
+ <li><a class="reference internal" href="#search-related-parameters">7.3.17.4.2. Search related parameters</a><ul>
804
+ <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>
805
+ <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>
806
+ <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>
807
+ </ul>
808
+ </li>
809
+ <li><a class="reference internal" href="#advanced-search-parameters">7.3.17.4.3. Advanced search parameters</a><ul>
810
+ <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>
811
+ <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>
812
+ </ul>
813
+ </li>
814
+ <li><a class="reference internal" href="#output-related-parameters">7.3.17.4.4. Output related parameters</a><ul>
815
+ <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>
816
+ <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>
817
+ <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>
818
+ <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>
819
+ <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>
820
+ </ul>
821
+ </li>
822
+ <li><a class="reference internal" href="#facet-related-parameters">7.3.17.4.5. Facet related parameters</a><ul>
823
+ <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>
824
+ <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>
825
+ <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>
826
+ <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>
827
+ <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>
828
+ </ul>
829
+ </li>
830
+ <li><a class="reference internal" href="#cache-related-parameter">7.3.17.4.6. Cache related parameter</a><ul>
831
+ <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>
832
+ </ul>
833
+ </li>
312
834
  </ul>
313
835
  </li>
314
- <li><a class="reference internal" href="#id7">7.3.17.5. 返値</a></li>
315
- <li><a class="reference internal" href="#id8">7.3.17.6. 例</a></li>
316
- <li><a class="reference internal" href="#id9">7.3.17.7. 関連項目</a></li>
836
+ <li><a class="reference internal" href="#id1">7.3.17.5. 返値</a></li>
837
+ <li><a class="reference internal" href="#see-also">7.3.17.6. See also</a></li>
317
838
  </ul>
318
839
  </li>
319
840
  </ul>
@@ -358,7 +879,7 @@
358
879
  <li class="right" >
359
880
  <a href="quit.html" title="7.3.16. quit"
360
881
  >previous</a> |</li>
361
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
882
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
362
883
  <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
363
884
  <li><a href="../commands.html" >7.3. コマンド</a> &raquo;</li>
364
885
  </ul>