rroonga 2.1.2-x86-mingw32 → 2.1.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 (788) hide show
  1. data/doc/text/news.textile +29 -0
  2. data/doc/text/tutorial.textile +176 -199
  3. data/ext/groonga/extconf.rb +16 -2
  4. data/ext/groonga/rb-grn-logger.c +214 -202
  5. data/ext/groonga/rb-grn-object.c +1 -23
  6. data/ext/groonga/rb-grn-table-cursor.c +1 -2
  7. data/ext/groonga/rb-grn-table.c +1 -2
  8. data/ext/groonga/rb-grn-utils.c +3 -7
  9. data/ext/groonga/rb-grn.h +2 -16
  10. data/ext/groonga/rb-groonga.c +1 -3
  11. data/lib/1.8/groonga.so +0 -0
  12. data/lib/1.9/groonga.so +0 -0
  13. data/lib/groonga/context.rb +27 -0
  14. data/lib/groonga/dumper.rb +35 -3
  15. data/lib/groonga/logger.rb +142 -0
  16. data/lib/groonga.rb +2 -1
  17. data/rroonga-build.rb +2 -2
  18. data/test/groonga-test-utils.rb +3 -1
  19. data/test/test-context.rb +63 -0
  20. data/test/test-logger.rb +1 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libstdc++-6.dll +0 -0
  29. data/vendor/local/bin/mecab-config +2 -2
  30. data/vendor/local/bin/mecab.exe +0 -0
  31. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  32. data/vendor/local/include/groonga/groonga.h +48 -7
  33. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  37. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  41. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  49. data/vendor/local/lib/libgroonga.a +0 -0
  50. data/vendor/local/lib/libgroonga.dll.a +0 -0
  51. data/vendor/local/lib/libgroonga.la +3 -3
  52. data/vendor/local/lib/libmecab.a +0 -0
  53. data/vendor/local/lib/libmecab.dll.a +0 -0
  54. data/vendor/local/lib/libmecab.la +1 -1
  55. data/vendor/local/lib/libmsgpack.a +0 -0
  56. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  57. data/vendor/local/lib/libmsgpack.la +2 -2
  58. data/vendor/local/lib/libmsgpackc.a +0 -0
  59. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.la +2 -2
  61. data/vendor/local/lib/pkgconfig/groonga.pc +5 -3
  62. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  63. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  67. data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
  68. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +5 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +5 -3
  70. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -4
  71. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  72. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  73. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -3
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +50 -22
  76. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +46 -0
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +1 -1
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +4 -0
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +135 -0
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +4 -0
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +17 -15
  83. data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +192 -0
  84. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
  85. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
  86. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +2 -14
  87. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +193 -138
  88. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  89. data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -9
  90. data/vendor/local/share/doc/groonga/en/html/community.html +7 -9
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -8
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +6 -8
  93. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -8
  94. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -8
  95. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -8
  96. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -8
  97. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -8
  98. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +8 -18
  99. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -8
  100. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -8
  101. data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -9
  102. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -8
  103. data/vendor/local/share/doc/groonga/en/html/development.html +7 -9
  104. data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -10
  105. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -9
  106. data/vendor/local/share/doc/groonga/en/html/index.html +22 -18
  107. data/vendor/local/share/doc/groonga/en/html/install/centos.html +22 -11
  108. data/vendor/local/share/doc/groonga/en/html/install/debian.html +22 -11
  109. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -14
  110. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -11
  111. data/vendor/local/share/doc/groonga/en/html/install/others.html +9 -11
  112. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -11
  113. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +22 -11
  114. data/vendor/local/share/doc/groonga/en/html/install/windows.html +47 -25
  115. data/vendor/local/share/doc/groonga/en/html/install.html +8 -10
  116. data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -9
  117. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -8
  118. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -8
  119. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -8
  120. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -8
  121. data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -8
  122. data/vendor/local/share/doc/groonga/en/html/news.html +148 -97
  123. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -8
  125. data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -8
  126. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -8
  127. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -8
  128. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -8
  129. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -8
  130. data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -9
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -8
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -8
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +19 -19
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -8
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -8
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -8
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -8
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -8
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -8
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -8
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -8
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -8
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -8
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -8
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -8
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -8
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +8 -10
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -8
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -8
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -8
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -8
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -8
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +11 -13
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +6 -8
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +6 -8
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +6 -8
  157. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -8
  158. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -8
  159. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -8
  160. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -8
  161. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
  162. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +6 -8
  163. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -8
  164. data/vendor/local/share/doc/groonga/en/html/reference/function.html +9 -10
  165. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -8
  166. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -8
  167. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -8
  168. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -8
  169. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -13
  170. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +403 -0
  171. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +29 -31
  172. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -26
  173. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -8
  174. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +6 -8
  175. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -8
  176. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -12
  177. data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -13
  178. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +11 -13
  179. data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -8
  180. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +6 -8
  181. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -8
  182. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -8
  183. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +37 -44
  184. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -8
  185. data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -13
  186. data/vendor/local/share/doc/groonga/en/html/reference.html +14 -16
  187. data/vendor/local/share/doc/groonga/en/html/search.html +7 -9
  188. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  189. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +16 -18
  190. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +43 -45
  191. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +14 -16
  192. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +18 -20
  193. data/vendor/local/share/doc/groonga/en/html/server/http.html +30 -32
  194. data/vendor/local/share/doc/groonga/en/html/server/package.html +375 -0
  195. data/vendor/local/share/doc/groonga/en/html/server.html +23 -19
  196. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +6 -8
  197. data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -8
  198. data/vendor/local/share/doc/groonga/en/html/spec.html +7 -9
  199. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +6 -8
  200. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +6 -8
  201. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +6 -8
  202. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +6 -8
  203. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +6 -8
  204. data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -9
  205. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
  206. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -9
  207. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -8
  208. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -8
  209. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -8
  210. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -8
  211. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -8
  212. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -8
  213. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -8
  214. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -8
  215. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -8
  216. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -8
  217. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -8
  218. data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -9
  219. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +5 -3
  221. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +5 -3
  222. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -4
  223. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  224. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  225. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -3
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +50 -22
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +46 -0
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +1 -1
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +4 -0
  231. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +135 -0
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +4 -0
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +17 -15
  235. data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +192 -0
  236. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
  237. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
  238. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +2 -14
  239. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +192 -137
  240. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  241. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -9
  242. data/vendor/local/share/doc/groonga/ja/html/community.html +7 -9
  243. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -8
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +6 -8
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -8
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -8
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -8
  248. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -8
  249. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -9
  250. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +11 -21
  251. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -9
  252. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -8
  253. data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -12
  254. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -8
  255. data/vendor/local/share/doc/groonga/ja/html/development.html +7 -9
  256. data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -10
  257. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -9
  258. data/vendor/local/share/doc/groonga/ja/html/index.html +28 -24
  259. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +20 -11
  260. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +20 -11
  261. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -14
  262. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -11
  263. data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -11
  264. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -11
  265. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -11
  266. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +47 -20
  267. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -10
  268. data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -9
  269. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -8
  270. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -8
  271. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -8
  272. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -8
  273. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -8
  274. data/vendor/local/share/doc/groonga/ja/html/news.html +135 -97
  275. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  276. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -8
  277. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -8
  278. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -8
  279. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -8
  280. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -8
  281. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -8
  282. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -9
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -8
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -8
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +19 -19
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -8
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -8
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -8
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -8
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -8
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -8
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -8
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -8
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -8
  295. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -8
  296. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -8
  297. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -8
  298. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -8
  299. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -10
  300. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -8
  301. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -8
  302. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -8
  303. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +13 -15
  304. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -8
  305. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +11 -13
  306. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -8
  307. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -8
  308. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -8
  309. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -8
  310. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -8
  311. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -8
  312. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -8
  313. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
  314. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -8
  315. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -8
  316. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +9 -10
  317. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -8
  318. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -8
  319. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -8
  320. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -8
  321. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -13
  322. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +394 -0
  323. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +29 -31
  324. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -26
  325. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -8
  326. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -8
  327. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -8
  328. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -12
  329. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +11 -13
  330. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -68
  331. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -8
  332. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -8
  333. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -8
  334. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -8
  335. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +82 -134
  336. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -12
  337. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +15 -17
  338. data/vendor/local/share/doc/groonga/ja/html/reference.html +20 -22
  339. data/vendor/local/share/doc/groonga/ja/html/search.html +7 -9
  340. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  341. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +16 -18
  342. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +43 -45
  343. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +14 -16
  344. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +18 -20
  345. data/vendor/local/share/doc/groonga/ja/html/server/http.html +30 -32
  346. data/vendor/local/share/doc/groonga/ja/html/server/package.html +372 -0
  347. data/vendor/local/share/doc/groonga/ja/html/server.html +23 -19
  348. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -8
  349. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -8
  350. data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -9
  351. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -8
  352. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -8
  353. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -8
  354. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -8
  355. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -8
  356. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -9
  357. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
  358. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -9
  359. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -9
  360. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -8
  361. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -8
  362. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -8
  363. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -8
  364. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -8
  365. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -8
  366. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -8
  367. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -8
  368. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -8
  369. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -8
  370. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -9
  371. data/vendor/local/share/man/ja/man1/groonga.1 +849 -276
  372. data/vendor/local/share/man/man1/groonga.1 +814 -144
  373. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  374. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  375. metadata +883 -1287
  376. data/ext/groonga/rb-grn-view-accessor.c +0 -53
  377. data/ext/groonga/rb-grn-view-cursor.c +0 -35
  378. data/ext/groonga/rb-grn-view-record.c +0 -41
  379. data/ext/groonga/rb-grn-view.c +0 -414
  380. data/test/test-schema-view.rb +0 -90
  381. data/test/test-view.rb +0 -71
  382. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/view_add.txt +0 -55
  383. data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +0 -196
  384. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/view_add.txt +0 -55
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +0 -197
  386. data/vendor/local/share/doc/groonga/source/__init__.py +0 -0
  387. data/vendor/local/share/doc/groonga/source/characteristic.txt +0 -69
  388. data/vendor/local/share/doc/groonga/source/community.txt +0 -37
  389. data/vendor/local/share/doc/groonga/source/conf.py +0 -272
  390. data/vendor/local/share/doc/groonga/source/contribution/development/com.txt +0 -20
  391. data/vendor/local/share/doc/groonga/source/contribution/development/document.txt +0 -40
  392. data/vendor/local/share/doc/groonga/source/contribution/development/query.txt +0 -214
  393. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +0 -661
  394. data/vendor/local/share/doc/groonga/source/contribution/development/test.txt +0 -116
  395. data/vendor/local/share/doc/groonga/source/contribution/development.txt +0 -12
  396. data/vendor/local/share/doc/groonga/source/contribution/documentation/c-api.txt +0 -14
  397. data/vendor/local/share/doc/groonga/source/contribution/documentation/i18n.txt +0 -198
  398. data/vendor/local/share/doc/groonga/source/contribution/documentation.txt +0 -16
  399. data/vendor/local/share/doc/groonga/source/contribution/report.txt +0 -28
  400. data/vendor/local/share/doc/groonga/source/contribution.txt +0 -26
  401. data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +0 -61
  402. data/vendor/local/share/doc/groonga/source/development.txt +0 -15
  403. data/vendor/local/share/doc/groonga/source/example/completion-1.log +0 -31
  404. data/vendor/local/share/doc/groonga/source/example/correction-1.log +0 -31
  405. data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +0 -4
  406. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +0 -41
  407. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +0 -59
  408. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +0 -65
  409. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +0 -32
  410. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +0 -35
  411. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +0 -31
  412. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +0 -35
  413. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +0 -74
  414. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +0 -35
  415. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +0 -29
  416. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +0 -29
  417. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +0 -36
  418. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +0 -31
  419. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +0 -41
  420. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +0 -41
  421. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +0 -41
  422. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +0 -52
  423. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +0 -131
  424. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +0 -12
  425. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +0 -41
  426. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +0 -59
  427. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +0 -90
  428. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +0 -41
  429. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +0 -59
  430. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +0 -47
  431. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +0 -41
  432. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +0 -47
  433. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +0 -65
  434. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +0 -65
  435. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +0 -35
  436. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +0 -65
  437. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +0 -18
  438. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +0 -33
  439. data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +0 -21
  440. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +0 -31
  441. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +0 -31
  442. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +0 -12
  443. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +0 -14
  444. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +0 -8
  445. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +0 -77
  446. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +0 -35
  447. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +0 -4
  448. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +0 -4
  449. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +0 -4
  450. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +0 -86
  451. data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +0 -21
  452. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +0 -16
  453. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +0 -26
  454. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +0 -26
  455. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +0 -26
  456. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +0 -26
  457. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +0 -15
  458. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +0 -26
  459. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +0 -26
  460. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +0 -26
  461. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +0 -13
  462. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +0 -16
  463. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +0 -28
  464. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +0 -29
  465. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +0 -17
  466. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +0 -28
  467. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +0 -33
  468. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +0 -41
  469. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +0 -47
  470. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +0 -47
  471. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +0 -41
  472. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +0 -47
  473. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +0 -92
  474. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +0 -53
  475. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +0 -59
  476. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +0 -41
  477. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +0 -41
  478. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +0 -47
  479. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +0 -59
  480. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +0 -41
  481. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +0 -41
  482. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +0 -47
  483. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +0 -51
  484. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +0 -41
  485. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +0 -59
  486. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +0 -41
  487. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +0 -41
  488. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +0 -41
  489. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +0 -53
  490. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +0 -47
  491. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +0 -41
  492. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +0 -41
  493. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +0 -47
  494. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +0 -92
  495. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +0 -41
  496. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +0 -47
  497. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +0 -41
  498. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +0 -59
  499. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +0 -47
  500. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +0 -29
  501. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +0 -41
  502. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +0 -52
  503. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +0 -59
  504. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +0 -29
  505. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +0 -35
  506. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +0 -41
  507. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +0 -29
  508. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +0 -41
  509. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +0 -51
  510. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +0 -39
  511. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +0 -41
  512. data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +0 -9
  513. data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +0 -4
  514. data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +0 -8
  515. data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +0 -8
  516. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +0 -31
  517. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +0 -35
  518. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +0 -27
  519. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +0 -46
  520. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +0 -4
  521. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +0 -4
  522. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +0 -4
  523. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +0 -35
  524. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +0 -4
  525. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +0 -48
  526. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +0 -57
  527. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +0 -47
  528. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +0 -47
  529. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +0 -47
  530. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +0 -46
  531. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +0 -54
  532. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +0 -23
  533. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +0 -78
  534. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +0 -85
  535. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +0 -113
  536. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +0 -86
  537. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +0 -74
  538. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +0 -24
  539. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +0 -105
  540. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +0 -20
  541. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +0 -84
  542. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +0 -78
  543. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +0 -41
  544. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +0 -41
  545. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -3
  546. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +0 -4
  547. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +0 -4
  548. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +0 -36
  549. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +0 -36
  550. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +0 -76
  551. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +0 -129
  552. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +0 -76
  553. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +0 -76
  554. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +0 -76
  555. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +0 -22
  556. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +0 -4
  557. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +0 -27
  558. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +0 -33
  559. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +0 -15
  560. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +0 -76
  561. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +0 -36
  562. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +0 -36
  563. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +0 -21
  564. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +0 -137
  565. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +0 -19
  566. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +0 -137
  567. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log +0 -23
  568. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data.log +0 -16
  569. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log +0 -30
  570. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema.log +0 -20
  571. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log +0 -86
  572. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select.log +0 -41
  573. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +0 -59
  574. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +0 -98
  575. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +0 -35
  576. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +0 -35
  577. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +0 -89
  578. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +0 -35
  579. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +0 -73
  580. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +0 -54
  581. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +0 -58
  582. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +0 -37
  583. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +0 -24
  584. data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -5
  585. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +0 -89
  586. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +0 -45
  587. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +0 -102
  588. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +0 -26
  589. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +0 -70
  590. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +0 -80
  591. data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +0 -31
  592. data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +0 -84
  593. data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +0 -150
  594. data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +0 -43
  595. data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +0 -41
  596. data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +0 -41
  597. data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +0 -31
  598. data/vendor/local/share/doc/groonga/source/geolocation_search.txt +0 -52
  599. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.png +0 -0
  600. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.svg +0 -188
  601. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.png +0 -0
  602. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.svg +0 -501
  603. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.png +0 -0
  604. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.svg +0 -275
  605. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.png +0 -0
  606. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.svg +0 -899
  607. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.png +0 -0
  608. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.svg +0 -249
  609. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.png +0 -0
  610. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.svg +0 -275
  611. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.png +0 -0
  612. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.svg +0 -743
  613. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.png +0 -0
  614. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.svg +0 -261
  615. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.png +0 -0
  616. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.svg +0 -228
  617. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.png +0 -0
  618. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.svg +0 -241
  619. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.png +0 -0
  620. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.svg +0 -879
  621. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.png +0 -0
  622. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.svg +0 -879
  623. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.png +0 -0
  624. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.svg +0 -879
  625. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.png +0 -0
  626. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.svg +0 -602
  627. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.png +0 -0
  628. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.svg +0 -600
  629. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.png +0 -0
  630. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.svg +0 -600
  631. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.png +0 -0
  632. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.svg +0 -600
  633. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.png +0 -0
  634. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.svg +0 -917
  635. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.png +0 -0
  636. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.svg +0 -600
  637. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.png +0 -0
  638. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.svg +0 -600
  639. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.png +0 -0
  640. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.svg +0 -600
  641. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.png +0 -0
  642. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.svg +0 -561
  643. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.png +0 -0
  644. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.svg +0 -389
  645. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.png +0 -0
  646. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.svg +0 -469
  647. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.png +0 -0
  648. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.svg +0 -514
  649. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.png +0 -0
  650. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.svg +0 -595
  651. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.png +0 -0
  652. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.svg +0 -600
  653. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.png +0 -0
  654. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.svg +0 -424
  655. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.png +0 -0
  656. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.svg +0 -549
  657. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.png +0 -0
  658. data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.svg +0 -241
  659. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.png +0 -0
  660. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.svg +0 -203
  661. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.png +0 -0
  662. data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.svg +0 -264
  663. data/vendor/local/share/doc/groonga/source/images/geo-in-rectangle.png +0 -0
  664. data/vendor/local/share/doc/groonga/source/images/geo-points-distance.png +0 -0
  665. data/vendor/local/share/doc/groonga/source/images/geo-points-distance.svg +0 -317
  666. data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.png +0 -0
  667. data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.svg +0 -306
  668. data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.png +0 -0
  669. data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.svg +0 -304
  670. data/vendor/local/share/doc/groonga/source/images/geo-points-sort.png +0 -0
  671. data/vendor/local/share/doc/groonga/source/images/geo-points-sort.svg +0 -383
  672. data/vendor/local/share/doc/groonga/source/images/geo-points.png +0 -0
  673. data/vendor/local/share/doc/groonga/source/images/geo-points.svg +0 -296
  674. data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.png +0 -0
  675. data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.svg +0 -287
  676. data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png +0 -0
  677. data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg +0 -174
  678. data/vendor/local/share/doc/groonga/source/index.txt +0 -33
  679. data/vendor/local/share/doc/groonga/source/install/centos.txt +0 -152
  680. data/vendor/local/share/doc/groonga/source/install/debian.txt +0 -136
  681. data/vendor/local/share/doc/groonga/source/install/fedora.txt +0 -82
  682. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +0 -53
  683. data/vendor/local/share/doc/groonga/source/install/others.txt +0 -267
  684. data/vendor/local/share/doc/groonga/source/install/solaris.txt +0 -43
  685. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +0 -196
  686. data/vendor/local/share/doc/groonga/source/install/windows.txt +0 -87
  687. data/vendor/local/share/doc/groonga/source/install.txt +0 -28
  688. data/vendor/local/share/doc/groonga/source/limitations.txt +0 -29
  689. data/vendor/local/share/doc/groonga/source/news/0.x.txt +0 -126
  690. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +0 -289
  691. data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +0 -31
  692. data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +0 -386
  693. data/vendor/local/share/doc/groonga/source/news/senna.txt +0 -109
  694. data/vendor/local/share/doc/groonga/source/news.txt +0 -632
  695. data/vendor/local/share/doc/groonga/source/rdoc.py +0 -762
  696. data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +0 -8
  697. data/vendor/local/share/doc/groonga/source/reference/api.txt +0 -8
  698. data/vendor/local/share/doc/groonga/source/reference/cast.txt +0 -8
  699. data/vendor/local/share/doc/groonga/source/reference/command/command_version.txt +0 -75
  700. data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +0 -228
  701. data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +0 -110
  702. data/vendor/local/share/doc/groonga/source/reference/command.txt +0 -20
  703. data/vendor/local/share/doc/groonga/source/reference/commands/cache_limit.txt +0 -54
  704. data/vendor/local/share/doc/groonga/source/reference/commands/check.txt +0 -166
  705. data/vendor/local/share/doc/groonga/source/reference/commands/clearlock.txt +0 -63
  706. data/vendor/local/share/doc/groonga/source/reference/commands/column_create.txt +0 -95
  707. data/vendor/local/share/doc/groonga/source/reference/commands/column_list.txt +0 -111
  708. data/vendor/local/share/doc/groonga/source/reference/commands/column_remove.txt +0 -60
  709. data/vendor/local/share/doc/groonga/source/reference/commands/define_selector.txt +0 -116
  710. data/vendor/local/share/doc/groonga/source/reference/commands/defrag.txt +0 -59
  711. data/vendor/local/share/doc/groonga/source/reference/commands/delete.txt +0 -72
  712. data/vendor/local/share/doc/groonga/source/reference/commands/dump.txt +0 -91
  713. data/vendor/local/share/doc/groonga/source/reference/commands/load.txt +0 -100
  714. data/vendor/local/share/doc/groonga/source/reference/commands/log_level.txt +0 -67
  715. data/vendor/local/share/doc/groonga/source/reference/commands/log_put.txt +0 -71
  716. data/vendor/local/share/doc/groonga/source/reference/commands/log_reopen.txt +0 -68
  717. data/vendor/local/share/doc/groonga/source/reference/commands/quit.txt +0 -40
  718. data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +0 -59
  719. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +0 -894
  720. data/vendor/local/share/doc/groonga/source/reference/commands/shutdown.txt +0 -40
  721. data/vendor/local/share/doc/groonga/source/reference/commands/status.txt +0 -60
  722. data/vendor/local/share/doc/groonga/source/reference/commands/suggest.txt +0 -270
  723. data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +0 -286
  724. data/vendor/local/share/doc/groonga/source/reference/commands/table_list.txt +0 -81
  725. data/vendor/local/share/doc/groonga/source/reference/commands/table_remove.txt +0 -52
  726. data/vendor/local/share/doc/groonga/source/reference/commands/view_add.txt +0 -55
  727. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +0 -104
  728. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +0 -80
  729. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +0 -105
  730. data/vendor/local/share/doc/groonga/source/reference/executables/grnslap.txt +0 -66
  731. data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +0 -273
  732. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +0 -209
  733. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +0 -56
  734. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-suggest-create-dataset.txt +0 -50
  735. data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +0 -248
  736. data/vendor/local/share/doc/groonga/source/reference/executables.txt +0 -14
  737. data/vendor/local/share/doc/groonga/source/reference/function.txt +0 -20
  738. data/vendor/local/share/doc/groonga/source/reference/functions/edit_distance.txt +0 -48
  739. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +0 -301
  740. data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_circle.txt +0 -81
  741. data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_rectangle.txt +0 -55
  742. data/vendor/local/share/doc/groonga/source/reference/functions/now.txt +0 -36
  743. data/vendor/local/share/doc/groonga/source/reference/functions/rand.txt +0 -43
  744. data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +0 -120
  745. data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +0 -584
  746. data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +0 -805
  747. data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +0 -59
  748. data/vendor/local/share/doc/groonga/source/reference/indexing.txt +0 -110
  749. data/vendor/local/share/doc/groonga/source/reference/log.txt +0 -214
  750. data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +0 -122
  751. data/vendor/local/share/doc/groonga/source/reference/output.txt +0 -164
  752. data/vendor/local/share/doc/groonga/source/reference/pseudo_column.txt +0 -40
  753. data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +0 -153
  754. data/vendor/local/share/doc/groonga/source/reference/query_expanders.txt +0 -12
  755. data/vendor/local/share/doc/groonga/source/reference/tables.txt +0 -163
  756. data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +0 -8
  757. data/vendor/local/share/doc/groonga/source/reference/types.txt +0 -129
  758. data/vendor/local/share/doc/groonga/source/reference.txt +0 -24
  759. data/vendor/local/share/doc/groonga/source/server/gqtp.txt +0 -16
  760. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +0 -298
  761. data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +0 -8
  762. data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +0 -8
  763. data/vendor/local/share/doc/groonga/source/server/http.txt +0 -29
  764. data/vendor/local/share/doc/groonga/source/server.txt +0 -12
  765. data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +0 -214
  766. data/vendor/local/share/doc/groonga/source/spec/search.txt +0 -115
  767. data/vendor/local/share/doc/groonga/source/spec.txt +0 -12
  768. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +0 -195
  769. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +0 -148
  770. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +0 -96
  771. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +0 -115
  772. data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +0 -8
  773. data/vendor/local/share/doc/groonga/source/suggest.txt +0 -17
  774. data/vendor/local/share/doc/groonga/source/textile.py +0 -771
  775. data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
  776. data/vendor/local/share/doc/groonga/source/troubleshooting.txt +0 -12
  777. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +0 -155
  778. data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +0 -66
  779. data/vendor/local/share/doc/groonga/source/tutorial/index.txt +0 -118
  780. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +0 -286
  781. data/vendor/local/share/doc/groonga/source/tutorial/lexicon.txt +0 -11
  782. data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +0 -220
  783. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +0 -487
  784. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +0 -142
  785. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +0 -53
  786. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +0 -62
  787. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +0 -121
  788. data/vendor/local/share/doc/groonga/source/tutorial.txt +0 -21
@@ -1,894 +0,0 @@
1
- .. -*- rst -*-
2
-
3
- .. highlightlang:: none
4
-
5
- .. groonga-command
6
- .. database: commands_select
7
-
8
- ``select``
9
- ==========
10
-
11
- Summary
12
- -------
13
-
14
- ``select`` searches records that are matched to specified conditions
15
- from a table and then outputs them.
16
-
17
- ``select`` is the most important command in groonga. You need to
18
- understand ``select`` to use the full power of groonga.
19
-
20
- Syntax
21
- ------
22
-
23
- ``select`` has many parameters. The required parameter is only
24
- ``table`` and others are optional::
25
-
26
- select table
27
- [match_columns=null]
28
- [query=null]
29
- [filter=null]
30
- [scorer=null]
31
- [sortby=null]
32
- [output_columns="_id, _key, *"]
33
- [offset=0]
34
- [limit=10]
35
- [drilldown=null]
36
- [drilldown_sortby=null]
37
- [drilldown_output_columns=null]
38
- [drilldown_offset=0]
39
- [drilldown_limit=10]
40
- [cache=yes]
41
- [match_escalation_threshold=0]
42
- [query_expansion=null]
43
- [query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
44
-
45
- Usage
46
- -----
47
-
48
- Let's learn about ``select`` usage with examples. This section shows
49
- many popular usages.
50
-
51
- Here are a schema definition and sample data to show usage.
52
-
53
- .. groonga-command
54
- .. include:: ../../example/reference/commands/select/usage_setup.log
55
- .. table_create Entries TABLE_HASH_KEY ShortText
56
- .. column_create Entries content COLUMN_SCALAR Text
57
- .. column_create Entries n_likes COLUMN_SCALAR UInt32
58
- .. table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
59
- .. column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
60
- .. column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
61
- .. load --table Entries
62
- .. [
63
- .. {"_key": "The first post!",
64
- .. "content": "Welcome! This is my first post!",
65
- .. "n_likes": 5},
66
- .. {"_key": "Groonga",
67
- .. "content": "I started to use groonga. It's very fast!",
68
- .. "n_likes": 10},
69
- .. {"_key": "Mroonga",
70
- .. "content": "I also started to use mroonga. It's also very fast! Really fast!",
71
- .. "n_likes": 15},
72
- .. {"_key": "Good-bye Senna",
73
- .. "content": "I migrated all Senna system!",
74
- .. "n_likes": 3},
75
- .. {"_key": "Good-bye Tritonn",
76
- .. "content": "I also migrated all Tritonn system!",
77
- .. "n_likes": 3}
78
- .. ]
79
-
80
- There is a table, ``Entries``, for blog entries. An entry has title,
81
- content and the number of likes for the entry. Title is key of
82
- ``Entries``. Content is value of ``Entries.content`` column. The
83
- number of likes is value of ``Entries.n_likes`` column.
84
-
85
- ``Entries._key`` column and ``Entries.content`` column are indexed
86
- using ``TokenBigram`` tokenizer. So both ``Entries._key`` and
87
- ``Entries.content`` are fulltext search ready.
88
-
89
- OK. The schema and data for examples are ready.
90
-
91
- Simple usage
92
- ^^^^^^^^^^^^
93
-
94
- Here is the most simple usage with the above schema and data. It outputs
95
- all records in ``Entries`` table.
96
-
97
- .. groonga-command
98
- .. include:: ../../example/reference/commands/select/simple_usage.log
99
- .. select Entries
100
-
101
- Why does the command output all records? There are two reasons. The
102
- first reason is that the command doesn't specify any search
103
- conditions. No search condition means all records are matched. The
104
- second reason is that the number of all records is 5. ``select``
105
- command outputs 10 records at a maximum by default. There are only 5
106
- records. It is less than 10. So the command outputs all records.
107
-
108
- Search conditions
109
- ^^^^^^^^^^^^^^^^^
110
-
111
- Search conditions are specified by ``query`` or ``filter``. You can
112
- also specify both ``query`` and ``filter``. It means that selected
113
- records must be matched against both ``query`` and ``filter``.
114
-
115
- Search condition: ``query``
116
- """""""""""""""""""""""""""
117
-
118
- ``query`` is designed for search box in Web page. Imagine a search box
119
- in google.com. You specify search conditions for ``query`` as space
120
- separated keywords. For example, ``search engine`` means a matched
121
- record should contain two words, ``search`` and ``engine``.
122
-
123
- Normally, ``query`` parameter is used for specifying fulltext search
124
- conditions. It can be used for non fulltext search conditions but
125
- ``filter`` is used for the propose.
126
-
127
- ``query`` parameter is used with ``match_columns`` parameter when
128
- ``query`` parameter is used for specifying fulltext search
129
- conditions. ``match_columns`` specifies which columnes and indexes are
130
- matched against ``query``.
131
-
132
- Here is a simple ``query`` usage example.
133
-
134
- .. groonga-command
135
- .. include:: ../../example/reference/commands/select/simple_query.log
136
- .. select Entries --match_columns content --query fast
137
-
138
- The ``select`` command searches records that contain a word ``fast``
139
- in ``content`` column value from ``Entries`` table.
140
-
141
- ``query`` has query syntax but its deatils aren't described here. See
142
- :doc:`/reference/grn_expr/query_syntax` for datails.
143
-
144
- Search condition: ``filter``
145
- """"""""""""""""""""""""""""
146
-
147
- ``filter`` is designed for complex search conditions. You specify
148
- search conditions for ``filter`` as ECMAScript like syntax.
149
-
150
- Here is a simple ``filter`` usage example.
151
-
152
- .. groonga-command
153
- .. include:: ../../example/reference/commands/select/simple_filter.log
154
- .. select Entries --filter 'content @ "fast" && _key == "Groonga"'
155
-
156
- The ``select`` command searches records that contain a word ``fast``
157
- in ``content`` column value and has ``Groonga`` as ``_key`` from
158
- ``Entries`` table. There are three operators in the command, ``@``,
159
- ``&&`` and ``==``. ``@`` is fulltext search operator. ``&&`` and
160
- ``==`` are the same as ECMAScript. ``&&`` is logical AND operator and
161
- ``==`` is equality operator.
162
-
163
- ``filter`` has more operators and syntax like grouping by ``(...)``
164
- its deatils aren't described here. See :doc:`/reference/grn_expr/script_syntax` for
165
- datails.
166
-
167
- Paging
168
- ^^^^^^
169
-
170
- You can specify range of outputted records by ``offset`` and ``limit``.
171
- Here is an example to output only the 2nd record.
172
-
173
- .. groonga-command
174
- .. include:: ../../example/reference/commands/select/paging.log
175
- .. select Entries --offset 1 --limit 1
176
-
177
- ``offset`` is zero-origin. ``--offset 1`` means output range is
178
- started from the 2nd record.
179
-
180
- ``limit`` specifies the max number of output records. ``--limit 1``
181
- means the number of output records is 1 at a maximium. If no records
182
- are matched, ``select`` command outputs no records.
183
-
184
- The total number of records
185
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
-
187
- You can use ``--limit 0`` to retrieve the total number of recrods
188
- without any contents of records.
189
-
190
- .. groonga-command
191
- .. include:: ../../example/reference/commands/select/no_limit.log
192
- .. select Entries --limit 0
193
-
194
- ``--limit 0`` is also useful for retrieving only the number of matched
195
- records.
196
-
197
- Parameters
198
- ----------
199
-
200
- This section describes all parameters. Parameters are categorized.
201
-
202
- Required parameter
203
- ^^^^^^^^^^^^^^^^^^
204
-
205
- There is a required parameter, ``table``.
206
-
207
- ``table``
208
- """""""""
209
-
210
- It specifies a table to be searched. ``table`` must be specified.
211
-
212
- If nonexistent table is specified, an error is returned.
213
-
214
- .. groonga-command
215
- .. include:: ../../example/reference/commands/select/table_nonexistent.log
216
- .. select Nonexistent
217
-
218
- Search related parameters
219
- ^^^^^^^^^^^^^^^^^^^^^^^^^
220
-
221
- There are search related parameters. Typically, ``match_columns`` and
222
- ``query`` parameters are used for implementing a search
223
- box. ``filter`` parameters is used for implementing complex search
224
- feature.
225
-
226
- If both ``query`` and ``filter`` are specified, selected records must
227
- be matched against both ``query`` and ``filter``. If both ``query``
228
- and ``filter`` aren't specified, all records are selected.
229
-
230
- ``match_columns``
231
- """""""""""""""""
232
-
233
- It specifies the default target column for fulltext search by
234
- ``query`` parameter value. A target column for fulltext search can be
235
- specified in ``query`` parameter. The difference between
236
- ``match_columns`` and ``query`` is whether weight is supported or
237
- not. ``match_columns`` supports weight but ``query`` doesn't.
238
-
239
- Weight is relative importance of target column. A higher weight target
240
- column gets more hit score rather than a lower weight target column
241
- when a record is matched by fulltext search. The default weight is 1.
242
-
243
- Here is a simple ``match_columns`` usage example.
244
-
245
- .. groonga-command
246
- .. include:: ../../example/reference/commands/select/match_columns_simple.log
247
- .. select Entries --match_columns content --query fast --output_columns '_key, _score'
248
-
249
- ``--match_columns content`` means the default target column for
250
- fulltext search is ``content`` column and its weight
251
- is 1. ``--output_columns '_key, _score'`` means that the ``select``
252
- command outputs ``_key`` value and ``_score`` value for matched
253
- records.
254
-
255
- Pay attention to ``_score`` value. ``_score`` value is the number of
256
- matched counts against ``query`` parameter value. In the example,
257
- ``query`` parameter value is ``fast``. The fact that ``_score`` value
258
- is 1 means that ``fast`` appers in ``content`` column only once. The
259
- fact that ``_score`` value is 2 means that ``fast`` appears in
260
- ``content`` column twice.
261
-
262
- To specify weight, ``column * weight`` syntax is used. Here is a
263
- weight usage example.
264
-
265
- .. groonga-command
266
- .. include:: ../../example/reference/commands/select/match_columns_weight.log
267
- .. select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
268
-
269
- ``--match_columns 'content * 2'`` means the default target column for
270
- fulltext search is ``content`` column and its weight is 2.
271
-
272
- Pay attention to ``_score`` value. ``_score`` value is doubled because
273
- weight is 2.
274
-
275
- You can specify one or more columns as the default target columns for
276
- fulltext search. If one or more columns are specified, fulltext search
277
- is done for all columns and scores are accumulated. If one of the
278
- columns is matched against ``query`` parameter value, the record is
279
- treated as matched.
280
-
281
- To specify one or more columns, ``column1 * weight1 || column2 *
282
- weight2 || ...`` syntax is used. ``* weight`` can be omitted. If it is
283
- omitted, 1 is used for weight. Here is a one or more columns usage
284
- example.
285
-
286
- .. groonga-command
287
- .. include:: ../../example/reference/commands/select/match_columns_some_columns.log
288
- .. select Entries --match_columns '_key * 10 || content' --query groonga --output_columns '_key, _score'
289
-
290
- ``--match_columns '_key * 10 || content'`` means the default target
291
- columns for fulltext search are ``_key`` and ``content`` columns and
292
- ``_key`` column's weight is 10 and ``content`` column's weight
293
- is 1. This weight allocation means ``_key`` column value is more
294
- important rather than ``content`` column value. In this example, title
295
- of blog entry is more important rather thatn content of blog entry.
296
-
297
- ``query``
298
- """""""""
299
-
300
- It specifies the query text. Normally, it is used for fulltext search
301
- with ``match_columns`` parameter. ``query`` parameter is designed for
302
- a fulltext search form in a Web page. A query text should be formatted
303
- in :doc:`/reference/grn_expr/query_syntax`. The syntax is similar to common search
304
- form like Google's search form. For example, ``word1 word2`` means
305
- that groonga searches records that contain both ``word1`` and
306
- ``word2``. ``word1 OR word2`` means that groogna searches records that
307
- contain either ``word1`` or ``word2``.
308
-
309
- Here is a simple logical and search example.
310
-
311
- .. groonga-command
312
- .. include:: ../../example/reference/commands/select/query_and.log
313
- .. select Entries --match_columns content --query "fast groonga"
314
-
315
- The ``select`` command searches records that contain two words
316
- ``fast`` and ``groonga`` in ``content`` column value from ``Entries``
317
- table.
318
-
319
- Here is a simple logical or search example.
320
-
321
- .. groonga-command
322
- .. include:: ../../example/reference/commands/select/query_or.log
323
- .. select Entries --match_columns content --query "groonga OR mroonga"
324
-
325
- The ``select`` command searches records that contain one of two words
326
- ``groonga`` or ``mroonga`` in ``content`` column value from
327
- ``Entries`` table.
328
-
329
- See :doc:`/reference/grn_expr/query_syntax` for other syntax.
330
-
331
- It can be used for not only fulltext search but also other
332
- conditions. For example, ``column:value`` means the value of
333
- ``column`` column is equal to ``value``. ``column:<value`` means the
334
- value of ``column`` column is less than ``value``.
335
-
336
- Here is a simple equality operator search example.
337
-
338
- .. groonga-command
339
- .. include:: ../../example/reference/commands/select/query_equal.log
340
- .. select Entries --query _key:Groonga
341
-
342
- The ``select`` command searches records that ``_key`` column value is
343
- ``Groonga`` from ``Entries`` table.
344
-
345
- Here is a simple less than operator search example.
346
-
347
- .. groonga-command
348
- .. include:: ../../example/reference/commands/select/query_less_than.log
349
- .. select Entries --query n_likes:<11
350
-
351
- The ``select`` command searches records that ``n_likes`` column value
352
- is less than ``11`` from ``Entries`` table.
353
-
354
- See :doc:`/reference/grn_expr/query_syntax` for other operations.
355
-
356
- ``filter``
357
- """"""""""
358
-
359
- It specifies the filter text. Normally, it is used for complex search
360
- conditions. ``filter`` can be used with ``query`` parameter. If both
361
- ``filter`` and ``query`` are specified, there are conbined with
362
- logical and. It means that matched records should be matched against
363
- both ``filter`` and ``query``.
364
-
365
- ``filter`` parameter is designed for complex conditions. A filter text
366
- should be formated in :doc:`/reference/grn_expr/script_syntax`. The syntax is
367
- similar to ECMAScript. For example, ``column == "value"`` means that
368
- the value of ``column`` column is equal to ``"value"``. ``column <
369
- value`` means that the value of ``column`` column is less than
370
- ``value``.
371
-
372
- Here is a simple equality operator search example.
373
-
374
- .. groonga-command
375
- .. include:: ../../example/reference/commands/select/filter_equal.log
376
- .. select Entries --filter '_key == "Groonga"'
377
-
378
- The ``select`` command searches records that ``_key`` column value is
379
- ``Groonga`` from ``Entries`` table.
380
-
381
- Here is a simple less than operator search example.
382
-
383
- .. groonga-command
384
- .. include:: ../../example/reference/commands/select/filter_less_than.log
385
- .. select Entries --filter 'n_likes < 11'
386
-
387
- The ``select`` command searches records that ``n_likes`` column value
388
- is less than ``11`` from ``Entries`` table.
389
-
390
- See :doc:`/reference/grn_expr/script_syntax` for other operators.
391
-
392
- Advanced search parameters
393
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
394
-
395
- .. _match-escalation-threshold:
396
-
397
- ``match_escalation_threshold``
398
- """"""""""""""""""""""""""""""
399
-
400
- It specifies threshold to determine whether search storategy
401
- escalation is used or not. The threshold is compared against the
402
- number of matched records. If the number of matched records is equal
403
- to or less than the threshold, the search storategy escalation is
404
- used. See :doc:`/spec/search` about the search storategy escalation.
405
-
406
- The default threshold is 0. It means that search storategy escalation
407
- is used only when no records are matched.
408
-
409
- The default threshold can be customized by one of the followings.
410
-
411
- * ``--with-match-escalation-threshold`` option of configure
412
- * ``--match-escalation-threshold`` option of groogna command
413
- * ``match-escalation-threshold`` configuration item in configuration
414
- file
415
-
416
- Here is a simple ``match_escalation_threshold`` usage example. The
417
- first ``select`` doesn't have ``match_escalation_threshold``
418
- parameter. The second ``select`` has ``match_escalation_threshold``
419
- parameter.
420
-
421
- .. groonga-command
422
- .. include:: ../../example/reference/commands/select/match_escalation_threshold.log
423
- .. select Entries --match_columns content --query groo
424
- .. select Entries --match_columns content --query groo --match_escalation_threshold -1
425
-
426
- The first ``select`` command searches records that contain a word
427
- ``groo`` in ``content`` column value from ``Entries`` table. But no
428
- records are matched because the ``TokenBigram`` tokenizer tokenizes
429
- ``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``. (The
430
- ``TokenBigramSplitSymbolAlpha`` tokenizer tokenizes ``groonga`` to
431
- ``gr|ro|oo|on|ng|ga``. See :doc:`/reference/tokenizers` for details.)
432
- It means that ``groonga`` is indexed but ``groo`` isn't indexed. So no
433
- records are matched against ``groo`` by exact match. In the case, the
434
- search storategy escalation is used because the number of matched
435
- records (0) is equal to ``match_escalation_threshold`` (0). One record
436
- is matched against ``groo`` by unsplit search.
437
-
438
- The second ``select`` command also searches records that contain a
439
- word ``groo`` in ``content`` column value from ``Entries`` table. And
440
- it also doesn't found matched records. In this case, the search
441
- storategy escalation is not used because the number of matched
442
- records (0) is larger than ``match_escalation_threshold`` (-1). So no
443
- more searches aren't executed. And no records are matched.
444
-
445
- .. _query-expansion:
446
-
447
- ``query_expansion``
448
- """""""""""""""""""
449
-
450
- It's for query expansion. Query expansion substitutes specific words
451
- to another words in query. Nomally, it's used for synonym search.
452
-
453
- It specifies a column that is used to substitute ``query`` parameter
454
- value. The format of this parameter value is
455
- "``${TABLE}.${COLUMN}``". For example, "``Terms.synonym``" specifies
456
- ``synonym`` column in ``Terms`` table.
457
-
458
- Table for query expansion is called "substitution table". Substitution
459
- table's key must be ``ShortText``. So array table (``TABLE_NO_KEY``)
460
- can't be used for query expansion. Because array table doesn't have
461
- key.
462
-
463
- Column for query expansion is called "substitution
464
- column". Substitution column's value type must be
465
- ``ShortText``. Column type must be vector (``COLUMN_VECTOR``).
466
-
467
- Query expansion substitutes key of substitution table in query with
468
- values in substitution column. If a word in ``query`` is a key of
469
- substitution table, the word is substituted with substitution column
470
- value that is associated with the key. Substition isn't performed
471
- recursively. It means that substitution target words in substituted
472
- query aren't substituted.
473
-
474
- Here is a sample substitution table to show a simple
475
- ``query_expansion`` usage example.
476
-
477
- .. groonga-command
478
- .. include:: ../../example/reference/commands/select/query_expansion_substitution_table.log
479
- .. table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
480
- .. column_create Thesaurus synonym COLUMN_VECTOR ShortText
481
- .. load --table Thesaurus
482
- .. [
483
- .. {"_key": "mroonga", "synonym": ["mroonga", "tritonn", "groonga mysql"]},
484
- .. {"_key": "groonga", "synonym": ["groonga", "senna"]}
485
- .. ]
486
-
487
- ``Thesaurus`` substitution table has two synonyms, ``"mroonga"`` and
488
- ``"groonga"``. If an user searches with ``"mroonga"``, groonga
489
- searches with ``"((mroonga) OR (tritonn) OR (groonga mysql))"``. If an
490
- user searches with ``"groonga"``, groonga searchs with ``"((groonga)
491
- OR (senna))"``. Nomrally, it's good idea that substitution table has
492
- ``KEY_NORMALIZE`` flag. If the flag is used, substitute target word is
493
- matched in case insensitive manner.
494
-
495
- Note that those synonym values include the key value such as
496
- ``"mroonga"`` and ``"groonga"``. It's recommended that you include the
497
- key value. If you don't include key value, substituted value doesn't
498
- include the original substitute target value. Normally, including the
499
- original value is better search result. If you have a word that you
500
- don't want to be searched, you should not include the original
501
- word. For example, you can implement "stop words" by an empty vector
502
- value.
503
-
504
- Here is a simple ``query_expansion`` usage example.
505
-
506
- .. groonga-command
507
- .. include:: ../../example/reference/commands/select/query_expansion_substitute.log
508
- .. select Entries --match_columns content --query "mroonga"
509
- .. select Entries --match_columns content --query "mroonga" --query_expansion Thesaurus.synonym
510
- .. select Entries --match_columns content --query "((mroonga) OR (tritonn) OR (groonga mysql))"
511
-
512
- The first ``select`` command doesn't use query expansion. So a record
513
- that has ``"tritonn"`` isn't found. The second ``select`` command uses
514
- query expansion. So a record that has ``"tritonn"`` is found. The
515
- third ``select`` command doesn't use query expansion but it is same as
516
- the second ``select`` command. The third one uses expanded query.
517
-
518
- Each substitute value can contain any :doc:`/reference/grn_expr/query_syntax` syntax
519
- such as ``(...)`` and ``OR``. You can use complex substitution by
520
- using those syntax.
521
-
522
- Here is a complex substitution usage example that uses query syntax.
523
-
524
- .. groonga-command
525
- .. include:: ../../example/reference/commands/select/query_expansion_complex.log
526
- .. load --table Thesaurus
527
- .. [
528
- .. {"_key": "popular", "synonym": ["popular", "n_likes:>=10"]}
529
- .. ]
530
- .. select Entries --match_columns content --query "popular" --query_expansion Thesaurus.synonym
531
-
532
- The ``load`` command registers a new synonym ``"popular"``. It is
533
- substituted with ``((popular) OR (n_likes:>=10))``. The substituted
534
- query means that "popular" is containing the word "popular" or 10 or
535
- more liked entries.
536
-
537
- The ``select`` command outputs records that ``n_likes`` column value
538
- is equal to or more than ``10`` from ``Entries`` table.
539
-
540
- .. _query-flags:
541
-
542
- ``query_flags``
543
- """""""""""""""
544
-
545
- It customs ``query`` parameter syntax. You cannot update column value
546
- by ``query`` parameter by default. But if you specify
547
- ``ALLOW_COLUMN|ALLOW_UPDATE`` as ``query_flags``, you can update
548
- column value by ``query``.
549
-
550
- Here are available values:
551
-
552
- * ``ALLOW_PRAGMA``
553
- * ``ALLOW_COLUMN``
554
- * ``ALLOW_UPDATE``
555
- * ``ALLOW_LEADING_NOT``
556
- * ``NONE``
557
-
558
- ``ALLOW_PRAGMA`` enables pragma at the head of ``query``. This is not
559
- implemented yet.
560
-
561
- ``ALLOW_COLUMN`` enables search againt columns that are not included
562
- in ``match_columns``. To specify column, there are ``COLUMN:...``
563
- syntaxes.
564
-
565
- ``ALLOW_UPDATE`` enables column update by ``query`` with
566
- ``COLUMN:=NEW_VALUE`` syntax. ``ALLOW_COLUMN`` is also required to
567
- update column because the column update syntax specifies column.
568
-
569
- ``ALLOW_LEADING_NOT`` enables leading NOT condition with ``-WORD``
570
- syntax. The query searches records that doesn't match
571
- ``WORD``. Leading NOT condition query is heavy query in many cases
572
- because it matches many records. So this flag is disabled by
573
- default. Be careful about it when you use the flag.
574
-
575
- ``NONE`` is just ignores. You can use ``NONE`` for specifying no flags.
576
-
577
- They can be combined by separated ``|`` such as
578
- ``ALLOW_COLUMN|ALLOW_UPDATE``.
579
-
580
- The default value is ``ALLOW_PRAGMA|ALLOW_COLUMN``.
581
-
582
- Here is a usage example of ``ALLOW_COLUMN``.
583
-
584
- .. groonga-command
585
- .. include:: ../../example/reference/commands/select/query_flags_allow_column.log
586
- .. select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
587
-
588
- The ``select`` command searches records that contain ``mroonga`` in
589
- ``content`` column value from ``Entries`` table.
590
-
591
- Here is a usage example of ``ALLOW_UPDATE``.
592
-
593
- .. groonga-command
594
- .. include:: ../../example/reference/commands/select/query_flags_allow_update.log
595
- .. table_create Users TABLE_HASH_KEY ShortText
596
- .. column_create Users age COLUMN_SCALAR UInt32
597
- .. load --table Users
598
- .. [
599
- .. {"_key": "alice", "age": 18},
600
- .. {"_key": "bob", "age": 20}
601
- .. ]
602
- .. select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
603
- .. select Users
604
-
605
- The first ``select`` command sets ``age`` column value of all records
606
- to ``19``. The second ``select`` command outputs updated ``age``
607
- column values.
608
-
609
- Here is a usage example of ``ALLOW_LEADING_NOT``.
610
-
611
- .. groonga-command
612
- .. include:: ../../example/reference/commands/select/query_flags_allow_leading_not.log
613
- .. select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
614
-
615
- The ``select`` command searches records that don't contain ``mroonga``
616
- in ``content`` column value from ``Entries`` table.
617
-
618
- Here is a usage example of ``NONE``.
619
-
620
- .. groonga-command
621
- .. include:: ../../example/reference/commands/select/query_flags_none.log
622
- .. select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
623
-
624
- The ``select`` command searches records that contain one of two words
625
- ``mroonga`` or ``_key:Groonga`` in ``content`` from ``Entries`` table.
626
- Note that ``_key:Groonga`` doesn't mean that the value of ``_key``
627
- column is equal to ``Groonga``. Because ``ALLOW_COLUMN`` flag is not
628
- specified.
629
-
630
- See also :doc:`/reference/grn_expr/query_syntax`.
631
-
632
- Output related parameters
633
- ^^^^^^^^^^^^^^^^^^^^^^^^^
634
-
635
- ``output_columns``
636
- """"""""""""""""""
637
-
638
- It specifies output columns separated by ``,``.
639
-
640
- Here is a simple ``output_columns`` usage example.
641
-
642
- .. groonga-command
643
- .. include:: ../../example/reference/commands/select/output_columns_simple.log
644
- .. select Entries --output_columns '_id, _key' --limit 1
645
-
646
- The ``select`` command just outputs ``_id`` and ``_key`` column
647
- values.
648
-
649
- ``*`` is a special value. It means that all columns that are not
650
- :doc:`/reference/pseudo_column`.
651
-
652
- Here is a ``*`` usage example.
653
-
654
- .. groonga-command
655
- .. include:: ../../example/reference/commands/select/output_columns_asterisk.log
656
- .. select Entries --output_columns '_key, *' --limit 1
657
-
658
- The ``select`` command outputs ``_key`` pseudo column, ``content``
659
- column and ``n_likes`` column values but doesn't output ``_id`` pseudo
660
- column value.
661
-
662
- The default value is ``_id, _key, *``. It means that all column
663
- values except ``_score`` are outputted.
664
-
665
- ``sortby``
666
- """"""""""
667
-
668
- It specifies sort keys separated by ``,``. Each sort key is column
669
- name.
670
-
671
- Here is a simple ``sortby`` usage example.
672
-
673
- .. groonga-command
674
- .. include:: ../../example/reference/commands/select/sortby_simple.log
675
- .. select Entries --sortby 'n_likes, _id'
676
-
677
- The ``select`` command sorts by ``n_likes`` column value in ascending
678
- order. For records that has the same ``n_likes`` are sorted by ``_id``
679
- in ascending order. ``"Good-bye Senna"`` and ``"Good-bye Tritonn"``
680
- are the case.
681
-
682
- If you want to sort in descending order, add ``-`` before column name.
683
-
684
- Here is a descending order ``sortby`` usage example.
685
-
686
- .. groonga-command
687
- .. include:: ../../example/reference/commands/select/sortby_descending.log
688
- .. select Entries --sortby '-n_likes, _id'
689
-
690
- The ``select`` command sorts by ``n_likes`` column value in descending
691
- order. But ascending order is used for sorting by ``_id``.
692
-
693
- You can use ``_score`` pseudo column in ``sortby`` if you use
694
- ``query`` or ``filter`` parameter.
695
-
696
- .. groonga-command
697
- .. include:: ../../example/reference/commands/select/sortby_score_with_query.log
698
- .. select Entries --match_columns content --query fast --sortby -_score --output_columns '_key, _score'
699
-
700
- The ``select`` command sorts matched records by hit score in
701
- descending order and outputs record key and hit score.
702
-
703
- If you use ``_score`` without ``query`` nor ``filter`` parameters,
704
- it's just ignored but get a warning in log file.
705
-
706
- ``offset``
707
- """"""""""
708
-
709
- It specifies offset to determine output records range. Offset is
710
- zero-origin. ``--offset 1`` means output range is started from the 2nd
711
- record.
712
-
713
- .. groonga-command
714
- .. include:: ../../example/reference/commands/select/offset_simple.log
715
- .. select Entries --sortby _id --offset 3 --output_columns _key
716
-
717
- The ``select`` command outputs from the 4th record.
718
-
719
- You can specify negative value. It means that ``the number of matched
720
- records + offset``. If you have 3 matched records and specify
721
- ``--offset -2``, you get records from the 1st (``3 + -2 = 1``) record
722
- to the 3rd record.
723
-
724
- .. groonga-command
725
- .. include:: ../../example/reference/commands/select/offset_negative.log
726
- .. select Entries --sortby _id --offset -2 --output_columns _key
727
-
728
- The ``select`` command outputs from the 4th record because the total
729
- number of records is ``5``.
730
-
731
- The default value is ``0``.
732
-
733
- ``limit``
734
- """""""""
735
-
736
- It specifies the max number of output records. If the number of
737
- matched records is less than ``limit``, all records are outputted.
738
-
739
- Here is a simple ``limit`` usage example.
740
-
741
- .. groonga-command
742
- .. include:: ../../example/reference/commands/select/limit_simple.log
743
- .. select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
744
-
745
- The ``select`` command outputs the 3rd, the 4th and the 5th records.
746
-
747
- You can specify negative value. It means that ``the number of matched
748
- records + limit + 1``. For example, ``--limit -1`` outputs all
749
- records. It's very useful value to show all records.
750
-
751
- Here is a simple negative ``limit`` value usage example.
752
-
753
- .. groonga-command
754
- .. include:: ../../example/reference/commands/select/limit_negative.log
755
- .. select Entries --limit -1
756
-
757
- The ``select`` command outputs all records.
758
-
759
- The default value is ``10``.
760
-
761
- ``scorer``
762
- """"""""""
763
-
764
- TODO: write in English and add example.
765
-
766
- 検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。
767
-
768
- scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。
769
-
770
- Facet related parameters
771
- ^^^^^^^^^^^^^^^^^^^^^^^^
772
-
773
- ``drilldown``
774
- """""""""""""
775
-
776
- TODO: write in English and add example.
777
-
778
- グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。
779
-
780
- ``drilldown_sortby``
781
- """"""""""""""""""""
782
-
783
- TODO: write in English and add example.
784
-
785
- drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。
786
-
787
- ``drilldown_output_columns``
788
- """"""""""""""""""""""""""""
789
-
790
- TODO: write in English and add example.
791
-
792
- drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。
793
-
794
- ``drilldown_offset``
795
- """"""""""""""""""""
796
-
797
- TODO: write in English and add example.
798
-
799
- drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。
800
-
801
- ``drilldown_limit``
802
- """""""""""""""""""
803
-
804
- TODO: write in English and add example.
805
-
806
- drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。
807
-
808
- Cache related parameter
809
- ^^^^^^^^^^^^^^^^^^^^^^^
810
-
811
- ``cache``
812
- """""""""
813
-
814
- TODO: write in English and add example.
815
-
816
- クエリキャッシュに関する動作を設定します。
817
-
818
- ``no``
819
-
820
- 検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。
821
-
822
- 返値
823
- ----
824
-
825
- TODO: write in English and add example.
826
-
827
- 以下のようなjson形式で値が返却されます。
828
-
829
- ::
830
-
831
- [[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
832
-
833
- ``リターンコード``
834
-
835
- grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
836
- 文字列が返されます。
837
-
838
- ``処理開始時間``
839
-
840
- 処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。
841
-
842
- ``処理時間``
843
-
844
- 処理にかかった秒数を返します。
845
-
846
- ``検索結果``
847
-
848
- drilldown条件が実行される前の検索結果が以下のように出力されます。::
849
-
850
- [[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]
851
-
852
- ``検索件数``
853
-
854
- 検索件数が出力されます。
855
-
856
- ``カラム名n``
857
-
858
- output_columnsに指定された条件に従って、対象となるカラム名が出力されます。
859
-
860
- ``カラム型n``
861
-
862
- output_columnsに指定された条件に従って、対象となるカラム型が出力されます。
863
-
864
- ``検索結果n``
865
-
866
- output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。
867
-
868
- ``drilldown結果``
869
-
870
- drilldown処理の結果が以下のように出力されます。::
871
-
872
- [[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
873
-
874
- ``件数``
875
-
876
- drilldownに指定されたカラムの値の異なり数が出力されます。
877
-
878
- ``カラム名n``
879
-
880
- drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。
881
-
882
- ``カラム型n``
883
-
884
- drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。
885
-
886
- ``ドリルダウン結果n``
887
-
888
- drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。
889
-
890
- See also
891
- --------
892
-
893
- * :doc:`/reference/grn_expr/query_syntax`
894
- * :doc:`/reference/grn_expr/script_syntax`