rroonga 5.0.8-x86-mingw32 → 5.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +18 -6
  3. data/ext/groonga/rb-grn-conf.c +145 -0
  4. data/ext/groonga/rb-grn-expression.c +34 -0
  5. data/ext/groonga/rb-grn-table.c +113 -0
  6. data/ext/groonga/rb-grn-utils.c +5 -1
  7. data/ext/groonga/rb-grn.h +2 -1
  8. data/ext/groonga/rb-groonga.c +1 -0
  9. data/lib/2.0/groonga.so +0 -0
  10. data/lib/2.1/groonga.so +0 -0
  11. data/lib/2.2/groonga.so +0 -0
  12. data/lib/groonga/context.rb +9 -1
  13. data/lib/groonga/expression-builder.rb +0 -1
  14. data/rroonga-build.rb +3 -3
  15. data/test/test-conf.rb +31 -0
  16. data/test/test-table.rb +36 -0
  17. data/vendor/local/bin/grndb.exe +0 -0
  18. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  19. data/vendor/local/bin/groonga.exe +0 -0
  20. data/vendor/local/bin/libgroonga-0.dll +0 -0
  21. data/vendor/local/bin/libmecab-1.dll +0 -0
  22. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  23. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  24. data/vendor/local/bin/libonig-5.dll +0 -0
  25. data/vendor/local/bin/lz4.exe +0 -0
  26. data/vendor/local/bin/lz4c.exe +0 -0
  27. data/vendor/local/bin/lz4cat +0 -0
  28. data/vendor/local/bin/mecab.exe +0 -0
  29. data/vendor/local/bin/zlib1.dll +0 -0
  30. data/vendor/local/include/groonga/groonga.h +3 -0
  31. data/vendor/local/include/groonga/groonga/conf.h +42 -0
  32. data/vendor/local/include/groonga/groonga/expr.h +2 -1
  33. data/vendor/local/include/groonga/groonga/geo.h +39 -0
  34. data/vendor/local/include/groonga/groonga/groonga.h +7 -0
  35. data/vendor/local/include/groonga/groonga/obj.h +50 -0
  36. data/vendor/local/include/groonga/groonga/output.h +3 -1
  37. data/vendor/local/include/groonga/groonga/plugin.h +2 -0
  38. data/vendor/local/include/groonga/groonga/windows.h +34 -0
  39. data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +38 -0
  40. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  42. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  53. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  54. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  55. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  57. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  60. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  63. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  64. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +31 -3
  65. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriter.rb +22 -0
  66. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +31 -0
  67. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +1 -1
  68. data/vendor/local/lib/groonga/scripts/ruby/record.rb +26 -0
  69. data/vendor/local/lib/groonga/scripts/ruby/require.rb +6 -6
  70. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +5 -5
  71. data/vendor/local/lib/libgroonga.a +0 -0
  72. data/vendor/local/lib/libgroonga.dll.a +0 -0
  73. data/vendor/local/lib/liblz4.dll +0 -0
  74. data/vendor/local/lib/liblz4.dll.1 +0 -0
  75. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  76. data/vendor/local/lib/libmecab.dll.a +0 -0
  77. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  78. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  79. data/vendor/local/lib/libonig.a +0 -0
  80. data/vendor/local/lib/libonig.dll.a +0 -0
  81. data/vendor/local/lib/libz.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/sbin/groonga-httpd.exe +0 -0
  89. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  90. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  91. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  92. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  93. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  94. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  95. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  96. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  98. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +109 -0
  99. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +16 -5
  100. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +9 -9
  101. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +131 -0
  102. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/genindex.html +9 -5
  125. data/vendor/local/share/doc/groonga/en/html/index.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  128. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  129. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  130. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  131. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  132. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  133. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  134. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  135. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/news.html +156 -68
  137. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  147. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +25 -10
  174. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  262. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  263. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  264. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  265. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  266. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
  267. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
  268. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  269. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +14 -14
  271. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
  273. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
  281. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  282. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  283. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  284. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  285. data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
  286. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  287. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  288. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  289. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  290. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  291. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  292. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  293. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  294. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  295. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  296. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  298. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  300. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  301. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  303. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  304. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  305. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  309. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  313. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  314. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  315. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  316. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  317. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  318. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  319. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  320. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  321. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  322. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  323. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +109 -0
  324. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +16 -5
  325. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +9 -9
  326. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +131 -0
  327. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  328. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/genindex.html +9 -5
  350. data/vendor/local/share/doc/groonga/ja/html/index.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  353. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  354. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  355. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  356. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  357. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  358. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  359. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  360. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/news.html +159 -69
  362. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  372. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +25 -10
  399. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  460. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  462. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  464. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  465. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  466. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  467. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  468. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  469. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  470. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  471. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  472. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  473. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  474. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  475. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  476. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
  477. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  478. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
  479. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  480. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  481. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  482. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  483. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  484. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
  485. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  486. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  487. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  488. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  489. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  490. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  491. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
  492. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
  493. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  494. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  495. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +14 -14
  496. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
  497. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
  498. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
  500. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
  501. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
  502. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
  503. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
  504. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
  505. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
  506. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  508. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  509. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  510. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
  511. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  512. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  513. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  514. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  515. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  516. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  517. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  518. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  519. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  520. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  521. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  522. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  523. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  528. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  530. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  531. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  532. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  533. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  534. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  535. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  536. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  537. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  538. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  539. data/vendor/local/share/groonga/mruby/LEGAL +136 -0
  540. data/vendor/local/share/man/ja/man1/groonga.1 +59 -45
  541. data/vendor/local/share/man/man1/groonga.1 +59 -45
  542. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7760ee78cad527e8062ecc8c4a5ebacdcb6f26bf
4
- data.tar.gz: ba9f05900cd4070a2030af484dec4ca956a39a52
3
+ metadata.gz: 495231b8af0a45bace77c291afeb953dc26d4ca4
4
+ data.tar.gz: db678c66b80674952e366a38ff76ff40502da886
5
5
  SHA512:
6
- metadata.gz: 932a4e0275b1bcce13d977c988b9f2b4aaf9b28ab73ae014836f2b3338a4e073a35822ef5efe176760e10d5f83c7c0f3835a6f3d73024f9c13c27c069650c543
7
- data.tar.gz: e1830bba918608ed0ada2085dd93376da1ea4be500e4dc975df56018b09f1f37b4b7ad5812aa99cfee96727965dfc7db51a53ad885cee97d876312a3da5b418a
6
+ metadata.gz: fadda82336ed79b5e2e6c7dcf16b52e3808af9068e09a4178b69c0a158d859525cb9521b1f3a1e3f8a7995e8e8481d62af1de5f30e70920ed53dd767396b82b1
7
+ data.tar.gz: f232189592a765d7d0a487484862883ffc2884d7ad59d56473a884868409f46009bba8d96a235aeb61be97fac1f3db00007fda3c197f4a7f8bca82fe4d95ae65
data/Rakefile CHANGED
@@ -88,6 +88,10 @@ def collect_binary_files(binary_dir)
88
88
  binary_files
89
89
  end
90
90
 
91
+ def windows_gem_name(spec, architecture)
92
+ "#{spec.name}-#{spec.version}-#{architecture}-mingw32.gem"
93
+ end
94
+
91
95
  relative_vendor_dir = "vendor"
92
96
  relative_binary_dir = File.join("vendor", "local")
93
97
  vendor_dir = File.join(base_dir, relative_vendor_dir)
@@ -149,13 +153,13 @@ namespace :clean do
149
153
  end
150
154
  end
151
155
 
152
- namespace :build do
153
- architectures = [:x86, :x64]
156
+ windows_architectures = [:x86, :x64]
154
157
 
158
+ namespace :build do
155
159
  namespace :windows do
156
160
  ruby_versions = "2.0.0:2.1.6:2.2.2"
157
161
 
158
- architectures.each do |architecture|
162
+ windows_architectures.each do |architecture|
159
163
  desc "Build gem for Windows #{architecture}"
160
164
  task architecture do
161
165
  build_dir = "tmp/windows"
@@ -179,18 +183,26 @@ namespace :build do
179
183
  require "rake_compiler_dock"
180
184
  RakeCompilerDock.sh(raw_command_line)
181
185
 
182
- version = spec.version
183
- cp("#{build_dir}/pkg/rroonga-#{version}-#{architecture}-mingw32.gem",
186
+ cp("#{build_dir}/pkg/#{windows_gem_name(spec, architecture)}",
184
187
  "pkg/")
185
188
  end
186
189
  end
187
190
  end
188
191
 
189
192
  desc "Build gems for Windows"
190
- build_tasks = architectures.collect do |architecture|
193
+ build_tasks = windows_architectures.collect do |architecture|
191
194
  "windows:#{architecture}"
192
195
  end
193
196
  task :windows => build_tasks
194
197
  end
195
198
 
199
+ namespace :release do
200
+ desc "Push gems for Windows to RubyGems.org"
201
+ task :windows do
202
+ windows_architectures.each do |architecture|
203
+ ruby("-S", "gem", "push", "pkg/#{windows_gem_name(spec, architecture)}")
204
+ end
205
+ end
206
+ end
207
+
196
208
  task :default => :test
@@ -0,0 +1,145 @@
1
+ /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
+ /*
3
+ Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
4
+
5
+ This library is free software; you can redistribute it and/or
6
+ modify it under the terms of the GNU Lesser General Public
7
+ License version 2.1 as published by the Free Software Foundation.
8
+
9
+ This library is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ Lesser General Public License for more details.
13
+
14
+ You should have received a copy of the GNU Lesser General Public
15
+ License along with this library; if not, write to the Free Software
16
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
+
19
+ #include "rb-grn.h"
20
+
21
+ #define SELF(object) (RVAL2GRNCONTEXT(object))
22
+
23
+ /*
24
+ * Document-class: Groonga::Conf
25
+ *
26
+ * This class manages database global configurations. Each
27
+ * configuration is key and value pair.
28
+ */
29
+
30
+ /*
31
+ * Creates a new configuration set for `context`.
32
+ *
33
+ * @overload initialize(context=nil)
34
+ * @param [Groonga::Context, nil] context The context to be configured.
35
+ * If `context` is `nil`, {Groonga::Context.default} is used.
36
+ *
37
+ * @since 5.0.9
38
+ */
39
+ static VALUE
40
+ rb_grn_conf_initialize (VALUE self, VALUE rb_context)
41
+ {
42
+ rb_iv_set(self, "@context", rb_context);
43
+
44
+ return Qnil;
45
+ }
46
+
47
+ /*
48
+ * Gets a configuration value for key.
49
+ *
50
+ * @overload conf[](key)
51
+ * @param [String] key The key.
52
+ * @return [String, nil] The value associated with `key`.
53
+ *
54
+ * @since 5.0.9
55
+ */
56
+ static VALUE
57
+ rb_grn_conf_get (VALUE self, VALUE rb_key)
58
+ {
59
+ VALUE rb_context;
60
+ VALUE rb_value;
61
+ grn_ctx *context;
62
+ const char *key;
63
+ int key_size;
64
+ const char *value;
65
+ uint32_t value_size;
66
+
67
+ rb_context = rb_iv_get(self, "@context");
68
+ context = rb_grn_context_ensure(&rb_context);
69
+
70
+ rb_key = rb_grn_convert_to_string(rb_key);
71
+ key = RSTRING_PTR(rb_key);
72
+ key_size = RSTRING_LEN(rb_key);
73
+
74
+ {
75
+ grn_rc rc;
76
+ rc = grn_conf_get(context,
77
+ key, key_size,
78
+ &value, &value_size);
79
+ rb_grn_context_check(context, self);
80
+ rb_grn_rc_check(rc, self);
81
+ }
82
+
83
+ if (value_size == 0) {
84
+ rb_value = Qnil;
85
+ } else {
86
+ rb_value = rb_grn_context_rb_string_new(context, value, value_size);
87
+ }
88
+
89
+ return rb_value;
90
+ }
91
+
92
+ /*
93
+ * Sets a configuration key and value pair.
94
+ *
95
+ * @overload conf[]=(key, value)
96
+ * @param [String] key The key.
97
+ * @param [String] value The value to be assigned.
98
+ * @return [String] `value`.
99
+ */
100
+ static VALUE
101
+ rb_grn_conf_set (VALUE self, VALUE rb_key, VALUE rb_value)
102
+ {
103
+ VALUE rb_value_original = rb_value;
104
+ VALUE rb_context;
105
+ grn_ctx *context;
106
+ const char *key;
107
+ int key_size;
108
+ const char *value;
109
+ int value_size;
110
+
111
+ rb_context = rb_iv_get(self, "@context");
112
+ context = rb_grn_context_ensure(&rb_context);
113
+
114
+ rb_key = rb_grn_convert_to_string(rb_key);
115
+ key = RSTRING_PTR(rb_key);
116
+ key_size = RSTRING_LEN(rb_key);
117
+
118
+ rb_value = rb_grn_convert_to_string(rb_value);
119
+ value = RSTRING_PTR(rb_value);
120
+ value_size = RSTRING_LEN(rb_value);
121
+
122
+ {
123
+ grn_rc rc;
124
+ rc = grn_conf_set(context,
125
+ key, key_size,
126
+ value, value_size);
127
+ rb_grn_context_check(context, self);
128
+ rb_grn_rc_check(rc, self);
129
+ }
130
+
131
+ return rb_value_original;
132
+ }
133
+
134
+ void
135
+ rb_grn_init_conf (VALUE mGrn)
136
+ {
137
+ VALUE cGrnConf;
138
+
139
+ cGrnConf = rb_define_class_under(mGrn, "Conf", rb_cObject);
140
+
141
+ rb_define_method(cGrnConf, "initialize", rb_grn_conf_initialize, 1);
142
+
143
+ rb_define_method(cGrnConf, "[]", rb_grn_conf_get, 1);
144
+ rb_define_method(cGrnConf, "[]=", rb_grn_conf_set, 2);
145
+ }
@@ -824,6 +824,37 @@ rb_grn_expression_estimate_size (VALUE self)
824
824
  return UINT2NUM(size);
825
825
  }
826
826
 
827
+ /*
828
+ * Rewrites expression.
829
+ *
830
+ * @example
831
+ * expression.parse("age >= 10 AND age < 20",
832
+ * :syntax => :script)
833
+ * expression.rewrite # => New rewritten expression.
834
+ * # It'll use between(age, 10, "include", 20, "exclude")
835
+ *
836
+ * @overload rewrite
837
+ * @return [Groonga::Expression, nil] new rewritten expression when
838
+ * the expression is rewritten, `nil` otherwise.
839
+ *
840
+ * @since 5.1.0
841
+ */
842
+ static VALUE
843
+ rb_grn_expression_rewrite (VALUE self)
844
+ {
845
+ grn_ctx *context = NULL;
846
+ grn_obj *expression;
847
+ grn_obj *rewritten_expression;
848
+
849
+ rb_grn_expression_deconstruct(SELF(self), &expression, &context,
850
+ NULL, NULL,
851
+ NULL, NULL, NULL);
852
+
853
+ rewritten_expression = grn_expr_rewrite(context, expression);
854
+
855
+ return GRNOBJECT2RVAL(Qnil, context, rewritten_expression, GRN_TRUE);
856
+ }
857
+
827
858
  void
828
859
  rb_grn_init_expression (VALUE mGrn)
829
860
  {
@@ -865,4 +896,7 @@ rb_grn_init_expression (VALUE mGrn)
865
896
 
866
897
  rb_define_method(rb_cGrnExpression, "estimate_size",
867
898
  rb_grn_expression_estimate_size, 0);
899
+
900
+ rb_define_method(rb_cGrnExpression, "rewrite",
901
+ rb_grn_expression_rewrite, 0);
868
902
  }
@@ -1313,6 +1313,118 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
1313
1313
  return GRNOBJECT2RVAL(Qnil, context, result, GRN_TRUE);
1314
1314
  }
1315
1315
 
1316
+ /*
1317
+ * Sorts records in the table by `TokyoGeoPoint` or `WGS84GeoPoint`
1318
+ * type column value. Order is near to far from base geo point.
1319
+ *
1320
+ * @overload geo_sort(column, base_geo_point, options={})
1321
+ * @param options [::Hash] The name and value
1322
+ * pairs. Omitted names are initialized as the default value.
1323
+ *
1324
+ * @option options :offset (0)
1325
+ *
1326
+ * It specifies what number record should be the first record in
1327
+ * returned table. It's 0-based.
1328
+ *
1329
+ * If you specify `0`, the 0th record, the 1st record, the 2nd
1330
+ * record, ... are returned.
1331
+ *
1332
+ * If you specify `0`, the 1st record, the 2nd record, ... are
1333
+ * returned. The 0th record isn't returned.
1334
+ *
1335
+ * The default is `0`.
1336
+ *
1337
+ * @option options :limit (-1)
1338
+ *
1339
+ * It specifies up to how many records are returned. If `-1` is
1340
+ * specified, all records are returned.
1341
+ *
1342
+ * The default is `-1`.
1343
+ *
1344
+ * @return [Groonga::Array] The sorted result. You can get the
1345
+ * original record by {#value} method of a record in the sorted
1346
+ * result. Normally, you doesn't need to get the original record
1347
+ * because you can access via column name method:
1348
+ *
1349
+ * If you want to access the key of the original record, you need to
1350
+ * get the original record.
1351
+ *
1352
+ * @since 5.0.9
1353
+ */
1354
+ static VALUE
1355
+ rb_grn_table_geo_sort (int argc, VALUE *argv, VALUE self)
1356
+ {
1357
+ grn_ctx *context = NULL;
1358
+ grn_obj *table;
1359
+ VALUE rb_column;
1360
+ VALUE rb_base_geo_point;
1361
+ VALUE rb_options;
1362
+ VALUE rb_offset;
1363
+ VALUE rb_limit;
1364
+ grn_obj *column;
1365
+ grn_id column_range_id;
1366
+ grn_obj base_geo_point;
1367
+ int offset = 0;
1368
+ int limit = -1;
1369
+ grn_obj *result;
1370
+ VALUE exception;
1371
+
1372
+ rb_grn_table_deconstruct(SELF(self), &table, &context,
1373
+ NULL, NULL,
1374
+ NULL, NULL, NULL,
1375
+ NULL);
1376
+
1377
+ rb_scan_args(argc, argv, "21", &rb_column, &rb_base_geo_point, &rb_options);
1378
+
1379
+ column = RVAL2GRNCOLUMN(rb_column, &context);
1380
+ column_range_id = grn_obj_get_range(context, column);
1381
+ switch (column_range_id) {
1382
+ case GRN_DB_TOKYO_GEO_POINT:
1383
+ GRN_TOKYO_GEO_POINT_INIT(&base_geo_point, 0);
1384
+ break;
1385
+ case GRN_DB_WGS84_GEO_POINT:
1386
+ GRN_WGS84_GEO_POINT_INIT(&base_geo_point, 0);
1387
+ break;
1388
+ default:
1389
+ rb_raise(rb_eArgError,
1390
+ "column's range must be TokyoGeoPoint or WGS84GeoPoint: %s",
1391
+ rb_grn_inspect(rb_column));
1392
+ break;
1393
+ }
1394
+ RVAL2GRNBULK_WITH_TYPE(rb_base_geo_point,
1395
+ context,
1396
+ &base_geo_point,
1397
+ column_range_id,
1398
+ grn_ctx_at(context, column_range_id));
1399
+
1400
+ rb_grn_scan_options(rb_options,
1401
+ "offset", &rb_offset,
1402
+ "limit", &rb_limit,
1403
+ NULL);
1404
+
1405
+ if (!NIL_P(rb_offset))
1406
+ offset = NUM2INT(rb_offset);
1407
+ if (!NIL_P(rb_limit))
1408
+ limit = NUM2INT(rb_limit);
1409
+ /* TODO: Remove me when Groonga 5.1.0 is released. */
1410
+ if (limit < 0)
1411
+ limit = grn_table_size(context, table) + limit + 1;
1412
+
1413
+ result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_NO_KEY,
1414
+ NULL, table);
1415
+ grn_geo_table_sort(context, table, offset, limit,
1416
+ result, column, &base_geo_point);
1417
+ exception = rb_grn_context_to_exception(context, self);
1418
+ if (!NIL_P(exception)) {
1419
+ grn_obj_unlink(context, &base_geo_point);
1420
+ grn_obj_unlink(context, result);
1421
+ rb_exc_raise(exception);
1422
+ }
1423
+
1424
+ grn_obj_unlink(context, &base_geo_point);
1425
+ return GRNOBJECT2RVAL(Qnil, context, result, GRN_TRUE);
1426
+ }
1427
+
1316
1428
  /*
1317
1429
  * _table_ のレコードを _key1_ , _key2_ , _..._ で指定したキーの
1318
1430
  * 値でグループ化する。多くの場合、キーにはカラムを指定する。
@@ -2608,6 +2720,7 @@ rb_grn_init_table (VALUE mGrn)
2608
2720
  rb_define_method(rb_cGrnTable, "delete", rb_grn_table_delete, -1);
2609
2721
 
2610
2722
  rb_define_method(rb_cGrnTable, "sort", rb_grn_table_sort, -1);
2723
+ rb_define_method(rb_cGrnTable, "geo_sort", rb_grn_table_geo_sort, -1);
2611
2724
  rb_define_method(rb_cGrnTable, "group", rb_grn_table_group, -1);
2612
2725
 
2613
2726
  rb_define_method(rb_cGrnTable, "[]", rb_grn_table_array_reference, 1);
@@ -174,7 +174,11 @@ rb_grn_equal_string (const char *string1, const char *string2)
174
174
  VALUE
175
175
  rb_grn_convert_to_string (VALUE object)
176
176
  {
177
- return rb_convert_type(object, RUBY_T_STRING, "String", "to_str");
177
+ if (rb_type(object) == T_SYMBOL) {
178
+ return rb_sym2str(object);
179
+ } else {
180
+ return rb_convert_type(object, RUBY_T_STRING, "String", "to_str");
181
+ }
178
182
  }
179
183
 
180
184
  VALUE
data/ext/groonga/rb-grn.h CHANGED
@@ -101,7 +101,7 @@ RB_GRN_BEGIN_DECLS
101
101
 
102
102
  #define RB_GRN_MAJOR_VERSION 5
103
103
  #define RB_GRN_MINOR_VERSION 0
104
- #define RB_GRN_MICRO_VERSION 8
104
+ #define RB_GRN_MICRO_VERSION 9
105
105
 
106
106
  #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
107
107
 
@@ -354,6 +354,7 @@ void rb_grn_init_snippet (VALUE mGrn);
354
354
  void rb_grn_init_plugin (VALUE mGrn);
355
355
  void rb_grn_init_normalizer (VALUE mGrn);
356
356
  void rb_grn_init_thread (VALUE mGrn);
357
+ void rb_grn_init_conf (VALUE mGrn);
357
358
 
358
359
  VALUE rb_grn_rc_to_exception (grn_rc rc);
359
360
  const char *rb_grn_rc_to_message (grn_rc rc);
@@ -192,4 +192,5 @@ Init_groonga (void)
192
192
  rb_grn_init_plugin(mGrn);
193
193
  rb_grn_init_normalizer(mGrn);
194
194
  rb_grn_init_thread(mGrn);
195
+ rb_grn_init_conf(mGrn);
195
196
  }
data/lib/2.0/groonga.so CHANGED
Binary file
data/lib/2.1/groonga.so CHANGED
Binary file
data/lib/2.2/groonga.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2010-2013 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2010-2015 Kouhei Sutou <kou@clear-code.com>
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -346,5 +346,13 @@ module Groonga
346
346
  memory_pool = @memory_pools.last
347
347
  memory_pool.register(object)
348
348
  end
349
+
350
+ # @return [Groonga::Conf] The database level configuration sets of
351
+ # this context.
352
+ #
353
+ # @since 5.0.9
354
+ def conf
355
+ @conf ||= Conf.new(self)
356
+ end
349
357
  end
350
358
  end