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
@@ -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`
@@ -0,0 +1,163 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Tables
6
+ ======
7
+
8
+ Summary
9
+ -------
10
+
11
+ Table in groonga manages relation between ID and key. Groonga provides
12
+ four table types. They are ``TABLE_NO_KEY``, ``TABLE_HASH_KEY``,
13
+ ``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY``.
14
+
15
+ All table except ``TABLE_NO_KEY`` provides both fast ID search by key
16
+ and fast key search by ID. ``TABLE_NO_KEY`` doesn't support
17
+ key. ``TABLE_NO_KEY`` only manages ID. So ``TABLE_NO_KEY`` doesn't
18
+ provides ID search and key search.
19
+
20
+ Characteristics
21
+ ---------------
22
+
23
+ Here is a chracteristic table of all tables in groonga. (``TABLE_``
24
+ prefix is omitted in the table.)
25
+
26
+ +--------------+------------+--------------+-------------+-------------+
27
+ | | ``NO_KEY`` | ``HASH_KEY`` | ``PAT_KEY`` | ``DAT_KEY`` |
28
+ +--------------+------------+--------------+-------------+-------------+
29
+ | Data | Array | Hash table | Patricia | Double |
30
+ | structure | | | trie | array |
31
+ | | | | | trie |
32
+ +--------------+------------+--------------+-------------+-------------+
33
+ | ID | o | o | o | o |
34
+ | support | | | | |
35
+ +--------------+------------+--------------+-------------+-------------+
36
+ | Key | x | o | o | o |
37
+ | support | | | | |
38
+ +--------------+------------+--------------+-------------+-------------+
39
+ | Value | o | o | o | x |
40
+ | support | | | | |
41
+ +--------------+------------+--------------+-------------+-------------+
42
+ | Key -> ID | - | oo | x | o |
43
+ | speed | | | | |
44
+ | (o -> fast) | | | | |
45
+ | (x -> slow) | | | | |
46
+ +--------------+------------+--------------+-------------+-------------+
47
+ | Update | ooo | o | o | x |
48
+ | speed | | | | |
49
+ | (o -> fast) | | | | |
50
+ | (x -> slow) | | | | |
51
+ +--------------+------------+--------------+-------------+-------------+
52
+ | Size | ooo | o | oo | x |
53
+ | (o -> small) | | | | |
54
+ | (x -> large) | | | | |
55
+ +--------------+------------+--------------+-------------+-------------+
56
+ | Key | - | x | x | o |
57
+ | update | | | | |
58
+ +--------------+------------+--------------+-------------+-------------+
59
+ | Common | - | x | o | o |
60
+ | prefix | | | | |
61
+ | search | | | | |
62
+ +--------------+------------+--------------+-------------+-------------+
63
+ | Predictive | - | x | o | o |
64
+ | search | | | | |
65
+ +--------------+------------+--------------+-------------+-------------+
66
+ | Range | - | x | o | o |
67
+ | search | | | | |
68
+ +--------------+------------+--------------+-------------+-------------+
69
+
70
+ ``TABLE_NO_KEY``
71
+ ^^^^^^^^^^^^^^^^
72
+
73
+ ``TABLE_NO_KEY`` is very fast and very small but it doesn't support
74
+ key. ``TABLE_NO_KEY`` is a only table that doesn't support key.
75
+
76
+ You cannot use ``TABLE_NO_KEY`` for lexicon for fulltext search
77
+ because lexicon stores tokens as key. ``TABLE_NO_KEY`` is useful for
78
+ no key records such as log.
79
+
80
+ ``TABLE_HASH_KEY``
81
+ ^^^^^^^^^^^^^^^^^^
82
+
83
+ ``TABLE_HASH_KEY`` is fast but it doesn't support advanced search
84
+ functions such as common prefix search and predictive search.
85
+
86
+ ``TABLE_HASH_KEY`` is useful for index for exact search such as tag
87
+ search.
88
+
89
+ ``TABLE_PAT_KEY``
90
+ ^^^^^^^^^^^^^^^^^
91
+
92
+ ``TABLE_PAT_KEY`` is small and supports advanced search functions.
93
+
94
+ ``TABLE_PAT_KEY`` is useful for lexicon for fulltext search and
95
+ index for range search.
96
+
97
+ ``TABLE_DAT_KEY``
98
+ ^^^^^^^^^^^^^^^^^
99
+
100
+ ``TABLE_DAT_KEY`` is fast and supports key update but it is large. It
101
+ is not suitable for storing many records. ``TABLE_DAT_KEY`` is a only
102
+ table that supports key update.
103
+
104
+ ``TABLE_DAT_KEY`` is used in groonga database. Groonga database needs
105
+ to convert object name such as ``ShortText``, ``TokenBigram`` and
106
+ table names to object ID. And groonga database needs to rename object
107
+ name. Those features are implemented by ``TABLE_DAT_KEY``. The number
108
+ of objects is small. So large data size demerit of ``TABLE_DAT_KEY``
109
+ can be ignored.
110
+
111
+ Record ID
112
+ ---------
113
+
114
+ Record ID is assigned automatically. You cannot assign record ID.
115
+
116
+ Record ID of deleted record may be reused.
117
+
118
+ Valid record ID range is between 1 and 268435455. (1 and 268435455 are
119
+ valid IDs.)
120
+
121
+ Persistent table and temporary table
122
+ ------------------------------------
123
+
124
+ Table is persistent table or temporary table.
125
+
126
+ Persistent table
127
+ ^^^^^^^^^^^^^^^^
128
+
129
+ Persistent table is named and registered to database. Records in
130
+ persistent table aren't deleted after closing table or
131
+ database.
132
+
133
+ Persistent table can be created by
134
+ :doc:`/reference/commands/table_create` command.
135
+
136
+ Temporary table
137
+ ^^^^^^^^^^^^^^^
138
+
139
+ Temporary table is anonymous. Records in temporary table are deleted
140
+ after closing table. Temporary table is used to store search result,
141
+ sort result, group (drilldown) result and so on. ``TABLE_HASH_KEY`` is
142
+ used for search result and group result. ``TABLE_NO_KEY`` is used for
143
+ sort result.
144
+
145
+ Limitations
146
+ -----------
147
+
148
+ The max number of records is 268435455. You cannot add 268435456 or
149
+ more records in a table.
150
+
151
+ The max number of a key size is 4096byte. You cannot use 4097byte or
152
+ larger key. You can use column instead of key for 4097byte or larger
153
+ size data. ``Text`` and ``LargeText`` types supports 4097byte or
154
+ larger size data.
155
+
156
+ The max number of total key size is 4GiB. You need to split a table,
157
+ split a database (sharding) or reduce each key size to handle 4GiB or
158
+ more larger total key size.
159
+
160
+ See also
161
+ --------
162
+
163
+ * :doc:`/reference/commands/table_create`
@@ -123,7 +123,7 @@ configuration to use ``/api/`` as prefix path::
123
123
  Custom command version
124
124
  ----------------------
125
125
 
126
- Groonga has :doc:`/reference/command_version` mechanism. It is for
126
+ Groonga has :doc:`/reference/command/command_version` mechanism. It is for
127
127
  upgrading groonga commands with backward compatibility.
128
128
 
129
129
  :doc:`groonga` can change the default command veresion by
@@ -15,7 +15,7 @@ Groonga is a full text search engine but also serves as a column-oriented data s
15
15
  Overview
16
16
  --------
17
17
 
18
- 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 :doc:`/reference/type`.
18
+ 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 :doc:`/reference/types`.
19
19
 
20
20
  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.
21
21
 
@@ -46,7 +46,7 @@ The following example creates a boolean type column and adds three records. Note
46
46
  Numeric types
47
47
  -------------
48
48
 
49
- 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 :doc:`/reference/type`. The default value of the numeric types is 0.
49
+ 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 :doc:`/reference/types`. The default value of the numeric types is 0.
50
50
 
51
51
  The following example creates an Int8 column and a Float column, and then updates existing records. The :doc:`/reference/commands/load` 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.
52
52
 
@@ -65,7 +65,7 @@ The following example creates an Int8 column and a Float column, and then update
65
65
  String types
66
66
  ------------
67
67
 
68
- The string types are divided according to the maximum length. For more details, see :doc:`/reference/type`. The default value is the zero-length string.
68
+ The string types are divided according to the maximum length. For more details, see :doc:`/reference/types`. The default value is the zero-length string.
69
69
 
70
70
  The following example creates a ShortText column and updates existing records. The third record has the default value because not updated.
71
71
 
@@ -99,7 +99,7 @@ The following example creates a Time column and updates existing records. The fi
99
99
  Longitude and latitude types
100
100
  ----------------------------
101
101
 
102
- The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/type`. To represent a longitude and latitude, groonga uses a string formatted as follows:
102
+ The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude, groonga uses a string formatted as follows:
103
103
 
104
104
  * "longitude x latitude" in milliseconds (e.g.: "128452975x503157902")
105
105
  * "longitude x latitude" in degrees (e.g.: "35.6813819x139.7660839")
@@ -93,7 +93,7 @@ A :doc:`/reference/commands/table_create` command creates a new table.
93
93
 
94
94
  In most cases, a table has a primary key which must be specified with its data type and index type.
95
95
 
96
- There are various data types such as integers, strings, etc. See also :doc:`/reference/type` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
96
+ There are various data types such as integers, strings, etc. See also :doc:`/reference/types` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
97
97
 
98
98
  Let's create a table. The following example creates a table with a primary key. The `name` parameter specifies the name of the table. The `flags` parameter specifies the index type for the primary key. The `key_type` parameter specifies the data type of the primary key.
99
99
 
@@ -61,6 +61,18 @@ jQuery.getQueryParameters = function(s) {
61
61
  return result;
62
62
  };
63
63
 
64
+ /**
65
+ * small function to check if an array contains
66
+ * a given item.
67
+ */
68
+ jQuery.contains = function(arr, item) {
69
+ for (var i = 0; i < arr.length; i++) {
70
+ if (arr[i] == item)
71
+ return true;
72
+ }
73
+ return false;
74
+ };
75
+
64
76
  /**
65
77
  * highlight a given string on a jquery object by wrapping it in
66
78
  * span elements with the given class name.
@@ -301,7 +301,7 @@ var Search = {
301
301
  },
302
302
 
303
303
  query : function(query) {
304
- var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
304
+ var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"];
305
305
 
306
306
  // Stem the searchterms and add them to the correct list
307
307
  var stemmer = new Stemmer();
@@ -332,7 +332,7 @@ var Search = {
332
332
  hlterms.push(tmp[i].toLowerCase());
333
333
  }
334
334
  // only add if not already in the list
335
- if (!$u.contains(toAppend, word))
335
+ if (!$.contains(toAppend, word))
336
336
  toAppend.push(word);
337
337
  };
338
338
  var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
@@ -399,7 +399,7 @@ var Search = {
399
399
  // search result.
400
400
  for (var i = 0; i < excluded.length; i++) {
401
401
  if (terms[excluded[i]] == file ||
402
- $u.contains(terms[excluded[i]] || [], file)) {
402
+ $.contains(terms[excluded[i]] || [], file)) {
403
403
  valid = false;
404
404
  break;
405
405
  }