rroonga 2.1.3-x86-mingw32 → 3.0.0-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 (429) hide show
  1. data/bin/grndump +1 -1
  2. data/doc/text/news.textile +22 -4
  3. data/ext/groonga/rb-grn-accessor.c +1 -1
  4. data/ext/groonga/rb-grn-array-cursor.c +1 -1
  5. data/ext/groonga/rb-grn-array.c +218 -2
  6. data/ext/groonga/rb-grn-column.c +1 -1
  7. data/ext/groonga/rb-grn-context.c +1 -1
  8. data/ext/groonga/rb-grn-database.c +1 -1
  9. data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
  10. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  11. data/ext/groonga/rb-grn-encoding-support.c +1 -1
  12. data/ext/groonga/rb-grn-encoding.c +1 -1
  13. data/ext/groonga/rb-grn-exception.c +1 -1
  14. data/ext/groonga/rb-grn-expression-builder.c +1 -1
  15. data/ext/groonga/rb-grn-expression.c +1 -1
  16. data/ext/groonga/rb-grn-fix-size-column.c +1 -1
  17. data/ext/groonga/rb-grn-geo-point.c +1 -1
  18. data/ext/groonga/rb-grn-hash-cursor.c +1 -1
  19. data/ext/groonga/rb-grn-hash.c +1 -1
  20. data/ext/groonga/rb-grn-index-column.c +1 -1
  21. data/ext/groonga/rb-grn-index-cursor.c +1 -1
  22. data/ext/groonga/rb-grn-logger.c +1 -1
  23. data/ext/groonga/rb-grn-normalizer.c +1 -1
  24. data/ext/groonga/rb-grn-object.c +7 -7
  25. data/ext/groonga/rb-grn-operator.c +1 -1
  26. data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
  27. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  28. data/ext/groonga/rb-grn-plugin.c +1 -1
  29. data/ext/groonga/rb-grn-posting.c +1 -1
  30. data/ext/groonga/rb-grn-procedure.c +1 -1
  31. data/ext/groonga/rb-grn-record.c +1 -1
  32. data/ext/groonga/rb-grn-snippet.c +1 -1
  33. data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
  34. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  35. data/ext/groonga/rb-grn-table-key-support.c +1 -1
  36. data/ext/groonga/rb-grn-table.c +1 -1
  37. data/ext/groonga/rb-grn-type.c +1 -1
  38. data/ext/groonga/rb-grn-utils.c +1 -1
  39. data/ext/groonga/rb-grn-variable-size-column.c +1 -1
  40. data/ext/groonga/rb-grn-variable.c +1 -1
  41. data/ext/groonga/rb-grn.h +4 -4
  42. data/ext/groonga/rb-groonga.c +1 -1
  43. data/lib/1.9/groonga.so +0 -0
  44. data/lib/2.0/groonga.so +0 -0
  45. data/lib/groonga/context.rb +93 -13
  46. data/rroonga-build.rb +2 -2
  47. data/test/groonga-test-utils.rb +2 -1
  48. data/test/test-array.rb +86 -2
  49. data/test/test-context.rb +22 -2
  50. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  51. data/vendor/local/bin/groonga.exe +0 -0
  52. data/vendor/local/bin/libgroonga-0.dll +0 -0
  53. data/vendor/local/bin/libmecab-1.dll +0 -0
  54. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  55. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  56. data/vendor/local/bin/mecab.exe +0 -0
  57. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
  58. data/vendor/local/include/groonga/groonga.h +16 -8
  59. data/vendor/local/include/groonga/groonga/nfkc.h +32 -0
  60. data/vendor/local/include/groonga/groonga/plugin.h +39 -21
  61. data/vendor/local/include/groonga/groonga/tokenizer.h +4 -0
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  67. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  70. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  74. data/vendor/local/lib/libgroonga.a +0 -0
  75. data/vendor/local/lib/libgroonga.dll.a +0 -0
  76. data/vendor/local/lib/libmecab.a +0 -0
  77. data/vendor/local/lib/libmecab.dll.a +0 -0
  78. data/vendor/local/lib/libmsgpack.a +0 -0
  79. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  80. data/vendor/local/lib/libmsgpackc.a +0 -0
  81. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  82. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  83. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  84. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  85. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  86. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  87. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  88. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  89. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -0
  90. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +9 -0
  91. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +12 -0
  92. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +20 -4
  93. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +28 -4
  94. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +12 -4
  95. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +8 -4
  96. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  98. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +36 -4
  99. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
  100. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +112 -0
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +2 -2
  102. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +2 -2
  103. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +2 -2
  104. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
  106. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +79 -0
  107. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +2 -2
  108. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +2 -2
  109. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +51 -51
  111. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +2 -2
  112. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +2 -2
  113. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +2 -2
  114. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +85 -0
  115. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +98 -89
  116. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +2 -2
  118. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +73 -0
  119. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +124 -0
  120. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +24 -0
  121. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/contribution.html +58 -57
  125. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -16
  126. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +18 -18
  127. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +25 -25
  128. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
  129. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +104 -95
  130. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +138 -0
  131. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
  132. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
  133. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/index.html +36 -30
  141. data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
  142. data/vendor/local/share/doc/groonga/en/html/install/centos.html +23 -9
  143. data/vendor/local/share/doc/groonga/en/html/install/debian.html +30 -9
  144. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +16 -9
  145. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -13
  146. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  147. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  148. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +37 -9
  149. data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
  150. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/news.html +251 -120
  152. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  158. data/vendor/local/share/doc/groonga/en/html/reference.html +28 -23
  159. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/command.html +25 -22
  163. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -9
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +71 -87
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +8 -9
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +13 -14
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +321 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +35 -36
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -33
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -33
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +27 -27
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +70 -69
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -35
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -35
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +37 -38
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +218 -0
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +294 -288
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +38 -41
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +33 -34
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +268 -0
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
  198. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +11 -9
  202. data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -10
  211. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +292 -0
  212. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -10
  216. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +32 -7
  218. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -10
  225. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  227. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -9
  256. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -0
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +9 -0
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +12 -0
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +20 -4
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +28 -4
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +12 -4
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +8 -4
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +36 -4
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +112 -0
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +2 -2
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +2 -2
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +2 -2
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +79 -0
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +2 -2
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +2 -2
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +2 -2
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +51 -51
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +2 -2
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +2 -2
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +2 -2
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +85 -0
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +98 -89
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +2 -2
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +73 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +124 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +24 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/contribution.html +58 -57
  294. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -16
  295. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +18 -18
  296. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +25 -25
  297. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +61 -61
  298. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +104 -95
  299. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +139 -0
  300. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +37 -37
  301. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -9
  302. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/index.html +36 -30
  310. data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
  311. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +19 -9
  312. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +24 -9
  313. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -9
  314. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -13
  315. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  316. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  317. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -9
  318. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
  319. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/news.html +225 -124
  321. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
  325. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  327. data/vendor/local/share/doc/groonga/ja/html/reference.html +28 -23
  328. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +25 -22
  332. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +8 -9
  336. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +71 -87
  337. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +8 -9
  338. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +8 -9
  339. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +13 -14
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +321 -0
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +35 -36
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -33
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -33
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +27 -27
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +56 -61
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -35
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -35
  349. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +37 -38
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +213 -0
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +235 -229
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -41
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +33 -34
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +268 -0
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +11 -9
  371. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +10 -10
  380. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +291 -0
  381. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
  382. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -10
  385. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +30 -7
  387. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  394. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  396. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +9 -9
  400. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
  416. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
  425. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  426. data/vendor/local/share/man/ja/man1/groonga.1 +1231 -420
  427. data/vendor/local/share/man/man1/groonga.1 +1370 -521
  428. metadata +1025 -998
  429. data/lib/1.8/groonga.so +0 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -2,7 +2,7 @@ worker_processes 1;
2
2
 
3
3
  # Match this to the file owner of groonga database files if groonga-httpd is
4
4
  # run as root.
5
- #user groonga groonga;
5
+ user groonga groonga;
6
6
 
7
7
  events {
8
8
  worker_connections 1024;
@@ -2607,14 +2607,14 @@ GRN_API grn_rc grn_str_close(grn_ctx *ctx, grn_str *nstr);
2607
2607
  #define GRN_CHAR_TYPE(c) ((c) & 0x7f)
2608
2608
 
2609
2609
  typedef enum {
2610
- grn_char_null = 0,
2611
- grn_char_alpha,
2612
- grn_char_digit,
2613
- grn_char_symbol,
2614
- grn_char_hiragana,
2615
- grn_char_katakana,
2616
- grn_char_kanji,
2617
- grn_char_others
2610
+ GRN_CHAR_NULL = 0,
2611
+ GRN_CHAR_ALPHA,
2612
+ GRN_CHAR_DIGIT,
2613
+ GRN_CHAR_SYMBOL,
2614
+ GRN_CHAR_HIRAGANA,
2615
+ GRN_CHAR_KATAKANA,
2616
+ GRN_CHAR_KANJI,
2617
+ GRN_CHAR_OTHERS
2618
2618
  } grn_char_type;
2619
2619
 
2620
2620
  GRN_API grn_obj *grn_string_open(grn_ctx *ctx,
@@ -2828,6 +2828,14 @@ GRN_API grn_array *grn_array_create(grn_ctx *ctx, const char *path,
2828
2828
  GRN_API grn_array *grn_array_open(grn_ctx *ctx, const char *path);
2829
2829
  GRN_API grn_rc grn_array_close(grn_ctx *ctx, grn_array *array);
2830
2830
  GRN_API grn_id grn_array_add(grn_ctx *ctx, grn_array *array, void **value);
2831
+ GRN_API grn_id grn_array_push(grn_ctx *ctx, grn_array *array,
2832
+ void (*func)(grn_ctx *ctx, grn_array *array,
2833
+ grn_id id, void *func_arg),
2834
+ void *func_arg);
2835
+ GRN_API grn_id grn_array_pull(grn_ctx *ctx, grn_array *array, grn_bool blockp,
2836
+ void (*func)(grn_ctx *ctx, grn_array *array,
2837
+ grn_id id, void *func_arg),
2838
+ void *func_arg);
2831
2839
  GRN_API int grn_array_get_value(grn_ctx *ctx, grn_array *array, grn_id id, void *valuebuf);
2832
2840
  GRN_API grn_rc grn_array_set_value(grn_ctx *ctx, grn_array *array, grn_id id,
2833
2841
  const void *value, int flags);
@@ -0,0 +1,32 @@
1
+ /* -*- c-basic-offset: 2 -*- */
2
+ /* Copyright(C) 2009 Brazil
3
+
4
+ This library is free software; you can redistribute it and/or
5
+ modify it under the terms of the GNU Lesser General Public
6
+ License version 2.1 as published by the Free Software Foundation.
7
+
8
+ This library is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ Lesser General Public License for more details.
12
+
13
+ You should have received a copy of the GNU Lesser General Public
14
+ License along with this library; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+ */
17
+ #ifndef GRN_NFKC_H
18
+ #define GRN_NFKC_H
19
+
20
+ #include <groonga.h>
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+ GRN_API grn_char_type grn_nfkc_char_type(const unsigned char *str);
27
+
28
+ #ifdef __cplusplus
29
+ }
30
+ #endif
31
+
32
+ #endif /* GRN_NFKC_H */
@@ -44,12 +44,12 @@ GRN_PLUGIN_EXPORT grn_rc GRN_PLUGIN_FIN(grn_ctx *ctx);
44
44
  Don't call these functions directly. Use GRN_PLUGIN_MALLOC(),
45
45
  GRN_PLUGIN_REALLOC() and GRN_PLUGIN_FREE() instead.
46
46
  */
47
- GRN_PLUGIN_EXPORT void *grn_plugin_malloc(grn_ctx *ctx, size_t size, const char *file,
48
- int line, const char *func);
49
- void *grn_plugin_realloc(grn_ctx *ctx, void *ptr, size_t size,
50
- const char *file, int line, const char *func);
51
- GRN_PLUGIN_EXPORT void grn_plugin_free(grn_ctx *ctx, void *ptr, const char *file,
52
- int line, const char *func);
47
+ GRN_API void *grn_plugin_malloc(grn_ctx *ctx, size_t size, const char *file,
48
+ int line, const char *func);
49
+ GRN_API void *grn_plugin_realloc(grn_ctx *ctx, void *ptr, size_t size,
50
+ const char *file, int line, const char *func);
51
+ GRN_API void grn_plugin_free(grn_ctx *ctx, void *ptr, const char *file,
52
+ int line, const char *func);
53
53
 
54
54
  /*
55
55
  GRN_PLUGIN_MALLOC() allocates `size' bytes and returns a pointer to the
@@ -86,17 +86,17 @@ GRN_PLUGIN_EXPORT void grn_plugin_free(grn_ctx *ctx, void *ptr, const char *file
86
86
  Don't call grn_plugin_set_error() directly. This function is used in
87
87
  GRN_PLUGIN_SET_ERROR().
88
88
  */
89
- GRN_PLUGIN_EXPORT void grn_plugin_set_error(grn_ctx *ctx, grn_log_level level,
90
- grn_rc error_code,
91
- const char *file, int line, const char *func,
92
- const char *format, ...) GRN_ATTRIBUTE_PRINTF(7);
89
+ GRN_API void grn_plugin_set_error(grn_ctx *ctx, grn_log_level level,
90
+ grn_rc error_code,
91
+ const char *file, int line, const char *func,
92
+ const char *format, ...) GRN_ATTRIBUTE_PRINTF(7);
93
93
 
94
94
  /*
95
95
  Don't call these functions directly. grn_plugin_backtrace() and
96
96
  grn_plugin_logtrace() are used in GRN_PLUGIN_SET_ERROR().
97
97
  */
98
- GRN_PLUGIN_EXPORT void grn_plugin_backtrace(grn_ctx *ctx);
99
- GRN_PLUGIN_EXPORT void grn_plugin_logtrace(grn_ctx *ctx, grn_log_level level);
98
+ GRN_API void grn_plugin_backtrace(grn_ctx *ctx);
99
+ GRN_API void grn_plugin_logtrace(grn_ctx *ctx, grn_log_level level);
100
100
 
101
101
  /*
102
102
  Don't use GRN_PLUGIN_SET_ERROR() directly. This macro is used in
@@ -131,44 +131,44 @@ typedef struct _grn_plugin_mutex grn_plugin_mutex;
131
131
  GRN_PLUGIN_MALLOC(). grn_plugin_mutex_open() returns NULL if sufficient
132
132
  memory is not available.
133
133
  */
134
- GRN_PLUGIN_EXPORT grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx);
134
+ GRN_API grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx);
135
135
 
136
136
  /*
137
137
  grn_plugin_mutex_create() is deprecated. Use grn_plugin_mutex_open()
138
138
  instead.
139
139
  */
140
- grn_plugin_mutex *grn_plugin_mutex_create(grn_ctx *ctx);
140
+ GRN_API grn_plugin_mutex *grn_plugin_mutex_create(grn_ctx *ctx);
141
141
 
142
142
  /*
143
143
  grn_plugin_mutex_close() finalizes an object of grn_plugin_mutex and then
144
144
  frees memory allocated for that object.
145
145
  */
146
- GRN_PLUGIN_EXPORT void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex);
146
+ GRN_API void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex);
147
147
 
148
148
  /*
149
149
  grn_plugin_mutex_destroy() is deprecated. Use grn_plugin_mutex_close()
150
150
  instead.
151
151
  */
152
- void grn_plugin_mutex_destroy(grn_ctx *ctx, grn_plugin_mutex *mutex);
152
+ GRN_API void grn_plugin_mutex_destroy(grn_ctx *ctx, grn_plugin_mutex *mutex);
153
153
 
154
154
  /*
155
155
  grn_plugin_mutex_lock() locks a mutex object. If the object is already
156
156
  locked, the calling thread waits until the object will be unlocked.
157
157
  */
158
- GRN_PLUGIN_EXPORT void grn_plugin_mutex_lock(grn_ctx *ctx, grn_plugin_mutex *mutex);
158
+ GRN_API void grn_plugin_mutex_lock(grn_ctx *ctx, grn_plugin_mutex *mutex);
159
159
 
160
160
  /*
161
161
  grn_plugin_mutex_unlock() unlocks a mutex object. grn_plugin_mutex_unlock()
162
162
  should not be called for an unlocked object.
163
163
  */
164
- GRN_PLUGIN_EXPORT void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
164
+ GRN_API void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
165
165
 
166
166
  /*
167
167
  grn_plugin_proc_alloc() allocates a `grn_obj` object.
168
168
  You can use it in function that is registered as GRN_PROC_FUNCTION.
169
169
  */
170
- GRN_PLUGIN_EXPORT grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
171
- grn_id domain, grn_obj_flags flags);
170
+ GRN_API grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
171
+ grn_id domain, grn_obj_flags flags);
172
172
 
173
173
  /*
174
174
  grn_plugin_win32_base_dir() returns the groonga install directory.
@@ -178,7 +178,25 @@ GRN_PLUGIN_EXPORT grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *us
178
178
 
179
179
  It only works on Windows. It returns `NULL` on other platforms.
180
180
  */
181
- GRN_PLUGIN_EXPORT const char *grn_plugin_win32_base_dir(void);
181
+ GRN_API const char *grn_plugin_win32_base_dir(void);
182
+
183
+ /*
184
+ grn_plugin_charlen() returns the length (#bytes) of the first character
185
+ in the string specified by `str_ptr' and `str_length'. If the starting bytes
186
+ are invalid as a character, grn_plugin_charlen() returns 0. See
187
+ grn_encoding in "groonga.h" for more details of `encoding'
188
+ */
189
+ int grn_plugin_charlen(grn_ctx *ctx, const char *str_ptr,
190
+ unsigned int str_length, grn_encoding encoding);
191
+
192
+ /*
193
+ grn_plugin_isspace() returns the length (#bytes) of the first character
194
+ in the string specified by `str_ptr' and `str_length' if it is a space
195
+ character. Otherwise, grn_plugin_isspace() returns 0.
196
+ */
197
+ int grn_plugin_isspace(grn_ctx *ctx, const char *str_ptr,
198
+ unsigned int str_length, grn_encoding encoding);
199
+
182
200
 
183
201
 
184
202
  #ifdef __cplusplus
@@ -34,6 +34,8 @@ extern "C" {
34
34
  in the string specified by `str_ptr' and `str_length'. If the starting bytes
35
35
  are invalid as a character, grn_tokenizer_charlen() returns 0. See
36
36
  grn_encoding in "groonga.h" for more details of `encoding'
37
+
38
+ Deprecated. Use grn_plugin_charlen() instead.
37
39
  */
38
40
  int grn_tokenizer_charlen(grn_ctx *ctx, const char *str_ptr,
39
41
  unsigned int str_length, grn_encoding encoding);
@@ -42,6 +44,8 @@ int grn_tokenizer_charlen(grn_ctx *ctx, const char *str_ptr,
42
44
  grn_tokenizer_isspace() returns the length (#bytes) of the first character
43
45
  in the string specified by `str_ptr' and `str_length' if it is a space
44
46
  character. Otherwise, grn_tokenizer_isspace() returns 0.
47
+
48
+ Deprecated. Use grn_plugin_isspace() instead.
45
49
  */
46
50
  int grn_tokenizer_isspace(grn_ctx *ctx, const char *str_ptr,
47
51
  unsigned int str_length, grn_encoding encoding);
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
11
11
  groonga=${bindir}/groonga.exe
12
12
  groonga_httpd=${sbindir}/groonga-httpd.exe
13
13
  groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
14
- groonga_version=2.1.2
14
+ groonga_version=3.0.2
15
15
 
16
16
  Name: Groonga
17
17
  Description: An Embeddable Fulltext Search Engine
18
- Version: 2.1.2
18
+ Version: 3.0.2
19
19
  Libs: -L${libdir} -lgroonga
20
20
  Cflags: -I${includedir}/groonga
@@ -1,4 +1,4 @@
1
1
  # Sphinx build info version 1
2
2
  # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3
- config: 3e5324051b8cf37a146d8f25819d4046
3
+ config: a519bdebb519bbc379ba7ea979ef4c84
4
4
  tags: a205e9ed8462ae86fdd2f73488852ba9
@@ -9,4 +9,5 @@ groonga開発者向け情報
9
9
  :maxdepth: 1
10
10
  :glob:
11
11
 
12
+ development/repository
12
13
  development/*
@@ -659,3 +659,12 @@ centosの場合、CENTOS_VERSIONSを指定することで特定のバージョ
659
659
  パッケージの署名に必要な秘密鍵のパスフレーズについては
660
660
  リリース担当者向けの秘密鍵を復号したテキストの1行目に記載してあります。
661
661
 
662
+
663
+ バージョンを明示的に指定してドキュメントを生成したい
664
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
665
+
666
+ リリース後にドキュメントの一部を差し替えたい場合、特に何も指定しないと生成したHTMLに埋め込まれるバージョンが「v3.0.1-xxxxxドキュメント」となってしまうことがあります。gitでのコミット時ハッシュの一部が使われるためです。
667
+
668
+ これを回避するには、以下のようにDOCUMENT_VERSIONやDOCUMENT_VERSION_FULLを明示的に指定します。::
669
+
670
+ % make update-document DOCUMENT_VERSION=3.0.1 DOCUMENT_VERSION_FULL=3.0.1
@@ -0,0 +1,12 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Repository
6
+ ==========
7
+
8
+ There is `the repository of groonga on GitHub <https://github.com/groonga/groonga>`_. If you want to check-out groonga, type the below command::
9
+
10
+ % git clone git://github.com/groonga/groonga.git
11
+
12
+ There is `the list of related projects of groonga <https://github.com/groonga>`_ (grntest, fluent-plugin-groonga and so on).
@@ -74,6 +74,14 @@ Install groonga-munin-plugins package::
74
74
 
75
75
  % sudo yum install -y groonga-munin-plugins
76
76
 
77
+ There is a package that provides MySQL compatible normalizer as
78
+ groonga plugins.
79
+ If you want to use that one, install groonga-normalizer-mysql package.
80
+
81
+ Install groonga-normalizer-mysql package::
82
+
83
+ % sudo yum install -y install groonga-normalizer-mysql
84
+
77
85
  CentOS 6
78
86
  --------
79
87
 
@@ -128,6 +136,14 @@ Install groonga-munin-plugins package::
128
136
 
129
137
  % sudo yum install -y groonga-munin-plugins
130
138
 
139
+ There is a package that provides MySQL compatible normalizer as
140
+ groonga plugins.
141
+ If you want to use that one, install groonga-normalizer-mysql package.
142
+
143
+ Install groonga-normalizer-mysql package::
144
+
145
+ % sudo yum install -y install groonga-normalizer-mysql
146
+
131
147
  Build from source
132
148
  -----------------
133
149
 
@@ -137,9 +153,9 @@ Install required packages to build groonga::
137
153
 
138
154
  Download source::
139
155
 
140
- % wget http://packages.groonga.org/source/groonga/groonga-2.1.2.tar.gz
141
- % tar xvzf groonga-2.1.2.tar.gz
142
- % cd groonga-2.1.2
156
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
157
+ % tar xvzf groonga-3.0.2.tar.gz
158
+ % cd groonga-3.0.2
143
159
 
144
160
  Configure (see :ref:`source-configure` about ``configure`` options)::
145
161
 
@@ -151,4 +167,4 @@ Build::
151
167
 
152
168
  Install::
153
169
 
154
- % sudo make intall
170
+ % sudo make install
@@ -48,6 +48,14 @@ Install groonga-munin-plugins package::
48
48
 
49
49
  % sudo aptitude -V -D -y install groonga-munin-plugins
50
50
 
51
+ There is a package that provides MySQL compatible normalizer as
52
+ groonga plugins.
53
+ If you want to use that one, install groonga-normalizer-mysql package.
54
+
55
+ Install groonga-normalizer-mysql package::
56
+
57
+ % sudo aptitude -V -D -y install groonga-normalizer-mysql
58
+
51
59
  wheezy
52
60
  ------
53
61
 
@@ -80,6 +88,14 @@ Install groonga-munin-plugins package::
80
88
 
81
89
  % sudo aptitude -V -D -y install groonga-munin-plugins
82
90
 
91
+ There is a package that provides MySQL compatible normalizer as
92
+ groonga plugins.
93
+ If you want to use that one, install groonga-normalizer-mysql package.
94
+
95
+ Install groonga-normalizer-mysql package::
96
+
97
+ % sudo aptitude -V -D -y install groonga-normalizer-mysql
98
+
83
99
  sid
84
100
  ---
85
101
 
@@ -112,6 +128,14 @@ Install groonga-munin-plugins package::
112
128
 
113
129
  % sudo aptitude -V -D -y install groonga-munin-plugins
114
130
 
131
+ There is a package that provides MySQL compatible normalizer as
132
+ groonga plugins.
133
+ If you want to use that one, install groonga-normalizer-mysql package.
134
+
135
+ Install groonga-normalizer-mysql package::
136
+
137
+ % sudo aptitude -V -D -y install groonga-normalizer-mysql
138
+
115
139
  Build from source
116
140
  -----------------
117
141
 
@@ -121,9 +145,9 @@ Install required packages to build groonga::
121
145
 
122
146
  Download source::
123
147
 
124
- % wget http://packages.groonga.org/source/groonga/groonga-2.1.2.tar.gz
125
- % tar xvzf groonga-2.1.2.tar.gz
126
- % cd groonga-2.1.2
148
+ % wget http://packages.groonga.org/source/groonga/groonga-3.0.2.tar.gz
149
+ % tar xvzf groonga-3.0.2.tar.gz
150
+ % cd groonga-3.0.2
127
151
 
128
152
  Configure (see :ref:`source-configure` about ``configure`` options)::
129
153
 
@@ -135,4 +159,4 @@ Build::
135
159
 
136
160
  Install::
137
161
 
138
- % sudo make intall
162
+ % sudo make install