rroonga 1.0.1-x86-mingw32 → 1.1.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. data/NEWS.ja.rdoc +146 -0
  2. data/NEWS.rdoc +146 -0
  3. data/README.ja.rdoc +7 -5
  4. data/README.rdoc +6 -5
  5. data/Rakefile +170 -18
  6. data/benchmark/create-wikipedia-database.rb +212 -0
  7. data/benchmark/read-write-many-small-items.rb +0 -0
  8. data/benchmark/repeat-load.rb +213 -0
  9. data/benchmark/select.rb +1052 -0
  10. data/benchmark/write-many-small-items.rb +0 -0
  11. data/example/bookmark.rb +94 -91
  12. data/example/index-html.rb +0 -0
  13. data/ext/groonga/extconf.rb +6 -6
  14. data/ext/groonga/rb-grn-accessor.c +1 -1
  15. data/ext/groonga/rb-grn-array.c +1 -1
  16. data/ext/groonga/rb-grn-column.c +201 -10
  17. data/ext/groonga/rb-grn-context.c +119 -20
  18. data/ext/groonga/rb-grn-database.c +27 -4
  19. data/ext/groonga/rb-grn-exception.c +15 -0
  20. data/ext/groonga/rb-grn-expression.c +14 -10
  21. data/ext/groonga/rb-grn-hash.c +4 -4
  22. data/ext/groonga/rb-grn-index-column.c +10 -6
  23. data/ext/groonga/rb-grn-logger.c +2 -2
  24. data/ext/groonga/rb-grn-object.c +33 -29
  25. data/ext/groonga/{rb-grn-operation.c → rb-grn-operator.c} +89 -87
  26. data/ext/groonga/rb-grn-patricia-trie.c +12 -12
  27. data/ext/groonga/rb-grn-plugin.c +134 -0
  28. data/ext/groonga/rb-grn-procedure.c +1 -1
  29. data/ext/groonga/rb-grn-query.c +7 -7
  30. data/ext/groonga/rb-grn-snippet.c +4 -3
  31. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  32. data/ext/groonga/rb-grn-table-key-support.c +27 -24
  33. data/ext/groonga/rb-grn-table.c +119 -58
  34. data/ext/groonga/rb-grn-type.c +1 -1
  35. data/ext/groonga/rb-grn-utils.c +20 -19
  36. data/ext/groonga/rb-grn-variable.c +1 -1
  37. data/ext/groonga/rb-grn-view-accessor.c +1 -1
  38. data/ext/groonga/rb-grn-view.c +1 -1
  39. data/ext/groonga/rb-grn.h +26 -20
  40. data/ext/groonga/rb-groonga.c +6 -4
  41. data/extconf.rb +10 -4
  42. data/html/developer.html +8 -2
  43. data/html/favicon.ico +0 -0
  44. data/html/favicon.svg +591 -0
  45. data/html/index.html +78 -12
  46. data/html/logo.svg +612 -0
  47. data/html/ranguba.css +92 -7
  48. data/html/readme.svg +256 -0
  49. data/lib/groonga.so +0 -0
  50. data/lib/groonga/context.rb +52 -1
  51. data/lib/groonga/expression-builder.rb +42 -6
  52. data/lib/groonga/record.rb +84 -15
  53. data/lib/groonga/schema.rb +524 -122
  54. data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.ja.rdoc +326 -0
  55. data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.rdoc +328 -0
  56. data/pkg/rroonga-1.1.0-x86-mingw32/README.ja.rdoc +68 -0
  57. data/pkg/rroonga-1.1.0-x86-mingw32/README.rdoc +68 -0
  58. data/pkg/rroonga-1.1.0-x86-mingw32/text/expression.rdoc +285 -0
  59. data/{text/TUTORIAL.ja.rdoc → pkg/rroonga-1.1.0-x86-mingw32/text/tutorial.ja.rdoc} +165 -126
  60. data/pkg/rroonga-1.1.0/NEWS.ja.rdoc +326 -0
  61. data/pkg/rroonga-1.1.0/NEWS.rdoc +328 -0
  62. data/pkg/rroonga-1.1.0/README.ja.rdoc +68 -0
  63. data/pkg/rroonga-1.1.0/README.rdoc +68 -0
  64. data/pkg/rroonga-1.1.0/text/expression.rdoc +285 -0
  65. data/pkg/rroonga-1.1.0/text/tutorial.ja.rdoc +433 -0
  66. data/rroonga-build.rb +3 -3
  67. data/test/run-test.rb +1 -1
  68. data/test/test-array.rb +4 -0
  69. data/test/test-column.rb +31 -1
  70. data/test/test-context-select.rb +45 -14
  71. data/test/test-context.rb +44 -0
  72. data/test/test-database.rb +21 -1
  73. data/test/test-expression-builder.rb +46 -5
  74. data/test/test-fix-size-column.rb +12 -0
  75. data/test/test-hash.rb +10 -4
  76. data/test/test-index-column.rb +33 -0
  77. data/test/test-patricia-trie.rb +6 -0
  78. data/test/test-plugin.rb +29 -0
  79. data/test/test-record.rb +84 -1
  80. data/test/test-remote.rb +3 -2
  81. data/test/test-schema-create-table.rb +32 -2
  82. data/test/test-schema-type.rb +167 -0
  83. data/test/test-schema.rb +159 -12
  84. data/test/test-table-select-weight.rb +20 -1
  85. data/test/test-table-select.rb +12 -0
  86. data/test/test-table.rb +65 -0
  87. data/test/test-variable-size-column.rb +12 -0
  88. data/text/tutorial.ja.rdoc +433 -0
  89. data/vendor/local/bin/grntest.exe +0 -0
  90. data/vendor/local/bin/groonga.exe +0 -0
  91. data/vendor/local/bin/libgroonga-0.dll +0 -0
  92. data/vendor/local/etc/groonga/init.d/redhat/groonga +1 -9
  93. data/vendor/local/include/groonga/groonga.h +156 -6
  94. data/vendor/local/include/groonga/groonga/plugin.h +44 -0
  95. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  96. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  97. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  98. data/vendor/local/lib/groonga/{modules → plugins}/suggest/suggest.la +2 -2
  99. data/vendor/local/lib/libgroonga.a +0 -0
  100. data/vendor/local/lib/libgroonga.dll.a +0 -0
  101. data/vendor/local/lib/libgroonga.la +1 -1
  102. data/vendor/local/lib/pkgconfig/groonga.pc +3 -2
  103. data/vendor/local/share/groonga/examples/dictionary/edict/edict_import.sh +14 -3
  104. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro_import.sh +3 -1
  105. data/vendor/local/share/groonga/examples/dictionary/gene95/gene_import.sh +19 -3
  106. data/vendor/local/share/groonga/munin/plugins/groonga_cpu_load +0 -0
  107. data/vendor/local/share/groonga/munin/plugins/groonga_cpu_time +0 -0
  108. data/vendor/local/share/groonga/munin/plugins/groonga_disk +0 -0
  109. data/vendor/local/share/groonga/munin/plugins/groonga_memory +0 -0
  110. data/vendor/local/share/groonga/munin/plugins/groonga_n_records +0 -0
  111. data/vendor/local/share/groonga/munin/plugins/groonga_query_performance +0 -0
  112. data/vendor/local/share/groonga/munin/plugins/groonga_status +0 -0
  113. metadata +91 -341
  114. data/html/favicon.xcf +0 -0
  115. data/html/logo.xcf +0 -0
  116. data/lib/1.8/groonga.so +0 -0
  117. data/lib/1.9/groonga.so +0 -0
  118. data/license/GPL +0 -340
  119. data/license/RUBY +0 -59
  120. data/vendor/local/lib/groonga/modules/suggest/suggest.a +0 -0
  121. data/vendor/local/lib/groonga/modules/suggest/suggest.dll +0 -0
  122. data/vendor/local/lib/groonga/modules/suggest/suggest.dll.a +0 -0
  123. data/vendor/local/share/groonga/doc/ja/html/.buildinfo +0 -4
  124. data/vendor/local/share/groonga/doc/ja/html/_sources/characteristic.txt +0 -56
  125. data/vendor/local/share/groonga/doc/ja/html/_sources/commands.txt +0 -10
  126. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/cache_limit.txt +0 -52
  127. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/check.txt +0 -164
  128. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/clearlock.txt +0 -61
  129. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_create.txt +0 -93
  130. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_list.txt +0 -97
  131. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_remove.txt +0 -58
  132. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/define_selector.txt +0 -114
  133. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/defrag.txt +0 -57
  134. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/delete.txt +0 -68
  135. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/dump.txt +0 -62
  136. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/load.txt +0 -98
  137. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_level.txt +0 -65
  138. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_put.txt +0 -69
  139. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_reopen.txt +0 -66
  140. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/quit.txt +0 -38
  141. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/select.txt +0 -247
  142. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/shutdown.txt +0 -38
  143. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/status.txt +0 -59
  144. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/suggest.txt +0 -79
  145. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_create.txt +0 -111
  146. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_list.txt +0 -87
  147. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_remove.txt +0 -50
  148. data/vendor/local/share/groonga/doc/ja/html/_sources/commands/view_add.txt +0 -53
  149. data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/add.txt +0 -102
  150. data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/get.txt +0 -78
  151. data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/set.txt +0 -103
  152. data/vendor/local/share/groonga/doc/ja/html/_sources/developer.txt +0 -10
  153. data/vendor/local/share/groonga/doc/ja/html/_sources/developer/com.txt +0 -18
  154. data/vendor/local/share/groonga/doc/ja/html/_sources/developer/document.txt +0 -38
  155. data/vendor/local/share/groonga/doc/ja/html/_sources/developer/query.txt +0 -212
  156. data/vendor/local/share/groonga/doc/ja/html/_sources/developer/test.txt +0 -114
  157. data/vendor/local/share/groonga/doc/ja/html/_sources/execfile.txt +0 -226
  158. data/vendor/local/share/groonga/doc/ja/html/_sources/expr.txt +0 -43
  159. data/vendor/local/share/groonga/doc/ja/html/_sources/functions.txt +0 -10
  160. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/edit_distance.txt +0 -48
  161. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_distance.txt +0 -51
  162. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_circle.txt +0 -54
  163. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_rectangle.txt +0 -55
  164. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/now.txt +0 -34
  165. data/vendor/local/share/groonga/doc/ja/html/_sources/functions/rand.txt +0 -41
  166. data/vendor/local/share/groonga/doc/ja/html/_sources/grnslap.txt +0 -64
  167. data/vendor/local/share/groonga/doc/ja/html/_sources/grntest.txt +0 -259
  168. data/vendor/local/share/groonga/doc/ja/html/_sources/http.txt +0 -52
  169. data/vendor/local/share/groonga/doc/ja/html/_sources/index.txt +0 -21
  170. data/vendor/local/share/groonga/doc/ja/html/_sources/install.txt +0 -114
  171. data/vendor/local/share/groonga/doc/ja/html/_sources/news.txt +0 -199
  172. data/vendor/local/share/groonga/doc/ja/html/_sources/process.txt +0 -12
  173. data/vendor/local/share/groonga/doc/ja/html/_sources/pseudo_column.txt +0 -38
  174. data/vendor/local/share/groonga/doc/ja/html/_sources/reference.txt +0 -14
  175. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial.txt +0 -10
  176. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial01.txt +0 -293
  177. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial02.txt +0 -100
  178. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial03.txt +0 -72
  179. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial04.txt +0 -111
  180. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial05.txt +0 -65
  181. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial06.txt +0 -91
  182. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial07.txt +0 -92
  183. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial08.txt +0 -53
  184. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial09.txt +0 -9
  185. data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial10.txt +0 -486
  186. data/vendor/local/share/groonga/doc/ja/html/_sources/type.txt +0 -118
  187. data/vendor/local/share/groonga/doc/ja/html/_static/basic.css +0 -509
  188. data/vendor/local/share/groonga/doc/ja/html/_static/default.css +0 -277
  189. data/vendor/local/share/groonga/doc/ja/html/_static/doctools.js +0 -247
  190. data/vendor/local/share/groonga/doc/ja/html/_static/file.png +0 -0
  191. data/vendor/local/share/groonga/doc/ja/html/_static/jquery.js +0 -6240
  192. data/vendor/local/share/groonga/doc/ja/html/_static/minus.png +0 -0
  193. data/vendor/local/share/groonga/doc/ja/html/_static/plus.png +0 -0
  194. data/vendor/local/share/groonga/doc/ja/html/_static/pygments.css +0 -61
  195. data/vendor/local/share/groonga/doc/ja/html/_static/searchtools.js +0 -518
  196. data/vendor/local/share/groonga/doc/ja/html/_static/sidebar.js +0 -147
  197. data/vendor/local/share/groonga/doc/ja/html/_static/underscore.js +0 -16
  198. data/vendor/local/share/groonga/doc/ja/html/characteristic.html +0 -162
  199. data/vendor/local/share/groonga/doc/ja/html/commands.html +0 -139
  200. data/vendor/local/share/groonga/doc/ja/html/commands/cache_limit.html +0 -173
  201. data/vendor/local/share/groonga/doc/ja/html/commands/check.html +0 -285
  202. data/vendor/local/share/groonga/doc/ja/html/commands/clearlock.html +0 -180
  203. data/vendor/local/share/groonga/doc/ja/html/commands/column_create.html +0 -210
  204. data/vendor/local/share/groonga/doc/ja/html/commands/column_list.html +0 -220
  205. data/vendor/local/share/groonga/doc/ja/html/commands/column_remove.html +0 -183
  206. data/vendor/local/share/groonga/doc/ja/html/commands/define_selector.html +0 -221
  207. data/vendor/local/share/groonga/doc/ja/html/commands/defrag.html +0 -177
  208. data/vendor/local/share/groonga/doc/ja/html/commands/delete.html +0 -182
  209. data/vendor/local/share/groonga/doc/ja/html/commands/dump.html +0 -177
  210. data/vendor/local/share/groonga/doc/ja/html/commands/load.html +0 -208
  211. data/vendor/local/share/groonga/doc/ja/html/commands/log_level.html +0 -187
  212. data/vendor/local/share/groonga/doc/ja/html/commands/log_put.html +0 -190
  213. data/vendor/local/share/groonga/doc/ja/html/commands/log_reopen.html +0 -188
  214. data/vendor/local/share/groonga/doc/ja/html/commands/quit.html +0 -156
  215. data/vendor/local/share/groonga/doc/ja/html/commands/select.html +0 -331
  216. data/vendor/local/share/groonga/doc/ja/html/commands/shutdown.html +0 -156
  217. data/vendor/local/share/groonga/doc/ja/html/commands/status.html +0 -179
  218. data/vendor/local/share/groonga/doc/ja/html/commands/suggest.html +0 -191
  219. data/vendor/local/share/groonga/doc/ja/html/commands/table_create.html +0 -222
  220. data/vendor/local/share/groonga/doc/ja/html/commands/table_list.html +0 -202
  221. data/vendor/local/share/groonga/doc/ja/html/commands/table_remove.html +0 -173
  222. data/vendor/local/share/groonga/doc/ja/html/commands/view_add.html +0 -175
  223. data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/add.html +0 -180
  224. data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/get.html +0 -161
  225. data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/set.html +0 -182
  226. data/vendor/local/share/groonga/doc/ja/html/developer.html +0 -118
  227. data/vendor/local/share/groonga/doc/ja/html/developer/com.html +0 -136
  228. data/vendor/local/share/groonga/doc/ja/html/developer/document.html +0 -159
  229. data/vendor/local/share/groonga/doc/ja/html/developer/query.html +0 -336
  230. data/vendor/local/share/groonga/doc/ja/html/developer/test.html +0 -220
  231. data/vendor/local/share/groonga/doc/ja/html/execfile.html +0 -370
  232. data/vendor/local/share/groonga/doc/ja/html/expr.html +0 -157
  233. data/vendor/local/share/groonga/doc/ja/html/functions.html +0 -122
  234. data/vendor/local/share/groonga/doc/ja/html/functions/edit_distance.html +0 -162
  235. data/vendor/local/share/groonga/doc/ja/html/functions/geo_distance.html +0 -170
  236. data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_circle.html +0 -173
  237. data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_rectangle.html +0 -172
  238. data/vendor/local/share/groonga/doc/ja/html/functions/now.html +0 -152
  239. data/vendor/local/share/groonga/doc/ja/html/functions/rand.html +0 -159
  240. data/vendor/local/share/groonga/doc/ja/html/genindex.html +0 -227
  241. data/vendor/local/share/groonga/doc/ja/html/grnslap.html +0 -183
  242. data/vendor/local/share/groonga/doc/ja/html/grntest.html +0 -368
  243. data/vendor/local/share/groonga/doc/ja/html/http.html +0 -163
  244. data/vendor/local/share/groonga/doc/ja/html/index.html +0 -291
  245. data/vendor/local/share/groonga/doc/ja/html/install.html +0 -228
  246. data/vendor/local/share/groonga/doc/ja/html/news.html +0 -310
  247. data/vendor/local/share/groonga/doc/ja/html/objects.inv +0 -0
  248. data/vendor/local/share/groonga/doc/ja/html/process.html +0 -120
  249. data/vendor/local/share/groonga/doc/ja/html/pseudo_column.html +0 -147
  250. data/vendor/local/share/groonga/doc/ja/html/reference.html +0 -174
  251. data/vendor/local/share/groonga/doc/ja/html/search.html +0 -96
  252. data/vendor/local/share/groonga/doc/ja/html/searchindex.js +0 -1
  253. data/vendor/local/share/groonga/doc/ja/html/tutorial.html +0 -172
  254. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial01.html +0 -388
  255. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial02.html +0 -214
  256. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial03.html +0 -183
  257. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial04.html +0 -212
  258. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial05.html +0 -169
  259. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial06.html +0 -209
  260. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial07.html +0 -212
  261. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial08.html +0 -139
  262. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial09.html +0 -114
  263. data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial10.html +0 -458
  264. data/vendor/local/share/groonga/doc/ja/html/type.html +0 -217
  265. data/vendor/local/share/groonga/doc/ja/source/__init__.py +0 -0
  266. data/vendor/local/share/groonga/doc/ja/source/characteristic.txt +0 -56
  267. data/vendor/local/share/groonga/doc/ja/source/commands.txt +0 -10
  268. data/vendor/local/share/groonga/doc/ja/source/commands/cache_limit.txt +0 -52
  269. data/vendor/local/share/groonga/doc/ja/source/commands/check.txt +0 -164
  270. data/vendor/local/share/groonga/doc/ja/source/commands/clearlock.txt +0 -61
  271. data/vendor/local/share/groonga/doc/ja/source/commands/column_create.txt +0 -93
  272. data/vendor/local/share/groonga/doc/ja/source/commands/column_list.txt +0 -97
  273. data/vendor/local/share/groonga/doc/ja/source/commands/column_remove.txt +0 -58
  274. data/vendor/local/share/groonga/doc/ja/source/commands/define_selector.txt +0 -114
  275. data/vendor/local/share/groonga/doc/ja/source/commands/defrag.txt +0 -57
  276. data/vendor/local/share/groonga/doc/ja/source/commands/delete.txt +0 -68
  277. data/vendor/local/share/groonga/doc/ja/source/commands/dump.txt +0 -62
  278. data/vendor/local/share/groonga/doc/ja/source/commands/load.txt +0 -98
  279. data/vendor/local/share/groonga/doc/ja/source/commands/log_level.txt +0 -65
  280. data/vendor/local/share/groonga/doc/ja/source/commands/log_put.txt +0 -69
  281. data/vendor/local/share/groonga/doc/ja/source/commands/log_reopen.txt +0 -66
  282. data/vendor/local/share/groonga/doc/ja/source/commands/quit.txt +0 -38
  283. data/vendor/local/share/groonga/doc/ja/source/commands/select.txt +0 -247
  284. data/vendor/local/share/groonga/doc/ja/source/commands/shutdown.txt +0 -38
  285. data/vendor/local/share/groonga/doc/ja/source/commands/status.txt +0 -59
  286. data/vendor/local/share/groonga/doc/ja/source/commands/table_create.txt +0 -111
  287. data/vendor/local/share/groonga/doc/ja/source/commands/table_list.txt +0 -87
  288. data/vendor/local/share/groonga/doc/ja/source/commands/table_remove.txt +0 -50
  289. data/vendor/local/share/groonga/doc/ja/source/commands/view_add.txt +0 -53
  290. data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/add.txt +0 -102
  291. data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/get.txt +0 -78
  292. data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/set.txt +0 -103
  293. data/vendor/local/share/groonga/doc/ja/source/conf.py +0 -265
  294. data/vendor/local/share/groonga/doc/ja/source/developer.txt +0 -10
  295. data/vendor/local/share/groonga/doc/ja/source/developer/com.txt +0 -18
  296. data/vendor/local/share/groonga/doc/ja/source/developer/document.txt +0 -38
  297. data/vendor/local/share/groonga/doc/ja/source/developer/query.txt +0 -212
  298. data/vendor/local/share/groonga/doc/ja/source/developer/test.txt +0 -114
  299. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-1.log +0 -6
  300. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-10.log +0 -5
  301. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-11.log +0 -5
  302. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-12.log +0 -5
  303. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-13.log +0 -5
  304. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-14.log +0 -9
  305. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-15.log +0 -5
  306. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-16.log +0 -5
  307. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-17.log +0 -5
  308. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-2.log +0 -5
  309. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-3.log +0 -5
  310. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-4.log +0 -7
  311. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-5.log +0 -5
  312. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-6.log +0 -5
  313. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-7.log +0 -16
  314. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-8.log +0 -5
  315. data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-9.log +0 -5
  316. data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-1.log +0 -8
  317. data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-2.log +0 -6
  318. data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-3.log +0 -12
  319. data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-1.log +0 -18
  320. data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-2.log +0 -10
  321. data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-3.log +0 -10
  322. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-1.log +0 -5
  323. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-2.log +0 -7
  324. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-3.log +0 -7
  325. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-4.log +0 -13
  326. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-5.log +0 -5
  327. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-6.log +0 -5
  328. data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-7.log +0 -5
  329. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-1.log +0 -24
  330. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-2.log +0 -5
  331. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-3.log +0 -5
  332. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-4.log +0 -5
  333. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-5.log +0 -5
  334. data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-6.log +0 -5
  335. data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-1.log +0 -25
  336. data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-2.log +0 -9
  337. data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-3.log +0 -21
  338. data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-4.log +0 -7
  339. data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-5.log +0 -5
  340. data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-1.log +0 -22
  341. data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-2.log +0 -9
  342. data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-3.log +0 -20
  343. data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-4.log +0 -9
  344. data/vendor/local/share/groonga/doc/ja/source/example/tutorial08-1.log +0 -14
  345. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-1.log +0 -5
  346. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-10.log +0 -5
  347. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-2.log +0 -5
  348. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-3.log +0 -5
  349. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-4.log +0 -5
  350. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-5.log +0 -5
  351. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-6.log +0 -5
  352. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-7.log +0 -5
  353. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-8.log +0 -5
  354. data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-9.log +0 -5
  355. data/vendor/local/share/groonga/doc/ja/source/execfile.txt +0 -226
  356. data/vendor/local/share/groonga/doc/ja/source/expr.txt +0 -43
  357. data/vendor/local/share/groonga/doc/ja/source/functions.txt +0 -10
  358. data/vendor/local/share/groonga/doc/ja/source/functions/edit_distance.txt +0 -48
  359. data/vendor/local/share/groonga/doc/ja/source/functions/geo_distance.txt +0 -51
  360. data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_circle.txt +0 -54
  361. data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_rectangle.txt +0 -55
  362. data/vendor/local/share/groonga/doc/ja/source/functions/now.txt +0 -34
  363. data/vendor/local/share/groonga/doc/ja/source/functions/rand.txt +0 -41
  364. data/vendor/local/share/groonga/doc/ja/source/grnslap.txt +0 -64
  365. data/vendor/local/share/groonga/doc/ja/source/grntest.txt +0 -259
  366. data/vendor/local/share/groonga/doc/ja/source/http.txt +0 -52
  367. data/vendor/local/share/groonga/doc/ja/source/index.txt +0 -21
  368. data/vendor/local/share/groonga/doc/ja/source/install.txt +0 -114
  369. data/vendor/local/share/groonga/doc/ja/source/news.txt +0 -199
  370. data/vendor/local/share/groonga/doc/ja/source/process.txt +0 -12
  371. data/vendor/local/share/groonga/doc/ja/source/pseudo_column.txt +0 -38
  372. data/vendor/local/share/groonga/doc/ja/source/rdoc.py +0 -762
  373. data/vendor/local/share/groonga/doc/ja/source/reference.txt +0 -14
  374. data/vendor/local/share/groonga/doc/ja/source/tutorial.txt +0 -10
  375. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial01.txt +0 -293
  376. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial02.txt +0 -100
  377. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial03.txt +0 -72
  378. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial04.txt +0 -111
  379. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial05.txt +0 -65
  380. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial06.txt +0 -91
  381. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial07.txt +0 -92
  382. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial08.txt +0 -53
  383. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial09.txt +0 -9
  384. data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial10.txt +0 -486
  385. data/vendor/local/share/groonga/doc/ja/source/type.txt +0 -118
  386. data/vendor/local/share/groonga/doc/ja/source/update_execution_example.py +0 -113
  387. data/vendor/local/share/man/man1/groonga.1 +0 -5498
@@ -0,0 +1,326 @@
1
+ = お知らせ
2
+
3
+ == 1.1.0: 2011-02-09
4
+
5
+ === 改良
6
+
7
+ * groonga 1.1.0対応。
8
+ * Groonga::Plugin.registerを追加。
9
+
10
+ == 1.0.9: 2011-01-29
11
+
12
+ === 改良
13
+
14
+ * Windows上でのgem作成に対応。
15
+ [ongaeshiさんがパッチ提供]
16
+ * Groonga::Schemaでテーブル・カラムを削除した時に作成したディレクトリを
17
+ 削除するようにした。
18
+ * Groonga::Context#create_databaseを追加。
19
+ * Groonga::Context#open_databaseを追加。
20
+ * Groonga::Column#indexesを追加。
21
+ * Groonga::Table#select内でのインデックスカラムにマッチする記法をサポート。
22
+ table.select do |record|
23
+ record.match("query") do |match_record|
24
+ (match_record.index("Terms.title") * 1000) |
25
+ (match_record.index("Terms.description") * 100)
26
+ match_record.content
27
+ end
28
+ end
29
+ * Groonga::Table#select内での前方一致検索に対応。
30
+ table.select do |record|
31
+ record.name.prefix_search("groo")
32
+ end
33
+ * Groonga::Table#select内での後方一致検索に対応。
34
+ table.select do |record|
35
+ record.name.suffix_search("nga")
36
+ end
37
+ * :default_tokenizerのスキーマダンプに対応。
38
+ * :key_normalizeのスキーマダンプに対応。
39
+ * Groonga::Table#have_column?が擬似カラムに対応。
40
+ * Groonga::Record#have_column?が擬似カラムに対応。
41
+
42
+ === 変更
43
+
44
+ * Groonga::OperatoionをGroonga::Operatorに変更。
45
+ (しばらくはGroonga::Operationも使えるが、非推奨。)
46
+
47
+ === 修正
48
+
49
+ * 複数のGroonga::Contextを利用した場合に
50
+ Groonga::Table#selectでクラッシュする問題を修正。
51
+ * 例外発生時にクラッシュする問題を修正。
52
+
53
+ === 感謝
54
+
55
+ * ongaeshioさん
56
+
57
+ == 1.0.8: 2010-12-25
58
+
59
+ === 改良
60
+
61
+ * Groonga::Schemaのn-gramトークナイザー検出処理を改良。
62
+
63
+ === 修正
64
+
65
+ * selectでmatch_targetを利用した場合に生きているオブジェクトもGC
66
+ される問題を修正。
67
+
68
+ == 1.0.7: 2010-12-19
69
+
70
+ === 修正
71
+
72
+ * Ruby 1.8でRubyGemsでインストールされたpkg-configを使えるようにした。
73
+ [@kamipoさんが報告]
74
+ * Groonga::Table#columnsのメモリリークを修正。
75
+
76
+ === 感謝
77
+
78
+ * @kamipoさん
79
+
80
+ == 1.0.5: 2010-11-29
81
+
82
+ === 改良
83
+
84
+ * Groonga::Schemaでgroongaの組み込み型をshort_textなどのように
85
+ 「小文字 + アンダースコア」でも指定できるようにした。
86
+
87
+ === 修正
88
+
89
+ * GC時にクラッシュするバグを修正。 [Ryo Onodera]
90
+
91
+ == 1.0.4: 2010-11-29
92
+
93
+ === 改良
94
+
95
+ * groonga 1.0.4対応。
96
+ * Groonga::UnsupportedCommandVersionを追加。
97
+ * Groonga::Record#support_sub_records?を追加。
98
+ * Groonga::Record#eql?とGroonga::Record#hashを追加。
99
+ (同じテーブルの同じレコードIDのオブジェクトを同一のHashキーとして扱う。)
100
+ * pkg-config gemを利用するようにした。
101
+ * Groonga::Table#select内でrecord_idメソッドを持っているメソッドはレコード
102
+ として扱うようにした。
103
+ * Groonga::Record#record_idを追加。
104
+ * Groonga::Table#support_key?を追加。
105
+ * Groonga::Record#support_key?を追加。
106
+ * Groonga::Record#support_key?を追加。
107
+ * Groonga::Column#reference_key?を追加。
108
+ * Groonga::Column#index_column?を追加。
109
+ * Groonga::Schema#dumpを追加。
110
+ * Groonga::Schemaが複数のカラムのインデックス作成に対応。
111
+ * Groonga::Schemaで定義したオブジェクトに対応するファイル名に
112
+ わかりやすいファイル名を利用するようにした。
113
+ * Groonga::Schemaで参照カラムを定義時に参照先のテーブル名を省略可能になった。
114
+ * Groonga::Schema.remove_columnを追加。
115
+ * Groonga::Schemaでcreated_atカラムとupdated_atカラムを作るための
116
+ timestamps便利メソッドを追加。
117
+ * Groonga::Context#support_zlib?を追加。
118
+ * Groonga::Context#support_lzo?を追加。
119
+ * Groonga::Database#touchを追加。
120
+ * Groonga::Table#exist?を追加。
121
+ * Groonga::Record#valid?を追加。
122
+ * Groonga::Column#vector?を追加。
123
+ * Groonga::Column#scalar?を追加。
124
+ * Groonga::Record#vector_column?を追加。
125
+ * Groonga::Record#scalar_column?を追加。
126
+ * レコードIDが必要なところにrecord_raw_idを持つオブジェクトなら
127
+ Groonga::Record以外も渡せるようにした。
128
+ * Groonga::Record#record_raw_idを追加。
129
+ * ベクタの参照カラムの値にArray以外でもto_aryを持つオブジェクトを
130
+ 設定できるようにした。
131
+
132
+ == 変更
133
+
134
+ * Groonga::PatriciaTrie#open_cursorでは:order_byのデフォルト値として:key
135
+ を使うようにした。
136
+ * 非推奨扱いのGroonga::TableKeySupport#findを削除。
137
+ * Groonga::Hash#createとGroonga::PatriciaTrie#createでキーの型を省略した
138
+ 場合はShortTextを使用するようにした。
139
+ * Groonga::Schema#loadをGroonga::Schema#restoreに改名。
140
+ * pkg-config 1.0.7対応。
141
+ * Groonga::Column#index?を追加。Groonga::Column#index_column?は非推奨。
142
+ * Groonga::Column#reference?を追加。Groonga::Column#reference_column?は非推奨。
143
+
144
+ === 修正
145
+
146
+ * keyにインデックスを張れない問題を修正。
147
+ * GC時にクラッシュする問題を修正。
148
+
149
+ == 1.0.1: 2010-09-12
150
+
151
+ === 修正
152
+
153
+ * テーブル作成時に誤ったフラグを指定していた問題を修正。
154
+ [小野マトペさんが報告]
155
+
156
+ === 感謝
157
+
158
+ * 小野マトペさん
159
+
160
+ == 1.0.0: 2010-08-29
161
+
162
+ * groonga 1.0.0対応。
163
+ * Groonga::CASErrorを追加。
164
+ * Groonga::Table#open_cursorに:order_byオプションを追加。
165
+ * 前方一致検索がマッチしたレコードを順に取り出すカーソルを作る
166
+ Groonga::PatriciaTrie#open_prefix_cursorを追加。
167
+ * ローマ字・ひらがなでカタカナのキーを検索するカーソルを作る
168
+ Groonga::PatriciaTrie#open_rk_cursorを追加。
169
+ * 値の近い順にレコードを取り出すカーソルを作る
170
+ Groonga::PatriciaTrie#open_near_cursorを追加。
171
+ * インデックスのソースに_keyを指定できるようになった。
172
+
173
+ == 0.9.5: 2010-07-29
174
+
175
+ * groonga 0.7.4対応。
176
+ * Groonga::Table#selectの改良:
177
+ * 重み付きマッチ対応:
178
+
179
+ sourceカラムとtitleカラムにマッチするが、
180
+ titleカラムの方がスコアが大きくなる例:
181
+ table.select do |record|
182
+ (record.title * 10 | record.source) =~ "query"
183
+ end
184
+ * 配列で複数条件のand表現に対応:
185
+
186
+ 以下は同じ条件になる:
187
+ table.select do |record|
188
+ conditions = []
189
+ conditions << record.title =~ "query"
190
+ conditions << record.updated_at > Time.parse("2010-07-29T21:14:29+09:00")
191
+ conditions
192
+ end
193
+
194
+ table.select do |record|
195
+ (record.title =~ "query") &
196
+ (record.updated_at > Time.parse("2010-07-29T21:14:29+09:00"))
197
+ end
198
+ * 利用しているgroongaのバージョン取得対応: Groonga::VERSION
199
+ * Groonga::Table#support_sub_records?追加
200
+ * ページネーション対応: Groonga::Table#paginate, Groonga::Pagination
201
+
202
+ == 0.9.4: 2010-04-22
203
+
204
+ * リリースミス修正。
205
+
206
+ == 0.9.3: 2010-04-22
207
+
208
+ * リリースミス修正。
209
+
210
+ == 0.9.2: 2010-04-22
211
+
212
+ * groonga 0.1.9対応。
213
+ * たくさん。
214
+
215
+ == 0.9.1: 2010-02-09
216
+
217
+ * groonga 0.1.6対応
218
+
219
+ == 0.9.0: 2010-02-09
220
+
221
+ * groonga 0.1.5対応
222
+ * APIの追加
223
+ * Groonga::Object#context
224
+ * Groonga::Record#n_sub_records
225
+ * Groonga::Context#send
226
+ * Groonga::Context#receive
227
+ * Groonga::PatriciaTrie#prefix_search [Tasuku SUENAGA]
228
+ * Groonga::Object#path [Ryo Onodera]
229
+ * Groonga::Object#lock [Tasuku SUENAGA]
230
+ * Groonga::Object#unlock [Tasuku SUENAGA]
231
+ * Groonga::Object#locked? [Tasuku SUENAGA]
232
+ * Groonga::Object#temporary?
233
+ * Groonga::Object#persistent?
234
+ * Groonga::ObjectClosed
235
+ * Groonga::Context.[]
236
+ * Groonga::Table#column_value
237
+ * Groonga::Table#set_column_value
238
+ * APIの変更
239
+ * Groonga::Table#select, Groonga::Column#select
240
+ * Groonga::Expressionも受け付けるようになった
241
+ * grn式のシンタックスを指定する:syntaxオプションの追加
242
+ * Groonga::Table#open_cursor
243
+ * 開始位置を指定する:offsetオプションの追加
244
+ * 最大レコード数を指定する:limitオプションの追加
245
+ * Groonga::Expression.parseの引数を変更
246
+ * (nil (default) -> :column) -> (nil (default) -> :query)
247
+ * :column -> 廃止
248
+ * :table -> :query
249
+ * :table_query -> :query
250
+ * :expression -> :script
251
+ * :language -> :script
252
+ * Groonga::Table#define_column, Groonga::Table#define_index_column
253
+ * 永続テーブルをデフォルトにした
254
+ * Groonga::Table#[]をGroonga::Table#valueに変更
255
+ * Groonga::Table#[]=をGroonga::Table#set_valueに変更
256
+ * Groonga::Table#findをGroonga::Table#[]に変更
257
+ * Groonga::Table#findは非推奨
258
+ * Groonga::Table#[]=を削除
259
+ * Groonga::TableKeySupport#[]=はGroonga::TableKeySupport#addの別名
260
+ * Groonga::Recordで存在しないカラムにアクセスしたときの例外を
261
+ Groonga::InvalidArgumentからGroonga::NoSuchColumnに変更
262
+ * バグ修正
263
+ * スキーマにコンテキストが伝搬されない問題の修正 [dara]
264
+ * Groonga::PatriciaTrie#tag_keysが最後のテキストを返さない問題の修正
265
+ [Ryo Onodera]
266
+ * extconf.rbにデバッグモードでビルドする--with-debugオプションを追加
267
+ * Ruby 1.9.1でextconf.rbが失敗する問題の修正
268
+
269
+ === 感謝
270
+
271
+ * dara
272
+ * Ryo Onodera
273
+ * Tasuku SUENAGA
274
+
275
+ == 0.0.7: 2009-10-02
276
+
277
+ * groonga 0.1.4対応
278
+ * APIの追加
279
+ * Groonga::PatriciaTrie#scan
280
+ * Groonga::PatriciaTrie#tag_keys
281
+ * Groonga::Expression#snippet
282
+ * Groonga::Object#append
283
+ * Groonga::Object#prepend
284
+
285
+ == 0.0.6: 2009-07-31
286
+
287
+ * groonga 0.1.1対応
288
+ * ドキュメントの修正 [id:mat_aki]
289
+ * Groonga::Table#selectでのg式対応
290
+ * APIの追加
291
+ * Groonga::Table#union!
292
+ * Groonga::Table#intersect!
293
+ * Groonga::Table#differene!
294
+ * Groonga::Table#merge!
295
+ * tar.gzも提供 [id:m_seki]
296
+ * メモリリークの修正
297
+
298
+ == 0.0.3: 2009-07-18
299
+
300
+ * [#26145] Groonga::TableKeySupport#has_key?の追加 [Tasuku SUENAGA]
301
+ * [#26146] カラム名が存在しない場合はGroonga::Record#[]が例外
302
+ をあげるように変更 [Tasuku SUENAGA]
303
+ * 32ビット環境をサポート [niku]
304
+ * N-gramインデックスサーチのテストを追加 [dara]
305
+ * APIの追加
306
+ * Groonga::Record#incemrent!
307
+ * Groonga::Record#decemrent!
308
+ * Groonga::Record#lock
309
+ * Groonga::Table#lock
310
+ * Groonga::Schema: スキーマ定義用DSL
311
+ * Groonga::Expression
312
+
313
+ == 0.0.2: 2009-06-04
314
+
315
+ * groonga 0.0.8対応 [mori]
316
+ * 性能向上: キー、値、ドメイン、レンジをキャッシュ
317
+ * API改良
318
+ * ドキュメントの追加
319
+ * Ruby 1.9対応
320
+ * バグ修正:
321
+ * インストール処理の修正 [Tasuku SUENAGA]
322
+ * メモリリーク修正
323
+
324
+ == 0.0.1: 2009-04-30
325
+
326
+ * 最初のリリース!
@@ -0,0 +1,328 @@
1
+ = NEWS
2
+
3
+ == 1.1.0: 2011-02-09
4
+
5
+ === Improvements
6
+
7
+ * Supported groonga 1.1.0.
8
+ * Added Groonga::Plugin.register.
9
+
10
+ == 1.0.9: 2011-01-29
11
+
12
+ === Improvements
13
+
14
+ * Supported gem creation on Windows.
15
+ [Patch by ongaeshi]
16
+ * Supported generated directory that is created by Groonga::Schema removal
17
+ when table or column is removed.
18
+ * Added Groonga::Context#create_database.
19
+ * Added Groonga::Context#open_database.
20
+ * Added Groonga::Column#indexes.
21
+ * Supported a notation for specifying index column as match target in
22
+ Groonga::Table#select:
23
+ table.select do |record|
24
+ record.match("query") do |match_record|
25
+ (match_record.index("Terms.title") * 1000) |
26
+ (match_record.index("Terms.description") * 100)
27
+ match_record.content
28
+ end
29
+ end
30
+ * Supported prefix search in Groonga::Table#select:
31
+ table.select do |record|
32
+ record.name.prefix_search("groo")
33
+ end
34
+ * Supported suffix search in Groonga::Table#select:
35
+ table.select do |record|
36
+ record.name.suffix_search("nga")
37
+ end
38
+ * Supported :default_tokenizer schema dump.
39
+ * Supported :key_normalize schema dump.
40
+ * Supported pseudo columns by Groonga::Table#have_column?.
41
+ * Supported pseudo columns by Groonga::Record#have_column?.
42
+
43
+ === Changes
44
+
45
+ * Renamed Groonga::Operatoion to Groonga::Operator.
46
+ (Groonga::Operation is deprecated but still usable.)
47
+
48
+ === Fixes
49
+
50
+ * Fixed a crash bug when not default Groonga::Context is used in
51
+ Groonga::Table#select.
52
+ * Fixed a crash bug when an exception is occurred.
53
+
54
+ === Thanks
55
+
56
+ * ongaeshio
57
+
58
+ == 1.0.8: 2010-12-25
59
+
60
+ === Improvements
61
+
62
+ * Improved Groonga::Schema's n-gram tokenizer detect process.
63
+
64
+ === Fixes
65
+
66
+ * Fixed GC problem caused by match_target in select.
67
+
68
+ == 1.0.7: 2010-12-19
69
+
70
+ === Fixes
71
+
72
+ * Supported pkg-config installed by RubyGems on Ruby 1.8.
73
+ [Reported by @kamipo]
74
+ * Fixed a memory leak in Groonga::Table#columns.
75
+
76
+ === Thanks
77
+
78
+ * @kamipo
79
+
80
+ == 1.0.5: 2010-11-29
81
+
82
+ === Improvements
83
+
84
+ * Added snail_case type name aliases for built-in groonga types
85
+ to Groonga::Schema.
86
+
87
+ === Fixes
88
+
89
+ * Fixed a crash bug on GC. [Ryo Onodera]
90
+
91
+ == 1.0.4: 2010-11-29
92
+
93
+ === Improvements
94
+
95
+ * Supported groonga 1.0.4.
96
+ * Added Groonga::UnsupportedCommandVersion.
97
+ * Added Groonga::Record#support_sub_records?.
98
+ * Added Groonga::Record#eql?とGroonga::Record#hash.
99
+ (treat two the same table and the same record ID object as the same Hash key.)
100
+ * Supported pkg-config gem.
101
+ * Supported generic #record_id object handle for custom record object
102
+ in Groonga::Table#select.
103
+ * Added Groonga::Record#record_id.
104
+ * Added Groonga::Table#support_key?.
105
+ * Added Groonga::Record#support_key?.
106
+ * Added Groonga::Record#support_key?.
107
+ * Added Groonga::Column#reference_key?.
108
+ * Added Groonga::Column#index_column?.
109
+ * Added Groonga::Schema#dump.
110
+ * Supported multi columns index creation in Groonga::Schema.
111
+ * Supported meaningful path in Groonga::Schema.
112
+ * Made reference table omissible when index column definition
113
+ in Groonga::Schema.
114
+ * Added Groonga::Schema.remove_column.
115
+ * Added convenience timestamps methods to define "created_at" and
116
+ "updated_at" columns in Groonga::Schema.
117
+ * Added Groonga::Context#support_zlib?.
118
+ * Added Groonga::Context#support_lzo?.
119
+ * Added Groonga::Database#touch.
120
+ * Added Groonga::Table#exist?.
121
+ * Added Groonga::Record#valid?.
122
+ * Added Groonga::Column#vector?.
123
+ * Added Groonga::Column#scalar?.
124
+ * Added Groonga::Record#vector_column?.
125
+ * Added Groonga::Record#scalar_column?.
126
+ * Accepted any object that has record_raw_id method for record ID required
127
+ location. Groonga::Record isn't required.
128
+ * Added Groonga::Record#record_raw_id.
129
+ * Accepted any object that as to_ary method for reference vector column value.
130
+
131
+ == Changes
132
+
133
+ * Used :key as the default value of :order_by of
134
+ Groonga::PatriciaTrie#open_cursor.
135
+ * Removed a deprecated Groonga::TableKeySupport#find.
136
+ * Used ShortText as the default key type of
137
+ Groonga::Hash#create and Groonga::PatriciaTrie#create.
138
+ * Renamed Groonga::Schema#load to Groonga::Schema#restore.
139
+ * Supported pkg-confg 1.0.7.
140
+ * Added Groonga::Column#index? and deprecated Groonga::Column#index_column?.
141
+ * Added Groonga::Column#reference? and deprecated
142
+ Groonga::Column#reference_column?.
143
+
144
+ === Fixes
145
+
146
+ * Fixed index for key isn't be able to define.
147
+ * Fixed a crash problem on GC.
148
+
149
+ == 1.0.1: 2010-09-12
150
+
151
+ === Fixes
152
+
153
+ * Fixed wrong flag used on creating a table.
154
+ [Reported by ono matope]
155
+
156
+ === Thanks
157
+
158
+ * ono matope
159
+
160
+ == 1.0.0: 2010-08-29
161
+
162
+ * Supported groonga 1.0.0.
163
+ * Added Groonga::CASError.
164
+ * Added :order_by option to Groonga::Table#open_cursor.
165
+ * Added Groonga::PatriciaTrie#open_prefix_cursor that creates a cursor
166
+ to retrieve each records by prefix search.
167
+ * Added Groonga::PatriciaTrie#open_rk_cursor that creats a cursor to
168
+ retrieve katakana keys from roman letters and/or hiragana.
169
+ * Added Groonga::PatriciaTrie#open_near_cursor that creates a cursor to
170
+ retrieve records order by distance from key.
171
+ * Supported _key as index source.
172
+
173
+ == 0.9.5: 2010-07-20
174
+
175
+ * Supported groonga 0.7.4.
176
+ * Imporoved Groonga::Table#select:
177
+ * Supported weight match:
178
+
179
+ Here is an example to match source column or title column and
180
+ title column has high score:
181
+ table.select do |record|
182
+ (record.title * 10 | record.source) =~ "query"
183
+ end
184
+ * Supported and representation for and conditions:
185
+
186
+ Here are examples that represents the same condition:
187
+ table.select do |record|
188
+ conditions = []
189
+ conditions << record.title =~ "query"
190
+ conditions << record.updated_at > Time.parse("2010-07-29T21:14:29+09:00")
191
+ conditions
192
+ end
193
+
194
+ table.select do |record|
195
+ (record.title =~ "query") &
196
+ (record.updated_at > Time.parse("2010-07-29T21:14:29+09:00"))
197
+ end
198
+ * Provided groonga runtime version: Groonga::VERSION
199
+ * Added Groonga::Table#support_sub_records?
200
+ * Supported pagination: Groonga::Table#paginate, Groonga::Pagination
201
+
202
+ == 0.9.4: 2010-04-22
203
+
204
+ * Fixed release miss.
205
+
206
+ == 0.9.3: 2010-04-22
207
+
208
+ * Fixed release miss.
209
+
210
+ == 0.9.2: 2010-04-22
211
+
212
+ * Supported groonga 0.1.9.
213
+ * Many.
214
+
215
+ == 0.9.1: 2010-02-09
216
+
217
+ * Supported groonga 0.1.6
218
+
219
+ == 0.9.0: 2010-02-09
220
+
221
+ * Supported groonga 0.1.5
222
+ * Added API
223
+ * Groonga::Object#context
224
+ * Groonga::Record#n_sub_records
225
+ * Groonga::Context#send
226
+ * Groonga::Context#receive
227
+ * Groonga::PatriciaTrie#prefix_search [Tasuku SUENAGA]
228
+ * Groonga::Object#path [Ryo Onodera]
229
+ * Groonga::Object#lock [Tasuku SUENAGA]
230
+ * Groonga::Object#unlock [Tasuku SUENAGA]
231
+ * Groonga::Object#locked? [Tasuku SUENAGA]
232
+ * Groonga::Object#temporary?
233
+ * Groonga::Object#persistent?
234
+ * Groonga::ObjectClosed
235
+ * Groonga::Context.[]
236
+ * Groonga::Table#column_value
237
+ * Groonga::Table#set_column_value
238
+ * Changed API
239
+ * Groonga::Table#select, Groonga::Column#select
240
+ * They also accept Groonga::Expression
241
+ * Added :syntax option that specifies grn expression syntax
242
+ * Groonga::Table#open_cursor
243
+ * Added :offset option that specifies offset.
244
+ * Added :limit option that specifies max number of records.
245
+ * Changed Groonga::Expression.parse options:
246
+ * (nil (default) -> :column) -> (nil (default) -> :query)
247
+ * :column -> removed
248
+ * :table -> :query
249
+ * :table_query -> :query
250
+ * :expression -> :script
251
+ * :language -> :script
252
+ * Groonga::Table#define_column, Groonga::Table#define_index_column
253
+ * Defined column becomes persistent table by default
254
+ * Groonga::Table#[] -> Groonga::Table#value
255
+ * Groonga::Table#[]= -> Groonga::Table#set_value
256
+ * Groonga::Table#find -> Groonga::Table#[]
257
+ * Groonga::Table#find -> obsolete
258
+ * Groonga::Table#[]= -> removed
259
+ * Groonga::TableKeySupport#[]= is alias of Groonga::TableKeySupport#add
260
+ * Changed exception class to Groonga::NoSuchColumn from
261
+ Groonga::InvalidArgument when Groonga::Record accesses nonexistent
262
+ a column.
263
+ * Bug fixes
264
+ * Fixed a bug that context isn't passed to schema [dara]
265
+ * Fixed a bug that Groonga::PatriciaTrie#tag_keys doesn't return
266
+ that last text.
267
+ [Ryo Onodera]
268
+ * Added --with-debug option to extconf.rb for debug build.
269
+ * Fixed a bug that Ruby 1.9.1 may fail extconf.rb.
270
+
271
+ === Thanks
272
+
273
+ * dara
274
+ * Ryo Onodera
275
+ * Tasuku SUENAGA
276
+
277
+ == 0.0.7: 2009-10-02
278
+
279
+ * Supported groonga 0.1.4
280
+ * Added API
281
+ * Groonga::PatriciaTrie#scan
282
+ * Groonga::PatriciaTrie#tag_keys
283
+ * Groonga::Expression#snippet
284
+ * Groonga::Object#append
285
+ * Groonga::Object#prepend
286
+
287
+ == 0.0.6: 2009-07-31
288
+
289
+ * Supported groonga 0.1.1.
290
+ * Fixed documents [id:mat_aki]
291
+ * Supported groonga expression for searching.
292
+ * Added API
293
+ * Groonga::Table#union!
294
+ * Groonga::Table#intersect!
295
+ * Groonga::Table#differene!
296
+ * Groonga::Table#merge!
297
+ * Provided tar.gz [id:m_seki]
298
+ * Fixed memory leaks
299
+
300
+ == 0.0.3: 2009-07-18
301
+
302
+ * [#26145] Added Groonga::TableKeySupport#has_key? [Tasuku SUENAGA]
303
+ * [#26146] Groonga::Record#[] raises an exception for nonexistent
304
+ column name. [Tasuku SUENAGA]
305
+ * Supported 32bit environment [niku]
306
+ * Added a test for N-gram index search [dara]
307
+ * Added APIs
308
+ * Groonga::Record#incemrent!
309
+ * Groonga::Record#decemrent!
310
+ * Groonga::Record#lock
311
+ * Groonga::Table#lock
312
+ * Groonga::Schema: A DSL for schema definition
313
+ * Groonga::Expression
314
+
315
+ == 0.0.2: 2009-06-04
316
+
317
+ * Supported groonga 0.0.8 [mori]
318
+ * Improved preformance: cache key, value, domain and range
319
+ * Improved API
320
+ * Added documents
321
+ * Supported Ruby 1.9
322
+ * Bug fixes:
323
+ * Fixed install process [Tasuku SUENAGA]
324
+ * Fixed memory leaks
325
+
326
+ == 0.0.1: 2009-04-30
327
+
328
+ * Initial release!