rroonga 2.1.0-x86-mingw32 → 2.1.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. data/doc/text/news.textile +7 -0
  2. data/ext/groonga/rb-grn.h +1 -1
  3. data/lib/1.8/groonga.so +0 -0
  4. data/lib/1.9/groonga.so +0 -0
  5. data/rroonga-build.rb +1 -1
  6. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  7. data/vendor/local/bin/groonga.exe +0 -0
  8. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  9. data/vendor/local/bin/libgroonga-0.dll +0 -0
  10. data/vendor/local/bin/libmecab-1.dll +0 -0
  11. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  12. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  13. data/vendor/local/bin/libstdc++-6.dll +0 -0
  14. data/vendor/local/bin/mecab-config +2 -2
  15. data/vendor/local/bin/mecab.exe +0 -0
  16. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  17. data/vendor/local/include/groonga/groonga.h +0 -6
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +2 -2
  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 +2 -2
  46. data/vendor/local/lib/pkgconfig/groonga.pc +3 -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/news.txt +24 -4
  54. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -1
  55. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
  56. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +234 -64
  57. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grntest.txt +1 -1
  58. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-server-http.txt +1 -1
  59. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +9 -0
  60. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
  61. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
  62. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +122 -0
  63. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +163 -0
  64. data/vendor/local/share/doc/groonga/en/html/_sources/reference/{type.txt → types.txt} +0 -0
  65. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  66. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +4 -4
  67. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +1 -1
  68. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +12 -0
  69. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +3 -3
  70. data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
  71. data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
  72. data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
  73. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  74. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  75. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  79. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  82. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
  84. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
  86. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +6 -6
  87. data/vendor/local/share/doc/groonga/en/html/index.html +54 -39
  88. data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
  89. data/vendor/local/share/doc/groonga/en/html/install/centos.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/install/debian.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/install/others.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/install/windows.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
  98. data/vendor/local/share/doc/groonga/en/html/news.html +131 -109
  99. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  101. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  105. data/vendor/local/share/doc/groonga/en/html/reference.html +54 -39
  106. data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -10
  107. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/reference/command.html +7 -7
  110. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  116. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  125. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
  129. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +7 -7
  130. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
  131. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +9 -9
  132. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
  133. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +255 -96
  134. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +42 -50
  135. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +9 -9
  137. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
  144. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
  145. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +15 -8
  147. data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -21
  148. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
  149. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
  150. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
  151. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
  152. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
  153. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
  154. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
  155. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +19 -19
  156. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +60 -60
  157. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +117 -117
  158. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
  159. data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -23
  160. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +288 -0
  161. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +19 -19
  163. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +15 -15
  164. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +34 -34
  165. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +367 -0
  166. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
  167. data/vendor/local/share/doc/groonga/en/html/reference/{type.html → types.html} +12 -12
  168. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  169. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  170. data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
  171. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +6 -6
  174. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
  177. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -6
  180. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
  186. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
  188. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +9 -9
  189. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +9 -9
  192. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  199. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  200. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +24 -4
  201. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -1
  202. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
  203. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +234 -64
  204. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grntest.txt +1 -1
  205. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-server-http.txt +1 -1
  206. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +9 -0
  207. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
  208. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
  209. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +122 -0
  210. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +163 -0
  211. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{type.txt → types.txt} +0 -0
  212. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  213. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +4 -4
  214. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +1 -1
  215. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +12 -0
  216. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  217. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  218. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  219. data/vendor/local/share/doc/groonga/ja/html/contribution.html +9 -9
  220. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  221. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  222. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  223. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  224. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  225. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  226. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
  227. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  228. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
  229. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  230. data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
  231. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  232. data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
  233. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  234. data/vendor/local/share/doc/groonga/ja/html/index.html +54 -39
  235. data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
  236. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +5 -5
  237. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/install/others.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +5 -5
  242. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +5 -5
  243. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +5 -5
  244. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  245. data/vendor/local/share/doc/groonga/ja/html/news.html +124 -106
  246. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  247. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  249. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  250. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  251. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  252. data/vendor/local/share/doc/groonga/ja/html/reference.html +54 -39
  253. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -10
  254. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  255. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  256. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +7 -7
  257. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  258. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  267. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  269. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  270. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  271. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  272. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  274. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
  275. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
  276. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
  277. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
  278. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +9 -9
  279. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +202 -96
  281. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +42 -50
  282. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
  283. data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +9 -9
  284. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  285. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  287. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  288. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  289. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  290. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
  291. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  292. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +15 -8
  294. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -21
  295. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
  296. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +50 -50
  297. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
  298. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
  299. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
  300. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
  301. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
  302. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
  303. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
  304. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +117 -117
  305. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
  306. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
  307. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +289 -0
  308. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
  310. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
  311. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
  312. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +367 -0
  313. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
  314. data/vendor/local/share/doc/groonga/ja/html/reference/{type.html → types.html} +12 -12
  315. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  316. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  317. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  318. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  319. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
  321. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  324. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  325. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -6
  327. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  328. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  332. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
  333. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  335. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
  336. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  337. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  338. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +9 -9
  339. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  341. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  342. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  343. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  344. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  345. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  346. data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +4 -4
  347. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +4 -0
  348. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +4 -0
  349. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +4 -0
  350. data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +36 -44
  351. data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +4 -4
  352. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +46 -0
  353. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +4 -0
  354. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +4 -0
  355. data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +4 -0
  356. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +3 -3
  357. data/vendor/local/share/doc/groonga/source/news.txt +24 -4
  358. data/vendor/local/share/doc/groonga/source/reference.txt +3 -1
  359. data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -2
  360. data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +234 -64
  361. data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +1 -1
  362. data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +1 -1
  363. data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +9 -0
  364. data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +2 -2
  365. data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +1 -1
  366. data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +122 -0
  367. data/vendor/local/share/doc/groonga/source/reference/tables.txt +163 -0
  368. data/vendor/local/share/doc/groonga/source/reference/{type.txt → types.txt} +0 -0
  369. data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +1 -1
  370. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +4 -4
  371. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +1 -1
  372. data/vendor/local/share/man/ja/man1/groonga.1 +744 -169
  373. data/vendor/local/share/man/man1/groonga.1 +794 -165
  374. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  375. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  376. metadata +1257 -1240
@@ -11,7 +11,9 @@
11
11
  reference/executables
12
12
  reference/output
13
13
  reference/command
14
- reference/type
14
+ reference/types
15
+ reference/tables
16
+ reference/normalizers
15
17
  reference/tokenizers
16
18
  reference/query_expanders
17
19
  reference/pseudo_column
@@ -5,8 +5,8 @@
5
5
  .. groonga-command
6
6
  .. database: commands_select
7
7
 
8
- select
9
- ======
8
+ ``select``
9
+ ==========
10
10
 
11
11
  Summary
12
12
  -------
@@ -2,115 +2,285 @@
2
2
 
3
3
  .. highlightlang:: none
4
4
 
5
- table_create
6
- ============
5
+ .. groonga-command
6
+ .. database: commands_table_create
7
7
 
8
- 名前
9
- ----
8
+ ``table_create``
9
+ ================
10
10
 
11
- table_create - テーブルの追加
11
+ Summary
12
+ -------
12
13
 
13
- 書式
14
- ----
15
- ::
14
+ ``table_create`` creates a new table in the current database. You need
15
+ to create one or more tables to store and search data.
16
16
 
17
- table_create name [flags [key_type [value_type [default_tokenizer]]]]
17
+ Syntax
18
+ ------
18
19
 
19
- 説明
20
- ----
20
+ ``table_create`` has many parameters. The required parameter is only
21
+ ``name`` and otehrs are optional::
21
22
 
22
- groonga組込コマンドの一つであるtable_createについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
23
+ table_create name
24
+ [flags=TABLE_HASH_KEY]
25
+ [key_type=null]
26
+ [value_type=null]
27
+ [default_tokenizer=null]
28
+ [normalizer=null]
23
29
 
24
- table_createコマンドは、使用しているデータベースに対してテーブルを追加します。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブルがありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成できます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。IDはレコードを追加した順序に従って自動的に付与されます。
30
+ Usage
31
+ -----
25
32
 
26
- テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テーブルを作成した時点でいくつかの疑似カラムが使用可能になっています。
33
+ ``table_create`` command creates a new persistent table. See
34
+ :doc:`/reference/tables` for table details.
27
35
 
28
- 引数
29
- ----
36
+ Create data store table
37
+ ^^^^^^^^^^^^^^^^^^^^^^^
38
+
39
+ You can use all table types for data store table. See
40
+ :doc:`/reference/tables` for all table types.
41
+
42
+ Table type is specified as ``TABLE_${TYPE}`` to ``flags`` parameter.
43
+
44
+ Here is an example to create ``TABLE_NO_KEY`` table:
45
+
46
+ .. groonga-command
47
+ .. include:: ../../example/reference/commands/table_create/data_store_table_no_key.log
48
+ .. table_create Logs TABLE_NO_KEY
49
+
50
+ The ``table_create`` command creates a table that is named ``Logs``
51
+ and is ``TABLE_NO_KEY`` type.
52
+
53
+ If your records aren't searched by key, ``TABLE_NO_KEY`` type table is
54
+ suitable. Because ``TABLE_NO_KEY`` doesn't support key but it is fast
55
+ and small table. Storing logs into groonga database is the case.
56
+
57
+ If your records are searched by key or referenced by one or more
58
+ columns, ``TABLE_NO_KEY`` type isn't suitable. Lexicon for fulltext
59
+ search is the case.
60
+
61
+ Create lexicon table
62
+ ^^^^^^^^^^^^^^^^^^^^
63
+
64
+ You can use all table types except ``TABLE_NO_KEY`` for lexicon table.
65
+ Lexicon table needs key support but ``TABLE_NO_KEY`` doesn't support
66
+ key.
67
+
68
+ Here is an example to create ``TABLE_PAT_KEY`` table:
69
+
70
+ .. groonga-command
71
+ .. include:: ../../example/reference/commands/table_create/lexicon_table_pat_key.log
72
+ .. table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
73
+
74
+ The ``table_create`` command creates the following table:
75
+
76
+ * The table is named ``Lexicon``.
77
+ * The table is ``TABLE_PAT_KEY`` type table.
78
+ * The table's key is ``ShortText`` type.
79
+ * The table uses ``TokenBigram`` tokenizer to extract tokens from a
80
+ normalized text.
81
+ * The table uses ``NormalizerAuto`` normalizer to normalize a text.
82
+
83
+ ``TABLE_PAT_KEY`` is suitable table type for lexicon table. Lexicon
84
+ table is used for fulltext search.
85
+
86
+ In fulltext search, predictive search may be used for fuzzy
87
+ search. Predictive search is supported by ``TABLE_PAT_KEY`` and
88
+ ``TABLE_DAT_KEY``.
89
+
90
+ Lexicon table has many keys because a fulltext target text has many
91
+ tokens. Table that has many keys should consider table size because
92
+ large table requires large memory. Requiring large memory causes disk
93
+ I/O. It blocks fast search. So table size is important for a table
94
+ that has many keys. ``TABLE_PAT_KEY`` is less table size than
95
+ ``TABLE_DAT_KEY``.
96
+
97
+ Because of the above reasons, ``TABLE_PAT_KEY`` is suitable table type
98
+ for lexicon table.
99
+
100
+ Create tag index table
101
+ ^^^^^^^^^^^^^^^^^^^^^^
102
+
103
+ You can use all table types except ``TABLE_NO_KEY`` for tag index
104
+ table. Tag index table needs key support but ``TABLE_NO_KEY`` doesn't
105
+ support key.
106
+
107
+ Here is an example to create ``TABLE_HASH_KEY`` table:
108
+
109
+ .. groonga-command
110
+ .. include:: ../../example/reference/commands/table_create/tag_index_table_hash_key.log
111
+ .. table_create Tags TABLE_HASH_KEY ShortText
112
+
113
+ The ``table_create`` command creates a table that is named ``Tags``,
114
+ is ``TABLE_HASH_KEY`` type and has ``ShortText`` type key.
115
+
116
+ ``TABLE_HASH_KEY`` or ``TABLE_DAT_KEY`` are suitable table types for
117
+ tag index table.
118
+
119
+ If you need only exact match tag search feature, ``TABLE_HASH_KEY`` is
120
+ suitable. It is the common case.
121
+
122
+ If you also need predictive tag search feature (for example, searching
123
+ ``"groonga"`` by ``"gr"`` keyword.), ``TABLE_DAT_KEY`` is suitable.
124
+ ``TABLE_DAT_KEY`` is large table size but it is not important because
125
+ the number of tags will not be large.
126
+
127
+ Create range index table
128
+ ^^^^^^^^^^^^^^^^^^^^^^^^
129
+
130
+ You can use ``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY`` table types for
131
+ range index table. Range index table needs range search support but
132
+ ``TABLE_NO_KEY`` and ``TABLE_HASH_KEY`` don't support it.
133
+
134
+ Here is an example to create ``TABLE_DAT_KEY`` table:
135
+
136
+ .. groonga-command
137
+ .. include:: ../../example/reference/commands/table_create/tag_index_table_hash_key.log
138
+ .. table_create Ages TABLE_DAT_KEY UInt32
139
+
140
+ The ``table_create`` command creates a table that is named ``Ages``,
141
+ is ``TABLE_DAT_KEY`` type and has ``UInt32`` type key.
142
+
143
+ ``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY`` are suitable table types for
144
+ range index table.
145
+
146
+ If you don't have many indexed items, ``TABLE_DAT_KEY`` is
147
+ suitable. Index for age is the case in the above example. Index for
148
+ age will have only 0-100 items because human doesn't live so long.
149
+
150
+ If you have many indexed items, ``TABLE_PAT_KEY`` is suitable. Because
151
+ ``TABLE_PAT_KEY`` is smaller than ``TABLE_DAT_KEY``.
152
+
153
+ Parameters
154
+ ----------
155
+
156
+ This section describes all parameters.
30
157
 
31
158
  ``name``
159
+ ^^^^^^^^
160
+
161
+ It specifies a table name to be created. ``name`` must be specified.
32
162
 
33
- 作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであり、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前のテーブルは作成できません。
163
+ Here are available characters:
164
+
165
+ * ``0`` .. ``9`` (digit)
166
+ * ``a`` .. ``z`` (alphabet, lower case)
167
+ * ``A`` .. ``Z`` (alphabet, upper case)
168
+ * ``#`` (hash)
169
+ * ``@`` (at mark)
170
+ * ``-`` (hyphen)
171
+ * ``_`` (underscore) (NOTE: Underscore can't be used as the first
172
+ character.)
173
+
174
+ You need to create a name with one or more the above chracters. Note
175
+ that you cannot use ``_`` as the first charcter such as
176
+ ``_name``.
34
177
 
35
178
  ``flags``
179
+ ^^^^^^^^^
36
180
 
37
- 作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定します。(デフォルト値は0(="TABLE_HASH_KEY"))
181
+ It specifies a table type and table customize options.
38
182
 
39
- 0, ``TABLE_HASH_KEY``
40
- 主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを非常に高速に検索することができます。
183
+ Here are available flags:
41
184
 
42
- 1, ``TABLE_PAT_KEY``
43
- 主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用したテーブルでは、主キー値に完全一致するレコードを検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、flagsの値に64を加えることによって、後方一致検索も可能となります。
185
+ +--------------------+------------------------------+
186
+ | flags | description |
187
+ +--------------------+------------------------------+
188
+ | ``TABLE_NO_KEY`` | Array table. |
189
+ +--------------------+------------------------------+
190
+ | ``TABLE_HASH_HEY`` | Hash table. |
191
+ +--------------------+------------------------------+
192
+ | ``TABLE_PAT_KEY`` | Patricia trie. |
193
+ +--------------------+------------------------------+
194
+ | ``TABLE_DAT_KEY`` | Double Array trie. |
195
+ +--------------------+------------------------------+
196
+ | ``KEY_WITH_SIS`` | Enable Semi Infinite String. |
197
+ | | Require ``TABLE_PAT_KEY``. |
198
+ +--------------------+------------------------------+
44
199
 
45
- 2, ``TABLE_DAT_KEY``
46
- 主キー値をダブル配列で管理するテーブルを作成します。ダブル配列を使用したテーブルでは、主キー値に完全一致するレコードを高速に検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。
200
+ .. note::
201
+ Since groonga 2.1.0 ``KEY_NORMALIZE`` flag is deprecated. Use
202
+ ``normalizer`` option with ``NormalizerAuto`` instead.
47
203
 
48
- 3, ``TABLE_NO_KEY``
49
- 主キーを持たないテーブルを作成します。各レコードはIDのみによって特定することができます。
204
+ You must specify one of ``TABLE_${TYPE}`` flags. You cannot specify two
205
+ or more ``TABLE_${TYPE}`` flags. For example,
206
+ ``TABLE_NO_KEY|TABLE_HASH_KEY`` is invalid.
50
207
 
51
- 4, ``TABLE_VIEW``
52
- 複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。
208
+ You can combine flags with ``|`` (vertical bar) such as
209
+ ``TABLE_PAT_KEY|KEY_WITH_SIS``.
53
210
 
54
- 64, ``KEY_WITH_SIS``
55
- 語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。
211
+ See :doc:`/reference/tables` for difference between table types.
56
212
 
57
- 128, ``KEY_NORMALIZE``
58
- ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一のレコードに対応するものとみなされます。
213
+ The default flags are ``TABLE_HASH_KEY``.
59
214
 
60
215
  ``key_type``
216
+ ^^^^^^^^^^^^
217
+
218
+ It specifies key type.
61
219
 
62
- 主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroongaの組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指定することができます。
220
+ If you specify ``TABLE_HASH_KEY``, ``TABLE_PAT_KEY`` or
221
+ ``TABLE_DAT_KEY`` as ``flags`` parameter, you need to specify
222
+ ``key_type`` option.
223
+
224
+ See :doc:`/reference/types` for all types.
225
+
226
+ The default value is none.
63
227
 
64
228
  ``value_type``
229
+ ^^^^^^^^^^^^^^
65
230
 
66
- 値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベースに定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルトはvalueなし)
231
+ It specifies value type.
67
232
 
68
- ``default_tokenizer``
233
+ You can use value when you specify ``TABLE_NO_KEY``,
234
+ ``TABLE_HASH_KEY`` or ``TABLE_PAT_KEY`` as ``flags`` parameter. Value
235
+ type must be a fixed size type. For example, ``UInt32`` can be used
236
+ but ``ShortText`` cannot be used. Use columns instead of value.
69
237
 
70
- 作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指定します。
238
+ The default value is none.
71
239
 
72
- 組込のトークナイザとして、以下が準備されています。
240
+ ``default_tokenizer``
241
+ ^^^^^^^^^^^^^^^^^^^^^
73
242
 
74
- ``TokenDelimit``
75
- 空白で区切られた文字列をトークンとする
243
+ It specifies the default tokenizer that is used on searching and data
244
+ loading.
76
245
 
77
- ``TokenUnigram``
78
- unigram(1文字を1トークンとする)
246
+ You cannot use ``default_tokenizer`` with ``TABLE_NO_KEY`` because
247
+ ``TABLE_NO_KEY`` cannot be used for index.
79
248
 
80
- ``TokenBigram``
81
- bigram(2文字の文字列要素をトークンとする)
249
+ You must specify ``default_tokenizer`` for a table that is used for
250
+ fulltext search index.
82
251
 
83
- ``TokenTrigram``
84
- trigram(3文字の文字列要素をトークンとする)
252
+ See :doc:`/reference/tokenizers` for all tokenizers
85
253
 
86
- ``TokenMecab``
87
- 形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ有効)
254
+ The default value is none.
88
255
 
89
- トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録します。
256
+ ``normalizer``
257
+ ^^^^^^^^^^^^^^
90
258
 
91
- 返値
92
- ----
259
+ It specifies a normalizer that is used to normalize key.
93
260
 
94
- json形式
95
- ^^^^^^^^
261
+ You cannot use ``normalizer`` with ``TABLE_NO_KEY`` because
262
+ ``TABLE_NO_KEY`` doesn't support key.
96
263
 
97
- ::
264
+ See :doc:`/reference/normalizers` for all normalizsers.
98
265
 
99
- [成功かどうかのフラグ]
266
+ The default value is none.
100
267
 
101
- ``成功かどうかのフラグ``
268
+ Return value
269
+ ------------
102
270
 
103
- エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
271
+ ``table_create`` returns ``true`` as body on success such as::
104
272
 
105
-
106
- --
273
+ [HEADER, true]
107
274
 
108
- ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。::
275
+ If ``table_create`` fails, error details are in ``HEADER``.
109
276
 
110
- table_create Entry --key_type ShortText
111
- [true]
277
+ See :doc:`/reference/command/output_format` for ``HEADER``.
112
278
 
113
- ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場合には、バイグラムの索引を作成します。::
279
+ See also
280
+ --------
114
281
 
115
- table_create Term --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
116
- [true]
282
+ * :doc:`/reference/tables`
283
+ * :doc:`/reference/commands/column_create`
284
+ * :doc:`/reference/tokenizers`
285
+ * :doc:`/reference/normalizers`
286
+ * :doc:`/reference/command/output_format`
@@ -134,7 +134,7 @@ grntest命令
134
134
  コマンドファイル
135
135
  ^^^^^^^^^^^^^^^^
136
136
 
137
- コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/commands` を参照してください。
137
+ コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/command` を参照してください。
138
138
 
139
139
  サンプル
140
140
  ^^^^^^^^
@@ -48,7 +48,7 @@ GETメソッドのみが使用可能です。
48
48
 
49
49
  output_typeにはjson, tsv, xmlが指定可能です。
50
50
 
51
- command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:`/reference/command_version` を参照してください。
51
+ command_versionはコマンドの仕様の互換性を指定します。詳細は :doc:`/reference/command/command_version` を参照してください。
52
52
 
53
53
  返値
54
54
  ----
@@ -138,6 +138,8 @@ groongaのデータベースは、groongaコマンドかCライブラリイン
138
138
 
139
139
  スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数をコマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行します。
140
140
 
141
+ .. _command-list-with-continuous-line:
142
+
141
143
  コマンド
142
144
  --------
143
145
 
@@ -154,6 +156,13 @@ groongaコマンドを通してデータベースを操作する命令をコマ
154
156
 
155
157
  標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で区切ります。空白や、記号「"'()\」のうちいずれかを含む値を指定したい場合は、シングルクォート(')かダブルクォート(")で値を囲みます。値として指定する文字列の中では、改行文字は'\n'に置き換えて指定します。また、引用符に使用した文字を値の中で指定する場合には、その文字の前にバックスラッシュ('\') を指定します。バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュを指定します。
156
158
 
159
+ You can write command list with continuous line which is represented by '\\' character.::
160
+
161
+ table_create --name Terms \
162
+ --flags TABLE_PAT_KEY \
163
+ --key_type ShortText \
164
+ --default_tokenizer TokenBigram
165
+
157
166
  組み込みコマンド
158
167
  ----------------
159
168
 
@@ -158,7 +158,7 @@ you want to calculate the value of distance between two points.
158
158
 
159
159
  You can specify the value of GeoPoint type. [#]_
160
160
 
161
- See :doc:`/reference/type` about GeoPoint.
161
+ See :doc:`/reference/types` about GeoPoint.
162
162
 
163
163
  ``point2``
164
164
  """"""""""
@@ -169,7 +169,7 @@ you want to calculate the value of distance between two points.
169
169
  You can specify the value of GeoPoint type or
170
170
  the string indicating the coordinate.
171
171
 
172
- See :doc:`/reference/type` about GeoPoint and the coordinate.
172
+ See :doc:`/reference/types` about GeoPoint and the coordinate.
173
173
 
174
174
  Optional parameter
175
175
  ^^^^^^^^^^^^^^^^^^
@@ -221,7 +221,7 @@ Its syntax is ``name(arugment1, argument2, ...)``.
221
221
  ``name(argument1, argument2, ...)`` calls a function that is named
222
222
  ``name`` with arguments ``argument1``, ``argument2`` and ``...``.
223
223
 
224
- See :doc:`/reference/functions/` for available functin list.
224
+ See :doc:`/reference/function` for available functin list.
225
225
 
226
226
  Here is a simple exmaple.
227
227
 
@@ -0,0 +1,122 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. database: normalisers
7
+
8
+ Normalizers
9
+ ===========
10
+
11
+ Summary
12
+ -------
13
+
14
+ Groonga has normalizer module. It is used when tokenizing text and
15
+ storing table key. For example, ``A`` and ``a`` are processed as the
16
+ same character after normalization.
17
+
18
+ Normalizer module can be added as a plugin. You can customize text
19
+ normalization by registering your normalizer plugins to groonga.
20
+
21
+ A normalizer module is attached to a table. A table can have zero or
22
+ one normalizer module. You can attach a normalizer module to a table
23
+ by :ref:`table-create-normalizer` option in
24
+ :doc:`/reference/commands/table_create`.
25
+
26
+ Here is an example ``table_create`` that uses ``NormalizerAuto``
27
+ normalizer module:
28
+
29
+ .. groonga-command
30
+ .. include:: ../example/reference/normalizers/example-table-create.log
31
+ .. table_create Dictionary TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
32
+
33
+ .. note::
34
+
35
+ Groonga 2.0.9 or earlier doesn't have ``--normalizer`` option in
36
+ ``table_create``. ``KEY_NORMALIZE`` flag was used instead.
37
+
38
+ You can open an old database by groonga 2.1.0 or later. An old
39
+ database means that the database is created by groonga 2.0.9 or
40
+ earlier. But you cannot open the opened old database by groonga
41
+ 2.0.9 or earlier. Once you open the old database by groonga 2.1.0
42
+ or later, ``KEY_NORMALIZE`` flag information in the old database is
43
+ converted to normalizer information. So groogna 2.0.9 or earlier
44
+ cannot find ``KEY_NORMALIZE`` flag information in the opened old
45
+ database.
46
+
47
+ Keys of a table that has a normalizer module are normalized:
48
+
49
+ .. groonga-command
50
+ .. include:: ../example/reference/normalizers/example-load.log
51
+ .. load --table Dictionary
52
+ .. [
53
+ .. {"_key": "Apple"},
54
+ .. {"_key": "black"},
55
+ .. {"_key": "COLOR"}
56
+ .. ]
57
+ .. select Dictionary
58
+
59
+ ``NormalizerAuto`` normalizer normalizes a text as a downcased text.
60
+ For example, ``"Apple"`` is normalized to ``"apple"``, ``"black"`` is
61
+ normalized to ``"blank"`` and ``"COLOR"`` is normalized to
62
+ ``"color"``.
63
+
64
+ If a table is a lexicon for fulltext search, tokenized tokens are
65
+ normalized. Because tokens are stored as table keys. Table keys are
66
+ normalized as described above.
67
+
68
+ Built-in normalizers
69
+ --------------------
70
+
71
+ Here is a list of built-in-normalizers:
72
+
73
+ * ``NormalizerAuto``
74
+ * ``NormalizerNFKC51``
75
+
76
+ ``NormalizerAuto``
77
+ ^^^^^^^^^^^^^^^^^^
78
+
79
+ Normally you should use ``NormalizerAuto``
80
+ normalizer. ``NormalizerAuto`` was the normalizer for groonga 2.0.9 or
81
+ earlier. ``KEY_NORMALIZE`` flag in ``table_create`` on groonga 2.0.9
82
+ or earlier equals to ``--normalizer NormalizerAuto`` option in
83
+ ``table`` on groonga 2.1.0 or later.
84
+
85
+ ``NormalizerAuto`` supports all encoding. It uses Unicode NFKC
86
+ (Normalization Form Compatibility Composition) for UTF-8 encoding
87
+ text. It uses encoding specific original normalization for other
88
+ encodings. The results of those original normalization are similar to
89
+ NFKC.
90
+
91
+ For example, half-width katakana (such as U+FF76 HALFWIDTH KATAKANA
92
+ LETTER KA) + half-width katakana voiced sound mark (U+FF9E HALFWIDTH
93
+ KATAKANA VOICED SOUND MARK) is normalized to full-width katakana with
94
+ voiced sound mark (U+30AC KATAKANA LETTER GA). The former is two
95
+ chracters but the latter is one character.
96
+
97
+ Here is an example that uses ``NormalizerAuto`` normalizer:
98
+
99
+ .. groonga-command
100
+ .. include:: ../example/reference/normalizers/normalizer-auto.log
101
+ .. table_create NormalLexicon TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
102
+
103
+ ``NormalizerNFKC51``
104
+ ^^^^^^^^^^^^^^^^^^^^
105
+
106
+ ``NormalizerNFKC51`` normalizes texts by Unicode NFKC (Normalization
107
+ Form Compatibility Composition) for Unicode version 5.1. It supports
108
+ only UTF-8 encoding.
109
+
110
+ Normally you don't need to use ``NormalizerNFKC51`` explicitly. You can
111
+ use ``NormalizerAuto`` instead.
112
+
113
+ Here is an example that uses ``NormalizerNFKC51`` normalizer:
114
+
115
+ .. groonga-command
116
+ .. include:: ../example/reference/normalizers/normalizer-nfkc51.log
117
+ .. table_create NFKC51Lexicon TABLE_HASH_KEY ShortText --normalizer NormalizerNFKC51
118
+
119
+ See also
120
+ --------
121
+
122
+ * :doc:`/reference/commands/table_create`