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
@@ -1,4 +1,4 @@
1
- .TH "GROONGA" "1" "December 27, 2012" "2.1.0" "groonga"
1
+ .TH "GROONGA" "1" "December 29, 2012" "2.1.1" "groonga"
2
2
  .SH NAME
3
3
  groonga \- groonga documentation
4
4
  .
@@ -1489,10 +1489,10 @@ status
1489
1489
  # "max_command_version": 2,
1490
1490
  # "n_queries": 0,
1491
1491
  # "cache_hit_rate": 0.0,
1492
- # "version": "2.0.5",
1493
- # "alloc_count": 142,
1492
+ # "version": "2.1.0",
1493
+ # "alloc_count": 152,
1494
1494
  # "command_version": 1,
1495
- # "starttime": 1343713486,
1495
+ # "starttime": 1356678603,
1496
1496
  # "default_command_version": 1
1497
1497
  # }
1498
1498
  # ]
@@ -1553,7 +1553,7 @@ A \fB/reference/commands/table_create\fP command creates a new table.
1553
1553
  .sp
1554
1554
  In most cases, a table has a primary key which must be specified with its data type and index type.
1555
1555
  .sp
1556
- There are various data types such as integers, strings, etc. See also \fB/reference/type\fP for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
1556
+ There are various data types such as integers, strings, etc. See also \fB/reference/types\fP for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
1557
1557
  .sp
1558
1558
  Let\(aqs create a table. The following example creates a table with a primary key. The \fIname\fP parameter specifies the name of the table. The \fIflags\fP parameter specifies the index type for the primary key. The \fIkey_type\fP parameter specifies the data type of the primary key.
1559
1559
  .sp
@@ -2721,7 +2721,7 @@ Groonga servers don\(aqt support user authentication. Everyone can view and modi
2721
2721
  Groonga is a full text search engine but also serves as a column\-oriented data store. Groonga supports various data types, such as numeric types, string types, date and time type, longitude and latitude types, etc. This tutorial shows a list of data types and explains how to use them.
2722
2722
  .SS Overview
2723
2723
  .sp
2724
- The basic data types of groonga are roughly divided into 5 groups \-\-\- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see \fB/reference/type\fP.
2724
+ The basic data types of groonga are roughly divided into 5 groups \-\-\- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see \fB/reference/types\fP.
2725
2725
  .sp
2726
2726
  In addition, groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element.
2727
2727
  .sp
@@ -2795,7 +2795,7 @@ select \-\-table ToyBox \-\-output_columns _key,is_animal
2795
2795
  .fi
2796
2796
  .SS Numeric types
2797
2797
  .sp
2798
- The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see \fB/reference/type\fP. The default value of the numeric types is 0.
2798
+ The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see \fB/reference/types\fP. The default value of the numeric types is 0.
2799
2799
  .sp
2800
2800
  The following example creates an Int8 column and a Float column, and then updates existing records. The \fB/reference/commands/load\fP command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes \-56. Note that the result of an overflow/underflow is undefined.
2801
2801
  .sp
@@ -2862,7 +2862,7 @@ select \-\-table ToyBox \-\-output_columns _key,price,weight
2862
2862
  .fi
2863
2863
  .SS String types
2864
2864
  .sp
2865
- The string types are divided according to the maximum length. For more details, see \fB/reference/type\fP. The default value is the zero\-length string.
2865
+ The string types are divided according to the maximum length. For more details, see \fB/reference/types\fP. The default value is the zero\-length string.
2866
2866
  .sp
2867
2867
  The following example creates a ShortText column and updates existing records. The third record has the default value because not updated.
2868
2868
  .sp
@@ -2976,7 +2976,7 @@ select \-\-table ToyBox \-\-output_columns _key,time
2976
2976
  .fi
2977
2977
  .SS Longitude and latitude types
2978
2978
  .sp
2979
- The longitude and latitude types are divided according to the geographic coordinate system. For more details, see \fB/reference/type\fP. To represent a longitude and latitude, groonga uses a string formatted as follows:
2979
+ The longitude and latitude types are divided according to the geographic coordinate system. For more details, see \fB/reference/types\fP. To represent a longitude and latitude, groonga uses a string formatted as follows:
2980
2980
  .INDENT 0.0
2981
2981
  .IP \(bu 2
2982
2982
  "longitude x latitude" in milliseconds (e.g.: "128452975x503157902")
@@ -7798,7 +7798,7 @@ http {
7798
7798
  .fi
7799
7799
  .SS Custom command version
7800
7800
  .sp
7801
- Groonga has \fB/reference/command_version\fP mechanism. It is for
7801
+ Groonga has \fB/reference/command/command_version\fP mechanism. It is for
7802
7802
  upgrading groonga commands with backward compatibility.
7803
7803
  .sp
7804
7804
  \fBgroonga\fP can change the default command veresion by
@@ -8530,6 +8530,17 @@ groongaコマンドを通してデータベースを操作する命令をコマ
8530
8530
  形式1でコマンドを実行する場合は、定義された順番で値を指定しなければならず、途中の引数の値を省略することはできません。形式2でコマンドを実行する場合は、「\-\-引数名」のように引数の名前を明示しなければならない代わりに、任意の順番で引数を指定することが可能で、途中の引数の指定を省略することもできます。
8531
8531
  .sp
8532
8532
  標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で区切ります。空白や、記号「"\(aq()」のうちいずれかを含む値を指定したい場合は、シングルクォート(\(aq)かダブルクォート(")で値を囲みます。値として指定する文字列の中では、改行文字は\(aqn\(aqに置き換えて指定します。また、引用符に使用した文字を値の中で指定する場合には、その文字の前にバックスラッシュ(\(aq\(aq) を指定します。バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュを指定します。
8533
+ .sp
8534
+ You can write command list with continuous line which is represented by \(aq\e\(aq character.:
8535
+ .sp
8536
+ .nf
8537
+ .ft C
8538
+ table_create \-\-name Terms \e
8539
+ \-\-flags TABLE_PAT_KEY \e
8540
+ \-\-key_type ShortText \e
8541
+ \-\-default_tokenizer TokenBigram
8542
+ .ft P
8543
+ .fi
8533
8544
  .SS 組み込みコマンド
8534
8545
  .sp
8535
8546
  以下のコマンドは組み込みコマンドとして予め定義されています。
@@ -8705,14 +8716,14 @@ Execution example:
8705
8716
  0.000355720520019531
8706
8717
  ],
8707
8718
  {
8708
- "uptime": 1,
8719
+ "uptime": 0,
8709
8720
  "max_command_version": 2,
8710
8721
  "n_queries": 0,
8711
8722
  "cache_hit_rate": 0.0,
8712
- "version": "2.0.5",
8713
- "alloc_count": 142,
8723
+ "version": "2.1.0",
8724
+ "alloc_count": 152,
8714
8725
  "command_version": 1,
8715
- "starttime": 1343713471,
8726
+ "starttime": 1356678595,
8716
8727
  "default_command_version": 1
8717
8728
  }
8718
8729
  ]
@@ -8916,7 +8927,7 @@ GETメソッドのみが使用可能です。
8916
8927
  .sp
8917
8928
  output_typeにはjson, tsv, xmlが指定可能です。
8918
8929
  .sp
8919
- command_versionはコマンドの仕様の互換性を指定します。詳細は \fB/reference/command_version\fP を参照してください。
8930
+ command_versionはコマンドの仕様の互換性を指定します。詳細は \fB/reference/command/command_version\fP を参照してください。
8920
8931
  .SS 返値
8921
8932
  .sp
8922
8933
  output_typeの指定に従って、コマンドの実行結果を出力します。
@@ -10965,7 +10976,7 @@ You can specify absolute path such as \fBregister
10965
10976
  If \fBregister\fP fails, error details are in \fBHEADER\fP.
10966
10977
  .sp
10967
10978
  See \fB/reference/command/output_format\fP for \fBHEADER\fP.
10968
- .SS select
10979
+ .SS \fBselect\fP
10969
10980
  .SS Summary
10970
10981
  .sp
10971
10982
  \fBselect\fP searches records that are matched to specified conditions
@@ -13477,14 +13488,14 @@ status
13477
13488
  # 0.000355720520019531
13478
13489
  # ],
13479
13490
  # {
13480
- # "uptime": 23,
13491
+ # "uptime": 6,
13481
13492
  # "max_command_version": 2,
13482
13493
  # "n_queries": 30,
13483
13494
  # "cache_hit_rate": 0.0,
13484
- # "version": "2.0.5",
13485
- # "alloc_count": 278,
13495
+ # "version": "2.1.0",
13496
+ # "alloc_count": 280,
13486
13497
  # "command_version": 1,
13487
- # "starttime": 1343713421,
13498
+ # "starttime": 1356678580,
13488
13499
  # "default_command_version": 1
13489
13500
  # }
13490
13501
  # ]
@@ -14005,139 +14016,327 @@ suggest \-\-table item_query \-\-column kana \-\-types complete|correct|suggest
14005
14016
  .IP \(bu 2
14006
14017
  \fB/reference/executables/groonga\-suggest\-create\-dataset\fP
14007
14018
  .UNINDENT
14008
- .SS table_create
14009
- .SS 名前
14019
+ .SS \fBtable_create\fP
14020
+ .SS Summary
14010
14021
  .sp
14011
- table_create \- テーブルの追加
14012
- .SS 書式
14022
+ \fBtable_create\fP creates a new table in the current database. You need
14023
+ to create one or more tables to store and search data.
14024
+ .SS Syntax
14025
+ .sp
14026
+ \fBtable_create\fP has many parameters. The required parameter is only
14027
+ \fBname\fP and otehrs are optional:
14013
14028
  .sp
14014
14029
  .nf
14015
14030
  .ft C
14016
- table_create name [flags [key_type [value_type [default_tokenizer]]]]
14031
+ table_create name
14032
+ [flags=TABLE_HASH_KEY]
14033
+ [key_type=null]
14034
+ [value_type=null]
14035
+ [default_tokenizer=null]
14036
+ [normalizer=null]
14017
14037
  .ft P
14018
14038
  .fi
14019
- .SS 説明
14039
+ .SS Usage
14020
14040
  .sp
14021
- groonga組込コマンドの一つであるtable_createについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
14041
+ \fBtable_create\fP command creates a new persistent table. See
14042
+ \fB/reference/tables\fP for table details.
14043
+ .SS Create data store table
14022
14044
  .sp
14023
- table_createコマンドは、使用しているデータベースに対してテーブルを追加します。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブルがありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成できます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。IDはレコードを追加した順序に従って自動的に付与されます。
14045
+ You can use all table types for data store table. See
14046
+ \fB/reference/tables\fP for all table types.
14024
14047
  .sp
14025
- テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テーブルを作成した時点でいくつかの疑似カラムが使用可能になっています。
14026
- .SS 引数
14048
+ Table type is specified as \fBTABLE_${TYPE}\fP to \fBflags\fP parameter.
14027
14049
  .sp
14028
- \fBname\fP
14029
- .INDENT 0.0
14030
- .INDENT 3.5
14031
- 作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであり、テーブル名には 使用できません。また、ピリオド(\(aq.\(aq), コロン(\(aq:\(aq)を含む名前のテーブルは作成できません。
14032
- .UNINDENT
14033
- .UNINDENT
14050
+ Here is an example to create \fBTABLE_NO_KEY\fP table:
14034
14051
  .sp
14035
- \fBflags\fP
14036
- .INDENT 0.0
14037
- .INDENT 3.5
14038
- 作成するテーブルの属性を示す数値か、パイプ(\(aq|\(aq)で組み合わせたシンボル名を指定します。(デフォルト値は0(="TABLE_HASH_KEY"))
14039
- .INDENT 0.0
14040
- .INDENT 3.5
14041
- .INDENT 0.0
14042
- .TP
14043
- .B 0, \fBTABLE_HASH_KEY\fP
14044
- 主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを非常に高速に検索することができます。
14045
- .TP
14046
- .B 1, \fBTABLE_PAT_KEY\fP
14047
- 主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用したテーブルでは、主キー値に完全一致するレコードを検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、flagsの値に64を加えることによって、後方一致検索も可能となります。
14048
- .TP
14049
- .B 2, \fBTABLE_DAT_KEY\fP
14050
- 主キー値をダブル配列で管理するテーブルを作成します。ダブル配列を使用したテーブルでは、主キー値に完全一致するレコードを高速に検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。
14051
- .TP
14052
- .B 3, \fBTABLE_NO_KEY\fP
14053
- 主キーを持たないテーブルを作成します。各レコードはIDのみによって特定することができます。
14054
- .TP
14055
- .B 4, \fBTABLE_VIEW\fP
14056
- 複数のテーブルをまとめて操作するための仮想的なテーブル(view)を作成します。
14057
- .TP
14058
- .B 64, \fBKEY_WITH_SIS\fP
14059
- 語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。
14060
- .TP
14061
- .B 128, \fBKEY_NORMALIZE\fP
14062
- ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登録します。この値が指定されたテーブルではたとえば、主キー値\(aqabc\(aqと\(aqABC\(aq は同一のレコードに対応するものとみなされます。
14063
- .UNINDENT
14064
- .UNINDENT
14065
- .UNINDENT
14066
- .UNINDENT
14067
- .UNINDENT
14052
+ Execution example:
14068
14053
  .sp
14069
- \fBkey_type\fP
14070
- .INDENT 0.0
14071
- .INDENT 3.5
14072
- 主キー値の型を指定します。主キー値を持つテーブルに限り有効です。型にはgroongaの組込型か、同一データベースに定義済みのユーザ定義型、定義済みのテーブルを指定することができます。
14073
- .UNINDENT
14074
- .UNINDENT
14054
+ .nf
14055
+ .ft C
14056
+ table_create Logs TABLE_NO_KEY
14057
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
14058
+ .ft P
14059
+ .fi
14075
14060
  .sp
14076
- \fBvalue_type\fP
14077
- .INDENT 0.0
14078
- .INDENT 3.5
14079
- 値の型を指定します。tableの値には固定長の型のみが指定できます。(可変長の値が必要な場合は別途カラムを作成します) 型にはgroongaの組込型か、同一データベースに定義済みのユーザ定義型、またはテーブルを指定することができます。(デフォルトはvalueなし)
14080
- .UNINDENT
14081
- .UNINDENT
14061
+ The \fBtable_create\fP command creates a table that is named \fBLogs\fP
14062
+ and is \fBTABLE_NO_KEY\fP type.
14082
14063
  .sp
14083
- \fBdefault_tokenizer\fP
14084
- .INDENT 0.0
14085
- .INDENT 3.5
14086
- 作成するテーブルを語彙表として使用する場合、文字列を分割するトークナイザを指定します。
14064
+ If your records aren\(aqt searched by key, \fBTABLE_NO_KEY\fP type table is
14065
+ suitable. Because \fBTABLE_NO_KEY\fP doesn\(aqt support key but it is fast
14066
+ and small table. Storing logs into groonga database is the case.
14087
14067
  .sp
14088
- 組込のトークナイザとして、以下が準備されています。
14068
+ If your records are searched by key or referenced by one or more
14069
+ columns, \fBTABLE_NO_KEY\fP type isn\(aqt suitable. Lexicon for fulltext
14070
+ search is the case.
14071
+ .SS Create lexicon table
14072
+ .sp
14073
+ You can use all table types except \fBTABLE_NO_KEY\fP for lexicon table.
14074
+ Lexicon table needs key support but \fBTABLE_NO_KEY\fP doesn\(aqt support
14075
+ key.
14076
+ .sp
14077
+ Here is an example to create \fBTABLE_PAT_KEY\fP table:
14078
+ .sp
14079
+ Execution example:
14080
+ .sp
14081
+ .nf
14082
+ .ft C
14083
+ table_create Lexicon TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \-\-normalizer NormalizerAuto
14084
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
14085
+ .ft P
14086
+ .fi
14087
+ .sp
14088
+ The \fBtable_create\fP command creates the following table:
14089
14089
  .INDENT 0.0
14090
- .TP
14091
- .B \fBTokenDelimit\fP
14092
- 空白で区切られた文字列をトークンとする
14093
- .TP
14094
- .B \fBTokenUnigram\fP
14095
- unigram(1文字を1トークンとする)
14096
- .TP
14097
- .B \fBTokenBigram\fP
14098
- bigram(2文字の文字列要素をトークンとする)
14099
- .TP
14100
- .B \fBTokenTrigram\fP
14101
- trigram(3文字の文字列要素をトークンとする)
14102
- .TP
14103
- .B \fBTokenMecab\fP
14104
- 形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ有効)
14090
+ .IP \(bu 2
14091
+ The table is named \fBLexicon\fP.
14092
+ .IP \(bu 2
14093
+ The table is \fBTABLE_PAT_KEY\fP type table.
14094
+ .IP \(bu 2
14095
+ The table\(aqs key is \fBShortText\fP type.
14096
+ .IP \(bu 2
14097
+ The table uses \fBTokenBigram\fP tokenizer to extract tokens from a
14098
+ normalized text.
14099
+ .IP \(bu 2
14100
+ The table uses \fBNormalizerAuto\fP normalizer to normalize a text.
14105
14101
  .UNINDENT
14106
14102
  .sp
14107
- トークナイザが指定されなかった場合は、対象の文字列を分割せずに語彙表に登録します。
14108
- .UNINDENT
14109
- .UNINDENT
14110
- .SS 返値
14111
- .SS json形式
14103
+ \fBTABLE_PAT_KEY\fP is suitable table type for lexicon table. Lexicon
14104
+ table is used for fulltext search.
14105
+ .sp
14106
+ In fulltext search, predictive search may be used for fuzzy
14107
+ search. Predictive search is supported by \fBTABLE_PAT_KEY\fP and
14108
+ \fBTABLE_DAT_KEY\fP.
14109
+ .sp
14110
+ Lexicon table has many keys because a fulltext target text has many
14111
+ tokens. Table that has many keys should consider table size because
14112
+ large table requires large memory. Requiring large memory causes disk
14113
+ I/O. It blocks fast search. So table size is important for a table
14114
+ that has many keys. \fBTABLE_PAT_KEY\fP is less table size than
14115
+ \fBTABLE_DAT_KEY\fP.
14116
+ .sp
14117
+ Because of the above reasons, \fBTABLE_PAT_KEY\fP is suitable table type
14118
+ for lexicon table.
14119
+ .SS Create tag index table
14120
+ .sp
14121
+ You can use all table types except \fBTABLE_NO_KEY\fP for tag index
14122
+ table. Tag index table needs key support but \fBTABLE_NO_KEY\fP doesn\(aqt
14123
+ support key.
14124
+ .sp
14125
+ Here is an example to create \fBTABLE_HASH_KEY\fP table:
14126
+ .sp
14127
+ Execution example:
14112
14128
  .sp
14113
14129
  .nf
14114
14130
  .ft C
14115
- [成功かどうかのフラグ]
14116
-
14117
- \(ga\(ga成功かどうかのフラグ\(ga\(ga
14118
-
14119
- エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
14131
+ table_create Ages TABLE_DAT_KEY UInt32
14132
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
14120
14133
  .ft P
14121
14134
  .fi
14122
- .SS 例
14123
14135
  .sp
14124
- ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。:
14136
+ The \fBtable_create\fP command creates a table that is named \fBTags\fP,
14137
+ is \fBTABLE_HASH_KEY\fP type and has \fBShortText\fP type key.
14138
+ .sp
14139
+ \fBTABLE_HASH_KEY\fP or \fBTABLE_DAT_KEY\fP are suitable table types for
14140
+ tag index table.
14141
+ .sp
14142
+ If you need only exact match tag search feature, \fBTABLE_HASH_KEY\fP is
14143
+ suitable. It is the common case.
14144
+ .sp
14145
+ If you also need predictive tag search feature (for example, searching
14146
+ \fB"groonga"\fP by \fB"gr"\fP keyword.), \fBTABLE_DAT_KEY\fP is suitable.
14147
+ \fBTABLE_DAT_KEY\fP is large table size but it is not important because
14148
+ the number of tags will not be large.
14149
+ .SS Create range index table
14150
+ .sp
14151
+ You can use \fBTABLE_PAT_KEY\fP and \fBTABLE_DAT_KEY\fP table types for
14152
+ range index table. Range index table needs range search support but
14153
+ \fBTABLE_NO_KEY\fP and \fBTABLE_HASH_KEY\fP don\(aqt support it.
14154
+ .sp
14155
+ Here is an example to create \fBTABLE_DAT_KEY\fP table:
14156
+ .sp
14157
+ Execution example:
14125
14158
  .sp
14126
14159
  .nf
14127
14160
  .ft C
14128
- table_create Entry \-\-key_type ShortText
14129
- [true]
14161
+ table_create Ages TABLE_DAT_KEY UInt32
14162
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
14130
14163
  .ft P
14131
14164
  .fi
14132
14165
  .sp
14133
- ShortText型の主キーを持つパトリシア木型のテーブル、Termを作成します。主キー値は正規化して管理します。また、このテーブルを語彙表とする転置索引を作成する場合には、バイグラムの索引を作成します。:
14166
+ The \fBtable_create\fP command creates a table that is named \fBAges\fP,
14167
+ is \fBTABLE_DAT_KEY\fP type and has \fBUInt32\fP type key.
14168
+ .sp
14169
+ \fBTABLE_PAT_KEY\fP and \fBTABLE_DAT_KEY\fP are suitable table types for
14170
+ range index table.
14171
+ .sp
14172
+ If you don\(aqt have many indexed items, \fBTABLE_DAT_KEY\fP is
14173
+ suitable. Index for age is the case in the above example. Index for
14174
+ age will have only 0\-100 items because human doesn\(aqt live so long.
14175
+ .sp
14176
+ If you have many indexed items, \fBTABLE_PAT_KEY\fP is suitable. Because
14177
+ \fBTABLE_PAT_KEY\fP is smaller than \fBTABLE_DAT_KEY\fP.
14178
+ .SS Parameters
14179
+ .sp
14180
+ This section describes all parameters.
14181
+ .SS \fBname\fP
14182
+ .sp
14183
+ It specifies a table name to be created. \fBname\fP must be specified.
14184
+ .sp
14185
+ Here are available characters:
14186
+ .INDENT 0.0
14187
+ .IP \(bu 2
14188
+ \fB0\fP .. \fB9\fP (digit)
14189
+ .IP \(bu 2
14190
+ \fBa\fP .. \fBz\fP (alphabet, lower case)
14191
+ .IP \(bu 2
14192
+ \fBA\fP .. \fBZ\fP (alphabet, upper case)
14193
+ .IP \(bu 2
14194
+ \fB#\fP (hash)
14195
+ .IP \(bu 2
14196
+ \fB@\fP (at mark)
14197
+ .IP \(bu 2
14198
+ \fB\-\fP (hyphen)
14199
+ .IP \(bu 2
14200
+ \fB_\fP (underscore) (NOTE: Underscore can\(aqt be used as the first
14201
+ character.)
14202
+ .UNINDENT
14203
+ .sp
14204
+ You need to create a name with one or more the above chracters. Note
14205
+ that you cannot use \fB_\fP as the first charcter such as
14206
+ \fB_name\fP.
14207
+ .SS \fBflags\fP
14208
+ .sp
14209
+ It specifies a table type and table customize options.
14210
+ .sp
14211
+ Here are available flags:
14212
+ .TS
14213
+ center;
14214
+ |l|l|.
14215
+ _
14216
+ T{
14217
+ flags
14218
+ T} T{
14219
+ description
14220
+ T}
14221
+ _
14222
+ T{
14223
+ \fBTABLE_NO_KEY\fP
14224
+ T} T{
14225
+ Array table.
14226
+ T}
14227
+ _
14228
+ T{
14229
+ \fBTABLE_HASH_HEY\fP
14230
+ T} T{
14231
+ Hash table.
14232
+ T}
14233
+ _
14234
+ T{
14235
+ \fBTABLE_PAT_KEY\fP
14236
+ T} T{
14237
+ Patricia trie.
14238
+ T}
14239
+ _
14240
+ T{
14241
+ \fBTABLE_DAT_KEY\fP
14242
+ T} T{
14243
+ Double Array trie.
14244
+ T}
14245
+ _
14246
+ T{
14247
+ \fBKEY_WITH_SIS\fP
14248
+ T} T{
14249
+ Enable Semi Infinite String.
14250
+ Require \fBTABLE_PAT_KEY\fP.
14251
+ T}
14252
+ _
14253
+ .TE
14254
+ .IP Note
14255
+ Since groonga 2.1.0 \fBKEY_NORMALIZE\fP flag is deprecated. Use
14256
+ \fBnormalizer\fP option with \fBNormalizerAuto\fP instead.
14257
+ .RE
14258
+ .sp
14259
+ You must specify one of \fBTABLE_${TYPE}\fP flags. You cannot specify two
14260
+ or more \fBTABLE_${TYPE}\fP flags. For example,
14261
+ \fBTABLE_NO_KEY|TABLE_HASH_KEY\fP is invalid.
14262
+ .sp
14263
+ You can combine flags with \fB|\fP (vertical bar) such as
14264
+ \fBTABLE_PAT_KEY|KEY_WITH_SIS\fP.
14265
+ .sp
14266
+ See \fB/reference/tables\fP for difference between table types.
14267
+ .sp
14268
+ The default flags are \fBTABLE_HASH_KEY\fP.
14269
+ .SS \fBkey_type\fP
14270
+ .sp
14271
+ It specifies key type.
14272
+ .sp
14273
+ If you specify \fBTABLE_HASH_KEY\fP, \fBTABLE_PAT_KEY\fP or
14274
+ \fBTABLE_DAT_KEY\fP as \fBflags\fP parameter, you need to specify
14275
+ \fBkey_type\fP option.
14276
+ .sp
14277
+ See \fB/reference/types\fP for all types.
14278
+ .sp
14279
+ The default value is none.
14280
+ .SS \fBvalue_type\fP
14281
+ .sp
14282
+ It specifies value type.
14283
+ .sp
14284
+ You can use value when you specify \fBTABLE_NO_KEY\fP,
14285
+ \fBTABLE_HASH_KEY\fP or \fBTABLE_PAT_KEY\fP as \fBflags\fP parameter. Value
14286
+ type must be a fixed size type. For example, \fBUInt32\fP can be used
14287
+ but \fBShortText\fP cannot be used. Use columns instead of value.
14288
+ .sp
14289
+ The default value is none.
14290
+ .SS \fBdefault_tokenizer\fP
14291
+ .sp
14292
+ It specifies the default tokenizer that is used on searching and data
14293
+ loading.
14294
+ .sp
14295
+ You cannot use \fBdefault_tokenizer\fP with \fBTABLE_NO_KEY\fP because
14296
+ \fBTABLE_NO_KEY\fP cannot be used for index.
14297
+ .sp
14298
+ You must specify \fBdefault_tokenizer\fP for a table that is used for
14299
+ fulltext search index.
14300
+ .sp
14301
+ See \fB/reference/tokenizers\fP for all tokenizers
14302
+ .sp
14303
+ The default value is none.
14304
+ .SS \fBnormalizer\fP
14305
+ .sp
14306
+ It specifies a normalizer that is used to normalize key.
14307
+ .sp
14308
+ You cannot use \fBnormalizer\fP with \fBTABLE_NO_KEY\fP because
14309
+ \fBTABLE_NO_KEY\fP doesn\(aqt support key.
14310
+ .sp
14311
+ See \fB/reference/normalizers\fP for all normalizsers.
14312
+ .sp
14313
+ The default value is none.
14314
+ .SS Return value
14315
+ .sp
14316
+ \fBtable_create\fP returns \fBtrue\fP as body on success such as:
14134
14317
  .sp
14135
14318
  .nf
14136
14319
  .ft C
14137
- table_create Term \-\-flags TABLE_PAT_KEY|KEY_NORMALIZE \-\-key_type ShortText \-\-default_tokenizer TokenBigram
14138
- [true]
14320
+ [HEADER, true]
14139
14321
  .ft P
14140
14322
  .fi
14323
+ .sp
14324
+ If \fBtable_create\fP fails, error details are in \fBHEADER\fP.
14325
+ .sp
14326
+ See \fB/reference/command/output_format\fP for \fBHEADER\fP.
14327
+ .SS See also
14328
+ .INDENT 0.0
14329
+ .IP \(bu 2
14330
+ \fB/reference/tables\fP
14331
+ .IP \(bu 2
14332
+ \fB/reference/commands/column_create\fP
14333
+ .IP \(bu 2
14334
+ \fB/reference/tokenizers\fP
14335
+ .IP \(bu 2
14336
+ \fB/reference/normalizers\fP
14337
+ .IP \(bu 2
14338
+ \fB/reference/command/output_format\fP
14339
+ .UNINDENT
14141
14340
  .SS table_list
14142
14341
  .SS 名前
14143
14342
  .sp
@@ -14269,63 +14468,55 @@ table_list
14269
14468
  # [
14270
14469
  # "range",
14271
14470
  # "ShortText"
14471
+ # ],
14472
+ # [
14473
+ # "default_tokenizer",
14474
+ # "ShortText"
14475
+ # ],
14476
+ # [
14477
+ # "normalizer",
14478
+ # "ShortText"
14272
14479
  # ]
14273
14480
  # ],
14274
14481
  # [
14275
14482
  # 259,
14276
- # "bigram",
14277
- # "/tmp/groonga\-databases/suggest.0000103",
14278
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
14279
- # "ShortText",
14280
- # "null"
14281
- # ],
14282
- # [
14283
- # 278,
14284
- # "event_query",
14285
- # "/tmp/groonga\-databases/suggest.0000116",
14286
- # "TABLE_NO_KEY|PERSISTENT",
14287
- # "null",
14288
- # "null"
14483
+ # "Ages",
14484
+ # "/tmp/groonga\-databases/commands_table_create.0000103",
14485
+ # "TABLE_DAT_KEY|PERSISTENT",
14486
+ # "UInt32",
14487
+ # null,
14488
+ # null,
14489
+ # null
14289
14490
  # ],
14290
14491
  # [
14291
- # 258,
14292
- # "event_type",
14293
- # "/tmp/groonga\-databases/suggest.0000102",
14294
- # "TABLE_HASH_KEY|PERSISTENT",
14492
+ # 257,
14493
+ # "Lexicon",
14494
+ # "/tmp/groonga\-databases/commands_table_create.0000101",
14495
+ # "TABLE_PAT_KEY|PERSISTENT",
14295
14496
  # "ShortText",
14296
- # "null"
14497
+ # null,
14498
+ # "TokenBigram",
14499
+ # "NormalizerAuto"
14297
14500
  # ],
14298
14501
  # [
14299
- # 261,
14300
- # "item_query",
14301
- # "/tmp/groonga\-databases/suggest.0000105",
14302
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
14303
- # "ShortText",
14304
- # "null"
14305
- # ],
14306
- # [
14307
- # 260,
14308
- # "kana",
14309
- # "/tmp/groonga\-databases/suggest.0000104",
14310
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
14311
- # "ShortText",
14312
- # "null"
14313
- # ],
14314
- # [
14315
- # 270,
14316
- # "pair_query",
14317
- # "/tmp/groonga\-databases/suggest.000010E",
14318
- # "TABLE_HASH_KEY|PERSISTENT",
14319
- # "UInt64",
14320
- # "null"
14502
+ # 256,
14503
+ # "Logs",
14504
+ # "/tmp/groonga\-databases/commands_table_create.0000100",
14505
+ # "TABLE_NO_KEY|PERSISTENT",
14506
+ # null,
14507
+ # null,
14508
+ # null,
14509
+ # null
14321
14510
  # ],
14322
14511
  # [
14323
- # 277,
14324
- # "sequence_query",
14325
- # "/tmp/groonga\-databases/suggest.0000115",
14512
+ # 258,
14513
+ # "Tags",
14514
+ # "/tmp/groonga\-databases/commands_table_create.0000102",
14326
14515
  # "TABLE_HASH_KEY|PERSISTENT",
14327
14516
  # "ShortText",
14328
- # "null"
14517
+ # null,
14518
+ # null,
14519
+ # null
14329
14520
  # ]
14330
14521
  # ]
14331
14522
  # ]
@@ -14586,6 +14777,444 @@ groongaのカラムは、ある型のベクターを保存することができ
14586
14777
  脚注
14587
14778
  .IP [1] 5
14588
14779
  Object型はv1.2でサポートされます。
14780
+ .SS Tables
14781
+ .SS Summary
14782
+ .sp
14783
+ Table in groonga manages relation between ID and key. Groonga provides
14784
+ four table types. They are \fBTABLE_NO_KEY\fP, \fBTABLE_HASH_KEY\fP,
14785
+ \fBTABLE_PAT_KEY\fP and \fBTABLE_DAT_KEY\fP.
14786
+ .sp
14787
+ All table except \fBTABLE_NO_KEY\fP provides both fast ID search by key
14788
+ and fast key search by ID. \fBTABLE_NO_KEY\fP doesn\(aqt support
14789
+ key. \fBTABLE_NO_KEY\fP only manages ID. So \fBTABLE_NO_KEY\fP doesn\(aqt
14790
+ provides ID search and key search.
14791
+ .SS Characteristics
14792
+ .sp
14793
+ Here is a chracteristic table of all tables in groonga. (\fBTABLE_\fP
14794
+ prefix is omitted in the table.)
14795
+ .TS
14796
+ center;
14797
+ |l|l|l|l|l|.
14798
+ _
14799
+ T{
14800
+ T} T{
14801
+ \fBNO_KEY\fP
14802
+ T} T{
14803
+ \fBHASH_KEY\fP
14804
+ T} T{
14805
+ \fBPAT_KEY\fP
14806
+ T} T{
14807
+ \fBDAT_KEY\fP
14808
+ T}
14809
+ _
14810
+ T{
14811
+ Data
14812
+ structure
14813
+ T} T{
14814
+ Array
14815
+ T} T{
14816
+ Hash table
14817
+ T} T{
14818
+ Patricia
14819
+ trie
14820
+ T} T{
14821
+ Double
14822
+ array
14823
+ trie
14824
+ T}
14825
+ _
14826
+ T{
14827
+ ID
14828
+ support
14829
+ T} T{
14830
+ o
14831
+ T} T{
14832
+ o
14833
+ T} T{
14834
+ o
14835
+ T} T{
14836
+ o
14837
+ T}
14838
+ _
14839
+ T{
14840
+ Key
14841
+ support
14842
+ T} T{
14843
+ x
14844
+ T} T{
14845
+ o
14846
+ T} T{
14847
+ o
14848
+ T} T{
14849
+ o
14850
+ T}
14851
+ _
14852
+ T{
14853
+ Value
14854
+ support
14855
+ T} T{
14856
+ o
14857
+ T} T{
14858
+ o
14859
+ T} T{
14860
+ o
14861
+ T} T{
14862
+ x
14863
+ T}
14864
+ _
14865
+ T{
14866
+ Key \-> ID
14867
+ speed
14868
+ (o \-> fast)
14869
+ (x \-> slow)
14870
+ T} T{
14871
+ .INDENT 0.0
14872
+ .IP \(bu 2
14873
+ .UNINDENT
14874
+ T} T{
14875
+ oo
14876
+ T} T{
14877
+ x
14878
+ T} T{
14879
+ o
14880
+ T}
14881
+ _
14882
+ T{
14883
+ Update
14884
+ speed
14885
+ (o \-> fast)
14886
+ (x \-> slow)
14887
+ T} T{
14888
+ ooo
14889
+ T} T{
14890
+ o
14891
+ T} T{
14892
+ o
14893
+ T} T{
14894
+ x
14895
+ T}
14896
+ _
14897
+ T{
14898
+ Size
14899
+ (o \-> small)
14900
+ (x \-> large)
14901
+ T} T{
14902
+ ooo
14903
+ T} T{
14904
+ o
14905
+ T} T{
14906
+ oo
14907
+ T} T{
14908
+ x
14909
+ T}
14910
+ _
14911
+ T{
14912
+ Key
14913
+ update
14914
+ T} T{
14915
+ .INDENT 0.0
14916
+ .IP \(bu 2
14917
+ .UNINDENT
14918
+ T} T{
14919
+ x
14920
+ T} T{
14921
+ x
14922
+ T} T{
14923
+ o
14924
+ T}
14925
+ _
14926
+ T{
14927
+ Common
14928
+ prefix
14929
+ search
14930
+ T} T{
14931
+ .INDENT 0.0
14932
+ .IP \(bu 2
14933
+ .UNINDENT
14934
+ T} T{
14935
+ x
14936
+ T} T{
14937
+ o
14938
+ T} T{
14939
+ o
14940
+ T}
14941
+ _
14942
+ T{
14943
+ Predictive
14944
+ search
14945
+ T} T{
14946
+ .INDENT 0.0
14947
+ .IP \(bu 2
14948
+ .UNINDENT
14949
+ T} T{
14950
+ x
14951
+ T} T{
14952
+ o
14953
+ T} T{
14954
+ o
14955
+ T}
14956
+ _
14957
+ T{
14958
+ Range
14959
+ search
14960
+ T} T{
14961
+ .INDENT 0.0
14962
+ .IP \(bu 2
14963
+ .UNINDENT
14964
+ T} T{
14965
+ x
14966
+ T} T{
14967
+ o
14968
+ T} T{
14969
+ o
14970
+ T}
14971
+ _
14972
+ .TE
14973
+ .SS \fBTABLE_NO_KEY\fP
14974
+ .sp
14975
+ \fBTABLE_NO_KEY\fP is very fast and very small but it doesn\(aqt support
14976
+ key. \fBTABLE_NO_KEY\fP is a only table that doesn\(aqt support key.
14977
+ .sp
14978
+ You cannot use \fBTABLE_NO_KEY\fP for lexicon for fulltext search
14979
+ because lexicon stores tokens as key. \fBTABLE_NO_KEY\fP is useful for
14980
+ no key records such as log.
14981
+ .SS \fBTABLE_HASH_KEY\fP
14982
+ .sp
14983
+ \fBTABLE_HASH_KEY\fP is fast but it doesn\(aqt support advanced search
14984
+ functions such as common prefix search and predictive search.
14985
+ .sp
14986
+ \fBTABLE_HASH_KEY\fP is useful for index for exact search such as tag
14987
+ search.
14988
+ .SS \fBTABLE_PAT_KEY\fP
14989
+ .sp
14990
+ \fBTABLE_PAT_KEY\fP is small and supports advanced search functions.
14991
+ .sp
14992
+ \fBTABLE_PAT_KEY\fP is useful for lexicon for fulltext search and
14993
+ index for range search.
14994
+ .SS \fBTABLE_DAT_KEY\fP
14995
+ .sp
14996
+ \fBTABLE_DAT_KEY\fP is fast and supports key update but it is large. It
14997
+ is not suitable for storing many records. \fBTABLE_DAT_KEY\fP is a only
14998
+ table that supports key update.
14999
+ .sp
15000
+ \fBTABLE_DAT_KEY\fP is used in groonga database. Groonga database needs
15001
+ to convert object name such as \fBShortText\fP, \fBTokenBigram\fP and
15002
+ table names to object ID. And groonga database needs to rename object
15003
+ name. Those features are implemented by \fBTABLE_DAT_KEY\fP. The number
15004
+ of objects is small. So large data size demerit of \fBTABLE_DAT_KEY\fP
15005
+ can be ignored.
15006
+ .SS Record ID
15007
+ .sp
15008
+ Record ID is assigned automatically. You cannot assign record ID.
15009
+ .sp
15010
+ Record ID of deleted record may be reused.
15011
+ .sp
15012
+ Valid record ID range is between 1 and 268435455. (1 and 268435455 are
15013
+ valid IDs.)
15014
+ .SS Persistent table and temporary table
15015
+ .sp
15016
+ Table is persistent table or temporary table.
15017
+ .SS Persistent table
15018
+ .sp
15019
+ Persistent table is named and registered to database. Records in
15020
+ persistent table aren\(aqt deleted after closing table or
15021
+ database.
15022
+ .sp
15023
+ Persistent table can be created by
15024
+ \fB/reference/commands/table_create\fP command.
15025
+ .SS Temporary table
15026
+ .sp
15027
+ Temporary table is anonymous. Records in temporary table are deleted
15028
+ after closing table. Temporary table is used to store search result,
15029
+ sort result, group (drilldown) result and so on. \fBTABLE_HASH_KEY\fP is
15030
+ used for search result and group result. \fBTABLE_NO_KEY\fP is used for
15031
+ sort result.
15032
+ .SS Limitations
15033
+ .sp
15034
+ The max number of records is 268435455. You cannot add 268435456 or
15035
+ more records in a table.
15036
+ .sp
15037
+ The max number of a key size is 4096byte. You cannot use 4097byte or
15038
+ larger key. You can use column instead of key for 4097byte or larger
15039
+ size data. \fBText\fP and \fBLargeText\fP types supports 4097byte or
15040
+ larger size data.
15041
+ .sp
15042
+ The max number of total key size is 4GiB. You need to split a table,
15043
+ split a database (sharding) or reduce each key size to handle 4GiB or
15044
+ more larger total key size.
15045
+ .SS See also
15046
+ .INDENT 0.0
15047
+ .IP \(bu 2
15048
+ \fB/reference/commands/table_create\fP
15049
+ .UNINDENT
15050
+ .SS Normalizers
15051
+ .SS Summary
15052
+ .sp
15053
+ Groonga has normalizer module. It is used when tokenizing text and
15054
+ storing table key. For example, \fBA\fP and \fBa\fP are processed as the
15055
+ same character after normalization.
15056
+ .sp
15057
+ Normalizer module can be added as a plugin. You can customize text
15058
+ normalization by registering your normalizer plugins to groonga.
15059
+ .sp
15060
+ A normalizer module is attached to a table. A table can have zero or
15061
+ one normalizer module. You can attach a normalizer module to a table
15062
+ by \fItable\-create\-normalizer\fP option in
15063
+ \fB/reference/commands/table_create\fP.
15064
+ .sp
15065
+ Here is an example \fBtable_create\fP that uses \fBNormalizerAuto\fP
15066
+ normalizer module:
15067
+ .sp
15068
+ Execution example:
15069
+ .sp
15070
+ .nf
15071
+ .ft C
15072
+ table_create Dictionary TABLE_HASH_KEY ShortText \-\-normalizer NormalizerAuto
15073
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
15074
+ .ft P
15075
+ .fi
15076
+ .IP Note
15077
+ Groonga 2.0.9 or earlier doesn\(aqt have \fB\-\-normalizer\fP option in
15078
+ \fBtable_create\fP. \fBKEY_NORMALIZE\fP flag was used instead.
15079
+ .sp
15080
+ You can open an old database by groonga 2.1.0 or later. An old
15081
+ database means that the database is created by groonga 2.0.9 or
15082
+ earlier. But you cannot open the opened old database by groonga
15083
+ 2.0.9 or earlier. Once you open the old database by groonga 2.1.0
15084
+ or later, \fBKEY_NORMALIZE\fP flag information in the old database is
15085
+ converted to normalizer information. So groogna 2.0.9 or earlier
15086
+ cannot find \fBKEY_NORMALIZE\fP flag information in the opened old
15087
+ database.
15088
+ .RE
15089
+ .sp
15090
+ Keys of a table that has a normalizer module are normalized:
15091
+ .sp
15092
+ Execution example:
15093
+ .sp
15094
+ .nf
15095
+ .ft C
15096
+ load \-\-table Dictionary
15097
+ [
15098
+ {"_key": "Apple"},
15099
+ {"_key": "black"},
15100
+ {"_key": "COLOR"}
15101
+ ]
15102
+ # [[0, 1337566253.89858, 0.000355720520019531], 3]
15103
+ select Dictionary
15104
+ # [
15105
+ # [
15106
+ # 0,
15107
+ # 1337566253.89858,
15108
+ # 0.000355720520019531
15109
+ # ],
15110
+ # [
15111
+ # [
15112
+ # [
15113
+ # 3
15114
+ # ],
15115
+ # [
15116
+ # [
15117
+ # "_id",
15118
+ # "UInt32"
15119
+ # ],
15120
+ # [
15121
+ # "_key",
15122
+ # "ShortText"
15123
+ # ]
15124
+ # ],
15125
+ # [
15126
+ # 1,
15127
+ # "apple"
15128
+ # ],
15129
+ # [
15130
+ # 2,
15131
+ # "black"
15132
+ # ],
15133
+ # [
15134
+ # 3,
15135
+ # "color"
15136
+ # ]
15137
+ # ]
15138
+ # ]
15139
+ # ]
15140
+ .ft P
15141
+ .fi
15142
+ .sp
15143
+ \fBNormalizerAuto\fP normalizer normalizes a text as a downcased text.
15144
+ For example, \fB"Apple"\fP is normalized to \fB"apple"\fP, \fB"black"\fP is
15145
+ normalized to \fB"blank"\fP and \fB"COLOR"\fP is normalized to
15146
+ \fB"color"\fP.
15147
+ .sp
15148
+ If a table is a lexicon for fulltext search, tokenized tokens are
15149
+ normalized. Because tokens are stored as table keys. Table keys are
15150
+ normalized as described above.
15151
+ .SS Built\-in normalizers
15152
+ .sp
15153
+ Here is a list of built\-in\-normalizers:
15154
+ .INDENT 0.0
15155
+ .INDENT 3.5
15156
+ .INDENT 0.0
15157
+ .IP \(bu 2
15158
+ \fBNormalizerAuto\fP
15159
+ .IP \(bu 2
15160
+ \fBNormalizerNFKC51\fP
15161
+ .UNINDENT
15162
+ .UNINDENT
15163
+ .UNINDENT
15164
+ .SS \fBNormalizerAuto\fP
15165
+ .sp
15166
+ Normally you should use \fBNormalizerAuto\fP
15167
+ normalizer. \fBNormalizerAuto\fP was the normalizer for groonga 2.0.9 or
15168
+ earlier. \fBKEY_NORMALIZE\fP flag in \fBtable_create\fP on groonga 2.0.9
15169
+ or earlier equals to \fB\-\-normalizer NormalizerAuto\fP option in
15170
+ \fBtable\fP on groonga 2.1.0 or later.
15171
+ .sp
15172
+ \fBNormalizerAuto\fP supports all encoding. It uses Unicode NFKC
15173
+ (Normalization Form Compatibility Composition) for UTF\-8 encoding
15174
+ text. It uses encoding specific original normalization for other
15175
+ encodings. The results of those original normalization are similar to
15176
+ NFKC.
15177
+ .sp
15178
+ For example, half\-width katakana (such as U+FF76 HALFWIDTH KATAKANA
15179
+ LETTER KA) + half\-width katakana voiced sound mark (U+FF9E HALFWIDTH
15180
+ KATAKANA VOICED SOUND MARK) is normalized to full\-width katakana with
15181
+ voiced sound mark (U+30AC KATAKANA LETTER GA). The former is two
15182
+ chracters but the latter is one character.
15183
+ .sp
15184
+ Here is an example that uses \fBNormalizerAuto\fP normalizer:
15185
+ .sp
15186
+ Execution example:
15187
+ .sp
15188
+ .nf
15189
+ .ft C
15190
+ table_create NormalLexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerAuto
15191
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
15192
+ .ft P
15193
+ .fi
15194
+ .SS \fBNormalizerNFKC51\fP
15195
+ .sp
15196
+ \fBNormalizerNFKC51\fP normalizes texts by Unicode NFKC (Normalization
15197
+ Form Compatibility Composition) for Unicode version 5.1. It supports
15198
+ only UTF\-8 encoding.
15199
+ .sp
15200
+ Normally you don\(aqt need to use \fBNormalizerNFKC51\fP explicitly. You can
15201
+ use \fBNormalizerAuto\fP instead.
15202
+ .sp
15203
+ Here is an example that uses \fBNormalizerNFKC51\fP normalizer:
15204
+ .sp
15205
+ Execution example:
15206
+ .sp
15207
+ .nf
15208
+ .ft C
15209
+ table_create NFKC51Lexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerNFKC51
15210
+ # [[0, 1337566253.89858, 0.000355720520019531], true]
15211
+ .ft P
15212
+ .fi
15213
+ .SS See also
15214
+ .INDENT 0.0
15215
+ .IP \(bu 2
15216
+ \fB/reference/commands/table_create\fP
15217
+ .UNINDENT
14589
15218
  .SS Tokenizers
14590
15219
  .sp
14591
15220
  TODO: Write me.
@@ -16600,7 +17229,7 @@ Its syntax is \fBname(arugment1, argument2, ...)\fP.
16600
17229
  \fBname(argument1, argument2, ...)\fP calls a function that is named
16601
17230
  \fBname\fP with arguments \fBargument1\fP, \fBargument2\fP and \fB...\fP.
16602
17231
  .sp
16603
- See \fB/reference/functions/\fP for available functin list.
17232
+ See \fB/reference/function\fP for available functin list.
16604
17233
  .sp
16605
17234
  Here is a simple exmaple.
16606
17235
  .sp
@@ -18459,7 +19088,7 @@ you want to calculate the value of distance between two points.
18459
19088
  .sp
18460
19089
  You can specify the value of GeoPoint type. [1]
18461
19090
  .sp
18462
- See \fB/reference/type\fP about GeoPoint.
19091
+ See \fB/reference/types\fP about GeoPoint.
18463
19092
  .SS \fBpoint2\fP
18464
19093
  .sp
18465
19094
  It specifies the end point that
@@ -18468,7 +19097,7 @@ you want to calculate the value of distance between two points.
18468
19097
  You can specify the value of GeoPoint type or
18469
19098
  the string indicating the coordinate.
18470
19099
  .sp
18471
- See \fB/reference/type\fP about GeoPoint and the coordinate.
19100
+ See \fB/reference/types\fP about GeoPoint and the coordinate.
18472
19101
  .SS Optional parameter
18473
19102
  .sp
18474
19103
  There is a optional parameter, \fBapproximate_type\fP.