rroonga 2.0.4-x86-mingw32 → 2.0.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (887) hide show
  1. data/Rakefile +29 -2
  2. data/bin/grndump +3 -2
  3. data/ext/groonga/extconf.rb +37 -10
  4. data/ext/groonga/rb-grn-accessor.c +8 -10
  5. data/ext/groonga/rb-grn-array-cursor.c +2 -2
  6. data/ext/groonga/rb-grn-array.c +39 -36
  7. data/ext/groonga/rb-grn-column.c +185 -200
  8. data/ext/groonga/rb-grn-context.c +104 -93
  9. data/ext/groonga/rb-grn-database.c +116 -114
  10. data/ext/groonga/rb-grn-double-array-trie-cursor.c +3 -3
  11. data/ext/groonga/rb-grn-double-array-trie.c +159 -168
  12. data/ext/groonga/rb-grn-encoding-support.c +2 -3
  13. data/ext/groonga/rb-grn-encoding.c +39 -34
  14. data/ext/groonga/rb-grn-exception.c +1 -1
  15. data/ext/groonga/rb-grn-expression.c +141 -159
  16. data/ext/groonga/rb-grn-fix-size-column.c +12 -13
  17. data/ext/groonga/rb-grn-geo-point.c +55 -0
  18. data/ext/groonga/rb-grn-hash-cursor.c +3 -3
  19. data/ext/groonga/rb-grn-hash.c +73 -86
  20. data/ext/groonga/rb-grn-index-column.c +80 -90
  21. data/ext/groonga/rb-grn-index-cursor.c +48 -15
  22. data/ext/groonga/rb-grn-logger.c +42 -63
  23. data/ext/groonga/rb-grn-object.c +73 -100
  24. data/ext/groonga/rb-grn-operator.c +1 -1
  25. data/ext/groonga/rb-grn-patricia-trie-cursor.c +2 -2
  26. data/ext/groonga/rb-grn-patricia-trie.c +200 -260
  27. data/ext/groonga/rb-grn-plugin.c +17 -24
  28. data/ext/groonga/rb-grn-posting.c +6 -1
  29. data/ext/groonga/rb-grn-snippet.c +37 -54
  30. data/ext/groonga/rb-grn-table-cursor-key-support.c +3 -3
  31. data/ext/groonga/rb-grn-table-cursor.c +21 -26
  32. data/ext/groonga/rb-grn-table-key-support.c +53 -63
  33. data/ext/groonga/rb-grn-table.c +366 -393
  34. data/ext/groonga/rb-grn-type.c +122 -26
  35. data/ext/groonga/rb-grn-utils.c +77 -7
  36. data/ext/groonga/rb-grn-variable-size-column.c +12 -20
  37. data/ext/groonga/rb-grn-variable.c +6 -7
  38. data/ext/groonga/rb-grn-view-accessor.c +1 -1
  39. data/ext/groonga/rb-grn-view-cursor.c +2 -2
  40. data/ext/groonga/rb-grn-view.c +46 -58
  41. data/ext/groonga/rb-grn.h +36 -4
  42. data/ext/groonga/rb-groonga.c +7 -6
  43. data/lib/1.8/groonga.so +0 -0
  44. data/lib/1.9/groonga.so +0 -0
  45. data/lib/groonga/command.rb +3 -1
  46. data/lib/groonga/database.rb +27 -0
  47. data/lib/groonga/dumper.rb +201 -46
  48. data/lib/groonga/expression-builder.rb +24 -0
  49. data/lib/groonga/geo-point.rb +216 -0
  50. data/lib/groonga/pagination.rb +30 -24
  51. data/lib/groonga/posting.rb +29 -1
  52. data/lib/groonga/record.rb +21 -18
  53. data/lib/groonga/schema.rb +185 -186
  54. data/lib/groonga.rb +3 -1
  55. data/rroonga-build.rb +1 -1
  56. data/rroonga.gemspec +90 -0
  57. data/test/groonga-test-utils.rb +168 -0
  58. data/test/run-test.rb +60 -0
  59. data/test/test-accessor.rb +36 -0
  60. data/test/test-array.rb +146 -0
  61. data/test/test-column.rb +350 -0
  62. data/test/test-command-select.rb +246 -0
  63. data/test/test-context.rb +130 -0
  64. data/test/test-database-dumper.rb +299 -0
  65. data/test/test-database.rb +173 -0
  66. data/test/test-double-array-trie.rb +189 -0
  67. data/test/test-encoding.rb +33 -0
  68. data/test/test-exception.rb +230 -0
  69. data/test/test-expression-builder.rb +643 -0
  70. data/test/test-expression.rb +134 -0
  71. data/test/test-fix-size-column.rb +77 -0
  72. data/test/test-geo-point.rb +190 -0
  73. data/test/test-gqtp.rb +70 -0
  74. data/test/test-hash.rb +367 -0
  75. data/test/test-index-column.rb +180 -0
  76. data/test/test-index-cursor.rb +149 -0
  77. data/test/test-logger.rb +37 -0
  78. data/test/test-pagination.rb +249 -0
  79. data/test/test-patricia-trie.rb +440 -0
  80. data/test/test-plugin.rb +35 -0
  81. data/test/test-procedure.rb +37 -0
  82. data/test/test-record.rb +577 -0
  83. data/test/test-remote.rb +63 -0
  84. data/test/test-schema-create-table.rb +267 -0
  85. data/test/test-schema-dumper.rb +235 -0
  86. data/test/test-schema-type.rb +208 -0
  87. data/test/test-schema-view.rb +90 -0
  88. data/test/test-schema.rb +886 -0
  89. data/test/test-snippet.rb +130 -0
  90. data/test/test-table-dumper.rb +353 -0
  91. data/test/test-table-offset-and-limit.rb +100 -0
  92. data/test/test-table-select-mecab.rb +80 -0
  93. data/test/test-table-select-normalize.rb +57 -0
  94. data/test/test-table-select-weight.rb +123 -0
  95. data/test/test-table-select.rb +191 -0
  96. data/test/test-table-traverse.rb +304 -0
  97. data/test/test-table.rb +711 -0
  98. data/test/test-type.rb +136 -0
  99. data/test/test-variable-size-column.rb +147 -0
  100. data/test/test-variable.rb +28 -0
  101. data/test/test-vector-column.rb +76 -0
  102. data/test/test-version.rb +61 -0
  103. data/test/test-view.rb +72 -0
  104. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  105. data/vendor/local/bin/groonga.exe +0 -0
  106. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  107. data/vendor/local/bin/libgroonga-0.dll +0 -0
  108. data/vendor/local/bin/libmecab-1.dll +0 -0
  109. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  110. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  111. data/vendor/local/bin/libstdc++-6.dll +0 -0
  112. data/vendor/local/bin/mecab-config +2 -2
  113. data/vendor/local/bin/mecab.exe +0 -0
  114. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +49 -0
  115. data/vendor/local/include/groonga/groonga/plugin.h +1 -1
  116. data/vendor/local/include/groonga/groonga.h +83 -7
  117. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  118. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  119. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  120. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  121. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  122. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  123. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  124. data/vendor/local/lib/groonga/plugins/table/table.la +41 -0
  125. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  126. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  127. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  128. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  129. data/vendor/local/lib/libgroonga.a +0 -0
  130. data/vendor/local/lib/libgroonga.dll.a +0 -0
  131. data/vendor/local/lib/libgroonga.la +3 -3
  132. data/vendor/local/lib/libmecab.a +0 -0
  133. data/vendor/local/lib/libmecab.dll.a +0 -0
  134. data/vendor/local/lib/libmecab.la +1 -1
  135. data/vendor/local/lib/libmsgpack.a +0 -0
  136. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  137. data/vendor/local/lib/libmsgpack.la +2 -2
  138. data/vendor/local/lib/libmsgpackc.a +0 -0
  139. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  140. data/vendor/local/lib/libmsgpackc.la +2 -2
  141. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  142. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  143. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  144. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  145. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  146. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  147. data/vendor/local/sbin/groonga-httpd-restart +64 -0
  148. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  149. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +17 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +638 -0
  151. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +21 -6
  152. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -1
  153. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +61 -0
  154. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +15 -0
  155. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -0
  156. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +131 -0
  157. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +136 -0
  158. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +72 -0
  159. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +53 -0
  160. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +267 -0
  161. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +43 -0
  162. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +196 -0
  163. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +77 -0
  164. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +21 -346
  165. data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +3 -3
  166. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +16 -16
  167. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
  168. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +17 -17
  169. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +235 -4
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +8 -0
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -0
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +8 -0
  173. data/vendor/local/share/doc/groonga/en/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
  174. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
  175. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/check.txt +0 -0
  176. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
  177. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
  178. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
  179. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
  180. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/define_selector.txt +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
  182. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/delete.txt +0 -0
  183. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/dump.txt +0 -0
  184. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/load.txt +1 -1
  185. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
  186. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
  187. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/quit.txt +0 -0
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +892 -0
  190. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
  191. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/status.txt +5 -6
  192. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/suggest.txt +8 -8
  193. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
  194. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_list.txt +3 -26
  195. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_remove.txt +3 -3
  196. data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
  197. data/vendor/local/share/doc/groonga/en/html/_sources/{commands.txt → reference/commands.txt} +0 -0
  198. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/add.txt +0 -0
  199. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/get.txt +0 -0
  200. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/set.txt +0 -0
  201. data/vendor/local/share/doc/groonga/en/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
  202. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/grntest.txt +1 -1
  203. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +209 -0
  204. data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/groonga-http.txt → en/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
  205. data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
  206. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/executables/groonga.txt +4 -4
  207. data/vendor/local/share/doc/groonga/en/html/_sources/{executables.txt → reference/executables.txt} +0 -0
  208. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
  209. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +284 -0
  210. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
  211. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  212. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/now.txt +0 -0
  213. data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/rand.txt +0 -0
  214. data/vendor/local/share/doc/groonga/en/html/_sources/{functions.txt → reference/functions.txt} +0 -0
  215. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
  216. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
  217. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +59 -0
  218. data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/indexing.txt +7 -7
  219. data/vendor/local/share/doc/groonga/en/html/_sources/{log.txt → reference/log.txt} +0 -0
  220. data/vendor/local/share/doc/groonga/en/html/_sources/{output.txt → reference/output.txt} +0 -0
  221. data/vendor/local/share/doc/groonga/en/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  222. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +8 -0
  223. data/vendor/local/share/doc/groonga/en/html/_sources/{type.txt → reference/type.txt} +4 -4
  224. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +12 -9
  225. data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +16 -0
  226. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +288 -0
  227. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +8 -0
  228. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +8 -0
  229. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +29 -0
  230. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +12 -0
  231. data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
  232. data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +2 -2
  233. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +1 -1
  234. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +2 -2
  235. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -0
  236. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +1 -1
  237. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  238. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +11 -11
  239. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +23 -23
  240. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +3 -1
  241. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
  242. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +8 -6
  243. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
  244. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -3
  245. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -154
  246. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +29 -21
  247. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/community.html +25 -10
  249. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
  250. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
  251. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +67 -67
  252. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +742 -0
  253. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +47 -47
  254. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -22
  255. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
  256. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +38 -38
  257. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -19
  258. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +46 -21
  259. data/vendor/local/share/doc/groonga/en/html/contribution.html +85 -50
  260. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +191 -0
  261. data/vendor/local/share/doc/groonga/en/html/{executables.html → development.html} +27 -28
  262. data/vendor/local/share/doc/groonga/en/html/genindex.html +61 -61
  263. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +10 -10
  264. data/vendor/local/share/doc/groonga/en/html/index.html +167 -108
  265. data/vendor/local/share/doc/groonga/en/html/install/centos.html +251 -0
  266. data/vendor/local/share/doc/groonga/en/html/install/debian.html +260 -0
  267. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +202 -0
  268. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +186 -0
  269. data/vendor/local/share/doc/groonga/en/html/install/others.html +394 -0
  270. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +171 -0
  271. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +321 -0
  272. data/vendor/local/share/doc/groonga/en/html/install/windows.html +200 -0
  273. data/vendor/local/share/doc/groonga/en/html/install.html +91 -349
  274. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
  275. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -8
  276. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -21
  277. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
  278. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +23 -23
  279. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/news.html +301 -37
  281. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  282. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +111 -0
  283. data/vendor/local/share/doc/groonga/en/html/reference/api.html +134 -0
  284. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +111 -0
  285. data/vendor/local/share/doc/groonga/en/html/{command_version.html → reference/command_version.html} +44 -44
  286. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/cache_limit.html +48 -48
  287. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/check.html +48 -48
  288. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/clearlock.html +48 -48
  289. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_create.html +48 -48
  290. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_list.html +48 -48
  291. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_remove.html +48 -48
  292. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/define_selector.html +51 -51
  293. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/defrag.html +48 -48
  294. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/delete.html +48 -48
  295. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/dump.html +46 -46
  296. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/load.html +51 -51
  297. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_level.html +50 -50
  298. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_put.html +50 -50
  299. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_reopen.html +52 -52
  300. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/quit.html +46 -46
  301. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +2340 -0
  302. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/shutdown.html +46 -46
  303. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/status.html +67 -51
  304. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/suggest.html +246 -246
  305. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_create.html +48 -48
  306. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_list.html +140 -72
  307. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_remove.html +51 -51
  308. data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/view_add.html +48 -48
  309. data/vendor/local/share/doc/groonga/en/html/{commands.html → reference/commands.html} +55 -55
  310. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +201 -0
  311. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +182 -0
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +203 -0
  313. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grnslap.html +46 -46
  314. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grntest.html +62 -62
  315. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +367 -0
  316. data/vendor/local/share/doc/groonga/en/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +46 -46
  317. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga-suggest-create-dataset.html +53 -53
  318. data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga.html +54 -54
  319. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +144 -0
  320. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/edit_distance.html +46 -46
  321. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +551 -0
  322. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_circle.html +46 -46
  323. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_rectangle.html +46 -46
  324. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/now.html +44 -44
  325. data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/rand.html +46 -46
  326. data/vendor/local/share/doc/groonga/en/html/reference/functions.html +143 -0
  327. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +1365 -0
  328. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +1977 -0
  329. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +192 -0
  330. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +318 -0
  331. data/vendor/local/share/doc/groonga/en/html/{log.html → reference/log.html} +42 -42
  332. data/vendor/local/share/doc/groonga/en/html/{output.html → reference/output.html} +39 -39
  333. data/vendor/local/share/doc/groonga/en/html/{pseudo_column.html → reference/pseudo_column.html} +38 -38
  334. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +134 -0
  335. data/vendor/local/share/doc/groonga/en/html/{type.html → reference/type.html} +45 -45
  336. data/vendor/local/share/doc/groonga/en/html/reference.html +84 -76
  337. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  339. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +135 -0
  340. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +452 -0
  341. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +136 -0
  342. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +136 -0
  343. data/vendor/local/share/doc/groonga/en/html/server/http.html +168 -0
  344. data/vendor/local/share/doc/groonga/en/html/{functions.html → server.html} +26 -28
  345. data/vendor/local/share/doc/groonga/en/html/spec/search.html +30 -30
  346. data/vendor/local/share/doc/groonga/en/html/spec.html +18 -20
  347. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +35 -35
  348. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +36 -36
  349. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +13 -11
  350. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +39 -39
  351. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  352. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  353. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
  354. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
  355. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +340 -340
  356. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +452 -36
  357. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +382 -382
  358. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +755 -79
  359. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  360. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +311 -311
  361. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +561 -535
  362. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +107 -107
  363. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +145 -143
  364. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +176 -176
  365. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +415 -34
  366. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +17 -0
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +638 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +21 -6
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +61 -0
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +15 -0
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +131 -0
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +136 -0
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +72 -0
  378. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +53 -0
  379. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +267 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +43 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +196 -0
  382. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +77 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +21 -346
  384. data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +3 -3
  385. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +16 -16
  386. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
  387. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +17 -17
  388. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +235 -4
  389. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +8 -0
  390. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -0
  391. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +8 -0
  392. data/vendor/local/share/doc/groonga/ja/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
  393. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
  394. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/check.txt +0 -0
  395. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
  396. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
  397. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
  398. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
  399. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/commands/define_selector.txt +1 -1
  400. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
  401. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/delete.txt +0 -0
  402. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/dump.txt +0 -0
  403. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/load.txt +1 -1
  404. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
  405. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
  406. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
  407. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/quit.txt +0 -0
  408. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +892 -0
  409. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
  410. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/status.txt +5 -6
  411. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/suggest.txt +8 -8
  412. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
  413. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_list.txt +3 -26
  414. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_remove.txt +3 -3
  415. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
  416. data/vendor/local/share/doc/groonga/ja/html/_sources/{commands.txt → reference/commands.txt} +0 -0
  417. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +104 -0
  418. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +80 -0
  419. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +105 -0
  420. data/vendor/local/share/doc/groonga/ja/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
  421. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/grntest.txt +1 -1
  422. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +209 -0
  423. data/vendor/local/share/doc/groonga/{source/executables/groonga-http.txt → ja/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
  424. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
  425. data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga.txt +4 -4
  426. data/vendor/local/share/doc/groonga/ja/html/_sources/{executables.txt → reference/executables.txt} +0 -0
  427. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
  428. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +284 -0
  429. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
  430. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  431. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/now.txt +0 -0
  432. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/rand.txt +0 -0
  433. data/vendor/local/share/doc/groonga/ja/html/_sources/{functions.txt → reference/functions.txt} +0 -0
  434. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
  435. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
  436. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +59 -0
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/{indexing.txt → reference/indexing.txt} +7 -7
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/{log.txt → reference/log.txt} +0 -0
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/{output.txt → reference/output.txt} +0 -0
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +8 -0
  442. data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/type.txt +4 -4
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +12 -9
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +16 -0
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +288 -0
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +8 -0
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +8 -0
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +29 -0
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +12 -0
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +2 -2
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +1 -1
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +2 -2
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -0
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +1 -1
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +11 -11
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +23 -23
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +3 -1
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +8 -6
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -3
  464. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -154
  465. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +29 -21
  466. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  467. data/vendor/local/share/doc/groonga/ja/html/community.html +22 -10
  468. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
  469. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +30 -30
  470. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +67 -67
  471. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +743 -0
  472. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +47 -47
  473. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +23 -22
  474. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
  475. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +38 -38
  476. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -19
  477. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +41 -17
  478. data/vendor/local/share/doc/groonga/ja/html/contribution.html +85 -50
  479. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +180 -0
  480. data/vendor/local/share/doc/groonga/ja/html/{executables.html → development.html} +25 -28
  481. data/vendor/local/share/doc/groonga/ja/html/genindex.html +61 -61
  482. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +10 -10
  483. data/vendor/local/share/doc/groonga/ja/html/index.html +167 -108
  484. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +236 -0
  485. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +250 -0
  486. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +190 -0
  487. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +182 -0
  488. data/vendor/local/share/doc/groonga/ja/html/install/others.html +348 -0
  489. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +168 -0
  490. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +309 -0
  491. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +186 -0
  492. data/vendor/local/share/doc/groonga/ja/html/install.html +83 -340
  493. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
  494. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -8
  495. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -21
  496. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  497. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +23 -23
  498. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/news.html +273 -40
  500. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  501. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +112 -0
  502. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +135 -0
  503. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +112 -0
  504. data/vendor/local/share/doc/groonga/ja/html/{command_version.html → reference/command_version.html} +45 -45
  505. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/cache_limit.html +49 -49
  506. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/check.html +49 -49
  507. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/clearlock.html +49 -49
  508. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_create.html +49 -49
  509. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_list.html +49 -49
  510. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_remove.html +49 -49
  511. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/define_selector.html +52 -52
  512. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/defrag.html +49 -49
  513. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/delete.html +49 -49
  514. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/dump.html +47 -47
  515. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/load.html +52 -52
  516. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_level.html +51 -51
  517. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_put.html +51 -51
  518. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_reopen.html +53 -53
  519. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/quit.html +47 -47
  520. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2134 -0
  521. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/shutdown.html +47 -47
  522. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/status.html +68 -52
  523. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/suggest.html +254 -254
  524. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_create.html +49 -49
  525. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_list.html +141 -73
  526. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_remove.html +52 -52
  527. data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/view_add.html +49 -49
  528. data/vendor/local/share/doc/groonga/ja/html/{commands.html → reference/commands.html} +56 -56
  529. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +202 -0
  530. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +183 -0
  531. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +204 -0
  532. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grnslap.html +47 -47
  533. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grntest.html +63 -63
  534. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +339 -0
  535. data/vendor/local/share/doc/groonga/ja/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +47 -47
  536. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +187 -0
  537. data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/groonga.html +55 -55
  538. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +145 -0
  539. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/edit_distance.html +47 -47
  540. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +510 -0
  541. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_circle.html +47 -47
  542. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_rectangle.html +47 -47
  543. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/now.html +45 -45
  544. data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/rand.html +47 -47
  545. data/vendor/local/share/doc/groonga/ja/html/reference/functions.html +144 -0
  546. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +1210 -0
  547. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +1819 -0
  548. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +169 -0
  549. data/vendor/local/share/doc/groonga/ja/html/{indexing.html → reference/indexing.html} +147 -147
  550. data/vendor/local/share/doc/groonga/ja/html/{log.html → reference/log.html} +55 -55
  551. data/vendor/local/share/doc/groonga/ja/html/{output.html → reference/output.html} +40 -40
  552. data/vendor/local/share/doc/groonga/ja/html/{pseudo_column.html → reference/pseudo_column.html} +39 -39
  553. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +135 -0
  554. data/vendor/local/share/doc/groonga/ja/html/{type.html → reference/type.html} +48 -48
  555. data/vendor/local/share/doc/groonga/ja/html/reference.html +84 -76
  556. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  557. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  558. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +136 -0
  559. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +406 -0
  560. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +137 -0
  561. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +137 -0
  562. data/vendor/local/share/doc/groonga/ja/html/server/http.html +166 -0
  563. data/vendor/local/share/doc/groonga/ja/html/{functions.html → server.html} +26 -28
  564. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +30 -30
  565. data/vendor/local/share/doc/groonga/ja/html/spec.html +18 -20
  566. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +35 -35
  567. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +36 -36
  568. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +15 -13
  569. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +39 -39
  570. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
  573. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
  574. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +339 -339
  575. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +452 -36
  576. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +382 -382
  577. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +756 -80
  578. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +311 -311
  580. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +561 -535
  581. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +108 -108
  582. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +145 -143
  583. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +176 -176
  584. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +415 -34
  585. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  586. data/vendor/local/share/doc/groonga/source/community.txt +17 -0
  587. data/vendor/local/share/doc/groonga/source/conf.py +3 -16
  588. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +638 -0
  589. data/vendor/local/share/doc/groonga/source/contribution/report.txt +21 -6
  590. data/vendor/local/share/doc/groonga/source/contribution.txt +0 -1
  591. data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +61 -0
  592. data/vendor/local/share/doc/groonga/source/development.txt +15 -0
  593. data/vendor/local/share/doc/groonga/source/example/completion-1.log +29 -30
  594. data/vendor/local/share/doc/groonga/source/example/correction-1.log +29 -30
  595. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +41 -0
  596. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +59 -0
  597. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +65 -0
  598. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +32 -0
  599. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +35 -0
  600. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +31 -0
  601. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +35 -0
  602. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +74 -0
  603. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +35 -0
  604. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +29 -0
  605. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +29 -0
  606. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +36 -0
  607. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +31 -0
  608. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +41 -0
  609. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +41 -0
  610. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +41 -0
  611. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +52 -0
  612. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +131 -0
  613. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +12 -0
  614. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +41 -0
  615. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +59 -0
  616. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +90 -0
  617. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +41 -0
  618. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +59 -0
  619. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +47 -0
  620. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +41 -0
  621. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +47 -0
  622. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +65 -0
  623. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +65 -0
  624. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +35 -0
  625. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +65 -0
  626. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +18 -0
  627. data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +33 -0
  628. data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +21 -0
  629. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +31 -0
  630. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +31 -0
  631. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +12 -0
  632. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +14 -0
  633. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +8 -0
  634. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +77 -0
  635. data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +35 -0
  636. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +94 -0
  637. data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +21 -0
  638. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +16 -0
  639. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +26 -0
  640. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +15 -0
  641. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +26 -0
  642. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +26 -0
  643. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +26 -0
  644. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +13 -0
  645. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +16 -0
  646. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +33 -0
  647. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +41 -0
  648. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +47 -0
  649. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +47 -0
  650. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +41 -0
  651. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +47 -0
  652. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +92 -0
  653. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +53 -0
  654. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +59 -0
  655. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +41 -0
  656. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +41 -0
  657. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +47 -0
  658. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +59 -0
  659. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +41 -0
  660. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +41 -0
  661. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +47 -0
  662. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +51 -0
  663. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +41 -0
  664. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +59 -0
  665. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +41 -0
  666. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +41 -0
  667. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +41 -0
  668. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +53 -0
  669. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +47 -0
  670. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +41 -0
  671. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +41 -0
  672. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +47 -0
  673. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +92 -0
  674. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +41 -0
  675. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +47 -0
  676. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +41 -0
  677. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +59 -0
  678. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +47 -0
  679. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +29 -0
  680. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +41 -0
  681. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +52 -0
  682. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +59 -0
  683. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +29 -0
  684. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +35 -0
  685. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +41 -0
  686. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +29 -0
  687. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +41 -0
  688. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +51 -0
  689. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +39 -0
  690. data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +41 -0
  691. data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +9 -0
  692. data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +4 -0
  693. data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +8 -0
  694. data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +8 -0
  695. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +31 -0
  696. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +35 -0
  697. data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +27 -0
  698. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +33 -34
  699. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +2 -3
  700. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +44 -45
  701. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +53 -54
  702. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +43 -44
  703. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +43 -44
  704. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +43 -44
  705. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +44 -45
  706. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +52 -53
  707. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +21 -22
  708. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +76 -3
  709. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +83 -3
  710. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +111 -3
  711. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +84 -3
  712. data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +72 -3
  713. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +22 -23
  714. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +103 -104
  715. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +18 -19
  716. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +82 -83
  717. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +76 -77
  718. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +37 -38
  719. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +39 -40
  720. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -1
  721. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +2 -3
  722. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +2 -3
  723. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +34 -3
  724. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +34 -3
  725. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +74 -3
  726. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +127 -7
  727. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +74 -3
  728. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +74 -3
  729. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +74 -3
  730. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +19 -3
  731. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -3
  732. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +25 -3
  733. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +31 -5
  734. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +13 -14
  735. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +74 -3
  736. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +34 -3
  737. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +34 -3
  738. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +19 -20
  739. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +135 -136
  740. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +17 -18
  741. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +135 -136
  742. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +57 -34
  743. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +96 -97
  744. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +33 -34
  745. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +33 -34
  746. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +87 -88
  747. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +33 -34
  748. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +71 -72
  749. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +52 -53
  750. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +56 -57
  751. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +35 -36
  752. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +19 -20
  753. data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -1
  754. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +82 -83
  755. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +41 -41
  756. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +98 -98
  757. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +24 -25
  758. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +68 -69
  759. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +78 -79
  760. data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +29 -3
  761. data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +82 -5
  762. data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +148 -5
  763. data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +41 -11
  764. data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +39 -3
  765. data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +39 -3
  766. data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +29 -3
  767. data/vendor/local/share/doc/groonga/source/index.txt +2 -0
  768. data/vendor/local/share/doc/groonga/source/install/centos.txt +131 -0
  769. data/vendor/local/share/doc/groonga/source/install/debian.txt +136 -0
  770. data/vendor/local/share/doc/groonga/source/install/fedora.txt +72 -0
  771. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +53 -0
  772. data/vendor/local/share/doc/groonga/source/install/others.txt +267 -0
  773. data/vendor/local/share/doc/groonga/source/install/solaris.txt +43 -0
  774. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +196 -0
  775. data/vendor/local/share/doc/groonga/source/install/windows.txt +77 -0
  776. data/vendor/local/share/doc/groonga/source/install.txt +21 -346
  777. data/vendor/local/share/doc/groonga/source/news/0.x.txt +3 -3
  778. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +16 -16
  779. data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +1 -1
  780. data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +17 -17
  781. data/vendor/local/share/doc/groonga/source/news.txt +235 -4
  782. data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +8 -0
  783. data/vendor/local/share/doc/groonga/source/reference/api.txt +8 -0
  784. data/vendor/local/share/doc/groonga/source/reference/cast.txt +8 -0
  785. data/vendor/local/share/doc/groonga/source/{command_version.txt → reference/command_version.txt} +0 -0
  786. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/cache_limit.txt +0 -0
  787. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/check.txt +0 -0
  788. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/clearlock.txt +0 -0
  789. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_create.txt +0 -0
  790. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_list.txt +0 -0
  791. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_remove.txt +0 -0
  792. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/define_selector.txt +1 -1
  793. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/defrag.txt +0 -0
  794. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/delete.txt +0 -0
  795. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/dump.txt +0 -0
  796. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/load.txt +1 -1
  797. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_level.txt +0 -0
  798. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_put.txt +0 -0
  799. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_reopen.txt +0 -0
  800. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/quit.txt +0 -0
  801. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +892 -0
  802. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/shutdown.txt +0 -0
  803. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/status.txt +5 -6
  804. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/suggest.txt +8 -8
  805. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/table_create.txt +0 -0
  806. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_list.txt +3 -26
  807. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_remove.txt +3 -3
  808. data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/view_add.txt +0 -0
  809. data/vendor/local/share/doc/groonga/source/{commands.txt → reference/commands.txt} +0 -0
  810. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +104 -0
  811. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +80 -0
  812. data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +105 -0
  813. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grnslap.txt +0 -0
  814. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grntest.txt +1 -1
  815. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +209 -0
  816. data/vendor/local/share/doc/groonga/{en/html/_sources/executables/groonga-http.txt → source/reference/executables/groonga-server-http.txt} +3 -3
  817. data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/groonga-suggest-create-dataset.txt +1 -1
  818. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/executables/groonga.txt +4 -4
  819. data/vendor/local/share/doc/groonga/source/{executables.txt → reference/executables.txt} +0 -0
  820. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/edit_distance.txt +0 -0
  821. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +284 -0
  822. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_circle.txt +0 -0
  823. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
  824. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/now.txt +0 -0
  825. data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/rand.txt +0 -0
  826. data/vendor/local/share/doc/groonga/source/{functions.txt → reference/functions.txt} +0 -0
  827. data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +584 -0
  828. data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +805 -0
  829. data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +59 -0
  830. data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/indexing.txt +7 -7
  831. data/vendor/local/share/doc/groonga/source/{log.txt → reference/log.txt} +0 -0
  832. data/vendor/local/share/doc/groonga/source/{output.txt → reference/output.txt} +0 -0
  833. data/vendor/local/share/doc/groonga/source/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
  834. data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +8 -0
  835. data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/type.txt +4 -4
  836. data/vendor/local/share/doc/groonga/source/reference.txt +12 -9
  837. data/vendor/local/share/doc/groonga/source/server/gqtp.txt +16 -0
  838. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +288 -0
  839. data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +8 -0
  840. data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +8 -0
  841. data/vendor/local/share/doc/groonga/source/server/http.txt +29 -0
  842. data/vendor/local/share/doc/groonga/source/server.txt +12 -0
  843. data/vendor/local/share/doc/groonga/source/spec/search.txt +1 -1
  844. data/vendor/local/share/doc/groonga/source/spec.txt +2 -2
  845. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +1 -1
  846. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +2 -2
  847. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +2 -0
  848. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +1 -1
  849. data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  850. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +11 -11
  851. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +23 -23
  852. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +3 -1
  853. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +1 -1
  854. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +8 -6
  855. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +1 -1
  856. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -3
  857. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -5
  858. data/vendor/local/share/man/ja/man1/groonga.1 +12354 -3896
  859. data/vendor/local/share/man/man1/groonga.1 +16934 -7750
  860. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  861. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  862. metadata +1251 -905
  863. data/lib/groonga/query-log.rb +0 -348
  864. data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +0 -504
  865. data/vendor/local/share/doc/groonga/en/html/_sources/expr.txt +0 -45
  866. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +0 -92
  867. data/vendor/local/share/doc/groonga/en/html/commands/select.html +0 -891
  868. data/vendor/local/share/doc/groonga/en/html/expr.html +0 -178
  869. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +0 -226
  870. data/vendor/local/share/doc/groonga/en/html/indexing.html +0 -318
  871. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +0 -504
  872. data/vendor/local/share/doc/groonga/ja/html/_sources/expr.txt +0 -45
  873. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +0 -92
  874. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +0 -810
  875. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +0 -187
  876. data/vendor/local/share/doc/groonga/ja/html/expr.html +0 -179
  877. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +0 -227
  878. data/vendor/local/share/doc/groonga/source/commands/select.txt +0 -504
  879. data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +0 -32
  880. data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +0 -32
  881. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +0 -13
  882. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +0 -15
  883. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +0 -9
  884. data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +0 -78
  885. data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +0 -36
  886. data/vendor/local/share/doc/groonga/source/expr.txt +0 -45
  887. data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +0 -92
@@ -1,810 +0,0 @@
1
-
2
-
3
-
4
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
-
8
- <html xmlns="http://www.w3.org/1999/xhtml">
9
- <head>
10
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
-
12
- <title>7.3.17. select &mdash; groonga v2.0.1ドキュメント</title>
13
-
14
- <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- var DOCUMENTATION_OPTIONS = {
19
- URL_ROOT: '../',
20
- VERSION: '2.0.1',
21
- COLLAPSE_INDEX: false,
22
- FILE_SUFFIX: '.html',
23
- HAS_SOURCE: true
24
- };
25
- </script>
26
- <script type="text/javascript" src="../_static/jquery.js"></script>
27
- <script type="text/javascript" src="../_static/underscore.js"></script>
28
- <script type="text/javascript" src="../_static/doctools.js"></script>
29
- <script type="text/javascript" src="../_static/translations.js"></script>
30
- <link rel="shortcut icon" href="../_static/favicon.ico"/>
31
- <link rel="top" title="groonga v2.0.1ドキュメント" href="../index.html" />
32
- <link rel="up" title="7.3. コマンド" href="../commands.html" />
33
- <link rel="next" title="7.3.18. shutdown" href="shutdown.html" />
34
- <link rel="prev" title="7.3.16. quit" href="quit.html" />
35
- </head>
36
- <body>
37
- <div class="header">
38
- <h1 class="title">
39
- <a id="top-link" href="../index.html">
40
- <span class="project">groonga</span>
41
- <span class="separator">-</span>
42
- <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
43
- </a>
44
- </h1>
45
-
46
- <div class="other-language-links">
47
- <ul>
48
- <li><a href="../../../en/html/commands/select.html"><img src="../_static/us.png" alt="English">English page</a></li>
49
- </ul>
50
- </div>
51
- </div>
52
-
53
-
54
- <div class="related">
55
- <h3>ナビゲーション</h3>
56
- <ul>
57
- <li class="right" style="margin-right: 10px">
58
- <a href="../genindex.html" title="総合索引"
59
- accesskey="I">索引</a></li>
60
- <li class="right" >
61
- <a href="shutdown.html" title="7.3.18. shutdown"
62
- accesskey="N">次へ</a> |</li>
63
- <li class="right" >
64
- <a href="quit.html" title="7.3.16. quit"
65
- accesskey="P">前へ</a> |</li>
66
- <li><a href="../index.html">groonga v2.0.1ドキュメント</a> &raquo;</li>
67
- <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
68
- <li><a href="../commands.html" accesskey="U">7.3. コマンド</a> &raquo;</li>
69
- </ul>
70
- </div>
71
-
72
- <div class="document">
73
- <div class="documentwrapper">
74
- <div class="bodywrapper">
75
- <div class="body">
76
-
77
- <div class="section" id="select">
78
- <h1>7.3.17. select<a class="headerlink" href="#select" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
- <div class="section" id="summary">
80
- <h2>7.3.17.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
- <p><tt class="docutils literal"><span class="pre">select</span></tt> はテーブルから指定された条件にマッチするレコードを検索し、見つかったレコードを出力します。</p>
82
- <p><tt class="docutils literal"><span class="pre">select</span></tt> は最も重要なgroongaのコマンドです。groongaの力を最大限に活かすためには <tt class="docutils literal"><span class="pre">select</span></tt> を理解する必要があります。</p>
83
- </div>
84
- <div class="section" id="syntax">
85
- <h2>7.3.17.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
- <p><tt class="docutils literal"><span class="pre">select</span></tt> には多くの引数があります。必須の引数は <tt class="docutils literal"><span class="pre">table</span></tt> だけで、残りは省略できます。:</p>
87
- <div class="highlight-none"><div class="highlight"><pre>select table
88
- [match_columns=null]
89
- [query=null]
90
- [filter=null]
91
- [scorer=null]
92
- [sortby=null]
93
- [output_columns=&quot;_id, _key, *&quot;]
94
- [offset=0]
95
- [limit=10]
96
- [drilldown=null]
97
- [drilldown_sortby=null]
98
- [drilldown_output_columns=null]
99
- [drilldown_offset=0]
100
- [drilldown_limit=10]
101
- [cache=yes]
102
- [match_escalation_threshold=0]
103
- [query_expansion=null]
104
- </pre></div>
105
- </div>
106
- </div>
107
- <div class="section" id="usage">
108
- <h2>7.3.17.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
109
- <p>例を使いながら <tt class="docutils literal"><span class="pre">select</span></tt> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
110
- <p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
111
- <p>Execution example:</p>
112
- <div class="highlight-none"><div class="highlight"><pre>&gt; table_create Entries TABLE_HASH_KEY ShortText
113
- [[0,1335594537.43378,0.000381708145141602],true]
114
- &gt; column_create Entries content COLUMN_SCALAR Text
115
- [[0,1335594537.63582,0.000931501388549805],true]
116
- &gt; table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
117
- [[0,1335594537.83776,0.000288009643554688],true]
118
- &gt; column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
119
- [[0,1335594538.03901,0.0059964656829834],true]
120
- &gt; column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
121
- [[0,1335594538.24584,0.00617790222167969],true]
122
- &gt; load --table Entries
123
- &gt; [
124
- &gt; {&quot;_key&quot;: &quot;The first post!&quot;, &quot;content&quot;: &quot;Welcome! This is my first post!&quot;},
125
- &gt; {&quot;_key&quot;: &quot;Groonga&quot;, &quot;content&quot;: &quot;I started to use groonga. It&#39;s very fast!&quot;}
126
- &gt; {&quot;_key&quot;: &quot;Mroonga&quot;, &quot;content&quot;: &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;}
127
- &gt; ]
128
- </pre></div>
129
- </div>
130
- <p>ブログエントリ用の <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルがあります。各エントリはタイトルと内容を持っています。タイトルは <tt class="docutils literal"><span class="pre">Entries</span></tt> のキーとします。内容は <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムの値とします。</p>
131
- <p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> カラムと <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムには <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> トークナイザーを使ってのインデックスを作成します。そのため、 <tt class="docutils literal"><span class="pre">Entries._key</span></tt> と <tt class="docutils literal"><span class="pre">Entries.content</span></tt> は両方とも全文検索できます。</p>
132
- <p>これで例を示すためのスキーマとデータの準備ができました。</p>
133
- <div class="section" id="simple-usage">
134
- <h3>7.3.17.3.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
135
- <p>上記のスキーマとデータを使った一番簡単な使い方を示します。この例では <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルのすべてのレコードを出力します。</p>
136
- <p>Execution example:</p>
137
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries
138
- [
139
- [
140
- 0,
141
- 1335519592.67133,
142
- 0.000493049621582031
143
- ],
144
- [
145
- [
146
- [
147
- 3
148
- ],
149
- [
150
- [
151
- &quot;_id&quot;,
152
- &quot;UInt32&quot;
153
- ],
154
- [
155
- &quot;_key&quot;,
156
- &quot;ShortText&quot;
157
- ],
158
- [
159
- &quot;content&quot;,
160
- &quot;Text&quot;
161
- ]
162
- ],
163
- [
164
- 1,
165
- &quot;The first post!&quot;,
166
- &quot;Welcome! This is my first post!&quot;
167
- ],
168
- [
169
- 2,
170
- &quot;Groonga&quot;,
171
- &quot;I started to use groonga. It&#39;s very fast!&quot;
172
- ],
173
- [
174
- 3,
175
- &quot;Mroonga&quot;,
176
- &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
177
- ]
178
- ]
179
- ]
180
- ]
181
- </pre></div>
182
- </div>
183
- <p>どうしてこのコマンドがすべてのレコードを出力するのでしょうか?理由は2つです。1つ目の理由はこのコマンドが検索条件を何も指定していないからです。検索条件を指定しないとすべてのレコードがマッチします。2つ目の理由は全レコード数が2だからです。 <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはデフォルトでは最大10レコードを出力します。この例では3レコードしかありません。これは10よりも少ないのですべてのレコードを出力します。</p>
184
- </div>
185
- <div class="section" id="search-conditions">
186
- <h3>7.3.17.3.2. 検索条件<a class="headerlink" href="#search-conditions" title="このヘッドラインへのパーマリンク">¶</a></h3>
187
- <p>検索条件は <tt class="docutils literal"><span class="pre">query</span></tt> または <tt class="docutils literal"><span class="pre">filter</span></tt> で指定します。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を両方指定することもできます。この場合は <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> の両方の条件にマッチしたレコードが出力されます。</p>
188
- <div class="section" id="search-condition-query">
189
- <h4>7.3.17.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="このヘッドラインへのパーマリンク">¶</a></h4>
190
- <p><tt class="docutils literal"><span class="pre">query</span></tt> はWebページの検索ボックス用に用意されています。例えば、google.co.jpにあるような検索ボックスです。 <tt class="docutils literal"><span class="pre">query</span></tt> の検索条件はスペース区切りでキーワードを指定します。例えば、 <tt class="docutils literal"><span class="pre">検索</span> <span class="pre">エンジン</span></tt> は <tt class="docutils literal"><span class="pre">検索</span></tt> と <tt class="docutils literal"><span class="pre">エンジン</span></tt> という2つのキーワードを含むレコードを検索します。</p>
191
- <p>通常は <tt class="docutils literal"><span class="pre">query</span></tt> パラメータは全文検索条件を指定するために使います。全文検索条件以外も指定できますが、その用途には <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータの方が向いています。</p>
192
- <p><tt class="docutils literal"><span class="pre">query</span></tt> パラメータで全文検索条件を指定する場合は、 <tt class="docutils literal"><span class="pre">match_columns</span></tt> パラメータと一緒に使います。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> はどのカラムまたはインデックスを使って <tt class="docutils literal"><span class="pre">query</span></tt> を検索するかを指定します。</p>
193
- <p>以下は簡単な <tt class="docutils literal"><span class="pre">query</span></tt> の使用例です。</p>
194
- <p>Execution example:</p>
195
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast
196
- [
197
- [
198
- 0,
199
- 1335519592.87374,
200
- 0.000868797302246094
201
- ],
202
- [
203
- [
204
- [
205
- 2
206
- ],
207
- [
208
- [
209
- &quot;_id&quot;,
210
- &quot;UInt32&quot;
211
- ],
212
- [
213
- &quot;_key&quot;,
214
- &quot;ShortText&quot;
215
- ],
216
- [
217
- &quot;content&quot;,
218
- &quot;Text&quot;
219
- ]
220
- ],
221
- [
222
- 2,
223
- &quot;Groonga&quot;,
224
- &quot;I started to use groonga. It&#39;s very fast!&quot;
225
- ],
226
- [
227
- 3,
228
- &quot;Mroonga&quot;,
229
- &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
230
- ]
231
- ]
232
- ]
233
- ]
234
- </pre></div>
235
- </div>
236
- <p>この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドは <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルの中から <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> を含んでいるレコードを検索します。</p>
237
- <p><tt class="docutils literal"><span class="pre">query</span></tt> はクエリ構文という構文を使いますが、詳細はここでは説明しません。詳細は <a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a> を参照してください。</p>
238
- </div>
239
- <div class="section" id="search-condition-filter">
240
- <h4>7.3.17.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
241
- <p><tt class="docutils literal"><span class="pre">filter</span></tt> は複雑な検索条件を指定するために用意されています。ECMAScriptのような構文で <tt class="docutils literal"><span class="pre">filter</span></tt> に検索条件を指定します。</p>
242
- <p>以下は簡単な <tt class="docutils literal"><span class="pre">filter</span></tt> の使用例です。</p>
243
- <p>Execution example:</p>
244
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; _key == &quot;Groonga&quot;&#39;
245
- [
246
- [
247
- 0,
248
- 1335520300.98383,
249
- 0.000544071197509766
250
- ],
251
- [
252
- [
253
- [
254
- 1
255
- ],
256
- [
257
- [
258
- &quot;_id&quot;,
259
- &quot;UInt32&quot;
260
- ],
261
- [
262
- &quot;_key&quot;,
263
- &quot;ShortText&quot;
264
- ],
265
- [
266
- &quot;content&quot;,
267
- &quot;Text&quot;
268
- ]
269
- ],
270
- [
271
- 2,
272
- &quot;Groonga&quot;,
273
- &quot;I started to use groonga. It&#39;s very fast!&quot;
274
- ]
275
- ]
276
- ]
277
- ]
278
- </pre></div>
279
- </div>
280
- <p>この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドは <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルの中の <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> という単語を含んでいて、かつ、 <tt class="docutils literal"><span class="pre">_key</span></tt> が <tt class="docutils literal"><span class="pre">Groonga</span></tt> のレコードを検索します。このコマンドの中には <tt class="docutils literal"><span class="pre">&#64;</span></tt> と <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> と <tt class="docutils literal"><span class="pre">==</span></tt> という3つの演算子があります。 <tt class="docutils literal"><span class="pre">&#64;</span></tt> は全文検索用の演算子です。 <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> と <tt class="docutils literal"><span class="pre">==</span></tt> はECMAScriptと同じ意味です。 <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt> が論理和用の演算子で <tt class="docutils literal"><span class="pre">==</span></tt> が等価演算子です。</p>
281
- <p><tt class="docutils literal"><span class="pre">filter</span></tt> にはもっと演算子や構文があります。例えば、 <tt class="docutils literal"><span class="pre">(...)</span></tt> を使った検索条件のグループ化などです。しかし、ここでは詳細は説明しません。詳細は <a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a> を参照してください。</p>
282
- </div>
283
- </div>
284
- <div class="section" id="paging">
285
- <h3>7.3.17.3.3. ページング<a class="headerlink" href="#paging" title="このヘッドラインへのパーマリンク">¶</a></h3>
286
- <p><tt class="docutils literal"><span class="pre">offset</span></tt> と <tt class="docutils literal"><span class="pre">limit</span></tt> を指定することで出力されるレコードの範囲を指定できます。以下は2番目のレコードだけを出力する例です。</p>
287
- <p>Execution example:</p>
288
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --offset 1 --limit 1
289
- [
290
- [
291
- 0,
292
- 1335519593.28077,
293
- 0.000288248062133789
294
- ],
295
- [
296
- [
297
- [
298
- 3
299
- ],
300
- [
301
- [
302
- &quot;_id&quot;,
303
- &quot;UInt32&quot;
304
- ],
305
- [
306
- &quot;_key&quot;,
307
- &quot;ShortText&quot;
308
- ],
309
- [
310
- &quot;content&quot;,
311
- &quot;Text&quot;
312
- ]
313
- ],
314
- [
315
- 2,
316
- &quot;Groonga&quot;,
317
- &quot;I started to use groonga. It&#39;s very fast!&quot;
318
- ]
319
- ]
320
- ]
321
- ]
322
- </pre></div>
323
- </div>
324
- <p><tt class="docutils literal"><span class="pre">offset</span></tt> は0基点です。 <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> は2番目以降のレコードを出力するという意味になります。</p>
325
- <p><tt class="docutils literal"><span class="pre">limit</span></tt> は出力レコード数の最大値を指定します。 <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt> は多くても1レコードを出力するという意味になります。もし、1つもレコードがマッチしていなければ <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはどのレコードも出力しません。</p>
326
- </div>
327
- <div class="section" id="the-total-number-of-records">
328
- <h3>7.3.17.3.4. 全レコード数<a class="headerlink" href="#the-total-number-of-records" title="このヘッドラインへのパーマリンク">¶</a></h3>
329
- <p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> を使うとレコードの内容は取得せずに全レコード数だけを取得できます。</p>
330
- <p>Execution example:</p>
331
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --limit 0
332
- [
333
- [
334
- 0,
335
- 1335519593.48351,
336
- 0.000329017639160156
337
- ],
338
- [
339
- [
340
- [
341
- 3
342
- ],
343
- [
344
- [
345
- &quot;_id&quot;,
346
- &quot;UInt32&quot;
347
- ],
348
- [
349
- &quot;_key&quot;,
350
- &quot;ShortText&quot;
351
- ],
352
- [
353
- &quot;content&quot;,
354
- &quot;Text&quot;
355
- ]
356
- ]
357
- ]
358
- ]
359
- ]
360
- </pre></div>
361
- </div>
362
- <p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> はマッチしたレコード数だけを取得したいときにも便利です。</p>
363
- </div>
364
- </div>
365
- <div class="section" id="parameters">
366
- <h2>7.3.17.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
367
- <p>このセクションではすべての引数について説明します。引数はカテゴリわけしています。</p>
368
- <div class="section" id="required-parameter">
369
- <h3>7.3.17.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
370
- <p><tt class="docutils literal"><span class="pre">table</span></tt> だけが必須の引数です。</p>
371
- <div class="section" id="table">
372
- <h4>7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="このヘッドラインへのパーマリンク">¶</a></h4>
373
- <p>検索対象のテーブルを指定します。 <tt class="docutils literal"><span class="pre">table</span></tt> は必ず指定しなければいけません。</p>
374
- <p>存在しないテーブルを指定するとエラーが返ります。</p>
375
- <p>Execution example:</p>
376
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Nonexistent
377
- [
378
- [
379
- -22,
380
- 1335519593.68574,
381
- 0.000583171844482422,
382
- &quot;invalid table name: &lt;Nonexistent&gt;&quot;,
383
- [
384
- [
385
- &quot;grn_select&quot;,
386
- &quot;proc.c&quot;,
387
- 542
388
- ]
389
- ]
390
- ]
391
- ]
392
- </pre></div>
393
- </div>
394
- </div>
395
- </div>
396
- <div class="section" id="search-related-parameters">
397
- <h3>7.3.17.4.2. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
398
- <p>検索関係の引数がいくつかあります。一般的には、検索ボックスを実装するために <tt class="docutils literal"><span class="pre">match_columns</span></tt> と <tt class="docutils literal"><span class="pre">query</span></tt> 引数を使い、複雑な検索機能を実装するために <tt class="docutils literal"><span class="pre">filter</span></tt> 引数を使います。</p>
399
- <p><tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を指定した場合は、 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> にマッチしたレコードが選択されます。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> のどちらも指定しなかった場合はすべてのレコードが選択されます。</p>
400
- <div class="section" id="match-columns">
401
- <h4>7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
402
- <p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは <tt class="docutils literal"><span class="pre">query</span></tt> 引数でも指定できます。検索対象カラムを <tt class="docutils literal"><span class="pre">match_columns</span></tt> で指定する場合と <tt class="docutils literal"><span class="pre">query</span></tt> で指定する場合の違いは重みを指定できるかどうかです。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> では重みを指定できますが、 <tt class="docutils literal"><span class="pre">query</span></tt> では指定できません。</p>
403
- <p>重みは検索対象カラムの相対的な重要度です。重みの大きい検索対象カラムでマッチした場合は小さい検索対象カラムでマッチした場合よりも多くのヒットスコアがつきます。デフォルトの重みは1です。</p>
404
- <p>以下は簡単な <tt class="docutils literal"><span class="pre">match_columns</span></tt> の使用例です。</p>
405
- <p>Execution example:</p>
406
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns content --query fast --output_columns &#39;_key, _score&#39;
407
- [
408
- [
409
- 0,
410
- 1335519593.88754,
411
- 0.000384092330932617
412
- ],
413
- [
414
- [
415
- [
416
- 2
417
- ],
418
- [
419
- [
420
- &quot;_key&quot;,
421
- &quot;ShortText&quot;
422
- ],
423
- [
424
- &quot;_score&quot;,
425
- &quot;Int32&quot;
426
- ]
427
- ],
428
- [
429
- &quot;Groonga&quot;,
430
- 1
431
- ],
432
- [
433
- &quot;Mroonga&quot;,
434
- 2
435
- ]
436
- ]
437
- ]
438
- ]
439
- </pre></div>
440
- </div>
441
- <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> はデフォルトの全文検索対象カラムに <tt class="docutils literal"><span class="pre">content</span></tt> カラムを使用し、その重みは1、という意味になります。 <tt class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></tt> はこの <tt class="docutils literal"><span class="pre">select</span></tt> コマンドがマッチしたレコードの <tt class="docutils literal"><span class="pre">_key</span></tt> の値と <tt class="docutils literal"><span class="pre">_score</span></tt> の値を出力する、ということを指定しています。</p>
442
- <p><tt class="docutils literal"><span class="pre">_score</span></tt> の値に注目してください。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値は <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値に何個マッチしたかになっています。この例では、 <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値は <tt class="docutils literal"><span class="pre">fast</span></tt> です。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が1ということは <tt class="docutils literal"><span class="pre">content</span></tt> カラムの中に <tt class="docutils literal"><span class="pre">fast</span></tt> が1つだけあるということです。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が2ということは <tt class="docutils literal"><span class="pre">content</span></tt> カラムの中に <tt class="docutils literal"><span class="pre">fast</span></tt> が2つあるということです。</p>
443
- <p>重みを指定するためには <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></tt> という構文を使います。以下は重みの使用例です。</p>
444
- <p>Execution example:</p>
445
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns &#39;content * 2&#39; --query fast --output_columns &#39;_key, _score&#39;
446
- [
447
- [
448
- 0,
449
- 1335519594.08917,
450
- 0.0003814697265625
451
- ],
452
- [
453
- [
454
- [
455
- 2
456
- ],
457
- [
458
- [
459
- &quot;_key&quot;,
460
- &quot;ShortText&quot;
461
- ],
462
- [
463
- &quot;_score&quot;,
464
- &quot;Int32&quot;
465
- ]
466
- ],
467
- [
468
- &quot;Groonga&quot;,
469
- 2
470
- ],
471
- [
472
- &quot;Mroonga&quot;,
473
- 4
474
- ]
475
- ]
476
- ]
477
- ]
478
- </pre></div>
479
- </div>
480
- <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'content</span> <span class="pre">*</span> <span class="pre">2'</span></tt> はデフォルトの全文検索用カラムとして <tt class="docutils literal"><span class="pre">content</span></tt> カラムを使い、その重みは2という意味です。</p>
481
- <p><tt class="docutils literal"><span class="pre">_score</span></tt> の値に注目してください。 <tt class="docutils literal"><span class="pre">_score</span></tt> の値が2倍になっています。これは重みを2にしたからです。</p>
482
- <p>デフォルトの全文検索対象カラムとして複数のカラムを指定することができます。複数のカラムを指定した場合はすべてのカラムに対して全文検索が行われ、ヒットスコアが積算されます。つまり、 <tt class="docutils literal"><span class="pre">query</span></tt> 引数の値がどれか1つでも全文検索対象カラムにマッチしたら、そのレコードはマッチしたものとして扱われます。</p>
483
- <p>複数のカラムを指定するには <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span> <span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></tt> という構文を追加います。 <tt class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></tt> は省略することができます。省略した場合は重みが1になります。以下は複数カラムの使用例です。</p>
484
- <p>Execution example:</p>
485
- <div class="highlight-none"><div class="highlight"><pre>&gt; select Entries --match_columns &#39;_key * 10 || content&#39; --query groonga --output_columns &#39;_key, _score&#39;
486
- [
487
- [
488
- 0,
489
- 1335594540.29792,
490
- 0.000547885894775391
491
- ],
492
- [
493
- [
494
- [
495
- 1
496
- ],
497
- [
498
- [
499
- &quot;_key&quot;,
500
- &quot;ShortText&quot;
501
- ],
502
- [
503
- &quot;_score&quot;,
504
- &quot;Int32&quot;
505
- ]
506
- ],
507
- [
508
- &quot;Groonga&quot;,
509
- 11
510
- ]
511
- ]
512
- ]
513
- ]
514
- </pre></div>
515
- </div>
516
- <p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'_key</span> <span class="pre">*</span> <span class="pre">10</span> <span class="pre">||</span> <span class="pre">content'</span></tt> はデフォルト検索対象カラムが <tt class="docutils literal"><span class="pre">_key</span></tt> カラムと <tt class="docutils literal"><span class="pre">content</span></tt> カラムで、 <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの重みは10、 <tt class="docutils literal"><span class="pre">content</span></tt> カラムの重みは1という意味です。この重み付けは <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値よりも重要だという意味になります。この例では、ブログエントリのタイトルはブログエントリの内容よりも重要だということです。</p>
517
- </div>
518
- <div class="section" id="query">
519
- <h4>7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
520
- <p>TODO: write short description and add example.</p>
521
- <p><a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a> を参照してください。</p>
522
- </div>
523
- <div class="section" id="filter">
524
- <h4>7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
525
- <p>TODO: write short description and add example.</p>
526
- <p><a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a> を参照してください。</p>
527
- </div>
528
- </div>
529
- <div class="section" id="advanced-search-parameters">
530
- <h3>7.3.17.4.3. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
531
- <div class="section" id="match-escalation-threshold">
532
- <h4>7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="このヘッドラインへのパーマリンク">¶</a></h4>
533
- <p>TODO: add example.</p>
534
- <p>検索方法をエスカレーションするかどうかを決定するための閾値を指定します。この閾値はマッチしたレコード数との比較に使われます。マッチしたレコード数がこの閾値以下の場合は検索方法をエスカレーションします。検索方法のエスカレーションについては <a class="reference internal" href="../spec/search.html"><em>検索</em></a> を参照してください。</p>
535
- <p>デフォルトの閾値は0です。これは1つもレコードがマッチしなかったときだけ検索方法をエスカレーションするということです。</p>
536
- <p>デフォルトの閾値は以下の方法でカスタマイズできます。</p>
537
- <blockquote>
538
- <div><ul class="simple">
539
- <li>configureの <tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> オプション</li>
540
- <li>groongaコマンドの <tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> オプション</li>
541
- <li>設定ファイルの <tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> 設定項目</li>
542
- </ul>
543
- </div></blockquote>
544
- </div>
545
- <div class="section" id="query-expansion">
546
- <h4>7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="このヘッドラインへのパーマリンク">¶</a></h4>
547
- <p>TODO: write in English and add example.</p>
548
- <p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値を拡張(置換)するために使うカラムを指定します。</p>
549
- <p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
550
- <p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート(&quot;&quot;)で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
551
- </div>
552
- </div>
553
- <div class="section" id="output-related-parameters">
554
- <h3>7.3.17.4.4. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
555
- <div class="section" id="output-columns">
556
- <h4>7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
557
- <p>TODO: write in English and add example.</p>
558
- <p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
559
- <p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
560
- </div>
561
- <div class="section" id="sortby">
562
- <h4>7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
563
- <p>TODO: write in English and add example.</p>
564
- <p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
565
- <div class="highlight-none"><div class="highlight"><pre>[-]カラム名1, [-]カラム名2, [-]カラム名3, ...
566
- </pre></div>
567
- </div>
568
- <p>カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加しない場合には昇順にソートします。</p>
569
- <p>query引数またはfilter引数を指定した場合はカラム名に'_score'を使えます。'_score'を指定することでスコアでソートすることができます。query引数もfilter引数も指定していない状態で'_score'を指定するとエラーになります。</p>
570
- </div>
571
- <div class="section" id="offset">
572
- <h4>7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
573
- <p>TODO: write in English and add example.</p>
574
- <p>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</p>
575
- </div>
576
- <div class="section" id="limit">
577
- <h4>7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
578
- <p>TODO: write in English and add example.</p>
579
- <p>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</p>
580
- </div>
581
- <div class="section" id="scorer">
582
- <h4>7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
583
- <p>TODO: write in English and add example.</p>
584
- <p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
585
- <p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
586
- </div>
587
- </div>
588
- <div class="section" id="facet-related-parameters">
589
- <h3>7.3.17.4.5. ファセット関連の引数<a class="headerlink" href="#facet-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
590
- <div class="section" id="drilldown">
591
- <h4>7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
592
- <p>TODO: write in English and add example.</p>
593
- <p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
594
- </div>
595
- <div class="section" id="drilldown-sortby">
596
- <h4>7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
597
- <p>TODO: write in English and add example.</p>
598
- <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
599
- </div>
600
- <div class="section" id="drilldown-output-columns">
601
- <h4>7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
602
- <p>TODO: write in English and add example.</p>
603
- <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
604
- </div>
605
- <div class="section" id="drilldown-offset">
606
- <h4>7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
607
- <p>TODO: write in English and add example.</p>
608
- <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
609
- </div>
610
- <div class="section" id="drilldown-limit">
611
- <h4>7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
612
- <p>TODO: write in English and add example.</p>
613
- <p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
614
- </div>
615
- </div>
616
- <div class="section" id="cache-related-parameter">
617
- <h3>7.3.17.4.6. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
618
- <div class="section" id="cache">
619
- <h4>7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
620
- <p>TODO: write in English and add example.</p>
621
- <p>クエリキャッシュに関する動作を設定します。</p>
622
- <p><tt class="docutils literal"><span class="pre">no</span></tt></p>
623
- <blockquote>
624
- <div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
625
- </div>
626
- </div>
627
- </div>
628
- <div class="section" id="id1">
629
- <h2>7.3.17.5. 返値<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
630
- <p>TODO: write in English and add example.</p>
631
- <p>以下のようなjson形式で値が返却されます。</p>
632
- <div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
633
- </pre></div>
634
- </div>
635
- <p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
636
- <blockquote>
637
- <div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
638
- 文字列が返されます。</div></blockquote>
639
- <p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
640
- <blockquote>
641
- <div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
642
- <p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
643
- <blockquote>
644
- <div>処理にかかった秒数を返します。</div></blockquote>
645
- <p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
646
- <blockquote>
647
- <div><p>drilldown条件が実行される前の検索結果が以下のように出力されます。:</p>
648
- <div class="highlight-none"><div class="highlight"><pre>[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]
649
- </pre></div>
650
- </div>
651
- <p><tt class="docutils literal"><span class="pre">検索件数</span></tt></p>
652
- <blockquote>
653
- <div>検索件数が出力されます。</div></blockquote>
654
- <p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
655
- <blockquote>
656
- <div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
657
- <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
658
- <blockquote>
659
- <div>output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
660
- <p><tt class="docutils literal"><span class="pre">検索結果n</span></tt></p>
661
- <blockquote>
662
- <div>output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
663
- </div></blockquote>
664
- <p><tt class="docutils literal"><span class="pre">drilldown結果</span></tt></p>
665
- <blockquote>
666
- <div><p>drilldown処理の結果が以下のように出力されます。:</p>
667
- <div class="highlight-none"><div class="highlight"><pre>[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
668
- </pre></div>
669
- </div>
670
- <p><tt class="docutils literal"><span class="pre">件数</span></tt></p>
671
- <blockquote>
672
- <div>drilldownに指定されたカラムの値の異なり数が出力されます。</div></blockquote>
673
- <p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
674
- <blockquote>
675
- <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
676
- <p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
677
- <blockquote>
678
- <div>drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
679
- <p><tt class="docutils literal"><span class="pre">ドリルダウン結果n</span></tt></p>
680
- <blockquote>
681
- <div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
682
- </div></blockquote>
683
- </div>
684
- <div class="section" id="see-also">
685
- <h2>7.3.17.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
686
- <blockquote>
687
- <div><ul class="simple">
688
- <li><a class="reference internal" href="../spec/query_syntax.html"><em>クエリ構文</em></a></li>
689
- <li><a class="reference internal" href="../spec/script_syntax.html"><em>スクリプト構文</em></a></li>
690
- </ul>
691
- </div></blockquote>
692
- </div>
693
- </div>
694
-
695
-
696
- </div>
697
- </div>
698
- </div>
699
- <div class="sphinxsidebar">
700
- <div class="sphinxsidebarwrapper">
701
- <h3><a href="../index.html">目次</a></h3>
702
- <ul>
703
- <li><a class="reference internal" href="#">7.3.17. select</a><ul>
704
- <li><a class="reference internal" href="#summary">7.3.17.1. 概要</a></li>
705
- <li><a class="reference internal" href="#syntax">7.3.17.2. 構文</a></li>
706
- <li><a class="reference internal" href="#usage">7.3.17.3. 使い方</a><ul>
707
- <li><a class="reference internal" href="#simple-usage">7.3.17.3.1. 簡単な使い方</a></li>
708
- <li><a class="reference internal" href="#search-conditions">7.3.17.3.2. 検索条件</a><ul>
709
- <li><a class="reference internal" href="#search-condition-query">7.3.17.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
710
- <li><a class="reference internal" href="#search-condition-filter">7.3.17.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
711
- </ul>
712
- </li>
713
- <li><a class="reference internal" href="#paging">7.3.17.3.3. ページング</a></li>
714
- <li><a class="reference internal" href="#the-total-number-of-records">7.3.17.3.4. 全レコード数</a></li>
715
- </ul>
716
- </li>
717
- <li><a class="reference internal" href="#parameters">7.3.17.4. 引数</a><ul>
718
- <li><a class="reference internal" href="#required-parameter">7.3.17.4.1. 必須引数</a><ul>
719
- <li><a class="reference internal" href="#table">7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
720
- </ul>
721
- </li>
722
- <li><a class="reference internal" href="#search-related-parameters">7.3.17.4.2. 検索関係の引数</a><ul>
723
- <li><a class="reference internal" href="#match-columns">7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
724
- <li><a class="reference internal" href="#query">7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
725
- <li><a class="reference internal" href="#filter">7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
726
- </ul>
727
- </li>
728
- <li><a class="reference internal" href="#advanced-search-parameters">7.3.17.4.3. 高度な検索のための引数</a><ul>
729
- <li><a class="reference internal" href="#match-escalation-threshold">7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
730
- <li><a class="reference internal" href="#query-expansion">7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
731
- </ul>
732
- </li>
733
- <li><a class="reference internal" href="#output-related-parameters">7.3.17.4.4. 出力関連の引数</a><ul>
734
- <li><a class="reference internal" href="#output-columns">7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
735
- <li><a class="reference internal" href="#sortby">7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
736
- <li><a class="reference internal" href="#offset">7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
737
- <li><a class="reference internal" href="#limit">7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
738
- <li><a class="reference internal" href="#scorer">7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
739
- </ul>
740
- </li>
741
- <li><a class="reference internal" href="#facet-related-parameters">7.3.17.4.5. ファセット関連の引数</a><ul>
742
- <li><a class="reference internal" href="#drilldown">7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
743
- <li><a class="reference internal" href="#drilldown-sortby">7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
744
- <li><a class="reference internal" href="#drilldown-output-columns">7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
745
- <li><a class="reference internal" href="#drilldown-offset">7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
746
- <li><a class="reference internal" href="#drilldown-limit">7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
747
- </ul>
748
- </li>
749
- <li><a class="reference internal" href="#cache-related-parameter">7.3.17.4.6. キャッシュ関連の引数</a><ul>
750
- <li><a class="reference internal" href="#cache">7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
751
- </ul>
752
- </li>
753
- </ul>
754
- </li>
755
- <li><a class="reference internal" href="#id1">7.3.17.5. 返値</a></li>
756
- <li><a class="reference internal" href="#see-also">7.3.17.6. 参考</a></li>
757
- </ul>
758
- </li>
759
- </ul>
760
-
761
- <h4>前のトピックへ</h4>
762
- <p class="topless"><a href="quit.html"
763
- title="前の章へ">7.3.16. quit</a></p>
764
- <h4>次のトピックへ</h4>
765
- <p class="topless"><a href="shutdown.html"
766
- title="次の章へ">7.3.18. shutdown</a></p>
767
- <h3>このページ</h3>
768
- <ul class="this-page-menu">
769
- <li><a href="../_sources/commands/select.txt"
770
- rel="nofollow">ソースコードを表示</a></li>
771
- </ul>
772
- <div id="searchbox" style="display: none">
773
- <h3>クイック検索</h3>
774
- <form class="search" action="../search.html" method="get">
775
- <input type="text" name="q" />
776
- <input type="submit" value="検索" />
777
- <input type="hidden" name="check_keywords" value="yes" />
778
- <input type="hidden" name="area" value="default" />
779
- </form>
780
- <p class="searchtip" style="font-size: 90%">
781
- モジュール、クラス、または関数名を入力してください
782
- </p>
783
- </div>
784
- <script type="text/javascript">$('#searchbox').show(0);</script>
785
- </div>
786
- </div>
787
- <div class="clearer"></div>
788
- </div>
789
- <div class="related">
790
- <h3>ナビゲーション</h3>
791
- <ul>
792
- <li class="right" style="margin-right: 10px">
793
- <a href="../genindex.html" title="総合索引"
794
- >索引</a></li>
795
- <li class="right" >
796
- <a href="shutdown.html" title="7.3.18. shutdown"
797
- >次へ</a> |</li>
798
- <li class="right" >
799
- <a href="quit.html" title="7.3.16. quit"
800
- >前へ</a> |</li>
801
- <li><a href="../index.html">groonga v2.0.1ドキュメント</a> &raquo;</li>
802
- <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
803
- <li><a href="../commands.html" >7.3. コマンド</a> &raquo;</li>
804
- </ul>
805
- </div>
806
- <div class="footer">
807
- &copy; Copyright 2009-2012, Brazil, Inc.
808
- </div>
809
- </body>
810
- </html>