rroonga 2.0.7-x86-mingw32 → 2.0.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. data/ext/groonga/rb-grn.h +1 -1
  2. data/lib/1.8/groonga.so +0 -0
  3. data/lib/1.9/groonga.so +0 -0
  4. data/rroonga-build.rb +1 -1
  5. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  6. data/vendor/local/bin/groonga.exe +0 -0
  7. data/vendor/local/bin/libgroonga-0.dll +0 -0
  8. data/vendor/local/bin/libmecab-1.dll +0 -0
  9. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  10. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  11. data/vendor/local/bin/mecab-config +2 -2
  12. data/vendor/local/bin/mecab.exe +0 -0
  13. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  14. data/vendor/local/etc/groonga/synonyms.tsv +5 -0
  15. data/vendor/local/include/groonga/groonga.h +77 -4
  16. data/vendor/local/include/groonga/groonga/plugin.h +45 -15
  17. data/vendor/local/include/groonga/groonga/tokenizer.h +62 -12
  18. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  19. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  20. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  21. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +41 -0
  22. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  23. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  24. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  25. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  26. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  28. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  30. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  32. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  34. data/vendor/local/lib/libgroonga.a +0 -0
  35. data/vendor/local/lib/libgroonga.dll.a +0 -0
  36. data/vendor/local/lib/libgroonga.la +2 -2
  37. data/vendor/local/lib/libmecab.a +0 -0
  38. data/vendor/local/lib/libmecab.dll.a +0 -0
  39. data/vendor/local/lib/libmecab.la +1 -1
  40. data/vendor/local/lib/libmsgpack.a +0 -0
  41. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  42. data/vendor/local/lib/libmsgpack.la +1 -1
  43. data/vendor/local/lib/libmsgpackc.a +0 -0
  44. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  45. data/vendor/local/lib/libmsgpackc.la +1 -1
  46. data/vendor/local/lib/pkgconfig/groonga.pc +4 -3
  47. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  48. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  49. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  50. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  52. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  53. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +3 -3
  54. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +23 -0
  55. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +24 -3
  56. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  57. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -3
  58. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  59. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +42 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +26 -16
  63. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +12 -2
  64. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +96 -1
  65. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +20 -0
  67. data/vendor/local/share/doc/groonga/en/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
  68. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +228 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +110 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +59 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +20 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +25 -8
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +120 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +3 -1
  76. data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions.txt → en/html/_sources/reference/query_expanders.txt} +3 -3
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +153 -0
  78. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +12 -2
  79. data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +214 -0
  80. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution.html +11 -10
  83. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +42 -19
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/index.html +62 -52
  98. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  99. data/vendor/local/share/doc/groonga/en/html/install/centos.html +26 -8
  100. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  101. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +17 -8
  102. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  103. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  104. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  105. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +47 -10
  106. data/vendor/local/share/doc/groonga/en/html/install/windows.html +25 -16
  107. data/vendor/local/share/doc/groonga/en/html/limitations.html +23 -13
  108. data/vendor/local/share/doc/groonga/en/html/news.html +175 -67
  109. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  115. data/vendor/local/share/doc/groonga/en/html/reference.html +43 -41
  116. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/{commands.html → command.html} +49 -44
  120. data/vendor/local/share/doc/groonga/en/html/reference/{command_version.html → command/command_version.html} +46 -46
  121. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +356 -0
  122. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +248 -0
  123. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -33
  124. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
  126. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +32 -32
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +32 -32
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +32 -32
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +34 -34
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -32
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -32
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -34
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -34
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +36 -36
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +31 -31
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +190 -0
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +92 -92
  140. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
  141. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +32 -32
  142. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
  143. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +32 -32
  144. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
  145. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +32 -32
  146. data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +32 -32
  147. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
  153. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
  155. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/{functions.html → function.html} +15 -9
  158. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +13 -13
  159. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +98 -16
  160. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
  161. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
  162. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
  163. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +13 -13
  164. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +303 -0
  165. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +11 -11
  168. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +12 -12
  169. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
  171. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +10 -10
  172. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +138 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +315 -0
  174. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
  175. data/vendor/local/share/doc/groonga/en/html/reference/type.html +27 -27
  176. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  178. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +19 -8
  182. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/spec.html +12 -11
  185. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +412 -0
  186. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
  187. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  207. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  208. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +3 -3
  209. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +23 -0
  210. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +24 -3
  211. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  212. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -3
  213. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  214. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  215. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  216. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +42 -3
  217. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +26 -16
  218. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +12 -2
  219. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +96 -1
  220. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -3
  221. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +20 -0
  222. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
  223. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +228 -0
  224. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +110 -0
  225. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +59 -0
  226. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -0
  227. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +20 -0
  228. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +25 -8
  229. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +120 -0
  230. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +3 -1
  231. data/vendor/local/share/doc/groonga/{source/reference/functions.txt → ja/html/_sources/reference/query_expanders.txt} +3 -3
  232. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +153 -0
  233. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +12 -2
  234. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +214 -0
  235. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  237. data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -10
  238. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  242. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +42 -19
  243. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  249. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/index.html +63 -53
  253. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
  254. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +26 -8
  255. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  256. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +17 -8
  257. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  258. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  259. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  260. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +45 -10
  261. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +25 -16
  262. data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -11
  263. data/vendor/local/share/doc/groonga/ja/html/news.html +155 -68
  264. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  269. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  270. data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -42
  271. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  274. data/vendor/local/share/doc/groonga/ja/html/reference/{commands.html → command.html} +48 -44
  275. data/vendor/local/share/doc/groonga/ja/html/reference/{command_version.html → command/command_version.html} +47 -47
  276. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +331 -0
  277. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +237 -0
  278. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -33
  279. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +32 -32
  280. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
  281. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +32 -32
  282. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +32 -32
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +32 -32
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +34 -34
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -32
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -32
  287. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
  288. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
  289. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -34
  290. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -34
  291. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +36 -36
  292. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +31 -31
  293. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +183 -0
  294. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
  295. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
  296. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +32 -32
  297. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +37 -37
  298. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -32
  299. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
  300. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +32 -32
  301. data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +32 -32
  302. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  308. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
  309. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  310. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  311. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  312. data/vendor/local/share/doc/groonga/ja/html/reference/{functions.html → function.html} +13 -9
  313. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +13 -13
  314. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +96 -15
  315. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
  316. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
  317. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
  318. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +13 -13
  319. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +281 -0
  320. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -12
  321. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -12
  322. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -17
  323. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +12 -12
  324. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
  325. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +13 -13
  326. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +10 -10
  327. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +139 -0
  328. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +278 -0
  329. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
  330. data/vendor/local/share/doc/groonga/ja/html/reference/type.html +27 -27
  331. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  333. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  336. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +17 -8
  337. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  339. data/vendor/local/share/doc/groonga/ja/html/spec.html +12 -11
  340. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +404 -0
  341. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
  342. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  346. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  347. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  348. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  349. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  350. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  351. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
  352. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  354. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  355. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  357. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  362. data/vendor/local/share/doc/groonga/source/contribution.txt +3 -3
  363. data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +23 -0
  364. data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +4 -0
  365. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +26 -0
  366. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +26 -0
  367. data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +26 -0
  368. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +28 -0
  369. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +29 -0
  370. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +17 -0
  371. data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +28 -0
  372. data/vendor/local/share/doc/groonga/source/install/centos.txt +24 -3
  373. data/vendor/local/share/doc/groonga/source/install/debian.txt +3 -3
  374. data/vendor/local/share/doc/groonga/source/install/fedora.txt +13 -3
  375. data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +3 -3
  376. data/vendor/local/share/doc/groonga/source/install/others.txt +3 -3
  377. data/vendor/local/share/doc/groonga/source/install/solaris.txt +3 -3
  378. data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +42 -3
  379. data/vendor/local/share/doc/groonga/source/install/windows.txt +26 -16
  380. data/vendor/local/share/doc/groonga/source/limitations.txt +12 -2
  381. data/vendor/local/share/doc/groonga/source/news.txt +96 -1
  382. data/vendor/local/share/doc/groonga/source/reference.txt +3 -3
  383. data/vendor/local/share/doc/groonga/source/reference/command.txt +20 -0
  384. data/vendor/local/share/doc/groonga/source/reference/{command_version.txt → command/command_version.txt} +0 -0
  385. data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +228 -0
  386. data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +110 -0
  387. data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +59 -0
  388. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -0
  389. data/vendor/local/share/doc/groonga/source/reference/function.txt +20 -0
  390. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +25 -8
  391. data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +120 -0
  392. data/vendor/local/share/doc/groonga/source/reference/indexing.txt +3 -1
  393. data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions.txt → source/reference/query_expanders.txt} +3 -3
  394. data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +153 -0
  395. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +12 -2
  396. data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +214 -0
  397. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +5 -2
  398. data/vendor/local/share/man/ja/man1/groonga.1 +1589 -218
  399. data/vendor/local/share/man/man1/groonga.1 +1685 -190
  400. metadata +66 -18
  401. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands.txt +0 -15
  402. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands.txt +0 -15
  403. data/vendor/local/share/doc/groonga/source/reference/commands.txt +0 -15
@@ -0,0 +1,315 @@
1
+
2
+
3
+
4
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+
8
+ <html xmlns="http://www.w3.org/1999/xhtml">
9
+ <head>
10
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
+
12
+ <title>8.6.1. QueryExpanderTSV &mdash; groonga v2.0.9 documentation</title>
13
+
14
+ <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
15
+ <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ var DOCUMENTATION_OPTIONS = {
19
+ URL_ROOT: '../../',
20
+ VERSION: '2.0.9',
21
+ COLLAPSE_INDEX: false,
22
+ FILE_SUFFIX: '.html',
23
+ HAS_SOURCE: true
24
+ };
25
+ </script>
26
+ <script type="text/javascript" src="../../_static/jquery.js"></script>
27
+ <script type="text/javascript" src="../../_static/underscore.js"></script>
28
+ <script type="text/javascript" src="../../_static/doctools.js"></script>
29
+ <link rel="shortcut icon" href="../../_static/favicon.ico"/>
30
+ <link rel="top" title="groonga v2.0.9 documentation" href="../../index.html" />
31
+ <link rel="up" title="8.6. Query expanders" href="../query_expanders.html" />
32
+ <link rel="next" title="8.7. 疑似カラム (pseudo_column)" href="../pseudo_column.html" />
33
+ <link rel="prev" title="8.6. Query expanders" href="../query_expanders.html" />
34
+ </head>
35
+ <body>
36
+ <div class="header">
37
+ <h1 class="title">
38
+ <a id="top-link" href="../../index.html">
39
+ <span class="project">groonga</span>
40
+ <span class="separator">-</span>
41
+ <span class="description">An open-source fulltext search engine and column store.</span>
42
+ </a>
43
+ </h1>
44
+
45
+ <div class="other-language-links">
46
+ <ul>
47
+ <li><a href="../../../../ja/html/reference/query_expanders/tsv.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
48
+ </ul>
49
+ </div>
50
+ </div>
51
+
52
+
53
+ <div class="related">
54
+ <h3>Navigation</h3>
55
+ <ul>
56
+ <li class="right" style="margin-right: 10px">
57
+ <a href="../../genindex.html" title="General Index"
58
+ accesskey="I">index</a></li>
59
+ <li class="right" >
60
+ <a href="../pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
61
+ accesskey="N">next</a> |</li>
62
+ <li class="right" >
63
+ <a href="../query_expanders.html" title="8.6. Query expanders"
64
+ accesskey="P">previous</a> |</li>
65
+ <li><a href="../../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
66
+ <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
67
+ <li><a href="../query_expanders.html" accesskey="U">8.6. Query expanders</a> &raquo;</li>
68
+ </ul>
69
+ </div>
70
+
71
+ <div class="document">
72
+ <div class="documentwrapper">
73
+ <div class="bodywrapper">
74
+ <div class="body">
75
+
76
+ <div class="section" id="queryexpandertsv">
77
+ <h1>8.6.1. QueryExpanderTSV<a class="headerlink" href="#queryexpandertsv" title="Permalink to this headline">¶</a></h1>
78
+ <div class="section" id="summary">
79
+ <h2>8.6.1.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
80
+ <p><tt class="docutils literal"><span class="pre">QueryExpanderTSV</span></tt> is a query expander plugin that reads synonyms
81
+ from TSV (Tab Separated Values) file. This plugin provides poor
82
+ feature than the embedded query expansion feature. For example, it
83
+ doesn't support word normalization. But it may be easy to use because
84
+ you can manage your synonyms by TSV file. You can edit your synonyms
85
+ by spreadsheet application such as Excel. With the embedded query
86
+ expansion feature, you manage your synonyms by groonga's table.</p>
87
+ </div>
88
+ <div class="section" id="install">
89
+ <h2>8.6.1.2. Install<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h2>
90
+ <p>You need to register <tt class="docutils literal"><span class="pre">query_expanders/tsv</span></tt> as a plugin before you
91
+ use <tt class="docutils literal"><span class="pre">QueryExpanderTSV</span></tt>:</p>
92
+ <div class="highlight-none"><div class="highlight"><pre>register query_expanders/tsv
93
+ </pre></div>
94
+ </div>
95
+ </div>
96
+ <div class="section" id="usage">
97
+ <h2>8.6.1.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
98
+ <p>You just add <tt class="docutils literal"><span class="pre">--query_expansion</span> <span class="pre">QueryExpanderTSV</span></tt> parameter to
99
+ <tt class="docutils literal"><span class="pre">select</span></tt> command:</p>
100
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;QUERY&quot; --query_expansion QueryExpanderTSV
101
+ </pre></div>
102
+ </div>
103
+ <p>If <tt class="docutils literal"><span class="pre">QUERY</span></tt> has registered synonyms, they are expanded. For example,
104
+ there are the following synonyms.</p>
105
+ <table border="1" class="docutils">
106
+ <colgroup>
107
+ <col width="38%" />
108
+ <col width="32%" />
109
+ <col width="30%" />
110
+ </colgroup>
111
+ <thead valign="bottom">
112
+ <tr class="row-odd"><th class="head">word</th>
113
+ <th class="head">synonym 1</th>
114
+ <th class="head">synonym 2</th>
115
+ </tr>
116
+ </thead>
117
+ <tbody valign="top">
118
+ <tr class="row-even"><td>groonga</td>
119
+ <td>groonga</td>
120
+ <td>Senna</td>
121
+ </tr>
122
+ <tr class="row-odd"><td>mroonga</td>
123
+ <td>mroonga</td>
124
+ <td>groonga MySQL</td>
125
+ </tr>
126
+ </tbody>
127
+ </table>
128
+ <p>The table means that <tt class="docutils literal"><span class="pre">synonym</span> <span class="pre">1</span></tt> and <tt class="docutils literal"><span class="pre">synonym</span> <span class="pre">2</span></tt> are synonyms of
129
+ <tt class="docutils literal"><span class="pre">word</span></tt>. For example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt> are synonyms of
130
+ <tt class="docutils literal"><span class="pre">groonga</span></tt>. And <tt class="docutils literal"><span class="pre">mroonga</span></tt> and <tt class="docutils literal"><span class="pre">groonga</span> <span class="pre">MySQL</span></tt> are synonyms of
131
+ <tt class="docutils literal"><span class="pre">mroonga</span></tt>.</p>
132
+ <p>Here is an example of query expnasion that uses <tt class="docutils literal"><span class="pre">groonga</span></tt> as query:</p>
133
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;groonga&quot; --query_expansion QueryExpanderTSV
134
+ </pre></div>
135
+ </div>
136
+ <p>The above command equals to the following command:</p>
137
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;groonga OR Senna&quot; --query_expansion QueryExpanderTSV
138
+ </pre></div>
139
+ </div>
140
+ <p>Here is another example of query expnasion that uses <tt class="docutils literal"><span class="pre">mroonga</span>
141
+ <span class="pre">search</span></tt> as query:</p>
142
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;mroonga search&quot; --query_expansion QueryExpanderTSV
143
+ </pre></div>
144
+ </div>
145
+ <p>The above command equals to the following command:</p>
146
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;(mroonga OR (groonga MySQL)) search&quot; --query_expansion QueryExpanderTSV
147
+ </pre></div>
148
+ </div>
149
+ <p>It is important that registered words (<tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">mroonga</span></tt>)
150
+ are only expanded to synonyms and not registered words (<tt class="docutils literal"><span class="pre">search</span></tt>)
151
+ are not expanded. Query expansion isn't occurred
152
+ recursively. <tt class="docutils literal"><span class="pre">groonga</span></tt> is appeared in <tt class="docutils literal"><span class="pre">(mroonga</span> <span class="pre">OR</span> <span class="pre">(groonga</span>
153
+ <span class="pre">MySQL))</span></tt> as query expansion result but it isn't expanded.</p>
154
+ <p>Normally, you need to include <tt class="docutils literal"><span class="pre">word</span></tt> itself into synonyms. For
155
+ example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">mroonga</span></tt> are included in synonyms of
156
+ themselves. If you want to ignore <tt class="docutils literal"><span class="pre">word</span></tt> itself, you don't include
157
+ <tt class="docutils literal"><span class="pre">word</span></tt> itself into synonyms. For example, if you want to use query
158
+ expansion as spelling correction, you should use the following
159
+ synonyms.</p>
160
+ <table border="1" class="docutils">
161
+ <colgroup>
162
+ <col width="54%" />
163
+ <col width="46%" />
164
+ </colgroup>
165
+ <thead valign="bottom">
166
+ <tr class="row-odd"><th class="head">word</th>
167
+ <th class="head">synonym</th>
168
+ </tr>
169
+ </thead>
170
+ <tbody valign="top">
171
+ <tr class="row-even"><td>gronga</td>
172
+ <td>groonga</td>
173
+ </tr>
174
+ </tbody>
175
+ </table>
176
+ <p><tt class="docutils literal"><span class="pre">gronga</span></tt> in <tt class="docutils literal"><span class="pre">word</span></tt> has a typo. A <tt class="docutils literal"><span class="pre">o</span></tt> is missing. <tt class="docutils literal"><span class="pre">groonga</span></tt> in
177
+ <tt class="docutils literal"><span class="pre">synonym</span></tt> is the correct word.</p>
178
+ <p>Here is an example of using query expnasion as spelling correction:</p>
179
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;gronga&quot; --query_expansion QueryExpanderTSV
180
+ </pre></div>
181
+ </div>
182
+ <p>The above command equals to the following command:</p>
183
+ <div class="highlight-none"><div class="highlight"><pre>select --query &quot;groonga&quot; --query_expansion QueryExpanderTSV
184
+ </pre></div>
185
+ </div>
186
+ <p>The former command has a typo in <tt class="docutils literal"><span class="pre">--query</span></tt> value but the latter
187
+ command doesn't have any typos.</p>
188
+ </div>
189
+ <div class="section" id="tsv-file">
190
+ <h2>8.6.1.4. TSV File<a class="headerlink" href="#tsv-file" title="Permalink to this headline">¶</a></h2>
191
+ <p>Synonyms are defined in TSV format file. This section describes about
192
+ it.</p>
193
+ <div class="section" id="location">
194
+ <h3>8.6.1.4.1. Location<a class="headerlink" href="#location" title="Permalink to this headline">¶</a></h3>
195
+ <p>The file name should be <tt class="docutils literal"><span class="pre">synonyms.tsv</span></tt> and it is located at
196
+ configuration directory. For example, <tt class="docutils literal"><span class="pre">/etc/groonga/synonyms.tsv</span></tt> is
197
+ a TSV file location. The location is decided at build time.</p>
198
+ <p>You can change the location by environment variable
199
+ <tt class="docutils literal"><span class="pre">GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE</span></tt> at run time:</p>
200
+ <div class="highlight-none"><div class="highlight"><pre>% env GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/tmp/synonyms.tsv groonga
201
+ </pre></div>
202
+ </div>
203
+ <p>With the above command, <tt class="docutils literal"><span class="pre">/tmp/synonyms.tsv</span></tt> file is used.</p>
204
+ </div>
205
+ <div class="section" id="format">
206
+ <h3>8.6.1.4.2. Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
207
+ <p>You can define zero or more synonyms in a TSV file. You define a
208
+ <tt class="docutils literal"><span class="pre">word</span></tt> and <tt class="docutils literal"><span class="pre">synonyms</span></tt> pair by a line. <tt class="docutils literal"><span class="pre">word</span></tt> is expanded to
209
+ <tt class="docutils literal"><span class="pre">synonyms</span></tt> in <tt class="docutils literal"><span class="pre">--query</span></tt> value. <tt class="docutils literal"><span class="pre">Synonyms</span></tt> are combined by
210
+ <tt class="docutils literal"><span class="pre">OR</span></tt>. For example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt> synonyms are expanded
211
+ as <tt class="docutils literal"><span class="pre">groonga</span> <span class="pre">OR</span> <span class="pre">Senna</span></tt>.</p>
212
+ <p>The first column is <tt class="docutils literal"><span class="pre">word</span></tt> and the rest columns are <tt class="docutils literal"><span class="pre">synonyms</span></tt> of
213
+ the <tt class="docutils literal"><span class="pre">word</span></tt>. Here is a sample line for <tt class="docutils literal"><span class="pre">word</span></tt> is <tt class="docutils literal"><span class="pre">groonga</span></tt> and
214
+ <tt class="docutils literal"><span class="pre">synonyms</span></tt> are <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt>. <tt class="docutils literal"><span class="pre">(TAB)</span></tt> means a tab
215
+ character (<tt class="docutils literal"><span class="pre">U+0009</span></tt>):</p>
216
+ <div class="highlight-none"><div class="highlight"><pre>groonga(TAB)groonga(TAB)Senna
217
+ </pre></div>
218
+ </div>
219
+ <p>Comment line is supported. Lines that start with <tt class="docutils literal"><span class="pre">#</span></tt> are ignored.
220
+ Here is an example for comment line. <tt class="docutils literal"><span class="pre">groonga</span></tt> line is ignored as
221
+ comment line:</p>
222
+ <div class="highlight-none"><div class="highlight"><pre>#groonga(TAB)groonga(TAB)Senna
223
+ mroonga(TAB)mroonga(TAB)groonga MySQL
224
+ </pre></div>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ <div class="section" id="limitation">
229
+ <h2>8.6.1.5. Limitation<a class="headerlink" href="#limitation" title="Permalink to this headline">¶</a></h2>
230
+ <p>You need to restart groonga to reload your synonyms. TSV file is
231
+ loaded only at the plugin load time.</p>
232
+ </div>
233
+ <div class="section" id="see-also">
234
+ <h2>8.6.1.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
235
+ <blockquote>
236
+ <div><ul class="simple">
237
+ <li><a class="reference internal" href="../commands/select.html#query-expansion"><em>query_expansion</em></a></li>
238
+ </ul>
239
+ </div></blockquote>
240
+ </div>
241
+ </div>
242
+
243
+
244
+ </div>
245
+ </div>
246
+ </div>
247
+ <div class="sphinxsidebar">
248
+ <div class="sphinxsidebarwrapper">
249
+ <h3><a href="../../index.html">Table Of Contents</a></h3>
250
+ <ul>
251
+ <li><a class="reference internal" href="#">8.6.1. QueryExpanderTSV</a><ul>
252
+ <li><a class="reference internal" href="#summary">8.6.1.1. Summary</a></li>
253
+ <li><a class="reference internal" href="#install">8.6.1.2. Install</a></li>
254
+ <li><a class="reference internal" href="#usage">8.6.1.3. Usage</a></li>
255
+ <li><a class="reference internal" href="#tsv-file">8.6.1.4. TSV File</a><ul>
256
+ <li><a class="reference internal" href="#location">8.6.1.4.1. Location</a></li>
257
+ <li><a class="reference internal" href="#format">8.6.1.4.2. Format</a></li>
258
+ </ul>
259
+ </li>
260
+ <li><a class="reference internal" href="#limitation">8.6.1.5. Limitation</a></li>
261
+ <li><a class="reference internal" href="#see-also">8.6.1.6. See also</a></li>
262
+ </ul>
263
+ </li>
264
+ </ul>
265
+
266
+ <h4>Previous topic</h4>
267
+ <p class="topless"><a href="../query_expanders.html"
268
+ title="previous chapter">8.6. Query expanders</a></p>
269
+ <h4>Next topic</h4>
270
+ <p class="topless"><a href="../pseudo_column.html"
271
+ title="next chapter">8.7. 疑似カラム (pseudo_column)</a></p>
272
+ <h3>This Page</h3>
273
+ <ul class="this-page-menu">
274
+ <li><a href="../../_sources/reference/query_expanders/tsv.txt"
275
+ rel="nofollow">Show Source</a></li>
276
+ </ul>
277
+ <div id="searchbox" style="display: none">
278
+ <h3>Quick search</h3>
279
+ <form class="search" action="../../search.html" method="get">
280
+ <input type="text" name="q" />
281
+ <input type="submit" value="Go" />
282
+ <input type="hidden" name="check_keywords" value="yes" />
283
+ <input type="hidden" name="area" value="default" />
284
+ </form>
285
+ <p class="searchtip" style="font-size: 90%">
286
+ Enter search terms or a module, class or function name.
287
+ </p>
288
+ </div>
289
+ <script type="text/javascript">$('#searchbox').show(0);</script>
290
+ </div>
291
+ </div>
292
+ <div class="clearer"></div>
293
+ </div>
294
+ <div class="related">
295
+ <h3>Navigation</h3>
296
+ <ul>
297
+ <li class="right" style="margin-right: 10px">
298
+ <a href="../../genindex.html" title="General Index"
299
+ >index</a></li>
300
+ <li class="right" >
301
+ <a href="../pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
302
+ >next</a> |</li>
303
+ <li class="right" >
304
+ <a href="../query_expanders.html" title="8.6. Query expanders"
305
+ >previous</a> |</li>
306
+ <li><a href="../../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
307
+ <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
308
+ <li><a href="../query_expanders.html" >8.6. Query expanders</a> &raquo;</li>
309
+ </ul>
310
+ </div>
311
+ <div class="footer">
312
+ &copy; Copyright 2009-2012, Brazil, Inc.
313
+ </div>
314
+ </body>
315
+ </html>
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>8.6. Tokenizers &mdash; groonga v2.0.5-316-g23cc017 documentation</title>
12
+ <title>8.5. Tokenizers &mdash; groonga v2.0.9 documentation</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.5-316-g23cc017',
20
+ VERSION: '2.0.9',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,10 +27,10 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.5-316-g23cc017 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.9 documentation" href="../index.html" />
31
31
  <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
32
- <link rel="next" title="8.7. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
33
- <link rel="prev" title="8.5. データ型" href="type.html" />
32
+ <link rel="next" title="8.6. Query expanders" href="query_expanders.html" />
33
+ <link rel="prev" title="8.4. データ型" href="type.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,12 +57,12 @@
57
57
  <a href="../genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
60
+ <a href="query_expanders.html" title="8.6. Query expanders"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="type.html" title="8.5. データ型"
63
+ <a href="type.html" title="8.4. データ型"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
66
66
  <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
@@ -73,7 +73,7 @@
73
73
  <div class="body">
74
74
 
75
75
  <div class="section" id="tokenizers">
76
- <h1>8.6. Tokenizers<a class="headerlink" href="#tokenizers" title="Permalink to this headline">¶</a></h1>
76
+ <h1>8.5. Tokenizers<a class="headerlink" href="#tokenizers" title="Permalink to this headline">¶</a></h1>
77
77
  <p>TODO: Write me.</p>
78
78
  </div>
79
79
 
@@ -85,10 +85,10 @@
85
85
  <div class="sphinxsidebarwrapper">
86
86
  <h4>Previous topic</h4>
87
87
  <p class="topless"><a href="type.html"
88
- title="previous chapter">8.5. データ型</a></p>
88
+ title="previous chapter">8.4. データ型</a></p>
89
89
  <h4>Next topic</h4>
90
- <p class="topless"><a href="pseudo_column.html"
91
- title="next chapter">8.7. 疑似カラム (pseudo_column)</a></p>
90
+ <p class="topless"><a href="query_expanders.html"
91
+ title="next chapter">8.6. Query expanders</a></p>
92
92
  <h3>This Page</h3>
93
93
  <ul class="this-page-menu">
94
94
  <li><a href="../_sources/reference/tokenizers.txt"
@@ -118,12 +118,12 @@
118
118
  <a href="../genindex.html" title="General Index"
119
119
  >index</a></li>
120
120
  <li class="right" >
121
- <a href="pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
121
+ <a href="query_expanders.html" title="8.6. Query expanders"
122
122
  >next</a> |</li>
123
123
  <li class="right" >
124
- <a href="type.html" title="8.5. データ型"
124
+ <a href="type.html" title="8.4. データ型"
125
125
  >previous</a> |</li>
126
- <li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> &raquo;</li>
126
+ <li><a href="../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
127
127
  <li><a href="../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
128
128
  </ul>
129
129
  </div>
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>8.5. データ型 &mdash; groonga v2.0.5-316-g23cc017 documentation</title>
12
+ <title>8.4. データ型 &mdash; groonga v2.0.9 documentation</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.5-316-g23cc017',
20
+ VERSION: '2.0.9',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,10 +27,10 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.5-316-g23cc017 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.9 documentation" href="../index.html" />
31
31
  <link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
32
- <link rel="next" title="8.6. Tokenizers" href="tokenizers.html" />
33
- <link rel="prev" title="8.4.24. view_add" href="commands/view_add.html" />
32
+ <link rel="next" title="8.5. Tokenizers" href="tokenizers.html" />
33
+ <link rel="prev" title="8.3.27. view_add" href="commands/view_add.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,12 +57,12 @@
57
57
  <a href="../genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="tokenizers.html" title="8.6. Tokenizers"
60
+ <a href="tokenizers.html" title="8.5. Tokenizers"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="commands/view_add.html" title="8.4.24. view_add"
63
+ <a href="commands/view_add.html" title="8.3.27. view_add"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
66
66
  <li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
@@ -73,13 +73,13 @@
73
73
  <div class="body">
74
74
 
75
75
  <div class="section" id="id1">
76
- <h1>8.5. データ型<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
76
+ <h1>8.4. データ型<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
77
77
  <div class="section" id="id2">
78
- <h2>8.5.1. 名前<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
78
+ <h2>8.4.1. 名前<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
79
79
  <p>groonga データ型</p>
80
80
  </div>
81
81
  <div class="section" id="id3">
82
- <h2>8.5.2. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
82
+ <h2>8.4.2. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
83
83
  <p>groonga は、格納するデータの型を区別します。</p>
84
84
  <p>groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの値は共通となります。</p>
85
85
  <p>主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、またはユーザが定義したテーブルを指定することができます。</p>
@@ -87,7 +87,7 @@
87
87
  <p>カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテーブルの参照キーとなります。</p>
88
88
  </div>
89
89
  <div class="section" id="id4">
90
- <h2>8.5.3. 組込型<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
90
+ <h2>8.4.3. 組込型<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
91
91
  <p>以下の型が組込型としてあらかじめ定義されています。</p>
92
92
  <p><tt class="docutils literal"><span class="pre">Object</span></tt></p>
93
93
  <blockquote>
@@ -154,13 +154,13 @@
154
154
  </div></blockquote>
155
155
  </div>
156
156
  <div class="section" id="id6">
157
- <h2>8.5.4. 型に関する制限事項<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
157
+ <h2>8.4.4. 型に関する制限事項<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
158
158
  <div class="section" id="id7">
159
- <h3>8.5.4.1. テーブルの主キーに指定できない型<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
159
+ <h3>8.4.4.1. テーブルの主キーに指定できない型<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
160
160
  <p>Text型とLongText型については、テーブルの主キーに指定することはできません。</p>
161
161
  </div>
162
162
  <div class="section" id="id8">
163
- <h3>8.5.4.2. ベクターとして格納できない型<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
163
+ <h3>8.4.4.2. ベクターとして格納できない型<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
164
164
  <p>groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。</p>
165
165
  <p>テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。</p>
166
166
  <p class="rubric">脚注</p>
@@ -182,13 +182,13 @@
182
182
  <div class="sphinxsidebarwrapper">
183
183
  <h3><a href="../index.html">Table Of Contents</a></h3>
184
184
  <ul>
185
- <li><a class="reference internal" href="#">8.5. データ型</a><ul>
186
- <li><a class="reference internal" href="#id2">8.5.1. 名前</a></li>
187
- <li><a class="reference internal" href="#id3">8.5.2. 説明</a></li>
188
- <li><a class="reference internal" href="#id4">8.5.3. 組込型</a></li>
189
- <li><a class="reference internal" href="#id6">8.5.4. 型に関する制限事項</a><ul>
190
- <li><a class="reference internal" href="#id7">8.5.4.1. テーブルの主キーに指定できない型</a></li>
191
- <li><a class="reference internal" href="#id8">8.5.4.2. ベクターとして格納できない型</a></li>
185
+ <li><a class="reference internal" href="#">8.4. データ型</a><ul>
186
+ <li><a class="reference internal" href="#id2">8.4.1. 名前</a></li>
187
+ <li><a class="reference internal" href="#id3">8.4.2. 説明</a></li>
188
+ <li><a class="reference internal" href="#id4">8.4.3. 組込型</a></li>
189
+ <li><a class="reference internal" href="#id6">8.4.4. 型に関する制限事項</a><ul>
190
+ <li><a class="reference internal" href="#id7">8.4.4.1. テーブルの主キーに指定できない型</a></li>
191
+ <li><a class="reference internal" href="#id8">8.4.4.2. ベクターとして格納できない型</a></li>
192
192
  </ul>
193
193
  </li>
194
194
  </ul>
@@ -197,10 +197,10 @@
197
197
 
198
198
  <h4>Previous topic</h4>
199
199
  <p class="topless"><a href="commands/view_add.html"
200
- title="previous chapter">8.4.24. view_add</a></p>
200
+ title="previous chapter">8.3.27. view_add</a></p>
201
201
  <h4>Next topic</h4>
202
202
  <p class="topless"><a href="tokenizers.html"
203
- title="next chapter">8.6. Tokenizers</a></p>
203
+ title="next chapter">8.5. Tokenizers</a></p>
204
204
  <h3>This Page</h3>
205
205
  <ul class="this-page-menu">
206
206
  <li><a href="../_sources/reference/type.txt"
@@ -230,12 +230,12 @@
230
230
  <a href="../genindex.html" title="General Index"
231
231
  >index</a></li>
232
232
  <li class="right" >
233
- <a href="tokenizers.html" title="8.6. Tokenizers"
233
+ <a href="tokenizers.html" title="8.5. Tokenizers"
234
234
  >next</a> |</li>
235
235
  <li class="right" >
236
- <a href="commands/view_add.html" title="8.4.24. view_add"
236
+ <a href="commands/view_add.html" title="8.3.27. view_add"
237
237
  >previous</a> |</li>
238
- <li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> &raquo;</li>
238
+ <li><a href="../index.html">groonga v2.0.9 documentation</a> &raquo;</li>
239
239
  <li><a href="../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
240
240
  </ul>
241
241
  </div>