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.19. status &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.2.19. status &mdash; groonga v1.2.5 documentation</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
@@ -27,10 +27,10 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v1.2.4 documentation" href="../index.html" />
31
- <link rel="up" title="5.2. コマンド" href="../commands.html" />
32
- <link rel="next" title="5.2.20. suggest" href="suggest.html" />
33
- <link rel="prev" title="5.2.18. shutdown" href="shutdown.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="6.2. コマンド" href="../commands.html" />
32
+ <link rel="next" title="6.2.20. suggest" href="suggest.html" />
33
+ <link rel="prev" title="6.2.18. shutdown" href="shutdown.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,14 +57,14 @@
57
57
  <a href="../genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="suggest.html" title="5.2.20. suggest"
60
+ <a href="suggest.html" title="6.2.20. suggest"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="shutdown.html" title="5.2.18. shutdown"
63
+ <a href="shutdown.html" title="6.2.18. shutdown"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
66
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
67
- <li><a href="../commands.html" accesskey="U">5.2. コマンド</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
67
+ <li><a href="../commands.html" accesskey="U">6.2. コマンド</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,30 +74,30 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="status">
77
- <h1>5.2.19. status<a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h1>
77
+ <h1>6.2.19. status<a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h1>
78
78
  <div class="section" id="id1">
79
- <h2>5.2.19.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
79
+ <h2>6.2.19.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
80
80
  <p>status - groongaプロセスの状態表示</p>
81
81
  </div>
82
82
  <div class="section" id="id2">
83
- <h2>5.2.19.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
83
+ <h2>6.2.19.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
84
84
  <div class="highlight-none"><div class="highlight"><pre>status
85
85
  </pre></div>
86
86
  </div>
87
87
  </div>
88
88
  <div class="section" id="id3">
89
- <h2>5.2.19.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
89
+ <h2>6.2.19.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
90
90
  <p>groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
91
91
  <p>statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。</p>
92
92
  </div>
93
93
  <div class="section" id="id4">
94
- <h2>5.2.19.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
94
+ <h2>6.2.19.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
95
95
  <p>ありません。</p>
96
96
  </div>
97
97
  <div class="section" id="id5">
98
- <h2>5.2.19.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
98
+ <h2>6.2.19.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
99
99
  <div class="section" id="json">
100
- <h3>5.2.19.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
100
+ <h3>6.2.19.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
101
101
  <div class="highlight-none"><div class="highlight"><pre>下記の項目がハッシュ形式で出力されます。
102
102
 
103
103
  ``alloc_count``
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
  </div>
118
118
  <div class="section" id="id6">
119
- <h2>5.2.19.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
119
+ <h2>6.2.19.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
120
120
  <div class="highlight-none"><div class="highlight"><pre>status
121
121
  {&quot;alloc_count&quot;:104,
122
122
  &quot;starttime&quot;:1268213679,
@@ -134,26 +134,26 @@
134
134
  <div class="sphinxsidebarwrapper">
135
135
  <h3><a href="../index.html">Table Of Contents</a></h3>
136
136
  <ul>
137
- <li><a class="reference internal" href="#">5.2.19. status</a><ul>
138
- <li><a class="reference internal" href="#id1">5.2.19.1. 名前</a></li>
139
- <li><a class="reference internal" href="#id2">5.2.19.2. 書式</a></li>
140
- <li><a class="reference internal" href="#id3">5.2.19.3. 説明</a></li>
141
- <li><a class="reference internal" href="#id4">5.2.19.4. 引数</a></li>
142
- <li><a class="reference internal" href="#id5">5.2.19.5. 返値</a><ul>
143
- <li><a class="reference internal" href="#json">5.2.19.5.1. json形式</a></li>
137
+ <li><a class="reference internal" href="#">6.2.19. status</a><ul>
138
+ <li><a class="reference internal" href="#id1">6.2.19.1. 名前</a></li>
139
+ <li><a class="reference internal" href="#id2">6.2.19.2. 書式</a></li>
140
+ <li><a class="reference internal" href="#id3">6.2.19.3. 説明</a></li>
141
+ <li><a class="reference internal" href="#id4">6.2.19.4. 引数</a></li>
142
+ <li><a class="reference internal" href="#id5">6.2.19.5. 返値</a><ul>
143
+ <li><a class="reference internal" href="#json">6.2.19.5.1. json形式</a></li>
144
144
  </ul>
145
145
  </li>
146
- <li><a class="reference internal" href="#id6">5.2.19.6. 例</a></li>
146
+ <li><a class="reference internal" href="#id6">6.2.19.6. 例</a></li>
147
147
  </ul>
148
148
  </li>
149
149
  </ul>
150
150
 
151
151
  <h4>Previous topic</h4>
152
152
  <p class="topless"><a href="shutdown.html"
153
- title="previous chapter">5.2.18. shutdown</a></p>
153
+ title="previous chapter">6.2.18. shutdown</a></p>
154
154
  <h4>Next topic</h4>
155
155
  <p class="topless"><a href="suggest.html"
156
- title="next chapter">5.2.20. suggest</a></p>
156
+ title="next chapter">6.2.20. suggest</a></p>
157
157
  <h3>This Page</h3>
158
158
  <ul class="this-page-menu">
159
159
  <li><a href="../_sources/commands/status.txt"
@@ -183,14 +183,14 @@
183
183
  <a href="../genindex.html" title="General Index"
184
184
  >index</a></li>
185
185
  <li class="right" >
186
- <a href="suggest.html" title="5.2.20. suggest"
186
+ <a href="suggest.html" title="6.2.20. suggest"
187
187
  >next</a> |</li>
188
188
  <li class="right" >
189
- <a href="shutdown.html" title="5.2.18. shutdown"
189
+ <a href="shutdown.html" title="6.2.18. shutdown"
190
190
  >previous</a> |</li>
191
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
192
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
193
- <li><a href="../commands.html" >5.2. コマンド</a> &raquo;</li>
191
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
192
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
193
+ <li><a href="../commands.html" >6.2. コマンド</a> &raquo;</li>
194
194
  </ul>
195
195
  </div>
196
196
  <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.20. suggest &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.2.20. suggest &mdash; groonga v1.2.5 documentation</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
@@ -27,10 +27,10 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v1.2.4 documentation" href="../index.html" />
31
- <link rel="up" title="5.2. コマンド" href="../commands.html" />
32
- <link rel="next" title="5.2.21. table_create" href="table_create.html" />
33
- <link rel="prev" title="5.2.19. status" href="status.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="6.2. コマンド" href="../commands.html" />
32
+ <link rel="next" title="6.2.21. table_create" href="table_create.html" />
33
+ <link rel="prev" title="6.2.19. status" href="status.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,14 +57,14 @@
57
57
  <a href="../genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="table_create.html" title="5.2.21. table_create"
60
+ <a href="table_create.html" title="6.2.21. table_create"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="status.html" title="5.2.19. status"
63
+ <a href="status.html" title="6.2.19. status"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
66
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
67
- <li><a href="../commands.html" accesskey="U">5.2. コマンド</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
67
+ <li><a href="../commands.html" accesskey="U">6.2. コマンド</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,68 +74,252 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="suggest">
77
- <h1>5.2.20. suggest<a class="headerlink" href="#suggest" title="Permalink to this headline">¶</a></h1>
78
- <p>** 未だ仕様は確定しておりません。利用のためには特定のデータを持つテーブルが必要となります。 **</p>
79
- <div class="section" id="id1">
80
- <h2>5.2.20.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
81
- <p>suggest - 指定したクエリに対する補完・修正・提案を行う。</p>
82
- </div>
83
- <div class="section" id="id2">
84
- <h2>5.2.20.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
85
- <div class="highlight-none"><div class="highlight"><pre>suggest types table column query
77
+ <h1>6.2.20. suggest<a class="headerlink" href="#suggest" title="Permalink to this headline">¶</a></h1>
78
+ <div class="admonition note">
79
+ <p class="first admonition-title">Note</p>
80
+ <p class="last">The suggest feature specification isn't stable. The
81
+ specification may be changed.</p>
82
+ </div>
83
+ <div class="section" id="name">
84
+ <h2>6.2.20.1. NAME<a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h2>
85
+ <p>suggest - returns completion, correction and/or suggestion for a query.</p>
86
+ </div>
87
+ <div class="section" id="synopsis">
88
+ <h2>6.2.20.2. SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</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]]]]]]]
86
90
  </pre></div>
87
91
  </div>
88
92
  </div>
89
- <div class="section" id="id3">
90
- <h2>5.2.20.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
91
- <p>suggestコマンドは、指定したクエリに対して補完・修正・提案を行います。</p>
92
- <p>補完とは、クエリの未入力・未変換部分を補うことです。修正とは、クエリ内のミスタイプや誤変換を修正することです。提案とは、さらなる絞込みを行うための候補となるクエリを提案することです。</p>
93
+ <div class="section" id="description">
94
+ <h2>6.2.20.3. DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
95
+ <p>The suggest command returns completion, correction and/or
96
+ suggestion for a specified query.</p>
97
+ <p>See <a class="reference internal" href="../suggest/introduction.html"><em>Introduction</em></a> about completion,
98
+ correction and suggestion.</p>
93
99
  </div>
94
- <div class="section" id="id4">
95
- <h2>5.2.20.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
96
- <p><tt class="docutils literal"><span class="pre">types</span></tt></p>
97
- <blockquote>
98
- <div><p>補完・修正・提案のいずれを行うかを、パイプ('|')で組み合わせたシンボル名で指定します(例: correct|suggest)</p>
99
- <p><tt class="docutils literal"><span class="pre">complete</span></tt></p>
100
+ <div class="section" id="options">
101
+ <h2>6.2.20.4. OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
102
+ <dl class="docutils">
103
+ <dt><tt class="docutils literal"><span class="pre">types</span></tt></dt>
104
+ <dd><p class="first">It specifies what types are returned by the suggest
105
+ command.</p>
106
+ <p>Here are available types:</p>
100
107
  <blockquote>
101
- <div>補完を行います。</div></blockquote>
102
- <p><tt class="docutils literal"><span class="pre">correct</span></tt></p>
108
+ <div><dl class="docutils">
109
+ <dt><tt class="docutils literal"><span class="pre">complete</span></tt></dt>
110
+ <dd>The suggest command does completion.</dd>
111
+ <dt><tt class="docutils literal"><span class="pre">correct</span></tt></dt>
112
+ <dd>The suggest command does correction.</dd>
113
+ <dt><tt class="docutils literal"><span class="pre">suggest</span></tt></dt>
114
+ <dd>The suggest command does suggestion.</dd>
115
+ </dl>
116
+ </div></blockquote>
117
+ <p>You can specify one or more types separated by <tt class="docutils literal"><span class="pre">|</span></tt>.
118
+ Here are examples:</p>
119
+ <blockquote class="last">
120
+ <div><p>It returns correction:</p>
121
+ <div class="highlight-none"><div class="highlight"><pre>correct
122
+ </pre></div>
123
+ </div>
124
+ <p>It returns correction and suggestion:</p>
125
+ <div class="highlight-none"><div class="highlight"><pre>correct|suggest
126
+ </pre></div>
127
+ </div>
128
+ <p>It returns complete, correction and suggestion:</p>
129
+ <div class="highlight-none"><div class="highlight"><pre>complete|correct|suggest
130
+ </pre></div>
131
+ </div>
132
+ </div></blockquote>
133
+ </dd>
134
+ <dt><tt class="docutils literal"><span class="pre">table</span></tt></dt>
135
+ <dd><p class="first">It specifies table name that has <tt class="docutils literal"><span class="pre">item_${DATA_SET_NAME}`</span> <span class="pre">format.</span>
136
+ <span class="pre">For</span> <span class="pre">example,</span> <span class="pre">``item_query</span></tt> is a table name if you created
137
+ dataset by the following command:</p>
138
+ <div class="last highlight-none"><div class="highlight"><pre>groonga-suggest-create-dataset /tmp/db-path query
139
+ </pre></div>
140
+ </div>
141
+ </dd>
142
+ <dt><tt class="docutils literal"><span class="pre">column</span></tt></dt>
143
+ <dd>It specifies a column name that has furigana in
144
+ Katakana in <tt class="docutils literal"><span class="pre">table</span></tt> table.</dd>
145
+ <dt><tt class="docutils literal"><span class="pre">query</span></tt></dt>
146
+ <dd>It specifies query for completion, correction and/or
147
+ suggestion.</dd>
148
+ <dt><tt class="docutils literal"><span class="pre">sortby</span></tt></dt>
149
+ <dd><p class="first">It specifies sort key.</p>
150
+ <dl class="last docutils">
151
+ <dt>Default:</dt>
152
+ <dd><tt class="docutils literal"><span class="pre">-_score</span></tt></dd>
153
+ </dl>
154
+ </dd>
155
+ <dt><tt class="docutils literal"><span class="pre">output_columns</span></tt></dt>
156
+ <dd><p class="first">It specifies output columns.</p>
157
+ <dl class="last docutils">
158
+ <dt>Default:</dt>
159
+ <dd><tt class="docutils literal"><span class="pre">_key,_score</span></tt></dd>
160
+ </dl>
161
+ </dd>
162
+ <dt><tt class="docutils literal"><span class="pre">offset</span></tt></dt>
163
+ <dd><p class="first">It specifies returned records offset.</p>
164
+ <dl class="last docutils">
165
+ <dt>Default:</dt>
166
+ <dd><tt class="docutils literal"><span class="pre">0</span></tt></dd>
167
+ </dl>
168
+ </dd>
169
+ <dt><tt class="docutils literal"><span class="pre">limit</span></tt></dt>
170
+ <dd><p class="first">It specifies number of returned records.</p>
171
+ <dl class="last docutils">
172
+ <dt>Default:</dt>
173
+ <dd><tt class="docutils literal"><span class="pre">10</span></tt></dd>
174
+ </dl>
175
+ </dd>
176
+ <dt><tt class="docutils literal"><span class="pre">frequency_threshold</span></tt></dt>
177
+ <dd><p class="first">It specifies threshold for item frequency. Returned records must have
178
+ <tt class="docutils literal"><span class="pre">_score</span></tt> that is greater than or equal to <tt class="docutils literal"><span class="pre">frequency_threshold</span></tt>.</p>
179
+ <dl class="last docutils">
180
+ <dt>Default:</dt>
181
+ <dd><tt class="docutils literal"><span class="pre">100</span></tt></dd>
182
+ </dl>
183
+ </dd>
184
+ </dl>
185
+ <p><tt class="docutils literal"><span class="pre">conditional_probability_threshold</span></tt></p>
103
186
  <blockquote>
104
- <div>修正を行います。</div></blockquote>
105
- <p><tt class="docutils literal"><span class="pre">suggest</span></tt></p>
187
+ <div><p>It specifies threshold for conditional
188
+ probability. Conditional probability is used for learned
189
+ data. It is probability of query submission when <tt class="docutils literal"><span class="pre">query</span></tt>
190
+ is occurred. Returned records must have conditional
191
+ probability that is greater than or equal to
192
+ <tt class="docutils literal"><span class="pre">conditional_probability_threshold</span></tt>.</p>
193
+ <dl class="docutils">
194
+ <dt>Default:</dt>
195
+ <dd><tt class="docutils literal"><span class="pre">0.2</span></tt></dd>
196
+ </dl>
197
+ </div></blockquote>
198
+ <dl class="docutils">
199
+ <dt><tt class="docutils literal"><span class="pre">prefix_search</span></tt></dt>
200
+ <dd><p class="first">It specifies whether optional prefix search is used or not
201
+ in completion.</p>
202
+ <p>Here are available values:</p>
106
203
  <blockquote>
107
- <div>提案を行います。</div></blockquote>
204
+ <div><dl class="docutils">
205
+ <dt><tt class="docutils literal"><span class="pre">yes</span></tt></dt>
206
+ <dd>Prefix search is always used.</dd>
207
+ <dt><tt class="docutils literal"><span class="pre">no</span></tt></dt>
208
+ <dd>Prefix search is never used.</dd>
209
+ <dt><tt class="docutils literal"><span class="pre">auto</span></tt></dt>
210
+ <dd>Prefix search is used only when other search can't
211
+ find any records.</dd>
212
+ </dl>
108
213
  </div></blockquote>
109
- <p><tt class="docutils literal"><span class="pre">table</span></tt></p>
214
+ <dl class="last docutils">
215
+ <dt>Default:</dt>
216
+ <dd><tt class="docutils literal"><span class="pre">auto</span></tt></dd>
217
+ </dl>
218
+ </dd>
219
+ </dl>
220
+ </div>
221
+ <div class="section" id="return-value">
222
+ <h2>6.2.20.5. RETURN VALUE<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
223
+ <div class="section" id="json-format">
224
+ <h3>6.2.20.5.1. JSON format<a class="headerlink" href="#json-format" title="Permalink to this headline">¶</a></h3>
225
+ <p>Here is a returned JSON format:</p>
226
+ <div class="highlight-none"><div class="highlight"><pre>{&quot;type1&quot;: [[&quot;candidate1&quot;, score of candidate1],
227
+ [&quot;candidate2&quot;, score of candidate2],
228
+ ...],
229
+ &quot;type2&quot;: [[&quot;candidate1&quot;, score of candidate1],
230
+ [&quot;candidate2&quot;, score of candidate2],
231
+ ...],
232
+ ...}
233
+ </pre></div>
234
+ </div>
235
+ <p><tt class="docutils literal"><span class="pre">type</span></tt></p>
110
236
  <blockquote>
111
- <div>基礎となるデータが格納されているテーブル名を指定します。</div></blockquote>
112
- <p><tt class="docutils literal"><span class="pre">column</span></tt></p>
237
+ <div>A type specified by <tt class="docutils literal"><span class="pre">types</span></tt>.</div></blockquote>
238
+ <p><tt class="docutils literal"><span class="pre">candidate</span></tt></p>
113
239
  <blockquote>
114
- <div>基礎となるデータが格納されているテーブルにおいて、「ヨミガナ」が格納されているカラム名を指定します。</div></blockquote>
115
- <p><tt class="docutils literal"><span class="pre">query</span></tt></p>
240
+ <div>A candidate for completion, correction or suggestion.</div></blockquote>
241
+ <p><tt class="docutils literal"><span class="pre">score</span> <span class="pre">of</span> <span class="pre">candidate</span></tt></p>
116
242
  <blockquote>
117
- <div>補完・修正・提案の対象となるクエリを指定します。</div></blockquote>
243
+ <div>A score of corresponding <tt class="docutils literal"><span class="pre">candidate</span></tt>. It means that
244
+ higher score candidate is more likely candidate for
245
+ completion, correction or suggestion. Returned candidates
246
+ are sorted by <tt class="docutils literal"><span class="pre">score</span> <span class="pre">of</span> <span class="pre">candidate</span></tt> descending by
247
+ default.</div></blockquote>
118
248
  </div>
119
- <div class="section" id="id5">
120
- <h2>5.2.20.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
121
- <div class="section" id="json">
122
- <h3>5.2.20.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
123
- <div class="highlight-none"><div class="highlight"><pre>{&quot;タイプ1&quot;:[[&quot;候補1&quot;, 候補1のスコア], [&quot;候補2&quot;, 候補2のスコア], ...], ...}
124
-
125
- ``タイプ``
126
-
127
- types引数に指定した値。
128
-
129
- ``候補``
130
-
131
- 補完・修正・提案の候補。
132
-
133
- ``候補のスコア``
134
-
135
- 補完・修正・提案として優れたものほど高くなる数値。結果は、スコア順にソートされている。
249
+ </div>
250
+ <div class="section" id="example">
251
+ <h2>6.2.20.6. EXAMPLE<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
252
+ <p>Here are learned data for completion.</p>
253
+ <p>Execution example:</p>
254
+ <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;
255
+ &gt; [
256
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;e&quot;},
257
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.96857, &quot;item&quot;: &quot;en&quot;},
258
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.26057, &quot;item&quot;: &quot;eng&quot;},
259
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.56057, &quot;item&quot;: &quot;engi&quot;},
260
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.76057, &quot;item&quot;: &quot;engin&quot;},
261
+ &gt; {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950805.86057, &quot;item&quot;: &quot;engine&quot;, &quot;type&quot;: &quot;submit&quot;}
262
+ &gt; ]
263
+ [[0,1313562872.82845,1.577141877],6]
264
+ </pre></div>
265
+ </div>
266
+ <p>Here are learned data for correction.</p>
267
+ <p>Execution example:</p>
268
+ <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;
269
+ &gt; [
270
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;s&quot;},
271
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950803.96857, &quot;item&quot;: &quot;sa&quot;},
272
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.26057, &quot;item&quot;: &quot;sae&quot;},
273
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.56057, &quot;item&quot;: &quot;saer&quot;},
274
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950804.76057, &quot;item&quot;: &quot;saerc&quot;},
275
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950805.76057, &quot;item&quot;: &quot;saerch&quot;, &quot;type&quot;: &quot;submit&quot;},
276
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950809.76057, &quot;item&quot;: &quot;serch&quot;},
277
+ &gt; {&quot;sequence&quot;: &quot;2&quot;, &quot;time&quot;: 1312950810.86057, &quot;item&quot;: &quot;search&quot;, &quot;type&quot;: &quot;submit&quot;}
278
+ &gt; ]
279
+ [[0,1313562874.6075,2.004191545],8]
280
+ </pre></div>
281
+ </div>
282
+ <p>Here are learned data for suggestion.</p>
283
+ <p>Execution example:</p>
284
+ <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;
285
+ &gt; [
286
+ &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;},
287
+ &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;}
288
+ &gt; ]
289
+ [[0,1313562876.81305,0.801821271],2]
136
290
  </pre></div>
137
291
  </div>
292
+ <p>Here is a completion example.</p>
293
+ <p>Execution example:</p>
294
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types complete --threshold 1 --query en
295
+ [[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]]}]
296
+ </pre></div>
297
+ </div>
298
+ <p>Here is a correction example.</p>
299
+ <p>Execution example:</p>
300
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types correct --threshold 1 --query saerch
301
+ [[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]]}]
302
+ </pre></div>
303
+ </div>
304
+ <p>Here is a suggestion example.</p>
305
+ <p>Execution example:</p>
306
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types suggest --threshold 1 --query search
307
+ [[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]]}]
308
+ </pre></div>
138
309
  </div>
310
+ <p>Here is a mixed example.</p>
311
+ <p>Execution example:</p>
312
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types complete|correct|suggest --threshold 1 --query search
313
+ [[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]]}]
314
+ </pre></div>
315
+ </div>
316
+ </div>
317
+ <div class="section" id="see-also">
318
+ <h2>6.2.20.7. SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
319
+ <ul class="simple">
320
+ <li><a class="reference internal" href="../suggest.html"><em>Suggest</em></a></li>
321
+ <li><a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a></li>
322
+ </ul>
139
323
  </div>
140
324
  </div>
141
325
 
@@ -147,25 +331,27 @@
147
331
  <div class="sphinxsidebarwrapper">
148
332
  <h3><a href="../index.html">Table Of Contents</a></h3>
149
333
  <ul>
150
- <li><a class="reference internal" href="#">5.2.20. suggest</a><ul>
151
- <li><a class="reference internal" href="#id1">5.2.20.1. 名前</a></li>
152
- <li><a class="reference internal" href="#id2">5.2.20.2. 書式</a></li>
153
- <li><a class="reference internal" href="#id3">5.2.20.3. 説明</a></li>
154
- <li><a class="reference internal" href="#id4">5.2.20.4. 引数</a></li>
155
- <li><a class="reference internal" href="#id5">5.2.20.5. 返値</a><ul>
156
- <li><a class="reference internal" href="#json">5.2.20.5.1. json形式</a></li>
334
+ <li><a class="reference internal" href="#">6.2.20. suggest</a><ul>
335
+ <li><a class="reference internal" href="#name">6.2.20.1. NAME</a></li>
336
+ <li><a class="reference internal" href="#synopsis">6.2.20.2. SYNOPSIS</a></li>
337
+ <li><a class="reference internal" href="#description">6.2.20.3. DESCRIPTION</a></li>
338
+ <li><a class="reference internal" href="#options">6.2.20.4. OPTIONS</a></li>
339
+ <li><a class="reference internal" href="#return-value">6.2.20.5. RETURN VALUE</a><ul>
340
+ <li><a class="reference internal" href="#json-format">6.2.20.5.1. JSON format</a></li>
157
341
  </ul>
158
342
  </li>
343
+ <li><a class="reference internal" href="#example">6.2.20.6. EXAMPLE</a></li>
344
+ <li><a class="reference internal" href="#see-also">6.2.20.7. SEE ALSO</a></li>
159
345
  </ul>
160
346
  </li>
161
347
  </ul>
162
348
 
163
349
  <h4>Previous topic</h4>
164
350
  <p class="topless"><a href="status.html"
165
- title="previous chapter">5.2.19. status</a></p>
351
+ title="previous chapter">6.2.19. status</a></p>
166
352
  <h4>Next topic</h4>
167
353
  <p class="topless"><a href="table_create.html"
168
- title="next chapter">5.2.21. table_create</a></p>
354
+ title="next chapter">6.2.21. table_create</a></p>
169
355
  <h3>This Page</h3>
170
356
  <ul class="this-page-menu">
171
357
  <li><a href="../_sources/commands/suggest.txt"
@@ -195,14 +381,14 @@
195
381
  <a href="../genindex.html" title="General Index"
196
382
  >index</a></li>
197
383
  <li class="right" >
198
- <a href="table_create.html" title="5.2.21. table_create"
384
+ <a href="table_create.html" title="6.2.21. table_create"
199
385
  >next</a> |</li>
200
386
  <li class="right" >
201
- <a href="status.html" title="5.2.19. status"
387
+ <a href="status.html" title="6.2.19. status"
202
388
  >previous</a> |</li>
203
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
204
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
205
- <li><a href="../commands.html" >5.2. コマンド</a> &raquo;</li>
389
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
390
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
391
+ <li><a href="../commands.html" >6.2. コマンド</a> &raquo;</li>
206
392
  </ul>
207
393
  </div>
208
394
  <div class="footer">