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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (300) hide show
  1. data/Gemfile +30 -0
  2. data/Rakefile +24 -285
  3. data/ext/groonga/extconf.rb +4 -2
  4. data/ext/groonga/rb-grn-array.c +5 -4
  5. data/ext/groonga/rb-grn-context.c +7 -22
  6. data/ext/groonga/rb-grn-database.c +42 -1
  7. data/ext/groonga/rb-grn-index-column.c +5 -0
  8. data/ext/groonga/rb-grn-object.c +58 -26
  9. data/ext/groonga/rb-grn-patricia-trie.c +2 -1
  10. data/ext/groonga/rb-grn-record.c +11 -1
  11. data/ext/groonga/rb-grn-snippet.c +44 -1
  12. data/ext/groonga/rb-grn-table-key-support.c +21 -10
  13. data/ext/groonga/rb-grn-utils.c +3 -1
  14. data/ext/groonga/rb-grn-variable-size-column.c +47 -1
  15. data/ext/groonga/rb-grn.h +4 -1
  16. data/extconf.rb +1 -0
  17. data/lib/1.8/groonga.so +0 -0
  18. data/lib/1.9/groonga.so +0 -0
  19. data/lib/groonga/dumper.rb +3 -3
  20. data/lib/groonga/pagination.rb +1 -1
  21. data/lib/groonga/record.rb +10 -0
  22. data/rroonga-build.rb +1 -1
  23. data/test/test-accessor.rb +4 -0
  24. data/test/test-array.rb +9 -1
  25. data/test/test-database.rb +16 -0
  26. data/test/test-expression.rb +2 -0
  27. data/test/test-hash.rb +11 -2
  28. data/test/test-patricia-trie.rb +10 -1
  29. data/test/test-table-select.rb +31 -17
  30. data/test/test-type.rb +3 -3
  31. data/test/test-variable-size-column.rb +8 -1
  32. data/vendor/local/bin/grntest.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgroonga-0.dll +0 -0
  35. data/vendor/local/bin/libmecab-1.dll +0 -0
  36. data/vendor/local/bin/mecab-config +2 -2
  37. data/vendor/local/bin/mecab.exe +0 -0
  38. data/vendor/local/include/groonga/groonga.h +20 -4
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  42. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  43. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  47. data/vendor/local/lib/libgroonga.a +0 -0
  48. data/vendor/local/lib/libgroonga.dll.a +0 -0
  49. data/vendor/local/lib/libgroonga.la +2 -2
  50. data/vendor/local/lib/libmecab.a +0 -0
  51. data/vendor/local/lib/libmecab.dll.a +0 -0
  52. data/vendor/local/lib/libmecab.la +1 -1
  53. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  54. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  55. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  56. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  57. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  58. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  59. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  60. data/vendor/local/share/doc/groonga/en/html/_sources/commands/suggest.txt +207 -35
  61. data/vendor/local/share/doc/groonga/en/html/_sources/executables/grntest.txt +1 -1
  62. data/vendor/local/share/doc/groonga/en/html/_sources/executables/{http.txt → groonga-http.txt} +1 -1
  63. data/vendor/local/share/doc/groonga/en/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
  64. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -0
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +14 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/log.txt +214 -0
  67. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
  68. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +35 -3
  69. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +195 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +148 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +94 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +115 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +8 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +22 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/tutorial01.txt +2 -1
  76. data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +1 -0
  77. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
  79. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
  80. data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
  81. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
  82. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
  83. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
  84. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
  85. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
  86. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
  87. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +34 -34
  88. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
  89. data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
  90. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
  91. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
  92. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
  93. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
  94. data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
  95. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
  96. data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
  97. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +258 -72
  98. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +34 -34
  99. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
  100. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
  101. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
  102. data/vendor/local/share/doc/groonga/en/html/commands.html +42 -42
  103. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
  105. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
  106. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +8 -8
  109. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
  110. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
  111. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +8 -8
  112. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +12 -12
  113. data/vendor/local/share/doc/groonga/en/html/contribution.html +10 -10
  114. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +32 -32
  115. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +49 -49
  116. data/vendor/local/share/doc/groonga/en/html/executables/{http.html → groonga-http.html} +34 -34
  117. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +186 -0
  118. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +37 -37
  119. data/vendor/local/share/doc/groonga/en/html/executables.html +22 -21
  120. data/vendor/local/share/doc/groonga/en/html/expr.html +26 -26
  121. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
  122. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +32 -32
  123. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +32 -32
  124. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
  126. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
  127. data/vendor/local/share/doc/groonga/en/html/functions.html +23 -23
  128. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/index.html +105 -74
  130. data/vendor/local/share/doc/groonga/en/html/install.html +22 -11
  131. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
  132. data/vendor/local/share/doc/groonga/en/html/log.html +345 -0
  133. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -6
  135. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/news.html +94 -57
  137. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  138. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +22 -22
  139. data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
  140. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
  143. data/vendor/local/share/doc/groonga/en/html/spec.html +15 -15
  144. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +357 -0
  145. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +286 -0
  146. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +243 -0
  147. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +265 -0
  148. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +134 -0
  149. data/vendor/local/share/doc/groonga/en/html/suggest.html +166 -0
  150. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  151. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
  152. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial01.html +6 -6
  153. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial02.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial03.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial04.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial05.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial06.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial07.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial08.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial09.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/tutorial/tutorial10.html +10 -10
  162. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/type.html +30 -30
  164. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  165. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +207 -35
  166. data/vendor/local/share/doc/groonga/ja/html/_sources/executables/grntest.txt +1 -1
  167. data/vendor/local/share/doc/groonga/{source/executables/http.txt → ja/html/_sources/executables/groonga-http.txt} +1 -1
  168. data/vendor/local/share/doc/groonga/ja/html/_sources/executables/groonga-suggest-create-dataset.txt +50 -0
  169. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -0
  170. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +14 -3
  171. data/vendor/local/share/doc/groonga/ja/html/_sources/log.txt +214 -0
  172. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
  173. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +35 -3
  174. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +195 -0
  175. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +148 -0
  176. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +94 -0
  177. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +115 -0
  178. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +8 -0
  179. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +22 -0
  180. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/tutorial01.txt +2 -1
  181. data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +1 -0
  182. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  183. data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
  184. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
  185. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
  186. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
  187. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
  188. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
  189. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
  190. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
  191. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
  192. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +34 -34
  193. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
  194. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
  195. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
  196. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
  197. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
  198. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
  199. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
  200. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
  201. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
  202. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +237 -72
  203. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +34 -34
  204. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
  205. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
  206. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
  207. data/vendor/local/share/doc/groonga/ja/html/commands.html +42 -42
  208. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  209. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
  210. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
  211. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
  212. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
  213. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +8 -8
  214. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
  215. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  216. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +8 -8
  217. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +12 -12
  218. data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -10
  219. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +32 -32
  220. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +49 -49
  221. data/vendor/local/share/doc/groonga/ja/html/executables/{http.html → groonga-http.html} +34 -34
  222. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +187 -0
  223. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +37 -37
  224. data/vendor/local/share/doc/groonga/ja/html/executables.html +22 -21
  225. data/vendor/local/share/doc/groonga/ja/html/expr.html +26 -26
  226. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
  227. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +32 -32
  228. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +32 -32
  229. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
  230. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
  231. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
  232. data/vendor/local/share/doc/groonga/ja/html/functions.html +23 -23
  233. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  234. data/vendor/local/share/doc/groonga/ja/html/index.html +105 -74
  235. data/vendor/local/share/doc/groonga/ja/html/install.html +24 -11
  236. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
  237. data/vendor/local/share/doc/groonga/ja/html/log.html +346 -0
  238. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  240. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/news.html +87 -55
  242. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  243. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +22 -22
  244. data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
  245. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  247. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
  248. data/vendor/local/share/doc/groonga/ja/html/spec.html +15 -15
  249. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +327 -0
  250. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +254 -0
  251. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +225 -0
  252. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +248 -0
  253. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +135 -0
  254. data/vendor/local/share/doc/groonga/ja/html/suggest.html +166 -0
  255. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
  256. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
  257. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial01.html +6 -6
  258. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial02.html +5 -5
  259. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial03.html +5 -5
  260. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial04.html +5 -5
  261. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial05.html +5 -5
  262. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial06.html +5 -5
  263. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial07.html +5 -5
  264. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial08.html +5 -5
  265. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial09.html +5 -5
  266. data/vendor/local/share/doc/groonga/ja/html/tutorial/tutorial10.html +10 -10
  267. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  268. data/vendor/local/share/doc/groonga/ja/html/type.html +30 -30
  269. data/vendor/local/share/doc/groonga/source/commands/suggest.txt +207 -35
  270. data/vendor/local/share/doc/groonga/source/example/completion-1.log +5 -0
  271. data/vendor/local/share/doc/groonga/source/example/correction-1.log +5 -0
  272. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +5 -0
  273. data/vendor/local/share/doc/groonga/source/executables/grntest.txt +1 -1
  274. data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/http.txt → source/executables/groonga-http.txt} +1 -1
  275. data/vendor/local/share/doc/groonga/source/executables/groonga-suggest-create-dataset.txt +50 -0
  276. data/vendor/local/share/doc/groonga/source/index.txt +1 -0
  277. data/vendor/local/share/doc/groonga/source/install.txt +14 -3
  278. data/vendor/local/share/doc/groonga/source/log.txt +214 -0
  279. data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +1 -1
  280. data/vendor/local/share/doc/groonga/source/news.txt +35 -3
  281. data/vendor/local/share/doc/groonga/source/suggest/completion.txt +195 -0
  282. data/vendor/local/share/doc/groonga/source/suggest/correction.txt +148 -0
  283. data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +94 -0
  284. data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +115 -0
  285. data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +8 -0
  286. data/vendor/local/share/doc/groonga/source/suggest.txt +22 -0
  287. data/vendor/local/share/doc/groonga/source/tutorial/tutorial01.txt +2 -1
  288. data/vendor/local/share/doc/groonga/source/update_execution_example.py +46 -20
  289. data/vendor/local/share/license/groonga/AUTHORS +17 -0
  290. data/vendor/local/share/license/groonga/COPYING +504 -0
  291. data/vendor/local/share/license/mecab/AUTHORS +1 -0
  292. data/vendor/local/share/license/mecab/BSD +29 -0
  293. data/vendor/local/share/license/mecab/COPYING +4 -0
  294. data/vendor/local/share/license/mecab/GPL +340 -0
  295. data/vendor/local/share/license/mecab/LGPL +504 -0
  296. data/vendor/local/share/license/naist-jdic/AUTHORS +2 -0
  297. data/vendor/local/share/license/naist-jdic/COPYING +31 -0
  298. data/vendor/local/share/man/ja/man1/groonga.1 +1050 -45
  299. data/vendor/local/share/man/man1/groonga.1 +1174 -48
  300. metadata +62 -9
@@ -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.1.3. groonga実行ファイル &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.1.3. groonga実行ファイル &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.1. 実行ファイル" href="../executables.html" />
32
- <link rel="next" title="5.1.4. groonga HTTPサービス" href="http.html" />
33
- <link rel="prev" title="5.1.2. grntest" href="grntest.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="6.1. 実行ファイル" href="../executables.html" />
32
+ <link rel="next" title="6.1.4. groonga HTTPサービス" href="groonga-http.html" />
33
+ <link rel="prev" title="6.1.2. grntest" href="grntest.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="http.html" title="5.1.4. groonga HTTPサービス"
60
+ <a href="groonga-http.html" title="6.1.4. groonga HTTPサービス"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="grntest.html" title="5.1.2. grntest"
63
+ <a href="grntest.html" title="6.1.2. grntest"
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="../executables.html" accesskey="U">5.1. 実行ファイル</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="../executables.html" accesskey="U">6.1. 実行ファイル</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,24 +74,24 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="groonga">
77
- <h1>5.1.3. groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
77
+ <h1>6.1.3. groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
78
78
  <div class="section" id="id1">
79
- <h2>5.1.3.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
79
+ <h2>6.1.3.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
80
80
  <p>groonga - 列指向データベース機能を持つ全文検索エンジンソフトウェア</p>
81
81
  </div>
82
82
  <div class="section" id="id2">
83
- <h2>5.1.3.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
83
+ <h2>6.1.3.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
84
84
  <div class="highlight-none"><div class="highlight"><pre>groonga [options] [dest] [command [args]]
85
85
  </pre></div>
86
86
  </div>
87
87
  </div>
88
88
  <div class="section" id="id3">
89
- <h2>5.1.3.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
89
+ <h2>6.1.3.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
90
90
  <p>groongaは列指向のデータベース機能を持つ高速でスケーラブルな全文検索エンジンです。
91
91
  groongaのデータベースは、groonga実行ファイルかCライブラリインタフェースを通して操作することができます。このマニュアルページでは、groonga実行ファイルの使い方について説明します。</p>
92
92
  </div>
93
93
  <div class="section" id="id4">
94
- <h2>5.1.3.4. オプション<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
94
+ <h2>6.1.3.4. オプション<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
95
95
  <dl class="cmdoption">
96
96
  <dt id="cmdoption-n">
97
97
  <tt class="descname">-n</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-n" title="Permalink to this definition">¶</a></dt>
@@ -233,7 +233,7 @@ pid-file=/var/run/groonga.pid
233
233
 
234
234
  </div>
235
235
  <div class="section" id="id5">
236
- <h2>5.1.3.5. 引数<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
236
+ <h2>6.1.3.5. 引数<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
237
237
  <dl class="cmdoption">
238
238
  <dt>
239
239
  <tt class="descname">dest</tt></dt>
@@ -249,7 +249,7 @@ pid-file=/var/run/groonga.pid
249
249
 
250
250
  </div>
251
251
  <div class="section" id="id6">
252
- <h2>5.1.3.6. コマンド<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
252
+ <h2>6.1.3.6. コマンド<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
253
253
  <p>groonga実行ファイルを通してデータベースを操作する命令をコマンドと呼びます。コマンドは主にC言語で記述され、groongaプロセスにロードすることによって使用できるようになります。
254
254
  それぞれのコマンドは一意な名前と、0個以上の引数を持ちます。</p>
255
255
  <p>引数は以下の2種類の方法のいずれかで指定することができます。:</p>
@@ -262,7 +262,7 @@ pid-file=/var/run/groonga.pid
262
262
  <p>標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で区切ります。空白や、記号「&quot;'()」のうちいずれかを含む値を指定したい場合は、シングルクォート(')かダブルクォート(&quot;)で値を囲みます。値として指定する文字列の中では、改行文字は'n'に置き換えて指定します。また、引用符に使用した文字を値の中で指定する場合には、その文字の前にバックスラッシュ('') を指定します。バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュを指定します。</p>
263
263
  </div>
264
264
  <div class="section" id="id7">
265
- <h2>5.1.3.7. 組み込みコマンド<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
265
+ <h2>6.1.3.7. 組み込みコマンド<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
266
266
  <p>以下のコマンドは組み込みコマンドとして予め定義されています。</p>
267
267
  <blockquote>
268
268
  <div><dl class="docutils">
@@ -302,7 +302,7 @@ pid-file=/var/run/groonga.pid
302
302
  </div></blockquote>
303
303
  </div>
304
304
  <div class="section" id="id8">
305
- <h2>5.1.3.8. 例<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
305
+ <h2>6.1.3.8. 例<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
306
306
  <p>新しいデータベースを作成します。:</p>
307
307
  <div class="highlight-none"><div class="highlight"><pre>% groonga -n /tmp/hoge.db quit
308
308
  %
@@ -341,25 +341,25 @@ pid-file=/var/run/groonga.pid
341
341
  <div class="sphinxsidebarwrapper">
342
342
  <h3><a href="../index.html">Table Of Contents</a></h3>
343
343
  <ul>
344
- <li><a class="reference internal" href="#">5.1.3. groonga実行ファイル</a><ul>
345
- <li><a class="reference internal" href="#id1">5.1.3.1. 名前</a></li>
346
- <li><a class="reference internal" href="#id2">5.1.3.2. 書式</a></li>
347
- <li><a class="reference internal" href="#id3">5.1.3.3. 説明</a></li>
348
- <li><a class="reference internal" href="#id4">5.1.3.4. オプション</a></li>
349
- <li><a class="reference internal" href="#id5">5.1.3.5. 引数</a></li>
350
- <li><a class="reference internal" href="#id6">5.1.3.6. コマンド</a></li>
351
- <li><a class="reference internal" href="#id7">5.1.3.7. 組み込みコマンド</a></li>
352
- <li><a class="reference internal" href="#id8">5.1.3.8. 例</a></li>
344
+ <li><a class="reference internal" href="#">6.1.3. groonga実行ファイル</a><ul>
345
+ <li><a class="reference internal" href="#id1">6.1.3.1. 名前</a></li>
346
+ <li><a class="reference internal" href="#id2">6.1.3.2. 書式</a></li>
347
+ <li><a class="reference internal" href="#id3">6.1.3.3. 説明</a></li>
348
+ <li><a class="reference internal" href="#id4">6.1.3.4. オプション</a></li>
349
+ <li><a class="reference internal" href="#id5">6.1.3.5. 引数</a></li>
350
+ <li><a class="reference internal" href="#id6">6.1.3.6. コマンド</a></li>
351
+ <li><a class="reference internal" href="#id7">6.1.3.7. 組み込みコマンド</a></li>
352
+ <li><a class="reference internal" href="#id8">6.1.3.8. 例</a></li>
353
353
  </ul>
354
354
  </li>
355
355
  </ul>
356
356
 
357
357
  <h4>Previous topic</h4>
358
358
  <p class="topless"><a href="grntest.html"
359
- title="previous chapter">5.1.2. grntest</a></p>
359
+ title="previous chapter">6.1.2. grntest</a></p>
360
360
  <h4>Next topic</h4>
361
- <p class="topless"><a href="http.html"
362
- title="next chapter">5.1.4. groonga HTTPサービス</a></p>
361
+ <p class="topless"><a href="groonga-http.html"
362
+ title="next chapter">6.1.4. groonga HTTPサービス</a></p>
363
363
  <h3>This Page</h3>
364
364
  <ul class="this-page-menu">
365
365
  <li><a href="../_sources/executables/groonga.txt"
@@ -389,14 +389,14 @@ pid-file=/var/run/groonga.pid
389
389
  <a href="../genindex.html" title="General Index"
390
390
  >index</a></li>
391
391
  <li class="right" >
392
- <a href="http.html" title="5.1.4. groonga HTTPサービス"
392
+ <a href="groonga-http.html" title="6.1.4. groonga HTTPサービス"
393
393
  >next</a> |</li>
394
394
  <li class="right" >
395
- <a href="grntest.html" title="5.1.2. grntest"
395
+ <a href="grntest.html" title="6.1.2. grntest"
396
396
  >previous</a> |</li>
397
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
398
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
399
- <li><a href="../executables.html" >5.1. 実行ファイル</a> &raquo;</li>
397
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
398
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
399
+ <li><a href="../executables.html" >6.1. 実行ファイル</a> &raquo;</li>
400
400
  </ul>
401
401
  </div>
402
402
  <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.1. 実行ファイル &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.1. 実行ファイル &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. リファレンスマニュアル" href="reference.html" />
32
- <link rel="next" title="5.1.1. grnslap" href="executables/grnslap.html" />
33
- <link rel="prev" title="5. リファレンスマニュアル" href="reference.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="index.html" />
31
+ <link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
32
+ <link rel="next" title="6.1.1. grnslap" href="executables/grnslap.html" />
33
+ <link rel="prev" title="6. リファレンスマニュアル" href="reference.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,13 +57,13 @@
57
57
  <a href="genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="executables/grnslap.html" title="5.1.1. grnslap"
60
+ <a href="executables/grnslap.html" title="6.1.1. grnslap"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="reference.html" title="5. リファレンスマニュアル"
63
+ <a href="reference.html" title="6. リファレンスマニュアル"
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" accesskey="U">5. リファレンスマニュアル</a> &raquo;</li>
65
+ <li><a href="index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -73,14 +73,15 @@
73
73
  <div class="body">
74
74
 
75
75
  <div class="section" id="id1">
76
- <h1>5.1. 実行ファイル<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
76
+ <h1>6.1. 実行ファイル<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
77
77
  <p>groongaパッケージが提供する実行ファイルについて説明します。</p>
78
78
  <div class="toctree-wrapper compound">
79
79
  <ul>
80
- <li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">5.1.1. grnslap</a></li>
81
- <li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">5.1.2. grntest</a></li>
82
- <li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">5.1.3. groonga実行ファイル</a></li>
83
- <li class="toctree-l1"><a class="reference internal" href="executables/http.html">5.1.4. groonga HTTPサービス</a></li>
80
+ <li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">6.1.1. grnslap</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">6.1.2. grntest</a></li>
82
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">6.1.3. groonga実行ファイル</a></li>
83
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga-http.html">6.1.4. groonga HTTPサービス</a></li>
84
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga-suggest-create-dataset.html">6.1.5. groonga-suggest-create-dataset</a></li>
84
85
  </ul>
85
86
  </div>
86
87
  </div>
@@ -93,10 +94,10 @@
93
94
  <div class="sphinxsidebarwrapper">
94
95
  <h4>Previous topic</h4>
95
96
  <p class="topless"><a href="reference.html"
96
- title="previous chapter">5. リファレンスマニュアル</a></p>
97
+ title="previous chapter">6. リファレンスマニュアル</a></p>
97
98
  <h4>Next topic</h4>
98
99
  <p class="topless"><a href="executables/grnslap.html"
99
- title="next chapter">5.1.1. grnslap</a></p>
100
+ title="next chapter">6.1.1. grnslap</a></p>
100
101
  <h3>This Page</h3>
101
102
  <ul class="this-page-menu">
102
103
  <li><a href="_sources/executables.txt"
@@ -126,13 +127,13 @@
126
127
  <a href="genindex.html" title="General Index"
127
128
  >index</a></li>
128
129
  <li class="right" >
129
- <a href="executables/grnslap.html" title="5.1.1. grnslap"
130
+ <a href="executables/grnslap.html" title="6.1.1. grnslap"
130
131
  >next</a> |</li>
131
132
  <li class="right" >
132
- <a href="reference.html" title="5. リファレンスマニュアル"
133
+ <a href="reference.html" title="6. リファレンスマニュアル"
133
134
  >previous</a> |</li>
134
- <li><a href="index.html">groonga v1.2.4 documentation</a> &raquo;</li>
135
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
135
+ <li><a href="index.html">groonga v1.2.5 documentation</a> &raquo;</li>
136
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
136
137
  </ul>
137
138
  </div>
138
139
  <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.5. grn_expr &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.5. grn_expr &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. リファレンスマニュアル" href="reference.html" />
32
- <link rel="next" title="5.6. 組み込み関数一覧" href="functions.html" />
33
- <link rel="prev" title="5.4. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="index.html" />
31
+ <link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
32
+ <link rel="next" title="6.6. 組み込み関数一覧" href="functions.html" />
33
+ <link rel="prev" title="6.4. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -57,13 +57,13 @@
57
57
  <a href="genindex.html" title="General Index"
58
58
  accesskey="I">index</a></li>
59
59
  <li class="right" >
60
- <a href="functions.html" title="5.6. 組み込み関数一覧"
60
+ <a href="functions.html" title="6.6. 組み込み関数一覧"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="pseudo_column.html" title="5.4. 疑似カラム (pseudo_column)"
63
+ <a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
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" accesskey="U">5. リファレンスマニュアル</a> &raquo;</li>
65
+ <li><a href="index.html">groonga v1.2.5 documentation</a> &raquo;</li>
66
+ <li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -73,19 +73,19 @@
73
73
  <div class="body">
74
74
 
75
75
  <div class="section" id="grn-expr">
76
- <h1>5.5. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
76
+ <h1>6.5. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
77
77
  <div class="section" id="id1">
78
- <h2>5.5.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
78
+ <h2>6.5.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
79
79
  <p>grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:&quot;ぐるんしき&quot;)</p>
80
80
  </div>
81
81
  <div class="section" id="id2">
82
- <h2>5.5.2. 説明<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
82
+ <h2>6.5.2. 説明<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
83
83
  <p>grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構造の形式です。</p>
84
84
  <p>データベースの中から特定の条件を満たすレコードを取り出すために、様々な条件をand,or,notなどの演算子で結合して自由に表現することができます。grn_exprは、一連のAPI関数を呼ぶことによって組み立てることができます。特定の文字列形式には依存していません。組み込みコマンドselectのqueryパラメータでは、検索エンジンのユーザがフォームで入力する文字列を直接受け取ることを想定して、文字列からgrn_exprを生成しています。また、多くの組み込みコマンドで共通に使用するために、ECMAScript形式の文字列からgrn_exprを生成するAPI関数grn_expr_parse()を用意しています。grn_expr_parseでパースできる文字列を特にscript形式のgrn_exprと呼びます。</p>
85
85
  <p>grn_exprを使うことによって非常に柔軟に検索条件を記述することができます。類似文書検索や近傍検索のような高度な検索もすべてgrn_exprによって記述できます。また、全文検索クエリにおいて、特定の文字列を含むレコードのスコアを細かく制御したり、検索結果数の多寡に応じてより検索漏れの少ないアルゴリズムで再検索するような機能も、grn_exprとgrn_table_select()API関数を組み合わせることによって自由に定義できます。</p>
86
86
  </div>
87
87
  <div class="section" id="scriptgrn-expr">
88
- <h2>5.5.3. script形式のgrn_expr<a class="headerlink" href="#scriptgrn-expr" title="Permalink to this headline">¶</a></h2>
88
+ <h2>6.5.3. script形式のgrn_expr<a class="headerlink" href="#scriptgrn-expr" title="Permalink to this headline">¶</a></h2>
89
89
  <p>ECMAScript風の構文で検索条件やレコードへの操作を記述します。</p>
90
90
  <p>式中のIDENTIFIER(識別子)は、以下のいずれかを指します。</p>
91
91
  <table class="docutils field-list" frame="void" rules="none">
@@ -102,7 +102,7 @@
102
102
  </table>
103
103
  </div>
104
104
  <div class="section" id="id3">
105
- <h2>5.5.4. 例<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
105
+ <h2>6.5.4. 例<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
106
106
  <p>script形式でcolumn1の値が'hoge'に等しいという条件</p>
107
107
  <blockquote>
108
108
  <div>column1 == &quot;hoge&quot;</div></blockquote>
@@ -118,21 +118,21 @@
118
118
  <div class="sphinxsidebarwrapper">
119
119
  <h3><a href="index.html">Table Of Contents</a></h3>
120
120
  <ul>
121
- <li><a class="reference internal" href="#">5.5. grn_expr</a><ul>
122
- <li><a class="reference internal" href="#id1">5.5.1. 名前</a></li>
123
- <li><a class="reference internal" href="#id2">5.5.2. 説明</a></li>
124
- <li><a class="reference internal" href="#scriptgrn-expr">5.5.3. script形式のgrn_expr</a></li>
125
- <li><a class="reference internal" href="#id3">5.5.4. 例</a></li>
121
+ <li><a class="reference internal" href="#">6.5. grn_expr</a><ul>
122
+ <li><a class="reference internal" href="#id1">6.5.1. 名前</a></li>
123
+ <li><a class="reference internal" href="#id2">6.5.2. 説明</a></li>
124
+ <li><a class="reference internal" href="#scriptgrn-expr">6.5.3. script形式のgrn_expr</a></li>
125
+ <li><a class="reference internal" href="#id3">6.5.4. 例</a></li>
126
126
  </ul>
127
127
  </li>
128
128
  </ul>
129
129
 
130
130
  <h4>Previous topic</h4>
131
131
  <p class="topless"><a href="pseudo_column.html"
132
- title="previous chapter">5.4. 疑似カラム (pseudo_column)</a></p>
132
+ title="previous chapter">6.4. 疑似カラム (pseudo_column)</a></p>
133
133
  <h4>Next topic</h4>
134
134
  <p class="topless"><a href="functions.html"
135
- title="next chapter">5.6. 組み込み関数一覧</a></p>
135
+ title="next chapter">6.6. 組み込み関数一覧</a></p>
136
136
  <h3>This Page</h3>
137
137
  <ul class="this-page-menu">
138
138
  <li><a href="_sources/expr.txt"
@@ -162,13 +162,13 @@
162
162
  <a href="genindex.html" title="General Index"
163
163
  >index</a></li>
164
164
  <li class="right" >
165
- <a href="functions.html" title="5.6. 組み込み関数一覧"
165
+ <a href="functions.html" title="6.6. 組み込み関数一覧"
166
166
  >next</a> |</li>
167
167
  <li class="right" >
168
- <a href="pseudo_column.html" title="5.4. 疑似カラム (pseudo_column)"
168
+ <a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
169
169
  >previous</a> |</li>
170
- <li><a href="index.html">groonga v1.2.4 documentation</a> &raquo;</li>
171
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
170
+ <li><a href="index.html">groonga v1.2.5 documentation</a> &raquo;</li>
171
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
172
172
  </ul>
173
173
  </div>
174
174
  <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.6.1. edit_distance &mdash; groonga v1.2.4 documentation</title>
12
+ <title>6.6.1. edit_distance &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.6. 組み込み関数一覧" href="../functions.html" />
32
- <link rel="next" title="5.6.2. geo_distance" href="geo_distance.html" />
33
- <link rel="prev" title="5.6. 組み込み関数一覧" href="../functions.html" />
30
+ <link rel="top" title="groonga v1.2.5 documentation" href="../index.html" />
31
+ <link rel="up" title="6.6. 組み込み関数一覧" href="../functions.html" />
32
+ <link rel="next" title="6.6.2. geo_distance" href="geo_distance.html" />
33
+ <link rel="prev" title="6.6. 組み込み関数一覧" href="../functions.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="geo_distance.html" title="5.6.2. geo_distance"
60
+ <a href="geo_distance.html" title="6.6.2. geo_distance"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="../functions.html" title="5.6. 組み込み関数一覧"
63
+ <a href="../functions.html" title="6.6. 組み込み関数一覧"
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="../functions.html" accesskey="U">5.6. 組み込み関数一覧</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="../functions.html" accesskey="U">6.6. 組み込み関数一覧</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,24 +74,24 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="edit-distance">
77
- <h1>5.6.1. edit_distance<a class="headerlink" href="#edit-distance" title="Permalink to this headline">¶</a></h1>
77
+ <h1>6.6.1. edit_distance<a class="headerlink" href="#edit-distance" title="Permalink to this headline">¶</a></h1>
78
78
  <div class="section" id="id1">
79
- <h2>5.6.1.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
79
+ <h2>6.6.1.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
80
80
  <p>edit_distance - 指定した2つの文字列の編集距離を計算する</p>
81
81
  </div>
82
82
  <div class="section" id="id2">
83
- <h2>5.6.1.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
83
+ <h2>6.6.1.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
84
84
  <div class="highlight-none"><div class="highlight"><pre>edit_distance(string1, string2)
85
85
  </pre></div>
86
86
  </div>
87
87
  </div>
88
88
  <div class="section" id="id3">
89
- <h2>5.6.1.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
89
+ <h2>6.6.1.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
90
90
  <p>groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
91
91
  <p>edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間の編集距離を求めます。</p>
92
92
  </div>
93
93
  <div class="section" id="id4">
94
- <h2>5.6.1.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
94
+ <h2>6.6.1.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
95
95
  <p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
96
96
  <blockquote>
97
97
  <div>文字列を指定します</div></blockquote>
@@ -100,11 +100,11 @@
100
100
  <div>もうひとつの文字列を指定します</div></blockquote>
101
101
  </div>
102
102
  <div class="section" id="id5">
103
- <h2>5.6.1.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
103
+ <h2>6.6.1.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
104
104
  <p>指定した2つ文字列の編集距離をUint32型の値として返します。</p>
105
105
  </div>
106
106
  <div class="section" id="id6">
107
- <h2>5.6.1.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
107
+ <h2>6.6.1.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
108
108
  <div class="highlight-none"><div class="highlight"><pre>edit_distance(title, &quot;hoge&quot;)
109
109
  1
110
110
  </pre></div>
@@ -120,23 +120,23 @@
120
120
  <div class="sphinxsidebarwrapper">
121
121
  <h3><a href="../index.html">Table Of Contents</a></h3>
122
122
  <ul>
123
- <li><a class="reference internal" href="#">5.6.1. edit_distance</a><ul>
124
- <li><a class="reference internal" href="#id1">5.6.1.1. 名前</a></li>
125
- <li><a class="reference internal" href="#id2">5.6.1.2. 書式</a></li>
126
- <li><a class="reference internal" href="#id3">5.6.1.3. 説明</a></li>
127
- <li><a class="reference internal" href="#id4">5.6.1.4. 引数</a></li>
128
- <li><a class="reference internal" href="#id5">5.6.1.5. 返値</a></li>
129
- <li><a class="reference internal" href="#id6">5.6.1.6. 例</a></li>
123
+ <li><a class="reference internal" href="#">6.6.1. edit_distance</a><ul>
124
+ <li><a class="reference internal" href="#id1">6.6.1.1. 名前</a></li>
125
+ <li><a class="reference internal" href="#id2">6.6.1.2. 書式</a></li>
126
+ <li><a class="reference internal" href="#id3">6.6.1.3. 説明</a></li>
127
+ <li><a class="reference internal" href="#id4">6.6.1.4. 引数</a></li>
128
+ <li><a class="reference internal" href="#id5">6.6.1.5. 返値</a></li>
129
+ <li><a class="reference internal" href="#id6">6.6.1.6. 例</a></li>
130
130
  </ul>
131
131
  </li>
132
132
  </ul>
133
133
 
134
134
  <h4>Previous topic</h4>
135
135
  <p class="topless"><a href="../functions.html"
136
- title="previous chapter">5.6. 組み込み関数一覧</a></p>
136
+ title="previous chapter">6.6. 組み込み関数一覧</a></p>
137
137
  <h4>Next topic</h4>
138
138
  <p class="topless"><a href="geo_distance.html"
139
- title="next chapter">5.6.2. geo_distance</a></p>
139
+ title="next chapter">6.6.2. geo_distance</a></p>
140
140
  <h3>This Page</h3>
141
141
  <ul class="this-page-menu">
142
142
  <li><a href="../_sources/functions/edit_distance.txt"
@@ -166,14 +166,14 @@
166
166
  <a href="../genindex.html" title="General Index"
167
167
  >index</a></li>
168
168
  <li class="right" >
169
- <a href="geo_distance.html" title="5.6.2. geo_distance"
169
+ <a href="geo_distance.html" title="6.6.2. geo_distance"
170
170
  >next</a> |</li>
171
171
  <li class="right" >
172
- <a href="../functions.html" title="5.6. 組み込み関数一覧"
172
+ <a href="../functions.html" title="6.6. 組み込み関数一覧"
173
173
  >previous</a> |</li>
174
- <li><a href="../index.html">groonga v1.2.4 documentation</a> &raquo;</li>
175
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
176
- <li><a href="../functions.html" >5.6. 組み込み関数一覧</a> &raquo;</li>
174
+ <li><a href="../index.html">groonga v1.2.5 documentation</a> &raquo;</li>
175
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
176
+ <li><a href="../functions.html" >6.6. 組み込み関数一覧</a> &raquo;</li>
177
177
  </ul>
178
178
  </div>
179
179
  <div class="footer">