rroonga 2.0.7-x86-mingw32 → 2.0.8-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. data/ext/groonga/rb-grn.h +1 -1
  2. data/lib/1.8/groonga.so +0 -0
  3. data/lib/1.9/groonga.so +0 -0
  4. data/rroonga-build.rb +1 -1
  5. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  6. data/vendor/local/bin/groonga.exe +0 -0
  7. data/vendor/local/bin/libgroonga-0.dll +0 -0
  8. data/vendor/local/bin/libmecab-1.dll +0 -0
  9. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  10. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  11. data/vendor/local/bin/mecab-config +2 -2
  12. data/vendor/local/bin/mecab.exe +0 -0
  13. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  14. data/vendor/local/etc/groonga/synonyms.tsv +5 -0
  15. data/vendor/local/include/groonga/groonga.h +77 -4
  16. data/vendor/local/include/groonga/groonga/plugin.h +45 -15
  17. data/vendor/local/include/groonga/groonga/tokenizer.h +62 -12
  18. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  19. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  20. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  21. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +41 -0
  22. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  23. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  24. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  25. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  26. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  28. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  30. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  32. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  34. data/vendor/local/lib/libgroonga.a +0 -0
  35. data/vendor/local/lib/libgroonga.dll.a +0 -0
  36. data/vendor/local/lib/libgroonga.la +2 -2
  37. data/vendor/local/lib/libmecab.a +0 -0
  38. data/vendor/local/lib/libmecab.dll.a +0 -0
  39. data/vendor/local/lib/libmecab.la +1 -1
  40. data/vendor/local/lib/libmsgpack.a +0 -0
  41. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  42. data/vendor/local/lib/libmsgpack.la +1 -1
  43. data/vendor/local/lib/libmsgpackc.a +0 -0
  44. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  45. data/vendor/local/lib/libmsgpackc.la +1 -1
  46. data/vendor/local/lib/pkgconfig/groonga.pc +4 -3
  47. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  48. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  49. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  50. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  52. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  53. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +3 -3
  54. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +23 -0
  55. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +24 -3
  56. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  57. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -3
  58. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  59. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +42 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +26 -16
  63. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +12 -2
  64. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +96 -1
  65. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +20 -0
  67. data/vendor/local/share/doc/groonga/en/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
  68. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +228 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +110 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +59 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +20 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +25 -8
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +120 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +3 -1
  76. data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions.txt → en/html/_sources/reference/query_expanders.txt} +3 -3
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +153 -0
  78. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +12 -2
  79. data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +214 -0
  80. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution.html +11 -10
  83. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +42 -19
  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 +62 -52
  98. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  99. data/vendor/local/share/doc/groonga/en/html/install/centos.html +26 -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 +17 -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 +47 -10
  106. data/vendor/local/share/doc/groonga/en/html/install/windows.html +25 -16
  107. data/vendor/local/share/doc/groonga/en/html/limitations.html +23 -13
  108. data/vendor/local/share/doc/groonga/en/html/news.html +175 -67
  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 +43 -41
  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_expr.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/{commands.html → command.html} +49 -44
  120. data/vendor/local/share/doc/groonga/en/html/reference/{command_version.html → command/command_version.html} +46 -46
  121. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +356 -0
  122. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +248 -0
  123. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -33
  124. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
  126. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +32 -32
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +32 -32
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +32 -32
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +34 -34
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -32
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -32
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -34
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -34
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +36 -36
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +31 -31
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +190 -0
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +92 -92
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +32 -32
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +32 -32
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +32 -32
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +32 -32
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
  153. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
  155. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/{functions.html → function.html} +15 -9
  158. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +13 -13
  159. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +98 -16
  160. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
  161. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
  162. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
  163. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +13 -13
  164. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +303 -0
  165. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +11 -11
  168. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +12 -12
  169. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
  171. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +10 -10
  172. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +138 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +315 -0
  174. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
  175. data/vendor/local/share/doc/groonga/en/html/reference/type.html +27 -27
  176. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  178. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +19 -8
  182. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/spec.html +12 -11
  185. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +412 -0
  186. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
  187. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  207. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  208. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +3 -3
  209. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +23 -0
  210. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +24 -3
  211. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  212. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -3
  213. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  214. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  215. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  216. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +42 -3
  217. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +26 -16
  218. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +12 -2
  219. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +96 -1
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -3
  221. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +20 -0
  222. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
  223. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +228 -0
  224. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +110 -0
  225. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +59 -0
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -0
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +20 -0
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +25 -8
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +120 -0
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +3 -1
  231. data/vendor/local/share/doc/groonga/{source/reference/functions.txt → ja/html/_sources/reference/query_expanders.txt} +3 -3
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +153 -0
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +12 -2
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +214 -0
  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 -10
  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 +42 -19
  243. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  249. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/index.html +63 -53
  253. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
  254. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +26 -8
  255. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  256. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +17 -8
  257. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  258. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  259. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  260. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +45 -10
  261. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +25 -16
  262. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -11
  263. data/vendor/local/share/doc/groonga/ja/html/news.html +155 -68
  264. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  269. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  270. data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -42
  271. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  274. data/vendor/local/share/doc/groonga/ja/html/reference/{commands.html → command.html} +48 -44
  275. data/vendor/local/share/doc/groonga/ja/html/reference/{command_version.html → command/command_version.html} +47 -47
  276. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +331 -0
  277. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +237 -0
  278. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -33
  279. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +32 -32
  280. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
  281. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +32 -32
  282. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +32 -32
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +32 -32
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +34 -34
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -32
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -32
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -34
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -34
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +36 -36
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +31 -31
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +183 -0
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
  295. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
  296. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +32 -32
  297. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +37 -37
  298. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -32
  299. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
  300. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +32 -32
  301. data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +32 -32
  302. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  308. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
  309. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  310. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/reference/{functions.html → function.html} +13 -9
  313. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +13 -13
  314. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +96 -15
  315. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
  316. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
  317. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
  318. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +13 -13
  319. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +281 -0
  320. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -12
  321. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -12
  322. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -17
  323. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +12 -12
  324. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
  325. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +13 -13
  326. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +10 -10
  327. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +139 -0
  328. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +278 -0
  329. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
  330. data/vendor/local/share/doc/groonga/ja/html/reference/type.html +27 -27
  331. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  333. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +17 -8
  337. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/spec.html +12 -11
  340. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +404 -0
  341. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
  342. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
  352. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  362. data/vendor/local/share/doc/groonga/source/contribution.txt +3 -3
  363. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +23 -0
  364. data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +4 -0
  365. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +26 -0
  366. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +26 -0
  367. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +26 -0
  368. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +28 -0
  369. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +29 -0
  370. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +17 -0
  371. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +28 -0
  372. data/vendor/local/share/doc/groonga/source/install/centos.txt +24 -3
  373. data/vendor/local/share/doc/groonga/source/install/debian.txt +3 -3
  374. data/vendor/local/share/doc/groonga/source/install/fedora.txt +13 -3
  375. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +3 -3
  376. data/vendor/local/share/doc/groonga/source/install/others.txt +3 -3
  377. data/vendor/local/share/doc/groonga/source/install/solaris.txt +3 -3
  378. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +42 -3
  379. data/vendor/local/share/doc/groonga/source/install/windows.txt +26 -16
  380. data/vendor/local/share/doc/groonga/source/limitations.txt +12 -2
  381. data/vendor/local/share/doc/groonga/source/news.txt +96 -1
  382. data/vendor/local/share/doc/groonga/source/reference.txt +3 -3
  383. data/vendor/local/share/doc/groonga/source/reference/command.txt +20 -0
  384. data/vendor/local/share/doc/groonga/source/reference/{command_version.txt → command/command_version.txt} +0 -0
  385. data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +228 -0
  386. data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +110 -0
  387. data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +59 -0
  388. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -0
  389. data/vendor/local/share/doc/groonga/source/reference/function.txt +20 -0
  390. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +25 -8
  391. data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +120 -0
  392. data/vendor/local/share/doc/groonga/source/reference/indexing.txt +3 -1
  393. data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions.txt → source/reference/query_expanders.txt} +3 -3
  394. data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +153 -0
  395. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +12 -2
  396. data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +214 -0
  397. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +5 -2
  398. data/vendor/local/share/man/ja/man1/groonga.1 +1589 -218
  399. data/vendor/local/share/man/man1/groonga.1 +1685 -190
  400. metadata +66 -18
  401. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands.txt +0 -15
  402. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands.txt +0 -15
  403. data/vendor/local/share/doc/groonga/source/reference/commands.txt +0 -15
@@ -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-2.0.7.tar.gz
78
- % tar xvzf groonga-2.0.7.tar.gz
79
- % cd groonga-2.0.7
77
+ % wget http://packages.groonga.org/source/groonga/groonga-2.0.9.tar.gz
78
+ % tar xvzf groonga-2.0.9.tar.gz
79
+ % cd groonga-2.0.9
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-2.0.7.tar.gz
21
- % gtar xvzf groonga-2.0.7.tar.gz
22
- % cd groonga-2.0.7
20
+ % wget http://packages.groonga.org/source/groonga/groonga-2.0.9.tar.gz
21
+ % gtar xvzf groonga-2.0.9.tar.gz
22
+ % cd groonga-2.0.9
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
@@ -166,6 +166,45 @@ There is a package that provides `Munin
166
166
  <http://munin-monitoring.org/>`_ plugins. If you want to monitor
167
167
  groonga status by Munin, install groonga-munin-plugins package.
168
168
 
169
+ Install groonga-munin-plugins package::
170
+
171
+ % sudo apt-get -y install groonga-munin-plugins
172
+
173
+ 12.10 Quantal Quetzal
174
+ ---------------------
175
+
176
+ .. note::
177
+
178
+ Enable the universe repository to install groonga::
179
+
180
+ % sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
181
+ % sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list
182
+
183
+ Add the groonga apt repository.
184
+
185
+ /etc/apt/sources.list.d/groonga.list::
186
+
187
+ deb http://packages.groonga.org/ubuntu/ quantal universe
188
+ deb-src http://packages.groonga.org/ubuntu/ quantal universe
189
+
190
+ Install::
191
+
192
+ % sudo apt-get update
193
+ % sudo apt-get -y --allow-unauthenticated install groonga-keyring
194
+ % sudo apt-get update
195
+ % sudo apt-get -y install groonga
196
+
197
+ If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
198
+ tokenizer, install groonga-tokenizer-mecab package.
199
+
200
+ Install groonga-tokenizer-mecab package::
201
+
202
+ % sudo apt-get -y install groonga-tokenizer-mecab
203
+
204
+ There is a package that provides `Munin
205
+ <http://munin-monitoring.org/>`_ plugins. If you want to monitor
206
+ groonga status by Munin, install groonga-munin-plugins package.
207
+
169
208
  Install groonga-munin-plugins package::
170
209
 
171
210
  % sudo apt-get -y install groonga-munin-plugins
@@ -179,9 +218,9 @@ Install required packages to build groonga::
179
218
 
180
219
  Download source::
181
220
 
182
- % wget http://packages.groonga.org/source/groonga/groonga-2.0.7.tar.gz
183
- % tar xvzf groonga-2.0.7.tar.gz
184
- % cd groonga-2.0.7
221
+ % wget http://packages.groonga.org/source/groonga/groonga-2.0.9.tar.gz
222
+ % tar xvzf groonga-2.0.9.tar.gz
223
+ % cd groonga-2.0.9
185
224
 
186
225
  Configure (see :ref:`source-configure` about ``configure`` options)::
187
226
 
@@ -17,12 +17,12 @@ size data.
17
17
  Installer
18
18
  ---------
19
19
 
20
- For 32-bit environment, download `groonga-2.0.7-x86.exe
21
- <http://packages.groonga.org/windows/groonga/groonga-2.0.7-x86.exe>`_
20
+ For 32-bit environment, download `groonga-2.0.9-x86.exe
21
+ <http://packages.groonga.org/windows/groonga/groonga-2.0.9-x86.exe>`_
22
22
  and run it.
23
23
 
24
- For 64-bit environment, download `groonga-2.0.7-x64.exe
25
- <http://packages.groonga.org/windows/groonga/groonga-2.0.7-x64.exe>`_
24
+ For 64-bit environment, download `groonga-2.0.9-x64.exe
25
+ <http://packages.groonga.org/windows/groonga/groonga-2.0.9-x64.exe>`_
26
26
  and run it.
27
27
 
28
28
  Use command prompt for :doc:`/reference/executables/groonga` installed in start menu.
@@ -30,12 +30,12 @@ Use command prompt for :doc:`/reference/executables/groonga` installed in start
30
30
  zip
31
31
  ---
32
32
 
33
- For 32-bit environment, download `groonga-2.0.7-x86.zip
34
- <http://packages.groonga.org/windows/groonga/groonga-2.0.7-x86.zip>`_
33
+ For 32-bit environment, download `groonga-2.0.9-x86.zip
34
+ <http://packages.groonga.org/windows/groonga/groonga-2.0.9-x86.zip>`_
35
35
  and extract it.
36
36
 
37
- For 64-bit environment, download `groonga-2.0.7-x64.zip
38
- <http://packages.groonga.org/windows/groonga/groonga-2.0.7-x64.zip>`_
37
+ For 64-bit environment, download `groonga-2.0.9-x64.zip
38
+ <http://packages.groonga.org/windows/groonga/groonga-2.0.9-x64.zip>`_
39
39
  and extract it.
40
40
 
41
41
  :doc:`/reference/executables/groonga` is in ``bin`` folder.
@@ -50,28 +50,38 @@ Windows. Here are required tools:
50
50
  <http://www.microsoft.com/japan/msdn/vstudio/express/>`_
51
51
  * `CMake <http://www.cmake.org/>`_
52
52
 
53
- Download zipped source `groonga-2.0.7.zip
54
- <http://packages.groonga.org/source/groonga/groonga-2.0.7.zip>`_
53
+ Download zipped source `groonga-2.0.9.zip
54
+ <http://packages.groonga.org/source/groonga/groonga-2.0.9.zip>`_
55
55
  and extract it.
56
56
 
57
57
  Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
58
58
  Visual Studio 2010 Express and move to the groonga's source folder::
59
59
 
60
- > cd c:\Users\%USERNAME%\Downloads\groonga-2.0.7
60
+ > cd c:\Users\%USERNAME%\Downloads\groonga-2.0.9
61
61
 
62
62
  Configure by ``cmake``. The following commnad line is for 64-bit
63
63
  version. To build 32-bit version, use ``-G "Visual Studio 10"``
64
64
  parameter instead::
65
65
 
66
- groonga-2.0.7> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
66
+ groonga-2.0.9> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
67
67
 
68
- Build by Visual Studio::
68
+ Build by Visual C++ 2010 Express::
69
69
 
70
- groonga-2.0.7> devenv groonga.sln /Build Release
70
+ groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release
71
71
 
72
- Install::
72
+ Install by Visual C++ 2010 Express::
73
73
 
74
- groonga-2.0.7> devenv groonga.sln /Build Release /Project Install
74
+ groonga-2.0.9> msbuild groonga.sln /p:Configuration=Release /t:Install
75
+
76
+ If you installed Visual Studio 2010, use can use devenv instead.
77
+
78
+ Build by Visual Studio 2010::
79
+
80
+ groonga-2.0.9> devenv groonga.sln /Build Release
81
+
82
+ Install by Visual Studio 2010::
83
+
84
+ groonga-2.0.9> devenv groonga.sln /Build Release /Project Install
75
85
 
76
86
  After the above steps, :doc:`/reference/executables/groonga` is found in
77
87
  ``c:\groonga\bin\groonga.exe``.
@@ -7,13 +7,23 @@ Limitations
7
7
 
8
8
  Groonga has some limitations.
9
9
 
10
+ Limitations of table
11
+ --------------------
12
+
13
+ A table has the following limitations.
14
+
15
+ * The maximum one key size: 4096Bytes
16
+ * The maximum total size of keys: 4GBytes
17
+
18
+ Keep in mind that these limitations may vary depending on conditions.
19
+
10
20
  Limitations of indexing
11
21
  -----------------------
12
22
 
13
23
  A full-text index has the following limitations.
14
24
 
15
- * The maximum number of records: 268,435,455 (more than 26 million)
16
- * The maximum number of distinct terms: 268,435,455 (more than 26 million)
25
+ * The maximum number of records: 268,435,455 (more than 268 million)
26
+ * The maximum number of distinct terms: 268,435,455 (more than 268 million)
17
27
  * The maximum index size: 256GBytes
18
28
 
19
29
  Keep in mind that these limitations may vary depending on conditions.
@@ -5,7 +5,102 @@
5
5
  News
6
6
  ====
7
7
 
8
- .. _release-2-0-7:
8
+ .. _release-2-0-9:
9
+
10
+ Release 2.0.9 - 2012/11/29
11
+ --------------------------
12
+
13
+ Improvements
14
+ ^^^^^^^^^^^^
15
+
16
+ * Supported to calculate the value of distance accross border
17
+ in ``geo_distance`` with ``rectangle`` as approximate type. [#1534]
18
+ * [doc] Added the :doc:`/spec/gqtp` specification.
19
+ * Improved to ignore non critical ``getaddrinfo()`` error which groonga command emits on startup.
20
+ This change does not affects nomal use of groonga because it just checked whether default hostname
21
+ is resolved in previous version.
22
+ * [experimental] Added ``snippet_html()`` function which extract keyword and surrounding text.
23
+ See :doc:`/reference/functions/snippet_html` about details.
24
+ * Supported to report error reason when error occured during reading table record.
25
+ * Supported to search with keyword by nested index notation ( concatinate multiple
26
+ indexed column name with dot character ) if there is a relationship between
27
+ multiple table with index.
28
+ * Supported to log "[tokenizer][mecab]" tag when using ``TokenMecab`` tokenizer.
29
+ * Supported to log "[tokenizer][kytea]" tag when using ``TokenKyTea`` tokenizer.
30
+ * Improved to use separated array for command error location as output results.
31
+ This change is incompatibility change, but does not affects existing program.
32
+ * Added documentation for :doc:`/reference/command/output_format`.
33
+ * Added documentation for :doc:`/reference/command/return_code` of output results.
34
+ * Supported range search by using index.
35
+
36
+ Fixes
37
+ ^^^^^
38
+
39
+ * Fixed to use network byte order for status code of :ref:`gqtp-header-spec` to follow
40
+ the normal network protocol convention.
41
+ This change affects that groonga <= 2.0.8 client which connects to groonga server 2.0.9
42
+ or later can not show status code properly when command failed.
43
+ * Fixed a bug that UTF-8 normalization computes wrong offset which affects to return value
44
+ of ``snippet_html()``. This change not to insert tag of snippet into invalid location.
45
+ [#1531] [Reported by Tomoatsu Shimada]
46
+ * [windows] Fixed over allocated memory access which cause segmentation fault
47
+ on startup by groonga command. [#1532] [Patch by Akio Tajima]
48
+ * [windows] Fixed a bug that data stored in column couldn't be read when total amount of data
49
+ stored in column exceeds 128MB. [groonga-dev,01088] [Reported by ongaeshi]
50
+ * Fixed a bug that searching with indexed column for ``Int*`` and ``UInt*``
51
+ except ``Int32/Uint32`` returns invalid results.
52
+ * Fixed a bug that deleting record can be found.
53
+ * Fixed a bug that latin1 and koi8r normalizations could not process all string data
54
+ if given string contains NULL character on the way.
55
+ * Fixed to return the correct default value of type when no data stored in column is
56
+ referenced by ``select`` command.
57
+ * Fixed to exclude the value of vector column metadata in :ref:`offline-index-construction`.
58
+ This change not to contain such a metadata as search results.
59
+
60
+ Thanks
61
+ ^^^^^^
62
+
63
+ * Tomoatsu Shimada
64
+ * Akio Tajima
65
+ * ongaeshi
66
+
67
+
68
+ .. _release-2-0-8:
69
+
70
+ Release 2.0.8 - 2012/10/29
71
+ --------------------------
72
+
73
+ Improvements
74
+ ^^^^^^^^^^^^
75
+
76
+ * [rpm] Improved the description of server-http and httpd packages.
77
+ [Suggested by Daiki Ueno]
78
+ * Supported custom query expansion by plugin.
79
+ * [experimental] Added query expander ``QueryExpanderTSV`` plugin.
80
+ * Supported Ubuntu 12.10 Quantal Quetzal
81
+ * [experimental] Supported function call in ``output_columns``.
82
+ * [doc][rpm] Add missing description about installing MeCab dictionary.
83
+ [Reported by serihiro]
84
+
85
+ Fixes
86
+ ^^^^^
87
+
88
+ * [rpm] Fixed to remove needless "Requires" from spec file.
89
+ [Reported by Daiki Ueno]
90
+ * [rpm] Fixed inaccurate description about license of groonga-server-gqtp.
91
+ * [admin] Fixed record edit button shows wrong record. [GitHub#34]
92
+ [Reported by firewood]
93
+ * [deb] Fixed to remove needless dependency to pcre.
94
+ * [deb] Fixed to bundle missing table plugin.
95
+
96
+ Thanks
97
+ ^^^^^^
98
+
99
+ * Daiki Ueno
100
+ * firewood
101
+ * serihiro
102
+
103
+ .. _release-2-0-7:
9
104
 
10
105
  Release 2.0.7 - 2012/09/29
11
106
  --------------------------
@@ -10,13 +10,13 @@
10
10
 
11
11
  reference/executables
12
12
  reference/output
13
- reference/command_version
14
- reference/commands
13
+ reference/command
15
14
  reference/type
16
15
  reference/tokenizers
16
+ reference/query_expanders
17
17
  reference/pseudo_column
18
18
  reference/grn_expr
19
- reference/functions
19
+ reference/function
20
20
  reference/indexing
21
21
  reference/log
22
22
  reference/api
@@ -0,0 +1,20 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Command
6
+ =======
7
+
8
+ Command is the most important processing unit in query API. You
9
+ request a processing to groonga by a command.
10
+
11
+ This section describes about command and built-in commands.
12
+
13
+ .. toctree::
14
+ :maxdepth: 1
15
+ :glob:
16
+
17
+ command/command_version
18
+ command/output_format
19
+ command/return_code
20
+ commands/*
@@ -0,0 +1,228 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Output format
6
+ =============
7
+
8
+ Summary
9
+ -------
10
+
11
+ Commands output their result as JSON, MessagePack, XML or TSV format.
12
+
13
+ JSON and MessagePack output have the same structure. XML and TSV are
14
+ their original structure.
15
+
16
+ JSON or MessagePack is recommend format. XML is useful for visual
17
+ result check. TSV is just for special use. Normally you doesn't need
18
+ to use TSV.
19
+
20
+ JSON and MessagePack
21
+ --------------------
22
+
23
+ This secsion describes the structure of command result on JSON and
24
+ MessagePack format. JSON is used to show structure because MessagePack
25
+ is binary format. Binary format isn't proper for documenataion.
26
+
27
+ JSON and MessagePack uses the following structure::
28
+
29
+ [HEADER, BODY]
30
+
31
+ For example::
32
+
33
+ [
34
+ [
35
+ 0,
36
+ 1337566253.89858,
37
+ 0.000355720520019531
38
+ ],
39
+ [
40
+ [
41
+ [
42
+ 1
43
+ ],
44
+ [
45
+ [
46
+ "_id",
47
+ "UInt32"
48
+ ],
49
+ [
50
+ "_key",
51
+ "ShortText"
52
+ ],
53
+ [
54
+ "content",
55
+ "Text"
56
+ ],
57
+ [
58
+ "n_likes",
59
+ "UInt32"
60
+ ]
61
+ ],
62
+ [
63
+ 2,
64
+ "Groonga",
65
+ "I started to use groonga. It's very fast!",
66
+ 10
67
+ ]
68
+ ]
69
+ ]
70
+ ]
71
+
72
+ In the example, the following part is ``HEADER``::
73
+
74
+ [
75
+ 0,
76
+ 1337566253.89858,
77
+ 0.000355720520019531
78
+ ]
79
+
80
+ The following part is ``BODY``::
81
+
82
+ [
83
+ [
84
+ [
85
+ 1
86
+ ],
87
+ [
88
+ [
89
+ "_id",
90
+ "UInt32"
91
+ ],
92
+ [
93
+ "_key",
94
+ "ShortText"
95
+ ],
96
+ [
97
+ "content",
98
+ "Text"
99
+ ],
100
+ [
101
+ "n_likes",
102
+ "UInt32"
103
+ ]
104
+ ],
105
+ [
106
+ 2,
107
+ "Groonga",
108
+ "I started to use groonga. It's very fast!",
109
+ 10
110
+ ]
111
+ ]
112
+ ]
113
+
114
+ ``HEADER``
115
+ ^^^^^^^^^^
116
+
117
+ ``HEADER`` is an array. The content of ``HEADER`` has some patterns.
118
+
119
+ Success case
120
+ ++++++++++++
121
+
122
+ ``HEADER`` has three elements on success::
123
+
124
+ [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME]
125
+
126
+ The first element is always ``0``.
127
+
128
+ ``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` is the number of seconds
129
+ since 1970-01-01 00:00:00 UTC when the command is started
130
+ processing. ``ELAPSED_TIME`` is the elapsed time for processing the
131
+ command in seconds. Both ``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` and
132
+ ``ELAPSED_TIME`` are float value. The precision of them are
133
+ nanosecond.
134
+
135
+ Error case
136
+ ++++++++++
137
+
138
+ ``HEADER`` has four or five elements on error::
139
+
140
+ [
141
+ RETURN_CODE,
142
+ UNIX_TIME_WHEN_COMMAND_IS_STARTED,
143
+ ELAPSED_TIME,
144
+ ERROR_MESSAGE,
145
+ ERROR_LOCATION
146
+ ]
147
+
148
+ ``ERROR_LOCATION`` may not be included in ``HEADER`` but other four
149
+ elements are always included.
150
+
151
+ ``RETURN_CODE`` is non 0 value. See :doc:`return_code` about available
152
+ return codes.
153
+
154
+ ``UNIX_TIME_WHEN_COMMAND_IS_STARTED`` and ``ELAPSED_TIME`` are the
155
+ same as success case.
156
+
157
+ ``ERROR_MESSAGE`` is an error message in string.
158
+
159
+ ``ERROR_LOCATION`` is optional. If error location is collected,
160
+ ``ERROR_LOCATION`` is included. ``ERROR_LOCATION`` is an
161
+ array. ``ERROR_LOCATION`` has one ore two elements::
162
+
163
+ [
164
+ LOCATION_IN_GROONGA,
165
+ LOCATION_IN_INPUT
166
+ ]
167
+
168
+ ``LOCATION_IN_GROONGA`` is the source location that error is occurred
169
+ in groonga. It is useful for groonga developers but not useful for
170
+ users. ``LOCATION_IN_GROONGA`` is an array. ``LOCATION_IN_GROONGA`` has
171
+ three elements::
172
+
173
+ [
174
+ FUNCTION_NAME,
175
+ SOURCE_FILE_NAME,
176
+ LINE_NUMBER
177
+ ]
178
+
179
+ ``FUNCTION_NAME`` is the name of function that error is occurred.
180
+
181
+ ``SOURCE_FILE_NAME`` is the name of groonga's source file that error is
182
+ occurred.
183
+
184
+ ``LINE_NUMBER`` is the line number of ``SOURCE_FILE_NAME`` that error
185
+ is occurred.
186
+
187
+ ``LOCATION_IN_INPUT`` is optional. ``LOCATION_IN_INPUT`` is included
188
+ when the location that error is occurred in input file is
189
+ collected. Input file can be specified by ``--file`` command line
190
+ option for ``groonga`` command. ``LOCATION_IN_GROONGA`` is an
191
+ array. ``LOCATION_IN_GROONGA`` has three elements::
192
+
193
+ [
194
+ INPUT_FILE_NAME,
195
+ LINE_NUMBER,
196
+ LINE_CONTENT
197
+ ]
198
+
199
+ ``INPUT_FILE_NAME`` is the input file name that error is occurred.
200
+
201
+ ``LINE_NUMBER`` is the line number of ``INPUT_FILE_NAME`` that error
202
+ is occurred.
203
+
204
+ ``LINE_CONTENT`` is the content at ``LINE_NUMBER`` in
205
+ ``INPUT_FILE_NAME``.
206
+
207
+ ``BODY``
208
+ ^^^^^^^^
209
+
210
+ ``BODY`` content depends on the executed command. It may be omitted.
211
+
212
+ ``BODY`` may be an error message on error case.
213
+
214
+ XML
215
+ ---
216
+
217
+ TODO
218
+
219
+ TSV
220
+ ---
221
+
222
+ TODO
223
+
224
+ See also
225
+ --------
226
+
227
+ * :doc:`return_code` describes about return code.
228
+