rroonga 5.0.9-x64-mingw32 → 5.1.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (629) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -1
  3. data/ext/groonga/{rb-grn-conf.c → rb-grn-config.c} +18 -13
  4. data/ext/groonga/rb-grn-database.c +83 -0
  5. data/ext/groonga/rb-grn-fix-size-column.c +85 -0
  6. data/ext/groonga/rb-grn-index-column.c +82 -0
  7. data/ext/groonga/rb-grn-object.c +67 -1
  8. data/ext/groonga/rb-grn-table-key-support.c +87 -1
  9. data/ext/groonga/rb-grn-table.c +2 -2
  10. data/ext/groonga/rb-grn-variable-size-column.c +84 -1
  11. data/ext/groonga/rb-grn.h +5 -5
  12. data/ext/groonga/rb-groonga.c +27 -1
  13. data/lib/2.0/groonga.so +0 -0
  14. data/lib/2.1/groonga.so +0 -0
  15. data/lib/2.2/groonga.so +0 -0
  16. data/lib/2.3/groonga.so +0 -0
  17. data/lib/groonga/context.rb +12 -3
  18. data/lib/groonga/expression-builder.rb +2 -1
  19. data/rroonga-build.rb +6 -6
  20. data/test/test-accessor.rb +30 -0
  21. data/test/{test-conf.rb → test-config.rb} +5 -5
  22. data/test/test-database.rb +41 -0
  23. data/test/test-fix-size-column.rb +84 -0
  24. data/test/test-index-column.rb +71 -1
  25. data/test/test-package-label.rb +20 -0
  26. data/test/test-table-key-support.rb +42 -0
  27. data/test/test-table.rb +13 -0
  28. data/test/test-variable-size-column.rb +71 -1
  29. data/vendor/local/bin/grndb.exe +0 -0
  30. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  31. data/vendor/local/bin/groonga.exe +0 -0
  32. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  33. data/vendor/local/bin/libgroonga-0.dll +0 -0
  34. data/vendor/local/bin/libmecab-1.dll +0 -0
  35. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  36. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  37. data/vendor/local/bin/libonig-5.dll +0 -0
  38. data/vendor/local/bin/libstdc++-6.dll +0 -0
  39. data/vendor/local/bin/lz4.exe +0 -0
  40. data/vendor/local/bin/lz4c.exe +0 -0
  41. data/vendor/local/bin/lz4cat +0 -0
  42. data/vendor/local/bin/mecab.exe +0 -0
  43. data/vendor/local/bin/zlib1.dll +0 -0
  44. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +9 -9
  45. data/vendor/local/include/groonga/groonga/file_reader.h +40 -0
  46. data/vendor/local/include/groonga/groonga/groonga.h +1 -0
  47. data/vendor/local/include/groonga/groonga/obj.h +7 -42
  48. data/vendor/local/include/groonga/groonga/portability.h +4 -4
  49. data/vendor/local/include/groonga/groonga.h +1 -0
  50. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  51. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  52. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  53. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  55. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  58. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +70 -38
  63. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  65. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  74. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  75. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +21 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/id.rb +12 -0
  77. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
  78. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +3 -1
  79. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +6 -0
  80. data/vendor/local/lib/libgroonga.a +0 -0
  81. data/vendor/local/lib/libgroonga.dll.a +0 -0
  82. data/vendor/local/lib/liblz4.a +0 -0
  83. data/vendor/local/lib/liblz4.dll +0 -0
  84. data/vendor/local/lib/liblz4.dll.1 +0 -0
  85. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  86. data/vendor/local/lib/libmecab.a +0 -0
  87. data/vendor/local/lib/libmecab.dll.a +0 -0
  88. data/vendor/local/lib/libmsgpack.a +0 -0
  89. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  90. data/vendor/local/lib/libmsgpackc.a +0 -0
  91. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  92. data/vendor/local/lib/libonig.a +0 -0
  93. data/vendor/local/lib/libonig.dll.a +0 -0
  94. data/vendor/local/lib/libz.a +0 -0
  95. data/vendor/local/lib/libz.dll.a +0 -0
  96. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  97. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  98. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  99. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  100. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  101. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  102. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  103. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  104. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +7 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  106. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  107. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  108. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  109. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  110. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  111. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -3
  112. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  113. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +1 -1
  114. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +122 -1
  115. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt +45 -0
  116. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  117. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -1
  118. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +142 -0
  119. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +10 -23
  120. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +4 -4
  121. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +2 -2
  122. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +2 -2
  123. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -2
  124. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +3 -3
  125. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  127. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
  128. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +2 -2
  129. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +3 -3
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -2
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +3 -2
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -7
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -2
  135. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +37 -8
  136. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/community.html +12 -6
  139. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/index.html +72 -68
  160. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  161. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  162. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  163. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  164. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  165. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  166. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +9 -8
  167. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  168. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +7 -7
  178. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/news.html +187 -76
  180. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  181. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +10 -10
  215. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +183 -0
  216. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -22
  217. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +21 -21
  218. data/vendor/local/share/doc/groonga/en/html/reference/command.html +58 -56
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +29 -29
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +25 -25
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +27 -27
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +41 -41
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +25 -25
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +31 -31
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +25 -25
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +33 -33
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +29 -29
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +27 -27
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +25 -25
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +29 -29
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +37 -37
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +33 -33
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +29 -29
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +28 -27
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +27 -27
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -27
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +29 -29
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +39 -39
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +31 -31
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +57 -57
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +105 -105
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +33 -33
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +37 -37
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +37 -37
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +25 -25
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +29 -29
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +25 -25
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +25 -25
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +25 -25
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +25 -25
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +26 -26
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +279 -0
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +32 -32
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +107 -107
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +25 -25
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +27 -27
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +49 -49
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +25 -25
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +35 -35
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +31 -31
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +39 -39
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +31 -31
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +43 -43
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +25 -25
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  269. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  271. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  273. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -17
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +14 -8
  281. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
  282. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
  283. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
  284. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +8 -8
  286. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +9 -9
  287. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +9 -9
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +8 -8
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -11
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +434 -0
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +42 -42
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +23 -23
  296. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  298. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  300. data/vendor/local/share/doc/groonga/en/html/reference/log.html +9 -9
  301. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -12
  303. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +203 -0
  304. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +15 -17
  305. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
  309. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +15 -15
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -11
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
  315. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -10
  318. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  321. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
  322. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  323. data/vendor/local/share/doc/groonga/en/html/reference.html +72 -68
  324. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  326. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  329. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  330. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  332. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  333. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  335. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  339. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  350. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  351. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +7 -2
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +1 -1
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +122 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt +45 -0
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -1
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +142 -0
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +10 -23
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +4 -4
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +2 -2
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +2 -2
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -2
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +3 -3
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +2 -2
  378. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +3 -3
  379. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -2
  380. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +3 -2
  382. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -7
  383. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -2
  384. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +37 -8
  385. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/community.html +14 -6
  388. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/index.html +71 -67
  409. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  410. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  411. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  412. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  413. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  414. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  415. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -8
  416. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  417. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +6 -6
  427. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/news.html +188 -76
  429. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  460. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -11
  464. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +183 -0
  465. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -33
  466. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +21 -21
  467. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +58 -56
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +29 -29
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +25 -25
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +27 -27
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +41 -41
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +25 -25
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +31 -31
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +25 -25
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +33 -33
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +29 -29
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +27 -27
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +25 -25
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +29 -29
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +37 -37
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +33 -33
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -31
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +33 -37
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +27 -27
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -27
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +29 -29
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +39 -39
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +31 -31
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +57 -57
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +105 -105
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +33 -33
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +37 -37
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +37 -37
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +25 -25
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +29 -29
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +25 -25
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +25 -25
  498. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +25 -25
  499. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +25 -25
  500. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +26 -26
  501. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +267 -0
  502. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +32 -32
  503. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
  504. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
  505. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
  506. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +25 -25
  507. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
  508. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
  509. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +49 -49
  510. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +25 -25
  511. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +35 -35
  512. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +31 -31
  513. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +39 -39
  514. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +31 -31
  515. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +43 -43
  516. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +25 -25
  517. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +25 -25
  518. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  519. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  520. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  521. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  522. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  523. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  528. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -17
  529. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +13 -7
  530. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
  531. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
  532. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  533. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  534. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +8 -8
  535. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +9 -9
  536. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +9 -9
  537. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +8 -8
  538. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -11
  539. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +422 -0
  540. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -42
  541. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
  542. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +27 -27
  543. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
  544. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +23 -23
  545. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  546. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  547. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  548. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  549. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
  550. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  551. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +10 -10
  552. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +190 -0
  553. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -13
  554. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  555. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  556. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  557. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
  558. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
  559. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
  560. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
  561. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +15 -15
  562. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -7
  563. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
  564. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -10
  567. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
  571. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
  572. data/vendor/local/share/doc/groonga/ja/html/reference.html +71 -67
  573. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  574. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  575. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  576. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  577. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  578. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  580. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  584. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  585. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  586. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  587. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  588. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  589. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  590. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  591. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  592. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  593. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  594. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  595. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  596. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  597. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  598. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  599. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  600. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  601. data/vendor/local/share/groonga/html/admin/404.html +26 -2
  602. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  603. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +272 -213
  604. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  605. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  606. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  607. data/vendor/local/share/groonga/html/admin/index.html +39 -5
  608. data/vendor/local/share/groonga/html/admin/scripts/oldieshim.572be7b4.js +2337 -0
  609. data/vendor/local/share/groonga/html/admin/scripts/scripts.a1c295fa.js +1749 -0
  610. data/vendor/local/share/groonga/html/admin/scripts/vendor.2c228d46.js +50748 -0
  611. data/vendor/local/share/groonga/html/admin/styles/main.d9de008c.css +12602 -0
  612. data/vendor/local/share/groonga/html/admin/styles/vendor.7f75f6e0.css +130 -0
  613. data/vendor/local/share/groonga/html/admin/views/columns/new.html +64 -1
  614. data/vendor/local/share/groonga/html/admin/views/columns/show.html +70 -1
  615. data/vendor/local/share/groonga/html/admin/views/tables/index.html +53 -1
  616. data/vendor/local/share/groonga/html/admin/views/tables/new.html +54 -2
  617. data/vendor/local/share/groonga/html/admin/views/tables/search.html +236 -1
  618. data/vendor/local/share/groonga/html/admin/views/tables/show.html +111 -1
  619. data/vendor/local/share/groonga/html/admin/views/top.html +20 -1
  620. data/vendor/local/share/license/groonga-admin/README.md +2 -2
  621. data/vendor/local/share/man/ja/man1/groonga.1 +955 -3334
  622. data/vendor/local/share/man/man1/groonga.1 +937 -3373
  623. metadata +78 -57
  624. data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
  625. data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +0 -1
  626. data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +0 -1
  627. data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +0 -13
  628. data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +0 -1
  629. data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +0 -10
@@ -0,0 +1,158 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: functions_prefix_rk_search
7
+
8
+ ``prefix_rk_search()``
9
+ ======================
10
+
11
+ Summary
12
+ -------
13
+
14
+ ``prefix_rk_search()`` selects records by
15
+ :doc:`/reference/operations/prefix_rk_search`.
16
+
17
+ You need to create :ref:`table-pat-key` table for prefix RK search.
18
+
19
+ You can't use ``prefix_rk_search()`` for sequential scan. It's a
20
+ selector only procedure.
21
+
22
+ Syntax
23
+ ------
24
+
25
+ ``prefix_rk_search()`` requires two arguments. They are ``column`` and
26
+ ``query``::
27
+
28
+ prefix_rk_search(column, query)
29
+
30
+ ``column`` must be ``_key`` for now.
31
+
32
+ ``query`` must be string.
33
+
34
+ Usage
35
+ -----
36
+
37
+ Here are a schema definition and sample data to show usage:
38
+
39
+ .. groonga-command
40
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_setup.log
41
+ .. table_create Readings TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
42
+ .. load --table Readings
43
+ .. [
44
+ .. {"_key": "ニホン"},
45
+ .. {"_key": "ニッポン"},
46
+ .. {"_key": "ローマジ"}
47
+ .. ]
48
+
49
+ Here is the simple usage of ``prefix_rk_search()`` function which
50
+ selects ``ニホン`` and ``ニッポン`` by ``ni``:
51
+
52
+ .. groonga-command
53
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_simple.log
54
+ .. select Readings --filter 'prefix_rk_search(_key, "ni")'
55
+
56
+ You can implement :doc:`/reference/suggest/completion` like feature by
57
+ combining :doc:`sub_filter`.
58
+
59
+ Create a table that has candidates of completion as records. Each
60
+ records have zero or more readings. They are stored into ``Readings``
61
+ table. Don't forget define an index column for ``Items.readings`` in
62
+ ``Readings`` table. The index column is needed for :doc:`sub_filter`:
63
+
64
+ .. groonga-command
65
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_setup_completion.log
66
+ .. table_create Items TABLE_HASH_KEY ShortText
67
+ .. column_create Items readings COLUMN_VECTOR Readings
68
+ ..
69
+ .. column_create Readings items_index COLUMN_INDEX Items readings
70
+ ..
71
+ .. load --table Items
72
+ .. [
73
+ .. {"_key": "日本", "readings": ["ニホン", "ニッポン"]},
74
+ .. {"_key": "ローマ字", "readings": ["ローマジ"]},
75
+ .. {"_key": "漢字", "readings": ["カンジ"]}
76
+ .. ]
77
+
78
+ You can find ``日本`` record in ``Items`` table by ``niho``. Because
79
+ prefix RK search with ``niho`` selects ``ニホン`` reading and ``ニホン``
80
+ reading is one of readings of ``日本`` record:
81
+
82
+ .. groonga-command
83
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_prefix_rk_only_completion.log
84
+ .. select Items \
85
+ .. --filter 'sub_filter(readings, "prefix_rk_search(_key, \\"niho\\")")'
86
+
87
+ You need to combine :ref:`script-syntax-prefix-search-operator` to
88
+ support no reading completion targets.
89
+
90
+ Add one no reading completion target:
91
+
92
+ .. groonga-command
93
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_add_no_reading_completion_target.log
94
+ .. load --table Items
95
+ .. [
96
+ .. {"_key": "nihon", "readings": []}
97
+ .. ]
98
+
99
+ Combine :ref:`script-syntax-prefix-search-operator` to
100
+ support no reading completion targets:
101
+
102
+ .. groonga-command
103
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_prefix_search_combined_completion.log
104
+ .. select Items \
105
+ .. --filter 'sub_filter(readings, "prefix_rk_search(_key, \\"niho\\")") || _key @^ "niho"'
106
+
107
+ Normally, you want to use case insensitive search for completion. Use
108
+ ``--normalizer NormalizerAuto`` and ``label`` column for the case:
109
+
110
+ .. groonga-command
111
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_setup_loose_completion.log
112
+ .. table_create LooseItems TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
113
+ .. column_create LooseItems label COLUMN_SCALAR ShortText
114
+ .. column_create LooseItems readings COLUMN_VECTOR Readings
115
+ ..
116
+ .. column_create Readings loose_items_index COLUMN_INDEX LooseItems readings
117
+ ..
118
+ .. load --table LooseItems
119
+ .. [
120
+ .. {"_key": "日本", "label": "日本", "readings": ["ニホン", "ニッポン"]},
121
+ .. {"_key": "ローマ字", "label": "ローマ字", "readings": ["ローマジ"]},
122
+ .. {"_key": "漢字", "label": "漢字", "readings": ["カンジ"]},
123
+ .. {"_key": "Nihon", "label": "日本", "readings": []}
124
+ .. ]
125
+
126
+ Use ``LooseItems.label`` for display:
127
+
128
+ .. groonga-command
129
+ .. include:: ../../example/reference/functions/prefix_rk_search/usage_loose_completion.log
130
+ .. select LooseItems \
131
+ .. --filter 'sub_filter(readings, "prefix_rk_search(_key, \\"nIhO\\")") || _key @^ "nIhO"' \
132
+ .. --output_columns '_key,label'
133
+
134
+ Parameters
135
+ ----------
136
+
137
+ There are two required parameter, ``column`` and ``query``.
138
+
139
+ ``column``
140
+ ^^^^^^^^^^
141
+
142
+ Always specifies ``_key`` for now.
143
+
144
+ ``query``
145
+ ^^^^^^^^^
146
+
147
+ Specifies a query in romaji, katakana or hiragana as string.
148
+
149
+ Return value
150
+ ------------
151
+
152
+ ``prefix_rk_search()`` function returns matched records.
153
+
154
+ See also
155
+ --------
156
+
157
+ * :doc:`/reference/operations/prefix_rk_search`
158
+ * :doc:`/reference/functions/sub_filter`
@@ -5,8 +5,8 @@
5
5
  .. groonga-command
6
6
  .. database: functions_query
7
7
 
8
- query
9
- =====
8
+ ``query``
9
+ =========
10
10
 
11
11
  Summary
12
12
  -------
@@ -5,8 +5,8 @@
5
5
  .. groonga-command
6
6
  .. database: functions_snippet_html
7
7
 
8
- snippet_html
9
- ============
8
+ ``snippet_html``
9
+ ================
10
10
 
11
11
  .. caution::
12
12
 
@@ -5,8 +5,8 @@
5
5
  .. groonga-command
6
6
  .. database: functions_sub_filter
7
7
 
8
- sub_filter
9
- ==========
8
+ ``sub_filter``
9
+ ==============
10
10
 
11
11
  Summary
12
12
  -------
@@ -5,8 +5,8 @@
5
5
  .. groonga-command
6
6
  .. database: vector_size
7
7
 
8
- vector_size
9
- ===========
8
+ ``vector_size``
9
+ ===============
10
10
 
11
11
  Summary
12
12
  -------
@@ -66,7 +66,7 @@ Parameters
66
66
  There is one required parameter, ``target``.
67
67
 
68
68
  ``target``
69
- ^^^^^^^^^^^^^^^^
69
+ ^^^^^^^^^^
70
70
 
71
71
  Specifies a vector column of table that is specified by ``table`` parameter in ``select``.
72
72
 
@@ -1,9 +1,8 @@
1
1
  .. -*- rst -*-
2
- .. Groonga Project
3
2
 
4
3
  .. highlightlang:: none
5
4
 
6
- Geolocation Search
5
+ Geolocation search
7
6
  ==================
8
7
 
9
8
  Groonga supports geolocation search. It uses index for
@@ -0,0 +1,76 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: operations_prefix_rk_search
7
+
8
+ Prefix RK search
9
+ ================
10
+
11
+ Summary
12
+ -------
13
+
14
+ Groonga supports prefix RK search. RK means Romaji and Kana (reading).
15
+ Prefix RK search can find registered text in katakana by query in
16
+ romaji, hiragana or katakana. Found registered texts are started with
17
+ query.
18
+
19
+ Prefix RK search is useful for completing Japanese text. Because
20
+ romaji is widely used to input Japanese on computer. See also
21
+ `Japanese input methods on Wikipedia
22
+ <https://en.wikipedia.org/wiki/Japanese_input_methods>`_.
23
+
24
+ If users can search Japanese text in romaji, users doesn't need to
25
+ convert romaji to hiragana, katakana or kanji by themselves. For
26
+ example, if you register a reading for "日本" as "ニホン", users can
27
+ find "日本" by "ni", "に" or "二".
28
+
29
+ The feature is helpful because it reduces one or more operations of
30
+ users.
31
+
32
+ This feature is used in :doc:`/reference/suggest/completion`.
33
+
34
+ You can use this feature in :ref:`select-filter` by
35
+ :doc:`/reference/functions/prefix_rk_search`.
36
+
37
+ Usage
38
+ -----
39
+
40
+ You need :ref:`table-pat-key` table for using prefix RK search.
41
+
42
+ You need to put reading in katakana to ``TABLE_PAT_KEY`` as key:
43
+
44
+ .. groonga-command
45
+ .. include:: ../../example/reference/operations/prefix_rk_search/usage_register_kana.log
46
+ .. table_create Readings TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
47
+ .. load --table Readings
48
+ .. [
49
+ .. {"_key": "ニホン"},
50
+ .. {"_key": "ニッポン"},
51
+ .. {"_key": "ローマジ"}
52
+ .. ]
53
+
54
+ You can finds ``ニホン`` and ``ニッポン`` by prefix RK search with
55
+ ``ni`` as query from the ``Readings`` table.
56
+
57
+ You can finds ``ローマジ`` by prefix RK search with ``r`` as query
58
+ from the ``Readings`` table.
59
+
60
+ How to convert romaji to reading
61
+ --------------------------------
62
+
63
+ Prefix RK search is based on JIS X 4063:2000 specification.
64
+
65
+ The specification was obsoleted. See `ローマ字入力 on Japanese
66
+ Wikipedia
67
+ <https://ja.wikipedia.org/wiki/%E3%83%AD%E3%83%BC%E3%83%9E%E5%AD%97%E5%85%A5%E5%8A%9B>`_
68
+ for JIS X 4063:2000.
69
+
70
+ Normally, you can get converted results as expected.
71
+
72
+ See also
73
+ --------
74
+
75
+ * :doc:`/reference/suggest/completion`
76
+ * :doc:`/reference/functions/prefix_rk_search`
@@ -10,6 +10,7 @@ Groonga has the multiple search operations. This section describes
10
10
  about search operations.
11
11
 
12
12
  .. toctree::
13
- :maxdepth: 2
13
+ :maxdepth: 1
14
+ :glob:
14
15
 
15
- operations/geolocation_search
16
+ operations/*
@@ -29,13 +29,8 @@ completed words:
29
29
  Prefix RK search
30
30
  ^^^^^^^^^^^^^^^^
31
31
 
32
- RK means Romaji and Katakana. Prefix RK search can find
33
- registered words that start with user's input by romaji,
34
- katakana or hiragana. It's useful for searching in Japanese.
35
-
36
- For example, there is a registered word "日本". And "ニホン"
37
- (it must be katakana) is registered as its reading. An user
38
- can find "日本" by "ni", "二" or "に".
32
+ See :doc:`/reference/operations/prefix_rk_search` for prefix RK
33
+ search.
39
34
 
40
35
  If you create dataset which is named as ``example`` by
41
36
  :doc:`/reference/executables/groonga-suggest-create-dataset`
@@ -129,8 +129,7 @@ You can set the configuration by putting a configuration file
129
129
  The configuration can be applied by restarting your system or run the
130
130
  following command::
131
131
 
132
- % sudo sysctl -p
133
-
132
+ % sudo sysctl --system
134
133
 
135
134
  .. _tuning-linux-max-map-count:
136
135
 
@@ -10,6 +10,7 @@
10
10
  */
11
11
 
12
12
 
13
+ /* Non-minified version JS is _stemmer.js if file is provided */
13
14
  /**
14
15
  * Dummy stemmer for languages without stemming rules.
15
16
  */
@@ -200,8 +201,7 @@ var Search = {
200
201
  }
201
202
 
202
203
  // lookup as search terms in fulltext
203
- results = results.concat(this.performTermsSearch(searchterms, excluded, terms, Scorer.term))
204
- .concat(this.performTermsSearch(searchterms, excluded, titleterms, Scorer.title));
204
+ results = results.concat(this.performTermsSearch(searchterms, excluded, terms, titleterms));
205
205
 
206
206
  // let the scorer override scores with a custom scoring function
207
207
  if (Scorer.score) {
@@ -365,23 +365,47 @@ var Search = {
365
365
  /**
366
366
  * search for full-text terms in the index
367
367
  */
368
- performTermsSearch : function(searchterms, excluded, terms, score) {
368
+ performTermsSearch : function(searchterms, excluded, terms, titleterms) {
369
369
  var filenames = this._index.filenames;
370
370
  var titles = this._index.titles;
371
371
 
372
- var i, j, file, files;
372
+ var i, j, file;
373
373
  var fileMap = {};
374
+ var scoreMap = {};
374
375
  var results = [];
375
376
 
376
377
  // perform the search on the required terms
377
378
  for (i = 0; i < searchterms.length; i++) {
378
379
  var word = searchterms[i];
380
+ var files = [];
381
+ var _o = [
382
+ {files: terms[word], score: Scorer.term},
383
+ {files: titleterms[word], score: Scorer.title}
384
+ ];
385
+
379
386
  // no match but word was a required one
380
- if ((files = terms[word]) === undefined)
387
+ if ($u.every(_o, function(o){return o.files === undefined;})) {
381
388
  break;
382
- if (files.length === undefined) {
383
- files = [files];
384
389
  }
390
+ // found search word in contents
391
+ $u.each(_o, function(o) {
392
+ var _files = o.files;
393
+ if (_files === undefined)
394
+ return
395
+
396
+ if (_files.length === undefined)
397
+ _files = [_files];
398
+ files = files.concat(_files);
399
+
400
+ // set score for the word in each file to Scorer.term
401
+ for (j = 0; j < _files.length; j++) {
402
+ file = _files[j];
403
+ if (!(file in scoreMap))
404
+ scoreMap[file] = {}
405
+ scoreMap[file][word] = o.score;
406
+ }
407
+ });
408
+
385
409
  // create the mapping
386
410
  for (j = 0; j < files.length; j++) {
387
411
  file = files[j];
@@ -403,7 +427,9 @@ var Search = {
403
427
  // ensure that none of the excluded terms is in the search result
404
428
  for (i = 0; i < excluded.length; i++) {
405
429
  if (terms[excluded[i]] == file ||
406
- $u.contains(terms[excluded[i]] || [], file)) {
430
+ titleterms[excluded[i]] == file ||
431
+ $u.contains(terms[excluded[i]] || [], file) ||
432
+ $u.contains(titleterms[excluded[i]] || [], file)) {
407
433
  valid = false;
408
434
  break;
409
435
  }
@@ -411,6 +437,9 @@ var Search = {
411
437
 
412
438
  // if we have still a valid result we can add it to the result list
413
439
  if (valid) {
440
+ // select one (max) score for the file.
441
+ // for better ranking, we should calculate ranking by using words statistics like basic tf-idf...
442
+ var score = $u.max($u.map(fileMap[file], function(w){return scoreMap[file][w]}));
414
443
  results.push([filenames[file], titles[file], '', null, score]);
415
444
  }
416
445
  }
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>1. Groongaの特徴 &mdash; Groonga v5.0.8-210-g8388c51ドキュメント</title>
10
+ <title>1. Groongaの特徴 &mdash; Groonga v5.1.0-71-g748d76eドキュメント</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.8-210-g8388c51',
18
+ VERSION: '5.1.0-71-g748d76e',
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.8-210-g8388c51ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v5.1.0-71-g748d76eドキュメント" href="index.html" />
30
30
  <link rel="next" title="2. インストール" href="install.html" />
31
31
  <link rel="prev" title="Groonga ドキュメント" href="index.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="index.html" title="Groonga ドキュメント"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
63
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -182,7 +182,7 @@
182
182
  <li class="right" >
183
183
  <a href="index.html" title="Groonga ドキュメント"
184
184
  >前へ</a> |</li>
185
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
185
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
186
186
  </ul>
187
187
  </div>
188
188
  <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>6. クライアント &mdash; Groonga v5.0.8-210-g8388c51ドキュメント</title>
10
+ <title>6. クライアント &mdash; Groonga v5.1.0-71-g748d76eドキュメント</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.8-210-g8388c51',
18
+ VERSION: '5.1.0-71-g748d76e',
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.8-210-g8388c51ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v5.1.0-71-g748d76eドキュメント" href="index.html" />
30
30
  <link rel="next" title="7. リファレンスマニュアル" href="reference.html" />
31
31
  <link rel="prev" title="5.4. Memcachedバイナリプロトコル" href="server/memcached.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="server/memcached.html" title="5.4. Memcachedバイナリプロトコル"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
63
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -124,7 +124,7 @@
124
124
  <li class="right" >
125
125
  <a href="server/memcached.html" title="5.4. Memcachedバイナリプロトコル"
126
126
  >前へ</a> |</li>
127
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
127
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
128
128
  </ul>
129
129
  </div>
130
130
  <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>3. コミュニティ &mdash; Groonga v5.0.8-210-g8388c51ドキュメント</title>
10
+ <title>3. コミュニティ &mdash; Groonga v5.1.0-71-g748d76eドキュメント</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.8-210-g8388c51',
18
+ VERSION: '5.1.0-71-g748d76e',
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.8-210-g8388c51ドキュメント" href="index.html" />
29
+ <link rel="top" title="Groonga v5.1.0-71-g748d76eドキュメント" href="index.html" />
30
30
  <link rel="next" title="4. チュートリアル" href="tutorial.html" />
31
31
  <link rel="prev" title="2.8. その他" href="install/others.html" />
32
32
  </head>
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="install/others.html" title="2.8. その他"
62
62
  accesskey="P">前へ</a> |</li>
63
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
63
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
64
64
  </ul>
65
65
  </div>
66
66
 
@@ -84,7 +84,15 @@
84
84
  </div>
85
85
  <div class="section" id="chat-room">
86
86
  <h2>3.2. チャットルーム<a class="headerlink" href="#chat-room" title="このヘッドラインへのパーマリンク">¶</a></h2>
87
- <p><a class="reference external" href="https://gitter.im/groonga/public">Gitterにあるgroonga/publicチャットルーム</a> に参加してください。(英語です。)</p>
87
+ <p>Groongaに関する話題を扱うチャットルームがあります。</p>
88
+ <dl class="docutils">
89
+ <dt>英語</dt>
90
+ <dd><p class="first last"><a class="reference external" href="https://gitter.im/groonga/en">Gitterにあるgroonga/enチャットルーム</a></p>
91
+ </dd>
92
+ <dt>日本語</dt>
93
+ <dd><p class="first last"><a class="reference external" href="https://gitter.im/groonga/ja">Gitterにあるgroonga/jaチャットルーム</a></p>
94
+ </dd>
95
+ </dl>
88
96
  </div>
89
97
  <div class="section" id="twitter">
90
98
  <h2>3.3. Twitter<a class="headerlink" href="#twitter" title="このヘッドラインへのパーマリンク">¶</a></h2>
@@ -157,7 +165,7 @@
157
165
  <li class="right" >
158
166
  <a href="install/others.html" title="2.8. その他"
159
167
  >前へ</a> |</li>
160
- <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
168
+ <li class="nav-item nav-item-0"><a href="index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
161
169
  </ul>
162
170
  </div>
163
171
  <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>12.3.2.1. GNU Autotoolsを使ってリポジトリーのGroongaをビルドする方法 &mdash; Groonga v5.0.8-210-g8388c51ドキュメント</title>
10
+ <title>12.3.2.1. GNU Autotoolsを使ってリポジトリーのGroongaをビルドする方法 &mdash; Groonga v5.1.0-71-g748d76eドキュメント</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.8-210-g8388c51',
18
+ VERSION: '5.1.0-71-g748d76e',
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.8-210-g8388c51ドキュメント" href="../../../index.html" />
29
+ <link rel="top" title="Groonga v5.1.0-71-g748d76eドキュメント" href="../../../index.html" />
30
30
  <link rel="up" title="12.3.2. リポジトリーのGroongaをビルドする方法" href="../build.html" />
31
31
  <link rel="next" title="12.3.2.2. GNU/LinuxまたはUnix上でCMakeを使ってリポジトリーのGroongaをビルドする方法" href="unix_cmake.html" />
32
32
  <link rel="prev" title="12.3.2. リポジトリーのGroongaをビルドする方法" href="../build.html" />
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="../build.html" title="12.3.2. リポジトリーのGroongaをビルドする方法"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li class="nav-item nav-item-0"><a href="../../../index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
64
+ <li class="nav-item nav-item-0"><a href="../../../index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
65
65
  <li class="nav-item nav-item-1"><a href="../../../contribution.html" >12. Groongaへのコントリビュート方法</a> &raquo;</li>
66
66
  <li class="nav-item nav-item-2"><a href="../../development.html" >12.3. Groonga開発者向け情報</a> &raquo;</li>
67
67
  <li class="nav-item nav-item-3"><a href="../build.html" accesskey="U">12.3.2. リポジトリーのGroongaをビルドする方法</a> &raquo;</li>
@@ -213,7 +213,7 @@
213
213
  <li class="right" >
214
214
  <a href="../build.html" title="12.3.2. リポジトリーのGroongaをビルドする方法"
215
215
  >前へ</a> |</li>
216
- <li class="nav-item nav-item-0"><a href="../../../index.html">Groonga v5.0.8-210-g8388c51ドキュメント</a> &raquo;</li>
216
+ <li class="nav-item nav-item-0"><a href="../../../index.html">Groonga v5.1.0-71-g748d76eドキュメント</a> &raquo;</li>
217
217
  <li class="nav-item nav-item-1"><a href="../../../contribution.html" >12. Groongaへのコントリビュート方法</a> &raquo;</li>
218
218
  <li class="nav-item nav-item-2"><a href="../../development.html" >12.3. Groonga開発者向け情報</a> &raquo;</li>
219
219
  <li class="nav-item nav-item-3"><a href="../build.html" >12.3.2. リポジトリーのGroongaをビルドする方法</a> &raquo;</li>