rroonga 1.2.5-x86-mingw32 → 1.2.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (300) hide show
  1. data/Gemfile +30 -0
  2. data/Rakefile +24 -285
  3. data/ext/groonga/extconf.rb +4 -2
  4. data/ext/groonga/rb-grn-array.c +5 -4
  5. data/ext/groonga/rb-grn-context.c +7 -22
  6. data/ext/groonga/rb-grn-database.c +42 -1
  7. data/ext/groonga/rb-grn-index-column.c +5 -0
  8. data/ext/groonga/rb-grn-object.c +58 -26
  9. data/ext/groonga/rb-grn-patricia-trie.c +2 -1
  10. data/ext/groonga/rb-grn-record.c +11 -1
  11. data/ext/groonga/rb-grn-snippet.c +44 -1
  12. data/ext/groonga/rb-grn-table-key-support.c +21 -10
  13. data/ext/groonga/rb-grn-utils.c +3 -1
  14. data/ext/groonga/rb-grn-variable-size-column.c +47 -1
  15. data/ext/groonga/rb-grn.h +4 -1
  16. data/extconf.rb +1 -0
  17. data/lib/1.8/groonga.so +0 -0
  18. data/lib/1.9/groonga.so +0 -0
  19. data/lib/groonga/dumper.rb +3 -3
  20. data/lib/groonga/pagination.rb +1 -1
  21. data/lib/groonga/record.rb +10 -0
  22. data/rroonga-build.rb +1 -1
  23. data/test/test-accessor.rb +4 -0
  24. data/test/test-array.rb +9 -1
  25. data/test/test-database.rb +16 -0
  26. data/test/test-expression.rb +2 -0
  27. data/test/test-hash.rb +11 -2
  28. data/test/test-patricia-trie.rb +10 -1
  29. data/test/test-table-select.rb +31 -17
  30. data/test/test-type.rb +3 -3
  31. data/test/test-variable-size-column.rb +8 -1
  32. data/vendor/local/bin/grntest.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgroonga-0.dll +0 -0
  35. data/vendor/local/bin/libmecab-1.dll +0 -0
  36. data/vendor/local/bin/mecab-config +2 -2
  37. data/vendor/local/bin/mecab.exe +0 -0
  38. data/vendor/local/include/groonga/groonga.h +20 -4
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  43. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  47. data/vendor/local/lib/libgroonga.a +0 -0
  48. data/vendor/local/lib/libgroonga.dll.a +0 -0
  49. data/vendor/local/lib/libgroonga.la +2 -2
  50. data/vendor/local/lib/libmecab.a +0 -0
  51. data/vendor/local/lib/libmecab.dll.a +0 -0
  52. data/vendor/local/lib/libmecab.la +1 -1
  53. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  54. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  55. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  56. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  57. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  58. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  59. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  60. data/vendor/local/share/doc/groonga/en/html/_sources/commands/suggest.txt +207 -35
  61. data/vendor/local/share/doc/groonga/en/html/_sources/executables/grntest.txt +1 -1
  62. data/vendor/local/share/doc/groonga/en/html/_sources/executables/{http.txt → groonga-http.txt} +1 -1
  63. data/vendor/local/share/doc/groonga/en/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
  64. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -0
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +14 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/log.txt +214 -0
  67. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
  68. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +35 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +195 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +148 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +94 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +115 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +8 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +22 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial01.txt +2 -1
  76. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +1 -0
  77. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
  79. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
  80. data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
  81. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
  82. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
  83. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
  84. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
  85. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
  86. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
  87. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +34 -34
  88. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
  89. data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
  90. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
  91. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
  92. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
  93. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
  94. data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
  95. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
  96. data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
  97. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +258 -72
  98. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +34 -34
  99. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
  100. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
  101. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
  102. data/vendor/local/share/doc/groonga/en/html/commands.html +42 -42
  103. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
  105. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
  106. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +8 -8
  109. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
  110. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
  111. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +8 -8
  112. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +12 -12
  113. data/vendor/local/share/doc/groonga/en/html/contribution.html +10 -10
  114. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +32 -32
  115. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +49 -49
  116. data/vendor/local/share/doc/groonga/en/html/executables/{http.html → groonga-http.html} +34 -34
  117. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +186 -0
  118. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +37 -37
  119. data/vendor/local/share/doc/groonga/en/html/executables.html +22 -21
  120. data/vendor/local/share/doc/groonga/en/html/expr.html +26 -26
  121. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
  122. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +32 -32
  123. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +32 -32
  124. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
  126. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
  127. data/vendor/local/share/doc/groonga/en/html/functions.html +23 -23
  128. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/index.html +105 -74
  130. data/vendor/local/share/doc/groonga/en/html/install.html +22 -11
  131. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
  132. data/vendor/local/share/doc/groonga/en/html/log.html +345 -0
  133. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
  135. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/news.html +94 -57
  137. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  138. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +22 -22
  139. data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
  140. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
  143. data/vendor/local/share/doc/groonga/en/html/spec.html +15 -15
  144. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +357 -0
  145. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +286 -0
  146. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +243 -0
  147. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +265 -0
  148. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +134 -0
  149. data/vendor/local/share/doc/groonga/en/html/suggest.html +166 -0
  150. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  151. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
  152. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial01.html +6 -6
  153. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial02.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial03.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial04.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial05.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial06.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial07.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial08.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial09.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial10.html +10 -10
  162. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/type.html +30 -30
  164. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  165. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +207 -35
  166. data/vendor/local/share/doc/groonga/ja/html/_sources/executables/grntest.txt +1 -1
  167. data/vendor/local/share/doc/groonga/{source/executables/http.txt → ja/html/_sources/executables/groonga-http.txt} +1 -1
  168. data/vendor/local/share/doc/groonga/ja/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
  169. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -0
  170. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +14 -3
  171. data/vendor/local/share/doc/groonga/ja/html/_sources/log.txt +214 -0
  172. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
  173. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +35 -3
  174. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +195 -0
  175. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +148 -0
  176. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +94 -0
  177. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +115 -0
  178. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +8 -0
  179. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +22 -0
  180. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial01.txt +2 -1
  181. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +1 -0
  182. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  183. data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
  184. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
  185. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
  186. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
  187. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
  188. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
  189. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
  190. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
  191. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
  192. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +34 -34
  193. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
  194. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
  195. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
  196. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
  197. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
  198. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
  199. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
  200. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
  201. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
  202. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +237 -72
  203. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +34 -34
  204. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
  205. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
  206. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
  207. data/vendor/local/share/doc/groonga/ja/html/commands.html +42 -42
  208. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  209. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
  210. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
  211. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
  212. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
  213. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +8 -8
  214. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
  215. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  216. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +8 -8
  217. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +12 -12
  218. data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -10
  219. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +32 -32
  220. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +49 -49
  221. data/vendor/local/share/doc/groonga/ja/html/executables/{http.html → groonga-http.html} +34 -34
  222. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +187 -0
  223. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +37 -37
  224. data/vendor/local/share/doc/groonga/ja/html/executables.html +22 -21
  225. data/vendor/local/share/doc/groonga/ja/html/expr.html +26 -26
  226. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
  227. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +32 -32
  228. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +32 -32
  229. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
  230. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
  231. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
  232. data/vendor/local/share/doc/groonga/ja/html/functions.html +23 -23
  233. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/index.html +105 -74
  235. data/vendor/local/share/doc/groonga/ja/html/install.html +24 -11
  236. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
  237. data/vendor/local/share/doc/groonga/ja/html/log.html +346 -0
  238. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  240. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/news.html +87 -55
  242. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  243. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +22 -22
  244. data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
  245. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  247. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
  248. data/vendor/local/share/doc/groonga/ja/html/spec.html +15 -15
  249. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +327 -0
  250. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +254 -0
  251. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +225 -0
  252. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +248 -0
  253. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +135 -0
  254. data/vendor/local/share/doc/groonga/ja/html/suggest.html +166 -0
  255. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  256. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
  257. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial01.html +6 -6
  258. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial02.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial03.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial04.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial05.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial06.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial07.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial08.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial09.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial10.html +10 -10
  267. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/type.html +30 -30
  269. data/vendor/local/share/doc/groonga/source/commands/suggest.txt +207 -35
  270. data/vendor/local/share/doc/groonga/source/example/completion-1.log +5 -0
  271. data/vendor/local/share/doc/groonga/source/example/correction-1.log +5 -0
  272. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +5 -0
  273. data/vendor/local/share/doc/groonga/source/executables/grntest.txt +1 -1
  274. data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/http.txt → source/executables/groonga-http.txt} +1 -1
  275. data/vendor/local/share/doc/groonga/source/executables/groonga-suggest-create-dataset.txt +50 -0
  276. data/vendor/local/share/doc/groonga/source/index.txt +1 -0
  277. data/vendor/local/share/doc/groonga/source/install.txt +14 -3
  278. data/vendor/local/share/doc/groonga/source/log.txt +214 -0
  279. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +1 -1
  280. data/vendor/local/share/doc/groonga/source/news.txt +35 -3
  281. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +195 -0
  282. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +148 -0
  283. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +94 -0
  284. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +115 -0
  285. data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +8 -0
  286. data/vendor/local/share/doc/groonga/source/suggest.txt +22 -0
  287. data/vendor/local/share/doc/groonga/source/tutorial/tutorial01.txt +2 -1
  288. data/vendor/local/share/doc/groonga/source/update_execution_example.py +46 -20
  289. data/vendor/local/share/license/groonga/AUTHORS +17 -0
  290. data/vendor/local/share/license/groonga/COPYING +504 -0
  291. data/vendor/local/share/license/mecab/AUTHORS +1 -0
  292. data/vendor/local/share/license/mecab/BSD +29 -0
  293. data/vendor/local/share/license/mecab/COPYING +4 -0
  294. data/vendor/local/share/license/mecab/GPL +340 -0
  295. data/vendor/local/share/license/mecab/LGPL +504 -0
  296. data/vendor/local/share/license/naist-jdic/AUTHORS +2 -0
  297. data/vendor/local/share/license/naist-jdic/COPYING +31 -0
  298. data/vendor/local/share/man/ja/man1/groonga.1 +1050 -45
  299. data/vendor/local/share/man/man1/groonga.1 +1174 -48
  300. metadata +62 -9
@@ -0,0 +1,148 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. % groonga-suggest-create-dataset /tmp/groonga-databases/correction query
7
+ .. database: correction
8
+
9
+ Correction
10
+ ==========
11
+
12
+ This section describes about the following correction
13
+ features:
14
+
15
+ * How it works
16
+ * How to use
17
+ * How to learn
18
+
19
+ How it works
20
+ ------------
21
+
22
+ The correction feature uses three searches to compute corrected
23
+ words:
24
+
25
+ 1. Cooccurrence search against learned data.
26
+ 2. Similar search against registered words. (optional)
27
+
28
+ Cooccurrence search
29
+ ^^^^^^^^^^^^^^^^^^^
30
+
31
+ Cooccurrence search can find registered words from user's
32
+ wrong input. It uses user submit sequences that will be
33
+ learned from query logs, access logs and so on.
34
+
35
+ For example, there are the following user submissions:
36
+
37
+ +-------------------+---------------------------+
38
+ | query | time |
39
+ +===================+===========================+
40
+ | serach (typo!) | 2011-08-10T22:20:50+09:00 |
41
+ +-------------------+---------------------------+
42
+ | search (fixed!) | 2011-08-10T22:20:52+09:00 |
43
+ +-------------------+---------------------------+
44
+
45
+ Groonga creates the following correction pair from the above
46
+ submissions:
47
+
48
+ +----------+--------------------+
49
+ | input | corrected word |
50
+ +==========+====================+
51
+ |serach |search |
52
+ +----------+--------------------+
53
+
54
+ Groonga treats continuous submissions within a minute as
55
+ input correction by user. Not submitted user input sequence
56
+ between two submissions isn't used as learned data for
57
+ correction.
58
+
59
+ If an user inputs "serach" and cooccurrence search returns
60
+ "search" because "serach" is in input column and
61
+ corresponding corrected word column value is "search".
62
+
63
+ Similar search
64
+ ^^^^^^^^^^^^^^
65
+
66
+ Similar search can find registered words that has one or
67
+ more the same tokens as user input. TokenBigram tokenizer is
68
+ used for tokenization because suggest dataset schema
69
+ created by :doc:`/executables/groonga-suggest-create-dataset`
70
+ uses TokenBigram tokenizer as the default tokenizer.
71
+
72
+ For example, there is a registered query "search engine". An
73
+ user can find "search engine" by "web search service",
74
+ "sound engine" and so on. Because "search engine" and "web
75
+ search engine" have the same token "search" and "search
76
+ engine" and "sound engine" have the same token "engine".
77
+
78
+ "search engine" is tokenized to "search" and "engine"
79
+ tokens. (Groonga's TokenBigram tokenizer doesn't tokenize
80
+ two characters for continuous alphabets and continuous
81
+ digits for reducing search
82
+ noise. TokenBigramSplitSymbolAlphaDigit tokenizer should be
83
+ used to ensure tokenizing to two characters.) "web search
84
+ service" is tokenized to "web", "search" and
85
+ "service". "sound engine" is tokenized to "sound" and
86
+ "engine".
87
+
88
+ How to use
89
+ ----------
90
+
91
+ .. groonga-command
92
+ .. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
93
+ .. [
94
+ .. {"sequence": "1", "time": 1312950803.86057, "item": "s"},
95
+ .. {"sequence": "1", "time": 1312950803.96857, "item": "sa"},
96
+ .. {"sequence": "1", "time": 1312950804.26057, "item": "sae"},
97
+ .. {"sequence": "1", "time": 1312950804.56057, "item": "saer"},
98
+ .. {"sequence": "1", "time": 1312950804.76057, "item": "saerc"},
99
+ .. {"sequence": "1", "time": 1312950805.76057, "item": "saerch", "type": "submit"},
100
+ .. {"sequence": "1", "time": 1312950809.76057, "item": "serch"},
101
+ .. {"sequence": "1", "time": 1312950810.86057, "item": "search", "type": "submit"}
102
+ .. ]
103
+
104
+ Groonga provides :doc:`/commands/suggest` command to use
105
+ correction. `--type correct` option requests corrections.
106
+
107
+ For example, here is an command to get correction results by
108
+ "saerch":
109
+
110
+ .. groonga-command
111
+ .. include:: ../example/correction-1.log
112
+ .. suggest --table item_query --column kana --types correction --frequency_threshold 1 --query saerch
113
+
114
+ How it learns
115
+ -------------
116
+
117
+ Cooccurrence search uses learned data. They are based on
118
+ query logs, access logs and so on. To create learned data,
119
+ groonga needs user submit inputs with time stamp.
120
+
121
+ For example, an user wants to search by "search" but the
122
+ user has typo "saerch" before inputs the correct query. The
123
+ user inputs the query with the following sequence:
124
+
125
+ 1. 2011-08-10T13:33:23+09:00: s
126
+ 2. 2011-08-10T13:33:23+09:00: sa
127
+ 3. 2011-08-10T13:33:24+09:00: sae
128
+ 4. 2011-08-10T13:33:24+09:00: saer
129
+ 5. 2011-08-10T13:33:24+09:00: saerc
130
+ 6. 2011-08-10T13:33:25+09:00: saerch (submit!)
131
+ 7. 2011-08-10T13:33:29+09:00: serch (correcting...)
132
+ 8. 2011-08-10T13:33:30+09:00: search (submit!)
133
+
134
+ Groonga can be learned from the input sequence by the
135
+ following command::
136
+
137
+ load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
138
+ [
139
+ {"sequence": "1", "time": 1312950803.86057, "item": "s"},
140
+ {"sequence": "1", "time": 1312950803.96857, "item": "sa"},
141
+ {"sequence": "1", "time": 1312950804.26057, "item": "sae"},
142
+ {"sequence": "1", "time": 1312950804.56057, "item": "saer"},
143
+ {"sequence": "1", "time": 1312950804.76057, "item": "saerc"},
144
+ {"sequence": "1", "time": 1312950805.76057, "item": "saerch", "type": "submit"},
145
+ {"sequence": "1", "time": 1312950809.76057, "item": "serch"},
146
+ {"sequence": "1", "time": 1312950810.86057, "item": "search", "type": "submit"}
147
+ ]
148
+
@@ -0,0 +1,94 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Introduction
6
+ ============
7
+
8
+ The suggest feature in groonga provides the following features:
9
+
10
+ * Completion
11
+ * Correction
12
+ * Suggestion
13
+
14
+ Completion
15
+ ----------
16
+
17
+ Completion helps user input. If user inputs a partial word,
18
+ groonga can return complete words from registered
19
+ words.
20
+
21
+ For example, there are registered words:
22
+
23
+ * "groonga"
24
+ * "complete"
25
+ * "correction"
26
+ * "suggest"
27
+
28
+ An user inputs "co" and groonga returns "complete" and
29
+ "correction" because they starts with "co".
30
+
31
+ An user inputs "sug" and groonga returns "suggest" because
32
+ "suggest" starts with "sug".
33
+
34
+ An user inputs "ab" and groonga returns nothing because no
35
+ word starts with "ab".
36
+
37
+ Correction
38
+ ----------
39
+
40
+ Correction also helps user input. If user inputs a wrong
41
+ word, groonga can return correct words from registered
42
+ correction pairs.
43
+
44
+ For example, there are registered correction pairs:
45
+
46
+ +------------+--------------+
47
+ | wrong word | correct word |
48
+ +============+==============+
49
+ | grroonga | groonga |
50
+ | gronga | groonga |
51
+ | gronnga | groonga |
52
+ +------------+--------------+
53
+
54
+ An user inputs "gronga" and groonga returns "groonga" because
55
+ "gronga" is in wrong word and corresponding correct word is
56
+ "groonga".
57
+
58
+ An user inputs "roonga" and groonga returns nothing because
59
+ "roonga" isn't in wrong word.
60
+
61
+ Suggestion
62
+ ----------
63
+
64
+ Suggestion helps that user filters many found documents. If
65
+ user inputs a query, groonga can return new queries that has
66
+ more additional keywords from registered related query
67
+ pairs.
68
+
69
+ For example, there are registered related query pairs:
70
+
71
+ +----------------------------+--------------------------+
72
+ | keyword | related query |
73
+ +============================+==========================+
74
+ | groonga | groonga search engine |
75
+ +----------------------------+--------------------------+
76
+ | search | Google search |
77
+ +----------------------------+--------------------------+
78
+ | speed | groonga speed |
79
+ +----------------------------+--------------------------+
80
+
81
+ An user inputs "groonga" and groonga returns "groonga search
82
+ engine" because "groonga" is in keyword column and related
83
+ query column is "groonga search engine".
84
+
85
+ An user inputs "MySQL" and groonga returns nothing because
86
+ "MySQL" isn't in keyword column values.
87
+
88
+ Learning
89
+ --------
90
+
91
+ The suggest feature requires registered data before using
92
+ the feature. Those data can be registered from user inputs.
93
+ Gronnga-suggest-httpd and groonga-suggest-learner commands
94
+ are provided for the propose.
@@ -0,0 +1,115 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ .. groonga-command
6
+ .. % groonga-suggest-create-dataset /tmp/groonga-databases/suggestion query
7
+ .. database: suggestion
8
+
9
+ Suggestion
10
+ ==========
11
+
12
+ This section describes about the following completion
13
+ features:
14
+
15
+ * How it works
16
+ * How to use
17
+ * How to learn
18
+
19
+ How it works
20
+ ------------
21
+
22
+ The suggestion feature uses a search to compute suggested
23
+ words:
24
+
25
+ 1. Cooccurrence search against learned data.
26
+
27
+ Cooccurrence search
28
+ ^^^^^^^^^^^^^^^^^^^
29
+
30
+ Cooccurrence search can find related words from user's
31
+ input. It uses user submissions that will be learned
32
+ from query logs, access logs and so on.
33
+
34
+ For example, there are the following user submissions:
35
+
36
+ +----------------------+
37
+ | query |
38
+ +======================+
39
+ | search engine |
40
+ +----------------------+
41
+ | web search realtime |
42
+ +----------------------+
43
+
44
+ Groonga creates the following suggestion pairs:
45
+
46
+ +----------+------------------------------------+
47
+ | input | suggested words |
48
+ +==========+====================================+
49
+ |search |search engine |
50
+ +----------+------------------------------------+
51
+ |engine |search engine |
52
+ +----------+------------------------------------+
53
+ |web |web search realtime |
54
+ +----------+------------------------------------+
55
+ |search |web search realtime |
56
+ +----------+------------------------------------+
57
+ |realtime |web search realtime |
58
+ +----------+------------------------------------+
59
+
60
+ Those pairs are created by the following steps:
61
+
62
+ 1. Tokenizes user input query by TokenDelimit tokenizer
63
+ that uses a space as token delimiter. (e.g. "search
64
+ engine" is tokenized to two tokens "search" and
65
+ "engine".)
66
+ 2. Creates a pair that is consists of a token and original
67
+ query for each token.
68
+
69
+ If an user inputs "search" and cooccurrence search returns
70
+ "search engine" and "web search realtime" because "search" is
71
+ in two input columns and corresponding suggested word
72
+ columns have "search engine" and "web search realtime".
73
+
74
+ How to use
75
+ ----------
76
+
77
+ .. groonga-command
78
+ .. load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
79
+ .. [
80
+ .. {"sequence": "1", "time": 1312950803.86057, "item": "search engine", "type": "submit"},
81
+ .. {"sequence": "1", "time": 1312950808.86057, "item": "web search realtime", "type": "submit"}
82
+ .. ]
83
+
84
+ Groonga provides :doc:`/commands/suggest` command to use
85
+ suggestion. `--type suggest` option requests suggestion
86
+
87
+ For example, here is an command to get suggestion results by
88
+ "search":
89
+
90
+ .. groonga-command
91
+ .. include:: ../example/suggestion-1.log
92
+ .. suggest --table item_query --column kana --types suggest --frequency_threshold 1 --query search
93
+
94
+ How it learns
95
+ -------------
96
+
97
+ Cooccurrence search uses learned data. They are based on
98
+ query logs, access logs and so on. To create learned data,
99
+ groonga needs user input sequence with time stamp and user
100
+ submit input with time stamp.
101
+
102
+ For example, an user wants to search by "engine". The user
103
+ inputs the query with the following sequence:
104
+
105
+ 1. 2011-08-10T13:33:23+09:00: search engine (submit)
106
+ 2. 2011-08-10T13:33:28+09:00: web search realtime (submit)
107
+
108
+ Groonga can be learned from the submissions by the
109
+ following command::
110
+
111
+ load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
112
+ [
113
+ {"sequence": "1", "time": 1312950803.86057, "item": "search engine", "type": "submit"},
114
+ {"sequence": "1", "time": 1312950808.86057, "item": "web search realtime", "type": "submit"}
115
+ ]
@@ -0,0 +1,8 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Tutorial
6
+ ========
7
+
8
+ TODO...
@@ -0,0 +1,22 @@
1
+ .. -*- rst -*-
2
+
3
+ .. highlightlang:: none
4
+
5
+ Suggest
6
+ =======
7
+
8
+ .. note::
9
+
10
+ The suggest feature specification isn't stable. The
11
+ specification may be changed.
12
+
13
+ Groonga has the suggest feature. This section describes how to use it and how it works.
14
+
15
+ .. toctree::
16
+ :maxdepth: 2
17
+
18
+ suggest/introduction
19
+ suggest/tutorial
20
+ suggest/completion
21
+ suggest/correction
22
+ suggest/suggestion
@@ -3,6 +3,7 @@
3
3
  .. highlightlang:: none
4
4
 
5
5
  .. groonga-command
6
+ .. database: tutorial
6
7
  .. table_remove Site
7
8
  .. table_remove Terms
8
9
 
@@ -73,7 +74,7 @@ groonga実行ファイルやgroongaサーバを介して様々なコマンドを
73
74
 
74
75
  書式2において、空白や、記号「"'()\」のうちいずれかを含む値を指定したい場合は、シングルクォート(')かダブルクォート(")で値を囲みます。
75
76
 
76
- 詳しくは、 :doc:`/execfile` のコマンドの項を参考にしてください。
77
+ 詳しくは、 :doc:`/executables/groonga` のコマンドの項を参考にしてください。
77
78
 
78
79
  主なコマンド
79
80
  ------------
@@ -103,6 +103,7 @@ div.header div.facebook-buttons
103
103
  padding-left: 10px;
104
104
  width: 320px;
105
105
  height: 90px;
106
+ overflow: hidden;
106
107
  }
107
108
 
108
109
  div.header div.other-language-links
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>1. groongaの特徴 &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>1. groongaの特徴 &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="index.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
32
32
  <link rel="next" title="2. インストール" href="install.html" />
33
33
  <link rel="prev" title="groonga ドキュメント" href="index.html" />
34
34
  </head>
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="index.html" title="groonga ドキュメント"
64
64
  accesskey="P">前へ</a> |</li>
65
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
65
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
68
68
 
@@ -174,7 +174,7 @@
174
174
  <li class="right" >
175
175
  <a href="index.html" title="groonga ドキュメント"
176
176
  >前へ</a> |</li>
177
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
177
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
178
178
  </ul>
179
179
  </div>
180
180
  <div class="footer">
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>5.2.1. コマンドバージョン &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>6.2.1. コマンドバージョン &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,10 +28,10 @@
28
28
  <script type="text/javascript" src="_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="index.html" />
32
- <link rel="up" title="5.2. コマンド" href="commands.html" />
33
- <link rel="next" title="5.2.2. cache_limit" href="commands/cache_limit.html" />
34
- <link rel="prev" title="5.2. コマンド" href="commands.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
32
+ <link rel="up" title="6.2. コマンド" href="commands.html" />
33
+ <link rel="next" title="6.2.2. cache_limit" href="commands/cache_limit.html" />
34
+ <link rel="prev" title="6.2. コマンド" href="commands.html" />
35
35
  </head>
36
36
  <body>
37
37
  <div class="header">
@@ -58,14 +58,14 @@
58
58
  <a href="genindex.html" title="総合索引"
59
59
  accesskey="I">索引</a></li>
60
60
  <li class="right" >
61
- <a href="commands/cache_limit.html" title="5.2.2. cache_limit"
61
+ <a href="commands/cache_limit.html" title="6.2.2. cache_limit"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="commands.html" title="5.2. コマンド"
64
+ <a href="commands.html" title="6.2. コマンド"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
67
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
68
- <li><a href="commands.html" accesskey="U">5.2. コマンド</a> &raquo;</li>
66
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
67
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
68
+ <li><a href="commands.html" accesskey="U">6.2. コマンド</a> &raquo;</li>
69
69
  </ul>
70
70
  </div>
71
71
 
@@ -75,16 +75,16 @@
75
75
  <div class="body">
76
76
 
77
77
  <div class="section" id="id1">
78
- <h1>5.2.1. コマンドバージョン<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
+ <h1>6.2.1. コマンドバージョン<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
79
  <div class="section" id="id2">
80
- <h2>5.2.1.1. 概要<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
+ <h2>6.2.1.1. 概要<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
81
  <p>groonga1.1からコマンドバージョンという概念が導入されます。コマンドバージョンは、selectやloadなどのgroongaのコマンドの仕様の互換性を表します。groongaパッケージのバージョンが新しくなったとしても、同一のコマンドバージョンが使用可能であるなら、すべてのコマンドについて互換性が保証されます。コマンドバージョンが異なれば、同じ名前のコマンドであっても、動作に互換性がない可能性があります。</p>
82
82
  <p>あるバージョンのgroongaは、二つのコマンドバージョンを同時にサポートするようになります。
83
83
  使用するコマンドバージョンは、groongaを起動する際のコマンドラインオプションないしコンフィグファイルにdefault-commnad-versionパラメータを与えることによって指定できます。また、個々のコマンドを実行する際に、command_versionパラメータを与えることによっても指定することができます。</p>
84
84
  <p>コマンドバージョンは1からはじまり、更新されるたびに1ずつ大きくなります。現状のgroongaのコマンドの仕様はcommand-version 1という扱いになります。次回提供するgroongaは、command-version 1とcommand-version 2の二つをサポートすることになります。</p>
85
85
  </div>
86
86
  <div class="section" id="id3">
87
- <h2>5.2.1.2. バージョンの位置づけ<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
87
+ <h2>6.2.1.2. バージョンの位置づけ<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
88
88
  <p>あるバージョンのgroongaにおいてサポートされるコマンドバージョンは、develop, stable,deprecatedのいずれかの位置づけとなります。</p>
89
89
  <dl class="docutils">
90
90
  <dt>develop</dt>
@@ -109,10 +109,10 @@ groonga1.5: command-version3=stable command-version4=develop
109
109
  <p>groongaプロセス起動時に、default-command-versionパラメータにstable扱いでないコマンドバージョンを指定した場合には、警告メッセージがログファイルに出力されます。また、サポート範囲外のコマンドバージョンを指定した場合にはエラーとなり、プロセスは速やかに停止します。</p>
110
110
  </div>
111
111
  <div class="section" id="id4">
112
- <h2>5.2.1.3. コマンドバージョンの指定方法<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
112
+ <h2>6.2.1.3. コマンドバージョンの指定方法<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
113
113
  <p>コマンドバージョンの指定方法はgroonga実行モジュールの引数として指定する方法と各コマンドの引数として指定する方法があります。</p>
114
114
  <div class="section" id="default-command-version">
115
- <h3>5.2.1.3.1. default-command-versionパラメータ<a class="headerlink" href="#default-command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
115
+ <h3>6.2.1.3.1. default-command-versionパラメータ<a class="headerlink" href="#default-command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
116
116
  <p>groonga実行モジュールの引数としてdefault-command-versionパラメータを指定できます。
117
117
  (configファイルの中に指定することも可能です)</p>
118
118
  <p>実行例:</p>
@@ -122,7 +122,7 @@ groonga1.5: command-version3=stable command-version4=develop
122
122
  <p>そのプロセスで実行するすべてのコマンドについて、デフォルトのコマンドバージョンとして指定されたバージョンを使用します。指定されたコマンドバージョンがstableであった場合にはなんのメッセージも表示されずそのまま起動します。指定されたコマンドバージョンがdevelopあるいはdeprecatedであった場合には、groonga.logファイルに警告メッセージを出力します。指定されたコマンドバージョンがサポート対象外であった場合には標準エラー出力にエラーメッセージを出力し、プロセスは速やかに終了します。</p>
123
123
  </div>
124
124
  <div class="section" id="command-version">
125
- <h3>5.2.1.3.2. command_versionパラメータ<a class="headerlink" href="#command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
125
+ <h3>6.2.1.3.2. command_versionパラメータ<a class="headerlink" href="#command-version" title="このヘッドラインへのパーマリンク">¶</a></h3>
126
126
  <p>select,loadなどのすべてのgroongaコマンドにcommand_versionが指定できます。</p>
127
127
  <p>実行例:</p>
128
128
  <div class="highlight-none"><div class="highlight"><pre>select --command_version 1 --table tablename
@@ -141,12 +141,12 @@ groonga1.5: command-version3=stable command-version4=develop
141
141
  <div class="sphinxsidebarwrapper">
142
142
  <h3><a href="index.html">目次</a></h3>
143
143
  <ul>
144
- <li><a class="reference internal" href="#">5.2.1. コマンドバージョン</a><ul>
145
- <li><a class="reference internal" href="#id2">5.2.1.1. 概要</a></li>
146
- <li><a class="reference internal" href="#id3">5.2.1.2. バージョンの位置づけ</a></li>
147
- <li><a class="reference internal" href="#id4">5.2.1.3. コマンドバージョンの指定方法</a><ul>
148
- <li><a class="reference internal" href="#default-command-version">5.2.1.3.1. default-command-versionパラメータ</a></li>
149
- <li><a class="reference internal" href="#command-version">5.2.1.3.2. command_versionパラメータ</a></li>
144
+ <li><a class="reference internal" href="#">6.2.1. コマンドバージョン</a><ul>
145
+ <li><a class="reference internal" href="#id2">6.2.1.1. 概要</a></li>
146
+ <li><a class="reference internal" href="#id3">6.2.1.2. バージョンの位置づけ</a></li>
147
+ <li><a class="reference internal" href="#id4">6.2.1.3. コマンドバージョンの指定方法</a><ul>
148
+ <li><a class="reference internal" href="#default-command-version">6.2.1.3.1. default-command-versionパラメータ</a></li>
149
+ <li><a class="reference internal" href="#command-version">6.2.1.3.2. command_versionパラメータ</a></li>
150
150
  </ul>
151
151
  </li>
152
152
  </ul>
@@ -155,10 +155,10 @@ groonga1.5: command-version3=stable command-version4=develop
155
155
 
156
156
  <h4>前のトピックへ</h4>
157
157
  <p class="topless"><a href="commands.html"
158
- title="前の章へ">5.2. コマンド</a></p>
158
+ title="前の章へ">6.2. コマンド</a></p>
159
159
  <h4>次のトピックへ</h4>
160
160
  <p class="topless"><a href="commands/cache_limit.html"
161
- title="次の章へ">5.2.2. cache_limit</a></p>
161
+ title="次の章へ">6.2.2. cache_limit</a></p>
162
162
  <h3>このページ</h3>
163
163
  <ul class="this-page-menu">
164
164
  <li><a href="_sources/command_version.txt"
@@ -188,14 +188,14 @@ groonga1.5: command-version3=stable command-version4=develop
188
188
  <a href="genindex.html" title="総合索引"
189
189
  >索引</a></li>
190
190
  <li class="right" >
191
- <a href="commands/cache_limit.html" title="5.2.2. cache_limit"
191
+ <a href="commands/cache_limit.html" title="6.2.2. cache_limit"
192
192
  >次へ</a> |</li>
193
193
  <li class="right" >
194
- <a href="commands.html" title="5.2. コマンド"
194
+ <a href="commands.html" title="6.2. コマンド"
195
195
  >前へ</a> |</li>
196
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
197
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
198
- <li><a href="commands.html" >5.2. コマンド</a> &raquo;</li>
196
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
197
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
198
+ <li><a href="commands.html" >6.2. コマンド</a> &raquo;</li>
199
199
  </ul>
200
200
  </div>
201
201
  <div class="footer">