rroonga 4.0.3-x86-mingw32 → 4.0.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (682) hide show
  1. checksums.yaml +13 -5
  2. data/Gemfile +1 -1
  3. data/README.textile +1 -1
  4. data/Rakefile +8 -1
  5. data/bin/grndump +1 -1
  6. data/bin/grntest-log-analyze +1 -1
  7. data/bin/groonga-database-inspect +1 -1
  8. data/bin/groonga-index-dump +1 -1
  9. data/doc/text/news.textile +28 -0
  10. data/ext/groonga/extconf.rb +12 -2
  11. data/ext/groonga/rb-grn-accessor.c +2 -1
  12. data/ext/groonga/rb-grn-array-cursor.c +1 -1
  13. data/ext/groonga/rb-grn-array.c +1 -1
  14. data/ext/groonga/rb-grn-column.c +1 -1
  15. data/ext/groonga/rb-grn-context.c +7 -5
  16. data/ext/groonga/rb-grn-database.c +1 -1
  17. data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
  18. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  19. data/ext/groonga/rb-grn-encoding-support.c +1 -1
  20. data/ext/groonga/rb-grn-encoding.c +1 -1
  21. data/ext/groonga/rb-grn-exception.c +1 -1
  22. data/ext/groonga/rb-grn-expression-builder.c +1 -1
  23. data/ext/groonga/rb-grn-expression.c +1 -1
  24. data/ext/groonga/rb-grn-fix-size-column.c +1 -1
  25. data/ext/groonga/rb-grn-geo-point.c +1 -1
  26. data/ext/groonga/rb-grn-hash-cursor.c +1 -1
  27. data/ext/groonga/rb-grn-hash.c +1 -1
  28. data/ext/groonga/rb-grn-index-column.c +1 -1
  29. data/ext/groonga/rb-grn-index-cursor.c +1 -1
  30. data/ext/groonga/rb-grn-logger.c +1 -1
  31. data/ext/groonga/rb-grn-normalizer.c +1 -1
  32. data/ext/groonga/rb-grn-object.c +71 -45
  33. data/ext/groonga/rb-grn-operator.c +1 -1
  34. data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
  35. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  36. data/ext/groonga/rb-grn-plugin.c +1 -1
  37. data/ext/groonga/rb-grn-posting.c +1 -1
  38. data/ext/groonga/rb-grn-procedure-type.c +40 -0
  39. data/ext/groonga/rb-grn-procedure.c +17 -4
  40. data/ext/groonga/rb-grn-query-logger.c +1 -1
  41. data/ext/groonga/rb-grn-record.c +1 -1
  42. data/ext/groonga/rb-grn-snippet.c +1 -1
  43. data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
  44. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  45. data/ext/groonga/rb-grn-table-key-support.c +1 -1
  46. data/ext/groonga/rb-grn-table.c +3 -2
  47. data/ext/groonga/rb-grn-type.c +1 -1
  48. data/ext/groonga/rb-grn-utils.c +1 -1
  49. data/ext/groonga/rb-grn-variable-size-column.c +55 -27
  50. data/ext/groonga/rb-grn-variable.c +1 -1
  51. data/ext/groonga/rb-grn.h +4 -2
  52. data/ext/groonga/rb-groonga.c +3 -2
  53. data/extconf.rb +1 -1
  54. data/lib/1.9/groonga.so +0 -0
  55. data/lib/2.0/groonga.so +0 -0
  56. data/lib/2.1/groonga.so +0 -0
  57. data/lib/groonga.rb +1 -1
  58. data/lib/groonga/column.rb +1 -1
  59. data/lib/groonga/context.rb +1 -1
  60. data/lib/groonga/context/command-executor.rb +1 -1
  61. data/lib/groonga/database-inspector.rb +1 -1
  62. data/lib/groonga/database.rb +1 -1
  63. data/lib/groonga/dumper.rb +1 -1
  64. data/lib/groonga/expression-builder-19.rb +1 -1
  65. data/lib/groonga/expression-builder.rb +1 -1
  66. data/lib/groonga/geo-point.rb +1 -1
  67. data/lib/groonga/grntest-log.rb +1 -1
  68. data/lib/groonga/index-column.rb +1 -1
  69. data/lib/groonga/logger.rb +1 -1
  70. data/lib/groonga/memory-pool.rb +1 -2
  71. data/lib/groonga/pagination.rb +1 -1
  72. data/lib/groonga/patricia-trie.rb +1 -1
  73. data/lib/groonga/posting.rb +1 -1
  74. data/lib/groonga/query-logger.rb +1 -1
  75. data/lib/groonga/record.rb +6 -2
  76. data/lib/groonga/schema.rb +1 -1
  77. data/lib/groonga/statistic-measurer.rb +1 -1
  78. data/lib/groonga/sub-records.rb +1 -1
  79. data/lib/groonga/table.rb +1 -1
  80. data/misc/grnop2ruby.rb +1 -1
  81. data/rroonga-build.rb +4 -4
  82. data/rroonga.gemspec +3 -3
  83. data/test/groonga-test-utils.rb +4 -4
  84. data/test/run-test.rb +1 -1
  85. data/test/test-accessor.rb +1 -1
  86. data/test/test-array.rb +1 -1
  87. data/test/test-column.rb +1 -1
  88. data/test/test-command-select.rb +1 -1
  89. data/test/test-context.rb +21 -16
  90. data/test/test-convert.rb +1 -1
  91. data/test/test-database-dumper.rb +1 -1
  92. data/test/test-database-inspector.rb +1 -1
  93. data/test/test-database.rb +38 -25
  94. data/test/test-double-array-trie.rb +1 -1
  95. data/test/test-encoding.rb +1 -1
  96. data/test/test-exception.rb +12 -7
  97. data/test/test-expression-builder.rb +1 -1
  98. data/test/test-expression.rb +1 -1
  99. data/test/test-fix-size-column.rb +1 -1
  100. data/test/test-geo-point.rb +1 -1
  101. data/test/test-gqtp.rb +1 -1
  102. data/test/test-hash.rb +1 -1
  103. data/test/test-index-column.rb +1 -1
  104. data/test/test-index-cursor.rb +1 -1
  105. data/test/test-lock-timeout.rb +1 -1
  106. data/test/test-logger.rb +1 -1
  107. data/test/test-memory-pool.rb +1 -1
  108. data/test/test-normalizer.rb +1 -1
  109. data/test/test-pagination.rb +1 -1
  110. data/test/test-patricia-trie.rb +1 -1
  111. data/test/test-plugin.rb +1 -1
  112. data/test/test-procedure.rb +9 -2
  113. data/test/test-record.rb +1 -1
  114. data/test/test-remote.rb +1 -1
  115. data/test/test-schema-create-table.rb +1 -1
  116. data/test/test-schema-dumper.rb +1 -1
  117. data/test/test-schema-type.rb +1 -1
  118. data/test/test-schema.rb +1 -1
  119. data/test/test-snippet.rb +1 -1
  120. data/test/test-statistic-measurer.rb +1 -1
  121. data/test/test-sub-records.rb +1 -1
  122. data/test/test-table-dumper.rb +1 -1
  123. data/test/test-table-key-support.rb +1 -1
  124. data/test/test-table-offset-and-limit.rb +1 -1
  125. data/test/test-table-select-mecab.rb +1 -1
  126. data/test/test-table-select-normalize.rb +1 -1
  127. data/test/test-table-select-weight.rb +1 -1
  128. data/test/test-table-select.rb +1 -1
  129. data/test/test-table-traverse.rb +1 -1
  130. data/test/test-table.rb +1 -1
  131. data/test/test-type.rb +1 -1
  132. data/test/test-variable-size-column.rb +136 -67
  133. data/test/test-variable.rb +1 -1
  134. data/test/test-vector-column.rb +1 -1
  135. data/test/test-version.rb +1 -1
  136. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  137. data/vendor/local/bin/groonga.exe +0 -0
  138. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  139. data/vendor/local/bin/libgroonga-0.dll +0 -0
  140. data/vendor/local/bin/libmecab-1.dll +0 -0
  141. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  142. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  143. data/vendor/local/bin/libstdc++-6.dll +0 -0
  144. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  145. data/vendor/local/bin/mecab-config +0 -0
  146. data/vendor/local/bin/mecab.exe +0 -0
  147. data/vendor/local/include/groonga/groonga.h +38 -5
  148. data/vendor/local/include/groonga/groonga/plugin.h +11 -83
  149. data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
  150. data/vendor/local/include/msgpack.h +1 -0
  151. data/vendor/local/include/msgpack/fbuffer.h +47 -0
  152. data/vendor/local/include/msgpack/fbuffer.hpp +56 -0
  153. data/vendor/local/include/msgpack/object.hpp +12 -3
  154. data/vendor/local/include/msgpack/pack.h +7 -3
  155. data/vendor/local/include/msgpack/pack.hpp +26 -7
  156. data/vendor/local/include/msgpack/pack_template.h +34 -7
  157. data/vendor/local/include/msgpack/sbuffer.h +3 -2
  158. data/vendor/local/include/msgpack/sbuffer.hpp +1 -1
  159. data/vendor/local/include/msgpack/sysdep.h +27 -14
  160. data/vendor/local/include/msgpack/type.hpp +2 -1
  161. data/vendor/local/include/msgpack/type/define.hpp +747 -561
  162. data/vendor/local/include/msgpack/type/float.hpp +24 -4
  163. data/vendor/local/include/msgpack/type/int.hpp +78 -13
  164. data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +31 -10
  165. data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +30 -10
  166. data/vendor/local/include/msgpack/unpack.h +9 -9
  167. data/vendor/local/include/msgpack/unpack_define.h +16 -14
  168. data/vendor/local/include/msgpack/unpack_template.h +19 -8
  169. data/vendor/local/include/msgpack/version.h +1 -1
  170. data/vendor/local/include/msgpack/vrefbuffer.h +10 -9
  171. data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -2
  172. data/vendor/local/include/msgpack/zbuffer.h +3 -2
  173. data/vendor/local/include/msgpack/zbuffer.hpp +4 -2
  174. data/vendor/local/include/msgpack/zone.h +5 -4
  175. data/vendor/local/include/msgpack/zone.hpp +10 -1
  176. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  177. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  178. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  179. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
  180. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  181. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  182. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  183. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
  184. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  185. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  186. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  187. data/vendor/local/lib/groonga/plugins/table/table.la +1 -1
  188. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  189. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  190. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  191. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  192. data/vendor/local/lib/libgroonga.a +0 -0
  193. data/vendor/local/lib/libgroonga.dll.a +0 -0
  194. data/vendor/local/lib/libgroonga.la +1 -1
  195. data/vendor/local/lib/libmecab.a +0 -0
  196. data/vendor/local/lib/libmecab.dll.a +0 -0
  197. data/vendor/local/lib/libmecab.la +2 -2
  198. data/vendor/local/lib/libmsgpack.a +0 -0
  199. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  200. data/vendor/local/lib/libmsgpack.la +1 -1
  201. data/vendor/local/lib/libmsgpackc.a +0 -0
  202. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  203. data/vendor/local/lib/libmsgpackc.la +1 -1
  204. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  205. data/vendor/local/lib/pkgconfig/msgpack.pc +10 -0
  206. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  207. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  208. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  209. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  210. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  211. data/vendor/local/sbin/groonga-httpd-restart +0 -0
  212. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  213. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +2 -6
  214. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -26
  215. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +9 -5
  216. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -15
  217. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  218. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  219. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  220. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  222. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +149 -1194
  223. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +49 -0
  224. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +617 -0
  225. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +536 -0
  226. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +122 -3
  227. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -1
  228. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +50 -55
  229. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +25 -31
  230. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +26 -29
  231. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +20 -26
  232. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +26 -29
  233. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +28 -28
  234. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +20 -26
  235. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +20 -26
  236. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +29 -34
  237. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +3 -3
  238. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +20 -20
  239. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +2 -2
  240. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +19 -20
  241. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +19 -24
  242. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +78 -87
  243. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +20 -22
  244. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +19 -24
  245. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +27 -0
  246. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +3 -3
  247. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
  248. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
  249. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
  250. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +132 -0
  251. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +100 -0
  252. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
  253. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  254. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
  255. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -2
  256. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +3 -2
  257. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +28 -25
  258. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +26 -21
  259. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -3
  260. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +17 -12
  261. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +44 -42
  262. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -18
  263. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +2 -0
  264. data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
  265. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  266. data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -19
  267. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  268. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  269. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  270. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  271. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
  272. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  273. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  274. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  275. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  276. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  277. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +17 -19
  278. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  279. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  280. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +17 -19
  281. data/vendor/local/share/doc/groonga/en/html/genindex.html +136 -26
  282. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +17 -19
  283. data/vendor/local/share/doc/groonga/en/html/index.html +56 -56
  284. data/vendor/local/share/doc/groonga/en/html/install.html +17 -19
  285. data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -50
  286. data/vendor/local/share/doc/groonga/en/html/install/debian.html +59 -35
  287. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +40 -44
  288. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +20 -22
  289. data/vendor/local/share/doc/groonga/en/html/install/others.html +21 -23
  290. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +20 -22
  291. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +33 -35
  292. data/vendor/local/share/doc/groonga/en/html/install/windows.html +26 -28
  293. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
  294. data/vendor/local/share/doc/groonga/en/html/news.html +320 -1367
  295. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  296. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +17 -19
  297. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  298. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +17 -19
  299. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +160 -0
  300. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +804 -0
  301. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +727 -0
  302. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  303. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  304. data/vendor/local/share/doc/groonga/en/html/reference.html +41 -41
  305. data/vendor/local/share/doc/groonga/en/html/reference/api.html +17 -19
  306. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +19 -21
  307. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +23 -25
  308. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +23 -25
  309. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +19 -21
  310. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -30
  311. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +21 -23
  312. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +21 -23
  313. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +30 -32
  314. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +21 -23
  315. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +21 -23
  316. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +21 -23
  317. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +19 -21
  318. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +21 -23
  319. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +21 -23
  320. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -42
  321. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +20 -22
  322. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +18 -20
  323. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +35 -37
  324. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -27
  325. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +18 -20
  326. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +18 -20
  327. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +226 -24
  328. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  329. data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
  330. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +17 -19
  331. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +17 -20
  332. data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -35
  333. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  334. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +17 -19
  335. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +17 -19
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +18 -20
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +73 -85
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +50 -62
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +18 -20
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +18 -20
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +53 -65
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +19 -21
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +45 -57
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +49 -59
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +19 -21
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +47 -51
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +19 -21
  348. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +44 -56
  349. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +45 -57
  350. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +54 -63
  351. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +18 -20
  352. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +21 -23
  353. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +42 -46
  354. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -22
  355. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +18 -20
  356. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +17 -19
  357. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +18 -20
  358. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +41 -46
  359. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +52 -64
  360. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +201 -213
  361. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +19 -21
  362. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +74 -81
  363. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +42 -54
  364. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +174 -20
  365. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +20 -22
  366. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +17 -19
  367. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +17 -19
  368. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +17 -19
  369. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +31 -24
  370. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -19
  371. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
  372. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  373. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +17 -19
  374. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -27
  375. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +19 -21
  376. data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +17 -19
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +17 -19
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +17 -19
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +17 -19
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -24
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +311 -0
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +278 -0
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +42 -44
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +37 -39
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +53 -55
  387. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +39 -41
  388. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +40 -42
  389. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
  390. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +17 -19
  391. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -19
  392. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +17 -19
  393. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -23
  394. data/vendor/local/share/doc/groonga/en/html/reference/log.html +18 -20
  395. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -19
  396. data/vendor/local/share/doc/groonga/en/html/reference/output.html +17 -19
  397. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  398. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -19
  399. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +17 -19
  400. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
  401. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +17 -19
  402. data/vendor/local/share/doc/groonga/en/html/reference/types.html +17 -19
  403. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  404. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  405. data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
  406. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
  407. data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
  408. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +18 -20
  409. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
  410. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
  411. data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
  412. data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
  413. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -19
  414. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  415. data/vendor/local/share/doc/groonga/en/html/suggest.html +17 -19
  416. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +17 -19
  417. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +17 -19
  418. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +17 -19
  419. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +17 -19
  420. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +17 -19
  421. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  422. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  423. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  424. data/vendor/local/share/doc/groonga/en/html/tutorial.html +32 -34
  425. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +21 -23
  426. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +28 -29
  427. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +52 -52
  428. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  429. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -23
  430. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +57 -56
  431. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +22 -24
  432. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -22
  433. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +46 -44
  434. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +17 -19
  435. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +71 -69
  436. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  437. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +2 -6
  438. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -26
  439. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +9 -5
  440. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -15
  441. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  442. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +149 -1194
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +49 -0
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +617 -0
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +536 -0
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +122 -3
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -1
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +50 -55
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +25 -31
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +26 -29
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +20 -26
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +26 -29
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +28 -28
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +20 -26
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +20 -26
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +29 -34
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +3 -3
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +20 -20
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +2 -2
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +19 -20
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +19 -24
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +78 -87
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +20 -22
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +19 -24
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +27 -0
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +3 -3
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +132 -0
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +100 -0
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -2
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +3 -2
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +28 -25
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +26 -21
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -3
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +17 -12
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +44 -42
  486. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -18
  487. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +2 -0
  488. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  489. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  490. data/vendor/local/share/doc/groonga/ja/html/contribution.html +17 -19
  491. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  492. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  493. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  494. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  495. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +17 -19
  496. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  497. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  498. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  499. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  500. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -21
  501. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +17 -19
  502. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
  503. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  504. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +17 -19
  505. data/vendor/local/share/doc/groonga/ja/html/genindex.html +136 -26
  506. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +17 -19
  507. data/vendor/local/share/doc/groonga/ja/html/index.html +53 -53
  508. data/vendor/local/share/doc/groonga/ja/html/install.html +17 -19
  509. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -50
  510. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +62 -36
  511. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +33 -35
  512. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +20 -22
  513. data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -23
  514. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +20 -22
  515. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +34 -36
  516. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +26 -28
  517. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
  518. data/vendor/local/share/doc/groonga/ja/html/news.html +354 -1643
  519. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  520. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +17 -19
  521. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  522. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +17 -19
  523. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +180 -0
  524. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +950 -0
  525. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +831 -0
  526. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  527. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  528. data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -41
  529. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -19
  530. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +19 -21
  531. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -26
  532. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -25
  533. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +19 -21
  534. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +28 -30
  535. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +21 -23
  536. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +21 -23
  537. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +30 -32
  538. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +21 -23
  539. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +21 -23
  540. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +21 -23
  541. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +19 -21
  542. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +21 -23
  543. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +21 -23
  544. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -42
  545. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +20 -22
  546. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +18 -20
  547. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +35 -37
  548. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -27
  549. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +18 -20
  550. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +18 -20
  551. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +226 -24
  552. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  553. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
  554. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +17 -19
  555. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -21
  556. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -35
  557. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  558. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +17 -19
  559. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +17 -19
  560. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +18 -20
  561. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +73 -85
  562. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +50 -62
  563. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +18 -20
  564. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +42 -57
  565. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +53 -65
  566. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +27 -35
  567. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +45 -57
  568. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +49 -59
  569. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +19 -21
  570. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +47 -51
  571. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +19 -21
  572. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +44 -56
  573. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +45 -57
  574. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +54 -63
  575. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -22
  576. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +27 -30
  577. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +42 -46
  578. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -22
  579. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +18 -20
  580. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +17 -19
  581. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +18 -20
  582. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +41 -46
  583. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +52 -64
  584. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +195 -207
  585. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +19 -21
  586. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +74 -81
  587. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +42 -54
  588. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +172 -21
  589. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +26 -29
  590. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +17 -19
  591. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +17 -19
  592. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +17 -19
  593. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +31 -24
  594. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -19
  595. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
  596. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  597. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +17 -19
  598. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -27
  599. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +19 -21
  600. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
  601. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +18 -21
  602. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +17 -19
  603. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +17 -19
  604. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +17 -19
  605. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -24
  606. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +294 -0
  607. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +266 -0
  608. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +42 -44
  609. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +37 -39
  610. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -62
  611. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +39 -41
  612. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -41
  613. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +39 -41
  614. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +17 -19
  615. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -19
  616. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -19
  617. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -23
  618. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +18 -20
  619. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +17 -19
  620. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +17 -19
  621. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  622. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -19
  623. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +17 -19
  624. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
  625. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +17 -19
  626. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +17 -19
  627. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  628. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  629. data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
  630. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
  631. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
  632. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +18 -20
  633. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
  634. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
  635. data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
  636. data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
  637. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +17 -19
  638. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  639. data/vendor/local/share/doc/groonga/ja/html/suggest.html +17 -19
  640. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +17 -19
  641. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +17 -19
  642. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +17 -19
  643. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +17 -19
  644. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +17 -19
  645. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  646. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  647. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  648. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +29 -31
  649. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +24 -26
  650. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +28 -31
  651. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +33 -35
  652. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -22
  653. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  654. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +43 -43
  655. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +19 -21
  656. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -23
  657. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +39 -38
  658. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +17 -19
  659. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +68 -64
  660. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  661. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +2 -2
  662. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  663. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  664. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  665. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  666. data/vendor/local/share/groonga/examples/dictionary/html/index.html +2 -2
  667. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +4 -0
  668. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +356 -0
  669. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  670. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  671. data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +11 -0
  672. data/vendor/local/share/groonga/html/admin/index.html +75 -75
  673. data/vendor/local/share/groonga/html/admin/index.ja.html +301 -0
  674. data/vendor/local/share/groonga/html/admin/js/groonga-admin.ja.js +1372 -0
  675. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +28 -28
  676. data/vendor/local/share/license/groonga/README.md +49 -0
  677. data/vendor/local/share/man/ja/man1/groonga.1 +1934 -1247
  678. data/vendor/local/share/man/man1/groonga.1 +2008 -1240
  679. metadata +111 -83
  680. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js +0 -16
  681. data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js +0 -406
  682. data/vendor/local/share/license/groonga/AUTHORS +0 -17
@@ -25,6 +25,7 @@ optional::
25
25
  string
26
26
  [normalizer=null]
27
27
  [flags=NONE]
28
+ [mode=ADD]
28
29
 
29
30
  Usage
30
31
  -----
@@ -163,6 +164,32 @@ string. So the character is good character for this puropose. If
163
164
  treated as already tokenized string. Tokenizer just tokenizes by
164
165
  tokenized delimiter.
165
166
 
167
+ ``mode``
168
+ """"""""
169
+
170
+ It specifies a tokenize mode. If the mode is specified ``ADD``, the text
171
+ is tokenized by the rule that adding a document. If the mode is specified
172
+ ``GET``, the text is tokenized by the rule that searching a document. If
173
+ the mode is omitted, the text is tokenized by the ``ADD`` mode.
174
+
175
+ The default mode is ``ADD``.
176
+
177
+ Here is an example to the ``ADD`` mode.
178
+
179
+ .. groonga-command
180
+ .. include:: ../../example/reference/commands/tokenize/add_mode.log
181
+ .. tokenize TokenBigram "Fulltext Search" --mode ADD
182
+
183
+ The last alphabet is tokenized by one character.
184
+
185
+ Here is an example to the ``GET`` mode.
186
+
187
+ .. groonga-command
188
+ .. include:: ../../example/reference/commands/tokenize/get_mode.log
189
+ .. tokenize TokenBigram "Fulltext Search" --mode GET
190
+
191
+ The last alphabet is tokenized by two characters.
192
+
166
193
  Return value
167
194
  ------------
168
195
 
@@ -39,15 +39,15 @@ Return value
39
39
  ``tokenizer_list`` command returns tokenizers. Each tokenizers has an attribute
40
40
  that contains the name. The attribute will be increased in the feature::
41
41
 
42
- [HEADER, tokenizer]
42
+ [HEADER, tokenizers]
43
43
 
44
44
  ``HEADER``
45
45
 
46
46
  See :doc:`/reference/command/output_format` about ``HEADER``.
47
47
 
48
- ``tokenizer``
48
+ ``tokenizers``
49
49
 
50
- ``tokenizer`` is an array of tokenizer. Tokenizer is an object that has the following
50
+ ``tokenizers`` is an array of tokenizer. Tokenizer is an object that has the following
51
51
  attributes.
52
52
 
53
53
  .. list-table::
@@ -97,7 +97,7 @@ groonga-benchmark用のデータファイルは自分で作成することも既
97
97
  groonga-benchmark命令
98
98
  ^^^^^^^^^^^^^^^^^^^^^
99
99
 
100
- 現在サポートされているgroonga-benchmark命令は以下の8つです。
100
+ 現在サポートされているgroonga-benchmark命令は以下の11種類です。
101
101
 
102
102
  do_local コマンドファイル [スレッド数] [繰り返し数]
103
103
 
@@ -105,7 +105,11 @@ groonga-benchmark命令
105
105
 
106
106
  do_gqpt コマンドファイル [スレッド数] [繰り返し数]
107
107
 
108
- コマンドファイルをgroongaサーバで実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。
108
+ コマンドファイルをgroongaサーバでGQTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。
109
+
110
+ do_http コマンドファイル [スレッド数] [繰り返し数]
111
+
112
+ コマンドファイルをgroongaサーバでHTTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。
109
113
 
110
114
  rep_local コマンドファイル [スレッド数] [繰り返し数]
111
115
 
@@ -113,7 +117,11 @@ groonga-benchmark命令
113
117
 
114
118
  rep_gqpt コマンドファイル [スレッド数] [繰り返し数]
115
119
 
116
- コマンドファイルをgroongaサーバで実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。
120
+ コマンドファイルをgroongaサーバでGQTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。
121
+
122
+ rep_http コマンドファイル [スレッド数] [繰り返し数]
123
+
124
+ コマンドファイルをgroongaサーバでHTTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。
117
125
 
118
126
  out_local コマンドファイル 入力ファイル名
119
127
 
@@ -125,7 +133,11 @@ groonga-benchmark命令
125
133
 
126
134
  out_gqtp コマンドファイル 出力ファイル名
127
135
 
128
- コマンドファイルをgroongaサーバで実行します。その他はout_local命令と同等です。
136
+ コマンドファイルをgroongaサーバでGQTP経由で実行します。その他はout_local命令と同等です。
137
+
138
+ out_http コマンドファイル 出力ファイル名
139
+
140
+ コマンドファイルをgroongaサーバでHTTP経由で実行します。その他はout_local命令と同等です。
129
141
 
130
142
  test_local コマンドファイル 入力ファイル名
131
143
  コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。
@@ -152,7 +164,7 @@ groonga-benchmark命令
152
164
  1行目
153
165
  コメント行。
154
166
  2行目
155
- test.dll というコマンドファイルをgroonga単体で実行し、詳細に報告する。
167
+ test.ddl というコマンドファイルをgroonga単体で実行し、詳細に報告する。
156
168
  3行目
157
169
  test.load というコマンドファイルをgroonga単体で実行する。(最後の";"セミコロンは複数のgroonga-benchmark命令を記述する場合に必要ですが、この例のように1つのgroonga-benchmark命令を実行する場合に付与しても問題ありません。)
158
170
  4行目
@@ -45,21 +45,30 @@ Here is the sample to load log data under ``logs`` directory::
45
45
  Options
46
46
  -------
47
47
 
48
- .. cmdoption:: -r
48
+ .. cmdoption:: -r <endpoint>, --receive-endpoint <endpoint>
49
49
 
50
- Specify endpoint for receiver.
50
+ Uses ``<endpoint>`` as the receiver endpoint.
51
51
 
52
- .. cmdoption:: -s
52
+ .. cmdoption:: -s <endpoint>, --send-endpoint <endpoint>
53
53
 
54
- Specify endpoint for sender.
54
+ Uses ``<endpoint>`` as the sender endpoint.
55
55
 
56
- .. cmdoption:: -d
56
+ .. cmdoption:: -d, --daemon
57
57
 
58
- Specify this option to daemonize.
58
+ Runs as a daemon.
59
59
 
60
- .. cmdoption:: -l
60
+ .. cmdoption:: -l <directory>, --log-base-path <directory>
61
61
 
62
- Specify log directory.
62
+ Reads logs from ``<directory>``.
63
+
64
+ .. cmdoption:: --log-path <path>
65
+
66
+ Outputs log to ``<path>``.
67
+
68
+ .. cmdoption:: --log-level <level>
69
+
70
+ Uses ``<level>`` for log level. ``<level>`` must be between 1 and 9.
71
+ Larger level outputs more logs.
63
72
 
64
73
  Parameters
65
74
  ----------
@@ -64,7 +64,7 @@ Groongaのデータベースは、groongaコマンドかCライブラリイン
64
64
  .. cmdoption:: -p, --port <port number>
65
65
 
66
66
  クライアント、サーバ、またはデーモンモードで使用するTCPポート番号。
67
- (デフォルトは10041番)
67
+ (クライアントモードのデフォルトは10043番、サーバ、またはデーモンモードのデフォルトは、HTTPの場合、10041番、GQTPの場合、10043番)
68
68
 
69
69
  .. cmdoption:: -i, --server-id <ip/hostname>
70
70
 
@@ -132,7 +132,7 @@ Groongaのデータベースは、groongaコマンドかCライブラリイン
132
132
 
133
133
  使用するデータベースのパス名を指定します。
134
134
 
135
- クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト値は'localhost:10041')。ポート番号を指定しない場合には、10041が指定されたものとします。
135
+ クライアントモードの場合は接続先のホスト名とポート番号を指定します(デフォルト値は'localhost:10043')。ポート番号を指定しない場合には、10043が指定されたものとします。
136
136
 
137
137
  .. cmdoption:: command [args]
138
138
 
@@ -0,0 +1,132 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: functions_highlight_full
7
+
8
+ highlight_full
9
+ ==============
10
+
11
+ .. caution::
12
+
13
+ This feature is experimental. API will be changed.
14
+
15
+ Summary
16
+ -------
17
+
18
+ ``highlight_full`` tags target text. It can use to highlight the search
19
+ keyword. It can specify use/not use HTML escape, the normalizer name and
20
+ change the tag for each keyword.
21
+
22
+ Syntax
23
+ ------
24
+
25
+ ``highlight_full`` has required parameter and optional parameter::
26
+
27
+ highlight_full(column, normalizer_name, use_html_escape,
28
+ keyword1, open_tag1, close_tag1,
29
+ ...
30
+ [keywordN, open_tagN, close_tagN])
31
+
32
+ Usage
33
+ -----
34
+
35
+ Here are a schema definition and sample data to show usage.
36
+
37
+ .. groonga-command
38
+ .. include:: ../../example/reference/functions/highlight_full/usage_setup.log
39
+ .. table_create Entries TABLE_NO_KEY
40
+ .. column_create Entries body COLUMN_SCALAR ShortText
41
+ .. table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
42
+ .. column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
43
+ .. load --table Entries
44
+ .. [
45
+ .. ["content"],
46
+ .. {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
47
+ .. ]
48
+
49
+ ``highlight_full`` can be used in only ``--output_columns`` in
50
+ :doc:`/reference/commands/select`.
51
+
52
+ ``highlight_full`` requires Groonga 4.0.5 or later.
53
+
54
+ ``highlight_full`` requires :doc:`/reference/command/command_version` 2
55
+ or later.
56
+
57
+ The following example uses HTML escape and normalzier is ``NormalizeAuto``.
58
+ It specifies the tags ``<span class="keyword1">`` and ``</span>`` of the
59
+ keyword ``groonga``, and the tags ``<span class="keyword2">`` and ``</span>``
60
+ of the keyword ``mysql``.
61
+
62
+ .. groonga-command
63
+ .. include:: ../../example/reference/functions/highlight_full/usage_basic.log
64
+ .. select Entries --output_columns 'highlight_full(body, "NormalizerAuto", true, "Groonga", "<span class=\\"keyword1\\">", "</span>", "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2
65
+
66
+ The text are scanned by the keywords for tagging after they are normalized
67
+ by ``NormalizerAuto`` normalizer.
68
+
69
+ ``--query "groonga mysql"`` matches to the first record's body.
70
+ ``highight_full`` surrounds the keywords ``groonga`` contained in the text
71
+ with ``<span class="keyword1">`` and ``</span>``, and the keywords ``mysql``
72
+ contained in the text with with ``<span class="keyword2">`` and ``</span>``.
73
+
74
+ Special characters such as ``<`` and ``>`` are escapsed as ``&lt;`` and
75
+ ``&gt;``.
76
+
77
+ You can specify string literal instead of column.
78
+
79
+ .. groonga-command
80
+ .. include:: ../../example/reference/functions/highlight_full/usage_string_literal.log
81
+ .. select Entries --output_columns 'highlight_full("Groonga is very fast fulltext search engine.", "NormalizerAuto", true, "Groonga", "<span class=\\"keyword1\\">", "</span>", "mysql", "<span class=\\"keyword2\\">", "</span>")' --command_version 2 --match_columns body --query "groonga"
82
+
83
+ Parameters
84
+ ----------
85
+ There are three required parameters, ``column``, ``normalizer_name`` and ``use_html_escape``.
86
+ There are three or over optional parameters, ``keywordN``, ``open_tagN`` and ``end_tagN``.
87
+
88
+ ``column``
89
+ ^^^^^^^^^^
90
+
91
+ It specifies a column of the table.
92
+
93
+ ``normalizer_name``
94
+ ^^^^^^^^^^^^^^^^^^^
95
+
96
+ It specifies a normalizer name.
97
+
98
+ ``use_html_escape``
99
+ ^^^^^^^^^^^^^^^^^^^
100
+
101
+ It specifies use or not use HTML escape. If it is ``true`` , use HTML escape.
102
+ If it is ``false`` , not use HTML escape.
103
+
104
+ ``keywordN``
105
+ ^^^^^^^^^^^^
106
+
107
+ It specifies a keyword for tagging.
108
+ You can specify multiple keywords for each three arguments.
109
+
110
+ ``open_tagN``
111
+ ^^^^^^^^^^^^^
112
+
113
+ It specifies a open tag.
114
+ You can specify multiple open tags for each three arguments.
115
+
116
+ ``close_tagN``
117
+ ^^^^^^^^^^^^^^
118
+
119
+ It specifies a close tag.
120
+ You can specify multiple close tags for each three arguments.
121
+
122
+ Return value
123
+ ------------
124
+
125
+ ``highlight_full`` returns a tagged string or ``null``. If
126
+ ``highlight_full`` can't find any keywords, it returns ``null``.
127
+
128
+ See also
129
+ --------
130
+
131
+ * :doc:`/reference/commands/select`
132
+ * :doc:`/reference/functions/highlight_html`
@@ -0,0 +1,100 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: functions_highlight_html
7
+
8
+ highlight_html
9
+ ==============
10
+
11
+ .. caution::
12
+
13
+ This feature is experimental. API will be changed.
14
+
15
+ Summary
16
+ -------
17
+
18
+ ``highlight_html`` tags target text. It can use to highlight the search
19
+ keywords. The tagged text are prepared for embedding HTML. Special
20
+ characters such as ``<`` and ``>`` are escapsed as ``&lt;`` and ``&gt;``.
21
+ Keyword is surrounded with ``<span class="keyword">`` and ``</span>``.
22
+ For example, a tagged text of ``I am a groonga user. <3`` for keyword
23
+ ``groonga`` is ``I am a <span class="keyword">groonga</span> user. &lt;3``.
24
+
25
+ Syntax
26
+ ------
27
+
28
+ ``highlight_html`` has only one parameter::
29
+
30
+ highlight_html(column)
31
+
32
+ Usage
33
+ -----
34
+
35
+ Here are a schema definition and sample data to show usage.
36
+
37
+ .. groonga-command
38
+ .. include:: ../../example/reference/functions/highlight_html/usage_setup.log
39
+ .. table_create Entries TABLE_NO_KEY
40
+ .. column_create Entries body COLUMN_SCALAR ShortText
41
+ .. table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
42
+ .. column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
43
+ .. load --table Entries
44
+ .. [
45
+ .. ["content"],
46
+ .. {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
47
+ .. ]
48
+
49
+ ``highlight_html`` can be used in only ``--output_columns`` in
50
+ :doc:`/reference/commands/select`.
51
+
52
+ ``highlight_html`` requires Groonga 4.0.5 or later.
53
+
54
+ ``highlight_html`` requires :doc:`/reference/command/command_version` 2
55
+ or later.
56
+
57
+ You also need to specify ``--query`` and/or ``--filter``. Keywords are
58
+ extracted from ``--query`` and ``--filter`` arguments.
59
+
60
+ The following example uses ``--query "groonga mysql"``. In this case,
61
+ ``groonga`` and ``mysql`` are used as keywords.
62
+
63
+ .. groonga-command
64
+ .. include:: ../../example/reference/functions/highlight_html/usage_basic.log
65
+ .. select Entries --output_columns --match_columns body --query 'groonga mysql' --output_columns 'highlight_html(body)' --command_version 2
66
+
67
+ The text are scanned by the keywords for tagging after they are normalized
68
+ by ``NormalizerAuto`` normalizer.
69
+
70
+ ``--query "groonga mysql"`` matches to only the first record's body.
71
+ ``highlight_html(body)`` surrounds the keywords ``groonga`` or ``mysql``
72
+ contained in the text with ``<span class="keyword">`` and ``</span>``.
73
+
74
+ You can specify string literal instead of column.
75
+
76
+ .. groonga-command
77
+ .. include:: ../../example/reference/functions/highlight_html/usage_string_literal.log
78
+ .. select Entries --output_columns 'highlight_html("Groonga is very fast fulltext search engine.")' --command_version 2 --match_columns body --query "groonga"
79
+
80
+ Parameters
81
+ ----------
82
+
83
+ There is only one parameter ``column`` .
84
+
85
+ ``column``
86
+ ^^^^^^^^^^
87
+
88
+ It specifies a column of the table.
89
+
90
+ Return value
91
+ ------------
92
+
93
+ ``highlight_html`` returns a tagged string or ``null``. If
94
+ ``highlight_html`` can't find any keywords, it returns ``null``.
95
+
96
+ See also
97
+ --------
98
+
99
+ * :doc:`/reference/commands/select`
100
+ * :doc:`/reference/functions/highlight_full`
@@ -70,7 +70,7 @@ case, ``fast`` and ``performance`` are used as keywords.
70
70
 
71
71
  ``--query "fast performance"`` matches to only the first record's
72
72
  content. ``snippet_html(content)`` extracts two text parts that
73
- include the keywords ``fast`` or ``performance`` and surronds the
73
+ include the keywords ``fast`` or ``performance`` and surrounds the
74
74
  keywords with ``<span class="keyword">`` and ``</span>``.
75
75
 
76
76
  The max number of text parts is 3. If there are 4 or more text parts
@@ -27,7 +27,7 @@ There are many differences between :doc:`groonga` and
27
27
  +----------------------------+------------------------+----------------------+
28
28
  | Gzip compression | x | o |
29
29
  +----------------------------+------------------------+----------------------+
30
- | POST | x | o |
30
+ | POST | o | o |
31
31
  +----------------------------+------------------------+----------------------+
32
32
  | HTTPS | x | o |
33
33
  +----------------------------+------------------------+----------------------+
@@ -38,7 +38,7 @@ If you want to handle over 16GB groonga database, you must specify at least 6553
38
38
 
39
39
  You can modify vm.max_map_count temporary by sudo sysctl -w vm.max_map_count=65536.
40
40
 
41
- Then save the configuration value to /etc/sysctl.conf or /etc/sysctl.d/*.conf.
41
+ Then save the configuration value to ``/etc/sysctl.conf`` or ``/etc/sysctl.d/*.conf``.
42
42
 
43
43
  See :doc:`/reference/tuning` documentation about tuning related parameters.
44
44
 
@@ -136,7 +136,9 @@ The following example adds a reference column to the Site table that was created
136
136
  .. include:: ../example/tutorial/data-7.log
137
137
  .. column_create --table Site --name link --type Site
138
138
  .. load --table Site
139
- .. [{"_key":"http://example.org/","link":"http://example.net/"}]
139
+ .. [
140
+ .. {"_key":"http://example.org/","link":"http://example.net/"}
141
+ .. ]
140
142
  .. select --table Site --output_columns _key,title,link._key,link.title --query title:@this
141
143
 
142
144
  The `type` parameter of the :doc:`/reference/commands/column_create` command specifies the table to be associated with the reference column. In this example, the reference column is associated with the own table. Then, the :doc:`/reference/commands/load` command registers a link from "http://example.org" to "http://example.net". Note that a reference column requires the primary key, not the ID, of the record to be referred to. After that, the link is confirmed by the :doc:`/reference/commands/select` command. In this case, the primary key and the title of the referred record are output because link._key and link.title are specified to the `output_columns` parameter.
@@ -154,7 +156,9 @@ The previous example used a regular column, so each record could have at most on
154
156
  .. include:: ../example/tutorial/data-8.log
155
157
  .. column_create --table Site --name links --flags COLUMN_VECTOR --type Site
156
158
  .. load --table Site
157
- .. [{"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]}]
159
+ .. [
160
+ .. {"_key":"http://example.org/","links":["http://example.net/","http://example.org/","http://example.com/"]},
161
+ .. ]
158
162
  .. select --table Site --output_columns _key,title,links._key,links.title --query title:@this
159
163
 
160
164
  The only difference at the first step is the `flags` parameter that specifies to create a vector column. The `type` parameter of the :doc:`/reference/commands/column_create` command is the same as in the previous example. Then, the :doc:`/reference/commands/load` command registers three links from "http://example.org/" to "http://example.net/", "http://example.org/" and "http://example.com/". After that, the links are confirmed by the :doc:`/reference/commands/select` command. In this case, the primary keys and the titles are output as arrays because links._key and links.title are specified to the `output_columns` parameter.