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
@@ -0,0 +1,286 @@
1
+
2
+
3
+
4
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+
8
+ <html xmlns="http://www.w3.org/1999/xhtml">
9
+ <head>
10
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
+
12
+ <title>5.4. Correction &mdash; groonga v1.2.5 documentation</title>
13
+
14
+ <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ var DOCUMENTATION_OPTIONS = {
19
+ URL_ROOT: '../',
20
+ VERSION: '1.2.5',
21
+ COLLAPSE_INDEX: false,
22
+ FILE_SUFFIX: '.html',
23
+ HAS_SOURCE: true
24
+ };
25
+ </script>
26
+ <script type="text/javascript" src="../_static/jquery.js"></script>
27
+ <script type="text/javascript" src="../_static/underscore.js"></script>
28
+ <script type="text/javascript" src="../_static/doctools.js"></script>
29
+ <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="5. Suggest" href="../suggest.html" />
32
+ <link rel="next" title="5.5. Suggestion" href="suggestion.html" />
33
+ <link rel="prev" title="5.3. Completion" href="completion.html" />
34
+ </head>
35
+ <body>
36
+ <div class="header">
37
+ <h1 class="title">
38
+ <a id="top-link" href="../index.html">
39
+ <span class="project">groonga</span>
40
+ <span class="separator">-</span>
41
+ <span class="description">An open-source fulltext search engine and column store.</span>
42
+ </a>
43
+ </h1>
44
+
45
+ <div class="other-language-links">
46
+ <ul>
47
+ <li><a href="../../../ja/html/suggest/correction.html"><img src="../_static/jp.png" alt="日本語"></a></li>
48
+ </ul>
49
+ </div>
50
+ </div>
51
+
52
+
53
+ <div class="related">
54
+ <h3>Navigation</h3>
55
+ <ul>
56
+ <li class="right" style="margin-right: 10px">
57
+ <a href="../genindex.html" title="General Index"
58
+ accesskey="I">index</a></li>
59
+ <li class="right" >
60
+ <a href="suggestion.html" title="5.5. Suggestion"
61
+ accesskey="N">next</a> |</li>
62
+ <li class="right" >
63
+ <a href="completion.html" title="5.3. Completion"
64
+ accesskey="P">previous</a> |</li>
65
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="../suggest.html" accesskey="U">5. Suggest</a> &raquo;</li>
67
+ </ul>
68
+ </div>
69
+
70
+ <div class="document">
71
+ <div class="documentwrapper">
72
+ <div class="bodywrapper">
73
+ <div class="body">
74
+
75
+ <div class="section" id="correction">
76
+ <h1>5.4. Correction<a class="headerlink" href="#correction" title="Permalink to this headline">¶</a></h1>
77
+ <p>This section describes about the following correction
78
+ features:</p>
79
+ <ul class="simple">
80
+ <li>How it works</li>
81
+ <li>How to use</li>
82
+ <li>How to learn</li>
83
+ </ul>
84
+ <div class="section" id="how-it-works">
85
+ <h2>5.4.1. How it works<a class="headerlink" href="#how-it-works" title="Permalink to this headline">¶</a></h2>
86
+ <p>The correction feature uses three searches to compute corrected
87
+ words:</p>
88
+ <blockquote>
89
+ <div><ol class="arabic simple">
90
+ <li>Cooccurrence search against learned data.</li>
91
+ <li>Similar search against registered words. (optional)</li>
92
+ </ol>
93
+ </div></blockquote>
94
+ <div class="section" id="cooccurrence-search">
95
+ <h3>5.4.1.1. Cooccurrence search<a class="headerlink" href="#cooccurrence-search" title="Permalink to this headline">¶</a></h3>
96
+ <p>Cooccurrence search can find registered words from user's
97
+ wrong input. It uses user submit sequences that will be
98
+ learned from query logs, access logs and so on.</p>
99
+ <p>For example, there are the following user submissions:</p>
100
+ <table border="1" class="docutils">
101
+ <colgroup>
102
+ <col width="41%" />
103
+ <col width="59%" />
104
+ </colgroup>
105
+ <thead valign="bottom">
106
+ <tr class="row-odd"><th class="head">query</th>
107
+ <th class="head">time</th>
108
+ </tr>
109
+ </thead>
110
+ <tbody valign="top">
111
+ <tr class="row-even"><td>serach (typo!)</td>
112
+ <td>2011-08-10T22:20:50+09:00</td>
113
+ </tr>
114
+ <tr class="row-odd"><td>search (fixed!)</td>
115
+ <td>2011-08-10T22:20:52+09:00</td>
116
+ </tr>
117
+ </tbody>
118
+ </table>
119
+ <p>Groonga creates the following correction pair from the above
120
+ submissions:</p>
121
+ <table border="1" class="docutils">
122
+ <colgroup>
123
+ <col width="33%" />
124
+ <col width="67%" />
125
+ </colgroup>
126
+ <thead valign="bottom">
127
+ <tr class="row-odd"><th class="head">input</th>
128
+ <th class="head">corrected word</th>
129
+ </tr>
130
+ </thead>
131
+ <tbody valign="top">
132
+ <tr class="row-even"><td>serach</td>
133
+ <td>search</td>
134
+ </tr>
135
+ </tbody>
136
+ </table>
137
+ <p>Groonga treats continuous submissions within a minute as
138
+ input correction by user. Not submitted user input sequence
139
+ between two submissions isn't used as learned data for
140
+ correction.</p>
141
+ <p>If an user inputs &quot;serach&quot; and cooccurrence search returns
142
+ &quot;search&quot; because &quot;serach&quot; is in input column and
143
+ corresponding corrected word column value is &quot;search&quot;.</p>
144
+ </div>
145
+ <div class="section" id="similar-search">
146
+ <h3>5.4.1.2. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
147
+ <p>Similar search can find registered words that has one or
148
+ more the same tokens as user input. TokenBigram tokenizer is
149
+ used for tokenization because suggest dataset schema
150
+ created by <a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a>
151
+ uses TokenBigram tokenizer as the default tokenizer.</p>
152
+ <p>For example, there is a registered query &quot;search engine&quot;. An
153
+ user can find &quot;search engine&quot; by &quot;web search service&quot;,
154
+ &quot;sound engine&quot; and so on. Because &quot;search engine&quot; and &quot;web
155
+ search engine&quot; have the same token &quot;search&quot; and &quot;search
156
+ engine&quot; and &quot;sound engine&quot; have the same token &quot;engine&quot;.</p>
157
+ <p>&quot;search engine&quot; is tokenized to &quot;search&quot; and &quot;engine&quot;
158
+ tokens. (Groonga's TokenBigram tokenizer doesn't tokenize
159
+ two characters for continuous alphabets and continuous
160
+ digits for reducing search
161
+ noise. TokenBigramSplitSymbolAlphaDigit tokenizer should be
162
+ used to ensure tokenizing to two characters.) &quot;web search
163
+ service&quot; is tokenized to &quot;web&quot;, &quot;search&quot; and
164
+ &quot;service&quot;. &quot;sound engine&quot; is tokenized to &quot;sound&quot; and
165
+ &quot;engine&quot;.</p>
166
+ </div>
167
+ </div>
168
+ <div class="section" id="how-to-use">
169
+ <h2>5.4.2. How to use<a class="headerlink" href="#how-to-use" title="Permalink to this headline">¶</a></h2>
170
+ <p>Groonga provides <a class="reference internal" href="../commands/suggest.html"><em>suggest</em></a> command to use
171
+ correction. <cite>--type correct</cite> option requests corrections.</p>
172
+ <p>For example, here is an command to get correction results by
173
+ &quot;saerch&quot;:</p>
174
+ <p>Execution example:</p>
175
+ <div class="highlight-none"><div class="highlight"><pre>&gt; suggest --table item_query --column kana --types correction --threshold 1 --query saerch
176
+ [[0,1313131812.39207,0.000783031],{&quot;correct&quot;:[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;search&quot;,1]]}]
177
+ </pre></div>
178
+ </div>
179
+ </div>
180
+ <div class="section" id="how-it-learns">
181
+ <h2>5.4.3. How it learns<a class="headerlink" href="#how-it-learns" title="Permalink to this headline">¶</a></h2>
182
+ <p>Cooccurrence search uses learned data. They are based on
183
+ query logs, access logs and so on. To create learned data,
184
+ groonga needs user submit inputs with time stamp.</p>
185
+ <p>For example, an user wants to search by &quot;search&quot; but the
186
+ user has typo &quot;saerch&quot; before inputs the correct query. The
187
+ user inputs the query with the following sequence:</p>
188
+ <blockquote>
189
+ <div><ol class="arabic simple">
190
+ <li>2011-08-10T13:33:23+09:00: s</li>
191
+ <li>2011-08-10T13:33:23+09:00: sa</li>
192
+ <li>2011-08-10T13:33:24+09:00: sae</li>
193
+ <li>2011-08-10T13:33:24+09:00: saer</li>
194
+ <li>2011-08-10T13:33:24+09:00: saerc</li>
195
+ <li>2011-08-10T13:33:25+09:00: saerch (submit!)</li>
196
+ <li>2011-08-10T13:33:29+09:00: serch (correcting...)</li>
197
+ <li>2011-08-10T13:33:30+09:00: search (submit!)</li>
198
+ </ol>
199
+ </div></blockquote>
200
+ <p>Groonga can be learned from the input sequence by the
201
+ following command:</p>
202
+ <div class="highlight-none"><div class="highlight"><pre>load --table event_query --each &#39;suggest_preparer(_id, type, item, sequence, time, pair_query)&#39;
203
+ [
204
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.86057, &quot;item&quot;: &quot;s&quot;},
205
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950803.96857, &quot;item&quot;: &quot;sa&quot;},
206
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.26057, &quot;item&quot;: &quot;sae&quot;},
207
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.56057, &quot;item&quot;: &quot;saer&quot;},
208
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950804.76057, &quot;item&quot;: &quot;saerc&quot;},
209
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950805.76057, &quot;item&quot;: &quot;saerch&quot;, &quot;type&quot;: &quot;submit&quot;},
210
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950809.76057, &quot;item&quot;: &quot;serch&quot;},
211
+ {&quot;sequence&quot;: &quot;1&quot;, &quot;time&quot;: 1312950810.86057, &quot;item&quot;: &quot;search&quot;, &quot;type&quot;: &quot;submit&quot;}
212
+ ]
213
+ </pre></div>
214
+ </div>
215
+ </div>
216
+ </div>
217
+
218
+
219
+ </div>
220
+ </div>
221
+ </div>
222
+ <div class="sphinxsidebar">
223
+ <div class="sphinxsidebarwrapper">
224
+ <h3><a href="../index.html">Table Of Contents</a></h3>
225
+ <ul>
226
+ <li><a class="reference internal" href="#">5.4. Correction</a><ul>
227
+ <li><a class="reference internal" href="#how-it-works">5.4.1. How it works</a><ul>
228
+ <li><a class="reference internal" href="#cooccurrence-search">5.4.1.1. Cooccurrence search</a></li>
229
+ <li><a class="reference internal" href="#similar-search">5.4.1.2. Similar search</a></li>
230
+ </ul>
231
+ </li>
232
+ <li><a class="reference internal" href="#how-to-use">5.4.2. How to use</a></li>
233
+ <li><a class="reference internal" href="#how-it-learns">5.4.3. How it learns</a></li>
234
+ </ul>
235
+ </li>
236
+ </ul>
237
+
238
+ <h4>Previous topic</h4>
239
+ <p class="topless"><a href="completion.html"
240
+ title="previous chapter">5.3. Completion</a></p>
241
+ <h4>Next topic</h4>
242
+ <p class="topless"><a href="suggestion.html"
243
+ title="next chapter">5.5. Suggestion</a></p>
244
+ <h3>This Page</h3>
245
+ <ul class="this-page-menu">
246
+ <li><a href="../_sources/suggest/correction.txt"
247
+ rel="nofollow">Show Source</a></li>
248
+ </ul>
249
+ <div id="searchbox" style="display: none">
250
+ <h3>Quick search</h3>
251
+ <form class="search" action="../search.html" method="get">
252
+ <input type="text" name="q" size="18" />
253
+ <input type="submit" value="Go" />
254
+ <input type="hidden" name="check_keywords" value="yes" />
255
+ <input type="hidden" name="area" value="default" />
256
+ </form>
257
+ <p class="searchtip" style="font-size: 90%">
258
+ Enter search terms or a module, class or function name.
259
+ </p>
260
+ </div>
261
+ <script type="text/javascript">$('#searchbox').show(0);</script>
262
+ </div>
263
+ </div>
264
+ <div class="clearer"></div>
265
+ </div>
266
+ <div class="related">
267
+ <h3>Navigation</h3>
268
+ <ul>
269
+ <li class="right" style="margin-right: 10px">
270
+ <a href="../genindex.html" title="General Index"
271
+ >index</a></li>
272
+ <li class="right" >
273
+ <a href="suggestion.html" title="5.5. Suggestion"
274
+ >next</a> |</li>
275
+ <li class="right" >
276
+ <a href="completion.html" title="5.3. Completion"
277
+ >previous</a> |</li>
278
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
279
+ <li><a href="../suggest.html" >5. Suggest</a> &raquo;</li>
280
+ </ul>
281
+ </div>
282
+ <div class="footer">
283
+ &copy; Copyright 2009-2011, Brazil, Inc.
284
+ </div>
285
+ </body>
286
+ </html>
@@ -0,0 +1,243 @@
1
+
2
+
3
+
4
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
+
7
+
8
+ <html xmlns="http://www.w3.org/1999/xhtml">
9
+ <head>
10
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
+
12
+ <title>5.1. Introduction &mdash; groonga v1.2.5 documentation</title>
13
+
14
+ <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ var DOCUMENTATION_OPTIONS = {
19
+ URL_ROOT: '../',
20
+ VERSION: '1.2.5',
21
+ COLLAPSE_INDEX: false,
22
+ FILE_SUFFIX: '.html',
23
+ HAS_SOURCE: true
24
+ };
25
+ </script>
26
+ <script type="text/javascript" src="../_static/jquery.js"></script>
27
+ <script type="text/javascript" src="../_static/underscore.js"></script>
28
+ <script type="text/javascript" src="../_static/doctools.js"></script>
29
+ <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="5. Suggest" href="../suggest.html" />
32
+ <link rel="next" title="5.2. Tutorial" href="tutorial.html" />
33
+ <link rel="prev" title="5. Suggest" href="../suggest.html" />
34
+ </head>
35
+ <body>
36
+ <div class="header">
37
+ <h1 class="title">
38
+ <a id="top-link" href="../index.html">
39
+ <span class="project">groonga</span>
40
+ <span class="separator">-</span>
41
+ <span class="description">An open-source fulltext search engine and column store.</span>
42
+ </a>
43
+ </h1>
44
+
45
+ <div class="other-language-links">
46
+ <ul>
47
+ <li><a href="../../../ja/html/suggest/introduction.html"><img src="../_static/jp.png" alt="日本語"></a></li>
48
+ </ul>
49
+ </div>
50
+ </div>
51
+
52
+
53
+ <div class="related">
54
+ <h3>Navigation</h3>
55
+ <ul>
56
+ <li class="right" style="margin-right: 10px">
57
+ <a href="../genindex.html" title="General Index"
58
+ accesskey="I">index</a></li>
59
+ <li class="right" >
60
+ <a href="tutorial.html" title="5.2. Tutorial"
61
+ accesskey="N">next</a> |</li>
62
+ <li class="right" >
63
+ <a href="../suggest.html" title="5. Suggest"
64
+ accesskey="P">previous</a> |</li>
65
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="../suggest.html" accesskey="U">5. Suggest</a> &raquo;</li>
67
+ </ul>
68
+ </div>
69
+
70
+ <div class="document">
71
+ <div class="documentwrapper">
72
+ <div class="bodywrapper">
73
+ <div class="body">
74
+
75
+ <div class="section" id="introduction">
76
+ <h1>5.1. Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h1>
77
+ <p>The suggest feature in groonga provides the following features:</p>
78
+ <ul class="simple">
79
+ <li>Completion</li>
80
+ <li>Correction</li>
81
+ <li>Suggestion</li>
82
+ </ul>
83
+ <div class="section" id="completion">
84
+ <h2>5.1.1. Completion<a class="headerlink" href="#completion" title="Permalink to this headline">¶</a></h2>
85
+ <p>Completion helps user input. If user inputs a partial word,
86
+ groonga can return complete words from registered
87
+ words.</p>
88
+ <p>For example, there are registered words:</p>
89
+ <ul class="simple">
90
+ <li>&quot;groonga&quot;</li>
91
+ <li>&quot;complete&quot;</li>
92
+ <li>&quot;correction&quot;</li>
93
+ <li>&quot;suggest&quot;</li>
94
+ </ul>
95
+ <p>An user inputs &quot;co&quot; and groonga returns &quot;complete&quot; and
96
+ &quot;correction&quot; because they starts with &quot;co&quot;.</p>
97
+ <p>An user inputs &quot;sug&quot; and groonga returns &quot;suggest&quot; because
98
+ &quot;suggest&quot; starts with &quot;sug&quot;.</p>
99
+ <p>An user inputs &quot;ab&quot; and groonga returns nothing because no
100
+ word starts with &quot;ab&quot;.</p>
101
+ </div>
102
+ <div class="section" id="correction">
103
+ <h2>5.1.2. Correction<a class="headerlink" href="#correction" title="Permalink to this headline">¶</a></h2>
104
+ <p>Correction also helps user input. If user inputs a wrong
105
+ word, groonga can return correct words from registered
106
+ correction pairs.</p>
107
+ <p>For example, there are registered correction pairs:</p>
108
+ <table border="1" class="docutils">
109
+ <colgroup>
110
+ <col width="46%" />
111
+ <col width="54%" />
112
+ </colgroup>
113
+ <thead valign="bottom">
114
+ <tr class="row-odd"><th class="head">wrong word</th>
115
+ <th class="head">correct word</th>
116
+ </tr>
117
+ </thead>
118
+ <tbody valign="top">
119
+ <tr class="row-even"><td>grroonga
120
+ gronga
121
+ gronnga</td>
122
+ <td>groonga
123
+ groonga
124
+ groonga</td>
125
+ </tr>
126
+ </tbody>
127
+ </table>
128
+ <p>An user inputs &quot;gronga&quot; and groonga returns &quot;groonga&quot; because
129
+ &quot;gronga&quot; is in wrong word and corresponding correct word is
130
+ &quot;groonga&quot;.</p>
131
+ <p>An user inputs &quot;roonga&quot; and groonga returns nothing because
132
+ &quot;roonga&quot; isn't in wrong word.</p>
133
+ </div>
134
+ <div class="section" id="suggestion">
135
+ <h2>5.1.3. Suggestion<a class="headerlink" href="#suggestion" title="Permalink to this headline">¶</a></h2>
136
+ <p>Suggestion helps that user filters many found documents. If
137
+ user inputs a query, groonga can return new queries that has
138
+ more additional keywords from registered related query
139
+ pairs.</p>
140
+ <p>For example, there are registered related query pairs:</p>
141
+ <table border="1" class="docutils">
142
+ <colgroup>
143
+ <col width="52%" />
144
+ <col width="48%" />
145
+ </colgroup>
146
+ <thead valign="bottom">
147
+ <tr class="row-odd"><th class="head">keyword</th>
148
+ <th class="head">related query</th>
149
+ </tr>
150
+ </thead>
151
+ <tbody valign="top">
152
+ <tr class="row-even"><td>groonga</td>
153
+ <td>groonga search engine</td>
154
+ </tr>
155
+ <tr class="row-odd"><td>search</td>
156
+ <td>Google search</td>
157
+ </tr>
158
+ <tr class="row-even"><td>speed</td>
159
+ <td>groonga speed</td>
160
+ </tr>
161
+ </tbody>
162
+ </table>
163
+ <p>An user inputs &quot;groonga&quot; and groonga returns &quot;groonga search
164
+ engine&quot; because &quot;groonga&quot; is in keyword column and related
165
+ query column is &quot;groonga search engine&quot;.</p>
166
+ <p>An user inputs &quot;MySQL&quot; and groonga returns nothing because
167
+ &quot;MySQL&quot; isn't in keyword column values.</p>
168
+ </div>
169
+ <div class="section" id="learning">
170
+ <h2>5.1.4. Learning<a class="headerlink" href="#learning" title="Permalink to this headline">¶</a></h2>
171
+ <p>The suggest feature requires registered data before using
172
+ the feature. Those data can be registered from user inputs.
173
+ Gronnga-suggest-httpd and groonga-suggest-learner commands
174
+ are provided for the propose.</p>
175
+ </div>
176
+ </div>
177
+
178
+
179
+ </div>
180
+ </div>
181
+ </div>
182
+ <div class="sphinxsidebar">
183
+ <div class="sphinxsidebarwrapper">
184
+ <h3><a href="../index.html">Table Of Contents</a></h3>
185
+ <ul>
186
+ <li><a class="reference internal" href="#">5.1. Introduction</a><ul>
187
+ <li><a class="reference internal" href="#completion">5.1.1. Completion</a></li>
188
+ <li><a class="reference internal" href="#correction">5.1.2. Correction</a></li>
189
+ <li><a class="reference internal" href="#suggestion">5.1.3. Suggestion</a></li>
190
+ <li><a class="reference internal" href="#learning">5.1.4. Learning</a></li>
191
+ </ul>
192
+ </li>
193
+ </ul>
194
+
195
+ <h4>Previous topic</h4>
196
+ <p class="topless"><a href="../suggest.html"
197
+ title="previous chapter">5. Suggest</a></p>
198
+ <h4>Next topic</h4>
199
+ <p class="topless"><a href="tutorial.html"
200
+ title="next chapter">5.2. Tutorial</a></p>
201
+ <h3>This Page</h3>
202
+ <ul class="this-page-menu">
203
+ <li><a href="../_sources/suggest/introduction.txt"
204
+ rel="nofollow">Show Source</a></li>
205
+ </ul>
206
+ <div id="searchbox" style="display: none">
207
+ <h3>Quick search</h3>
208
+ <form class="search" action="../search.html" method="get">
209
+ <input type="text" name="q" size="18" />
210
+ <input type="submit" value="Go" />
211
+ <input type="hidden" name="check_keywords" value="yes" />
212
+ <input type="hidden" name="area" value="default" />
213
+ </form>
214
+ <p class="searchtip" style="font-size: 90%">
215
+ Enter search terms or a module, class or function name.
216
+ </p>
217
+ </div>
218
+ <script type="text/javascript">$('#searchbox').show(0);</script>
219
+ </div>
220
+ </div>
221
+ <div class="clearer"></div>
222
+ </div>
223
+ <div class="related">
224
+ <h3>Navigation</h3>
225
+ <ul>
226
+ <li class="right" style="margin-right: 10px">
227
+ <a href="../genindex.html" title="General Index"
228
+ >index</a></li>
229
+ <li class="right" >
230
+ <a href="tutorial.html" title="5.2. Tutorial"
231
+ >next</a> |</li>
232
+ <li class="right" >
233
+ <a href="../suggest.html" title="5. Suggest"
234
+ >previous</a> |</li>
235
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
236
+ <li><a href="../suggest.html" >5. Suggest</a> &raquo;</li>
237
+ </ul>
238
+ </div>
239
+ <div class="footer">
240
+ &copy; Copyright 2009-2011, Brazil, Inc.
241
+ </div>
242
+ </body>
243
+ </html>