rroonga 4.0.1-x64-mingw32 → 4.0.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (477) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.textile +25 -0
  3. data/ext/groonga/extconf.rb +2 -0
  4. data/ext/groonga/rb-grn-index-column.c +91 -0
  5. data/ext/groonga/rb-grn-object.c +3 -9
  6. data/ext/groonga/rb-grn-table.c +18 -24
  7. data/ext/groonga/rb-grn.h +1 -1
  8. data/lib/1.9/groonga.so +0 -0
  9. data/lib/2.0/groonga.so +0 -0
  10. data/lib/2.1/groonga.so +0 -0
  11. data/lib/groonga/dumper.rb +1 -1
  12. data/lib/groonga/patricia-trie.rb +4 -1
  13. data/lib/groonga/schema.rb +10 -4
  14. data/rroonga-build.rb +1 -1
  15. data/test/test-context.rb +8 -8
  16. data/test/test-database-dumper.rb +6 -6
  17. data/test/test-index-column.rb +9 -4
  18. data/test/test-schema-dumper.rb +6 -6
  19. data/test/test-schema.rb +32 -3
  20. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  21. data/vendor/local/bin/groonga.exe +0 -0
  22. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  23. data/vendor/local/bin/libgroonga-0.dll +0 -0
  24. data/vendor/local/bin/libmecab-1.dll +0 -0
  25. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  26. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  27. data/vendor/local/bin/libstdc++-6.dll +0 -0
  28. data/vendor/local/bin/mecab-config +2 -2
  29. data/vendor/local/bin/mecab.exe +0 -0
  30. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  31. data/vendor/local/include/groonga/groonga.h +2 -1
  32. data/vendor/local/include/groonga/groonga/plugin.h +19 -1
  33. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  37. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  41. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  49. data/vendor/local/lib/libgroonga.a +0 -0
  50. data/vendor/local/lib/libgroonga.dll.a +0 -0
  51. data/vendor/local/lib/libgroonga.la +3 -3
  52. data/vendor/local/lib/libmecab.a +0 -0
  53. data/vendor/local/lib/libmecab.dll.a +0 -0
  54. data/vendor/local/lib/libmecab.la +1 -1
  55. data/vendor/local/lib/libmsgpack.a +0 -0
  56. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  57. data/vendor/local/lib/libmsgpack.la +2 -2
  58. data/vendor/local/lib/libmsgpackc.a +0 -0
  59. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.la +2 -2
  61. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  62. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  63. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  67. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  68. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  69. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
  70. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
  71. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
  72. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
  76. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
  77. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
  79. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
  80. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
  81. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
  82. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  83. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
  88. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
  89. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
  90. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
  91. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +65 -0
  92. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
  93. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
  94. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
  95. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
  96. data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
  97. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
  99. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
  100. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
  101. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
  102. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
  103. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
  104. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
  105. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
  106. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
  107. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
  108. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
  109. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
  110. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
  113. data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
  114. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
  116. data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
  117. data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
  118. data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
  119. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
  120. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
  121. data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
  122. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
  123. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
  124. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  125. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  126. data/vendor/local/share/doc/groonga/en/html/news.html +286 -209
  127. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  131. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  132. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  133. data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
  134. data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
  135. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
  136. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  137. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +29 -29
  138. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  139. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  140. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  141. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  142. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  143. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  144. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  145. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  146. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  147. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  148. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -25
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
  157. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
  160. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/command.html +21 -19
  162. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -0
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +40 -40
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
  196. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +6 -6
  199. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +43 -18
  203. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
  204. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
  206. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
  207. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
  208. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +48 -48
  209. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
  210. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
  211. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -32
  212. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
  213. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
  214. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
  215. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
  216. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
  217. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
  218. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
  219. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
  220. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
  221. data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
  222. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  225. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +10 -10
  226. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
  229. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  230. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  232. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
  240. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
  243. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +19 -5
  247. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
  256. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  257. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  258. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  259. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  260. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  261. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  262. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +65 -0
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
  291. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
  292. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
  294. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
  295. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
  296. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
  297. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
  298. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
  299. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
  300. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
  301. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
  302. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
  303. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
  304. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
  305. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
  308. data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
  309. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  310. data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
  311. data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
  312. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
  313. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
  314. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  315. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
  316. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  317. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  318. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +27 -137
  319. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  320. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  321. data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
  322. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  325. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  327. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  328. data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
  330. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
  331. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
  332. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
  333. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
  334. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
  335. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
  336. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
  337. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
  338. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
  339. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
  340. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
  341. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
  342. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
  343. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
  344. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
  345. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
  346. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
  347. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
  348. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
  349. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
  350. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
  352. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  353. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
  354. data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
  355. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  356. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +21 -19
  357. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  358. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  359. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
  364. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
  365. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
  366. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +11 -10
  367. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +10 -10
  376. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -0
  377. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +29 -29
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
  391. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
  395. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +55 -27
  398. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
  399. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
  401. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
  402. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
  403. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
  404. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
  405. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
  406. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
  407. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
  408. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
  409. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
  410. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
  411. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
  412. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
  413. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
  414. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
  415. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
  416. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
  417. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
  421. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
  424. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
  425. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  427. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  429. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  430. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
  431. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  435. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -5
  438. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +19 -5
  442. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  458. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  459. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  460. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  461. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  462. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  463. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  464. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  465. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  466. data/vendor/local/share/groonga/html/admin/index.html +0 -1
  467. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
  468. data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
  469. data/vendor/local/share/man/man1/groonga.1 +1051 -607
  470. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  471. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  472. metadata +289 -278
  473. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
  474. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
  476. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
  477. data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
@@ -287,20 +287,25 @@ class IndexColumnTest < Test::Unit::TestCase
287
287
  :key_type => "ShortText",
288
288
  :default_tokenizer => "TokenDelimit") do |table|
289
289
  table.index("Articles.tags",
290
- :name => "position",
290
+ :name => "true",
291
291
  :with_position => true)
292
292
  table.index("Articles.tags",
293
- :name => "no_position")
293
+ :name => "default")
294
+ table.index("Articles.tags",
295
+ :name => "false",
296
+ :with_position => false)
294
297
  end
295
298
  end
296
299
 
297
300
  assert_equal([
298
301
  true,
299
302
  false,
303
+ true,
300
304
  ],
301
305
  [
302
- context["Tags.position"].with_position?,
303
- context["Tags.no_position"].with_position?,
306
+ context["Tags.true"].with_position?,
307
+ context["Tags.false"].with_position?,
308
+ context["Tags.default"].with_position?,
304
309
  ])
305
310
  end
306
311
  end
@@ -275,9 +275,9 @@ column_create Posts title COLUMN_SCALAR ShortText
275
275
  def test_reference_table
276
276
  define_reference_table_schema
277
277
  assert_equal(<<-SCHEMA, dump)
278
- table_create Terms TABLE_HASH_KEY --key_type ShortText
278
+ table_create Terms TABLE_HASH_KEY ShortText
279
279
 
280
- table_create IndexTerms TABLE_HASH_KEY --key_type Terms
280
+ table_create IndexTerms TABLE_HASH_KEY Terms
281
281
  SCHEMA
282
282
  end
283
283
 
@@ -303,10 +303,10 @@ column_create Comments item COLUMN_SCALAR Items
303
303
  def test_index
304
304
  define_index_schema
305
305
  assert_equal(<<-SCHEMA, dump)
306
- table_create Items TABLE_HASH_KEY --key_type ShortText
306
+ table_create Items TABLE_HASH_KEY ShortText
307
307
  column_create Items title COLUMN_SCALAR ShortText
308
308
 
309
- table_create Terms TABLE_PAT_KEY --key_type ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
309
+ table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
310
310
 
311
311
  column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
312
312
  column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
@@ -316,7 +316,7 @@ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
316
316
  def test_weight_vector
317
317
  define_weight_vector_schema
318
318
  assert_equal(<<-SCHEMA, dump)
319
- table_create Memos TABLE_PAT_KEY --key_type ShortText
319
+ table_create Memos TABLE_PAT_KEY ShortText
320
320
  column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT ShortText
321
321
  SCHEMA
322
322
  end
@@ -324,7 +324,7 @@ column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT ShortText
324
324
  def test_double_array_trie
325
325
  define_double_array_trie_schema
326
326
  assert_equal(<<-SCHEMA, dump)
327
- table_create Accounts TABLE_DAT_KEY --key_type ShortText
327
+ table_create Accounts TABLE_DAT_KEY ShortText
328
328
  column_create Accounts name COLUMN_SCALAR ShortText
329
329
  SCHEMA
330
330
  end
data/test/test-schema.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2009-2011 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -610,7 +610,8 @@ class SchemaTest < Test::Unit::TestCase
610
610
  "path: <#{path}>, " +
611
611
  "domain: <Terms>, " +
612
612
  "range: <Posts>, " +
613
- "flags: <WITH_SECTION|WITH_WEIGHT|WITH_POSITION>>",
613
+ "flags: <WITH_SECTION|WITH_WEIGHT|WITH_POSITION>, " +
614
+ "sources: <content>>",
614
615
  index_column.inspect)
615
616
  end
616
617
 
@@ -662,7 +663,8 @@ class SchemaTest < Test::Unit::TestCase
662
663
  "path: <#{index_column.path}>, " +
663
664
  "domain: <Terms>, " +
664
665
  "range: <Posts>, " +
665
- "flags: <WITH_POSITION>>",
666
+ "flags: <WITH_POSITION>, " +
667
+ "sources: <_key>>",
666
668
  index_column.inspect)
667
669
  end
668
670
 
@@ -714,6 +716,33 @@ class SchemaTest < Test::Unit::TestCase
714
716
  assert_equal("Terms.posts_content_index", index.name)
715
717
  assert_equal([context["Posts.content"]], renamed_index.sources)
716
718
  end
719
+
720
+ class MultipleColumnTest < self
721
+ setup
722
+ def setup_index
723
+ Groonga::Schema.create_table("Posts") do |table|
724
+ table.short_text :title
725
+ table.long_text :content
726
+ end
727
+ Groonga::Schema.create_table("Terms") do |table|
728
+ table.index "Posts", "title", "content"
729
+ end
730
+
731
+ @index = context["Terms.Posts_title_content"]
732
+ end
733
+
734
+ def test_source
735
+ assert_equal([
736
+ "Posts.title",
737
+ "Posts.content",
738
+ ],
739
+ @index.sources.collect(&:name))
740
+ end
741
+
742
+ def test_with_section
743
+ assert_true(@index.with_section?)
744
+ end
745
+ end
717
746
  end
718
747
 
719
748
  def test_reference_guess
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- prefix=/home/vagrant/work/groonga/groonga/packages/windows/dist-x64
3
+ prefix=/home/kou/work/c/groonga.clean/packages/windows/dist-x64
4
4
  exec_prefix=${prefix}
5
5
  exec_prefix_set=no
6
6
 
@@ -107,7 +107,7 @@ while test $# -gt 0; do
107
107
  ;;
108
108
 
109
109
  --libexecdir)
110
- echo /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/libexec/mecab
110
+ echo /home/kou/work/c/groonga.clean/packages/windows/dist-x64/libexec/mecab
111
111
  ;;
112
112
 
113
113
  --sysconfdir)
Binary file
@@ -15,7 +15,7 @@ http {
15
15
  keepalive_timeout 65;
16
16
 
17
17
  # The default groonga database path.
18
- groonga_database /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/var/lib/groonga/db/db;
18
+ groonga_database /home/kou/work/c/groonga.clean/packages/windows/dist-x64/var/lib/groonga/db/db;
19
19
 
20
20
  # Create a groonga database automatically if the groonga database doesn't
21
21
  # exist.
@@ -45,7 +45,7 @@ http {
45
45
  }
46
46
 
47
47
  location / {
48
- root /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/share/groonga/html/admin;
48
+ root /home/kou/work/c/groonga.clean/packages/windows/dist-x64/share/groonga/html/admin;
49
49
  index index.html;
50
50
  }
51
51
 
@@ -469,7 +469,8 @@ typedef struct {
469
469
  typedef grn_rc (*grn_plugin_func)(grn_ctx *ctx);
470
470
 
471
471
  typedef enum {
472
- GRN_PROC_TOKENIZER = 1,
472
+ GRN_PROC_INVALID = 0,
473
+ GRN_PROC_TOKENIZER,
473
474
  GRN_PROC_COMMAND,
474
475
  GRN_PROC_FUNCTION,
475
476
  GRN_PROC_HOOK,
@@ -1,6 +1,6 @@
1
1
  /* -*- c-basic-offset: 2 -*- */
2
2
  /*
3
- Copyright(C) 2010-2012 Brazil
3
+ Copyright(C) 2010-2014 Brazil
4
4
 
5
5
  This library is free software; you can redistribute it and/or
6
6
  modify it under the terms of the GNU Lesser General Public
@@ -170,6 +170,24 @@ GRN_API void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
170
170
  GRN_API grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
171
171
  grn_id domain, grn_obj_flags flags);
172
172
 
173
+ /*
174
+ grn_plugin_proc_get_var() gets a variable from user_data by name.
175
+
176
+ If `name_size` is negative, `name` must be
177
+ NUL-terminated. `name_size` is computed by `strlen(name)` for the case.
178
+ */
179
+
180
+ GRN_API grn_obj *grn_plugin_proc_get_var(grn_ctx *ctx, grn_user_data *user_data,
181
+ const char *name, int name_size);
182
+
183
+ /*
184
+ grn_plugin_proc_get_var_by_offset() gets a variable from user_data by offset.
185
+ */
186
+
187
+ GRN_API grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx,
188
+ grn_user_data *user_data,
189
+ unsigned int offset);
190
+
173
191
  /*
174
192
  grn_plugin_win32_base_dir() returns the groonga install directory.
175
193
  The install directory is computed from the directory that has
@@ -1,5 +1,5 @@
1
1
  # tsv.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='tsv.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libgroonga.la -L/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
20
+ dependency_libs=' /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libgroonga.la -L/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/groonga/plugins/query_expanders'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/groonga/plugins/query_expanders'
@@ -1,5 +1,5 @@
1
1
  # suggest.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='suggest.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libgroonga.la -L/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib -lws2_32 /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmsgpack.la'
20
+ dependency_libs=' /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libgroonga.la -L/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib -lws2_32 /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmsgpack.la'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/groonga/plugins/suggest'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/groonga/plugins/suggest'
@@ -1,5 +1,5 @@
1
1
  # table.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='table.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libgroonga.la -L/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib -lws2_32 /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmsgpack.la'
20
+ dependency_libs=' /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libgroonga.la -L/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib -lws2_32 /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmsgpack.la'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/groonga/plugins/table'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/groonga/plugins/table'
@@ -1,5 +1,5 @@
1
1
  # mecab.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='mecab.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmecab.la /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libgroonga.la /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
20
+ dependency_libs=' -L/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmecab.la /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libgroonga.la /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/groonga/plugins/tokenizers'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/groonga/plugins/tokenizers'
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # libgroonga.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='libgroonga.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib /home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
20
+ dependency_libs=' -L/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib /home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib/libmsgpack.la -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib'
Binary file
Binary file
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib'
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # libmsgpack.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib'
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # libmsgpackc.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -38,4 +38,4 @@ dlopen=''
38
38
  dlpreopen=''
39
39
 
40
40
  # Directory that this library needs to be installed in:
41
- libdir='/home/vagrant/work/groonga/groonga/packages/windows/dist-x64/lib'
41
+ libdir='/home/kou/work/c/groonga.clean/packages/windows/dist-x64/lib'
@@ -1,4 +1,4 @@
1
- prefix=/home/vagrant/work/groonga/groonga/packages/windows/dist-x64
1
+ prefix=/home/kou/work/c/groonga.clean/packages/windows/dist-x64
2
2
  exec_prefix=${prefix}
3
3
  bindir=${exec_prefix}/bin
4
4
  sbindir=${exec_prefix}/sbin
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
11
11
  groonga=${bindir}/groonga.exe
12
12
  groonga_httpd=${sbindir}/groonga-httpd.exe
13
13
  groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
14
- groonga_version=4.0.1
14
+ groonga_version=4.0.2
15
15
 
16
16
  Name: Groonga
17
17
  Description: An Embeddable Fulltext Search Engine
18
- Version: 4.0.1
18
+ Version: 4.0.2
19
19
  Libs: -L${libdir} -lgroonga
20
20
  Cflags: -I${includedir}/groonga