rroonga 1.3.0-x86-mingw32 → 1.3.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. data/Rakefile +33 -2
  2. data/benchmark/common.rb +2 -2
  3. data/benchmark/read-write-many-small-items.rb +71 -62
  4. data/benchmark/write-many-small-items.rb +61 -53
  5. data/ext/groonga/rb-grn-context.c +23 -5
  6. data/ext/groonga/rb-grn-index-column.c +2 -6
  7. data/ext/groonga/rb-grn-operator.c +31 -1
  8. data/ext/groonga/rb-grn-variable-size-column.c +77 -1
  9. data/ext/groonga/rb-grn.h +2 -11
  10. data/ext/groonga/rb-groonga.c +1 -2
  11. data/lib/1.8/groonga.so +0 -0
  12. data/lib/1.9/groonga.so +0 -0
  13. data/lib/groonga/command.rb +169 -0
  14. data/lib/groonga/context.rb +4 -124
  15. data/lib/groonga/dumper.rb +10 -8
  16. data/lib/groonga/record.rb +7 -0
  17. data/lib/groonga/schema.rb +98 -7
  18. data/rroonga-build.rb +3 -3
  19. data/test/{test-context-select.rb → test-command-select.rb} +3 -3
  20. data/test/test-record.rb +18 -1
  21. data/test/test-schema-dumper.rb +48 -0
  22. data/test/test-schema-type.rb +35 -0
  23. data/test/test-schema.rb +81 -11
  24. data/test/test-table-select.rb +49 -38
  25. data/test/test-variable-size-column.rb +30 -0
  26. data/vendor/local/bin/grntest.exe +0 -0
  27. data/vendor/local/bin/groonga.exe +0 -0
  28. data/vendor/local/bin/libgroonga-0.dll +0 -0
  29. data/vendor/local/bin/libmecab-1.dll +0 -0
  30. data/vendor/local/bin/mecab.exe +0 -0
  31. data/vendor/local/include/groonga/groonga/plugin.h +3 -2
  32. data/vendor/local/include/groonga/groonga.h +106 -78
  33. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  38. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  39. data/vendor/local/lib/libgroonga.a +0 -0
  40. data/vendor/local/lib/libgroonga.dll.a +0 -0
  41. data/vendor/local/lib/libmecab.a +0 -0
  42. data/vendor/local/lib/libmecab.dll.a +0 -0
  43. data/vendor/local/lib/pkgconfig/groonga.pc +5 -2
  44. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  45. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  46. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  47. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  48. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  49. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  50. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +42 -32
  51. data/vendor/local/share/doc/groonga/en/html/_sources/commands/delete.txt +5 -1
  52. data/vendor/local/share/doc/groonga/en/html/_sources/commands/table_create.txt +5 -2
  53. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +4 -3
  54. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +8 -6
  55. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +42 -3
  56. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_in_circle.txt +26 -1
  57. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -2
  58. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +102 -27
  59. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +10 -10
  60. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +130 -21
  61. data/vendor/local/share/doc/groonga/en/html/_sources/output.txt +164 -0
  62. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  63. data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +0 -5
  64. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -4
  65. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +2 -1
  67. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +95 -116
  68. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +1 -4
  69. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +1 -4
  70. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +1 -2
  72. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +2 -2
  75. data/vendor/local/share/doc/groonga/en/html/_sources/type.txt +3 -3
  76. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +13 -1
  77. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +11 -7
  79. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  80. data/vendor/local/share/doc/groonga/en/html/characteristic.html +60 -52
  81. data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
  82. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
  83. data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
  84. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
  85. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
  86. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
  87. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
  88. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
  89. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
  90. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +38 -35
  91. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
  92. data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
  93. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
  94. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
  95. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
  96. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
  97. data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
  98. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
  99. data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
  100. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +36 -36
  101. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +38 -36
  102. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
  103. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
  104. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
  105. data/vendor/local/share/doc/groonga/en/html/commands.html +41 -41
  106. data/vendor/local/share/doc/groonga/en/html/community.html +14 -12
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
  109. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
  110. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
  111. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
  112. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
  113. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
  114. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
  115. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
  116. data/vendor/local/share/doc/groonga/en/html/contribution.html +15 -13
  117. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +7 -7
  118. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +7 -7
  119. data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +7 -7
  120. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +12 -12
  121. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +7 -7
  122. data/vendor/local/share/doc/groonga/en/html/executables.html +7 -7
  123. data/vendor/local/share/doc/groonga/en/html/expr.html +25 -25
  124. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +71 -36
  126. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +53 -33
  127. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
  128. data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
  129. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
  130. data/vendor/local/share/doc/groonga/en/html/functions.html +22 -22
  131. data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
  132. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
  133. data/vendor/local/share/doc/groonga/en/html/index.html +92 -87
  134. data/vendor/local/share/doc/groonga/en/html/install.html +109 -40
  135. data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -19
  136. data/vendor/local/share/doc/groonga/en/html/log.html +21 -21
  137. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
  138. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
  139. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
  140. data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
  141. data/vendor/local/share/doc/groonga/en/html/news.html +233 -112
  142. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  143. data/vendor/local/share/doc/groonga/en/html/output.html +302 -0
  144. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +21 -21
  145. data/vendor/local/share/doc/groonga/en/html/reference.html +59 -55
  146. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  147. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  148. data/vendor/local/share/doc/groonga/en/html/spec/search.html +11 -11
  149. data/vendor/local/share/doc/groonga/en/html/spec.html +11 -11
  150. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +7 -7
  151. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +7 -7
  152. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +7 -7
  153. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +7 -7
  154. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +7 -7
  155. data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -12
  156. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  157. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +11 -11
  158. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +23 -23
  159. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -10
  160. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -10
  161. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +124 -164
  162. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -10
  163. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -10
  164. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -10
  165. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +14 -14
  166. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -10
  167. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +11 -10
  168. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -10
  169. data/vendor/local/share/doc/groonga/en/html/tutorial.html +26 -26
  170. data/vendor/local/share/doc/groonga/en/html/type.html +31 -31
  171. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  172. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +42 -32
  173. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/delete.txt +5 -1
  174. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/table_create.txt +5 -2
  175. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +4 -3
  176. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +8 -6
  177. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +42 -3
  178. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_in_circle.txt +26 -1
  179. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -2
  180. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +102 -27
  181. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +10 -10
  182. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +130 -21
  183. data/vendor/local/share/doc/groonga/ja/html/_sources/output.txt +164 -0
  184. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  185. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +0 -5
  186. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -4
  187. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -3
  188. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +2 -1
  189. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +95 -116
  190. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +1 -4
  191. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +1 -4
  192. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -0
  193. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +1 -2
  194. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -0
  195. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -0
  196. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +2 -2
  197. data/vendor/local/share/doc/groonga/ja/html/_sources/type.txt +3 -3
  198. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +13 -1
  199. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +5 -5
  200. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +11 -7
  201. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  202. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +55 -47
  203. data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
  204. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
  205. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
  206. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
  207. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
  208. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
  209. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
  210. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
  211. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
  212. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +38 -35
  213. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
  214. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
  215. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
  216. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
  217. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
  218. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
  219. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
  220. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
  221. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
  222. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +36 -36
  223. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +38 -36
  224. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
  225. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
  226. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
  227. data/vendor/local/share/doc/groonga/ja/html/commands.html +41 -41
  228. data/vendor/local/share/doc/groonga/ja/html/community.html +10 -8
  229. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
  230. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
  231. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
  232. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
  233. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
  234. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
  235. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  236. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
  237. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
  238. data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
  239. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +7 -7
  240. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +7 -7
  241. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +7 -7
  242. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +12 -12
  243. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +7 -7
  244. data/vendor/local/share/doc/groonga/ja/html/executables.html +7 -7
  245. data/vendor/local/share/doc/groonga/ja/html/expr.html +25 -25
  246. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
  247. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +71 -36
  248. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +53 -33
  249. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
  250. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
  251. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
  252. data/vendor/local/share/doc/groonga/ja/html/functions.html +22 -22
  253. data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
  254. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -7
  255. data/vendor/local/share/doc/groonga/ja/html/index.html +84 -79
  256. data/vendor/local/share/doc/groonga/ja/html/install.html +92 -16
  257. data/vendor/local/share/doc/groonga/ja/html/limitations.html +13 -13
  258. data/vendor/local/share/doc/groonga/ja/html/log.html +21 -21
  259. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
  260. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
  261. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
  262. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
  263. data/vendor/local/share/doc/groonga/ja/html/news.html +202 -99
  264. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  265. data/vendor/local/share/doc/groonga/ja/html/output.html +287 -0
  266. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +21 -21
  267. data/vendor/local/share/doc/groonga/ja/html/reference.html +59 -55
  268. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  269. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  270. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
  271. data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
  272. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +7 -7
  273. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +7 -7
  274. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +7 -7
  275. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +7 -7
  276. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +7 -7
  277. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -11
  278. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  279. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
  280. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -20
  281. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
  282. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
  283. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +93 -115
  284. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
  285. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
  286. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
  287. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +8 -8
  288. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
  289. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -7
  290. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
  291. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -21
  292. data/vendor/local/share/doc/groonga/ja/html/type.html +31 -31
  293. data/vendor/local/share/doc/groonga/source/characteristic.txt +42 -32
  294. data/vendor/local/share/doc/groonga/source/commands/delete.txt +5 -1
  295. data/vendor/local/share/doc/groonga/source/commands/table_create.txt +5 -2
  296. data/vendor/local/share/doc/groonga/source/community.txt +4 -3
  297. data/vendor/local/share/doc/groonga/source/contribution.txt +8 -6
  298. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +8 -8
  299. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +4 -4
  300. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +4 -4
  301. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +3 -15
  302. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +2 -7
  303. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -7
  304. data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +42 -3
  305. data/vendor/local/share/doc/groonga/source/functions/geo_in_circle.txt +26 -1
  306. data/vendor/local/share/doc/groonga/source/index.txt +2 -2
  307. data/vendor/local/share/doc/groonga/source/install.txt +102 -27
  308. data/vendor/local/share/doc/groonga/source/limitations.txt +10 -10
  309. data/vendor/local/share/doc/groonga/source/news.txt +130 -21
  310. data/vendor/local/share/doc/groonga/source/output.txt +164 -0
  311. data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
  312. data/vendor/local/share/doc/groonga/source/suggest.txt +0 -5
  313. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +6 -4
  314. data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +1 -3
  315. data/vendor/local/share/doc/groonga/source/tutorial/index.txt +2 -1
  316. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +95 -116
  317. data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +1 -4
  318. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +1 -4
  319. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +3 -0
  320. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +1 -2
  321. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +5 -0
  322. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -0
  323. data/vendor/local/share/doc/groonga/source/tutorial.txt +2 -2
  324. data/vendor/local/share/doc/groonga/source/type.txt +3 -3
  325. data/vendor/local/share/groonga/examples/dictionary/html/js/dictionary.js +1 -0
  326. data/vendor/local/share/groonga/html/admin/index.html +40 -0
  327. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +6 -0
  328. data/vendor/local/share/groonga/html/admin/js/jquery.flot.license.txt +22 -0
  329. data/vendor/local/share/man/ja/man1/groonga.1 +560 -138
  330. data/vendor/local/share/man/man1/groonga.1 +637 -223
  331. metadata +887 -898
  332. data/ext/groonga/Makefile +0 -184
  333. data/ext/groonga/rb-grn-query.c +0 -260
  334. data/test/test-query.rb +0 -22
@@ -37,10 +37,13 @@ table_createコマンドは、使用しているデータベースに対して
37
37
  作成するテーブルの属性を示す数値か、パイプ('|')で組み合わせたシンボル名を指定します。(デフォルト値は0(="TABLE_HASH_KEY"))
38
38
 
39
39
  0, ``TABLE_HASH_KEY``
40
- 主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを高速に検索することができます。
40
+ 主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを非常に高速に検索することができます。
41
41
 
42
42
  1, ``TABLE_PAT_KEY``
43
- 主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用したテーブルでは、主キー値に完全一致するレコード、前方一致するレコード、および最長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、flagsの値に64を加えることによって、後方一致検索も可能となります。
43
+ 主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用したテーブルでは、主キー値に完全一致するレコードを検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、flagsの値に64を加えることによって、後方一致検索も可能となります。
44
+
45
+ 2, ``TABLE_DAT_KEY``
46
+ 主キー値をダブル配列で管理するテーブルを作成します。ダブル配列を使用したテーブルでは、主キー値に完全一致するレコードを高速に検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。
44
47
 
45
48
  3, ``TABLE_NO_KEY``
46
49
  主キーを持たないテーブルを作成します。各レコードはIDのみによって特定することができます。
@@ -13,7 +13,8 @@ Mailing List
13
13
 
14
14
  There are mailing lists for discussion about groonga.
15
15
 
16
- For Japanese developers
17
- `groonga-dev@lists.sourceforge.jp`_
16
+ For English speaker
17
+ `groonga-talk@lists.sourceforge.net <http://lists.sourceforge.net/mailman/listinfo/groonga-talk>`_
18
18
 
19
- .. _groonga-dev@lists.sourceforge.jp: http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
19
+ For Japanese speaker
20
+ `groonga-dev@lists.sourceforge.jp <http://lists.sourceforge.jp/mailman/listinfo/groonga-dev>`_
@@ -5,16 +5,18 @@
5
5
  How to contribute to groonga
6
6
  ============================
7
7
 
8
- We are welcome to you contribute the groonga project. There
9
- are many ways to contribute such as use, introduction, bug
10
- report, development and documentation.
8
+ We welcome your contributions to the groonga project. There are many ways
9
+ to contribute, such as using groonga, introduction to others, etc.
10
+ For example, if you find a bug when using groonga, you are welcome to
11
+ report the bug. Coding and documentation are also welcome for groonga and
12
+ its related projects.
11
13
 
12
14
  Use:
13
- Please read this document.
15
+ If you are interested in groonga, please read this document and try it.
14
16
  Introduction:
15
- Please talk your friends about groonga.
17
+ Please introduce groonga to your friends and colleagues.
16
18
  Bug report, development and documentation:
17
- We describe about them in this section.
19
+ This section describes the details.
18
20
 
19
21
  .. toctree::
20
22
  :maxdepth: 3
@@ -14,7 +14,7 @@ geo_distance - 指定した2点の距離を計算する
14
14
  ----
15
15
  ::
16
16
 
17
- geo_distance(point1, point2)
17
+ geo_distance(point1, point2[, approximate_type])
18
18
 
19
19
  説明
20
20
  ----
@@ -22,7 +22,10 @@ geo_distance - 指定した2点の距離を計算する
22
22
  groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。
23
23
 
24
24
  geo_distance() 関数は、point1に指定した座標とpoint2に指定した座標の間の距離(近似値)を求めます。
25
- geo_distance()の他に、距離計算アルゴリズムの異なる、geo_distance2()、geo_distance3()が使用できます。それぞれ、長方形近似、球面近似、ヒュベニの距離計算式によって距離を算出します。
25
+
26
+ ... note::
27
+
28
+ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_distance2()、geo_distance3()がありましたが、1.2.9から非推奨になりました。 ``geo_distance2()`` の代わりに ``geo_distance(point1, point2, "sphere")`` を、 ``geo_distance3()`` の代わりに ``geo_distance(point1, point2, "ellipsoid")`` を使ってください。
26
29
 
27
30
  引数
28
31
  ----
@@ -35,6 +38,30 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
35
38
 
36
39
  距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す文字列を指定できます。
37
40
 
41
+ ``approximate_type``
42
+
43
+ 距離を求めるために地形をどのように近似するかを指定します。指定できる値は以下の通りです。
44
+
45
+ ``"rectangle"``
46
+
47
+ 方形近似で近似します。単純な計算式で距離を求めることができるため高速ですが、極付近では誤差が大きくなります。
48
+
49
+ ``"rect"`` と省略して指定することもできます。
50
+
51
+ この近似方法がデフォルト値です。 ``approximate_type`` を省略した場合は方形近似になります。
52
+
53
+ ``"sphere"``
54
+
55
+ 球面近似で近似します。 ``"rectangle"`` よりも遅くなりますが、誤差は小さいです。
56
+
57
+ ``"sphr"`` と省略して指定することもできます。
58
+
59
+ ``"ellipsoid"``
60
+
61
+ 楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 ``"sphere"`` よりも遅くなりますが、誤差は小さくなります。
62
+
63
+ ``"ellip"`` と省略して指定することもできます。
64
+
38
65
 
39
66
  返値
40
67
  ----
@@ -46,7 +73,19 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
46
73
  ::
47
74
 
48
75
  geo_distance(pos, "150x150")
49
- 100
76
+ 100.0
77
+
78
+ # 方形近似を利用
79
+ geo_distance(pos, "150x150", "rectangle")
80
+ 100.0
81
+
82
+ # 球面近似を利用
83
+ geo_distance(pos, "150x150", "sphere")
84
+ 100.0
85
+
86
+ # 楕円体近似を利用
87
+ geo_distance(pos, "150x150", "ellipsoid")
88
+ 100.0
50
89
 
51
90
  .. rubric:: 脚注
52
91
 
@@ -14,7 +14,7 @@ geo_in_circle - 座標が円の範囲内に存在するかどうかを調べま
14
14
  ----
15
15
  ::
16
16
 
17
- geo_in_circle(point, center, radious_or_point)
17
+ geo_in_circle(point, center, radious_or_point[, approximate_type])
18
18
 
19
19
  説明
20
20
  ----
@@ -39,6 +39,31 @@ geo_in_circle() 関数は、pointに指定した座標が、centerに指定し
39
39
  円の半径を指定します。数値を指定した場合には、半径(単位:メートル)が指定されたものとみなします。
40
40
  Point型の値、あるいは座標を示す文字列を指定した場合は、円周上の点の一つの座標が指定されたものとみなします。
41
41
 
42
+ ``approximate_type``
43
+
44
+ 半径からの距離を求めるために地形をどのように近似するかを指定します。指定できる値は以下の通りです。
45
+
46
+ ``"rectangle"``
47
+
48
+ 方形近似で近似します。単純な計算式で距離を求めることができるため高速ですが、極付近では誤差が大きくなります。
49
+
50
+ ``"rect"`` と省略して指定することもできます。
51
+
52
+ この近似方法がデフォルト値です。 ``approximate_type`` を省略した場合は方形近似になります。
53
+
54
+ ``"sphere"``
55
+
56
+ 球面近似で近似します。 ``"rectangle"`` よりも遅くなりますが、誤差は小さいです。
57
+
58
+ ``"sphr"`` と省略して指定することもできます。
59
+
60
+ ``"ellipsoid"``
61
+
62
+ 楕円体近似で近似します。距離の計算にはヒュベニの距離計算式を用います。 ``"sphere"`` よりも遅くなりますが、誤差は小さくなります。
63
+
64
+ ``"ellip"`` と省略して指定することもできます。
65
+
66
+
42
67
  返値
43
68
  ----
44
69
 
@@ -5,8 +5,8 @@
5
5
  You can adapt this file completely to your liking, but it should at least
6
6
  contain the root `toctree` directive.
7
7
 
8
- groonga ドキュメント
9
- ====================
8
+ groonga documentation
9
+ =====================
10
10
 
11
11
  * :doc:`news`
12
12
 
@@ -5,9 +5,9 @@
5
5
  Install
6
6
  =======
7
7
 
8
- We will explain of how to install Groonga for each environments.
8
+ This section describes how to install groonga on each environment.
9
9
 
10
- We distribute packages for both 32-bit and 64-bit but we recommend that you should use 64-bit package for server. You should use 32-bit package just only for test or development. You will get no memory error with 32-bit package even if you just process medium size data.
10
+ We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.
11
11
 
12
12
 
13
13
  Debian GNU/Linux squeeze
@@ -24,6 +24,12 @@ Install::
24
24
  % sudo aptitude update
25
25
  % sudo aptitude -V -D -y install groonga
26
26
 
27
+ There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
28
+
29
+ Install groonga-munin-plugins package::
30
+
31
+ % sudo aptitude -V -D -y install groonga-munin-plugins
32
+
27
33
  Debian GNU/Linux wheezy
28
34
  -----------------------
29
35
 
@@ -38,6 +44,10 @@ Install::
38
44
  % sudo aptitude update
39
45
  % sudo aptitude -V -D -y install groonga
40
46
 
47
+ Install groonga-munin-plugins package::
48
+
49
+ % sudo aptitude -V -D -y install groonga-munin-plugins
50
+
41
51
  Debian GNU/Linux sid
42
52
  --------------------
43
53
 
@@ -52,13 +62,17 @@ Install::
52
62
  % sudo aptitude update
53
63
  % sudo aptitude -V -D -y install groonga
54
64
 
65
+ Install groonga-munin-plugins package::
66
+
67
+ % sudo aptitude -V -D -y install groonga-munin-plugins
68
+
55
69
  Ubuntu 10.04 LTS Lucid Lynx
56
70
  ---------------------------
57
71
 
58
72
  .. note::
59
73
 
60
- You should add universe section in the official Ubuntu
61
- repository. The following describes how to add it.
74
+ You'll need to enable the universe repository of Ubuntu to install groonga.
75
+ The following describes how to do it.
62
76
 
63
77
  /etc/apt/sources.list.d/groonga.list::
64
78
 
@@ -68,16 +82,20 @@ Ubuntu 10.04 LTS Lucid Lynx
68
82
  Install::
69
83
 
70
84
  % sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
71
- % sudo aptitude update
72
- % sudo aptitude -V -D -y install groonga
85
+ % sudo apt-get update
86
+ % sudo apt-get -y install groonga
87
+
88
+ Install groonga-munin-plugins package::
89
+
90
+ % sudo apt-get -y install groonga-munin-plugins
73
91
 
74
92
  Ubuntu 11.04 Natty Narwhal
75
93
  --------------------------
76
94
 
77
95
  .. note::
78
96
 
79
- You should add universe section in the official Ubuntu
80
- repository. The following describes how to add it.
97
+ You'll need to enable the universe repository of Ubuntu to install groonga.
98
+ The following describes how to do it.
81
99
 
82
100
  /etc/apt/sources.list.d/groonga.list::
83
101
 
@@ -87,16 +105,20 @@ Ubuntu 11.04 Natty Narwhal
87
105
  Install::
88
106
 
89
107
  % sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
90
- % sudo aptitude update
91
- % sudo aptitude -V -D -y install groonga
108
+ % sudo apt-get update
109
+ % sudo apt-get -y install groonga
110
+
111
+ Install groonga-munin-plugins package::
112
+
113
+ % sudo apt-get -y install groonga-munin-plugins
92
114
 
93
115
  Ubuntu 11.10 Oneiric Ocelot
94
116
  ---------------------------
95
117
 
96
118
  .. note::
97
119
 
98
- You should add universe section in the official Ubuntu
99
- repository. The following describes how to add it.
120
+ You'll need to enable the universe repository of Ubuntu to install groonga.
121
+ The following describes how to do it.
100
122
 
101
123
  /etc/apt/sources.list.d/groonga.list::
102
124
 
@@ -106,8 +128,12 @@ Ubuntu 11.10 Oneiric Ocelot
106
128
  Install::
107
129
 
108
130
  % sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
109
- % sudo aptitude update
110
- % sudo aptitude -V -D -y install groonga
131
+ % sudo apt-get update
132
+ % sudo apt-get -y install groonga
133
+
134
+ Install groonga-munin-plugins package::
135
+
136
+ % sudo apt-get -y install groonga-munin-plugins
111
137
 
112
138
  CentOS 5
113
139
  --------
@@ -118,6 +144,29 @@ Install::
118
144
  % sudo yum update
119
145
  % sudo yum install -y groonga
120
146
 
147
+ There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
148
+
149
+ .. note::
150
+
151
+ Groonga-munin-plugins package requires munin-node package that isn't included in the official CentOS repository. You need to enable `RPMforge <http://repoforge.org/>`_ repository or `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository to install it by yum.
152
+
153
+ Enable RPMforge repository on i386 environment::
154
+
155
+ % sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
156
+
157
+ Enable RPMforge repository on x86_64 environment::
158
+
159
+ % sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
160
+
161
+ Enable EPEL repository on any environment::
162
+
163
+ % sudo rpm -ivh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
164
+
165
+ Install groonga-munin-plugins package::
166
+
167
+ % sudo yum update
168
+ % sudo yum install -y groonga-munin-plugins
169
+
121
170
  CentOS 6
122
171
  --------
123
172
 
@@ -127,7 +176,30 @@ Install::
127
176
  % sudo yum update
128
177
  % sudo yum install -y groonga
129
178
 
130
- Fedora 15
179
+ There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
180
+
181
+ .. note::
182
+
183
+ Groonga-munin-plugins package requires munin-node package that isn't included in the official CentOS repository. You need to enable `RPMforge <http://repoforge.org/>`_ repository or `EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository to install it by yum.
184
+
185
+ Enable RPMforge repository on i686 environment::
186
+
187
+ % sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
188
+
189
+ Enable RPMforge repository on x86_64 environment::
190
+
191
+ % sudo rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
192
+
193
+ Enable EPEL repository on any environment::
194
+
195
+ % sudo rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
196
+
197
+ Install groonga-munin-plugins package::
198
+
199
+ % sudo yum update
200
+ % sudo yum install -y groonga-munin-plugins
201
+
202
+ Fedora 16
131
203
  ---------
132
204
 
133
205
  Install::
@@ -136,6 +208,12 @@ Install::
136
208
  % sudo yum update
137
209
  % sudo yum install -y groonga
138
210
 
211
+ There is a package that provides `Munin <http://munin-monitoring.org/>`_ plugins. If you want to monitor groonga status by Munin, please install groonga-munin-plugins package.
212
+
213
+ Install groonga-munin-plugins package::
214
+
215
+ % sudo yum install -y groonga-munin-plugins
216
+
139
217
  Mac OS X (MacPorts)
140
218
  -------------------
141
219
 
@@ -153,31 +231,28 @@ Install::
153
231
  Windows (Installer)
154
232
  -------------------
155
233
 
156
- You just download installer (.exe file) from
234
+ You just download an installer (.exe file) from
157
235
  `packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
158
236
  and execute it.
159
237
 
160
238
  Windows (zip)
161
239
  -------------
162
240
 
163
- You just download zip-file from
241
+ You just download a zip file from
164
242
  `packages.groonga.org/windows/ <http://packages.groonga.org/windows/groonga/>`_
165
243
  and extract it.
166
244
 
167
245
  Others
168
246
  ------
169
247
 
170
- If you will use indexes of tokenizing of each morpheme for
171
- full-text search, you should install `MeCab <http://mecab.sourceforge.net/>`_
172
- before you install groonga.
248
+ If you want to use a morphological analyzer for tokenization in full-text indexing, please install `MeCab <http://mecab.sourceforge.net/>`_ before installing groonga.
173
249
 
174
- After, you should download tar.gz-file from
175
- `packages.groonga.org/source/ <http://packages.groonga.org/source/groonga/>`_
176
- for installing groonga. You should extract this file in
177
- place to install, and run commands below-mentioned. ::
250
+ Then, download a tar.gz file from `packages.groonga.org/source/ <http://packages.groonga.org/source/groonga/>`_ and extract it. After that, please run the following command to install groonga.
251
+
252
+ Install::
178
253
 
179
254
  ./configure --prefix=/usr --localstatedir=/var && make && sudo make install
180
255
 
181
- The "prefix" option is the paramater for specified place to install.
182
- If you won't specify the option, "/usr/local" is specified.
183
- Please specify "/usr" for this option if you don't know environment variables(LD_LIBRARY_PATH and so on) well.
256
+ The "prefix" option specifies the path to install groonga. If you don't specify the install path, "/usr/local" is used. Please specify "/usr" if you are not familiar with environment variables such as LD_LIBRARY_PATH.
257
+
258
+ There are some `Munin <http://munin-monitoring.org/>`_ plugins in groonga package. You need to pass `--with-munin-plugins` option to install them.
@@ -2,18 +2,18 @@
2
2
 
3
3
  .. highlightlang:: none
4
4
 
5
- 制限事項
6
- ========
5
+ Limitations
6
+ ===========
7
7
 
8
- groongaにはいくつか制限事項があります。
8
+ Groonga has some limitations.
9
9
 
10
- インデックス上限値
11
- ------------------
10
+ Limitations of indexing
11
+ -----------------------
12
12
 
13
- 1つのインデックスにおける論理上の上限値は以下のとおりです。
13
+ A full-text index has the following limitations.
14
14
 
15
- * 最大レコード数: 268,435,455 (約2億6千万)
16
- * 最大語彙数: 268,435,455 (約2億6千万)
17
- * 最大インデックスサイズ: 256GByte
15
+ * The maximum number of records: 268,435,455 (more than 26 million)
16
+ * The maximum number of distinct terms: 268,435,455 (more than 26 million)
17
+ * The maximum index size: 256GBytes
18
18
 
19
- (実際には他の諸条件の制約により上記の値まで到達しない場合もあります)
19
+ Keep in mind that these limitations may vary depending on conditions.
@@ -5,52 +5,161 @@
5
5
  News
6
6
  ====
7
7
 
8
+ .. _release-1-3-0:
9
+
10
+ Release 1.3.0 - 2012/01/29
11
+ --------------------------
12
+
13
+ Improvements
14
+ ^^^^^^^^^^^^
15
+
16
+ * Supported dynamic DB key table change by
17
+ GRN_DB_KEY=pat or GRN_DB_KEY=dat environment variable value.
18
+ * Added ``--with-default-db-key`` configure option that
19
+ specifies the default DB key table.
20
+ * Supported "" value for geo point data types. It's interpreted as "0x0".
21
+ * Added column name to cast error message.
22
+ * Inhibit file information for stdin on load error.
23
+ * Enabled write-strings warnings and suppress those
24
+ warnings. [Suggested by montywi]
25
+ * Marked MessagePack output format as supported. [#1215]
26
+ * Added ``const`` to ``void *`` of ``*_set_value()``.
27
+ * Enabled warning flags on C and C++.
28
+ * Supported ``--with-libevent`` without value configure option.
29
+ * ``grn_table_get()`` supported grn_db. [#1242]
30
+ * [rpm] Removed needless groogna-munin-plugins dependency
31
+ from groonga-server. [#1251] [Suggested by Masaharu IWAI]
32
+ * [rpm] Removed needless groogna-doc dependency
33
+ from groonga. [#1251] [Suggested by Masaharu IWAI]
34
+ * [dat] Supported repair by ``grn_dat_repair()``.
35
+ * ``grn_table_at()`` supported grn_db.
36
+ * [suggest] Removed unstable mark.
37
+ * [suggest][complete] Supported normalized value search in prefix-search.
38
+ * Added experimental offline index build. It's disabled by
39
+ default for now. You can enable it by
40
+ USE_OFFLINE_INDEXER=yes environment variable.
41
+ * Added internal API ``grn_obj_path_by_id()`` for mroonga.
42
+ * [suggest][httpd] Passed unknown parameters to groonga.
43
+ * [output][xml] Added a newline before ``</RESULT>`` for readability.
44
+ * [doc][output] Added documentation about output format type.
45
+ * Added ``table_rename``. [#1234]
46
+ * Added ``column_rename``. [#1234]
47
+
48
+ Thanks
49
+ ^^^^^^
50
+
51
+ * montywi
52
+ * Masaharu IWAI
53
+
54
+ .. _release-1-2-9:
55
+
56
+ Release 1.2.9 - 2011/12/29
57
+ --------------------------
58
+
59
+ Improvements
60
+ ^^^^^^^^^^^^
61
+
62
+ * Supported Fedora 16.
63
+ * Dropped Fedora 15 support.
64
+ * [groonga] Improved the default server ID address to work
65
+ on unresolved host name environment. [Reported by @uzulla]
66
+ * Supported MAP_HUGETLB.
67
+ * [admin] Supported throughput chart.
68
+ * Stopped adding nul character in ``grn_itoh()``. [#1194]
69
+ [Reported by SHIDARA Yoji]
70
+ * Added ``grn_obj_get_values()``.
71
+ * Added ``grn_obj_delete_by_id()``.
72
+ * Supported string vector column for query expansion. [#1216]
73
+ * Added ``--filter`` option to :doc:`/commands/delete` to delete
74
+ many record at once. [#1225]
75
+ * Supported approximate type customization for
76
+ :doc:`/functions/geo_in_circle` and :doc:`/functions/geo_distance`. [#1226]
77
+ * Made ``geo_distance2()`` and ``geo_distance3()`` are deprecated.
78
+ * Changed to use ``null`` instead of ``""`` for empty geo
79
+ point value in JSON output.
80
+ * Almost supported MessagePack output. [#1215] [Worked by SHIDARA Yoji]
81
+ * Added missing newlines after drilldown result tags in XML output.
82
+ * Supported truncate for grn_dat.
83
+ * Supported longest common prefix search by grn_dat.
84
+
85
+ Fixes
86
+ ^^^^^
87
+
88
+ * [windows] Fixed inverted map type.
89
+ * Fixed -Wno- compiler flag detection. [Patch by Arnaud Fontaine]
90
+ * Fixed a problem that ``groonga --version`` reports wrongly
91
+ about MeCab. [#1209] [Patch by SHIDARA Yoji]
92
+ * Added missing lock into ``grn_obj_remove()``.
93
+ * Fixed Content-Type on error. [#1220] [Patch by SHIDARA Yoji]
94
+ * Fixed a problem that deleting SIS (Semi Infinite String)
95
+ may keep a garbage.
96
+
97
+ Thanks
98
+ ^^^^^^
99
+
100
+ * @uzulla
101
+ * Arnaud Fontaine
102
+ * SHIDARA Yoji
103
+
8
104
  .. _release-1-2-8:
9
105
 
10
106
  Release 1.2.8 - 2011/11/29
11
107
  --------------------------
12
108
 
109
+ Object, table and column renamings are supported! These
110
+ features require database re-creation. You can re-create your
111
+ database by the following command::
112
+
113
+ % groonga YOUR_DB dump > db.dump
114
+ % groonga -n YOUR_NEW_DB < db.dump
115
+
116
+ .. note::
117
+
118
+ Groonga 1.2.8 can open databases created by groonga 1.2.7
119
+ or earlier. But groonga 1.2.7 or earlier can't open
120
+ databases created by groonga 1.2.8 or later.
121
+
13
122
  Improvements
14
123
  ^^^^^^^^^^^^
15
124
 
16
- * [grntest] Removed max number of bytes in a line limitation.
17
- * [grntest] Added `--pid-path` option.
18
- * Fixed a crash bug when accessing zlib/lzo compressed
19
- column. Note that compressed column access will leak memories. To
20
- resolve this, we need to improve API. We will do it in the feature.
21
- [GtiHub#5][GtiHub#6] [Reported by Takayuki Yamaguchi]
22
- * Fix a bug that needless column values are cleared by delete.
125
+ * [grntest] Removed the upper limit to the number of bytes in one line.
126
+ * [grntest] Added ``--pid-path`` option.
23
127
  * [deb] Enabled experimental zlib and lzo support.
24
128
  * [rpm] Enabled experimental zlib and lzo support.
25
- * Supported truncation. [#892]
129
+ * Supports truncation. [#892]
26
130
  * Enabled grn_dat that is a read lock free double array implementation.
27
131
  * [pkg-config] Added groonga_version variable to groonga.pc.
28
- * Re-supported `--disable-static`. [groonga-dev,00612]
132
+ * Re-supported ``--disable-static``. [groonga-dev,00612]
29
133
  [Suggested by Kenichi Aramaki]
30
134
  * [munin] Stopped to install Munin plugins by default.
31
135
  * Stopped to install RedHat platform related files by default.
32
- * Supported object renaming. [#1167]
136
+ * Supports object renaming. This requires DB re-creation. [#1167]
33
137
  * [munin] Added a Munin plugin that measures throughput. [#1171]
34
138
  * [geo] Improved geo_in_rectangle performance. The new
35
139
  implementation will be 2x faster than the old
36
140
  implementation in many cases. [#1173]
37
141
  * [macports] Moved groonga's MacPorts to the official
38
142
  repository. [Imported by Hiroshi Umemoto]
39
- * [geo] Changed geo literal conversion from in degree to in
40
- msec algorithm to round-off from truncation.
41
- * Supported a table as defrag target. It means that variable
42
- size value columns in the table are defrag targets. [#1175]
143
+ * [geo] Changed the geo literal degree-to-msec conversion algorithm
144
+ to round-off from truncation.
145
+ * Supports a table defrag. It defrags variable size value columns in
146
+ the table. [#1175]
43
147
  * Removed associated path on remove. [#1180]
44
- * [deb] Supported i386.
45
- * [rpm] Supported i386.
46
- * [windows] Supported x86.
148
+ * [deb] Supports i386.
149
+ * [rpm] Supports i386.
150
+ * [windows] Supports x86.
47
151
 
48
152
  Fixes
49
153
  ^^^^^
50
154
 
51
- * Fixed a bug that wrong index is used in sort. [#766]
155
+ * Fixed a bug that groonga crashes when accessing a zlib/lzo compressed
156
+ column. Note that a compressed column access causes a memory leak. To
157
+ resolve this, we need to improve API. We will do it in the future.
158
+ [GtiHub#5][GtiHub#6] [Reported by Takayuki Yamaguchi]
159
+ * Fixed a bug that unrelated column values are cleared in deletion.
160
+ * Fixed a bug that a wrong index is used in sorting. [#766]
52
161
  [Reported by Horikoshi Yuki]
53
- * [libedit] Fixed a bug that needed initialization is
162
+ * [libedit] Fixed a bug that necessary initialization is
54
163
  omitted. [GitHub#7] [Patch by SHIDARA Yoji]
55
164
  * [doc] Fixed a typo in documentation. [GitHub#8] [Patch by zunda]
56
165
 
@@ -162,7 +271,7 @@ Release 1.2.4 - 2011/07/29
162
271
  Improvements
163
272
  ^^^^^^^^^^^^
164
273
 
165
- * Re-supported *BSD. (Reported by OBATA Akio)
274
+ * Re-supported ``*BSD``. (Reported by OBATA Akio)
166
275
  * Improved sed related portability. (Suggested by OBATA Akio)
167
276
  * Re-supported Visual C++ 2008.
168
277
  * Supported :doc:`/commands/check` for hash table.
@@ -176,7 +285,7 @@ Fixes
176
285
  ^^^^^
177
286
 
178
287
  * Fixed broken libedit support. (Reported by Daiki Ueno)
179
- * Fixed source URL in *.spec (Reported by Daiki Ueno)
288
+ * Fixed source URL in ``*.spec`` (Reported by Daiki Ueno)
180
289
  * Fixed patricia trie cursor returns wrong records.
181
290
  * Added missing database lock clear for grn_obj_clear_lock()
182
291
  for database.