rroonga 3.0.0-x86-mingw32 → 3.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. data/doc/text/news.textile +22 -1
  2. data/ext/groonga/rb-grn-array.c +1 -1
  3. data/ext/groonga/rb-grn-logger.c +41 -89
  4. data/ext/groonga/rb-grn-object.c +1 -1
  5. data/ext/groonga/rb-grn-plugin.c +1 -1
  6. data/ext/groonga/rb-grn-query-logger.c +75 -2
  7. data/ext/groonga/rb-grn-table.c +658 -511
  8. data/ext/groonga/rb-grn-utils.c +113 -22
  9. data/ext/groonga/rb-grn.h +7 -1
  10. data/lib/1.9/groonga.so +0 -0
  11. data/lib/2.0/groonga.so +0 -0
  12. data/lib/groonga.rb +18 -18
  13. data/lib/groonga/context.rb +11 -3
  14. data/lib/groonga/logger.rb +26 -0
  15. data/lib/groonga/record.rb +25 -2
  16. data/rroonga-build.rb +1 -1
  17. data/rroonga.gemspec +1 -1
  18. data/test/test-column.rb +103 -1
  19. data/test/test-logger.rb +9 -8
  20. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  21. data/vendor/local/bin/groonga.exe +0 -0
  22. data/vendor/local/bin/libgroonga-0.dll +0 -0
  23. data/vendor/local/bin/libmecab-1.dll +0 -0
  24. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  25. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  26. data/vendor/local/bin/mecab.exe +0 -0
  27. data/vendor/local/include/groonga/groonga.h +20 -4
  28. data/vendor/local/include/groonga/groonga/plugin.h +4 -4
  29. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  30. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  31. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  32. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  34. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  37. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  39. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  40. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  41. data/vendor/local/lib/libgroonga.a +0 -0
  42. data/vendor/local/lib/libgroonga.dll.a +0 -0
  43. data/vendor/local/lib/libmecab.a +0 -0
  44. data/vendor/local/lib/libmecab.dll.a +0 -0
  45. data/vendor/local/lib/libmsgpack.a +0 -0
  46. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  47. data/vendor/local/lib/libmsgpackc.a +0 -0
  48. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  49. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  50. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  54. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  55. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  56. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
  57. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  58. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  59. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +18 -11
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  63. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +50 -3
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
  65. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +20 -0
  66. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +32 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +2 -4
  68. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +185 -1
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -0
  70. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +19 -12
  71. data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
  72. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  73. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  74. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  75. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  79. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/index.html +7 -6
  90. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  91. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  92. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  93. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +24 -16
  94. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  95. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  96. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  97. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +54 -10
  98. data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
  99. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/news.html +163 -140
  101. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  107. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
  123. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -6
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +9 -9
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
  148. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +39 -10
  158. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -13
  161. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +632 -7
  164. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +7 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/types.html +6 -6
  174. data/vendor/local/share/doc/groonga/en/html/search.html +7 -5
  175. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  176. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +11 -11
  203. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  206. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  207. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
  208. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  209. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  210. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +18 -11
  211. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  212. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  213. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  214. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +50 -3
  215. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
  216. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +20 -0
  217. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +32 -3
  218. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +2 -4
  219. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +185 -1
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -0
  221. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +19 -12
  222. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  223. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  224. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  225. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  226. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  227. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  228. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  229. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  230. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  231. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  232. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  233. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  235. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  237. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/index.html +7 -6
  241. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
  242. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  243. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  244. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +16 -10
  245. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  246. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  247. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  248. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +50 -10
  249. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +17 -17
  250. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/news.html +160 -140
  252. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  253. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  254. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  258. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  269. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  270. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  271. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  274. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  275. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  276. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  277. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  278. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  280. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  281. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  282. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -8
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +9 -9
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  295. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  296. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  297. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
  298. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
  299. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  300. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  301. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  302. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -11
  309. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -13
  312. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  313. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  314. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +614 -7
  315. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  316. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  317. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +7 -5
  318. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  321. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +6 -6
  325. data/vendor/local/share/doc/groonga/ja/html/search.html +7 -5
  326. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  327. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  328. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +11 -11
  354. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  357. data/vendor/local/share/man/ja/man1/groonga.1 +920 -150
  358. data/vendor/local/share/man/man1/groonga.1 +974 -179
  359. metadata +4 -4
@@ -8,13 +8,15 @@ Fedora
8
8
  This section describes how to install groonga related RPM packages on
9
9
  Fedora. You can install them by ``yum``.
10
10
 
11
- Groonga related RPM pakcages are also in the official Fedora yum
12
- repository. So you can use them instead of the groonga yum
13
- repository. The different between the groonga yum repository and the
14
- official Fedora yum repository is that the groonga yum repository
15
- provides the latest version at the release day but the official Fedora
16
- yum repository provides the latest version a few days later. That is,
17
- the different is very small. :-)
11
+ .. note::
12
+
13
+ Since groonga 3.0.2 release, Groonga related RPM pakcages are in the official
14
+ Fedora yum repository (Fedora 18). So you can use them instead of the groonga yum
15
+ repository now. There is some exceptions to use the groonga yum
16
+ repository because ``groonga-normalizer-mysql`` and mecab dictionaries
17
+ (mecab-ipadic or mecab-jumandic) are provided by
18
+ the groonga yum repository. But we will also plan to release
19
+ ``groonga-normalizer-mysql`` in the official Fedora yum repository in the future.
18
20
 
19
21
  We distribute both 32-bit and 64-bit packages but we strongly
20
22
  recommend a 64-bit package for server. You should use a 32-bit package
@@ -29,9 +31,14 @@ Fedora 18
29
31
 
30
32
  Install::
31
33
 
34
+ % sudo yum install -y groonga
35
+
36
+ Note that additional packages such as ``groonga-normalizer-mysql``,
37
+ ``mecab-dic`` and ``mecab-jumandic`` packages require to install
38
+ ``groonga-release`` package which provides the groonga yum repository beforehand::
39
+
32
40
  % sudo rpm -ivh http://packages.groonga.org/fedora/groonga-release-1.1.0-1.noarch.rpm
33
41
  % sudo yum update
34
- % sudo yum install -y groonga
35
42
 
36
43
  If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
37
44
  tokenizer, install groonga-tokenizer-mecab package.
@@ -75,9 +82,9 @@ Install required packages to build groonga::
75
82
 
76
83
  Download source::
77
84
 
78
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
79
- % tar xvzf groonga-3.0.2.tar.gz
80
- % cd groonga-3.0.2
85
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
86
+ % tar xvzf groonga-3.0.3.tar.gz
87
+ % cd groonga-3.0.3
81
88
 
82
89
  Configure (see :ref:`source-configure` about ``configure`` options)::
83
90
 
@@ -40,9 +40,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
40
40
 
41
41
  Download source::
42
42
 
43
- % curl -O http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
44
- % tar xvzf groonga-3.0.2.tar.gz
45
- % cd groonga-3.0.2
43
+ % curl -O http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
44
+ % tar xvzf groonga-3.0.3.tar.gz
45
+ % cd groonga-3.0.3
46
46
 
47
47
  Configure (see :ref:`source-configure` about ``configure`` options)::
48
48
 
@@ -74,9 +74,9 @@ Build from source
74
74
  Groonga uses GNU build system. So the following is the simplest build
75
75
  steps::
76
76
 
77
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
78
- % tar xvzf groonga-3.0.2.tar.gz
79
- % cd groonga-3.0.2
77
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
78
+ % tar xvzf groonga-3.0.3.tar.gz
79
+ % cd groonga-3.0.3
80
80
  % ./configure
81
81
  % make
82
82
  % sudo make install
@@ -17,9 +17,9 @@ Install required packages to build groonga::
17
17
 
18
18
  Download source::
19
19
 
20
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
21
- % gtar xvzf groonga-3.0.2.tar.gz
22
- % cd groonga-3.0.2
20
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
21
+ % gtar xvzf groonga-3.0.3.tar.gz
22
+ % cd groonga-3.0.3
23
23
 
24
24
  Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
25
25
  needed for building 64-bit version. To build 32-bit version, just
@@ -200,6 +200,53 @@ There is a package that provides MySQL compatible normalizer as
200
200
  groonga plugins.
201
201
  If you want to use that one, install groonga-normalizer-mysql package.
202
202
 
203
+ Install groonga-normalizer-mysql package::
204
+
205
+ % sudo apt-get -y install groonga-normalizer-mysql
206
+
207
+ 13.04 Raring Ringtail
208
+ ---------------------
209
+
210
+ .. note::
211
+
212
+ Enable the universe repository to install groonga::
213
+
214
+ % sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
215
+ % sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list
216
+
217
+ Add the groonga apt repository.
218
+
219
+ /etc/apt/sources.list.d/groonga.list::
220
+
221
+ deb http://packages.groonga.org/ubuntu/ raring universe
222
+ deb-src http://packages.groonga.org/ubuntu/ raring universe
223
+
224
+ Install::
225
+
226
+ % sudo apt-get update
227
+ % sudo apt-get -y --allow-unauthenticated install groonga-keyring
228
+ % sudo apt-get update
229
+ % sudo apt-get -y install groonga
230
+
231
+ If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
232
+ tokenizer, install groonga-tokenizer-mecab package.
233
+
234
+ Install groonga-tokenizer-mecab package::
235
+
236
+ % sudo apt-get -y install groonga-tokenizer-mecab
237
+
238
+ There is a package that provides `Munin
239
+ <http://munin-monitoring.org/>`_ plugins. If you want to monitor
240
+ groonga status by Munin, install groonga-munin-plugins package.
241
+
242
+ Install groonga-munin-plugins package::
243
+
244
+ % sudo apt-get -y install groonga-munin-plugins
245
+
246
+ There is a package that provides MySQL compatible normalizer as
247
+ groonga plugins.
248
+ If you want to use that one, install groonga-normalizer-mysql package.
249
+
203
250
  Install groonga-normalizer-mysql package::
204
251
 
205
252
  % sudo apt-get -y install groonga-normalizer-mysql
@@ -213,9 +260,9 @@ Install required packages to build groonga::
213
260
 
214
261
  Download source::
215
262
 
216
- % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
217
- % tar xvzf groonga-3.0.2.tar.gz
218
- % cd groonga-3.0.2
263
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
264
+ % tar xvzf groonga-3.0.3.tar.gz
265
+ % cd groonga-3.0.3
219
266
 
220
267
  Configure (see :ref:`source-configure` about ``configure`` options)::
221
268
 
@@ -23,7 +23,7 @@ You can download such a binary by command line operation.
23
23
 
24
24
  Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
25
25
 
26
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x86.exe
26
+ > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x86.exe
27
27
 
28
28
  Then run it.
29
29
 
@@ -32,7 +32,7 @@ For 64-bit environment, download x64 executable binary from packages.groonga.org
32
32
 
33
33
  Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
34
34
 
35
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x64.exe
35
+ > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x64.exe
36
36
 
37
37
  Then run it.
38
38
 
@@ -47,7 +47,7 @@ You can download such a binary by command line operation.
47
47
 
48
48
  Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
49
49
 
50
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x86.zip
50
+ > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x86.zip
51
51
 
52
52
  Then extract it.
53
53
 
@@ -55,7 +55,7 @@ For 64-bit environment, download x64 zip archive from packages.groonga.org.
55
55
 
56
56
  Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
57
57
 
58
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.2-x64.zip
58
+ > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x64.zip
59
59
 
60
60
  Then extract it.
61
61
 
@@ -79,37 +79,37 @@ Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
79
79
  Visual Studio 2010 Express and download it by default browser::
80
80
 
81
81
  > cd c:\Users\%USERNAME%\Downloads
82
- > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.2.zip
82
+ > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.3.zip
83
83
 
84
84
  Then extract it.
85
85
 
86
86
  Move to the groonga's source folder::
87
87
 
88
- > cd c:\Users\%USERNAME%\Downloads\groonga-3.0.2
88
+ > cd c:\Users\%USERNAME%\Downloads\groonga-3.0.3
89
89
 
90
90
  Configure by ``cmake``. The following commnad line is for 64-bit
91
91
  version. To build 32-bit version, use ``-G "Visual Studio 10"``
92
92
  parameter instead::
93
93
 
94
- groonga-3.0.2> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
94
+ groonga-3.0.3> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
95
95
 
96
96
  Build by Visual C++ 2010 Express::
97
97
 
98
- groonga-3.0.2> msbuild groonga.sln /p:Configuration=Release
98
+ groonga-3.0.3> msbuild groonga.sln /p:Configuration=Release
99
99
 
100
100
  Install by Visual C++ 2010 Express::
101
101
 
102
- groonga-3.0.2> msbuild groonga.sln /p:Configuration=Release /t:Install
102
+ groonga-3.0.3> msbuild groonga.sln /p:Configuration=Release /t:Install
103
103
 
104
104
  If you installed Visual Studio 2010, use can use devenv instead.
105
105
 
106
106
  Build by Visual Studio 2010::
107
107
 
108
- groonga-3.0.2> devenv groonga.sln /Build Release
108
+ groonga-3.0.3> devenv groonga.sln /Build Release
109
109
 
110
110
  Install by Visual Studio 2010::
111
111
 
112
- groonga-3.0.2> devenv groonga.sln /Build Release /Project Install
112
+ groonga-3.0.3> devenv groonga.sln /Build Release /Project Install
113
113
 
114
114
  After the above steps, :doc:`/reference/executables/groonga` is found in
115
115
  ``c:\groonga\bin\groonga.exe``.
@@ -5,6 +5,26 @@
5
5
  News
6
6
  ====
7
7
 
8
+ .. _release-3-0-3:
9
+
10
+ Release 3.0.3 - 2013/04/29
11
+ --------------------------
12
+
13
+ Improvements
14
+ ^^^^^^^^^^^^
15
+
16
+ * [suggest] Supported to learn with the value of customized weight
17
+ by using ``configuration.weight`` configuration.
18
+ * Improved performance of geo-location search. For example,
19
+ ``geo_in_rectangle`` is executed about 10% faster than ever.
20
+ * [rpm][centos] Added ``additional_configure_options`` parameter
21
+ for building customized groonga without changing spec file.
22
+ * Supported KyTea 0.4.5.
23
+ * Supported vector index access by "vector[N]" syntax.
24
+ * Added ``--default-tokenizer`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
25
+ * Added ``--help`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
26
+ * Supported Ubuntu 13.04 Raring Ringtail.
27
+
8
28
  .. _release-3-0-2:
9
29
 
10
30
  Release 3.0.2 - 2013/03/29
@@ -27,9 +27,13 @@ Syntax
27
27
 
28
28
  ``query`` requires two arguments - ``match_column`` and ``query_string``.
29
29
 
30
+ The parameter ``query_expander`` or ``substitution_table`` is optional.
31
+
30
32
  ::
31
33
 
32
34
  query(match_column, query_string)
35
+ query(match_column, query_string, query_expander)
36
+ query(match_column, query_string, substitution_table)
33
37
 
34
38
 
35
39
  Usage
@@ -102,22 +106,48 @@ keywords on your purpose.
102
106
  Parameters
103
107
  ----------
104
108
 
109
+ Required parameter
110
+ ^^^^^^^^^^^^^^^^^^
111
+
105
112
  There are two required parameter, ``match_column`` and ``query_string``.
106
113
 
107
114
  ``match_column``
108
- ^^^^^^^^^^^^^^^^
115
+ """"""""""""""""
109
116
 
110
117
  It specifies ``match_column`` equivalent parameter.
111
118
 
112
119
  See :ref:`select-match-columns` about match_column.
113
120
 
114
121
  ``query_string``
115
- ^^^^^^^^^^^^^^^^
122
+ """"""""""""""""
116
123
 
117
124
  It specifies ``query`` equivalent parameter.
118
125
 
119
126
  See :ref:`select-query` about query string.
120
127
 
128
+ Optional parameter
129
+ ^^^^^^^^^^^^^^^^^^
130
+
131
+ There is a optional parameter, ``approximate_type``.
132
+
133
+ ``query_expander``
134
+ """"""""""""""""""
135
+
136
+ It specifies the plugin name for query expansion.
137
+
138
+ There is one plugin bundled in official release - :doc:`/reference/query_expanders/tsv`.
139
+
140
+ See :doc:`/reference/query_expanders/tsv` about details.
141
+
142
+
143
+ ``substitution_table``
144
+ """"""""""""""""""""""
145
+
146
+ It specifies the substitution table and substitution column name
147
+ by following format such as ``${TABLE}.${COLUMN}`` for query expansion.
148
+
149
+ See :ref:`query-expander` about details.
150
+
121
151
  Return value
122
152
  ------------
123
153
 
@@ -126,7 +156,6 @@ Return value
126
156
  TODO
127
157
  ----
128
158
 
129
- * Support query_expansion
130
159
  * Support query_flags
131
160
 
132
161
  See also
@@ -70,8 +70,7 @@ Here is the simple usage of ``sub_filter`` function which extracts the blog entr
70
70
 
71
71
  .. groonga-command
72
72
  .. include:: ../../example/reference/functions/sub_filter/usage_without_sub_filter.log
73
- .. select Blog --output_columns _key \
74
- .. --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
73
+ .. select Blog --output_columns _key --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
75
74
 
76
75
  When executing above query, not only "groonga's blog", but also "mroonga's blog".
77
76
  This is not what you want because user "A" does not mention "groonga" to "mroonga's blog".
@@ -83,8 +82,7 @@ Without sub_filter, it means that following conditions are met.
83
82
 
84
83
  .. groonga-command
85
84
  .. include:: ../../example/reference/functions/sub_filter/usage_with_sub_filter.log
86
- .. select Blog --output_columns _key \
87
- .. --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
85
+ .. select Blog --output_columns _key --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
88
86
 
89
87
  On the other hand, executing above query returns the intended result.
90
88
  Because the arguments of sub_filter is evaluated in comments column's context.
@@ -580,7 +580,191 @@ TODO: ...
580
580
  Assignment operators
581
581
  --------------------
582
582
 
583
- TODO: ...
583
+
584
+ Addition assignment operator
585
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
586
+
587
+ Its syntax is ``column1 += column2``.
588
+
589
+ The operator performs addition assginment operation on column1 by column2.
590
+
591
+ .. groonga-command
592
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_addition_assignment_operator.log
593
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score += n_likes'
594
+
595
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
596
+ then performs addition assignment operation such as '_score = _score + n_likes' for each records.
597
+
598
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
599
+ is 3.
600
+
601
+ So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result.
602
+
603
+ Subtraction assignment operator
604
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
605
+
606
+ Its syntax is ``column1 -= column2``.
607
+
608
+ The operator performs subtraction assginment operation on column1 by column2.
609
+
610
+ .. groonga-command
611
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_subtraction_assignment_operator.log
612
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score -= n_likes'
613
+
614
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
615
+ then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.
616
+
617
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
618
+ is 3.
619
+
620
+ So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result.
621
+
622
+ Multiplication assignment operator
623
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
624
+
625
+ Its syntax is ``column1 *= column2``.
626
+
627
+ The operator performs multiplication assginment operation on column1 by column2.
628
+
629
+ .. groonga-command
630
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_multiplication_assignment_operator.log
631
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score *= n_likes'
632
+
633
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
634
+ then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.
635
+
636
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
637
+ is 3.
638
+
639
+ So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result.
640
+
641
+ Division assignment operator
642
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
643
+
644
+ Its syntax is ``column1 /= column2``.
645
+
646
+ The operator performs division assginment operation on column1 by column2.
647
+
648
+ .. groonga-command
649
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_division_assignment_operator.log
650
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score /= n_likes'
651
+
652
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
653
+ then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.
654
+
655
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
656
+ is 3.
657
+
658
+ So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result.
659
+
660
+ Modulo assignment operator
661
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^
662
+
663
+ Its syntax is ``column1 %= column2``.
664
+
665
+ The operator performs modulo assginment operation on column1 by column2.
666
+
667
+ .. groonga-command
668
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_modulo_assignment_operator.log
669
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score %= n_likes'
670
+
671
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
672
+ then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.
673
+
674
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
675
+ is 3.
676
+
677
+ So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result.
678
+
679
+ Bitwise left shift assignment operator
680
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
681
+
682
+ Its syntax is ``column1 <<= column2``.
683
+
684
+ The operator performs left shift assginment operation on column1 by column2.
685
+
686
+ .. groonga-command
687
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_left_shift_assignment_operator.log
688
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score <<= n_likes'
689
+
690
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
691
+ then performs subtraction assignment operation such as '_score = _score << n_likes' for each records.
692
+
693
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
694
+ is 3.
695
+
696
+ So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result.
697
+
698
+ Bitwise signed right shift assignment operator
699
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
700
+
701
+ Its syntax is ``column2 >>= column2``.
702
+
703
+ The operator performs signed right shift assginment operation on column1 by column2.
704
+
705
+ Bitwise unsigned right shift assignment operator
706
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
707
+
708
+ Its syntax is ``column1 >>>= column2``.
709
+
710
+ The operator performs unsigned right shift assginment operation on column1 by column2.
711
+
712
+ Bitwise AND assignment operator
713
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
714
+
715
+ Its syntax is ``column1 &= column2``.
716
+
717
+ The operator performs bitwise AND assignment operation on column1 by column2.
718
+
719
+ .. groonga-command
720
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_and_assignment_operator.log
721
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score &= n_likes'
722
+
723
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
724
+ then performs subtraction assignment operation such as '_score = _score & n_likes' for each records.
725
+
726
+ For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
727
+ is 10.
728
+
729
+ So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result.
730
+
731
+ Bitwise OR assignment operator
732
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
733
+
734
+ Its syntax is ``column1 |= column2``.
735
+
736
+ The operator performs bitwise OR assignment operation on column1 by column2.
737
+
738
+ .. groonga-command
739
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_or_assignment_operator.log
740
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score |= n_likes'
741
+
742
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
743
+ then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.
744
+
745
+ For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
746
+ is 10.
747
+
748
+ So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result.
749
+
750
+ Bitwise XOR assignment operator
751
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
752
+
753
+ Its syntax is ``column1 ^= column2``.
754
+
755
+ The operator performs bitwise XOR assginment operation on column1 by column2.
756
+
757
+ .. groonga-command
758
+ .. include:: ../../example/reference/grn_expr/script_syntax/simple_xor_assignment_operator.log
759
+ .. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score ^= n_likes'
760
+
761
+ The value of ``_score`` by ``--filter`` is always 1 in this case,
762
+ then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.
763
+
764
+ For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
765
+ is 3.
766
+
767
+ So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result.
584
768
 
585
769
  Original operators
586
770
  ------------------