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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -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.20. suggest &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>6.2.20. suggest &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.21. table_create" href="table_create.html" />
34
- <link rel="prev" title="5.2.19. status" href="status.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.21. table_create" href="table_create.html" />
34
+ <link rel="prev" title="6.2.19. status" href="status.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="table_create.html" title="5.2.21. table_create"
61
+ <a href="table_create.html" title="6.2.21. table_create"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="status.html" title="5.2.19. status"
64
+ <a href="status.html" title="6.2.19. status"
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,68 +75,231 @@
75
75
  <div class="body">
76
76
 
77
77
  <div class="section" id="suggest">
78
- <h1>5.2.20. suggest<a class="headerlink" href="#suggest" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
- <p>** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必要となります。 **</p>
80
- <div class="section" id="id1">
81
- <h2>5.2.20.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
82
- <p>suggest - 指定したクエリに対する補完・修正・提案を行う。</p>
83
- </div>
84
- <div class="section" id="id2">
85
- <h2>5.2.20.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
86
- <div class="highlight-none"><div class="highlight"><pre>suggest types table column query
78
+ <h1>6.2.20. suggest<a class="headerlink" href="#suggest" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
+ <div class="admonition note">
80
+ <p class="first admonition-title">ノート</p>
81
+ <p class="last">サジェスト機能の仕様はまだ確定していません。仕様は変更される可能性があります。</p>
82
+ </div>
83
+ <div class="section" id="name">
84
+ <h2>6.2.20.1. 名前<a class="headerlink" href="#name" title="このヘッドラインへのパーマリンク">¶</a></h2>
85
+ <p>suggest - 指定されたクエリに対する補完・補正・提案候補を返す。</p>
86
+ </div>
87
+ <div class="section" id="synopsis">
88
+ <h2>6.2.20.2. 書式<a class="headerlink" href="#synopsis" title="このヘッドラインへのパーマリンク">¶</a></h2>
89
+ <div class="highlight-none"><div class="highlight"><pre>suggest types table column query [sortby [output_columns [offset [limit [frequency_threshold [conditional_probability_threshold [prefix_search]]]]]]]
87
90
  </pre></div>
88
91
  </div>
89
92
  </div>
90
- <div class="section" id="id3">
91
- <h2>5.2.20.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
92
- <p>suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。</p>
93
- <p>補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミスタイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補となるクエリを提案することです。</p>
93
+ <div class="section" id="description">
94
+ <h2>6.2.20.3. 説明<a class="headerlink" href="#description" title="このヘッドラインへのパーマリンク">¶</a></h2>
95
+ <p>suggestコマンドは指定されたクエリに対する補完・補正・提案候補を返します。</p>
96
+ <p>補完・補正・提案については <a class="reference internal" href="../suggest/introduction.html"><em>はじめに</em></a> を参照してください。</p>
94
97
  </div>
95
- <div class="section" id="id4">
96
- <h2>5.2.20.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
97
- <p><tt class="docutils literal"><span class="pre">types</span></tt></p>
98
- <blockquote>
99
- <div><p>補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定します(例: correct|suggest)</p>
100
- <p><tt class="docutils literal"><span class="pre">complete</span></tt></p>
98
+ <div class="section" id="options">
99
+ <h2>6.2.20.4. オプション<a class="headerlink" href="#options" title="このヘッドラインへのパーマリンク">¶</a></h2>
100
+ <dl class="docutils">
101
+ <dt><tt class="docutils literal"><span class="pre">types</span></tt></dt>
102
+ <dd><p class="first">suggestコマンドでどの種類の候補を返すかを指定します。</p>
103
+ <p>指定できる種類は以下の通りです。</p>
101
104
  <blockquote>
102
- <div>補完を行います。</div></blockquote>
103
- <p><tt class="docutils literal"><span class="pre">correct</span></tt></p>
105
+ <div><dl class="docutils">
106
+ <dt><tt class="docutils literal"><span class="pre">complete</span></tt></dt>
107
+ <dd>補完を実行します。</dd>
108
+ <dt><tt class="docutils literal"><span class="pre">correct</span></tt></dt>
109
+ <dd>補正を実行します。</dd>
110
+ <dt><tt class="docutils literal"><span class="pre">suggest</span></tt></dt>
111
+ <dd>提案を実行します。</dd>
112
+ </dl>
113
+ </div></blockquote>
114
+ <p>1つ以上の種類を指定できます。複数の種類を指定する場合は <tt class="docutils literal"><span class="pre">|</span></tt> で区切ります。以下が例です。:</p>
115
+ <blockquote class="last">
116
+ <div><p>補正候補を返します:</p>
117
+ <div class="highlight-none"><div class="highlight"><pre>correct
118
+ </pre></div>
119
+ </div>
120
+ <p>補正候補と提案候補を返します:</p>
121
+ <div class="highlight-none"><div class="highlight"><pre>correct|suggest
122
+ </pre></div>
123
+ </div>
124
+ <p>補完候補と補正候補と提案候補を返します:</p>
125
+ <div class="highlight-none"><div class="highlight"><pre>complete|correct|suggest
126
+ </pre></div>
127
+ </div>
128
+ </div></blockquote>
129
+ </dd>
130
+ <dt><tt class="docutils literal"><span class="pre">table</span></tt></dt>
131
+ <dd><p class="first"><tt class="docutils literal"><span class="pre">item_${データセット名}</span></tt> というフォーマットのテーブル名を指定します。例えば、以下のコマンドでデータセットを作成した場合はテーブル名として <tt class="docutils literal"><span class="pre">item_query</span></tt> を指定します:</p>
132
+ <div class="last highlight-none"><div class="highlight"><pre>groonga-suggest-create-dataset /tmp/db-path query
133
+ </pre></div>
134
+ </div>
135
+ </dd>
136
+ <dt><tt class="docutils literal"><span class="pre">column</span></tt></dt>
137
+ <dd><tt class="docutils literal"><span class="pre">table</span></tt> で指定したテーブルにあるふりがな情報を含むカラムを指定します。ふりがなはカタカナで指定します。</dd>
138
+ <dt><tt class="docutils literal"><span class="pre">query</span></tt></dt>
139
+ <dd>補完・補正・提案対象のクエリを指定します。</dd>
140
+ <dt><tt class="docutils literal"><span class="pre">sortby</span></tt></dt>
141
+ <dd><p class="first">ソートキーを指定します。</p>
142
+ <dl class="last docutils">
143
+ <dt>Default:</dt>
144
+ <dd><tt class="docutils literal"><span class="pre">-_score</span></tt></dd>
145
+ </dl>
146
+ </dd>
147
+ <dt><tt class="docutils literal"><span class="pre">output_columns</span></tt></dt>
148
+ <dd><p class="first">出力するカラムを指定します。</p>
149
+ <dl class="last docutils">
150
+ <dt>Default:</dt>
151
+ <dd><tt class="docutils literal"><span class="pre">_key,_score</span></tt></dd>
152
+ </dl>
153
+ </dd>
154
+ <dt><tt class="docutils literal"><span class="pre">offset</span></tt></dt>
155
+ <dd><p class="first">返されるレコードのオフセットを指定します。</p>
156
+ <dl class="last docutils">
157
+ <dt>Default:</dt>
158
+ <dd><tt class="docutils literal"><span class="pre">0</span></tt></dd>
159
+ </dl>
160
+ </dd>
161
+ <dt><tt class="docutils literal"><span class="pre">limit</span></tt></dt>
162
+ <dd><p class="first">返されるレコード数を指定します。</p>
163
+ <dl class="last docutils">
164
+ <dt>Default:</dt>
165
+ <dd><tt class="docutils literal"><span class="pre">10</span></tt></dd>
166
+ </dl>
167
+ </dd>
168
+ <dt><tt class="docutils literal"><span class="pre">frequency_threshold</span></tt></dt>
169
+ <dd><p class="first">出現頻度に対する閾値を指定します。返されるレコードの <tt class="docutils literal"><span class="pre">_score</span></tt> 値は <tt class="docutils literal"><span class="pre">frequency_threshold</span></tt> 以上になります。</p>
170
+ <dl class="last docutils">
171
+ <dt>Default:</dt>
172
+ <dd><tt class="docutils literal"><span class="pre">100</span></tt></dd>
173
+ </dl>
174
+ </dd>
175
+ </dl>
176
+ <p><tt class="docutils literal"><span class="pre">conditional_probability_threshold</span></tt></p>
104
177
  <blockquote>
105
- <div>修正を行います。</div></blockquote>
106
- <p><tt class="docutils literal"><span class="pre">suggest</span></tt></p>
178
+ <div><p>条件付き確率に対する閾値を指定します。学習データに対して条件付き確率を使います。ここで使う条件付き確率は、入力した <tt class="docutils literal"><span class="pre">query</span></tt> と同じ入力があったときにクエリが検索された確率です。返されるレコードの条件付き確率は <tt class="docutils literal"><span class="pre">conditional_probability_threshold</span></tt> 以上になります。</p>
179
+ <dl class="docutils">
180
+ <dt>Default:</dt>
181
+ <dd><tt class="docutils literal"><span class="pre">0.2</span></tt></dd>
182
+ </dl>
183
+ </div></blockquote>
184
+ <dl class="docutils">
185
+ <dt><tt class="docutils literal"><span class="pre">prefix_search</span></tt></dt>
186
+ <dd><p class="first">補完時に前方一致検索を実行するかどうかを指定します。</p>
187
+ <p>指定可能な値は以下の通りです。</p>
107
188
  <blockquote>
108
- <div>提案を行います。</div></blockquote>
189
+ <div><dl class="docutils">
190
+ <dt><tt class="docutils literal"><span class="pre">yes</span></tt></dt>
191
+ <dd>常に前方一致検索を実行します。</dd>
192
+ <dt><tt class="docutils literal"><span class="pre">no</span></tt></dt>
193
+ <dd>前方一致検索を実行しません。</dd>
194
+ <dt><tt class="docutils literal"><span class="pre">auto</span></tt></dt>
195
+ <dd>他の検索でレコードが見つからない場合のみ前方一致検索を実行します。</dd>
196
+ </dl>
109
197
  </div></blockquote>
110
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
198
+ <dl class="last docutils">
199
+ <dt>Default:</dt>
200
+ <dd><tt class="docutils literal"><span class="pre">auto</span></tt></dd>
201
+ </dl>
202
+ </dd>
203
+ </dl>
204
+ </div>
205
+ <div class="section" id="return-value">
206
+ <h2>6.2.20.5. 返値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
207
+ <div class="section" id="json-format">
208
+ <h3>6.2.20.5.1. JSON形式<a class="headerlink" href="#json-format" title="このヘッドラインへのパーマリンク">¶</a></h3>
209
+ <p>返されるJSON形式は以下の通りです:</p>
210
+ <div class="highlight-none"><div class="highlight"><pre>{&quot;type1&quot;: [[&quot;candidate1&quot;, score of candidate1],
211
+ [&quot;candidate2&quot;, score of candidate2],
212
+ ...],
213
+ &quot;type2&quot;: [[&quot;candidate1&quot;, score of candidate1],
214
+ [&quot;candidate2&quot;, score of candidate2],
215
+ ...],
216
+ ...}
217
+ </pre></div>
218
+ </div>
219
+ <p><tt class="docutils literal"><span class="pre">type</span></tt></p>
111
220
  <blockquote>
112
- <div>基礎となるデータが格納されているテーブル名を指定します。</div></blockquote>
113
- <p><tt class="docutils literal"><span class="pre">column</span></tt></p>
221
+ <div><tt class="docutils literal"><span class="pre">types</span></tt> で指定した値。</div></blockquote>
222
+ <p><tt class="docutils literal"><span class="pre">candidate</span></tt></p>
114
223
  <blockquote>
115
- <div>基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されているカラム名を指定します。</div></blockquote>
116
- <p><tt class="docutils literal"><span class="pre">query</span></tt></p>
224
+ <div>補完・補正・提案候補。</div></blockquote>
225
+ <p><tt class="docutils literal"><span class="pre">score</span> <span class="pre">of</span> <span class="pre">candidate</span></tt></p>
117
226
  <blockquote>
118
- <div>補完・修正・提案の対象となるクエリを指定します。</div></blockquote>
227
+ <div>対応する <tt class="docutils literal"><span class="pre">candidate</span></tt> のスコアです。スコアが高いほど補完・補正・提案候補として有力という意味になります。デフォルトでは候補は <tt class="docutils literal"><span class="pre">score</span> <span class="pre">of</span> <span class="pre">candidate</span></tt> の降順でソートされています。</div></blockquote>
119
228
  </div>
120
- <div class="section" id="id5">
121
- <h2>5.2.20.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
122
- <div class="section" id="json">
123
- <h3>5.2.20.5.1. json形式<a class="headerlink" href="#json" title="このヘッドラインへのパーマリンク">¶</a></h3>
124
- <div class="highlight-none"><div class="highlight"><pre>{&quot;タイプ1&quot;:[[&quot;候補1&quot;, 候補1のスコア], [&quot;候補2&quot;, 候補2のスコア], ...], ...}
125
-
126
- ``タイプ``
127
-
128
- types引数に指定した値。
129
-
130
- ``候補``
131
-
132
- 補完・修正・提案の候補。
133
-
134
- ``候補のスコア``
135
-
136
- 補完・修正・提案として優れたものほど高くなる数値。結果は、スコア順にソートされている。
229
+ </div>
230
+ <div class="section" id="example">
231
+ <h2>6.2.20.6. 例<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
232
+ <p>以下は補完用の学習データです。</p>
233
+ <p>Execution example:</p>
234
+ <div class="highlight-none"><div class="highlight"><pre>&gt; load --table event_query --each &#39;suggest_preparer(_id, type, item, sequence, time, pair_query)&#39;
235
+ &gt; [
236
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;e&quot;},
237
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.96857, &quot;item&quot;: &quot;en&quot;},
238
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.26057, &quot;item&quot;: &quot;eng&quot;},
239
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.56057, &quot;item&quot;: &quot;engi&quot;},
240
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.76057, &quot;item&quot;: &quot;engin&quot;},
241
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950805.86057, &quot;item&quot;: &quot;engine&quot;, &quot;type&quot;: &quot;submit&quot;}
242
+ &gt; ]
243
+ [[0,1313562872.82845,1.577141877],6]
244
+ </pre></div>
245
+ </div>
246
+ <p>以下は補正用の学習データです。</p>
247
+ <p>Execution example:</p>
248
+ <div class="highlight-none"><div class="highlight"><pre>&gt; load --table event_query --each &#39;suggest_preparer(_id, type, item, sequence, time, pair_query)&#39;
249
+ &gt; [
250
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;s&quot;},
251
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950803.96857, &quot;item&quot;: &quot;sa&quot;},
252
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.26057, &quot;item&quot;: &quot;sae&quot;},
253
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.56057, &quot;item&quot;: &quot;saer&quot;},
254
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.76057, &quot;item&quot;: &quot;saerc&quot;},
255
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950805.76057, &quot;item&quot;: &quot;saerch&quot;, &quot;type&quot;: &quot;submit&quot;},
256
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950809.76057, &quot;item&quot;: &quot;serch&quot;},
257
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950810.86057, &quot;item&quot;: &quot;search&quot;, &quot;type&quot;: &quot;submit&quot;}
258
+ &gt; ]
259
+ [[0,1313562874.6075,2.004191545],8]
260
+ </pre></div>
261
+ </div>
262
+ <p>以下は提案用の学習データです。</p>
263
+ <p>Execution example:</p>
264
+ <div class="highlight-none"><div class="highlight"><pre>&gt; load --table event_query --each &#39;suggest_preparer(_id, type, item, sequence, time, pair_query)&#39;
265
+ &gt; [
266
+ &gt; {&quot;sequence&quot;: &quot;3&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;search engine&quot;, &quot;type&quot;: &quot;submit&quot;},
267
+ &gt; {&quot;sequence&quot;: &quot;3&quot;, &quot;time&quot;: 1312950808.86057, &quot;item&quot;: &quot;web search realtime&quot;, &quot;type&quot;: &quot;submit&quot;}
268
+ &gt; ]
269
+ [[0,1313562876.81305,0.801821271],2]
137
270
  </pre></div>
138
271
  </div>
272
+ <p>以下は補完例です。</p>
273
+ <p>Execution example:</p>
274
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types complete --threshold 1 --query en
275
+ [[0,1313562877.81745,0.001827712],{&quot;complete&quot;:[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;engine&quot;,1]]}]
276
+ </pre></div>
277
+ </div>
278
+ <p>以下は補正例です。</p>
279
+ <p>Execution example:</p>
280
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types correct --threshold 1 --query saerch
281
+ [[0,1313562878.02203,0.000442789],{&quot;correct&quot;:[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search&quot;,1]]}]
282
+ </pre></div>
283
+ </div>
284
+ <p>以下は提案例です。</p>
285
+ <p>Execution example:</p>
286
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types suggest --threshold 1 --query search
287
+ [[0,1313562878.22422,0.000812428],{&quot;suggest&quot;:[[2],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search engine&quot;,1],[&quot;web search realtime&quot;,1]]}]
288
+ </pre></div>
139
289
  </div>
290
+ <p>以下は補完・補正・提案を混ぜた例です。</p>
291
+ <p>Execution example:</p>
292
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types complete|correct|suggest --threshold 1 --query search
293
+ [[0,1313562878.42973,0.001223259],{&quot;complete&quot;:[[2],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search&quot;,2],[&quot;search engine&quot;,2]],&quot;correct&quot;:[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search&quot;,2]],&quot;suggest&quot;:[[2],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search engine&quot;,1],[&quot;web search realtime&quot;,1]]}]
294
+ </pre></div>
295
+ </div>
296
+ </div>
297
+ <div class="section" id="see-also">
298
+ <h2>6.2.20.7. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
299
+ <ul class="simple">
300
+ <li><a class="reference internal" href="../suggest.html"><em>サジェスト</em></a></li>
301
+ <li><a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a></li>
302
+ </ul>
140
303
  </div>
141
304
  </div>
142
305
 
@@ -148,25 +311,27 @@
148
311
  <div class="sphinxsidebarwrapper">
149
312
  <h3><a href="../index.html">目次</a></h3>
150
313
  <ul>
151
- <li><a class="reference internal" href="#">5.2.20. suggest</a><ul>
152
- <li><a class="reference internal" href="#id1">5.2.20.1. 名前</a></li>
153
- <li><a class="reference internal" href="#id2">5.2.20.2. 書式</a></li>
154
- <li><a class="reference internal" href="#id3">5.2.20.3. 説明</a></li>
155
- <li><a class="reference internal" href="#id4">5.2.20.4. 引数</a></li>
156
- <li><a class="reference internal" href="#id5">5.2.20.5. 返値</a><ul>
157
- <li><a class="reference internal" href="#json">5.2.20.5.1. json形式</a></li>
314
+ <li><a class="reference internal" href="#">6.2.20. suggest</a><ul>
315
+ <li><a class="reference internal" href="#name">6.2.20.1. 名前</a></li>
316
+ <li><a class="reference internal" href="#synopsis">6.2.20.2. 書式</a></li>
317
+ <li><a class="reference internal" href="#description">6.2.20.3. 説明</a></li>
318
+ <li><a class="reference internal" href="#options">6.2.20.4. オプション</a></li>
319
+ <li><a class="reference internal" href="#return-value">6.2.20.5. 返値</a><ul>
320
+ <li><a class="reference internal" href="#json-format">6.2.20.5.1. JSON形式</a></li>
158
321
  </ul>
159
322
  </li>
323
+ <li><a class="reference internal" href="#example">6.2.20.6. 例</a></li>
324
+ <li><a class="reference internal" href="#see-also">6.2.20.7. 参考</a></li>
160
325
  </ul>
161
326
  </li>
162
327
  </ul>
163
328
 
164
329
  <h4>前のトピックへ</h4>
165
330
  <p class="topless"><a href="status.html"
166
- title="前の章へ">5.2.19. status</a></p>
331
+ title="前の章へ">6.2.19. status</a></p>
167
332
  <h4>次のトピックへ</h4>
168
333
  <p class="topless"><a href="table_create.html"
169
- title="次の章へ">5.2.21. table_create</a></p>
334
+ title="次の章へ">6.2.21. table_create</a></p>
170
335
  <h3>このページ</h3>
171
336
  <ul class="this-page-menu">
172
337
  <li><a href="../_sources/commands/suggest.txt"
@@ -196,14 +361,14 @@
196
361
  <a href="../genindex.html" title="総合索引"
197
362
  >索引</a></li>
198
363
  <li class="right" >
199
- <a href="table_create.html" title="5.2.21. table_create"
364
+ <a href="table_create.html" title="6.2.21. table_create"
200
365
  >次へ</a> |</li>
201
366
  <li class="right" >
202
- <a href="status.html" title="5.2.19. status"
367
+ <a href="status.html" title="6.2.19. status"
203
368
  >前へ</a> |</li>
204
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
205
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
206
- <li><a href="../commands.html" >5.2. コマンド</a> &raquo;</li>
369
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
370
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
371
+ <li><a href="../commands.html" >6.2. コマンド</a> &raquo;</li>
207
372
  </ul>
208
373
  </div>
209
374
  <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.21. table_create &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>6.2.21. table_create &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.22. table_list" href="table_list.html" />
34
- <link rel="prev" title="5.2.20. suggest" href="suggest.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.22. table_list" href="table_list.html" />
34
+ <link rel="prev" title="6.2.20. suggest" href="suggest.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="table_list.html" title="5.2.22. table_list"
61
+ <a href="table_list.html" title="6.2.22. table_list"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="suggest.html" title="5.2.20. suggest"
64
+ <a href="suggest.html" title="6.2.20. suggest"
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,25 +75,25 @@
75
75
  <div class="body">
76
76
 
77
77
  <div class="section" id="table-create">
78
- <h1>5.2.21. table_create<a class="headerlink" href="#table-create" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
+ <h1>6.2.21. table_create<a class="headerlink" href="#table-create" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
79
  <div class="section" id="id1">
80
- <h2>5.2.21.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
+ <h2>6.2.21.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
81
  <p>table_create - テーブルの追加</p>
82
82
  </div>
83
83
  <div class="section" id="id2">
84
- <h2>5.2.21.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
+ <h2>6.2.21.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
85
85
  <div class="highlight-none"><div class="highlight"><pre>table_create name [flags [key_type [value_type [default_tokenizer]]]]
86
86
  </pre></div>
87
87
  </div>
88
88
  </div>
89
89
  <div class="section" id="id3">
90
- <h2>5.2.21.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
+ <h2>6.2.21.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
91
91
  <p>groonga組込コマンドの一つであるtable_createについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
92
92
  <p>table_createコマンドは、使用しているデータベースに対してテーブルを追加します。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブルがありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成できます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。IDはレコードを追加した順序に従って自動的に付与されます。</p>
93
93
  <p>テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テーブルを作成した時点でいくつかの疑似カラムが使用可能になっています。</p>
94
94
  </div>
95
95
  <div class="section" id="id4">
96
- <h2>5.2.21.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
96
+ <h2>6.2.21.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
97
97
  <p><tt class="docutils literal"><span class="pre">name</span></tt></p>
98
98
  <blockquote>
99
99
  <div>作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであり、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前のテーブルは作成できません。</div></blockquote>
@@ -143,9 +143,9 @@
143
143
  </div></blockquote>
144
144
  </div>
145
145
  <div class="section" id="id5">
146
- <h2>5.2.21.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
146
+ <h2>6.2.21.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
147
147
  <div class="section" id="json">
148
- <h3>5.2.21.5.1. json形式<a class="headerlink" href="#json" title="このヘッドラインへのパーマリンク">¶</a></h3>
148
+ <h3>6.2.21.5.1. json形式<a class="headerlink" href="#json" title="このヘッドラインへのパーマリンク">¶</a></h3>
149
149
  <div class="highlight-none"><div class="highlight"><pre>[成功かどうかのフラグ]
150
150
 
151
151
  ``成功かどうかのフラグ``
@@ -156,7 +156,7 @@
156
156
  </div>
157
157
  </div>
158
158
  <div class="section" id="id6">
159
- <h2>5.2.21.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
159
+ <h2>6.2.21.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
160
160
  <p>ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。:</p>
161
161
  <div class="highlight-none"><div class="highlight"><pre>table_create Entry --key_type ShortText
162
162
  [true]
@@ -178,26 +178,26 @@
178
178
  <div class="sphinxsidebarwrapper">
179
179
  <h3><a href="../index.html">目次</a></h3>
180
180
  <ul>
181
- <li><a class="reference internal" href="#">5.2.21. table_create</a><ul>
182
- <li><a class="reference internal" href="#id1">5.2.21.1. 名前</a></li>
183
- <li><a class="reference internal" href="#id2">5.2.21.2. 書式</a></li>
184
- <li><a class="reference internal" href="#id3">5.2.21.3. 説明</a></li>
185
- <li><a class="reference internal" href="#id4">5.2.21.4. 引数</a></li>
186
- <li><a class="reference internal" href="#id5">5.2.21.5. 返値</a><ul>
187
- <li><a class="reference internal" href="#json">5.2.21.5.1. json形式</a></li>
181
+ <li><a class="reference internal" href="#">6.2.21. table_create</a><ul>
182
+ <li><a class="reference internal" href="#id1">6.2.21.1. 名前</a></li>
183
+ <li><a class="reference internal" href="#id2">6.2.21.2. 書式</a></li>
184
+ <li><a class="reference internal" href="#id3">6.2.21.3. 説明</a></li>
185
+ <li><a class="reference internal" href="#id4">6.2.21.4. 引数</a></li>
186
+ <li><a class="reference internal" href="#id5">6.2.21.5. 返値</a><ul>
187
+ <li><a class="reference internal" href="#json">6.2.21.5.1. json形式</a></li>
188
188
  </ul>
189
189
  </li>
190
- <li><a class="reference internal" href="#id6">5.2.21.6. 例</a></li>
190
+ <li><a class="reference internal" href="#id6">6.2.21.6. 例</a></li>
191
191
  </ul>
192
192
  </li>
193
193
  </ul>
194
194
 
195
195
  <h4>前のトピックへ</h4>
196
196
  <p class="topless"><a href="suggest.html"
197
- title="前の章へ">5.2.20. suggest</a></p>
197
+ title="前の章へ">6.2.20. suggest</a></p>
198
198
  <h4>次のトピックへ</h4>
199
199
  <p class="topless"><a href="table_list.html"
200
- title="次の章へ">5.2.22. table_list</a></p>
200
+ title="次の章へ">6.2.22. table_list</a></p>
201
201
  <h3>このページ</h3>
202
202
  <ul class="this-page-menu">
203
203
  <li><a href="../_sources/commands/table_create.txt"
@@ -227,14 +227,14 @@
227
227
  <a href="../genindex.html" title="総合索引"
228
228
  >索引</a></li>
229
229
  <li class="right" >
230
- <a href="table_list.html" title="5.2.22. table_list"
230
+ <a href="table_list.html" title="6.2.22. table_list"
231
231
  >次へ</a> |</li>
232
232
  <li class="right" >
233
- <a href="suggest.html" title="5.2.20. suggest"
233
+ <a href="suggest.html" title="6.2.20. suggest"
234
234
  >前へ</a> |</li>
235
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
236
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
237
- <li><a href="../commands.html" >5.2. コマンド</a> &raquo;</li>
235
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
236
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
237
+ <li><a href="../commands.html" >6.2. コマンド</a> &raquo;</li>
238
238
  </ul>
239
239
  </div>
240
240
  <div class="footer">