rroonga 3.0.2-x86-mingw32 → 3.0.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. data/doc/text/news.textile +30 -1
  2. data/ext/groonga/extconf.rb +49 -26
  3. data/ext/groonga/rb-grn-array.c +56 -1
  4. data/ext/groonga/rb-grn-column.c +1 -1
  5. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  6. data/ext/groonga/rb-grn-exception.c +3 -3
  7. data/ext/groonga/rb-grn-expression.c +14 -9
  8. data/ext/groonga/rb-grn-index-column.c +1 -1
  9. data/ext/groonga/rb-grn-operator.c +10 -3
  10. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  11. data/ext/groonga/rb-grn-table.c +71 -25
  12. data/ext/groonga/rb-grn-utils.c +3 -1
  13. data/ext/groonga/rb-grn-variable.c +17 -4
  14. data/ext/groonga/rb-grn.h +2 -1
  15. data/lib/1.9/groonga.so +0 -0
  16. data/lib/2.0/groonga.so +0 -0
  17. data/lib/groonga/record.rb +9 -2
  18. data/lib/groonga/sub-records.rb +62 -0
  19. data/rroonga-build.rb +2 -1
  20. data/rroonga.gemspec +1 -1
  21. data/test/test-array.rb +35 -0
  22. data/test/test-context.rb +2 -1
  23. data/test/test-database.rb +2 -1
  24. data/test/test-expression.rb +14 -4
  25. data/test/test-sub-records.rb +109 -0
  26. data/test/test-table.rb +104 -0
  27. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  28. data/vendor/local/bin/groonga.exe +0 -0
  29. data/vendor/local/bin/libgroonga-0.dll +0 -0
  30. data/vendor/local/bin/libmecab-1.dll +0 -0
  31. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  32. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  33. data/vendor/local/bin/mecab.exe +0 -0
  34. data/vendor/local/include/groonga/groonga.h +20 -2
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  37. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  47. data/vendor/local/lib/libgroonga.a +0 -0
  48. data/vendor/local/lib/libgroonga.dll.a +0 -0
  49. data/vendor/local/lib/libmecab.a +0 -0
  50. data/vendor/local/lib/libmecab.dll.a +0 -0
  51. data/vendor/local/lib/libmsgpack.a +0 -0
  52. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  53. data/vendor/local/lib/libmsgpackc.a +0 -0
  54. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  55. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  56. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  57. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  58. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  59. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  60. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  61. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  62. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
  63. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  68. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  70. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  71. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +43 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -2
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +75 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +14 -6
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +28 -17
  76. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -0
  77. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +19 -0
  78. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +5 -1
  79. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -6
  87. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/index.html +11 -10
  98. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  100. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  101. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  102. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  103. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  104. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  105. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  106. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  107. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/news.html +187 -137
  109. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  115. data/vendor/local/share/doc/groonga/en/html/reference.html +11 -10
  116. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +16 -6
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +514 -7
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
  157. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
  158. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/function.html +11 -10
  162. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +10 -10
  166. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +231 -0
  167. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +26 -26
  168. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -49
  169. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
  170. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
  171. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +53 -44
  172. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +9 -9
  176. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  187. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -5
  207. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
  210. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +29 -11
  213. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -12
  214. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  217. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  218. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
  219. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  221. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  222. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  223. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  224. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  225. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +43 -0
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -2
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +75 -0
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +14 -6
  231. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +28 -17
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -0
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +19 -0
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +5 -1
  235. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  237. data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -8
  238. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  242. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
  243. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +25 -15
  248. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +9 -7
  249. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +21 -13
  251. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +23 -14
  253. data/vendor/local/share/doc/groonga/ja/html/index.html +11 -10
  254. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -11
  256. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +14 -11
  257. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -11
  258. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  259. data/vendor/local/share/doc/groonga/ja/html/install/others.html +38 -23
  260. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  261. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +14 -11
  262. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  263. data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -10
  264. data/vendor/local/share/doc/groonga/ja/html/news.html +885 -481
  265. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +280 -146
  269. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  270. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  271. data/vendor/local/share/doc/groonga/ja/html/reference.html +11 -10
  272. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +17 -11
  274. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  275. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  276. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  277. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  278. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  279. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +9 -7
  280. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  281. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  282. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +9 -7
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +17 -11
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -8
  296. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  297. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  298. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -9
  299. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
  301. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +33 -19
  302. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +43 -24
  303. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +558 -75
  306. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +9 -7
  307. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +10 -9
  314. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  315. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +11 -10
  318. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -8
  320. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  321. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +10 -10
  322. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +231 -0
  323. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +26 -26
  324. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -50
  325. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
  326. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -33
  327. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +53 -44
  328. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +15 -11
  329. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +23 -14
  330. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +13 -9
  331. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -9
  332. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -8
  335. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +15 -10
  338. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +41 -23
  339. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  343. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +83 -46
  347. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/server/package.html +41 -23
  350. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +71 -38
  352. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +55 -30
  355. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -19
  356. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +19 -12
  357. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +27 -16
  358. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -11
  363. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +24 -16
  366. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +31 -11
  369. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -12
  370. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  373. data/vendor/local/share/man/ja/man1/groonga.1 +847 -160
  374. data/vendor/local/share/man/man1/groonga.1 +826 -97
  375. metadata +10 -2
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.11.5. now &mdash; groonga v3.0.3-116-g8307aaf documentation</title>
10
+ <title>8.11.6. now &mdash; groonga v3.0.5 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.3-116-g8307aaf',
18
+ VERSION: '3.0.5',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.3-116-g8307aaf documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.11. Function" href="../function.html" />
30
- <link rel="next" title="8.11.6. query" href="query.html" />
31
- <link rel="prev" title="8.11.4. geo_in_rectangle" href="geo_in_rectangle.html" />
30
+ <link rel="next" title="8.11.7. query" href="query.html" />
31
+ <link rel="prev" title="8.11.5. html_untag" href="html_untag.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -55,12 +55,12 @@
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="query.html" title="8.11.6. query"
58
+ <a href="query.html" title="8.11.7. query"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="geo_in_rectangle.html" title="8.11.4. geo_in_rectangle"
61
+ <a href="html_untag.html" title="8.11.5. html_untag"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">8.11. Function</a> &raquo;</li>
66
66
  </ul>
@@ -72,28 +72,28 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="now">
75
- <h1>8.11.5. now<a class="headerlink" href="#now" title="Permalink to this headline">¶</a></h1>
75
+ <h1>8.11.6. now<a class="headerlink" href="#now" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="id1">
77
- <h2>8.11.5.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
77
+ <h2>8.11.6.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
78
78
  <p>now - 現在時刻を返す</p>
79
79
  </div>
80
80
  <div class="section" id="id2">
81
- <h2>8.11.5.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
81
+ <h2>8.11.6.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
82
82
  <div class="highlight-none"><div class="highlight"><pre>now()
83
83
  </pre></div>
84
84
  </div>
85
85
  </div>
86
86
  <div class="section" id="id3">
87
- <h2>8.11.5.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
87
+ <h2>8.11.6.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
88
88
  <p>groonga組込関数の一つであるnowについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
89
89
  <p>now() 関数は現在時刻に対応するTime型の値を返します。</p>
90
90
  </div>
91
91
  <div class="section" id="id4">
92
- <h2>8.11.5.4. 返値<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
92
+ <h2>8.11.6.4. 返値<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
93
93
  <p>現在時刻に対応するTime型のオブジェクトを返します。</p>
94
94
  </div>
95
95
  <div class="section" id="id5">
96
- <h2>8.11.5.5. 例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
96
+ <h2>8.11.6.5. 例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
97
97
  <div class="highlight-none"><div class="highlight"><pre>now()
98
98
  1256791194.55541
99
99
  </pre></div>
@@ -109,22 +109,22 @@
109
109
  <div class="sphinxsidebarwrapper">
110
110
  <h3><a href="../../index.html">Table Of Contents</a></h3>
111
111
  <ul>
112
- <li><a class="reference internal" href="#">8.11.5. now</a><ul>
113
- <li><a class="reference internal" href="#id1">8.11.5.1. 名前</a></li>
114
- <li><a class="reference internal" href="#id2">8.11.5.2. 書式</a></li>
115
- <li><a class="reference internal" href="#id3">8.11.5.3. 説明</a></li>
116
- <li><a class="reference internal" href="#id4">8.11.5.4. 返値</a></li>
117
- <li><a class="reference internal" href="#id5">8.11.5.5. 例</a></li>
112
+ <li><a class="reference internal" href="#">8.11.6. now</a><ul>
113
+ <li><a class="reference internal" href="#id1">8.11.6.1. 名前</a></li>
114
+ <li><a class="reference internal" href="#id2">8.11.6.2. 書式</a></li>
115
+ <li><a class="reference internal" href="#id3">8.11.6.3. 説明</a></li>
116
+ <li><a class="reference internal" href="#id4">8.11.6.4. 返値</a></li>
117
+ <li><a class="reference internal" href="#id5">8.11.6.5. 例</a></li>
118
118
  </ul>
119
119
  </li>
120
120
  </ul>
121
121
 
122
122
  <h4>Previous topic</h4>
123
- <p class="topless"><a href="geo_in_rectangle.html"
124
- title="previous chapter">8.11.4. geo_in_rectangle</a></p>
123
+ <p class="topless"><a href="html_untag.html"
124
+ title="previous chapter">8.11.5. html_untag</a></p>
125
125
  <h4>Next topic</h4>
126
126
  <p class="topless"><a href="query.html"
127
- title="next chapter">8.11.6. query</a></p>
127
+ title="next chapter">8.11.7. query</a></p>
128
128
  <h3>This Page</h3>
129
129
  <ul class="this-page-menu">
130
130
  <li><a href="../../_sources/reference/functions/now.txt"
@@ -154,12 +154,12 @@
154
154
  <a href="../../genindex.html" title="General Index"
155
155
  >index</a></li>
156
156
  <li class="right" >
157
- <a href="query.html" title="8.11.6. query"
157
+ <a href="query.html" title="8.11.7. query"
158
158
  >next</a> |</li>
159
159
  <li class="right" >
160
- <a href="geo_in_rectangle.html" title="8.11.4. geo_in_rectangle"
160
+ <a href="html_untag.html" title="8.11.5. html_untag"
161
161
  >previous</a> |</li>
162
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
162
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
163
163
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
164
164
  <li><a href="../function.html" >8.11. Function</a> &raquo;</li>
165
165
  </ul>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.11.6. query &mdash; groonga v3.0.3-116-g8307aaf documentation</title>
10
+ <title>8.11.7. query &mdash; groonga v3.0.5 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.3-116-g8307aaf',
18
+ VERSION: '3.0.5',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.3-116-g8307aaf documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.11. Function" href="../function.html" />
30
- <link rel="next" title="8.11.7. rand" href="rand.html" />
31
- <link rel="prev" title="8.11.5. now" href="now.html" />
30
+ <link rel="next" title="8.11.8. rand" href="rand.html" />
31
+ <link rel="prev" title="8.11.6. now" href="now.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -55,12 +55,12 @@
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="rand.html" title="8.11.7. rand"
58
+ <a href="rand.html" title="8.11.8. rand"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="now.html" title="8.11.5. now"
61
+ <a href="now.html" title="8.11.6. now"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">8.11. Function</a> &raquo;</li>
66
66
  </ul>
@@ -72,9 +72,9 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="query">
75
- <h1>8.11.6. query<a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h1>
75
+ <h1>8.11.7. query<a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
- <h2>8.11.6.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
77
+ <h2>8.11.7.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
78
  <p><tt class="docutils literal"><span class="pre">query</span></tt> enables you to specify <tt class="docutils literal"><span class="pre">--match_columns</span></tt> and <tt class="docutils literal"><span class="pre">--query</span></tt> parameters as
79
79
  function arguments.</p>
80
80
  <p><tt class="docutils literal"><span class="pre">query</span></tt> is one of the groonga builtin functions, so you can specify
@@ -84,7 +84,7 @@ by combination of multiple <tt class="docutils literal"><span class="pre">query<
84
84
  <p><tt class="docutils literal"><span class="pre">query</span></tt> can be used in only <tt class="docutils literal"><span class="pre">--filter</span></tt> in <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
85
85
  </div>
86
86
  <div class="section" id="syntax">
87
- <h2>8.11.6.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
87
+ <h2>8.11.7.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
88
88
  <p><tt class="docutils literal"><span class="pre">query</span></tt> requires two arguments - <tt class="docutils literal"><span class="pre">match_column</span></tt> and <tt class="docutils literal"><span class="pre">query_string</span></tt>.</p>
89
89
  <p>The parameter <tt class="docutils literal"><span class="pre">query_expander</span></tt> or <tt class="docutils literal"><span class="pre">substitution_table</span></tt> is optional.</p>
90
90
  <div class="highlight-none"><div class="highlight"><pre>query(match_column, query_string)
@@ -94,7 +94,7 @@ query(match_column, query_string, substitution_table)
94
94
  </div>
95
95
  </div>
96
96
  <div class="section" id="usage">
97
- <h2>8.11.6.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
97
+ <h2>8.11.7.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
98
98
  <p>Here are a schema definition and sample data to show usage.</p>
99
99
  <p>Sample schema:</p>
100
100
  <p>Execution example:</p>
@@ -296,34 +296,38 @@ You can't pass different weight value to each keyword in this way.</p>
296
296
  keywords on your purpose.</p>
297
297
  </div>
298
298
  <div class="section" id="parameters">
299
- <h2>8.11.6.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
299
+ <h2>8.11.7.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
300
300
  <div class="section" id="required-parameter">
301
- <h3>8.11.6.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
301
+ <h3>8.11.7.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
302
302
  <p>There are two required parameter, <tt class="docutils literal"><span class="pre">match_column</span></tt> and <tt class="docutils literal"><span class="pre">query_string</span></tt>.</p>
303
303
  <div class="section" id="match-column">
304
- <h4>8.11.6.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt><a class="headerlink" href="#match-column" title="Permalink to this headline">¶</a></h4>
305
- <blockquote>
306
- <div>It specifies <tt class="docutils literal"><span class="pre">match_column</span></tt> equivalent parameter.</div></blockquote>
307
- <p>See <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> about match_column.</p>
304
+ <h4>8.11.7.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt><a class="headerlink" href="#match-column" title="Permalink to this headline">¶</a></h4>
305
+ <p>It specifies the default target column for fulltext search by
306
+ <tt class="docutils literal"><span class="pre">query_string</span></tt> parameter value. It is the same role as
307
+ <tt class="docutils literal"><span class="pre">match_column</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
308
+ <p>See <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> about <tt class="docutils literal"><span class="pre">match_column</span></tt> parameter in
309
+ <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
308
310
  </div>
309
311
  <div class="section" id="query-string">
310
- <h4>8.11.6.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt><a class="headerlink" href="#query-string" title="Permalink to this headline">¶</a></h4>
311
- <blockquote>
312
- <div>It specifies <tt class="docutils literal"><span class="pre">query</span></tt> equivalent parameter.</div></blockquote>
313
- <p>See <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a> about query string.</p>
312
+ <h4>8.11.7.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt><a class="headerlink" href="#query-string" title="Permalink to this headline">¶</a></h4>
313
+ <p>It specifies the search condition in
314
+ <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>. It is the same role as
315
+ <tt class="docutils literal"><span class="pre">query</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
316
+ <p>See <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> about <tt class="docutils literal"><span class="pre">query</span></tt> parameter in
317
+ <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
314
318
  </div>
315
319
  </div>
316
320
  <div class="section" id="optional-parameter">
317
- <h3>8.11.6.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
318
- <p>There is a optional parameter, <tt class="docutils literal"><span class="pre">approximate_type</span></tt>.</p>
321
+ <h3>8.11.7.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
322
+ <p>There are some optional parameters.</p>
319
323
  <div class="section" id="query-expander">
320
- <h4>8.11.6.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
324
+ <h4>8.11.7.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
321
325
  <p>It specifies the plugin name for query expansion.</p>
322
326
  <p>There is one plugin bundled in official release - <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a>.</p>
323
327
  <p>See <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> about details.</p>
324
328
  </div>
325
329
  <div class="section" id="substitution-table">
326
- <h4>8.11.6.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt><a class="headerlink" href="#substitution-table" title="Permalink to this headline">¶</a></h4>
330
+ <h4>8.11.7.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt><a class="headerlink" href="#substitution-table" title="Permalink to this headline">¶</a></h4>
327
331
  <p>It specifies the substitution table and substitution column name
328
332
  by following format such as <tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt> for query expansion.</p>
329
333
  <p>See <a class="reference internal" href="../commands/select.html#query-expander"><em>query_expander</em></a> about details.</p>
@@ -331,17 +335,19 @@ by following format such as <tt class="docutils literal"><span class="pre">${TAB
331
335
  </div>
332
336
  </div>
333
337
  <div class="section" id="return-value">
334
- <h2>8.11.6.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
335
- <p><tt class="docutils literal"><span class="pre">query</span></tt> returns a value of boolean (true or false).</p>
338
+ <h2>8.11.7.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
339
+ <p><tt class="docutils literal"><span class="pre">query</span></tt> returns whether any record is matched or not. If one or more
340
+ records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
341
+ <tt class="docutils literal"><span class="pre">false</span></tt>.</p>
336
342
  </div>
337
343
  <div class="section" id="todo">
338
- <h2>8.11.6.6. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
344
+ <h2>8.11.7.6. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
339
345
  <ul class="simple">
340
346
  <li>Support query_flags</li>
341
347
  </ul>
342
348
  </div>
343
349
  <div class="section" id="see-also">
344
- <h2>8.11.6.7. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
350
+ <h2>8.11.7.7. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
345
351
  <ul class="simple">
346
352
  <li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
347
353
  </ul>
@@ -356,36 +362,36 @@ by following format such as <tt class="docutils literal"><span class="pre">${TAB
356
362
  <div class="sphinxsidebarwrapper">
357
363
  <h3><a href="../../index.html">Table Of Contents</a></h3>
358
364
  <ul>
359
- <li><a class="reference internal" href="#">8.11.6. query</a><ul>
360
- <li><a class="reference internal" href="#summary">8.11.6.1. Summary</a></li>
361
- <li><a class="reference internal" href="#syntax">8.11.6.2. Syntax</a></li>
362
- <li><a class="reference internal" href="#usage">8.11.6.3. Usage</a></li>
363
- <li><a class="reference internal" href="#parameters">8.11.6.4. Parameters</a><ul>
364
- <li><a class="reference internal" href="#required-parameter">8.11.6.4.1. Required parameter</a><ul>
365
- <li><a class="reference internal" href="#match-column">8.11.6.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt></a></li>
366
- <li><a class="reference internal" href="#query-string">8.11.6.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt></a></li>
365
+ <li><a class="reference internal" href="#">8.11.7. query</a><ul>
366
+ <li><a class="reference internal" href="#summary">8.11.7.1. Summary</a></li>
367
+ <li><a class="reference internal" href="#syntax">8.11.7.2. Syntax</a></li>
368
+ <li><a class="reference internal" href="#usage">8.11.7.3. Usage</a></li>
369
+ <li><a class="reference internal" href="#parameters">8.11.7.4. Parameters</a><ul>
370
+ <li><a class="reference internal" href="#required-parameter">8.11.7.4.1. Required parameter</a><ul>
371
+ <li><a class="reference internal" href="#match-column">8.11.7.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt></a></li>
372
+ <li><a class="reference internal" href="#query-string">8.11.7.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt></a></li>
367
373
  </ul>
368
374
  </li>
369
- <li><a class="reference internal" href="#optional-parameter">8.11.6.4.2. Optional parameter</a><ul>
370
- <li><a class="reference internal" href="#query-expander">8.11.6.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
371
- <li><a class="reference internal" href="#substitution-table">8.11.6.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt></a></li>
375
+ <li><a class="reference internal" href="#optional-parameter">8.11.7.4.2. Optional parameter</a><ul>
376
+ <li><a class="reference internal" href="#query-expander">8.11.7.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
377
+ <li><a class="reference internal" href="#substitution-table">8.11.7.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt></a></li>
372
378
  </ul>
373
379
  </li>
374
380
  </ul>
375
381
  </li>
376
- <li><a class="reference internal" href="#return-value">8.11.6.5. Return value</a></li>
377
- <li><a class="reference internal" href="#todo">8.11.6.6. TODO</a></li>
378
- <li><a class="reference internal" href="#see-also">8.11.6.7. See also</a></li>
382
+ <li><a class="reference internal" href="#return-value">8.11.7.5. Return value</a></li>
383
+ <li><a class="reference internal" href="#todo">8.11.7.6. TODO</a></li>
384
+ <li><a class="reference internal" href="#see-also">8.11.7.7. See also</a></li>
379
385
  </ul>
380
386
  </li>
381
387
  </ul>
382
388
 
383
389
  <h4>Previous topic</h4>
384
390
  <p class="topless"><a href="now.html"
385
- title="previous chapter">8.11.5. now</a></p>
391
+ title="previous chapter">8.11.6. now</a></p>
386
392
  <h4>Next topic</h4>
387
393
  <p class="topless"><a href="rand.html"
388
- title="next chapter">8.11.7. rand</a></p>
394
+ title="next chapter">8.11.8. rand</a></p>
389
395
  <h3>This Page</h3>
390
396
  <ul class="this-page-menu">
391
397
  <li><a href="../../_sources/reference/functions/query.txt"
@@ -415,12 +421,12 @@ by following format such as <tt class="docutils literal"><span class="pre">${TAB
415
421
  <a href="../../genindex.html" title="General Index"
416
422
  >index</a></li>
417
423
  <li class="right" >
418
- <a href="rand.html" title="8.11.7. rand"
424
+ <a href="rand.html" title="8.11.8. rand"
419
425
  >next</a> |</li>
420
426
  <li class="right" >
421
- <a href="now.html" title="8.11.5. now"
427
+ <a href="now.html" title="8.11.6. now"
422
428
  >previous</a> |</li>
423
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
429
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
424
430
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
425
431
  <li><a href="../function.html" >8.11. Function</a> &raquo;</li>
426
432
  </ul>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.11.7. rand &mdash; groonga v3.0.3-116-g8307aaf documentation</title>
10
+ <title>8.11.8. rand &mdash; groonga v3.0.5 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.3-116-g8307aaf',
18
+ VERSION: '3.0.5',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.3-116-g8307aaf documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.11. Function" href="../function.html" />
30
- <link rel="next" title="8.11.8. snippet_html" href="snippet_html.html" />
31
- <link rel="prev" title="8.11.6. query" href="query.html" />
30
+ <link rel="next" title="8.11.9. snippet_html" href="snippet_html.html" />
31
+ <link rel="prev" title="8.11.7. query" href="query.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -55,12 +55,12 @@
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="snippet_html.html" title="8.11.8. snippet_html"
58
+ <a href="snippet_html.html" title="8.11.9. snippet_html"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="query.html" title="8.11.6. query"
61
+ <a href="query.html" title="8.11.7. query"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">8.11. Function</a> &raquo;</li>
66
66
  </ul>
@@ -72,34 +72,34 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="rand">
75
- <h1>8.11.7. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
75
+ <h1>8.11.8. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="id1">
77
- <h2>8.11.7.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
77
+ <h2>8.11.8.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
78
78
  <p>rand - 乱数を生成する</p>
79
79
  </div>
80
80
  <div class="section" id="id2">
81
- <h2>8.11.7.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
81
+ <h2>8.11.8.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
82
82
  <div class="highlight-none"><div class="highlight"><pre>rand([max])
83
83
  </pre></div>
84
84
  </div>
85
85
  </div>
86
86
  <div class="section" id="id3">
87
- <h2>8.11.7.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
87
+ <h2>8.11.8.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
88
88
  <p>groonga組込関数の一つであるrandについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
89
89
  <p>rand() 関数は 0 から max の間の疑似乱数整数を返します。</p>
90
90
  </div>
91
91
  <div class="section" id="id4">
92
- <h2>8.11.7.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
92
+ <h2>8.11.8.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
93
93
  <p><tt class="docutils literal"><span class="pre">max</span></tt></p>
94
94
  <blockquote>
95
95
  <div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
96
96
  </div>
97
97
  <div class="section" id="id5">
98
- <h2>8.11.7.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
98
+ <h2>8.11.8.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
99
99
  <p>0 と max の間の数を表すInt32型の値を返します。</p>
100
100
  </div>
101
101
  <div class="section" id="id6">
102
- <h2>8.11.7.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
102
+ <h2>8.11.8.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
103
103
  <div class="highlight-none"><div class="highlight"><pre>rand(10)
104
104
  3
105
105
  </pre></div>
@@ -115,23 +115,23 @@
115
115
  <div class="sphinxsidebarwrapper">
116
116
  <h3><a href="../../index.html">Table Of Contents</a></h3>
117
117
  <ul>
118
- <li><a class="reference internal" href="#">8.11.7. rand</a><ul>
119
- <li><a class="reference internal" href="#id1">8.11.7.1. 名前</a></li>
120
- <li><a class="reference internal" href="#id2">8.11.7.2. 書式</a></li>
121
- <li><a class="reference internal" href="#id3">8.11.7.3. 説明</a></li>
122
- <li><a class="reference internal" href="#id4">8.11.7.4. 引数</a></li>
123
- <li><a class="reference internal" href="#id5">8.11.7.5. 返値</a></li>
124
- <li><a class="reference internal" href="#id6">8.11.7.6. 例</a></li>
118
+ <li><a class="reference internal" href="#">8.11.8. rand</a><ul>
119
+ <li><a class="reference internal" href="#id1">8.11.8.1. 名前</a></li>
120
+ <li><a class="reference internal" href="#id2">8.11.8.2. 書式</a></li>
121
+ <li><a class="reference internal" href="#id3">8.11.8.3. 説明</a></li>
122
+ <li><a class="reference internal" href="#id4">8.11.8.4. 引数</a></li>
123
+ <li><a class="reference internal" href="#id5">8.11.8.5. 返値</a></li>
124
+ <li><a class="reference internal" href="#id6">8.11.8.6. 例</a></li>
125
125
  </ul>
126
126
  </li>
127
127
  </ul>
128
128
 
129
129
  <h4>Previous topic</h4>
130
130
  <p class="topless"><a href="query.html"
131
- title="previous chapter">8.11.6. query</a></p>
131
+ title="previous chapter">8.11.7. query</a></p>
132
132
  <h4>Next topic</h4>
133
133
  <p class="topless"><a href="snippet_html.html"
134
- title="next chapter">8.11.8. snippet_html</a></p>
134
+ title="next chapter">8.11.9. snippet_html</a></p>
135
135
  <h3>This Page</h3>
136
136
  <ul class="this-page-menu">
137
137
  <li><a href="../../_sources/reference/functions/rand.txt"
@@ -161,12 +161,12 @@
161
161
  <a href="../../genindex.html" title="General Index"
162
162
  >index</a></li>
163
163
  <li class="right" >
164
- <a href="snippet_html.html" title="8.11.8. snippet_html"
164
+ <a href="snippet_html.html" title="8.11.9. snippet_html"
165
165
  >next</a> |</li>
166
166
  <li class="right" >
167
- <a href="query.html" title="8.11.6. query"
167
+ <a href="query.html" title="8.11.7. query"
168
168
  >previous</a> |</li>
169
- <li><a href="../../index.html">groonga v3.0.3-116-g8307aaf documentation</a> &raquo;</li>
169
+ <li><a href="../../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
170
170
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
171
171
  <li><a href="../function.html" >8.11. Function</a> &raquo;</li>
172
172
  </ul>