rroonga 5.0.5-x64-mingw32 → 5.0.8-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (594) hide show
  1. checksums.yaml +5 -13
  2. data/Rakefile +40 -8
  3. data/ext/groonga/extconf.rb +17 -2
  4. data/ext/groonga/rb-grn-context.c +25 -1
  5. data/ext/groonga/rb-grn-database.c +1 -1
  6. data/ext/groonga/rb-grn-patricia-trie.c +0 -2
  7. data/ext/groonga/rb-grn-table.c +2 -2
  8. data/ext/groonga/rb-grn.h +1 -1
  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/expression-builder.rb +27 -1
  13. data/rroonga-build.rb +3 -3
  14. data/rroonga.gemspec +1 -0
  15. data/test/test-column.rb +4 -2
  16. data/test/test-context.rb +9 -1
  17. data/test/test-expression-builder.rb +38 -1
  18. data/test/test-remote.rb +12 -3
  19. data/test/test-table-group.rb +13 -11
  20. data/test/test-table.rb +4 -6
  21. data/vendor/local/bin/grndb.exe +0 -0
  22. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  23. data/vendor/local/bin/groonga.exe +0 -0
  24. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  25. data/vendor/local/bin/libgroonga-0.dll +0 -0
  26. data/vendor/local/bin/libmecab-1.dll +0 -0
  27. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  28. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  29. data/vendor/local/bin/libonig-5.dll +0 -0
  30. data/vendor/local/bin/libstdc++-6.dll +0 -0
  31. data/vendor/local/bin/lz4.exe +0 -0
  32. data/vendor/local/bin/lz4c.exe +0 -0
  33. data/vendor/local/bin/lz4cat +0 -0
  34. data/vendor/local/bin/mecab.exe +0 -0
  35. data/vendor/local/bin/zlib1.dll +0 -0
  36. data/vendor/local/etc/groonga/httpd/fastcgi.conf +1 -0
  37. data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +1 -0
  38. data/vendor/local/etc/groonga/httpd/fastcgi_params +1 -0
  39. data/vendor/local/etc/groonga/httpd/fastcgi_params.default +1 -0
  40. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +3 -0
  41. data/vendor/local/etc/groonga/httpd/scgi_params +1 -0
  42. data/vendor/local/etc/groonga/httpd/scgi_params.default +1 -0
  43. data/vendor/local/etc/groonga/httpd/uwsgi_params +1 -0
  44. data/vendor/local/etc/groonga/httpd/uwsgi_params.default +1 -0
  45. data/vendor/local/include/groonga/groonga/groonga.h +13 -6
  46. data/vendor/local/include/groonga/groonga/ii.h +16 -8
  47. data/vendor/local/include/groonga/groonga/obj.h +5 -0
  48. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  50. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  51. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  53. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  55. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  62. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  65. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  72. data/vendor/local/lib/libgroonga.a +0 -0
  73. data/vendor/local/lib/libgroonga.dll.a +0 -0
  74. data/vendor/local/lib/liblz4.a +0 -0
  75. data/vendor/local/lib/liblz4.dll +0 -0
  76. data/vendor/local/lib/liblz4.dll.1 +0 -0
  77. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  78. data/vendor/local/lib/libmecab.a +0 -0
  79. data/vendor/local/lib/libmecab.dll.a +0 -0
  80. data/vendor/local/lib/libmsgpack.a +0 -0
  81. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  82. data/vendor/local/lib/libmsgpackc.a +0 -0
  83. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  84. data/vendor/local/lib/libonig.a +0 -0
  85. data/vendor/local/lib/libonig.dll.a +0 -0
  86. data/vendor/local/lib/libz.a +0 -0
  87. data/vendor/local/lib/libz.dll.a +0 -0
  88. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  89. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  90. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  91. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  92. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  93. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  94. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  95. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +6 -0
  97. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +2 -4
  98. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  99. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  100. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  101. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  102. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  103. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  104. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  105. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  106. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +126 -0
  107. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +9 -0
  108. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +24 -0
  109. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +1 -1
  110. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +1 -1
  111. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +1 -2
  112. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +2 -4
  113. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +11 -5
  114. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +117 -21
  115. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +1 -2
  116. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +207 -16
  117. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +18 -8
  118. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
  119. data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +32 -6
  120. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +4 -4
  121. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
  122. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
  123. data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +71 -30
  124. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +14 -5
  125. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +2 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
  127. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +24 -5
  128. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/community.html +14 -9
  131. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -8
  137. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/genindex.html +15 -7
  151. data/vendor/local/share/doc/groonga/en/html/index.html +8 -7
  152. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  153. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  154. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  155. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  156. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  157. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  158. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  159. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  160. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/news.html +190 -61
  172. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +27 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -7
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -9
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +14 -10
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +149 -28
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -7
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +263 -22
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  266. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  267. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  268. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  269. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +27 -13
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  281. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  282. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  283. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  284. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
  285. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  286. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
  287. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  288. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  289. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  290. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  291. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +5 -5
  292. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
  293. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  294. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  295. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  296. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +45 -12
  297. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +96 -30
  298. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +170 -6
  299. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +62 -21
  300. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
  301. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
  303. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
  304. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
  305. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  309. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/types.html +93 -74
  311. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  313. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  314. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  315. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  318. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  321. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  322. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  323. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  324. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  326. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -10
  329. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  330. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
  332. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  333. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  335. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
  339. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  341. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +6 -0
  342. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +2 -4
  343. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  344. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  345. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  346. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  347. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +126 -0
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +9 -0
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +24 -0
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +1 -1
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +1 -1
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +1 -2
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +2 -4
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +11 -5
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +117 -21
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +1 -2
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +207 -16
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +18 -8
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +3 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +32 -6
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +4 -4
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +115 -1
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +50 -3
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +71 -30
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +14 -5
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +2 -0
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +24 -5
  373. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/community.html +16 -11
  376. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -8
  382. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/genindex.html +15 -7
  396. data/vendor/local/share/doc/groonga/ja/html/index.html +9 -8
  397. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  398. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  399. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  400. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  401. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  402. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  403. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  404. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  405. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/news.html +159 -64
  417. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  418. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -5
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +6 -6
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +6 -6
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -7
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +7 -9
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +7 -7
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +7 -7
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +9 -8
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +143 -28
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -7
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +254 -22
  498. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
  499. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
  500. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
  501. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  502. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  503. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  506. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  508. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  509. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  510. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -9
  511. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  512. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  513. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  514. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  521. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +27 -13
  522. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  523. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  528. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
  530. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  531. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
  532. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  533. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  534. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  535. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  536. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +5 -5
  537. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
  538. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  539. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +9 -9
  540. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  541. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +32 -11
  542. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +118 -84
  543. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +163 -14
  544. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +70 -53
  545. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
  546. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
  547. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
  548. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
  549. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
  550. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
  551. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  552. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  553. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  554. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  555. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +93 -86
  556. data/vendor/local/share/doc/groonga/ja/html/reference.html +6 -6
  557. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  558. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  559. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  560. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  561. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  562. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  563. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  564. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  567. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  573. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -10
  574. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  575. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  576. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  577. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  578. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  579. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  580. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  584. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  585. data/vendor/local/share/license/groonga/README.md +7 -0
  586. data/vendor/local/share/man/ja/man1/groonga.1 +1078 -338
  587. data/vendor/local/share/man/man1/groonga.1 +1088 -218
  588. metadata +97 -91
  589. data/lib/1.9/groonga.so +0 -0
  590. data/vendor/local/etc/groonga/windows_event_log/provider.man +0 -38
  591. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +0 -15
  592. data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +0 -116
  593. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +0 -15
  594. data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +0 -117
@@ -1,6 +1,6 @@
1
1
  .\" Man page generated from reStructuredText.
2
2
  .
3
- .TH "GROONGA" "1" "August 31, 2015" "5.0.7" "Groonga"
3
+ .TH "GROONGA" "1" "September 28, 2015" "5.0.8" "Groonga"
4
4
  .SH NAME
5
5
  groonga \- Groonga documentation
6
6
  .
@@ -110,7 +110,7 @@ packages.groonga.org:
110
110
  .INDENT 3.5
111
111
  .INDENT 0.0
112
112
  .IP \(bu 2
113
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.7\-x86.exe\fP
113
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x86.exe\fP
114
114
  .UNINDENT
115
115
  .UNINDENT
116
116
  .UNINDENT
@@ -123,7 +123,7 @@ packages.goronga.org:
123
123
  .INDENT 3.5
124
124
  .INDENT 0.0
125
125
  .IP \(bu 2
126
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.7\-x64.exe\fP
126
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x64.exe\fP
127
127
  .UNINDENT
128
128
  .UNINDENT
129
129
  .UNINDENT
@@ -140,7 +140,7 @@ packages.groonga.org:
140
140
  .INDENT 3.5
141
141
  .INDENT 0.0
142
142
  .IP \(bu 2
143
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.7\-x86.zip\fP
143
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x86.zip\fP
144
144
  .UNINDENT
145
145
  .UNINDENT
146
146
  .UNINDENT
@@ -153,7 +153,7 @@ packages.groonga.org:
153
153
  .INDENT 3.5
154
154
  .INDENT 0.0
155
155
  .IP \(bu 2
156
- \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.7\-x64.zip\fP
156
+ \fI\%http://packages.groonga.org/windows/groonga/groonga\-5.0.8\-x64.zip\fP
157
157
  .UNINDENT
158
158
  .UNINDENT
159
159
  .UNINDENT
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
181
181
  .INDENT 3.5
182
182
  .INDENT 0.0
183
183
  .IP \(bu 2
184
- \fI\%http://packages.groonga.org/source/groonga/groonga\-5.0.7.zip\fP
184
+ \fI\%http://packages.groonga.org/source/groonga/groonga\-5.0.8.zip\fP
185
185
  .UNINDENT
186
186
  .UNINDENT
187
187
  .UNINDENT
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
194
194
  .sp
195
195
  .nf
196
196
  .ft C
197
- > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0.7
197
+ > cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-5.0.8
198
198
  .ft P
199
199
  .fi
200
200
  .UNINDENT
@@ -208,7 +208,7 @@ parameter instead:
208
208
  .sp
209
209
  .nf
210
210
  .ft C
211
- groonga\-5.0.7> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
211
+ groonga\-5.0.8> cmake . \-G "Visual Studio 12 2013 Win64" \-DCMAKE_INSTALL_PREFIX=C:\eGroonga
212
212
  .ft P
213
213
  .fi
214
214
  .UNINDENT
@@ -220,7 +220,7 @@ Build:
220
220
  .sp
221
221
  .nf
222
222
  .ft C
223
- groonga\-5.0.7> cmake \-\-build . \-\-config Release
223
+ groonga\-5.0.8> cmake \-\-build . \-\-config Release
224
224
  .ft P
225
225
  .fi
226
226
  .UNINDENT
@@ -232,7 +232,7 @@ Install:
232
232
  .sp
233
233
  .nf
234
234
  .ft C
235
- groonga\-5.0.7> cmake \-\-build . \-\-config Release \-\-target Install
235
+ groonga\-5.0.8> cmake \-\-build . \-\-config Release \-\-target Install
236
236
  .ft P
237
237
  .fi
238
238
  .UNINDENT
@@ -294,9 +294,9 @@ Download source:
294
294
  .sp
295
295
  .nf
296
296
  .ft C
297
- % curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
298
- % tar xvzf groonga\-5.0.7.tar.gz
299
- % cd groonga\-5.0.7
297
+ % curl \-O http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
298
+ % tar xvzf groonga\-5.0.8.tar.gz
299
+ % cd groonga\-5.0.8
300
300
  .ft P
301
301
  .fi
302
302
  .UNINDENT
@@ -592,9 +592,9 @@ Download source:
592
592
  .sp
593
593
  .nf
594
594
  .ft C
595
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
596
- % tar xvzf groonga\-5.0.7.tar.gz
597
- % cd groonga\-5.0.7
595
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
596
+ % tar xvzf groonga\-5.0.8.tar.gz
597
+ % cd groonga\-5.0.8
598
598
  .ft P
599
599
  .fi
600
600
  .UNINDENT
@@ -801,9 +801,9 @@ Download source:
801
801
  .sp
802
802
  .nf
803
803
  .ft C
804
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
805
- % tar xvzf groonga\-5.0.7.tar.gz
806
- % cd groonga\-5.0.7
804
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
805
+ % tar xvzf groonga\-5.0.8.tar.gz
806
+ % cd groonga\-5.0.8
807
807
  .ft P
808
808
  .fi
809
809
  .UNINDENT
@@ -1208,9 +1208,9 @@ Download source:
1208
1208
  .sp
1209
1209
  .nf
1210
1210
  .ft C
1211
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
1212
- % tar xvzf groonga\-5.0.7.tar.gz
1213
- % cd groonga\-5.0.7
1211
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
1212
+ % tar xvzf groonga\-5.0.8.tar.gz
1213
+ % cd groonga\-5.0.8
1214
1214
  .ft P
1215
1215
  .fi
1216
1216
  .UNINDENT
@@ -1411,9 +1411,9 @@ Download source:
1411
1411
  .sp
1412
1412
  .nf
1413
1413
  .ft C
1414
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
1415
- % tar xvzf groonga\-5.0.7.tar.gz
1416
- % cd groonga\-5.0.7
1414
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
1415
+ % tar xvzf groonga\-5.0.8.tar.gz
1416
+ % cd groonga\-5.0.8
1417
1417
  .ft P
1418
1418
  .fi
1419
1419
  .UNINDENT
@@ -1478,9 +1478,9 @@ Download source:
1478
1478
  .sp
1479
1479
  .nf
1480
1480
  .ft C
1481
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
1482
- % gtar xvzf groonga\-5.0.7.tar.gz
1483
- % cd groonga\-5.0.7
1481
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
1482
+ % gtar xvzf groonga\-5.0.8.tar.gz
1483
+ % cd groonga\-5.0.8
1484
1484
  .ft P
1485
1485
  .fi
1486
1486
  .UNINDENT
@@ -1620,9 +1620,9 @@ steps:
1620
1620
  .sp
1621
1621
  .nf
1622
1622
  .ft C
1623
- % wget http://packages.groonga.org/source/groonga/groonga\-5.0.7.tar.gz
1624
- % tar xvzf groonga\-5.0.7.tar.gz
1625
- % cd groonga\-5.0.7
1623
+ % wget http://packages.groonga.org/source/groonga/groonga\-5.0.8.tar.gz
1624
+ % tar xvzf groonga\-5.0.8.tar.gz
1625
+ % cd groonga\-5.0.8
1626
1626
  % ./configure
1627
1627
  % make
1628
1628
  % sudo make install
@@ -1912,6 +1912,9 @@ There are mailing lists for discussion about Groonga.
1912
1912
  .B For Japanese speakers
1913
1913
  \fI\%groonga\-dev@lists.osdn.me\fP
1914
1914
  .UNINDENT
1915
+ .SS Chat room
1916
+ .sp
1917
+ You can join \fI\%groonga/public chat room on Gitter\fP\&.
1915
1918
  .SS Twitter
1916
1919
  .sp
1917
1920
  \fI\%@groonga\fP tweets Groonga related
@@ -3373,7 +3376,9 @@ select \-\-table ToyBox \-\-output_columns _key,price,weight
3373
3376
  .sp
3374
3377
  The string types are divided according to the maximum length. For more details, see \fB/reference/types\fP\&. The default value is the zero\-length string.
3375
3378
  .sp
3376
- The following example creates a ShortText column and updates existing records. The third record has the default value because not updated.
3379
+ The following example creates a \fBShortText\fP column and updates
3380
+ existing records. The third record (\fB"Block"\fP key record) has the
3381
+ default value (zero\-length string) because it\(aqs not updated.
3377
3382
  .sp
3378
3383
  Execution example:
3379
3384
  .INDENT 0.0
@@ -3442,7 +3447,9 @@ So, Groonga shows the value of Epoch as floating point. Integral part means the
3442
3447
  .UNINDENT
3443
3448
  .UNINDENT
3444
3449
  .sp
3445
- The following example creates a Time column and updates existing records. The first record has the default value because not updated.
3450
+ The following example creates a \fBTime\fP column and updates existing
3451
+ records. The first record (\fB"Monkey"\fP key record) has the default
3452
+ value (\fB0.0\fP) because it\(aqs not updated.
3446
3453
  .sp
3447
3454
  Execution example:
3448
3455
  .INDENT 0.0
@@ -3511,7 +3518,9 @@ The longitude and latitude types are divided according to the geographic coordin
3511
3518
  .sp
3512
3519
  A number with/without a decimal point represents a longitude or latitude in milliseconds/degrees respectively. Note that a combination of a number with a decimal point and a number without a decimal point (e.g. 35.1x139) must not be used. A comma (\(aq,\(aq) is also available as a delimiter. The default value is "0x0".
3513
3520
  .sp
3514
- The following example creates a WGS84GeoPoint column and updates existing records. The second record has the default value because not updated.
3521
+ The following example creates a \fBWGS84GeoPoint\fP column and updates
3522
+ existing records. The second record (\fB"Flower"\fP key record) has the
3523
+ default value (\fB"0x0"\fP) because it\(aqs not updated.
3515
3524
  .sp
3516
3525
  Execution example:
3517
3526
  .INDENT 0.0
@@ -3572,9 +3581,12 @@ select \-\-table ToyBox \-\-output_columns _key,location
3572
3581
  .sp
3573
3582
  Groonga supports a reference column, which stores references to records in its associated table. In practice, a reference column stores the IDs of the referred records in the associated table and enables access to those records.
3574
3583
  .sp
3575
- You can specify a column in the associated table to the \fIoutput_columns\fP parameter of a \fB/reference/commands/select\fP command. The format is "Src.Dest" where Src is the name of the reference column and Dest is the name of the target column. If only the reference column is specified, it is handled as "Src._key". Note that if a reference does not point to a valid record, a \fB/reference/commands/select\fP command outputs the default value of the target column.
3584
+ You can specify a column in the associated table to the \fBoutput_columns\fP parameter of a \fB/reference/commands/select\fP command. The format is \fBSrc.Dest\fP where Src is the name of the reference column and Dest is the name of the target column. If only the reference column is specified, it is handled as \fBSrc._key\fP\&. Note that if a reference does not point to a valid record, a \fB/reference/commands/select\fP command outputs the default value of the target column.
3576
3585
  .sp
3577
- The following example adds a reference column to the Site table that was created in the previous tutorial. The new column, named link, is designed for storing links among records in the Site table.
3586
+ The following example adds a reference column to the \fBSite\fP table
3587
+ that was created in tutorial\-introduction\-create\-table\&. The new
3588
+ column, named \fBlink\fP, is designed for storing links among records in
3589
+ the \fBSite\fP table.
3578
3590
  .sp
3579
3591
  Execution example:
3580
3592
  .INDENT 0.0
@@ -3766,7 +3778,7 @@ _id <= 1
3766
3778
  .UNINDENT
3767
3779
  .UNINDENT
3768
3780
  .sp
3769
- In this case, this query returns the records which meets the condition that the value of \fB_id\fP is equal to 1.
3781
+ In this case, this query returns the records which meets the condition that the value of \fB_id\fP is equal to or less than 1.
3770
3782
  .sp
3771
3783
  Moreover, you can use \fB&&\fP for AND search, \fB||\fP for OR search.
3772
3784
  .sp
@@ -14077,7 +14089,7 @@ See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
14077
14089
  .sp
14078
14090
  define_selector \- 検索コマンドを定義
14079
14091
  .sp
14080
- Groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマンドは、groonga実行ファイルの引数>、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
14092
+ Groonga組込コマンドの一つであるdefine_selectorについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
14081
14093
  .sp
14082
14094
  define_selectorは、検索条件をカスタマイズした新たな検索コマンドを定義します。
14083
14095
  .SS Syntax
@@ -15651,7 +15663,7 @@ debug
15651
15663
  .sp
15652
15664
  log_put \- ログ出力
15653
15665
  .sp
15654
- groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入>力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
15666
+ groonga組込コマンドの一つであるlog_putについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
15655
15667
  .sp
15656
15668
  log_putは、ログにmessageを出力します。
15657
15669
  .SS Syntax
@@ -15731,8 +15743,7 @@ debug
15731
15743
  .sp
15732
15744
  log_reopen \- ログファイルの再読み込み
15733
15745
  .sp
15734
- Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
15735
- 入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
15746
+ Groonga組込コマンドの一つであるlog_reopenについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
15736
15747
  .sp
15737
15748
  log_reopenは、ログファイルを再読み込みします。
15738
15749
  .sp
@@ -19501,11 +19512,9 @@ See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
19501
19512
  .sp
19502
19513
  quit \- セッション終了
19503
19514
  .sp
19504
- Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、
19505
- またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
19515
+ Groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
19506
19516
  .sp
19507
- quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切りま
19508
- す。
19517
+ quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切ります。
19509
19518
  .SS Syntax
19510
19519
  .INDENT 0.0
19511
19520
  .INDENT 3.5
@@ -20750,11 +20759,11 @@ be matched against both \fBquery\fP and \fBfilter\fP\&. If both \fBquery\fP
20750
20759
  and \fBfilter\fP aren\(aqt specified, all records are selected.
20751
20760
  .SS \fBmatch_columns\fP
20752
20761
  .sp
20753
- Specifies the default target column for fulltext search by
20754
- \fBquery\fP parameter value. A target column for fulltext search can be
20755
- specified in \fBquery\fP parameter. The difference between
20756
- \fBmatch_columns\fP and \fBquery\fP is whether weight is supported or
20757
- not. \fBmatch_columns\fP supports weight but \fBquery\fP doesn\(aqt.
20762
+ Specifies the default target column for fulltext search by \fBquery\fP
20763
+ parameter value. A target column for fulltext search can be specified
20764
+ in \fBquery\fP parameter. The difference between \fBmatch_columns\fP and
20765
+ \fBquery\fP is whether weight and score function are supported or
20766
+ not. \fBmatch_columns\fP supports them but \fBquery\fP doesn\(aqt.
20758
20767
  .sp
20759
20768
  Weight is relative importance of target column. A higher weight target
20760
20769
  column gets more hit score rather than a lower weight target column
@@ -20929,6 +20938,12 @@ columns for fulltext search are \fB_key\fP and \fBcontent\fP columns and
20929
20938
  is 1. This weight allocation means \fB_key\fP column value is more
20930
20939
  important rather than \fBcontent\fP column value. In this example, title
20931
20940
  of blog entry is more important rather thatn content of blog entry.
20941
+ .sp
20942
+ You can also specify score function. See \fB/reference/scorer\fP for
20943
+ details.
20944
+ .sp
20945
+ Note that score function isn\(aqt related to \fI\%scorer\fP
20946
+ parameter.
20932
20947
  .SS \fBquery\fP
20933
20948
  .sp
20934
20949
  Specifies the query text. Normally, it is used for fulltext search
@@ -26079,12 +26094,14 @@ shutdown
26079
26094
  .SS \fBstatus\fP
26080
26095
  .SS Summary
26081
26096
  .sp
26082
- status \- groongaプロセスの状態表示
26097
+ \fBstatus\fP returns the current status of the context that processes
26098
+ the request.
26083
26099
  .sp
26084
- Groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
26085
- .sp
26086
- statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。
26100
+ Context is an unit that processes requests. Normally, context is
26101
+ created for each thread.
26087
26102
  .SS Syntax
26103
+ .sp
26104
+ This command takes no parameters:
26088
26105
  .INDENT 0.0
26089
26106
  .INDENT 3.5
26090
26107
  .sp
@@ -26097,6 +26114,8 @@ status
26097
26114
  .UNINDENT
26098
26115
  .SS Usage
26099
26116
  .sp
26117
+ Here is a simple example:
26118
+ .sp
26100
26119
  Execution example:
26101
26120
  .INDENT 0.0
26102
26121
  .INDENT 3.5
@@ -26111,56 +26130,206 @@ status
26111
26130
  # 0.000355720520019531
26112
26131
  # ],
26113
26132
  # {
26114
- # "uptime": 1,
26133
+ # "uptime": 0,
26115
26134
  # "max_command_version": 2,
26116
- # "n_queries": 0,
26135
+ # "start_time": 1441980651,
26117
26136
  # "cache_hit_rate": 0.0,
26118
- # "version": "5.0.6\-128\-g8029ddb",
26137
+ # "version": "5.0.7\-126\-gb6fd7f7",
26119
26138
  # "alloc_count": 206,
26120
26139
  # "command_version": 1,
26121
- # "starttime": 1439994621,
26122
- # "default_command_version": 1
26140
+ # "starttime": 1441980651,
26141
+ # "default_command_version": 1,
26142
+ # "n_queries": 0
26123
26143
  # }
26124
26144
  # ]
26125
26145
  .ft P
26126
26146
  .fi
26127
26147
  .UNINDENT
26128
26148
  .UNINDENT
26149
+ .sp
26150
+ It returns the current status of the context that processes the
26151
+ request. See \fI\%Return value\fP for details.
26129
26152
  .SS Parameters
26130
26153
  .sp
26131
- ありません。
26154
+ This section describes all parameters.
26155
+ .SS Required parameters
26156
+ .sp
26157
+ There is no required parameters.
26158
+ .SS Optional parameters
26159
+ .sp
26160
+ There is no optional parameters.
26132
26161
  .SS Return value
26162
+ .sp
26163
+ The command returns the current status as an object:
26133
26164
  .INDENT 0.0
26134
26165
  .INDENT 3.5
26135
26166
  .sp
26136
26167
  .nf
26137
26168
  .ft C
26138
- 下記の項目がハッシュ形式で出力されます。
26169
+ [
26170
+ HEADER,
26171
+ {
26172
+ "alloc_count": ALLOC_COUNT,
26173
+ "cache_hit_rate": CACHE_HIT_RATE,
26174
+ "command_version": COMMAND_VERSION,
26175
+ "default_command_version": DEFAULT_COMMAND_VERSION,
26176
+ "max_command_version": MAX_COMMAND_VERSION,
26177
+ "n_queries": N_QUERIES,
26178
+ "start_time": START_TIME,
26179
+ "starttime": STARTTIME,
26180
+ "uptime": UPTIME,
26181
+ "version": VERSION
26182
+ }
26183
+ ]
26139
26184
  .ft P
26140
26185
  .fi
26141
26186
  .UNINDENT
26142
26187
  .UNINDENT
26143
26188
  .sp
26189
+ See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
26190
+ .sp
26191
+ Here are descriptions about values. See \fI\%Usage\fP for real
26192
+ values:
26193
+ .TS
26194
+ center;
26195
+ |l|l|l|.
26196
+ _
26197
+ T{
26198
+ Key
26199
+ T} T{
26200
+ Description
26201
+ T} T{
26202
+ Example
26203
+ T}
26204
+ _
26205
+ T{
26144
26206
  \fBalloc_count\fP
26207
+ T} T{
26208
+ The number of allocated memory blocks that aren\(aqt freed. If
26209
+ this value is continuously increased, there may be a memory
26210
+ leak.
26211
+ T} T{
26212
+ \fB1400\fP
26213
+ T}
26214
+ _
26215
+ T{
26216
+ \fBcache_hit_rate\fP
26217
+ T} T{
26218
+ Percentage of cache used responses in the Groonga process. If
26219
+ there are 10 requests and 7 responses are created from cache,
26220
+ \fBcache_hit_rate\fP is \fB70.0\fP\&. The percentage is computed from
26221
+ only requests that use commands that support cache.
26222
+ .sp
26223
+ Here are commands that support cache:
26145
26224
  .INDENT 0.0
26146
26225
  .INDENT 3.5
26147
- groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。Groongaをbuildする際に、configureオプションで \-\-enable\-exact\-alloc\-countが指定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合があります。
26226
+ .INDENT 0.0
26227
+ .IP \(bu 2
26228
+ \fBselect\fP
26229
+ .IP \(bu 2
26230
+ \fBlogical_select\fP
26231
+ .IP \(bu 2
26232
+ \fBlogical_range_filter\fP
26233
+ .IP \(bu 2
26234
+ \fBlogical_count\fP
26148
26235
  .UNINDENT
26149
26236
  .UNINDENT
26237
+ .UNINDENT
26238
+ T} T{
26239
+ \fB29.4\fP
26240
+ T}
26241
+ _
26242
+ T{
26243
+ \fBcommand_version\fP
26244
+ T} T{
26245
+ The \fB/reference/command/command_version\fP that is used by
26246
+ the context.
26247
+ T} T{
26248
+ \fB1\fP
26249
+ T}
26250
+ _
26251
+ T{
26252
+ \fBdefault_command_version\fP
26253
+ T} T{
26254
+ The default \fB/reference/command/command_version\fP of the
26255
+ Groonga process.
26256
+ T} T{
26257
+ \fB1\fP
26258
+ T}
26259
+ _
26260
+ T{
26261
+ \fBmax_command_version\fP
26262
+ T} T{
26263
+ The max \fB/reference/command/command_version\fP of the
26264
+ Groonga process.
26265
+ T} T{
26266
+ \fB2\fP
26267
+ T}
26268
+ _
26269
+ T{
26270
+ \fBn_queries\fP
26271
+ T} T{
26272
+ The number of requests processed by the Groonga process. It
26273
+ counts only requests that use commands that support cache.
26150
26274
  .sp
26151
- \fBstarttime\fP
26275
+ Here are commands that support cache:
26152
26276
  .INDENT 0.0
26153
26277
  .INDENT 3.5
26154
- groongaプロセスが起動した時刻のtvsec値を返します。
26278
+ .INDENT 0.0
26279
+ .IP \(bu 2
26280
+ \fBselect\fP
26281
+ .IP \(bu 2
26282
+ \fBlogical_select\fP
26283
+ .IP \(bu 2
26284
+ \fBlogical_range_filter\fP
26285
+ .IP \(bu 2
26286
+ \fBlogical_count\fP
26287
+ .UNINDENT
26155
26288
  .UNINDENT
26156
26289
  .UNINDENT
26290
+ T} T{
26291
+ \fB29\fP
26292
+ T}
26293
+ _
26294
+ T{
26295
+ \fBstart_time\fP
26296
+ T} T{
26297
+ New in version 5.0.8.
26298
+
26157
26299
  .sp
26300
+ The time that the Groonga process started in UNIX time.
26301
+ T} T{
26302
+ \fB1441761403\fP
26303
+ T}
26304
+ _
26305
+ T{
26306
+ \fBstarttime\fP
26307
+ T} T{
26308
+ Deprecated since version 5.0.8: Use \fBstart_time\fP instead.
26309
+ T} T{
26310
+ \fB1441761403\fP
26311
+ T}
26312
+ _
26313
+ T{
26158
26314
  \fBuptime\fP
26159
- .INDENT 0.0
26160
- .INDENT 3.5
26161
- groongaプロセスが起動してから経過した秒数を返します。
26162
- .UNINDENT
26163
- .UNINDENT
26315
+ T} T{
26316
+ The elapsed time since the Groonga process started in second.
26317
+ .sp
26318
+ For example, \fB216639\fP means that \fB2.5\fP (= \fB216639 / 60 /
26319
+ 60 / 24 = 2.507\fP) days.
26320
+ T} T{
26321
+ \fB216639\fP
26322
+ T}
26323
+ _
26324
+ T{
26325
+ \fBversion\fP
26326
+ T} T{
26327
+ The version of the Groonga process.
26328
+ T} T{
26329
+ \fB5.0.7\fP
26330
+ T}
26331
+ _
26332
+ .TE
26164
26333
  .SS \fBsuggest\fP
26165
26334
  .sp
26166
26335
  \fBNOTE:\fP
@@ -27124,8 +27293,7 @@ See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
27124
27293
  .sp
27125
27294
  table_list \- DBに定義されているテーブルをリスト表示
27126
27295
  .sp
27127
- Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準
27128
- 入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
27296
+ Groonga組込コマンドの一つであるtable_listについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
27129
27297
  .sp
27130
27298
  table_listは、DBに定義されているテーブルのリストを表示します。
27131
27299
  .SS Syntax
@@ -27319,12 +27487,12 @@ valueが属する型
27319
27487
  .SS \fBtable_remove\fP
27320
27488
  .SS Summary
27321
27489
  .sp
27322
- table_remove \- テーブルの削除
27323
- .sp
27324
- groonga組込コマンドの一つであるtable_removeについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
27325
- .sp
27326
- table_removeはテーブルと定義されているカラムを削除します。カラムに付随するインデックスも再帰的に削除されます。
27490
+ \fBtable_remove\fP removes a table and its columns. If there are one or
27491
+ more indexes against key of the table and its columns, they are also
27492
+ removed.
27327
27493
  .SS Syntax
27494
+ .sp
27495
+ This command takes only one required parameter:
27328
27496
  .INDENT 0.0
27329
27497
  .INDENT 3.5
27330
27498
  .sp
@@ -27336,42 +27504,422 @@ table_remove name
27336
27504
  .UNINDENT
27337
27505
  .UNINDENT
27338
27506
  .SS Usage
27507
+ .sp
27508
+ You just specify table name that you want to remove. \fBtable_remove\fP
27509
+ removes the table and its columns. If the table and its columns are
27510
+ indexed, all index columns for the table and its columns are also
27511
+ removed.
27512
+ .sp
27513
+ This section describes about the followings:
27514
+ .INDENT 0.0
27515
+ .INDENT 3.5
27516
+ .INDENT 0.0
27517
+ .IP \(bu 2
27518
+ Basic usage
27519
+ .IP \(bu 2
27520
+ Unremovable cases
27521
+ .IP \(bu 2
27522
+ Decreases used resources
27523
+ .UNINDENT
27524
+ .UNINDENT
27525
+ .UNINDENT
27526
+ .SS Basic usage
27527
+ .sp
27528
+ Let\(aqs think about the following case:
27529
+ .INDENT 0.0
27530
+ .INDENT 3.5
27531
+ .INDENT 0.0
27532
+ .IP \(bu 2
27533
+ There is one table \fBEntries\fP\&.
27534
+ .IP \(bu 2
27535
+ \fBEntries\fP table has some columns.
27536
+ .IP \(bu 2
27537
+ \fBEntries\fP table\(aqs key is indexed.
27538
+ .IP \(bu 2
27539
+ A column of \fBEntries\fP is indexed.
27540
+ .UNINDENT
27541
+ .UNINDENT
27542
+ .UNINDENT
27543
+ .sp
27544
+ Here are commands that create \fBEntries\fP table:
27545
+ .sp
27546
+ Execution example:
27339
27547
  .INDENT 0.0
27340
27548
  .INDENT 3.5
27341
27549
  .sp
27342
27550
  .nf
27343
27551
  .ft C
27344
- table_remove Entry
27345
-
27346
- [true]
27552
+ table_create Entries TABLE_HASH_KEY UInt32
27553
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27554
+ column_create Entries title COLUMN_SCALAR ShortText
27555
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27556
+ column_create Entries content COLUMN_SCALAR Text
27557
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27347
27558
  .ft P
27348
27559
  .fi
27349
27560
  .UNINDENT
27350
27561
  .UNINDENT
27351
- .SS Parameters
27562
+ .sp
27563
+ Here are commands that create an index for \fBEntries\fP table\(aqs key:
27564
+ .sp
27565
+ Execution example:
27352
27566
  .INDENT 0.0
27353
- .TP
27354
- .B \fBname\fP
27355
- 削除対象のカラムが定義されているテーブルの名前を指定します。
27567
+ .INDENT 3.5
27568
+ .sp
27569
+ .nf
27570
+ .ft C
27571
+ table_create EntryKeys TABLE_HASH_KEY UInt32
27572
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27573
+ column_create EntryKeys key_index COLUMN_INDEX Entries _key
27574
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27575
+ .ft P
27576
+ .fi
27356
27577
  .UNINDENT
27357
- .SS Return value
27578
+ .UNINDENT
27579
+ .sp
27580
+ Here are commands that create an index for \fBEntries\fP table\(aqs column:
27581
+ .sp
27582
+ Execution example:
27358
27583
  .INDENT 0.0
27359
27584
  .INDENT 3.5
27360
27585
  .sp
27361
27586
  .nf
27362
27587
  .ft C
27363
- [成功かどうかのフラグ]
27588
+ table_create Terms TABLE_PAT_KEY ShortText \e
27589
+ \-\-default_tokenizer TokenBigram \e
27590
+ \-\-normalizer NormalizerAuto
27591
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27592
+ column_create Terms content_index COLUMN_INDEX Entries content
27593
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27364
27594
  .ft P
27365
27595
  .fi
27366
27596
  .UNINDENT
27367
27597
  .UNINDENT
27368
27598
  .sp
27369
- \fB成功かどうかのフラグ\fP
27599
+ Let\(aqs confirm the current schema before running \fBtable_remove\fP:
27600
+ .sp
27601
+ Execution example:
27370
27602
  .INDENT 0.0
27371
27603
  .INDENT 3.5
27372
- エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
27604
+ .sp
27605
+ .nf
27606
+ .ft C
27607
+ dump
27608
+ # table_create Entries TABLE_HASH_KEY UInt32
27609
+ # column_create Entries content COLUMN_SCALAR Text
27610
+ # column_create Entries title COLUMN_SCALAR ShortText
27611
+ #
27612
+ # table_create EntryKeys TABLE_HASH_KEY UInt32
27613
+ #
27614
+ # table_create Terms TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto
27615
+ #
27616
+ # column_create EntryKeys key_index COLUMN_INDEX Entries _key
27617
+ # column_create Terms content_index COLUMN_INDEX Entries content
27618
+ .ft P
27619
+ .fi
27620
+ .UNINDENT
27621
+ .UNINDENT
27622
+ .sp
27623
+ If you remove \fBEntries\fP table, the following tables and columns are
27624
+ removed:
27625
+ .INDENT 0.0
27626
+ .INDENT 3.5
27627
+ .INDENT 0.0
27628
+ .IP \(bu 2
27629
+ \fBEntries\fP
27630
+ .IP \(bu 2
27631
+ \fBEntries.title\fP
27632
+ .IP \(bu 2
27633
+ \fBEntries.context\fP
27634
+ .IP \(bu 2
27635
+ \fBEntryKeys.key_index\fP
27636
+ .IP \(bu 2
27637
+ \fBTerms.content_index\fP
27638
+ .UNINDENT
27639
+ .UNINDENT
27640
+ .UNINDENT
27641
+ .sp
27642
+ The following tables (lexicons) aren\(aqt removed:
27643
+ .INDENT 0.0
27644
+ .INDENT 3.5
27645
+ .INDENT 0.0
27646
+ .IP \(bu 2
27647
+ \fBEntryKeys\fP
27648
+ .IP \(bu 2
27649
+ \fBTerms\fP
27650
+ .UNINDENT
27651
+ .UNINDENT
27652
+ .UNINDENT
27653
+ .sp
27654
+ Let\(aqs run \fBtable_remove\fP:
27655
+ .sp
27656
+ Execution example:
27657
+ .INDENT 0.0
27658
+ .INDENT 3.5
27659
+ .sp
27660
+ .nf
27661
+ .ft C
27662
+ table_remove Entries
27663
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27664
+ .ft P
27665
+ .fi
27666
+ .UNINDENT
27667
+ .UNINDENT
27668
+ .sp
27669
+ Here is schema after \fBtable_remove\fP\&. Only \fBEntryKeys\fP and
27670
+ \fBTerms\fP exist:
27671
+ .sp
27672
+ Execution example:
27673
+ .INDENT 0.0
27674
+ .INDENT 3.5
27675
+ .sp
27676
+ .nf
27677
+ .ft C
27678
+ dump
27679
+ # table_create EntryKeys TABLE_HASH_KEY UInt32
27680
+ #
27681
+ # table_create Terms TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto
27682
+ .ft P
27683
+ .fi
27684
+ .UNINDENT
27685
+ .UNINDENT
27686
+ .SS Unremovable cases
27687
+ .sp
27688
+ There are some unremovable cases:
27689
+ .INDENT 0.0
27690
+ .INDENT 3.5
27691
+ .INDENT 0.0
27692
+ .IP \(bu 2
27693
+ One or more tables use the table as key type.
27694
+ .IP \(bu 2
27695
+ One or more columns use the table as value type.
27696
+ .UNINDENT
27697
+ .UNINDENT
27698
+ .UNINDENT
27699
+ .sp
27700
+ Both cases blocks dangling references. If the table is referenced as
27701
+ type and the table is removed, tables and columns that refer the table
27702
+ are broken.
27703
+ .sp
27704
+ If the target table satisfies one of them, \fBtable_remove\fP is
27705
+ failed. The target table and its columns aren\(aqt removed.
27706
+ .sp
27707
+ Here is an example for the table is used as key type case.
27708
+ .sp
27709
+ The following commands create a table to be removed and a table that
27710
+ uses the table to be removed as key type:
27711
+ .sp
27712
+ Execution example:
27713
+ .INDENT 0.0
27714
+ .INDENT 3.5
27715
+ .sp
27716
+ .nf
27717
+ .ft C
27718
+ table_create ReferencedByTable TABLE_HASH_KEY ShortText
27719
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27720
+ table_create ReferenceTable TABLE_HASH_KEY ReferencedByTable
27721
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27722
+ .ft P
27723
+ .fi
27724
+ .UNINDENT
27725
+ .UNINDENT
27726
+ .sp
27727
+ \fBtable_remove\fP against \fBReferencedByTable\fP is failed:
27728
+ .sp
27729
+ Execution example:
27730
+ .INDENT 0.0
27731
+ .INDENT 3.5
27732
+ .sp
27733
+ .nf
27734
+ .ft C
27735
+ table_remove ReferencedByTable
27736
+ # [
27737
+ # [
27738
+ # \-2,
27739
+ # 1337566253.89858,
27740
+ # 0.000355720520019531,
27741
+ # "[table][remove] a table that references the table exists: <ReferenceTable._key> \-> <ReferencedByTable>",
27742
+ # [
27743
+ # [
27744
+ # "is_removable_table",
27745
+ # "db.c",
27746
+ # 8480
27747
+ # ]
27748
+ # ]
27749
+ # ],
27750
+ # false
27751
+ # ]
27752
+ .ft P
27753
+ .fi
27754
+ .UNINDENT
27755
+ .UNINDENT
27756
+ .sp
27757
+ You need to remove \fBReferenceTable\fP before you remove
27758
+ \fBReferencedByTable\fP:
27759
+ .sp
27760
+ Execution example:
27761
+ .INDENT 0.0
27762
+ .INDENT 3.5
27763
+ .sp
27764
+ .nf
27765
+ .ft C
27766
+ table_remove ReferenceTable
27767
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27768
+ table_remove ReferencedByTable
27769
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27770
+ .ft P
27771
+ .fi
27772
+ .UNINDENT
27773
+ .UNINDENT
27774
+ .sp
27775
+ Here is an example for the table is used as value type case.
27776
+ .sp
27777
+ The following commands create a table to be removed and a column that
27778
+ uses the table to be removed as value type:
27779
+ .sp
27780
+ Execution example:
27781
+ .INDENT 0.0
27782
+ .INDENT 3.5
27783
+ .sp
27784
+ .nf
27785
+ .ft C
27786
+ table_create ReferencedByColumn TABLE_HASH_KEY ShortText
27787
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27788
+ table_create Table TABLE_NO_KEY
27789
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27790
+ column_create Table reference_column COLUMN_SCALAR ReferencedByColumn
27791
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27792
+ .ft P
27793
+ .fi
27794
+ .UNINDENT
27795
+ .UNINDENT
27796
+ .sp
27797
+ \fBtable_remove\fP against \fBReferencedByColumn\fP is failed:
27798
+ .sp
27799
+ Execution example:
27800
+ .INDENT 0.0
27801
+ .INDENT 3.5
27802
+ .sp
27803
+ .nf
27804
+ .ft C
27805
+ table_remove ReferencedByColumn
27806
+ # [
27807
+ # [
27808
+ # \-2,
27809
+ # 1337566253.89858,
27810
+ # 0.000355720520019531,
27811
+ # "[table][remove] a column that references the table exists: <Table.reference_column> \-> <ReferencedByColumn>",
27812
+ # [
27813
+ # [
27814
+ # "is_removable_table",
27815
+ # "db.c",
27816
+ # 8500
27817
+ # ]
27818
+ # ]
27819
+ # ],
27820
+ # false
27821
+ # ]
27822
+ .ft P
27823
+ .fi
27824
+ .UNINDENT
27825
+ .UNINDENT
27826
+ .sp
27827
+ You need to remove \fBTable.reference_column\fP before you remove
27828
+ \fBReferencedByColumn\fP:
27829
+ .sp
27830
+ Execution example:
27831
+ .INDENT 0.0
27832
+ .INDENT 3.5
27833
+ .sp
27834
+ .nf
27835
+ .ft C
27836
+ column_remove Table reference_column
27837
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27838
+ table_remove ReferencedByColumn
27839
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27840
+ .ft P
27841
+ .fi
27373
27842
  .UNINDENT
27374
27843
  .UNINDENT
27844
+ .SS Decreases used resources
27845
+ .sp
27846
+ \fBtable_remove\fP opens all tables and columns in database to check
27847
+ \fI\%Unremovable cases\fP\&.
27848
+ .sp
27849
+ If you have many tables and columns, \fBtable_remove\fP may use many
27850
+ resources. There is a workaround to avoid the case.
27851
+ .sp
27852
+ \fBtable_remove\fP closes temporary opened tables and columns for
27853
+ checking when the max number of threads is \fB1\fP\&.
27854
+ .sp
27855
+ You can confirm and change the current max number of threads by
27856
+ \fBthread_limit\fP\&.
27857
+ .sp
27858
+ The feature is used in the following case:
27859
+ .sp
27860
+ Execution example:
27861
+ .INDENT 0.0
27862
+ .INDENT 3.5
27863
+ .sp
27864
+ .nf
27865
+ .ft C
27866
+ table_create Entries TABLE_NO_KEY
27867
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27868
+ thread_limit 2
27869
+ # [[0, 1337566253.89858, 0.000355720520019531], 1]
27870
+ table_remove Entries
27871
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27872
+ .ft P
27873
+ .fi
27874
+ .UNINDENT
27875
+ .UNINDENT
27876
+ .sp
27877
+ The feature isn\(aqt used in the following case:
27878
+ .sp
27879
+ Execution example:
27880
+ .INDENT 0.0
27881
+ .INDENT 3.5
27882
+ .sp
27883
+ .nf
27884
+ .ft C
27885
+ table_create Entries TABLE_NO_KEY
27886
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27887
+ thread_limit 2
27888
+ # [[0, 1337566253.89858, 0.000355720520019531], 1]
27889
+ table_remove Entries
27890
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
27891
+ .ft P
27892
+ .fi
27893
+ .UNINDENT
27894
+ .UNINDENT
27895
+ .SS Parameters
27896
+ .sp
27897
+ This section describes all parameters.
27898
+ .SS Required parameters
27899
+ .sp
27900
+ There is only one required parameters.
27901
+ .SS \fBname\fP
27902
+ .sp
27903
+ Specifies the table name to be removed.
27904
+ .sp
27905
+ See \fI\%Usage\fP how to use this parameter.
27906
+ .SS Return value
27907
+ .sp
27908
+ The command returns \fBtrue\fP as body on success such as:
27909
+ .INDENT 0.0
27910
+ .INDENT 3.5
27911
+ .sp
27912
+ .nf
27913
+ .ft C
27914
+ [HEADER, true]
27915
+ .ft P
27916
+ .fi
27917
+ .UNINDENT
27918
+ .UNINDENT
27919
+ .sp
27920
+ If the command fails, error details are in \fBHEADER\fP\&.
27921
+ .sp
27922
+ See \fB/reference/command/output_format\fP for \fBHEADER\fP\&.
27375
27923
  .SS \fBtable_rename\fP
27376
27924
  .SS Summary
27377
27925
  .sp
@@ -29328,138 +29876,68 @@ If you specify other table to column type, this column becomes reference key of
29328
29876
  .SS Builtin types
29329
29877
  .sp
29330
29878
  The following types are defined as builtin types.
29879
+ .SS \fBBool\fP
29331
29880
  .sp
29332
- \fBObject\fP
29333
- .INDENT 0.0
29334
- .INDENT 3.5
29335
- All records that belong to any table. [1]
29336
- .UNINDENT
29337
- .UNINDENT
29338
- .sp
29339
- \fBBool\fP
29340
- .INDENT 0.0
29341
- .INDENT 3.5
29342
29881
  Boolean type. The possible values are true and false. (default: false)
29343
29882
  .sp
29344
29883
  To store a value by \fB/reference/commands/load\fP command, becomes false if you specify false, 0 or empty string, becomes true if you specify others.
29345
- .UNINDENT
29346
- .UNINDENT
29884
+ .SS \fBInt8\fP
29347
29885
  .sp
29348
- \fBInt8\fP
29349
- .INDENT 0.0
29350
- .INDENT 3.5
29351
29886
  Signed 8bit integer. It\(aqs \-128 or more and 127 or less. (default: 0)
29352
- .UNINDENT
29353
- .UNINDENT
29887
+ .SS \fBUInt8\fP
29354
29888
  .sp
29355
- \fBUInt8\fP
29356
- .INDENT 0.0
29357
- .INDENT 3.5
29358
29889
  Unsigned 8bit integer. Is\(aqt 0 or more and 255 or less. (default: 0)
29359
- .UNINDENT
29360
- .UNINDENT
29890
+ .SS \fBInt16\fP
29361
29891
  .sp
29362
- \fBInt16\fP
29363
- .INDENT 0.0
29364
- .INDENT 3.5
29365
29892
  Signed 16bit integer. It\(aqs \-32,768 or more and 32,767 or less. (default: 0)
29366
- .UNINDENT
29367
- .UNINDENT
29893
+ .SS \fBUInt16\fP
29368
29894
  .sp
29369
- \fBUInt16\fP
29370
- .INDENT 0.0
29371
- .INDENT 3.5
29372
29895
  Unsigned 16bit integer. It\(aqs 0 or more and 65,535 or less. (default: 0)
29373
- .UNINDENT
29374
- .UNINDENT
29896
+ .SS \fBInt32\fP
29375
29897
  .sp
29376
- \fBInt32\fP
29377
- .INDENT 0.0
29378
- .INDENT 3.5
29379
29898
  Signed 32bit integer. It\(aqs \-2,147,483,648 or more and 2,147,483,647 or less. (default: 0)
29380
- .UNINDENT
29381
- .UNINDENT
29899
+ .SS \fBUInt32\fP
29382
29900
  .sp
29383
- \fBUInt32\fP
29384
- .INDENT 0.0
29385
- .INDENT 3.5
29386
29901
  Unsigned 32bit integer. It\(aqs 0 or more and 4,294,967,295 or less. (default: 0)
29387
- .UNINDENT
29388
- .UNINDENT
29902
+ .SS \fBInt64\fP
29389
29903
  .sp
29390
- \fBInt64\fP
29391
- .INDENT 0.0
29392
- .INDENT 3.5
29393
29904
  Signed 64bit integer. It\(aqs \-9,223,372,036,854,775,808 or more and 9,223,372,036,854,775,807 or less. (default: 0)
29394
- .UNINDENT
29395
- .UNINDENT
29905
+ .SS \fBUInt64\fP
29396
29906
  .sp
29397
- \fBUInt64\fP
29398
- .INDENT 0.0
29399
- .INDENT 3.5
29400
29907
  Unsigned 64bit integer. It\(aqs 0 or more and 18,446,744,073,709,551,615 or less. (default: 0)
29401
- .UNINDENT
29402
- .UNINDENT
29908
+ .SS \fBFloat\fP
29403
29909
  .sp
29404
- \fBFloat\fP
29405
- .INDENT 0.0
29406
- .INDENT 3.5
29407
29910
  Double\-precision floating\-point number of IEEE 754 as a real number. (default: 0.0)
29408
29911
  .sp
29409
29912
  See \fI\%IEEE floating point \- Wikipedia, the free encyclopedia\fP or \fI\%IEEE 754: Standard for Binary Floating\-Point\fP for details of IEEE 754 format.
29410
- .UNINDENT
29411
- .UNINDENT
29913
+ .SS \fBTime\fP
29412
29914
  .sp
29413
- \fBTime\fP
29414
- .INDENT 0.0
29415
- .INDENT 3.5
29416
29915
  Date and Time, the number of seconds that have elapsed since 1970\-01\-01 00:00:00 by 64 bit signed integer. (default: 0)
29417
29916
  .sp
29418
29917
  To store a value by \fB/reference/commands/load\fP command, specifies the number of elapsed seconds since 1970\-01\-01 00:00:00. To specify the detailed date and time than seconds, use the decimal.
29419
- .UNINDENT
29420
- .UNINDENT
29918
+ .SS \fBShortText\fP
29421
29919
  .sp
29422
- \fBShortText\fP
29423
- .INDENT 0.0
29424
- .INDENT 3.5
29425
29920
  String of 4,095 or less bytes. (default: "")
29426
- .UNINDENT
29427
- .UNINDENT
29921
+ .SS \fBText\fP
29428
29922
  .sp
29429
- \fBText\fP
29430
- .INDENT 0.0
29431
- .INDENT 3.5
29432
29923
  String of 65,535 or less bytes. (default: "")
29433
- .UNINDENT
29434
- .UNINDENT
29924
+ .SS \fBLongText\fP
29435
29925
  .sp
29436
- \fBLongText\fP
29437
- .INDENT 0.0
29438
- .INDENT 3.5
29439
29926
  String of 2,147,483,647 or less bytes. (default: "")
29440
- .UNINDENT
29441
- .UNINDENT
29927
+ .SS \fBTokyoGeoPoint\fP
29442
29928
  .sp
29443
- \fBTokyoGeoPoint\fP
29444
- .INDENT 0.0
29445
- .INDENT 3.5
29446
29929
  旧日本測地系による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)
29447
29930
  .sp
29448
29931
  度分秒形式でx度y分z秒となる経度・緯度は、(((x * 60) + y) * 60 + z) * 1000という計算式でミリ秒単位へと変換されます。
29932
+ .sp
29449
29933
  \fB/reference/commands/load\fP コマンドで値を格納するときは、"ミリ秒単位の経度xミリ秒単位の緯度" もしくは "経度の小数表記x緯度の小数表記" という文字列表現を使って指定します。経度と緯度の区切りとしては、\(aqx\(aq のほかに \(aq,\(aq を使うことができます。
29450
29934
  .sp
29451
29935
  測地系の詳細については、 \fI\%測地系 \- Wikipedia\fP を参照してください。
29452
- .UNINDENT
29453
- .UNINDENT
29936
+ .SS \fBWGS84GeoPoint\fP
29454
29937
  .sp
29455
- \fBWGS84GeoPoint\fP
29456
- .INDENT 0.0
29457
- .INDENT 3.5
29458
29938
  世界測地系(World Geodetic System, WGS 84)による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)
29459
29939
  .sp
29460
29940
  度分秒形式からミリ秒形式への変換方法や \fB/reference/commands/load\fP コマンドにおける指定方法はTokyoGeoPointと同じです。
29461
- .UNINDENT
29462
- .UNINDENT
29463
29941
  .SS Limitations about types
29464
29942
  .SS Types that can\(aqt be specified in primary key of table
29465
29943
  .sp
@@ -29469,9 +29947,6 @@ String of 2,147,483,647 or less bytes. (default: "")
29469
29947
  Groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。
29470
29948
  .sp
29471
29949
  テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。
29472
- 脚注
29473
- .IP [1] 5
29474
- Object型はv1.2でサポートされます。
29475
29950
  .SS Tables
29476
29951
  .SS Summary
29477
29952
  .sp
@@ -33110,10 +33585,6 @@ Groonga provides TF\-IDF based scorer as
33110
33585
  \fB/reference/scorers/scorer_tf_idf\fP but doesn\(aqt provide Okapi BM25
33111
33586
  based scorer yet.
33112
33587
  .INDENT 0.0
33113
- .TP
33114
- .B orphan
33115
- .UNINDENT
33116
- .INDENT 0.0
33117
33588
  .INDENT 3.5
33118
33589
  You don\(aqt need to resolve scoring only by score function. Score
33119
33590
  function is highly depends on search query. You may be able to use
@@ -33448,18 +33919,56 @@ Because the scorer used in the \fBselect\fP command limits the maximum
33448
33919
  score value to \fB2\fP\&.
33449
33920
  .sp
33450
33921
  Here is an example that uses multiple scorers:
33922
+ .sp
33923
+ Execution example:
33451
33924
  .INDENT 0.0
33452
33925
  .INDENT 3.5
33453
33926
  .sp
33454
33927
  .nf
33455
33928
  .ft C
33456
- \&.. groonga\-command
33457
- \&.. include:: ../example/reference/scorer/usage_multiple_scorers.log
33458
- \&.. select Memos \e
33459
- \&.. \-\-match_columns "scorer_tf_idf(title) || scorer_tf_at_most(content, 2.0)" \e
33460
- \&.. \-\-query "Groonga" \e
33461
- \&.. \-\-output_columns "title, content, _score" \e
33462
- \&.. \-\-sortby "\-_score"
33929
+ select Memos \e
33930
+ \-\-match_columns "scorer_tf_idf(title) || scorer_tf_at_most(content, 2.0)" \e
33931
+ \-\-query "Groonga" \e
33932
+ \-\-output_columns "title, content, _score" \e
33933
+ \-\-sortby "\-_score"
33934
+ # [
33935
+ # [
33936
+ # 0,
33937
+ # 1337566253.89858,
33938
+ # 0.000355720520019531
33939
+ # ],
33940
+ # [
33941
+ # [
33942
+ # [
33943
+ # 2
33944
+ # ],
33945
+ # [
33946
+ # [
33947
+ # "title",
33948
+ # "ShortText"
33949
+ # ],
33950
+ # [
33951
+ # "content",
33952
+ # "Text"
33953
+ # ],
33954
+ # [
33955
+ # "_score",
33956
+ # "Int32"
33957
+ # ]
33958
+ # ],
33959
+ # [
33960
+ # "Groonga is fast",
33961
+ # "Groonga! Groonga! Groonga! Groonga is very fast!",
33962
+ # 3
33963
+ # ],
33964
+ # [
33965
+ # "Groonga is easy",
33966
+ # "Groonga is very easy full text search engine!",
33967
+ # 2
33968
+ # ]
33969
+ # ]
33970
+ # ]
33971
+ # ]
33463
33972
  .ft P
33464
33973
  .fi
33465
33974
  .UNINDENT
@@ -33471,18 +33980,56 @@ The \fB\-\-match_columns\fP uses \fBscorer_tf_idf(title)\fP and
33471
33980
  You can use the default scorer and custom scorer in the same
33472
33981
  \fB\-\-match_columns\fP\&. You can use the default scorer by just specifying
33473
33982
  a match column:
33983
+ .sp
33984
+ Execution example:
33474
33985
  .INDENT 0.0
33475
33986
  .INDENT 3.5
33476
33987
  .sp
33477
33988
  .nf
33478
33989
  .ft C
33479
- \&.. groonga\-command
33480
- \&.. include:: ../example/reference/scorer/usage_default_and_custom_scorers.log
33481
- \&.. select Memos \e
33482
- \&.. \-\-match_columns "title || scorer_tf_at_most(content, 2.0)" \e
33483
- \&.. \-\-query "Groonga" \e
33484
- \&.. \-\-output_columns "title, content, _score" \e
33485
- \&.. \-\-sortby "\-_score"
33990
+ select Memos \e
33991
+ \-\-match_columns "title || scorer_tf_at_most(content, 2.0)" \e
33992
+ \-\-query "Groonga" \e
33993
+ \-\-output_columns "title, content, _score" \e
33994
+ \-\-sortby "\-_score"
33995
+ # [
33996
+ # [
33997
+ # 0,
33998
+ # 1337566253.89858,
33999
+ # 0.000355720520019531
34000
+ # ],
34001
+ # [
34002
+ # [
34003
+ # [
34004
+ # 2
34005
+ # ],
34006
+ # [
34007
+ # [
34008
+ # "title",
34009
+ # "ShortText"
34010
+ # ],
34011
+ # [
34012
+ # "content",
34013
+ # "Text"
34014
+ # ],
34015
+ # [
34016
+ # "_score",
34017
+ # "Int32"
34018
+ # ]
34019
+ # ],
34020
+ # [
34021
+ # "Groonga is fast",
34022
+ # "Groonga! Groonga! Groonga! Groonga is very fast!",
34023
+ # 3
34024
+ # ],
34025
+ # [
34026
+ # "Groonga is easy",
34027
+ # "Groonga is very easy full text search engine!",
34028
+ # 2
34029
+ # ]
34030
+ # ]
34031
+ # ]
34032
+ # ]
33486
34033
  .ft P
33487
34034
  .fi
33488
34035
  .UNINDENT
@@ -33509,7 +34056,196 @@ New in version 5.0.1.
33509
34056
  .sp
33510
34057
  \fBscorer_tf_at_most\fP is a scorer based on TF (term frequency).
33511
34058
  .sp
33512
- TODO
34059
+ TF based scorer includes TF\-IDF based scorer has a problem for the
34060
+ following case:
34061
+ .sp
34062
+ If document contains many same keywords such as "They are keyword,
34063
+ keyword, keyword ... and keyword", the document has high score. It\(aqs
34064
+ not expected. Search engine spammer may use the technique.
34065
+ .sp
34066
+ \fBscorer_tf_at_most\fP is a TF based scorer but it can solve the case.
34067
+ .sp
34068
+ \fBscorer_tf_at_most\fP limits the maximum score value. It means that
34069
+ \fBscorer_tf_at_most\fP limits effect of a match.
34070
+ .sp
34071
+ If document contains many same keywords such as "They are keyword,
34072
+ keyword, keyword ... and keyword", \fBscorer_tf_at_most(column, 2.0)\fP
34073
+ returns at most \fB2\fP as score.
34074
+ .INDENT 0.0
34075
+ .INDENT 3.5
34076
+ You don\(aqt need to resolve scoring only by score function. Score
34077
+ function is highly depends on search query. You may be able to use
34078
+ metadata of matched record.
34079
+ .sp
34080
+ For example, Google uses \fI\%PageRank\fP for scoring. You may be
34081
+ able to use data type ("title" data are important rather than
34082
+ "memo" data), tag, geolocation and so on.
34083
+ .sp
34084
+ Please stop to think about only score function for scoring.
34085
+ .UNINDENT
34086
+ .UNINDENT
34087
+ .SS Syntax
34088
+ .sp
34089
+ This scorer has two parameters:
34090
+ .INDENT 0.0
34091
+ .INDENT 3.5
34092
+ .sp
34093
+ .nf
34094
+ .ft C
34095
+ scorer_tf_at_most(column, max)
34096
+ scorer_tf_at_most(index, max)
34097
+ .ft P
34098
+ .fi
34099
+ .UNINDENT
34100
+ .UNINDENT
34101
+ .SS Usage
34102
+ .sp
34103
+ This section describes how to use this scorer.
34104
+ .sp
34105
+ Here are a schema definition and sample data to show usage.
34106
+ .sp
34107
+ Sample schema:
34108
+ .sp
34109
+ Execution example:
34110
+ .INDENT 0.0
34111
+ .INDENT 3.5
34112
+ .sp
34113
+ .nf
34114
+ .ft C
34115
+ table_create Logs TABLE_NO_KEY
34116
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
34117
+ column_create Logs message COLUMN_SCALAR Text
34118
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
34119
+ table_create Terms TABLE_PAT_KEY ShortText \e
34120
+ \-\-default_tokenizer TokenBigram \e
34121
+ \-\-normalizer NormalizerAuto
34122
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
34123
+ column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
34124
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
34125
+ .ft P
34126
+ .fi
34127
+ .UNINDENT
34128
+ .UNINDENT
34129
+ .sp
34130
+ Sample data:
34131
+ .sp
34132
+ Execution example:
34133
+ .INDENT 0.0
34134
+ .INDENT 3.5
34135
+ .sp
34136
+ .nf
34137
+ .ft C
34138
+ load \-\-table Logs
34139
+ [
34140
+ {"message": "Notice"},
34141
+ {"message": "Notice Notice"},
34142
+ {"message": "Notice Notice Notice"},
34143
+ {"message": "Notice Notice Notice Notice"},
34144
+ {"message": "Notice Notice Notice Notice Notice"}
34145
+ ]
34146
+ # [[0, 1337566253.89858, 0.000355720520019531], 5]
34147
+ .ft P
34148
+ .fi
34149
+ .UNINDENT
34150
+ .UNINDENT
34151
+ .sp
34152
+ You specify \fBscorer_tf_at_most\fP in select\-match\-columns like
34153
+ the following:
34154
+ .sp
34155
+ Execution example:
34156
+ .INDENT 0.0
34157
+ .INDENT 3.5
34158
+ .sp
34159
+ .nf
34160
+ .ft C
34161
+ select Logs \e
34162
+ \-\-match_columns "scorer_tf_at_most(message, 3.0)" \e
34163
+ \-\-query "Notice" \e
34164
+ \-\-output_columns "message, _score" \e
34165
+ \-\-sortby "\-_score"
34166
+ # [
34167
+ # [
34168
+ # 0,
34169
+ # 1337566253.89858,
34170
+ # 0.000355720520019531
34171
+ # ],
34172
+ # [
34173
+ # [
34174
+ # [
34175
+ # 5
34176
+ # ],
34177
+ # [
34178
+ # [
34179
+ # "message",
34180
+ # "Text"
34181
+ # ],
34182
+ # [
34183
+ # "_score",
34184
+ # "Int32"
34185
+ # ]
34186
+ # ],
34187
+ # [
34188
+ # "Notice Notice Notice Notice Notice",
34189
+ # 3
34190
+ # ],
34191
+ # [
34192
+ # "Notice Notice Notice Notice",
34193
+ # 3
34194
+ # ],
34195
+ # [
34196
+ # "Notice Notice Notice",
34197
+ # 3
34198
+ # ],
34199
+ # [
34200
+ # "Notice Notice",
34201
+ # 2
34202
+ # ],
34203
+ # [
34204
+ # "Notice",
34205
+ # 1
34206
+ # ]
34207
+ # ]
34208
+ # ]
34209
+ # ]
34210
+ .ft P
34211
+ .fi
34212
+ .UNINDENT
34213
+ .UNINDENT
34214
+ .sp
34215
+ If a document has three or more \fBNotice\fP terms, its score is \fB3\fP\&.
34216
+ Because the \fBselect\fP specify \fB3.0\fP as the max score.
34217
+ .sp
34218
+ If a document has one or two \fBNotice\fP terms, its score is \fB1\fP or
34219
+ \fB2\fP\&. Because the score is less than \fB3.0\fP specified as the max score.
34220
+ .SS Parameters
34221
+ .sp
34222
+ This section describes all parameters.
34223
+ .SS Required parameters
34224
+ .sp
34225
+ There is only one required parameters.
34226
+ .SS \fBcolumn\fP
34227
+ .sp
34228
+ The data column that is match target. The data column must be indexed.
34229
+ .SS \fBindex\fP
34230
+ .sp
34231
+ The index column to be used for search.
34232
+ .SS Optional parameters
34233
+ .sp
34234
+ There is no optional parameters.
34235
+ .SS Return value
34236
+ .sp
34237
+ This scorer returns score as builtin\-type\-float\&.
34238
+ .sp
34239
+ \fB/reference/commands/select\fP returns \fB_score\fP as \fBInt32\fP not
34240
+ \fBFloat\fP\&. Because it casts to \fBInt32\fP from \fBFloat\fP for keeping
34241
+ backward compatibility.
34242
+ .sp
34243
+ Score is computed as TF with limitation.
34244
+ .SS See also
34245
+ .INDENT 0.0
34246
+ .IP \(bu 2
34247
+ \fB\&../scorer\fP
34248
+ .UNINDENT
33513
34249
  .SS \fBscorer_tf_idf\fP
33514
34250
  .sp
33515
34251
  \fBNOTE:\fP
@@ -33540,17 +34276,16 @@ TF\-IDF will compute more suitable score rather than TF for many cases.
33540
34276
  But it\(aqs not perfect.
33541
34277
  .sp
33542
34278
  If document contains many same keywords such as "They are keyword,
33543
- keyword, keyword ... and keyword". It increases score by TF and
34279
+ keyword, keyword ... and keyword", it increases score by TF and
33544
34280
  TF\-IDF. Search engine spammer may use the technique. But TF\-IDF
33545
34281
  doesn\(aqt guard from the technique.
33546
34282
  .sp
33547
34283
  \fI\%Okapi BM25\fP can solve the
33548
34284
  case. But it\(aqs more slower than TF\-IDF and not implemented yet in
33549
34285
  Groonga.
33550
- .INDENT 0.0
33551
- .TP
33552
- .B orphan
33553
- .UNINDENT
34286
+ .sp
34287
+ Groonga provides \fBscorer_tf_at_most\fP scorer that can also solve
34288
+ the case.
33554
34289
  .INDENT 0.0
33555
34290
  .INDENT 3.5
33556
34291
  You don\(aqt need to resolve scoring only by score function. Score
@@ -33564,6 +34299,20 @@ able to use data type ("title" data are important rather than
33564
34299
  Please stop to think about only score function for scoring.
33565
34300
  .UNINDENT
33566
34301
  .UNINDENT
34302
+ .SS Syntax
34303
+ .sp
34304
+ This scorer has only one parameter:
34305
+ .INDENT 0.0
34306
+ .INDENT 3.5
34307
+ .sp
34308
+ .nf
34309
+ .ft C
34310
+ scorer_tf_idf(column)
34311
+ scorer_tf_idf(index)
34312
+ .ft P
34313
+ .fi
34314
+ .UNINDENT
34315
+ .UNINDENT
33567
34316
  .SS Usage
33568
34317
  .sp
33569
34318
  This section describes how to use this scorer.
@@ -33693,6 +34442,30 @@ documents that include \fBInfo\fP is \fB4\fP\&. The number of documents that
33693
34442
  include \fBError\fP is \fB1\fP\&. Term that is included in less documents
33694
34443
  means that the term is more characteristic term. Characteristic term
33695
34444
  is important term.
34445
+ .SS Parameters
34446
+ .sp
34447
+ This section describes all parameters.
34448
+ .SS Required parameters
34449
+ .sp
34450
+ There is only one required parameters.
34451
+ .SS \fBcolumn\fP
34452
+ .sp
34453
+ The data column that is match target. The data column must be indexed.
34454
+ .SS \fBindex\fP
34455
+ .sp
34456
+ The index column to be used for search.
34457
+ .SS Optional parameters
34458
+ .sp
34459
+ There is no optional parameters.
34460
+ .SS Return value
34461
+ .sp
34462
+ This scorer returns score as builtin\-type\-float\&.
34463
+ .sp
34464
+ \fB/reference/commands/select\fP returns \fB_score\fP as \fBInt32\fP not
34465
+ \fBFloat\fP\&. Because it casts to \fBInt32\fP from \fBFloat\fP for keeping
34466
+ backward compatibility.
34467
+ .sp
34468
+ Score is computed as TF\-IDF based algorithm.
33696
34469
  .SS See also
33697
34470
  .INDENT 0.0
33698
34471
  .IP \(bu 2
@@ -38226,6 +38999,26 @@ sequential search. It\(aqll be slow for many records and many texts.
38226
38999
  In some cases, pattern match by regular expression can be evaluated
38227
39000
  by index. It\(aqs very fast rather than sequential search. Patterns
38228
39001
  that can be evaluated by index are described later.
39002
+ .sp
39003
+ New in version 5.0.7: Groonga normalizes match target text by normalizer\-auto
39004
+ normalizer when Groonga doesn\(aqt use index for regular expression
39005
+ search. It means that regular expression that has upper case such
39006
+ as \fBGroonga\fP never match. Because normalizer\-auto
39007
+ normalizer normalizes all alphabets to lower case. \fBgroonga\fP
39008
+ matches to both \fBGroonga\fP and \fBgroonga\fP\&.
39009
+ .sp
39010
+ Why is match target text normalizered? It\(aqs for increasing index
39011
+ search\-able patterns. If Groonga doesn\(aqt normalize match target
39012
+ text, you need to write complex regular expression such as
39013
+ \fB[Dd][Ii][Ss][Kk]\fP and \fB(?i)disk\fP for case\-insensitive match.
39014
+ Groonga can\(aqt use index against complex regular expression.
39015
+ .sp
39016
+ If you write \fBdisk\fP regular expression for case\-insensitive
39017
+ match, Groonga can search the pattern with index. It\(aqs fast.
39018
+ .sp
39019
+ You may feel the behavior is strange. But fast search based on this
39020
+ behavior will help you.
39021
+
38229
39022
  .sp
38230
39023
  There are many regular expression syntaxes. Groonga uses the same
38231
39024
  syntax in Ruby. Because Groonga uses the same regular expression
@@ -38237,8 +39030,12 @@ means the end of text in other most regular expression syntaxes. The regular
38237
39030
  expression syntax in Ruby uses \fB\eA\fP for the beginning of text and
38238
39031
  \fB\ez\fP for the end of text.
38239
39032
  .sp
38240
- Groonga uses multiline mode since 5.0.6. It means that \fB\&.\fP matches
38241
- on \fB\en\fP\&.
39033
+ New in version 5.0.6: Groonga uses multiline mode since 5.0.6. It means that \fB\&.\fP
39034
+ matches on \fB\en\fP\&.
39035
+ .sp
39036
+ But it\(aqs meaningless. Because \fB\en\fP is removed by
39037
+ normalizer\-auto normalizer.
39038
+
38242
39039
  .sp
38243
39040
  You can use regular expression in select\-query and
38244
39041
  select\-filter options of \fB/reference/commands/select\fP
@@ -38283,7 +39080,7 @@ Execution example:
38283
39080
  .sp
38284
39081
  .nf
38285
39082
  .ft C
38286
- select Logs \-\-query \(aqmessage:~"[Dd]isk"\(aq
39083
+ select Logs \-\-query \(aqmessage:~"disk (space|full)"\(aq
38287
39084
  # [
38288
39085
  # [
38289
39086
  # 0,
@@ -38331,7 +39128,7 @@ Execution example:
38331
39128
  .sp
38332
39129
  .nf
38333
39130
  .ft C
38334
- select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq
39131
+ select Logs \-\-filter \(aqmessage @~ "disk (space|full)"\(aq
38335
39132
  # [
38336
39133
  # [
38337
39134
  # 0,
@@ -38920,7 +39717,7 @@ index.
38920
39717
  Character class syntax is \fB[...]\fP\&. Character class is useful to
38921
39718
  specify multiple characters to be matched.
38922
39719
  .sp
38923
- For example, \fB[Dd]\fP matches \fBD\fP or \fBd\fP\&.
39720
+ For example, \fB[12]\fP matches \fB1\fP or \fB2\fP\&.
38924
39721
  .sp
38925
39722
  Execution example:
38926
39723
  .INDENT 0.0
@@ -38928,7 +39725,7 @@ Execution example:
38928
39725
  .sp
38929
39726
  .nf
38930
39727
  .ft C
38931
- select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq
39728
+ select Logs \-\-filter \(aqmessage @~ "host[12]"\(aq
38932
39729
  # [
38933
39730
  # [
38934
39731
  # 0,
@@ -38938,7 +39735,7 @@ select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq
38938
39735
  # [
38939
39736
  # [
38940
39737
  # [
38941
- # 2
39738
+ # 5
38942
39739
  # ],
38943
39740
  # [
38944
39741
  # [
@@ -38951,12 +39748,24 @@ select Logs \-\-filter \(aqmessage @~ "[Dd]isk"\(aq
38951
39748
  # ]
38952
39749
  # ],
38953
39750
  # [
39751
+ # 1,
39752
+ # "host1:[error]: No memory"
39753
+ # ],
39754
+ # [
38954
39755
  # 2,
38955
39756
  # "host1:[warning]: Remained disk space is less than 30%"
38956
39757
  # ],
38957
39758
  # [
38958
39759
  # 3,
38959
39760
  # "host1:[error]: Disk full"
39761
+ # ],
39762
+ # [
39763
+ # 4,
39764
+ # "host2:[error]: No memory"
39765
+ # ],
39766
+ # [
39767
+ # 5,
39768
+ # "host2:[info]: Shutdown"
38960
39769
  # ]
38961
39770
  # ]
38962
39771
  # ]
@@ -40446,6 +41255,9 @@ You can specify multiple close tags for each three arguments.
40446
41255
  This feature is experimental. API will be changed.
40447
41256
  .UNINDENT
40448
41257
  .UNINDENT
41258
+ .sp
41259
+ New in version 4.0.5.
41260
+
40449
41261
  .SS Summary
40450
41262
  .sp
40451
41263
  \fBhighlight_html\fP tags target text. It can use to highlight the search
@@ -40456,13 +41268,13 @@ For example, a tagged text of \fBI am a groonga user. <3\fP for keyword
40456
41268
  \fBgroonga\fP is \fBI am a <span class="keyword">groonga</span> user. &lt;3\fP\&.
40457
41269
  .SS Syntax
40458
41270
  .sp
40459
- \fBhighlight_html\fP has only one parameter:
41271
+ This function has only one parameter:
40460
41272
  .INDENT 0.0
40461
41273
  .INDENT 3.5
40462
41274
  .sp
40463
41275
  .nf
40464
41276
  .ft C
40465
- highlight_html(column)
41277
+ highlight_html(text)
40466
41278
  .ft P
40467
41279
  .fi
40468
41280
  .UNINDENT
@@ -40498,8 +41310,6 @@ load \-\-table Entries
40498
41310
  \fBhighlight_html\fP can be used in only \fB\-\-output_columns\fP in
40499
41311
  \fB/reference/commands/select\fP\&.
40500
41312
  .sp
40501
- \fBhighlight_html\fP requires Groonga 4.0.5 or later.
40502
- .sp
40503
41313
  \fBhighlight_html\fP requires \fB/reference/command/command_version\fP 2
40504
41314
  or later.
40505
41315
  .sp
@@ -40589,10 +41399,16 @@ select Entries \-\-output_columns \(aqhighlight_html("Groonga is very fast fullt
40589
41399
  .UNINDENT
40590
41400
  .SS Parameters
40591
41401
  .sp
40592
- There is only one parameter \fBcolumn\fP .
40593
- .SS \fBcolumn\fP
41402
+ This section describes all parameters.
41403
+ .SS Required parameters
40594
41404
  .sp
40595
- Specifies a column of the table.
41405
+ There is only one required parameters.
41406
+ .SS \fBtext\fP
41407
+ .sp
41408
+ The text to be highlighted in HTML.
41409
+ .SS Optional parameters
41410
+ .sp
41411
+ There is no optional parameters.
40596
41412
  .SS Return value
40597
41413
  .sp
40598
41414
  \fBhighlight_html\fP returns a tagged string or \fBnull\fP\&. If
@@ -48265,6 +49081,25 @@ Normally, this function isn\(aqt needed.
48265
49081
  \fBGRN_SUCCESS\fP on success, not \fBGRN_SUCCESS\fP on error.
48266
49082
  .UNINDENT
48267
49083
  .UNINDENT
49084
+ .INDENT 0.0
49085
+ .TP
49086
+ .B grn_bool_rc grn_ctx_is_opened(grn_ctx\fI\ *ctx\fP, grn_id\fI\ id\fP)
49087
+ Checks whether object with the ID is opened or not.
49088
+ .INDENT 7.0
49089
+ .TP
49090
+ .B Parameters
49091
+ .INDENT 7.0
49092
+ .IP \(bu 2
49093
+ \fBctx\fP \-\- The context object.
49094
+ .IP \(bu 2
49095
+ \fBid\fP \-\- The object ID to be checked.
49096
+ .UNINDENT
49097
+ .TP
49098
+ .B Returns
49099
+ \fBGRN_TRUE\fP if object with the ID is opened,
49100
+ \fBGRN_FALSE\fP otherwise.
49101
+ .UNINDENT
49102
+ .UNINDENT
48268
49103
  .SS \fBgrn_db\fP
48269
49104
  .SS Summary
48270
49105
  .sp
@@ -49583,6 +50418,42 @@ dbのidに対応するpathを返します。mroonga向けに用意した内部AP
49583
50418
  .UNINDENT
49584
50419
  .UNINDENT
49585
50420
  .UNINDENT
50421
+ .INDENT 0.0
50422
+ .TP
50423
+ .B grn_rc grn_obj_cast_by_id(grn_ctx\fI\ *ctx\fP, grn_obj\fI\ *source\fP, grn_obj\fI\ *destination\fP, grn_bool\fI\ add_record_if_not_exist\fP)
50424
+ It casts value of \fBsource\fP to value with type of
50425
+ \fBdestination\fP\&. Casted value is appended to \fBdestination\fP\&.
50426
+ .sp
50427
+ Both \fBsource\fP and \fBdestination\fP must be bulk.
50428
+ .sp
50429
+ If \fBdestination\fP is a reference type bulk. (Reference type bulk
50430
+ means that type of \fBdestination\fP is a table.)
50431
+ \fBadd_record_if_not_exist\fP is used. If \fBsource\fP value doesn\(aqt
50432
+ exist in the table that is a type of \fBdestination\fP\&. The \fBsource\fP
50433
+ value is added to the table.
50434
+ .INDENT 7.0
50435
+ .TP
50436
+ .B Parameters
50437
+ .INDENT 7.0
50438
+ .IP \(bu 2
50439
+ \fBctx\fP \-\- The context object.
50440
+ .IP \(bu 2
50441
+ \fBsource\fP \-\- The bulk to be casted.
50442
+ .IP \(bu 2
50443
+ \fBdestination\fP \-\- The bulk to specify cast target type and store
50444
+ casted value.
50445
+ .IP \(bu 2
50446
+ \fBadd_record_if_not_exist\fP \-\- Whether adding a new record if
50447
+ \fBsource\fP value doesn\(aqt exist in
50448
+ cast target table. This parameter
50449
+ is only used when \fBdestination\fP
50450
+ is a reference type bulk.
50451
+ .UNINDENT
50452
+ .TP
50453
+ .B Returns
50454
+ \fBGRN_SUCCESS\fP on success, not \fBGRN_SUCCESS\fP on error.
50455
+ .UNINDENT
50456
+ .UNINDENT
49586
50457
  .SS \fBgrn_proc\fP
49587
50458
  .SS Summary
49588
50459
  .sp
@@ -52458,7 +53329,7 @@ twitterでサポートされている安心感からGroongaユーザーの拡大
52458
53329
  .sp
52459
53330
  twitterは気軽につぶやけることが重要なので、気軽にできないことを相手に要求すると萎縮されてしまう可能性があります。
52460
53331
  .sp
52461
- いきなりredmineでバグ報告をお願いすると、しりごみしてしまうかも知れません。:
53332
+ いきなりredmineでバグ報告をお願いすると、しりごみしてしまうかもしれません。:
52462
53333
  .INDENT 0.0
52463
53334
  .INDENT 3.5
52464
53335
  .sp
@@ -52470,8 +53341,7 @@ twitterは気軽につぶやけることが重要なので、気軽にできな
52470
53341
  .UNINDENT
52471
53342
  .UNINDENT
52472
53343
  .sp
52473
- Groonga関連で気軽につぶやけないとなると開発者は困っている人を見つけられないし、利用者は困ったままとなるので、双方にとって嬉しくない状態になっ
52474
- てしまいます。
53344
+ Groonga関連で気軽につぶやけないとなると開発者は困っている人を見つけられないし、利用者は困ったままとなるので、双方にとって嬉しくない状態になってしまいます。
52475
53345
  .SS 対応
52476
53346
  .sp
52477
53347
  twitterでやりとりを完結できるようにします。