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
@@ -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
+
@@ -0,0 +1,110 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Return code
6
+ ===========
7
+
8
+ Summary
9
+ -------
10
+
11
+ Return code is used to show whether a processing is succeeded or
12
+ not. If the processing is not succeeded, return code shows error type.
13
+
14
+ Return code is used in C API and query API. You can check return code
15
+ via ``grn_ctx_t::rc`` in C API. You can check return code by looking
16
+ the header element in query API. See :doc:`output_format` about the
17
+ header element in query API.
18
+
19
+ List
20
+ ----
21
+
22
+ Here is a list of return codes. ``GRN_SUCCESS`` (= 0) means that the
23
+ processing is succeeded. Return codes that have negative value show
24
+ error type. ``GRN_END_OF_DATA`` is a special return code. It is used
25
+ only C API. It is not showen in query API.
26
+
27
+ * 0: ``GRN_SUCCESS``
28
+ * 1: ``GRN_END_OF_DATA``
29
+ * -1: ``GRN_UNKNOWN_ERROR``
30
+ * -2: ``GRN_OPERATION_NOT_PERMITTED``
31
+ * -3: ``GRN_NO_SUCH_FILE_OR_DIRECTORY``
32
+ * -4: ``GRN_NO_SUCH_PROCESS``
33
+ * -5: ``GRN_INTERRUPTED_FUNCTION_CALL``
34
+ * -6: ``GRN_INPUT_OUTPUT_ERROR``
35
+ * -7: ``GRN_NO_SUCH_DEVICE_OR_ADDRESS``
36
+ * -8: ``GRN_ARG_LIST_TOO_LONG``
37
+ * -9: ``GRN_EXEC_FORMAT_ERROR``
38
+ * -10: ``GRN_BAD_FILE_DESCRIPTOR``
39
+ * -11: ``GRN_NO_CHILD_PROCESSES``
40
+ * -12: ``GRN_RESOURCE_TEMPORARILY_UNAVAILABLE``
41
+ * -13: ``GRN_NOT_ENOUGH_SPACE``
42
+ * -14: ``GRN_PERMISSION_DENIED``
43
+ * -15: ``GRN_BAD_ADDRESS``
44
+ * -16: ``GRN_RESOURCE_BUSY``
45
+ * -17: ``GRN_FILE_EXISTS``
46
+ * -18: ``GRN_IMPROPER_LINK``
47
+ * -19: ``GRN_NO_SUCH_DEVICE``
48
+ * -20: ``GRN_NOT_A_DIRECTORY``
49
+ * -21: ``GRN_IS_A_DIRECTORY``
50
+ * -22: ``GRN_INVALID_ARGUMENT``
51
+ * -23: ``GRN_TOO_MANY_OPEN_FILES_IN_SYSTEM``
52
+ * -24: ``GRN_TOO_MANY_OPEN_FILES``
53
+ * -25: ``GRN_INAPPROPRIATE_I_O_CONTROL_OPERATION``
54
+ * -26: ``GRN_FILE_TOO_LARGE``
55
+ * -27: ``GRN_NO_SPACE_LEFT_ON_DEVICE``
56
+ * -28: ``GRN_INVALID_SEEK``
57
+ * -29: ``GRN_READ_ONLY_FILE_SYSTEM``
58
+ * -30: ``GRN_TOO_MANY_LINKS``
59
+ * -31: ``GRN_BROKEN_PIPE``
60
+ * -32: ``GRN_DOMAIN_ERROR``
61
+ * -33: ``GRN_RESULT_TOO_LARGE``
62
+ * -34: ``GRN_RESOURCE_DEADLOCK_AVOIDED``
63
+ * -35: ``GRN_NO_MEMORY_AVAILABLE``
64
+ * -36: ``GRN_FILENAME_TOO_LONG``
65
+ * -37: ``GRN_NO_LOCKS_AVAILABLE``
66
+ * -38: ``GRN_FUNCTION_NOT_IMPLEMENTED``
67
+ * -39: ``GRN_DIRECTORY_NOT_EMPTY``
68
+ * -40: ``GRN_ILLEGAL_BYTE_SEQUENCE``
69
+ * -41: ``GRN_SOCKET_NOT_INITIALIZED``
70
+ * -42: ``GRN_OPERATION_WOULD_BLOCK``
71
+ * -43: ``GRN_ADDRESS_IS_NOT_AVAILABLE``
72
+ * -44: ``GRN_NETWORK_IS_DOWN``
73
+ * -45: ``GRN_NO_BUFFER``
74
+ * -46: ``GRN_SOCKET_IS_ALREADY_CONNECTED``
75
+ * -47: ``GRN_SOCKET_IS_NOT_CONNECTED``
76
+ * -48: ``GRN_SOCKET_IS_ALREADY_SHUTDOWNED``
77
+ * -49: ``GRN_OPERATION_TIMEOUT``
78
+ * -50: ``GRN_CONNECTION_REFUSED``
79
+ * -51: ``GRN_RANGE_ERROR``
80
+ * -52: ``GRN_TOKENIZER_ERROR``
81
+ * -53: ``GRN_FILE_CORRUPT``
82
+ * -54: ``GRN_INVALID_FORMAT``
83
+ * -55: ``GRN_OBJECT_CORRUPT``
84
+ * -56: ``GRN_TOO_MANY_SYMBOLIC_LINKS``
85
+ * -57: ``GRN_NOT_SOCKET``
86
+ * -58: ``GRN_OPERATION_NOT_SUPPORTED``
87
+ * -59: ``GRN_ADDRESS_IS_IN_USE``
88
+ * -60: ``GRN_ZLIB_ERROR``
89
+ * -61: ``GRN_LZO_ERROR``
90
+ * -62: ``GRN_STACK_OVER_FLOW``
91
+ * -63: ``GRN_SYNTAX_ERROR``
92
+ * -64: ``GRN_RETRY_MAX``
93
+ * -65: ``GRN_INCOMPATIBLE_FILE_FORMAT``
94
+ * -66: ``GRN_UPDATE_NOT_ALLOWED``
95
+ * -67: ``GRN_TOO_SMALL_OFFSET``
96
+ * -68: ``GRN_TOO_LARGE_OFFSET``
97
+ * -69: ``GRN_TOO_SMALL_LIMIT``
98
+ * -70: ``GRN_CAS_ERROR``
99
+ * -71: ``GRN_UNSUPPORTED_COMMAND_VERSION``
100
+
101
+ See also
102
+ --------
103
+
104
+ * :doc:`output_format` shows where return code is appeared in query
105
+ API response.
106
+ * :doc:`/spec/gqtp`: GQTP protocol also uses return code as status but
107
+ it uses 2byte unsigned integer. So return codes that have negative
108
+ value are statuses that have positive value in GQTP protocol. You
109
+ can convert status value in GQTP protocol to return code by
110
+ handling it as 2byte signed integer.
@@ -0,0 +1,59 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: commands_register
7
+
8
+ register
9
+ ========
10
+
11
+ Summary
12
+ -------
13
+
14
+ ``register`` command registers a plugin. You need to register a plugin
15
+ before you use a plugin.
16
+
17
+ You need just one ``register`` command for a plugin in the same
18
+ database because registered plugin information is written into the
19
+ database. When you restart your ``groonga`` process, ``groonga``
20
+ process loads all registered plugins without ``register`` command.
21
+
22
+ .. note::
23
+
24
+ Registered plugins can't be removed for now.
25
+
26
+ Syntax
27
+ ------
28
+
29
+ ``register`` has a parameter ``path``. It is required parameter::
30
+
31
+ register path
32
+
33
+ Usage
34
+ -----
35
+
36
+ Here is a sample that registers ``QueryExpanderTSV`` query expander
37
+ that is included in
38
+ ``${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so``.
39
+
40
+ .. groonga-command
41
+ .. include:: ../../example/reference/commands/register/query_expanders_tsv.log
42
+ .. register query_expanders/tsv
43
+
44
+ You can omit ``${PREFIX}/lib/groonga/plugins/`` and suffix (``.so``).
45
+ They are completed automatically.
46
+
47
+ You can specify absolute path such as ``register
48
+ /usr/lib/groonga/plugins/query_expanders/tsv.so``.
49
+
50
+ Return value
51
+ ------------
52
+
53
+ ``register`` returns ``true`` as body on success such as::
54
+
55
+ [HEADER, true]
56
+
57
+ If ``register`` fails, error details are in ``HEADER``.
58
+
59
+ See :doc:`/reference/command/output_format` for ``HEADER``.
@@ -442,6 +442,8 @@ storategy escalation is not used because the number of matched
442
442
  records (0) is larger than ``match_escalation_threshold`` (-1). So no
443
443
  more searches aren't executed. And no records are matched.
444
444
 
445
+ .. _query-expansion:
446
+
445
447
  ``query_expansion``
446
448
  """""""""""""""""""
447
449