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
@@ -93,7 +93,6 @@ module Groonga
93
93
  combined_builder.build(expression, variable)
94
94
  end
95
95
 
96
- expression.compile
97
96
  expression
98
97
  end
99
98
 
data/rroonga-build.rb CHANGED
@@ -20,15 +20,15 @@ module RroongaBuild
20
20
  module RequiredGroongaVersion
21
21
  MAJOR = 5
22
22
  MINOR = 0
23
- MICRO = 8
23
+ MICRO = 9
24
24
  VERSION = [MAJOR, MINOR, MICRO]
25
- RELEASED_DATE = Time.utc(2015, 9, 29)
25
+ RELEASED_DATE = Time.utc(2015, 10, 29)
26
26
  end
27
27
 
28
28
  module LatestGroongaVersion
29
29
  MAJOR = 5
30
30
  MINOR = 0
31
- MICRO = 8
31
+ MICRO = 9
32
32
  VERSION = [MAJOR, MINOR, MICRO]
33
33
  end
34
34
 
data/test/test-conf.rb ADDED
@@ -0,0 +1,31 @@
1
+ # Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License version 2.1 as published by the Free Software Foundation.
6
+ #
7
+ # This library is distributed in the hope that it will be useful,
8
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
9
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
+ # Lesser General Public License for more details.
11
+ #
12
+ # You should have received a copy of the GNU Lesser General Public
13
+ # License along with this library; if not, write to the Free Software
14
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15
+
16
+ class ConfTest < Test::Unit::TestCase
17
+ include GroongaTestUtils
18
+
19
+ setup :setup_database
20
+
21
+ sub_test_case "#[]" do
22
+ test "existent" do
23
+ context.conf["rroonga.key"] = "value"
24
+ assert_equal("value", context.conf["rroonga.key"])
25
+ end
26
+
27
+ test "nonexistent" do
28
+ assert_nil(context.conf["nonexistent"])
29
+ end
30
+ end
31
+ end
data/test/test-table.rb CHANGED
@@ -421,6 +421,42 @@ class TableTest < Test::Unit::TestCase
421
421
  sorted_bookmarks.collect(&:value))
422
422
  end
423
423
 
424
+ sub_test_case "#geo_sort" do
425
+ setup
426
+ def setup_schema
427
+ Groonga::Schema.define do |schema|
428
+ schema.create_table("Posts") do |table|
429
+ table.wgs84_geo_point("location")
430
+ end
431
+
432
+ schema.create_table("Locations",
433
+ :type => :patricia_trie,
434
+ :key_type => "WGS84GeoPoint") do |table|
435
+ table.index("Posts.location")
436
+ end
437
+ end
438
+
439
+ @posts = Groonga["Posts"]
440
+ end
441
+
442
+ setup
443
+ def setup_data
444
+ @posts.add(:location => "35.720253x139.762573")
445
+ @posts.add(:location => "35.730061x139.796234")
446
+ @posts.add(:location => "35.685341x139.783981")
447
+ end
448
+
449
+ test "default" do
450
+ results = @posts.geo_sort(@posts.column("location"), "35.7119x139.7983")
451
+ assert_equal([
452
+ Groonga::WGS84GeoPoint.new("35.730061x139.796234"),
453
+ Groonga::WGS84GeoPoint.new("35.685341x139.783981"),
454
+ Groonga::WGS84GeoPoint.new("35.720253x139.762573"),
455
+ ],
456
+ results.collect(&:location))
457
+ end
458
+ end
459
+
424
460
  def test_union!
425
461
  bookmarks = Groonga::Hash.create(:name => "Bookmarks")
426
462
  bookmarks.define_column("title", "ShortText")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -20,13 +20,16 @@
20
20
 
21
21
  #include "groonga/portability.h"
22
22
  #include "groonga/groonga.h"
23
+ #include "groonga/conf.h"
23
24
  #include "groonga/obj.h"
24
25
  #include "groonga/ii.h"
26
+ #include "groonga/geo.h"
25
27
  #include "groonga/expr.h"
26
28
  #include "groonga/output.h"
27
29
  #include "groonga/util.h"
28
30
  #include "groonga/request_canceler.h"
29
31
  #include "groonga/thread.h"
32
+ #include "groonga/windows.h"
30
33
  #include "groonga/windows_event_logger.h"
31
34
 
32
35
  #endif /* GROONGA_H */
@@ -0,0 +1,42 @@
1
+ /* -*- c-basic-offset: 2 -*- */
2
+ /*
3
+ Copyright(C) 2015 Brazil
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
+ #ifndef GRN_CONF_H
20
+ #define GRN_CONF_H
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+ #define GRN_CONF_MAX_KEY_SIZE GRN_TABLE_MAX_KEY_SIZE
27
+ #define GRN_CONF_MAX_VALUE_SIZE \
28
+ (GRN_CONF_VALUE_SPACE_SIZE - sizeof(uint32_t) - 1) /* 1 is for '\0' */
29
+ #define GRN_CONF_VALUE_SPACE_SIZE (4 * 1024)
30
+
31
+ GRN_API grn_rc grn_conf_set(grn_ctx *ctx,
32
+ const char *key, int key_size,
33
+ const char *value, int value_size);
34
+ GRN_API grn_rc grn_conf_get(grn_ctx *ctx,
35
+ const char *key, int key_size,
36
+ const char **value, uint32_t *value_size);
37
+
38
+ #ifdef __cplusplus
39
+ }
40
+ #endif
41
+
42
+ #endif /* GRN_CONF_H */
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright(C) 2009-2014 Brazil
2
+ Copyright(C) 2009-2015 Brazil
3
3
 
4
4
  This library is free software; you can redistribute it and/or
5
5
  modify it under the terms of the GNU Lesser General Public
@@ -55,6 +55,7 @@ GRN_API grn_rc grn_expr_syntax_escape_query(grn_ctx *ctx,
55
55
  grn_obj *escaped_query);
56
56
 
57
57
  GRN_API grn_rc grn_expr_compile(grn_ctx *ctx, grn_obj *expr);
58
+ GRN_API grn_obj *grn_expr_rewrite(grn_ctx *ctx, grn_obj *expr);
58
59
  GRN_API grn_rc grn_expr_dump_plan(grn_ctx *ctx, grn_obj *expr, grn_obj *buffer);
59
60
  GRN_API grn_obj *grn_expr_exec(grn_ctx *ctx, grn_obj *expr, int nargs);
60
61
 
@@ -0,0 +1,39 @@
1
+ /* -*- c-basic-offset: 2 -*- */
2
+ /*
3
+ Copyright(C) 2015 Brazil
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 as published by the Free Software Foundation; either
8
+ version 2.1 of the License, or (at your option) any later version.
9
+
10
+ This library is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ Lesser General Public License for more details.
14
+
15
+ You should have received a copy of the GNU Lesser General Public
16
+ License along with this library; if not, write to the Free Software
17
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+ */
19
+
20
+ #ifndef GROONGA_GEO_H
21
+ #define GROONGA_GEO_H
22
+
23
+ #ifdef __cplusplus
24
+ extern "C" {
25
+ #endif
26
+
27
+ GRN_API int grn_geo_table_sort(grn_ctx *ctx,
28
+ grn_obj *table,
29
+ int offset,
30
+ int limit,
31
+ grn_obj *result,
32
+ grn_obj *column,
33
+ grn_obj *geo_point);
34
+
35
+ #ifdef __cplusplus
36
+ }
37
+ #endif
38
+
39
+ #endif /* GROONGA_GEO_H */
@@ -441,6 +441,13 @@ GRN_API grn_rc grn_ctx_use(grn_ctx *ctx, grn_obj *db);
441
441
  GRN_API grn_obj *grn_ctx_db(grn_ctx *ctx);
442
442
  GRN_API grn_obj *grn_ctx_get(grn_ctx *ctx, const char *name, int name_size);
443
443
  GRN_API grn_rc grn_ctx_get_all_tables(grn_ctx *ctx, grn_obj *tables_buffer);
444
+ GRN_API grn_rc grn_ctx_get_all_types(grn_ctx *ctx, grn_obj *types_buffer);
445
+ GRN_API grn_rc grn_ctx_get_all_tokenizers(grn_ctx *ctx,
446
+ grn_obj *tokenizers_buffer);
447
+ GRN_API grn_rc grn_ctx_get_all_normalizers(grn_ctx *ctx,
448
+ grn_obj *normalizers_buffer);
449
+ GRN_API grn_rc grn_ctx_get_all_token_filters(grn_ctx *ctx,
450
+ grn_obj *token_filters_buffer);
444
451
 
445
452
  typedef enum {
446
453
  GRN_DB_VOID = 0,
@@ -23,12 +23,62 @@
23
23
  extern "C" {
24
24
  #endif
25
25
 
26
+ #define GRN_OBJ_IS_TRUE(ctx, obj, result) do { \
27
+ grn_obj *obj_ = (obj); \
28
+ if (obj_) { \
29
+ switch (obj_->header.type) { \
30
+ case GRN_BULK : \
31
+ switch (obj_->header.domain) { \
32
+ case GRN_DB_BOOL : \
33
+ result = GRN_BOOL_VALUE(obj_); \
34
+ break; \
35
+ case GRN_DB_INT32 : \
36
+ result = GRN_INT32_VALUE(obj_) != 0; \
37
+ break; \
38
+ case GRN_DB_UINT32 : \
39
+ result = GRN_UINT32_VALUE(obj_) != 0; \
40
+ break; \
41
+ case GRN_DB_FLOAT : \
42
+ { \
43
+ double float_value; \
44
+ float_value = GRN_FLOAT_VALUE(obj_); \
45
+ result = (float_value < -DBL_EPSILON || \
46
+ DBL_EPSILON < float_value); \
47
+ } \
48
+ break; \
49
+ case GRN_DB_SHORT_TEXT : \
50
+ case GRN_DB_TEXT : \
51
+ case GRN_DB_LONG_TEXT : \
52
+ result = GRN_TEXT_LEN(obj_) != 0; \
53
+ break; \
54
+ default : \
55
+ result = GRN_FALSE; \
56
+ break; \
57
+ } \
58
+ break; \
59
+ case GRN_VECTOR : \
60
+ result = GRN_TRUE; \
61
+ break; \
62
+ default : \
63
+ result = GRN_FALSE; \
64
+ break; \
65
+ } \
66
+ } else { \
67
+ result = GRN_FALSE; \
68
+ } \
69
+ } while (0)
70
+
71
+
26
72
  GRN_API grn_bool grn_obj_is_builtin(grn_ctx *ctx, grn_obj *obj);
27
73
  GRN_API grn_bool grn_obj_is_table(grn_ctx *ctx, grn_obj *obj);
74
+ GRN_API grn_bool grn_obj_is_type(grn_ctx *ctx, grn_obj *obj);
28
75
  GRN_API grn_bool grn_obj_is_proc(grn_ctx *ctx, grn_obj *obj);
76
+ GRN_API grn_bool grn_obj_is_tokenizer_proc(grn_ctx *ctx, grn_obj *obj);
29
77
  GRN_API grn_bool grn_obj_is_function_proc(grn_ctx *ctx, grn_obj *obj);
30
78
  GRN_API grn_bool grn_obj_is_selector_proc(grn_ctx *ctx, grn_obj *obj);
31
79
  GRN_API grn_bool grn_obj_is_selector_only_proc(grn_ctx *ctx, grn_obj *obj);
80
+ GRN_API grn_bool grn_obj_is_normalizer_proc(grn_ctx *ctx, grn_obj *obj);
81
+ GRN_API grn_bool grn_obj_is_token_filter_proc(grn_ctx *ctx, grn_obj *obj);
32
82
  GRN_API grn_bool grn_obj_is_scorer_proc(grn_ctx *ctx, grn_obj *obj);
33
83
 
34
84
  GRN_API grn_rc grn_obj_cast(grn_ctx *ctx,
@@ -76,8 +76,10 @@ GRN_API void grn_ctx_output_array_close(grn_ctx *ctx);
76
76
  GRN_API void grn_ctx_output_map_open(grn_ctx *ctx,
77
77
  const char *name, int nelements);
78
78
  GRN_API void grn_ctx_output_map_close(grn_ctx *ctx);
79
+ GRN_API void grn_ctx_output_null(grn_ctx *ctx);
79
80
  GRN_API void grn_ctx_output_int32(grn_ctx *ctx, int value);
80
- GRN_API void grn_ctx_output_int64(grn_ctx *ctx, long long int value);
81
+ GRN_API void grn_ctx_output_int64(grn_ctx *ctx, int64_t value);
82
+ GRN_API void grn_ctx_output_uint64(grn_ctx *ctx, uint64_t value);
81
83
  GRN_API void grn_ctx_output_float(grn_ctx *ctx, double value);
82
84
  GRN_API void grn_ctx_output_cstr(grn_ctx *ctx, const char *value);
83
85
  GRN_API void grn_ctx_output_str(grn_ctx *ctx,
@@ -146,7 +146,9 @@ GRN_API grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx,
146
146
  grn_user_data *user_data,
147
147
  unsigned int offset);
148
148
 
149
+ /* Deprecated since 5.0.9. Use grn_plugin_windows_base_dir() instead. */
149
150
  GRN_API const char *grn_plugin_win32_base_dir(void);
151
+ GRN_API const char *grn_plugin_windows_base_dir(void);
150
152
 
151
153
  GRN_API int grn_plugin_charlen(grn_ctx *ctx, const char *str_ptr,
152
154
  unsigned int str_length, grn_encoding encoding);
@@ -0,0 +1,34 @@
1
+ /*
2
+ Copyright(C) 2015 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 as published by the Free Software Foundation; either
7
+ version 2.1 of the License, or (at your option) any later version.
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
+ #ifndef GROONGA_WINDOWS_H
20
+ #define GROONGA_WINDOWS_H
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+ #ifdef WIN32
27
+ GRN_API const char *grn_windows_base_dir(void);
28
+ #endif /* WIN32 */
29
+
30
+ #ifdef __cplusplus
31
+ }
32
+ #endif
33
+
34
+ #endif /* GROONGA_WINDOWS_H */
@@ -0,0 +1,38 @@
1
+ module Groonga
2
+ module ExpressionRewriters
3
+ class Optimizer < ExpressionRewriter
4
+ register "optimizer"
5
+
6
+ def rewrite
7
+ codes = @expression.codes
8
+ n_codes = codes.size
9
+
10
+ # (A >= x && A < y) -> between(A, x, "include", y, "exclude")
11
+ return nil if n_codes != 7
12
+
13
+ return nil if codes[6].op != Operator::AND
14
+
15
+ return nil if codes[0].op != Operator::GET_VALUE
16
+ return nil if codes[1].op != Operator::PUSH
17
+ return nil if codes[2].op != Operator::GREATER_EQUAL
18
+
19
+ return nil if codes[3].op != Operator::GET_VALUE
20
+ return nil if codes[4].op != Operator::PUSH
21
+ return nil if codes[5].op != Operator::LESS
22
+
23
+ return nil if codes[3].value != codes[0].value
24
+
25
+ variable = @expression[0]
26
+ rewritten = Expression.create(context[variable.domain])
27
+ rewritten.append_object(Context.instance["between"], Operator::PUSH, 1)
28
+ rewritten.append_object(codes[0].value, Operator::GET_VALUE, 1)
29
+ rewritten.append_constant(codes[1].value.value, Operator::PUSH, 1)
30
+ rewritten.append_constant("include", Operator::PUSH, 1)
31
+ rewritten.append_constant(codes[4].value.value, Operator::PUSH, 1)
32
+ rewritten.append_constant("exclude", Operator::PUSH, 1)
33
+ rewritten.append_operator(Operator::CALL, 5)
34
+ rewritten
35
+ end
36
+ end
37
+ end
38
+ end