rroonga 5.0.5-x86-mingw32 → 5.0.8-x86-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_sjlj-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.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  133. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +7 -8
  139. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.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.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  154. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  155. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  156. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  157. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  158. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  159. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
  160. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  161. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/news.html +190 -61
  163. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +27 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -6
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -7
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -9
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +14 -10
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +149 -28
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -7
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +263 -22
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  266. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  267. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  268. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  269. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +27 -13
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  281. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  282. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  283. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  284. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
  286. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  287. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  288. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +7 -7
  289. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  290. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  291. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.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/operations/geolocation_search.html +5 -5
  294. data/vendor/local/share/doc/groonga/en/html/reference/output.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/query_expanders/tsv.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +45 -12
  298. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +96 -30
  299. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +170 -6
  300. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +62 -21
  301. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +5 -5
  303. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
  304. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
  305. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  309. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/reference/types.html +93 -74
  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.html +5 -5
  315. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  318. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  321. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  322. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  323. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  324. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  326. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  329. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -10
  330. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  332. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
  333. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  335. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  339. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -6
  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.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  380. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  381. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  382. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +7 -8
  384. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  385. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.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.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  399. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  400. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  401. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  402. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  403. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  404. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
  405. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  406. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/news.html +159 -64
  408. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +5 -5
  416. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  418. data/vendor/local/share/doc/groonga/ja/html/reference.html +6 -6
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +26 -5
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +6 -6
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +6 -6
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -7
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +6 -6
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +7 -9
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +7 -7
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +7 -7
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +9 -8
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +143 -28
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -7
  498. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +254 -22
  499. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
  500. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
  501. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
  502. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
  503. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
  504. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  506. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  507. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  508. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  509. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  510. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  511. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  512. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +13 -9
  513. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  514. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  515. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  521. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
  522. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +27 -13
  523. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  528. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
  529. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
  530. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
  531. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  532. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  533. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +7 -7
  534. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  535. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  536. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.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/operations/geolocation_search.html +5 -5
  539. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  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/query_expanders/tsv.html +9 -9
  542. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +32 -11
  543. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +118 -84
  544. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +163 -14
  545. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +70 -53
  546. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +5 -5
  547. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +5 -5
  548. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
  549. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
  550. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
  551. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
  552. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  553. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  554. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  555. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +5 -5
  556. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +93 -86
  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.html +5 -5
  560. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  561. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  562. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  563. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  564. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  567. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  571. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  572. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  573. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  574. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -10
  575. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  576. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  577. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  578. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  580. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  584. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  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
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.11.3.1. scorer_tf_at_most &mdash; Groonga v5.0.6-226-gd7da7e7ドキュメント</title>
10
+ <title>7.11.3.1. scorer_tf_at_most &mdash; Groonga v5.0.7-264-ga2dae20ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '5.0.6-226-gd7da7e7',
18
+ VERSION: '5.0.7-264-ga2dae20',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,10 +26,10 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v5.0.6-226-gd7da7e7ドキュメント" href="../../index.html" />
30
- <link rel="up" title="7.11. Scorer" href="../scorer.html" />
29
+ <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../../index.html" />
30
+ <link rel="up" title="7.11. スコアラー" href="../scorer.html" />
31
31
  <link rel="next" title="7.11.3.2. scorer_tf_idf" href="scorer_tf_idf.html" />
32
- <link rel="prev" title="7.11. Scorer" href="../scorer.html" />
32
+ <link rel="prev" title="7.11. スコアラー" href="../scorer.html" />
33
33
  </head>
34
34
  <body role="document">
35
35
  <div class="header">
@@ -59,11 +59,11 @@
59
59
  <a href="scorer_tf_idf.html" title="7.11.3.2. scorer_tf_idf"
60
60
  accesskey="N">次へ</a> |</li>
61
61
  <li class="right" >
62
- <a href="../scorer.html" title="7.11. Scorer"
62
+ <a href="../scorer.html" title="7.11. スコアラー"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
65
65
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
- <li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11. Scorer</a> &raquo;</li>
66
+ <li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11. スコアラー</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -83,8 +83,144 @@
83
83
  </div>
84
84
  <div class="section" id="summary">
85
85
  <h2>7.11.3.1.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
- <p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> is a scorer based on TF (term frequency).</p>
87
- <p>TODO</p>
86
+ <p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> TFterm frequency。単語の出現数)ベースのスコアラーです。</p>
87
+ <p>TF-IDFベースのスコアラーを含むTFベースのスコアラーは次のケースに対して適していません。</p>
88
+ <p>文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれているとその文書のスコアーが高くなってしまいます。これは意図した挙動ではありません。検索エンジンのスパマーはこのテクニックを使うかもしれません。</p>
89
+ <p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> はTFベースのスコアラーですが、このケースを解決できます。</p>
90
+ <p><code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> はスコアーの最大値を制限します。つまり、 <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> は1つのマッチの影響を制限することができるということです。</p>
91
+ <p>文書中に「They are keyword, keyword, keyword ... and keyword」というように同じキーワードが大量に含まれていても、 <code class="docutils literal"><span class="pre">scorer_tf_at_most(column,</span> <span class="pre">2.0)</span></code> はスコアーの値として大きくても <code class="docutils literal"><span class="pre">2</span></code> しか返しません。</p>
92
+ <blockquote id="note">
93
+ <div><p>スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。</p>
94
+ <p>たとえば、Googleはスコアーの計算に <a class="reference external" href="https://ja.wikipedia.org/wiki/%E3%83%9A%E3%83%BC%E3%82%B8%E3%83%A9%E3%83%B3%E3%82%AF">ページランク</a> を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。</p>
95
+ <p>スコアーの計算をスコアー関数だけで考えることはやめましょう。</p>
96
+ </div></blockquote>
97
+ </div>
98
+ <div class="section" id="syntax">
99
+ <h2>7.11.3.1.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
100
+ <p>このスコアラーの引数は1つです。:</p>
101
+ <div class="highlight-none"><div class="highlight"><pre>scorer_tf_at_most(column, max)
102
+ scorer_tf_at_most(index, max)
103
+ </pre></div>
104
+ </div>
105
+ </div>
106
+ <div class="section" id="usage">
107
+ <h2>7.11.3.1.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
108
+ <p>このセクションではscorerの使い方について説明します。</p>
109
+ <p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
110
+ <p>サンプルスキーマ:</p>
111
+ <p>実行例:</p>
112
+ <div class="highlight-none"><div class="highlight"><pre>table_create Logs TABLE_NO_KEY
113
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
114
+ column_create Logs message COLUMN_SCALAR Text
115
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
116
+ table_create Terms TABLE_PAT_KEY ShortText \
117
+ --default_tokenizer TokenBigram \
118
+ --normalizer NormalizerAuto
119
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
120
+ column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
121
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
122
+ </pre></div>
123
+ </div>
124
+ <p>サンプルデータ:</p>
125
+ <p>実行例:</p>
126
+ <div class="highlight-none"><div class="highlight"><pre>load --table Logs
127
+ [
128
+ {&quot;message&quot;: &quot;Notice&quot;},
129
+ {&quot;message&quot;: &quot;Notice Notice&quot;},
130
+ {&quot;message&quot;: &quot;Notice Notice Notice&quot;},
131
+ {&quot;message&quot;: &quot;Notice Notice Notice Notice&quot;},
132
+ {&quot;message&quot;: &quot;Notice Notice Notice Notice Notice&quot;}
133
+ ]
134
+ # [[0, 1337566253.89858, 0.000355720520019531], 5]
135
+ </pre></div>
136
+ </div>
137
+ <p>次のように <a class="reference internal" href="../commands/select.html#select-match-columns"><span>match_columns</span></a> で <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code> を指定します。</p>
138
+ <p>実行例:</p>
139
+ <div class="highlight-none"><div class="highlight"><pre>select Logs \
140
+ --match_columns &quot;scorer_tf_at_most(message, 3.0)&quot; \
141
+ --query &quot;Notice&quot; \
142
+ --output_columns &quot;message, _score&quot; \
143
+ --sortby &quot;-_score&quot;
144
+ # [
145
+ # [
146
+ # 0,
147
+ # 1337566253.89858,
148
+ # 0.000355720520019531
149
+ # ],
150
+ # [
151
+ # [
152
+ # [
153
+ # 5
154
+ # ],
155
+ # [
156
+ # [
157
+ # &quot;message&quot;,
158
+ # &quot;Text&quot;
159
+ # ],
160
+ # [
161
+ # &quot;_score&quot;,
162
+ # &quot;Int32&quot;
163
+ # ]
164
+ # ],
165
+ # [
166
+ # &quot;Notice Notice Notice Notice Notice&quot;,
167
+ # 3
168
+ # ],
169
+ # [
170
+ # &quot;Notice Notice Notice Notice&quot;,
171
+ # 3
172
+ # ],
173
+ # [
174
+ # &quot;Notice Notice Notice&quot;,
175
+ # 3
176
+ # ],
177
+ # [
178
+ # &quot;Notice Notice&quot;,
179
+ # 2
180
+ # ],
181
+ # [
182
+ # &quot;Notice&quot;,
183
+ # 1
184
+ # ]
185
+ # ]
186
+ # ]
187
+ # ]
188
+ </pre></div>
189
+ </div>
190
+ <p>もし、文書が <code class="docutils literal"><span class="pre">Notice</span></code> という単語を3個以上含んでいたら、スコアーは <code class="docutils literal"><span class="pre">3</span></code> になります。なぜなら、この <code class="docutils literal"><span class="pre">select</span></code> ではスコアーの最大値を <code class="docutils literal"><span class="pre">3.0</span></code> と指定しているからです。</p>
191
+ <p>もし、文書が <code class="docutils literal"><span class="pre">Notice</span></code> という単語を1つか2つしか含んでいなかったら、スコアーは <code class="docutils literal"><span class="pre">1</span></code> か <code class="docutils literal"><span class="pre">2</span></code> になります。なぜなら、スコアーが指定された最大値 <code class="docutils literal"><span class="pre">3.0</span></code> より小さいからです。</p>
192
+ </div>
193
+ <div class="section" id="parameters">
194
+ <h2>7.11.3.1.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
195
+ <p>このセクションではすべての引数について説明します。</p>
196
+ <div class="section" id="required-parameters">
197
+ <h3>7.11.3.1.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
198
+ <p>1つだけ必須の引数があります。</p>
199
+ <div class="section" id="column">
200
+ <h4>7.11.3.1.4.1.1. <code class="docutils literal"><span class="pre">column</span></code><a class="headerlink" href="#column" title="このヘッドラインへのパーマリンク">¶</a></h4>
201
+ <p>マッチ対象のデータカラムです。このデータカラムにはインデックスが張られていなければいけません。</p>
202
+ </div>
203
+ <div class="section" id="index">
204
+ <h4>7.11.3.1.4.1.2. <code class="docutils literal"><span class="pre">index</span></code><a class="headerlink" href="#index" title="このヘッドラインへのパーマリンク">¶</a></h4>
205
+ <p>検索に使うインデックスカラムです。</p>
206
+ </div>
207
+ </div>
208
+ <div class="section" id="optional-parameters">
209
+ <h3>7.11.3.1.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
210
+ <p>省略可能な引数はありません。</p>
211
+ </div>
212
+ </div>
213
+ <div class="section" id="return-value">
214
+ <h2>7.11.3.1.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
215
+ <p>このスコアラーは <a class="reference internal" href="../types.html#builtin-type-float"><span>Float</span></a> でスコアーの値を返します。</p>
216
+ <p><a class="reference internal" href="../commands/select.html"><em>select</em></a> は <code class="docutils literal"><span class="pre">Float</span></code> ではなく <code class="docutils literal"><span class="pre">Int32</span></code> で <code class="docutils literal"><span class="pre">_score</span></code> を返します。これは、後方互換性を維持するために <code class="docutils literal"><span class="pre">Float</span></code> から <code class="docutils literal"><span class="pre">Int32</span></code> にキャストしているためです。</p>
217
+ <p>スコアーは制限つきのTFで計算します。</p>
218
+ </div>
219
+ <div class="section" id="see-also">
220
+ <h2>7.11.3.1.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
221
+ <ul class="simple">
222
+ <li><a class="reference internal" href="../scorer.html"><em>スコアラー</em></a></li>
223
+ </ul>
88
224
  </div>
89
225
  </div>
90
226
 
@@ -98,13 +234,26 @@
98
234
  <ul>
99
235
  <li><a class="reference internal" href="#">7.11.3.1. <code class="docutils literal"><span class="pre">scorer_tf_at_most</span></code></a><ul>
100
236
  <li><a class="reference internal" href="#summary">7.11.3.1.1. 概要</a></li>
237
+ <li><a class="reference internal" href="#syntax">7.11.3.1.2. 構文</a></li>
238
+ <li><a class="reference internal" href="#usage">7.11.3.1.3. 使い方</a></li>
239
+ <li><a class="reference internal" href="#parameters">7.11.3.1.4. 引数</a><ul>
240
+ <li><a class="reference internal" href="#required-parameters">7.11.3.1.4.1. 必須引数</a><ul>
241
+ <li><a class="reference internal" href="#column">7.11.3.1.4.1.1. <code class="docutils literal"><span class="pre">column</span></code></a></li>
242
+ <li><a class="reference internal" href="#index">7.11.3.1.4.1.2. <code class="docutils literal"><span class="pre">index</span></code></a></li>
243
+ </ul>
244
+ </li>
245
+ <li><a class="reference internal" href="#optional-parameters">7.11.3.1.4.2. 省略可能引数</a></li>
246
+ </ul>
247
+ </li>
248
+ <li><a class="reference internal" href="#return-value">7.11.3.1.5. 戻り値</a></li>
249
+ <li><a class="reference internal" href="#see-also">7.11.3.1.6. 参考</a></li>
101
250
  </ul>
102
251
  </li>
103
252
  </ul>
104
253
 
105
254
  <h4>前のトピックへ</h4>
106
255
  <p class="topless"><a href="../scorer.html"
107
- title="前の章へ">7.11. Scorer</a></p>
256
+ title="前の章へ">7.11. スコアラー</a></p>
108
257
  <h4>次のトピックへ</h4>
109
258
  <p class="topless"><a href="scorer_tf_idf.html"
110
259
  title="次の章へ">7.11.3.2. <code class="docutils literal"><span class="pre">scorer_tf_idf</span></code></a></p>
@@ -142,11 +291,11 @@
142
291
  <a href="scorer_tf_idf.html" title="7.11.3.2. scorer_tf_idf"
143
292
  >次へ</a> |</li>
144
293
  <li class="right" >
145
- <a href="../scorer.html" title="7.11. Scorer"
294
+ <a href="../scorer.html" title="7.11. スコアラー"
146
295
  >前へ</a> |</li>
147
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
296
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
148
297
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
149
- <li class="nav-item nav-item-2"><a href="../scorer.html" >7.11. Scorer</a> &raquo;</li>
298
+ <li class="nav-item nav-item-2"><a href="../scorer.html" >7.11. スコアラー</a> &raquo;</li>
150
299
  </ul>
151
300
  </div>
152
301
  <div class="footer" role="contentinfo">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.11.3.2. scorer_tf_idf &mdash; Groonga v5.0.6-226-gd7da7e7ドキュメント</title>
10
+ <title>7.11.3.2. scorer_tf_idf &mdash; Groonga v5.0.7-264-ga2dae20ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '5.0.6-226-gd7da7e7',
18
+ VERSION: '5.0.7-264-ga2dae20',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,8 +26,8 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v5.0.6-226-gd7da7e7ドキュメント" href="../../index.html" />
30
- <link rel="up" title="7.11. Scorer" href="../scorer.html" />
29
+ <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../../index.html" />
30
+ <link rel="up" title="7.11. スコアラー" href="../scorer.html" />
31
31
  <link rel="next" title="7.12. grn_expr" href="../grn_expr.html" />
32
32
  <link rel="prev" title="7.11.3.1. scorer_tf_at_most" href="scorer_tf_at_most.html" />
33
33
  </head>
@@ -61,9 +61,9 @@
61
61
  <li class="right" >
62
62
  <a href="scorer_tf_at_most.html" title="7.11.3.1. scorer_tf_at_most"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
65
65
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
- <li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11. Scorer</a> &raquo;</li>
66
+ <li class="nav-item nav-item-2"><a href="../scorer.html" accesskey="U">7.11. スコアラー</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -83,44 +83,30 @@
83
83
  </div>
84
84
  <div class="section" id="summary">
85
85
  <h2>7.11.3.2.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
- <p><code class="docutils literal"><span class="pre">scorer_tf_idf</span></code> is a scorer based of <a class="reference external" href="http://en.wikipedia.org/wiki/Tf%E2%80%93idf">TF-IDF</a> (term
87
- frequency-inverse document frequency) score function.</p>
88
- <p>To put it simply, TF (term frequency) divided by DF (document
89
- frequency) is TF-IDF. &quot;TF&quot; means that &quot;the number of occurrences is
90
- more important&quot;. &quot;TF divided by DF&quot; means that &quot;the number of
91
- occurrences of important term is more important&quot;.</p>
92
- <p>The default score function in Groonga is TF (term frequency). It
93
- doesn't care about term importance but is fast.</p>
94
- <p>TF-IDF cares about term importance but is slower than TF.</p>
95
- <p>TF-IDF will compute more suitable score rather than TF for many cases.
96
- But it's not perfect.</p>
97
- <p>If document contains many same keywords such as &quot;They are keyword,
98
- keyword, keyword ... and keyword&quot;. It increases score by TF and
99
- TF-IDF. Search engine spammer may use the technique. But TF-IDF
100
- doesn't guard from the technique.</p>
101
- <p><a class="reference external" href="http://en.wikipedia.org/wiki/Okapi_BM25">Okapi BM25</a> can solve the
102
- case. But it's more slower than TF-IDF and not implemented yet in
103
- Groonga.</p>
104
- <table class="docutils field-list" frame="void" rules="none">
105
- <col class="field-name" />
106
- <col class="field-body" />
107
- <tbody valign="top">
108
- <tr class="field-odd field"><th class="field-name">orphan:</th><td class="field-body"></td>
109
- </tr>
110
- </tbody>
111
- </table>
86
+ <p><code class="docutils literal"><span class="pre">scorer_tf_idf</span></code> <a class="reference external" href="https://en.wikipedia.org/wiki/Tf%E2%80%93idf">TF-IDF</a> term frequency-inverse document frequency。その文書中での単語の出現数を、その単語を文書の数で割ったもの)ベースのスコアー関数です。</p>
87
+ <p>簡単に言うと、TF-IDFとはTF(term frequency。その文書中での単語出現数)をDF(document frequency。その単語を含むドキュメント数)で割ったものです。「TF」は「単語がたくさん出現している方がより重要」という意味を表します。「TFをDFで割る」というのは「重要な単語がたくさん出現している方がより重要」という意味を表します。</p>
88
+ <p>Groongaのデフォルトのスコアー関数はTFterm frequency。単語の出現数)です。この関数は単語の重要度は考慮しませんが高速です。</p>
89
+ <p>TF-IDFは単語の重要度を考慮しますが、TFより遅くなります。</p>
90
+ <p>TF-IDFは多くの場合でTFよりも適切なスコアーを計算しますが、完璧ではありません。</p>
91
+ <p>「They are keyword, keyword, keyword ... and keyword」のように文書中に同じキーワードがたくさん含まれている場合、TFでもTF-IDFでもスコアーが増えます。検索エンジンのスパマーはこのテクニックを使うかもしれません。しかし、TF-IDFはこのテクニックを防ぐことができません。</p>
92
+ <p><a class="reference external" href="https://en.wikipedia.org/wiki/Okapi_BM25">Okapi BM25</a> はこのケースを解決できます。しかし、TF-IDFよりも遅くなります。また、Groongaではまだ実装されていません。</p>
93
+ <p>Groongaは <a class="reference internal" href="scorer_tf_at_most.html"><em>scorer_tf_at_most</em></a> スコアラーという別の方法でこのケースを解決できるスコアラーを提供しています。</p>
112
94
  <blockquote id="note">
113
- <div><p>You don't need to resolve scoring only by score function. Score
114
- function is highly depends on search query. You may be able to use
115
- metadata of matched record.</p>
116
- <p>For example, Google uses <a class="reference external" href="http://en.wikipedia.org/wiki/PageRank">PageRank</a> for scoring. You may be
117
- able to use data type (&quot;title&quot; data are important rather than
118
- &quot;memo&quot; data), tag, geolocation and so on.</p>
119
- <p>Please stop to think about only score function for scoring.</p>
95
+ <div><p>スコアー関数だけでスコアの計算をする必要はありません。スコアー関数は検索クエリーに非常に依存しています。検索クエリーだけでなく、マッチしたレコードのメタデータも使えないか検討しましょう。</p>
96
+ <p>たとえば、Googleはスコアーの計算に <a class="reference external" href="https://ja.wikipedia.org/wiki/%E3%83%9A%E3%83%BC%E3%82%B8%E3%83%A9%E3%83%B3%E3%82%AF">ページランク</a> を使っています。あなたも、データの種類(たとえば、「メモ」データよりも「タイトル」データの方が重要など)、タグ、位置情報などを使えないか検討してみましょう。</p>
97
+ <p>スコアーの計算をスコアー関数だけで考えることはやめましょう。</p>
120
98
  </div></blockquote>
121
99
  </div>
100
+ <div class="section" id="syntax">
101
+ <h2>7.11.3.2.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
102
+ <p>このスコアラーの引数は1つです。:</p>
103
+ <div class="highlight-none"><div class="highlight"><pre>scorer_tf_idf(column)
104
+ scorer_tf_idf(index)
105
+ </pre></div>
106
+ </div>
107
+ </div>
122
108
  <div class="section" id="usage">
123
- <h2>7.11.3.2.2. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
109
+ <h2>7.11.3.2.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
124
110
  <p>このセクションではscorerの使い方について説明します。</p>
125
111
  <p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
126
112
  <p>サンプルスキーマ:</p>
@@ -211,18 +197,38 @@ column_create Terms message_index COLUMN_INDEX|WITH_POSITION Logs message
211
197
  # ]
212
198
  </pre></div>
213
199
  </div>
214
- <p>Both the score of <code class="docutils literal"><span class="pre">Info</span> <span class="pre">Info</span> <span class="pre">Info</span></code> and the score of <code class="docutils literal"><span class="pre">Error</span></code> are
215
- <code class="docutils literal"><span class="pre">2</span></code> even <code class="docutils literal"><span class="pre">Info</span> <span class="pre">Info</span> <span class="pre">Info</span></code> includes three <code class="docutils literal"><span class="pre">Info</span></code> terms. Because
216
- <code class="docutils literal"><span class="pre">Error</span></code> is more important term rather than <code class="docutils literal"><span class="pre">Info</span></code>. The number of
217
- documents that include <code class="docutils literal"><span class="pre">Info</span></code> is <code class="docutils literal"><span class="pre">4</span></code>. The number of documents that
218
- include <code class="docutils literal"><span class="pre">Error</span></code> is <code class="docutils literal"><span class="pre">1</span></code>. Term that is included in less documents
219
- means that the term is more characteristic term. Characteristic term
220
- is important term.</p>
200
+ <p><code class="docutils literal"><span class="pre">Info</span> <span class="pre">Info</span> <span class="pre">Info</span></code> には <code class="docutils literal"><span class="pre">Info</span></code> という単語が3回もでてきますが、 <code class="docutils literal"><span class="pre">Info</span> <span class="pre">Info</span> <span class="pre">Info</span></code> <code class="docutils literal"><span class="pre">Error</span></code> もどちらもスコアーは <code class="docutils literal"><span class="pre">2</span></code> です。なぜなら、 <code class="docutils literal"><span class="pre">Error</span></code> は <code class="docutils literal"><span class="pre">Info</span></code> よりもより重要な単語だからです。 <code class="docutils literal"><span class="pre">Info</span></code> を含むドキュメントの数は <code class="docutils literal"><span class="pre">4</span></code> です。 <code class="docutils literal"><span class="pre">Error</span></code> を含むドキュメントの数は <code class="docutils literal"><span class="pre">1</span></code> です。少しのドキュメントにしか含まれていない単語はより特徴的な単語です。特徴的な単語は重要な単語です。</p>
201
+ </div>
202
+ <div class="section" id="parameters">
203
+ <h2>7.11.3.2.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
204
+ <p>このセクションではすべての引数について説明します。</p>
205
+ <div class="section" id="required-parameters">
206
+ <h3>7.11.3.2.4.1. 必須引数<a class="headerlink" href="#required-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
207
+ <p>1つだけ必須の引数があります。</p>
208
+ <div class="section" id="column">
209
+ <h4>7.11.3.2.4.1.1. <code class="docutils literal"><span class="pre">column</span></code><a class="headerlink" href="#column" title="このヘッドラインへのパーマリンク">¶</a></h4>
210
+ <p>マッチ対象のデータカラムです。このデータカラムにはインデックスが張られていなければいけません。</p>
211
+ </div>
212
+ <div class="section" id="index">
213
+ <h4>7.11.3.2.4.1.2. <code class="docutils literal"><span class="pre">index</span></code><a class="headerlink" href="#index" title="このヘッドラインへのパーマリンク">¶</a></h4>
214
+ <p>検索に使うインデックスカラムです。</p>
215
+ </div>
216
+ </div>
217
+ <div class="section" id="optional-parameters">
218
+ <h3>7.11.3.2.4.2. 省略可能引数<a class="headerlink" href="#optional-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
219
+ <p>省略可能な引数はありません。</p>
220
+ </div>
221
+ </div>
222
+ <div class="section" id="return-value">
223
+ <h2>7.11.3.2.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
224
+ <p>このスコアラーは <a class="reference internal" href="../types.html#builtin-type-float"><span>Float</span></a> でスコアーの値を返します。</p>
225
+ <p><a class="reference internal" href="../commands/select.html"><em>select</em></a> は <code class="docutils literal"><span class="pre">Float</span></code> ではなく <code class="docutils literal"><span class="pre">Int32</span></code> で <code class="docutils literal"><span class="pre">_score</span></code> を返します。これは、後方互換性を維持するために <code class="docutils literal"><span class="pre">Float</span></code> から <code class="docutils literal"><span class="pre">Int32</span></code> にキャストしているためです。</p>
226
+ <p>スコアーはTF-IDFベースのアルゴリズムで計算します。</p>
221
227
  </div>
222
228
  <div class="section" id="see-also">
223
- <h2>7.11.3.2.3. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
229
+ <h2>7.11.3.2.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
224
230
  <ul class="simple">
225
- <li><a class="reference internal" href="../scorer.html"><em>Scorer</em></a></li>
231
+ <li><a class="reference internal" href="../scorer.html"><em>スコアラー</em></a></li>
226
232
  </ul>
227
233
  </div>
228
234
  </div>
@@ -237,8 +243,19 @@ is important term.</p>
237
243
  <ul>
238
244
  <li><a class="reference internal" href="#">7.11.3.2. <code class="docutils literal"><span class="pre">scorer_tf_idf</span></code></a><ul>
239
245
  <li><a class="reference internal" href="#summary">7.11.3.2.1. 概要</a></li>
240
- <li><a class="reference internal" href="#usage">7.11.3.2.2. 使い方</a></li>
241
- <li><a class="reference internal" href="#see-also">7.11.3.2.3. 参考</a></li>
246
+ <li><a class="reference internal" href="#syntax">7.11.3.2.2. 構文</a></li>
247
+ <li><a class="reference internal" href="#usage">7.11.3.2.3. 使い方</a></li>
248
+ <li><a class="reference internal" href="#parameters">7.11.3.2.4. 引数</a><ul>
249
+ <li><a class="reference internal" href="#required-parameters">7.11.3.2.4.1. 必須引数</a><ul>
250
+ <li><a class="reference internal" href="#column">7.11.3.2.4.1.1. <code class="docutils literal"><span class="pre">column</span></code></a></li>
251
+ <li><a class="reference internal" href="#index">7.11.3.2.4.1.2. <code class="docutils literal"><span class="pre">index</span></code></a></li>
252
+ </ul>
253
+ </li>
254
+ <li><a class="reference internal" href="#optional-parameters">7.11.3.2.4.2. 省略可能引数</a></li>
255
+ </ul>
256
+ </li>
257
+ <li><a class="reference internal" href="#return-value">7.11.3.2.5. 戻り値</a></li>
258
+ <li><a class="reference internal" href="#see-also">7.11.3.2.6. 参考</a></li>
242
259
  </ul>
243
260
  </li>
244
261
  </ul>
@@ -285,9 +302,9 @@ is important term.</p>
285
302
  <li class="right" >
286
303
  <a href="scorer_tf_at_most.html" title="7.11.3.1. scorer_tf_at_most"
287
304
  >前へ</a> |</li>
288
- <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
305
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
289
306
  <li class="nav-item nav-item-1"><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
290
- <li class="nav-item nav-item-2"><a href="../scorer.html" >7.11. Scorer</a> &raquo;</li>
307
+ <li class="nav-item nav-item-2"><a href="../scorer.html" >7.11. スコアラー</a> &raquo;</li>
291
308
  </ul>
292
309
  </div>
293
310
  <div class="footer" role="contentinfo">
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.18. シャーディング &mdash; Groonga v5.0.6-226-gd7da7e7ドキュメント</title>
10
+ <title>7.18. シャーディング &mdash; Groonga v5.0.7-264-ga2dae20ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '5.0.6-226-gd7da7e7',
18
+ VERSION: '5.0.7-264-ga2dae20',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,7 +26,7 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v5.0.6-226-gd7da7e7ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v5.0.7-264-ga2dae20ドキュメント" href="../index.html" />
30
30
  <link rel="up" title="7. リファレンスマニュアル" href="../reference.html" />
31
31
  <link rel="next" title="7.3.24. logical_count" href="commands/logical_count.html" />
32
32
  <link rel="prev" title="7.17. インデックス構築" href="indexing.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="indexing.html" title="7.17. インデックス構築"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
65
65
  <li class="nav-item nav-item-1"><a href="../reference.html" accesskey="U">7. リファレンスマニュアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -212,7 +212,7 @@ configure options: &lt;...&gt;
212
212
  <li class="right" >
213
213
  <a href="indexing.html" title="7.17. インデックス構築"
214
214
  >前へ</a> |</li>
215
- <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.6-226-gd7da7e7ドキュメント</a> &raquo;</li>
215
+ <li class="nav-item nav-item-0"><a href="../index.html">Groonga v5.0.7-264-ga2dae20ドキュメント</a> &raquo;</li>
216
216
  <li class="nav-item nav-item-1"><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
217
217
  </ul>
218
218
  </div>