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. 実行ファイル &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>6.1. 実行ファイル &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,10 +28,10 @@
28
28
  <script type="text/javascript" src="_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="index.html" />
32
- <link rel="up" title="5. リファレンスマニュアル" href="reference.html" />
33
- <link rel="next" title="5.1.1. grnslap" href="executables/grnslap.html" />
34
- <link rel="prev" title="5. リファレンスマニュアル" href="reference.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
32
+ <link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
33
+ <link rel="next" title="6.1.1. grnslap" href="executables/grnslap.html" />
34
+ <link rel="prev" title="6. リファレンスマニュアル" href="reference.html" />
35
35
  </head>
36
36
  <body>
37
37
  <div class="header">
@@ -58,13 +58,13 @@
58
58
  <a href="genindex.html" title="総合索引"
59
59
  accesskey="I">索引</a></li>
60
60
  <li class="right" >
61
- <a href="executables/grnslap.html" title="5.1.1. grnslap"
61
+ <a href="executables/grnslap.html" title="6.1.1. grnslap"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="reference.html" title="5. リファレンスマニュアル"
64
+ <a href="reference.html" title="6. リファレンスマニュアル"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
67
- <li><a href="reference.html" accesskey="U">5. リファレンスマニュアル</a> &raquo;</li>
66
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
67
+ <li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,14 +74,15 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="id1">
77
- <h1>5.1. 実行ファイル<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
+ <h1>6.1. 実行ファイル<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
78
  <p>groongaパッケージが提供する実行ファイルについて説明します。</p>
79
79
  <div class="toctree-wrapper compound">
80
80
  <ul>
81
- <li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">5.1.1. grnslap</a></li>
82
- <li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">5.1.2. grntest</a></li>
83
- <li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">5.1.3. groonga実行ファイル</a></li>
84
- <li class="toctree-l1"><a class="reference internal" href="executables/http.html">5.1.4. groonga HTTPサービス</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="executables/grnslap.html">6.1.1. grnslap</a></li>
82
+ <li class="toctree-l1"><a class="reference internal" href="executables/grntest.html">6.1.2. grntest</a></li>
83
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga.html">6.1.3. groonga実行ファイル</a></li>
84
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga-http.html">6.1.4. groonga HTTPサービス</a></li>
85
+ <li class="toctree-l1"><a class="reference internal" href="executables/groonga-suggest-create-dataset.html">6.1.5. groonga-suggest-create-dataset</a></li>
85
86
  </ul>
86
87
  </div>
87
88
  </div>
@@ -94,10 +95,10 @@
94
95
  <div class="sphinxsidebarwrapper">
95
96
  <h4>前のトピックへ</h4>
96
97
  <p class="topless"><a href="reference.html"
97
- title="前の章へ">5. リファレンスマニュアル</a></p>
98
+ title="前の章へ">6. リファレンスマニュアル</a></p>
98
99
  <h4>次のトピックへ</h4>
99
100
  <p class="topless"><a href="executables/grnslap.html"
100
- title="次の章へ">5.1.1. grnslap</a></p>
101
+ title="次の章へ">6.1.1. grnslap</a></p>
101
102
  <h3>このページ</h3>
102
103
  <ul class="this-page-menu">
103
104
  <li><a href="_sources/executables.txt"
@@ -127,13 +128,13 @@
127
128
  <a href="genindex.html" title="総合索引"
128
129
  >索引</a></li>
129
130
  <li class="right" >
130
- <a href="executables/grnslap.html" title="5.1.1. grnslap"
131
+ <a href="executables/grnslap.html" title="6.1.1. grnslap"
131
132
  >次へ</a> |</li>
132
133
  <li class="right" >
133
- <a href="reference.html" title="5. リファレンスマニュアル"
134
+ <a href="reference.html" title="6. リファレンスマニュアル"
134
135
  >前へ</a> |</li>
135
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
136
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
136
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
137
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
137
138
  </ul>
138
139
  </div>
139
140
  <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ドキュメント</title>
12
+ <title>6.5. grn_expr &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,10 +28,10 @@
28
28
  <script type="text/javascript" src="_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="index.html" />
32
- <link rel="up" title="5. リファレンスマニュアル" href="reference.html" />
33
- <link rel="next" title="5.6. 組み込み関数一覧" href="functions.html" />
34
- <link rel="prev" title="5.4. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="index.html" />
32
+ <link rel="up" title="6. リファレンスマニュアル" href="reference.html" />
33
+ <link rel="next" title="6.6. 組み込み関数一覧" href="functions.html" />
34
+ <link rel="prev" title="6.4. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
35
35
  </head>
36
36
  <body>
37
37
  <div class="header">
@@ -58,13 +58,13 @@
58
58
  <a href="genindex.html" title="総合索引"
59
59
  accesskey="I">索引</a></li>
60
60
  <li class="right" >
61
- <a href="functions.html" title="5.6. 組み込み関数一覧"
61
+ <a href="functions.html" title="6.6. 組み込み関数一覧"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="pseudo_column.html" title="5.4. 疑似カラム (pseudo_column)"
64
+ <a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
67
- <li><a href="reference.html" accesskey="U">5. リファレンスマニュアル</a> &raquo;</li>
66
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
67
+ <li><a href="reference.html" accesskey="U">6. リファレンスマニュアル</a> &raquo;</li>
68
68
  </ul>
69
69
  </div>
70
70
 
@@ -74,19 +74,19 @@
74
74
  <div class="body">
75
75
 
76
76
  <div class="section" id="grn-expr">
77
- <h1>5.5. grn_expr<a class="headerlink" href="#grn-expr" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
+ <h1>6.5. grn_expr<a class="headerlink" href="#grn-expr" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
78
  <div class="section" id="id1">
79
- <h2>5.5.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
+ <h2>6.5.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
80
  <p>grn_expr - 検索条件やデータベースへの操作を表現するデータ構造(読み方:&quot;ぐるんしき&quot;)</p>
81
81
  </div>
82
82
  <div class="section" id="id2">
83
- <h2>5.5.2. 説明<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
+ <h2>6.5.2. 説明<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
84
  <p>grn_exprは、検索条件やデータベースへの操作を表現するために使用されるデータ構造の形式です。</p>
85
85
  <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>
86
86
  <p>grn_exprを使うことによって非常に柔軟に検索条件を記述することができます。類似文書検索や近傍検索のような高度な検索もすべてgrn_exprによって記述できます。また、全文検索クエリにおいて、特定の文字列を含むレコードのスコアを細かく制御したり、検索結果数の多寡に応じてより検索漏れの少ないアルゴリズムで再検索するような機能も、grn_exprとgrn_table_select()API関数を組み合わせることによって自由に定義できます。</p>
87
87
  </div>
88
88
  <div class="section" id="scriptgrn-expr">
89
- <h2>5.5.3. script形式のgrn_expr<a class="headerlink" href="#scriptgrn-expr" title="このヘッドラインへのパーマリンク">¶</a></h2>
89
+ <h2>6.5.3. script形式のgrn_expr<a class="headerlink" href="#scriptgrn-expr" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
90
  <p>ECMAScript風の構文で検索条件やレコードへの操作を記述します。</p>
91
91
  <p>式中のIDENTIFIER(識別子)は、以下のいずれかを指します。</p>
92
92
  <table class="docutils field-list" frame="void" rules="none">
@@ -103,7 +103,7 @@
103
103
  </table>
104
104
  </div>
105
105
  <div class="section" id="id3">
106
- <h2>5.5.4. 例<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
106
+ <h2>6.5.4. 例<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
107
107
  <p>script形式でcolumn1の値が'hoge'に等しいという条件</p>
108
108
  <blockquote>
109
109
  <div>column1 == &quot;hoge&quot;</div></blockquote>
@@ -119,21 +119,21 @@
119
119
  <div class="sphinxsidebarwrapper">
120
120
  <h3><a href="index.html">目次</a></h3>
121
121
  <ul>
122
- <li><a class="reference internal" href="#">5.5. grn_expr</a><ul>
123
- <li><a class="reference internal" href="#id1">5.5.1. 名前</a></li>
124
- <li><a class="reference internal" href="#id2">5.5.2. 説明</a></li>
125
- <li><a class="reference internal" href="#scriptgrn-expr">5.5.3. script形式のgrn_expr</a></li>
126
- <li><a class="reference internal" href="#id3">5.5.4. 例</a></li>
122
+ <li><a class="reference internal" href="#">6.5. grn_expr</a><ul>
123
+ <li><a class="reference internal" href="#id1">6.5.1. 名前</a></li>
124
+ <li><a class="reference internal" href="#id2">6.5.2. 説明</a></li>
125
+ <li><a class="reference internal" href="#scriptgrn-expr">6.5.3. script形式のgrn_expr</a></li>
126
+ <li><a class="reference internal" href="#id3">6.5.4. 例</a></li>
127
127
  </ul>
128
128
  </li>
129
129
  </ul>
130
130
 
131
131
  <h4>前のトピックへ</h4>
132
132
  <p class="topless"><a href="pseudo_column.html"
133
- title="前の章へ">5.4. 疑似カラム (pseudo_column)</a></p>
133
+ title="前の章へ">6.4. 疑似カラム (pseudo_column)</a></p>
134
134
  <h4>次のトピックへ</h4>
135
135
  <p class="topless"><a href="functions.html"
136
- title="次の章へ">5.6. 組み込み関数一覧</a></p>
136
+ title="次の章へ">6.6. 組み込み関数一覧</a></p>
137
137
  <h3>このページ</h3>
138
138
  <ul class="this-page-menu">
139
139
  <li><a href="_sources/expr.txt"
@@ -163,13 +163,13 @@
163
163
  <a href="genindex.html" title="総合索引"
164
164
  >索引</a></li>
165
165
  <li class="right" >
166
- <a href="functions.html" title="5.6. 組み込み関数一覧"
166
+ <a href="functions.html" title="6.6. 組み込み関数一覧"
167
167
  >次へ</a> |</li>
168
168
  <li class="right" >
169
- <a href="pseudo_column.html" title="5.4. 疑似カラム (pseudo_column)"
169
+ <a href="pseudo_column.html" title="6.4. 疑似カラム (pseudo_column)"
170
170
  >前へ</a> |</li>
171
- <li><a href="index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
172
- <li><a href="reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
171
+ <li><a href="index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
172
+ <li><a href="reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
173
173
  </ul>
174
174
  </div>
175
175
  <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ドキュメント</title>
12
+ <title>6.6.1. edit_distance &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,10 +28,10 @@
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="../_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="../index.html" />
32
- <link rel="up" title="5.6. 組み込み関数一覧" href="../functions.html" />
33
- <link rel="next" title="5.6.2. geo_distance" href="geo_distance.html" />
34
- <link rel="prev" title="5.6. 組み込み関数一覧" href="../functions.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="../index.html" />
32
+ <link rel="up" title="6.6. 組み込み関数一覧" href="../functions.html" />
33
+ <link rel="next" title="6.6.2. geo_distance" href="geo_distance.html" />
34
+ <link rel="prev" title="6.6. 組み込み関数一覧" href="../functions.html" />
35
35
  </head>
36
36
  <body>
37
37
  <div class="header">
@@ -58,14 +58,14 @@
58
58
  <a href="../genindex.html" title="総合索引"
59
59
  accesskey="I">索引</a></li>
60
60
  <li class="right" >
61
- <a href="geo_distance.html" title="5.6.2. geo_distance"
61
+ <a href="geo_distance.html" title="6.6.2. geo_distance"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="../functions.html" title="5.6. 組み込み関数一覧"
64
+ <a href="../functions.html" title="6.6. 組み込み関数一覧"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
67
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
68
- <li><a href="../functions.html" accesskey="U">5.6. 組み込み関数一覧</a> &raquo;</li>
66
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
67
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
68
+ <li><a href="../functions.html" accesskey="U">6.6. 組み込み関数一覧</a> &raquo;</li>
69
69
  </ul>
70
70
  </div>
71
71
 
@@ -75,24 +75,24 @@
75
75
  <div class="body">
76
76
 
77
77
  <div class="section" id="edit-distance">
78
- <h1>5.6.1. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
+ <h1>6.6.1. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
79
  <div class="section" id="id1">
80
- <h2>5.6.1.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
+ <h2>6.6.1.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
81
  <p>edit_distance - 指定した2つの文字列の編集距離を計算する</p>
82
82
  </div>
83
83
  <div class="section" id="id2">
84
- <h2>5.6.1.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
+ <h2>6.6.1.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
85
85
  <div class="highlight-none"><div class="highlight"><pre>edit_distance(string1, string2)
86
86
  </pre></div>
87
87
  </div>
88
88
  </div>
89
89
  <div class="section" id="id3">
90
- <h2>5.6.1.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
+ <h2>6.6.1.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
91
91
  <p>groonga組込関数の一つであるedit_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
92
92
  <p>edit_distance() 関数は、string1に指定した文字列とstring2に指定した文字列の間の編集距離を求めます。</p>
93
93
  </div>
94
94
  <div class="section" id="id4">
95
- <h2>5.6.1.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
95
+ <h2>6.6.1.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
96
96
  <p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
97
97
  <blockquote>
98
98
  <div>文字列を指定します</div></blockquote>
@@ -101,11 +101,11 @@
101
101
  <div>もうひとつの文字列を指定します</div></blockquote>
102
102
  </div>
103
103
  <div class="section" id="id5">
104
- <h2>5.6.1.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
104
+ <h2>6.6.1.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
105
105
  <p>指定した2つ文字列の編集距離をUint32型の値として返します。</p>
106
106
  </div>
107
107
  <div class="section" id="id6">
108
- <h2>5.6.1.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
108
+ <h2>6.6.1.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
109
109
  <div class="highlight-none"><div class="highlight"><pre>edit_distance(title, &quot;hoge&quot;)
110
110
  1
111
111
  </pre></div>
@@ -121,23 +121,23 @@
121
121
  <div class="sphinxsidebarwrapper">
122
122
  <h3><a href="../index.html">目次</a></h3>
123
123
  <ul>
124
- <li><a class="reference internal" href="#">5.6.1. edit_distance</a><ul>
125
- <li><a class="reference internal" href="#id1">5.6.1.1. 名前</a></li>
126
- <li><a class="reference internal" href="#id2">5.6.1.2. 書式</a></li>
127
- <li><a class="reference internal" href="#id3">5.6.1.3. 説明</a></li>
128
- <li><a class="reference internal" href="#id4">5.6.1.4. 引数</a></li>
129
- <li><a class="reference internal" href="#id5">5.6.1.5. 返値</a></li>
130
- <li><a class="reference internal" href="#id6">5.6.1.6. 例</a></li>
124
+ <li><a class="reference internal" href="#">6.6.1. edit_distance</a><ul>
125
+ <li><a class="reference internal" href="#id1">6.6.1.1. 名前</a></li>
126
+ <li><a class="reference internal" href="#id2">6.6.1.2. 書式</a></li>
127
+ <li><a class="reference internal" href="#id3">6.6.1.3. 説明</a></li>
128
+ <li><a class="reference internal" href="#id4">6.6.1.4. 引数</a></li>
129
+ <li><a class="reference internal" href="#id5">6.6.1.5. 返値</a></li>
130
+ <li><a class="reference internal" href="#id6">6.6.1.6. 例</a></li>
131
131
  </ul>
132
132
  </li>
133
133
  </ul>
134
134
 
135
135
  <h4>前のトピックへ</h4>
136
136
  <p class="topless"><a href="../functions.html"
137
- title="前の章へ">5.6. 組み込み関数一覧</a></p>
137
+ title="前の章へ">6.6. 組み込み関数一覧</a></p>
138
138
  <h4>次のトピックへ</h4>
139
139
  <p class="topless"><a href="geo_distance.html"
140
- title="次の章へ">5.6.2. geo_distance</a></p>
140
+ title="次の章へ">6.6.2. geo_distance</a></p>
141
141
  <h3>このページ</h3>
142
142
  <ul class="this-page-menu">
143
143
  <li><a href="../_sources/functions/edit_distance.txt"
@@ -167,14 +167,14 @@
167
167
  <a href="../genindex.html" title="総合索引"
168
168
  >索引</a></li>
169
169
  <li class="right" >
170
- <a href="geo_distance.html" title="5.6.2. geo_distance"
170
+ <a href="geo_distance.html" title="6.6.2. geo_distance"
171
171
  >次へ</a> |</li>
172
172
  <li class="right" >
173
- <a href="../functions.html" title="5.6. 組み込み関数一覧"
173
+ <a href="../functions.html" title="6.6. 組み込み関数一覧"
174
174
  >前へ</a> |</li>
175
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
176
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
177
- <li><a href="../functions.html" >5.6. 組み込み関数一覧</a> &raquo;</li>
175
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
176
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
177
+ <li><a href="../functions.html" >6.6. 組み込み関数一覧</a> &raquo;</li>
178
178
  </ul>
179
179
  </div>
180
180
  <div class="footer">
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>5.6.2. geo_distance &mdash; groonga v1.2.4ドキュメント</title>
12
+ <title>6.6.2. geo_distance &mdash; groonga v1.2.5ドキュメント</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '1.2.4',
20
+ VERSION: '1.2.5',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -28,10 +28,10 @@
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <script type="text/javascript" src="../_static/translations.js"></script>
30
30
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
31
- <link rel="top" title="groonga v1.2.4ドキュメント" href="../index.html" />
32
- <link rel="up" title="5.6. 組み込み関数一覧" href="../functions.html" />
33
- <link rel="next" title="5.6.3. geo_in_circle" href="geo_in_circle.html" />
34
- <link rel="prev" title="5.6.1. edit_distance" href="edit_distance.html" />
31
+ <link rel="top" title="groonga v1.2.5ドキュメント" href="../index.html" />
32
+ <link rel="up" title="6.6. 組み込み関数一覧" href="../functions.html" />
33
+ <link rel="next" title="6.6.3. geo_in_circle" href="geo_in_circle.html" />
34
+ <link rel="prev" title="6.6.1. edit_distance" href="edit_distance.html" />
35
35
  </head>
36
36
  <body>
37
37
  <div class="header">
@@ -58,14 +58,14 @@
58
58
  <a href="../genindex.html" title="総合索引"
59
59
  accesskey="I">索引</a></li>
60
60
  <li class="right" >
61
- <a href="geo_in_circle.html" title="5.6.3. geo_in_circle"
61
+ <a href="geo_in_circle.html" title="6.6.3. geo_in_circle"
62
62
  accesskey="N">次へ</a> |</li>
63
63
  <li class="right" >
64
- <a href="edit_distance.html" title="5.6.1. edit_distance"
64
+ <a href="edit_distance.html" title="6.6.1. edit_distance"
65
65
  accesskey="P">前へ</a> |</li>
66
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
67
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
68
- <li><a href="../functions.html" accesskey="U">5.6. 組み込み関数一覧</a> &raquo;</li>
66
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
67
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
68
+ <li><a href="../functions.html" accesskey="U">6.6. 組み込み関数一覧</a> &raquo;</li>
69
69
  </ul>
70
70
  </div>
71
71
 
@@ -75,25 +75,25 @@
75
75
  <div class="body">
76
76
 
77
77
  <div class="section" id="geo-distance">
78
- <h1>5.6.2. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
78
+ <h1>6.6.2. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
79
79
  <div class="section" id="id1">
80
- <h2>5.6.2.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
80
+ <h2>6.6.2.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
81
81
  <p>geo_distance - 指定した2点の距離を計算する</p>
82
82
  </div>
83
83
  <div class="section" id="id2">
84
- <h2>5.6.2.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
84
+ <h2>6.6.2.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
85
85
  <div class="highlight-none"><div class="highlight"><pre>geo_distance(point1, point2)
86
86
  </pre></div>
87
87
  </div>
88
88
  </div>
89
89
  <div class="section" id="id3">
90
- <h2>5.6.2.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
90
+ <h2>6.6.2.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
91
91
  <p>groonga組込関数の一つであるgeo_distanceについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
92
92
  <p>geo_distance() 関数は、point1に指定した座標とpoint2に指定した座標の間の距離(近似値)を求めます。
93
93
  geo_distance()の他に、距離計算アルゴリズムの異なる、geo_distance2()、geo_distance3()が使用できます。それぞれ、長方形近似、球面近似、ヒュベニの距離計算式によって距離を算出します。</p>
94
94
  </div>
95
95
  <div class="section" id="id4">
96
- <h2>5.6.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
96
+ <h2>6.6.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
97
97
  <p><tt class="docutils literal"><span class="pre">point1</span></tt></p>
98
98
  <blockquote>
99
99
  <div>距離を求める2点のうち一つを指定します。GeoPoint型の値を指定できます。 <a class="footnote-reference" href="#id8" id="id5">[1]</a></div></blockquote>
@@ -102,11 +102,11 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
102
102
  <div>距離を求める2点のうちもう一つを指定します。GeoPoint型の値、あるいは座標を示す文字列を指定できます。</div></blockquote>
103
103
  </div>
104
104
  <div class="section" id="id6">
105
- <h2>5.6.2.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
105
+ <h2>6.6.2.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
106
106
  <p>指定した2点の距離をFloat型の値(単位:メートル)として返します。</p>
107
107
  </div>
108
108
  <div class="section" id="id7">
109
- <h2>5.6.2.6. 例<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
109
+ <h2>6.6.2.6. 例<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
110
110
  <div class="highlight-none"><div class="highlight"><pre>geo_distance(pos, &quot;150x150&quot;)
111
111
  100
112
112
  </pre></div>
@@ -129,23 +129,23 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
129
129
  <div class="sphinxsidebarwrapper">
130
130
  <h3><a href="../index.html">目次</a></h3>
131
131
  <ul>
132
- <li><a class="reference internal" href="#">5.6.2. geo_distance</a><ul>
133
- <li><a class="reference internal" href="#id1">5.6.2.1. 名前</a></li>
134
- <li><a class="reference internal" href="#id2">5.6.2.2. 書式</a></li>
135
- <li><a class="reference internal" href="#id3">5.6.2.3. 説明</a></li>
136
- <li><a class="reference internal" href="#id4">5.6.2.4. 引数</a></li>
137
- <li><a class="reference internal" href="#id6">5.6.2.5. 返値</a></li>
138
- <li><a class="reference internal" href="#id7">5.6.2.6. 例</a></li>
132
+ <li><a class="reference internal" href="#">6.6.2. geo_distance</a><ul>
133
+ <li><a class="reference internal" href="#id1">6.6.2.1. 名前</a></li>
134
+ <li><a class="reference internal" href="#id2">6.6.2.2. 書式</a></li>
135
+ <li><a class="reference internal" href="#id3">6.6.2.3. 説明</a></li>
136
+ <li><a class="reference internal" href="#id4">6.6.2.4. 引数</a></li>
137
+ <li><a class="reference internal" href="#id6">6.6.2.5. 返値</a></li>
138
+ <li><a class="reference internal" href="#id7">6.6.2.6. 例</a></li>
139
139
  </ul>
140
140
  </li>
141
141
  </ul>
142
142
 
143
143
  <h4>前のトピックへ</h4>
144
144
  <p class="topless"><a href="edit_distance.html"
145
- title="前の章へ">5.6.1. edit_distance</a></p>
145
+ title="前の章へ">6.6.1. edit_distance</a></p>
146
146
  <h4>次のトピックへ</h4>
147
147
  <p class="topless"><a href="geo_in_circle.html"
148
- title="次の章へ">5.6.3. geo_in_circle</a></p>
148
+ title="次の章へ">6.6.3. geo_in_circle</a></p>
149
149
  <h3>このページ</h3>
150
150
  <ul class="this-page-menu">
151
151
  <li><a href="../_sources/functions/geo_distance.txt"
@@ -175,14 +175,14 @@ geo_distance()の他に、距離計算アルゴリズムの異なる、geo_dista
175
175
  <a href="../genindex.html" title="総合索引"
176
176
  >索引</a></li>
177
177
  <li class="right" >
178
- <a href="geo_in_circle.html" title="5.6.3. geo_in_circle"
178
+ <a href="geo_in_circle.html" title="6.6.3. geo_in_circle"
179
179
  >次へ</a> |</li>
180
180
  <li class="right" >
181
- <a href="edit_distance.html" title="5.6.1. edit_distance"
181
+ <a href="edit_distance.html" title="6.6.1. edit_distance"
182
182
  >前へ</a> |</li>
183
- <li><a href="../index.html">groonga v1.2.4ドキュメント</a> &raquo;</li>
184
- <li><a href="../reference.html" >5. リファレンスマニュアル</a> &raquo;</li>
185
- <li><a href="../functions.html" >5.6. 組み込み関数一覧</a> &raquo;</li>
183
+ <li><a href="../index.html">groonga v1.2.5ドキュメント</a> &raquo;</li>
184
+ <li><a href="../reference.html" >6. リファレンスマニュアル</a> &raquo;</li>
185
+ <li><a href="../functions.html" >6.6. 組み込み関数一覧</a> &raquo;</li>
186
186
  </ul>
187
187
  </div>
188
188
  <div class="footer">