rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +1 -1
  3. data/doc/text/news.textile +17 -1
  4. data/ext/groonga/extconf.rb +2 -1
  5. data/ext/groonga/rb-grn-column.c +31 -0
  6. data/ext/groonga/rb-grn-database.c +33 -1
  7. data/ext/groonga/rb-grn-table.c +1 -1
  8. data/ext/groonga/rb-grn.h +1 -1
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/geo-point.rb +2 -1
  13. data/rroonga-build.rb +3 -3
  14. data/test/test-column.rb +68 -6
  15. data/test/test-command-select.rb +0 -3
  16. data/test/test-database.rb +28 -1
  17. data/test/test-expression-builder.rb +1 -1
  18. data/test/test-geo-point.rb +15 -0
  19. data/test/test-variable-size-column.rb +2 -2
  20. data/vendor/local/bin/grndb.exe +0 -0
  21. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  22. data/vendor/local/bin/groonga.exe +0 -0
  23. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  24. data/vendor/local/bin/libgroonga-0.dll +0 -0
  25. data/vendor/local/bin/libmecab-1.dll +0 -0
  26. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  27. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  28. data/vendor/local/bin/libonig-5.dll +0 -0
  29. data/vendor/local/bin/libstdc++-6.dll +0 -0
  30. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  31. data/vendor/local/bin/lz4.exe +0 -0
  32. data/vendor/local/bin/lz4c.exe +0 -0
  33. data/vendor/local/bin/lz4cat +0 -0
  34. data/vendor/local/bin/mecab-config +2 -2
  35. data/vendor/local/bin/mecab.exe +0 -0
  36. data/vendor/local/bin/onig-config +1 -1
  37. data/vendor/local/bin/zlib1.dll +0 -0
  38. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  39. data/vendor/local/include/groonga/groonga.h +1 -0
  40. data/vendor/local/include/groonga/groonga/groonga.h +4 -1
  41. data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
  42. data/vendor/local/include/lz4.h +21 -29
  43. data/vendor/local/include/lz4frame.h +252 -0
  44. data/vendor/local/include/lz4hc.h +14 -63
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  47. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  51. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  53. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  55. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  57. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  58. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  59. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  61. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  63. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  65. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  69. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  73. data/vendor/local/lib/groonga/scripts/ruby/command/grndb.rb +169 -0
  74. data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
  75. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
  77. data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
  78. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
  79. data/vendor/local/lib/libgroonga.a +0 -0
  80. data/vendor/local/lib/libgroonga.dll.a +0 -0
  81. data/vendor/local/lib/libgroonga.la +3 -3
  82. data/vendor/local/lib/liblz4.a +0 -0
  83. data/vendor/local/lib/liblz4.dll +0 -0
  84. data/vendor/local/lib/liblz4.dll.1 +0 -0
  85. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  86. data/vendor/local/lib/libmecab.a +0 -0
  87. data/vendor/local/lib/libmecab.dll.a +0 -0
  88. data/vendor/local/lib/libmecab.la +3 -3
  89. data/vendor/local/lib/libmsgpack.a +0 -0
  90. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  91. data/vendor/local/lib/libmsgpack.la +3 -3
  92. data/vendor/local/lib/libmsgpackc.a +0 -0
  93. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  94. data/vendor/local/lib/libmsgpackc.la +3 -3
  95. data/vendor/local/lib/libonig.a +0 -0
  96. data/vendor/local/lib/libonig.dll.a +0 -0
  97. data/vendor/local/lib/libonig.la +2 -2
  98. data/vendor/local/lib/libz.a +0 -0
  99. data/vendor/local/lib/libz.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  101. data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
  102. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  104. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  105. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  106. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  107. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  108. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  109. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  110. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  111. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  112. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  113. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
  114. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  115. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
  116. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  117. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  118. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  119. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  120. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
  121. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  122. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
  123. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
  124. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
  125. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  127. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
  128. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
  129. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
  135. data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
  136. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
  137. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
  138. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  139. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  140. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  141. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
  142. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  143. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  144. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  145. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  146. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
  147. data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
  148. data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
  149. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  150. data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
  151. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  152. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  153. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  154. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  155. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
  156. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  157. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  158. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  159. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  160. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  161. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
  162. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  163. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  164. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
  165. data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
  166. data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
  167. data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
  168. data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
  169. data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
  170. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
  171. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
  172. data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
  173. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
  174. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
  175. data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
  176. data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
  177. data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
  178. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  179. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
  180. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  181. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
  182. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
  183. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
  184. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
  185. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  186. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  187. data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
  188. data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
  212. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  213. data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
  214. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
  215. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
  216. data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
  217. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
  219. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
  220. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
  256. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
  257. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
  258. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
  259. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
  260. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
  261. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
  262. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  263. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
  264. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
  265. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
  266. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
  267. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
  268. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
  269. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
  270. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
  271. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
  272. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
  273. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
  274. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
  275. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
  276. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
  277. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
  278. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
  279. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
  281. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
  282. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
  283. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
  284. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
  285. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
  286. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
  287. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
  288. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
  289. data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
  290. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  291. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
  292. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
  293. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
  294. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
  295. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
  296. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
  297. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
  298. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
  299. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
  300. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
  301. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
  302. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  303. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  304. data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
  305. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
  306. data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
  307. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
  308. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
  309. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
  310. data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
  311. data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
  312. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
  313. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  314. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  315. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  316. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  317. data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
  318. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
  319. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
  320. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
  321. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  322. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
  323. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
  324. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
  325. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
  326. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
  327. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
  328. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
  329. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  330. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
  331. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  332. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
  333. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  334. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  335. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  336. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  337. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
  338. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  339. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
  340. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
  341. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
  342. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
  343. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  344. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
  345. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
  346. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
  347. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
  353. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
  354. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
  355. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  356. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  357. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  358. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
  359. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  360. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  361. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  362. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  363. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
  364. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  365. data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
  366. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  367. data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
  368. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  369. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  370. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  371. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  372. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
  373. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  374. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  375. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  376. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  377. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
  378. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
  379. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
  380. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  381. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
  382. data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
  383. data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
  384. data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
  385. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
  386. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
  387. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
  388. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
  389. data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
  390. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
  391. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
  392. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
  393. data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
  394. data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
  395. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  396. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
  397. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  398. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
  399. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
  400. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
  401. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
  402. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  403. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  404. data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
  405. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
  406. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
  407. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
  408. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
  409. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
  410. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
  411. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
  412. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
  413. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
  414. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
  415. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
  416. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
  417. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
  418. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
  419. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
  420. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
  421. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
  422. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
  423. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
  424. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
  425. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
  426. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
  427. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
  429. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  430. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
  431. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
  432. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
  433. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
  434. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  435. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
  436. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
  437. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
  438. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
  439. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
  440. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
  441. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
  442. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
  443. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
  444. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
  445. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
  446. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
  447. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
  448. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
  449. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
  450. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
  451. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
  452. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
  453. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
  454. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
  455. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
  456. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
  457. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
  458. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
  459. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
  460. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
  461. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
  462. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
  473. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
  474. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
  475. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
  476. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
  477. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
  478. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
  479. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
  480. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
  481. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
  482. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
  483. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
  484. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
  485. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
  486. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
  487. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
  488. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
  489. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
  490. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
  491. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
  492. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
  493. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
  494. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
  495. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
  496. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
  497. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
  498. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
  499. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
  500. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
  501. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
  502. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
  503. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
  504. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
  505. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
  506. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
  507. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  508. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
  509. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
  510. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
  511. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
  512. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
  513. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
  514. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
  515. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
  516. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
  517. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
  518. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
  519. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  520. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  521. data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
  522. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
  523. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
  524. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
  525. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
  526. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
  527. data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
  528. data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
  529. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
  530. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  531. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  532. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
  533. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  534. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
  535. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
  536. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
  537. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
  538. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
  539. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  540. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
  541. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
  542. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
  543. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
  544. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
  545. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
  546. data/vendor/local/share/groonga/html/admin/index.html +1 -1
  547. data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
  548. data/vendor/local/share/license/mruby/AUTHORS +11 -0
  549. data/vendor/local/share/license/mruby/README.md +32 -20
  550. data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
  551. data/vendor/local/share/man/man1/groonga.1 +930 -239
  552. metadata +104 -81
  553. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  554. data/vendor/local/bin/lz4 +0 -0
  555. data/vendor/local/bin/lz4c +0 -0
  556. data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
  557. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
  558. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
  559. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
  560. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.12. 関数 &mdash; Groonga v4.0.8ドキュメント</title>
10
+ <title>7.12. 関数 &mdash; Groonga v4.0.8-168-gae696d7ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.8ドキュメント" href="../index.html" />
29
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../index.html" />
30
30
  <link rel="up" title="7. リファレンスマニュアル" href="../reference.html" />
31
31
  <link rel="next" title="7.12.1. between" href="functions/between.html" />
32
32
  <link rel="prev" title="7.11.2. スクリプト構文" href="grn_expr/script_syntax.html" />
33
33
  </head>
34
- <body role="document">
34
+ <body>
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../index.html">
@@ -49,7 +49,7 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related" role="navigation" aria-label="related navigation">
52
+ <div class="related">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="grn_expr/script_syntax.html" title="7.11.2. スクリプト構文"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
64
+ <li><a href="../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../reference.html" accesskey="U">7. リファレンスマニュアル</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
@@ -69,11 +69,11 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body" role="main">
72
+ <div class="body">
73
73
 
74
74
  <div class="section" id="function">
75
75
  <h1>7.12. 関数<a class="headerlink" href="#function" title="このヘッドラインへのパーマリンク">¶</a></h1>
76
- <p>関数はいくつかのコマンドの中で使えます。 <a class="reference internal" href="commands/select.html"><em>select</em></a> コマンドの <code class="docutils literal"><span class="pre">--filter</span></code> 、 <code class="docutils literal"><span class="pre">--scorer</span></code> 、 <code class="docutils literal"><span class="pre">output_columns</span></code> オプションで使えます。</p>
76
+ <p>関数はいくつかのコマンドの中で使えます。 <a class="reference internal" href="commands/select.html"><em>select</em></a> コマンドの <tt class="docutils literal"><span class="pre">--filter</span></tt> 、 <tt class="docutils literal"><span class="pre">--scorer</span></tt> 、 <tt class="docutils literal"><span class="pre">output_columns</span></tt> オプションで使えます。</p>
77
77
  <p>このセクションでは関数についての説明と組み込みの関数について説明します。</p>
78
78
  <p>TODO: Add documentations about function.</p>
79
79
  <div class="toctree-wrapper compound">
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
  </div>
102
102
  </div>
103
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
103
+ <div class="sphinxsidebar">
104
104
  <div class="sphinxsidebarwrapper">
105
105
  <h4>前のトピックへ</h4>
106
106
  <p class="topless"><a href="grn_expr/script_syntax.html"
@@ -108,14 +108,12 @@
108
108
  <h4>次のトピックへ</h4>
109
109
  <p class="topless"><a href="functions/between.html"
110
110
  title="次の章へ">7.12.1. between</a></p>
111
- <div role="note" aria-label="source link">
112
- <h3>このページ</h3>
113
- <ul class="this-page-menu">
114
- <li><a href="../_sources/reference/function.txt"
115
- rel="nofollow">ソースコードを表示</a></li>
116
- </ul>
117
- </div>
118
- <div id="searchbox" style="display: none" role="search">
111
+ <h3>このページ</h3>
112
+ <ul class="this-page-menu">
113
+ <li><a href="../_sources/reference/function.txt"
114
+ rel="nofollow">ソースコードを表示</a></li>
115
+ </ul>
116
+ <div id="searchbox" style="display: none">
119
117
  <h3>クイック検索</h3>
120
118
  <form class="search" action="../search.html" method="get">
121
119
  <input type="text" name="q" />
@@ -132,7 +130,7 @@
132
130
  </div>
133
131
  <div class="clearer"></div>
134
132
  </div>
135
- <div class="related" role="navigation" aria-label="related navigation">
133
+ <div class="related">
136
134
  <h3>ナビゲーション</h3>
137
135
  <ul>
138
136
  <li class="right" style="margin-right: 10px">
@@ -144,11 +142,11 @@
144
142
  <li class="right" >
145
143
  <a href="grn_expr/script_syntax.html" title="7.11.2. スクリプト構文"
146
144
  >前へ</a> |</li>
147
- <li><a href="../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
145
+ <li><a href="../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
148
146
  <li><a href="../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
149
147
  </ul>
150
148
  </div>
151
- <div class="footer" role="contentinfo">
149
+ <div class="footer">
152
150
  &copy; Copyright 2009-2014, Brazil, Inc.
153
151
  </div>
154
152
  </body>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.12.1. between &mdash; Groonga v4.0.8ドキュメント</title>
10
+ <title>7.12.1. between &mdash; Groonga v4.0.8-168-gae696d7ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
29
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../../index.html" />
30
30
  <link rel="up" title="7.12. 関数" href="../function.html" />
31
31
  <link rel="next" title="7.12.2. edit_distance" href="edit_distance.html" />
32
32
  <link rel="prev" title="7.12. 関数" href="../function.html" />
33
33
  </head>
34
- <body role="document">
34
+ <body>
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../../index.html">
@@ -49,7 +49,7 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related" role="navigation" aria-label="related navigation">
52
+ <div class="related">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="../function.html" title="7.12. 関数"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
64
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
66
  <li><a href="../function.html" accesskey="U">7.12. 関数</a> &raquo;</li>
67
67
  </ul>
@@ -70,17 +70,17 @@
70
70
  <div class="document">
71
71
  <div class="documentwrapper">
72
72
  <div class="bodywrapper">
73
- <div class="body" role="main">
73
+ <div class="body">
74
74
 
75
75
  <div class="section" id="between">
76
76
  <h1>7.12.1. between<a class="headerlink" href="#between" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
78
  <h2>7.12.1.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
- <p><code class="docutils literal"><span class="pre">between</span></code> は、指定された値が指定された範囲にあるかをチェックするために使われます。これは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> オプションと組み合わせてよく使われます。</p>
79
+ <p><tt class="docutils literal"><span class="pre">between</span></tt> は、指定された値が指定された範囲にあるかをチェックするために使われます。これは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> オプションと組み合わせてよく使われます。</p>
80
80
  </div>
81
81
  <div class="section" id="syntax">
82
82
  <h2>7.12.1.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
- <p><code class="docutils literal"><span class="pre">between</span></code> には引数が5つあります。</p>
83
+ <p><tt class="docutils literal"><span class="pre">between</span></tt> には引数が5つあります。</p>
84
84
  <div class="highlight-none"><div class="highlight"><pre>between(column_or_value, min, min_border, max, max_border)
85
85
  </pre></div>
86
86
  </div>
@@ -152,9 +152,9 @@ load --table Users
152
152
  </pre></div>
153
153
  </div>
154
154
  <p>13から16歳までのユーザーを返します。</p>
155
- <p><code class="docutils literal"><span class="pre">between</span></code> 関数はテーブルのカラムだけでなく、値も受け付けます。</p>
156
- <p>最初の引数に値を指定した場合、その値が含まれているか否かをチェックします。もし、指定した範囲にマッチしたら、( <code class="docutils literal"><span class="pre">between</span></code> 関数がtrueを返すので)すべてのレコードを返します。</p>
157
- <p>もし、指定した範囲にマッチしなかった場合、( <code class="docutils literal"><span class="pre">between</span></code> 関数がfalseを返すので)1件もレコードを返しません。</p>
155
+ <p><tt class="docutils literal"><span class="pre">between</span></tt> 関数はテーブルのカラムだけでなく、値も受け付けます。</p>
156
+ <p>最初の引数に値を指定した場合、その値が含まれているか否かをチェックします。もし、指定した範囲にマッチしたら、( <tt class="docutils literal"><span class="pre">between</span></tt> 関数がtrueを返すので)すべてのレコードを返します。</p>
157
+ <p>もし、指定した範囲にマッチしなかった場合、( <tt class="docutils literal"><span class="pre">between</span></tt> 関数がfalseを返すので)1件もレコードを返しません。</p>
158
158
  <p>実行例:</p>
159
159
  <div class="highlight-none"><div class="highlight"><pre>select Users --filter &#39;between(14, 13, &quot;include&quot;, 16, &quot;include&quot;)&#39;
160
160
  # [
@@ -221,33 +221,33 @@ load --table Users
221
221
  </div>
222
222
  <div class="section" id="parameters">
223
223
  <h2>7.12.1.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
224
- <p>引数は5つあります。 <code class="docutils literal"><span class="pre">column_or_value</span></code> と <code class="docutils literal"><span class="pre">min</span></code> と <code class="docutils literal"><span class="pre">min_border</span></code> と <code class="docutils literal"><span class="pre">max</span></code> と <code class="docutils literal"><span class="pre">max_border</span></code> です。</p>
224
+ <p>引数は5つあります。 <tt class="docutils literal"><span class="pre">column_or_value</span></tt> と <tt class="docutils literal"><span class="pre">min</span></tt> と <tt class="docutils literal"><span class="pre">min_border</span></tt> と <tt class="docutils literal"><span class="pre">max</span></tt> と <tt class="docutils literal"><span class="pre">max_border</span></tt> です。</p>
225
225
  <div class="section" id="column-or-value">
226
- <h3>7.12.1.4.1. <code class="docutils literal"><span class="pre">column_or_value</span></code><a class="headerlink" href="#column-or-value" title="このヘッドラインへのパーマリンク">¶</a></h3>
226
+ <h3>7.12.1.4.1. <tt class="docutils literal"><span class="pre">column_or_value</span></tt><a class="headerlink" href="#column-or-value" title="このヘッドラインへのパーマリンク">¶</a></h3>
227
227
  <p>テーブルのカラムもしくは値を指定します。</p>
228
228
  </div>
229
229
  <div class="section" id="min">
230
- <h3>7.12.1.4.2. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h3>
231
- <p>範囲のうち最小値を指定します。値 <code class="docutils literal"><span class="pre">min</span></code> が含まれるかどうかは <code class="docutils literal"><span class="pre">min_border</span></code> 引数で制御することができます。</p>
230
+ <h3>7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt><a class="headerlink" href="#min" title="このヘッドラインへのパーマリンク">¶</a></h3>
231
+ <p>範囲のうち最小値を指定します。値 <tt class="docutils literal"><span class="pre">min</span></tt> が含まれるかどうかは <tt class="docutils literal"><span class="pre">min_border</span></tt> 引数で制御することができます。</p>
232
232
  </div>
233
233
  <div class="section" id="min-border">
234
- <h3>7.12.1.4.3. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
235
- <p><code class="docutils literal"><span class="pre">min</span></code> の値を含めた範囲となるかどうかを指定します。 <code class="docutils literal"><span class="pre">min_border</span></code> に指定できるのは &quot;include&quot; または &quot;exclude&quot; のどちらかです。
236
- &quot;include&quot; を指定すれば、<code class="docutils literal"><span class="pre">min</span></code> が含まれます。 &quot;exclude&quot; を指定すれば <code class="docutils literal"><span class="pre">min</span></code> は含まれません。</p>
234
+ <h3>7.12.1.4.3. <tt class="docutils literal"><span class="pre">min_border</span></tt><a class="headerlink" href="#min-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
235
+ <p><tt class="docutils literal"><span class="pre">min</span></tt> の値を含めた範囲となるかどうかを指定します。 <tt class="docutils literal"><span class="pre">min_border</span></tt> に指定できるのは &quot;include&quot; または &quot;exclude&quot; のどちらかです。
236
+ &quot;include&quot; を指定すれば、<tt class="docutils literal"><span class="pre">min</span></tt> が含まれます。 &quot;exclude&quot; を指定すれば <tt class="docutils literal"><span class="pre">min</span></tt> は含まれません。</p>
237
237
  </div>
238
238
  <div class="section" id="max">
239
- <h3>7.12.1.4.4. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h3>
240
- <p>範囲のうち最大値を指定します。値 <code class="docutils literal"><span class="pre">max</span></code> が含まれるかどうかは <code class="docutils literal"><span class="pre">max_border</span></code> 引数で制御することができます。</p>
239
+ <h3>7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt><a class="headerlink" href="#max" title="このヘッドラインへのパーマリンク">¶</a></h3>
240
+ <p>範囲のうち最大値を指定します。値 <tt class="docutils literal"><span class="pre">max</span></tt> が含まれるかどうかは <tt class="docutils literal"><span class="pre">max_border</span></tt> 引数で制御することができます。</p>
241
241
  </div>
242
242
  <div class="section" id="max-border">
243
- <h3>7.12.1.4.5. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
244
- <p><code class="docutils literal"><span class="pre">man</span></code> の値を含めた範囲となるかどうかを指定します。 <code class="docutils literal"><span class="pre">max_border</span></code> に指定できるのは &quot;include&quot; または &quot;exclude&quot; のどちらかです。
245
- &quot;include&quot; を指定すれば、<code class="docutils literal"><span class="pre">max</span></code> が含まれます。 &quot;exclude&quot; を指定すれば <code class="docutils literal"><span class="pre">max</span></code> は含まれません。</p>
243
+ <h3>7.12.1.4.5. <tt class="docutils literal"><span class="pre">max_border</span></tt><a class="headerlink" href="#max-border" title="このヘッドラインへのパーマリンク">¶</a></h3>
244
+ <p><tt class="docutils literal"><span class="pre">man</span></tt> の値を含めた範囲となるかどうかを指定します。 <tt class="docutils literal"><span class="pre">max_border</span></tt> に指定できるのは &quot;include&quot; または &quot;exclude&quot; のどちらかです。
245
+ &quot;include&quot; を指定すれば、<tt class="docutils literal"><span class="pre">max</span></tt> が含まれます。 &quot;exclude&quot; を指定すれば <tt class="docutils literal"><span class="pre">max</span></tt> は含まれません。</p>
246
246
  </div>
247
247
  </div>
248
248
  <div class="section" id="return-value">
249
249
  <h2>7.12.1.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
250
- <p><code class="docutils literal"><span class="pre">between</span></code> は指定した範囲にカラムの値が含まれるかを返します。もし該当するレコードがあれば、 <code class="docutils literal"><span class="pre">true</span></code> を返します。そうでなければ <code class="docutils literal"><span class="pre">false</span></code> を返します。</p>
250
+ <p><tt class="docutils literal"><span class="pre">between</span></tt> は指定した範囲にカラムの値が含まれるかを返します。もし該当するレコードがあれば、 <tt class="docutils literal"><span class="pre">true</span></tt> を返します。そうでなければ <tt class="docutils literal"><span class="pre">false</span></tt> を返します。</p>
251
251
  </div>
252
252
  </div>
253
253
 
@@ -255,7 +255,7 @@ load --table Users
255
255
  </div>
256
256
  </div>
257
257
  </div>
258
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
258
+ <div class="sphinxsidebar">
259
259
  <div class="sphinxsidebarwrapper">
260
260
  <h3><a href="../../index.html">目次</a></h3>
261
261
  <ul>
@@ -264,11 +264,11 @@ load --table Users
264
264
  <li><a class="reference internal" href="#syntax">7.12.1.2. 構文</a></li>
265
265
  <li><a class="reference internal" href="#usage">7.12.1.3. 使い方</a></li>
266
266
  <li><a class="reference internal" href="#parameters">7.12.1.4. 引数</a><ul>
267
- <li><a class="reference internal" href="#column-or-value">7.12.1.4.1. <code class="docutils literal"><span class="pre">column_or_value</span></code></a></li>
268
- <li><a class="reference internal" href="#min">7.12.1.4.2. <code class="docutils literal"><span class="pre">min</span></code></a></li>
269
- <li><a class="reference internal" href="#min-border">7.12.1.4.3. <code class="docutils literal"><span class="pre">min_border</span></code></a></li>
270
- <li><a class="reference internal" href="#max">7.12.1.4.4. <code class="docutils literal"><span class="pre">max</span></code></a></li>
271
- <li><a class="reference internal" href="#max-border">7.12.1.4.5. <code class="docutils literal"><span class="pre">max_border</span></code></a></li>
267
+ <li><a class="reference internal" href="#column-or-value">7.12.1.4.1. <tt class="docutils literal"><span class="pre">column_or_value</span></tt></a></li>
268
+ <li><a class="reference internal" href="#min">7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt></a></li>
269
+ <li><a class="reference internal" href="#min-border">7.12.1.4.3. <tt class="docutils literal"><span class="pre">min_border</span></tt></a></li>
270
+ <li><a class="reference internal" href="#max">7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt></a></li>
271
+ <li><a class="reference internal" href="#max-border">7.12.1.4.5. <tt class="docutils literal"><span class="pre">max_border</span></tt></a></li>
272
272
  </ul>
273
273
  </li>
274
274
  <li><a class="reference internal" href="#return-value">7.12.1.5. 戻り値</a></li>
@@ -282,14 +282,12 @@ load --table Users
282
282
  <h4>次のトピックへ</h4>
283
283
  <p class="topless"><a href="edit_distance.html"
284
284
  title="次の章へ">7.12.2. edit_distance</a></p>
285
- <div role="note" aria-label="source link">
286
- <h3>このページ</h3>
287
- <ul class="this-page-menu">
288
- <li><a href="../../_sources/reference/functions/between.txt"
289
- rel="nofollow">ソースコードを表示</a></li>
290
- </ul>
291
- </div>
292
- <div id="searchbox" style="display: none" role="search">
285
+ <h3>このページ</h3>
286
+ <ul class="this-page-menu">
287
+ <li><a href="../../_sources/reference/functions/between.txt"
288
+ rel="nofollow">ソースコードを表示</a></li>
289
+ </ul>
290
+ <div id="searchbox" style="display: none">
293
291
  <h3>クイック検索</h3>
294
292
  <form class="search" action="../../search.html" method="get">
295
293
  <input type="text" name="q" />
@@ -306,7 +304,7 @@ load --table Users
306
304
  </div>
307
305
  <div class="clearer"></div>
308
306
  </div>
309
- <div class="related" role="navigation" aria-label="related navigation">
307
+ <div class="related">
310
308
  <h3>ナビゲーション</h3>
311
309
  <ul>
312
310
  <li class="right" style="margin-right: 10px">
@@ -318,12 +316,12 @@ load --table Users
318
316
  <li class="right" >
319
317
  <a href="../function.html" title="7.12. 関数"
320
318
  >前へ</a> |</li>
321
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
319
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
322
320
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
323
321
  <li><a href="../function.html" >7.12. 関数</a> &raquo;</li>
324
322
  </ul>
325
323
  </div>
326
- <div class="footer" role="contentinfo">
324
+ <div class="footer">
327
325
  &copy; Copyright 2009-2014, Brazil, Inc.
328
326
  </div>
329
327
  </body>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.12.2. edit_distance &mdash; Groonga v4.0.8ドキュメント</title>
10
+ <title>7.12.2. edit_distance &mdash; Groonga v4.0.8-168-gae696d7ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
29
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../../index.html" />
30
30
  <link rel="up" title="7.12. 関数" href="../function.html" />
31
31
  <link rel="next" title="7.12.3. geo_distance" href="geo_distance.html" />
32
32
  <link rel="prev" title="7.12.1. between" href="between.html" />
33
33
  </head>
34
- <body role="document">
34
+ <body>
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../../index.html">
@@ -49,7 +49,7 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related" role="navigation" aria-label="related navigation">
52
+ <div class="related">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="between.html" title="7.12.1. between"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
64
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
66
  <li><a href="../function.html" accesskey="U">7.12. 関数</a> &raquo;</li>
67
67
  </ul>
@@ -70,7 +70,7 @@
70
70
  <div class="document">
71
71
  <div class="documentwrapper">
72
72
  <div class="bodywrapper">
73
- <div class="body" role="main">
73
+ <div class="body">
74
74
 
75
75
  <div class="section" id="edit-distance">
76
76
  <h1>7.12.2. edit_distance<a class="headerlink" href="#edit-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
@@ -91,10 +91,10 @@
91
91
  </div>
92
92
  <div class="section" id="id4">
93
93
  <h2>7.12.2.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
94
- <p><code class="docutils literal"><span class="pre">string1</span></code></p>
94
+ <p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
95
95
  <blockquote>
96
96
  <div>文字列を指定します</div></blockquote>
97
- <p><code class="docutils literal"><span class="pre">string2</span></code></p>
97
+ <p><tt class="docutils literal"><span class="pre">string2</span></tt></p>
98
98
  <blockquote>
99
99
  <div>もうひとつの文字列を指定します</div></blockquote>
100
100
  </div>
@@ -115,7 +115,7 @@
115
115
  </div>
116
116
  </div>
117
117
  </div>
118
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
118
+ <div class="sphinxsidebar">
119
119
  <div class="sphinxsidebarwrapper">
120
120
  <h3><a href="../../index.html">目次</a></h3>
121
121
  <ul>
@@ -136,14 +136,12 @@
136
136
  <h4>次のトピックへ</h4>
137
137
  <p class="topless"><a href="geo_distance.html"
138
138
  title="次の章へ">7.12.3. geo_distance</a></p>
139
- <div role="note" aria-label="source link">
140
- <h3>このページ</h3>
141
- <ul class="this-page-menu">
142
- <li><a href="../../_sources/reference/functions/edit_distance.txt"
143
- rel="nofollow">ソースコードを表示</a></li>
144
- </ul>
145
- </div>
146
- <div id="searchbox" style="display: none" role="search">
139
+ <h3>このページ</h3>
140
+ <ul class="this-page-menu">
141
+ <li><a href="../../_sources/reference/functions/edit_distance.txt"
142
+ rel="nofollow">ソースコードを表示</a></li>
143
+ </ul>
144
+ <div id="searchbox" style="display: none">
147
145
  <h3>クイック検索</h3>
148
146
  <form class="search" action="../../search.html" method="get">
149
147
  <input type="text" name="q" />
@@ -160,7 +158,7 @@
160
158
  </div>
161
159
  <div class="clearer"></div>
162
160
  </div>
163
- <div class="related" role="navigation" aria-label="related navigation">
161
+ <div class="related">
164
162
  <h3>ナビゲーション</h3>
165
163
  <ul>
166
164
  <li class="right" style="margin-right: 10px">
@@ -172,12 +170,12 @@
172
170
  <li class="right" >
173
171
  <a href="between.html" title="7.12.1. between"
174
172
  >前へ</a> |</li>
175
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
173
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
176
174
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
177
175
  <li><a href="../function.html" >7.12. 関数</a> &raquo;</li>
178
176
  </ul>
179
177
  </div>
180
- <div class="footer" role="contentinfo">
178
+ <div class="footer">
181
179
  &copy; Copyright 2009-2014, Brazil, Inc.
182
180
  </div>
183
181
  </body>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.12.3. geo_distance &mdash; Groonga v4.0.8ドキュメント</title>
10
+ <title>7.12.3. geo_distance &mdash; Groonga v4.0.8-168-gae696d7ドキュメント</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '4.0.8',
18
+ VERSION: '4.0.8-168-gae696d7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -26,12 +26,12 @@
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <script type="text/javascript" src="../../_static/translations.js"></script>
28
28
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
29
- <link rel="top" title="Groonga v4.0.8ドキュメント" href="../../index.html" />
29
+ <link rel="top" title="Groonga v4.0.8-168-gae696d7ドキュメント" href="../../index.html" />
30
30
  <link rel="up" title="7.12. 関数" href="../function.html" />
31
31
  <link rel="next" title="7.12.4. geo_in_circle" href="geo_in_circle.html" />
32
32
  <link rel="prev" title="7.12.2. edit_distance" href="edit_distance.html" />
33
33
  </head>
34
- <body role="document">
34
+ <body>
35
35
  <div class="header">
36
36
  <h1 class="title">
37
37
  <a id="top-link" href="../../index.html">
@@ -49,7 +49,7 @@
49
49
  </div>
50
50
 
51
51
 
52
- <div class="related" role="navigation" aria-label="related navigation">
52
+ <div class="related">
53
53
  <h3>ナビゲーション</h3>
54
54
  <ul>
55
55
  <li class="right" style="margin-right: 10px">
@@ -61,7 +61,7 @@
61
61
  <li class="right" >
62
62
  <a href="edit_distance.html" title="7.12.2. edit_distance"
63
63
  accesskey="P">前へ</a> |</li>
64
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
64
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
65
65
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
66
66
  <li><a href="../function.html" accesskey="U">7.12. 関数</a> &raquo;</li>
67
67
  </ul>
@@ -70,43 +70,43 @@
70
70
  <div class="document">
71
71
  <div class="documentwrapper">
72
72
  <div class="bodywrapper">
73
- <div class="body" role="main">
73
+ <div class="body">
74
74
 
75
75
  <div class="section" id="geo-distance">
76
76
  <h1>7.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="このヘッドラインへのパーマリンク">¶</a></h1>
77
77
  <div class="section" id="summary">
78
78
  <h2>7.12.3.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
79
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> は二点間の距離を計算します。</p>
79
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二点間の距離を計算します。</p>
80
80
  </div>
81
81
  <div class="section" id="syntax">
82
82
  <h2>7.12.3.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
83
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> は二つの点を指定します。引数 <code class="docutils literal"><span class="pre">approximate_type</span></code> は省略可能です。</p>
83
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二つの点を指定します。引数 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> は省略可能です。</p>
84
84
  <div class="highlight-none"><div class="highlight"><pre>geo_distance(point1, point2)
85
85
  geo_distance(point1, point2, approximate_type)
86
86
  </pre></div>
87
87
  </div>
88
- <p><code class="docutils literal"><span class="pre">approximate_type</span></code> のデフォルト値は <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code> です。 <code class="docutils literal"><span class="pre">approximate_type</span></code> を省略した場合、 <code class="docutils literal"><span class="pre">geo_distance</span></code> は二点間の距離を <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code> が指定されたものとして計算します。</p>
88
+ <p><tt class="docutils literal"><span class="pre">approximate_type</span></tt> のデフォルト値は <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt> です。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略した場合、 <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は二点間の距離を <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt> が指定されたものとして計算します。</p>
89
89
  </div>
90
90
  <div class="section" id="usage">
91
91
  <h2>7.12.3.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
92
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> はGroongaの組み込み関数の一つです。</p>
92
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> はGroongaの組み込み関数の一つです。</p>
93
93
  <p>組み込み関数を <a class="reference internal" href="../grn_expr.html"><em>grn_expr</em></a> にて使うことができます。</p>
94
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> 関数は <code class="docutils literal"><span class="pre">point1</span></code> と <code class="docutils literal"><span class="pre">point2</span></code> の座標値から二点間の距離(近似値)を計算します。</p>
94
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> 関数は <tt class="docutils literal"><span class="pre">point1</span></tt> と <tt class="docutils literal"><span class="pre">point2</span></tt> の座標値から二点間の距離(近似値)を計算します。</p>
95
95
  <div class="admonition note">
96
- <p class="first admonition-title">注釈</p>
97
- <p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <code class="docutils literal"><span class="pre">geo_distance()</span></code> 、 <code class="docutils literal"><span class="pre">geo_distance2()</span></code> 、 <code class="docutils literal"><span class="pre">geo_distance3()</span></code> です。これらの違いは距離の計算アルゴリズムにあります。 <code class="docutils literal"><span class="pre">geo_distance2()</span></code> と <code class="docutils literal"><span class="pre">geo_distance3()</span></code> はバージョン1.2.9より非推奨となりました。 <code class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></code> の代りに <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;sphere&quot;)</span></code> を使用してください。 <code class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></code> の代りに <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;ellipsoid&quot;)</span></code> を使用してください。</p>
96
+ <p class="first admonition-title">ノート</p>
97
+ <p class="last">Groongaは三つの組み込み関数を距離の計算のために提供しています。 <tt class="docutils literal"><span class="pre">geo_distance()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> 、 <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> です。これらの違いは距離の計算アルゴリズムにあります。 <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> と <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> はバージョン1.2.9より非推奨となりました。 <tt class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;sphere&quot;)</span></tt> を使用してください。 <tt class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></tt> の代りに <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;ellipsoid&quot;)</span></tt> を使用してください。</p>
98
98
  </div>
99
- <p>例とともに <code class="docutils literal"><span class="pre">geo_distance</span></code> について学びましょう。このセクションでは簡単な例を示します。</p>
99
+ <p>例とともに <tt class="docutils literal"><span class="pre">geo_distance</span></tt> について学びましょう。このセクションでは簡単な例を示します。</p>
100
100
  <p>使い方による違いがわかるようにスキーマ定義とサンプルデータを用意しました。これらのサンプルはニューヨークとロンドンを例に距離の計算方法を示します。</p>
101
101
  <ol class="arabic simple">
102
- <li><p class="first">距離の計算にlocationカラムの値を使う ( <code class="docutils literal"><span class="pre">Cities</span></code> テーブル)</p>
102
+ <li><p class="first">距離の計算にlocationカラムの値を使う ( <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブル)</p>
103
103
  </li>
104
- <li><p class="first">距離の計算に明示的に指定した座標値を使う ( <code class="docutils literal"><span class="pre">Geo</span></code> テーブル)</p>
104
+ <li><p class="first">距離の計算に明示的に指定した座標値を使う ( <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブル)</p>
105
105
  </li>
106
106
  </ol>
107
107
  <div class="section" id="using-the-column-value-of-location">
108
108
  <h3>7.12.3.3.1. locationカラムの値を使う<a class="headerlink" href="#using-the-column-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
109
- <p>使用例を示すための <code class="docutils literal"><span class="pre">Cities</span></code> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
109
+ <p>使用例を示すための <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
110
110
  <div class="highlight-none"><div class="highlight"><pre>table_create Cities TABLE_HASH_KEY ShortText
111
111
  column_create Cities location COLUMN_SCALAR WGS84GeoPoint
112
112
  load --table Cities
@@ -137,7 +137,7 @@ load --table Cities
137
137
  # [[0, 1337566253.89858, 0.000355720520019531], 1]
138
138
  </pre></div>
139
139
  </div>
140
- <p>この実行例では <code class="docutils literal"><span class="pre">location</span></code> というカラムを持つ <code class="docutils literal"><span class="pre">Cities</span></code> テーブルを作成します。 <code class="docutils literal"><span class="pre">location</span></code> カラムには座標値を保存します。東京の座標値がサンプルデータとして保存されています。</p>
140
+ <p>この実行例では <tt class="docutils literal"><span class="pre">location</span></tt> というカラムを持つ <tt class="docutils literal"><span class="pre">Cities</span></tt> テーブルを作成します。 <tt class="docutils literal"><span class="pre">location</span></tt> カラムには座標値を保存します。東京の座標値がサンプルデータとして保存されています。</p>
141
141
  <p>実行例:</p>
142
142
  <div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer &#39;_score = geo_distance(location, &quot;185428000x-461000&quot;, &quot;rectangle&quot;)&#39;
143
143
  # [
@@ -165,12 +165,12 @@ load --table Cities
165
165
  # ]
166
166
  </pre></div>
167
167
  </div>
168
- <p>このサンプルは <code class="docutils literal"><span class="pre">geo_distance</span></code> が <code class="docutils literal"><span class="pre">location</span></code> カラムと座標値から距離を計算していることを示します。</p>
169
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> の第二引数として渡された値 (&quot;185428000x-461000&quot;)はロンドンの座標値です。</p>
168
+ <p>このサンプルは <tt class="docutils literal"><span class="pre">geo_distance</span></tt> が <tt class="docutils literal"><span class="pre">location</span></tt> カラムと座標値から距離を計算していることを示します。</p>
169
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> の第二引数として渡された値 (&quot;185428000x-461000&quot;)はロンドンの座標値です。</p>
170
170
  </div>
171
171
  <div class="section" id="using-the-explicitly-specified-value-of-location">
172
172
  <h3>7.12.3.3.2. 明示的に指定した位置を使う<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="このヘッドラインへのパーマリンク">¶</a></h3>
173
- <p>使用例を示すための <code class="docutils literal"><span class="pre">Geo</span></code> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
173
+ <p>使用例を示すための <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブルのスキーマ定義とサンプルデータは以下の通りです。</p>
174
174
  <div class="highlight-none"><div class="highlight"><pre>table_create Geo TABLE_HASH_KEY ShortText
175
175
  column_create Geo distance COLUMN_SCALAR Int32
176
176
  load --table Geo
@@ -195,7 +195,7 @@ load --table Geo
195
195
  # [[0, 1337566253.89858, 0.000355720520019531], 1]
196
196
  </pre></div>
197
197
  </div>
198
- <p>この実行例では <code class="docutils literal"><span class="pre">distance</span></code> カラムを持つ <code class="docutils literal"><span class="pre">Geo</span></code> テーブルを作成します。 <code class="docutils literal"><span class="pre">distance</span></code> カラムには距離を保存します。</p>
198
+ <p>この実行例では <tt class="docutils literal"><span class="pre">distance</span></tt> カラムを持つ <tt class="docutils literal"><span class="pre">Geo</span></tt> テーブルを作成します。 <tt class="docutils literal"><span class="pre">distance</span></tt> カラムには距離を保存します。</p>
199
199
  <p>実行例:</p>
200
200
  <div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer &#39;distance = geo_distance(&quot;146566000x-266422000&quot;, &quot;185428000x-461000&quot;, &quot;rectangle&quot;)&#39;
201
201
  # [
@@ -223,22 +223,22 @@ load --table Geo
223
223
  # ]
224
224
  </pre></div>
225
225
  </div>
226
- <p>このサンプルは <code class="docutils literal"><span class="pre">geo_distance</span></code> がロンドンの座標とニューヨークの座標から距離を計算していることを示します。</p>
226
+ <p>このサンプルは <tt class="docutils literal"><span class="pre">geo_distance</span></tt> がロンドンの座標とニューヨークの座標から距離を計算していることを示します。</p>
227
227
  </div>
228
228
  </div>
229
229
  <div class="section" id="parameters">
230
230
  <h2>7.12.3.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
231
231
  <div class="section" id="required-parameter">
232
232
  <h3>7.12.3.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
233
- <p>必須引数は二つあります。 <code class="docutils literal"><span class="pre">point1</span></code> と <code class="docutils literal"><span class="pre">point2</span></code> です。</p>
233
+ <p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">point1</span></tt> と <tt class="docutils literal"><span class="pre">point2</span></tt> です。</p>
234
234
  <div class="section" id="point1">
235
- <h4>7.12.3.4.1.1. <code class="docutils literal"><span class="pre">point1</span></code><a class="headerlink" href="#point1" title="このヘッドラインへのパーマリンク">¶</a></h4>
235
+ <h4>7.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt><a class="headerlink" href="#point1" title="このヘッドラインへのパーマリンク">¶</a></h4>
236
236
  <p>計算しようとしている二点間の開始地点を指定します。</p>
237
237
  <p>GeoPoint型の値を指定することができます。 <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
238
238
  <p>GeoPointについては <a class="reference internal" href="../types.html"><em>データ型</em></a> を参照してください。</p>
239
239
  </div>
240
240
  <div class="section" id="point2">
241
- <h4>7.12.3.4.1.2. <code class="docutils literal"><span class="pre">point2</span></code><a class="headerlink" href="#point2" title="このヘッドラインへのパーマリンク">¶</a></h4>
241
+ <h4>7.12.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt><a class="headerlink" href="#point2" title="このヘッドラインへのパーマリンク">¶</a></h4>
242
242
  <p>計算しようとしている二点間の終了地点を指定します。</p>
243
243
  <p>GeoPoint型の値か座標を表す文字列を指定することができます。</p>
244
244
  <p>GeoPointと座標については <a class="reference internal" href="../types.html"><em>データ型</em></a> を参照してください。</p>
@@ -246,27 +246,27 @@ load --table Geo
246
246
  </div>
247
247
  <div class="section" id="optional-parameter">
248
248
  <h3>7.12.3.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
249
- <p>省略可能な引数として <code class="docutils literal"><span class="pre">approximate_type</span></code> があります。</p>
249
+ <p>省略可能な引数として <tt class="docutils literal"><span class="pre">approximate_type</span></tt> があります。</p>
250
250
  <div class="section" id="approximate-type">
251
- <h4>7.12.3.4.2.1. <code class="docutils literal"><span class="pre">approximate_type</span></code><a class="headerlink" href="#approximate-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
251
+ <h4>7.12.3.4.2.1. <tt class="docutils literal"><span class="pre">approximate_type</span></tt><a class="headerlink" href="#approximate-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
252
252
  <p>距離を計算するときに地形をどのように近似するかを指定します。</p>
253
- <p><code class="docutils literal"><span class="pre">approximate_type</span></code> の値は以下を指定することができます。</p>
253
+ <p><tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値は以下を指定することができます。</p>
254
254
  <blockquote>
255
255
  <div><ul class="simple">
256
- <li><code class="docutils literal"><span class="pre">rectangle</span></code></li>
257
- <li><code class="docutils literal"><span class="pre">sphere</span></code></li>
258
- <li><code class="docutils literal"><span class="pre">ellipsoid</span></code></li>
256
+ <li><tt class="docutils literal"><span class="pre">rectangle</span></tt></li>
257
+ <li><tt class="docutils literal"><span class="pre">sphere</span></tt></li>
258
+ <li><tt class="docutils literal"><span class="pre">ellipsoid</span></tt></li>
259
259
  </ul>
260
260
  </div></blockquote>
261
261
  <div class="admonition note">
262
- <p class="first admonition-title">注釈</p>
263
- <p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> には制限があります。 <code class="docutils literal"><span class="pre">sphere</span></code> や <code class="docutils literal"><span class="pre">ellipsoid</span></code> を近似方法として選択した場合、子午線や日付変更線、赤道といった境界をまたぐ距離の計算を行うことができません。この制限は <code class="docutils literal"><span class="pre">rectangle</span></code> を近似方法として選択した場合にはありません。これはGroongaの実装上の一時的な制限ですが、将来的には修正される予定です。</p>
262
+ <p class="first admonition-title">ノート</p>
263
+ <p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> には制限があります。 <tt class="docutils literal"><span class="pre">sphere</span></tt> や <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> を近似方法として選択した場合、子午線や日付変更線、赤道といった境界をまたぐ距離の計算を行うことができません。この制限は <tt class="docutils literal"><span class="pre">rectangle</span></tt> を近似方法として選択した場合にはありません。これはGroongaの実装上の一時的な制限ですが、将来的には修正される予定です。</p>
264
264
  </div>
265
265
  <div class="section" id="rectangle">
266
- <h5>7.12.3.4.2.1.1. <code class="docutils literal"><span class="pre">rectangle</span></code><a class="headerlink" href="#rectangle" title="このヘッドラインへのパーマリンク">¶</a></h5>
266
+ <h5>7.12.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt><a class="headerlink" href="#rectangle" title="このヘッドラインへのパーマリンク">¶</a></h5>
267
267
  <p>この引数を指定すると地形を方形近似して距離を計算します。</p>
268
268
  <p>簡易な式で距離の計算を行うので、高速に距離を求めることができますが、極付近では誤差が増大します。</p>
269
- <p><code class="docutils literal"><span class="pre">rect</span></code> を省略表記として指定することができます。</p>
269
+ <p><tt class="docutils literal"><span class="pre">rect</span></tt> を省略表記として指定することができます。</p>
270
270
  <p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
271
271
  <p>実行例:</p>
272
272
  <div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer &#39;_score = geo_distance(location, &quot;185428000x-461000&quot;, &quot;rectangle&quot;)&#39;
@@ -351,7 +351,7 @@ load --table Geo
351
351
  # ]
352
352
  </pre></div>
353
353
  </div>
354
- <p>このサンプルは子午線をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance(&quot;175904000x8464000&quot;,</span> <span class="pre">&quot;145508000x-13291000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></code> はパリ(フランス)からマドリード(スペイン)間の距離を返します。</p>
354
+ <p>このサンプルは子午線をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance(&quot;175904000x8464000&quot;,</span> <span class="pre">&quot;145508000x-13291000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></tt> はパリ(フランス)からマドリード(スペイン)間の距離を返します。</p>
355
355
  <p>実行例:</p>
356
356
  <div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer &#39;distance = geo_distance(&quot;146566000x-266422000&quot;, &quot;-56880000x-172310000&quot;, &quot;rectangle&quot;)&#39;
357
357
  # [
@@ -379,7 +379,7 @@ load --table Geo
379
379
  # ]
380
380
  </pre></div>
381
381
  </div>
382
- <p>このサンプルは赤道をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance(&quot;146566000x-266422000&quot;,</span> <span class="pre">&quot;-56880000x-172310000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></code> はニューヨーク(アメリカ)からブラジリア(ブラジル)間の距離を返します。</p>
382
+ <p>このサンプルは赤道をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance(&quot;146566000x-266422000&quot;,</span> <span class="pre">&quot;-56880000x-172310000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></tt> はニューヨーク(アメリカ)からブラジリア(ブラジル)間の距離を返します。</p>
383
383
  <p>実行例:</p>
384
384
  <div class="highlight-none"><div class="highlight"><pre>select Geo --output_columns distance --scorer &#39;distance = geo_distance(&quot;143660000x419009000&quot;, &quot;135960000x-440760000&quot;, &quot;rectangle&quot;)&#39;
385
385
  # [
@@ -407,21 +407,21 @@ load --table Geo
407
407
  # ]
408
408
  </pre></div>
409
409
  </div>
410
- <p>このサンプルは日付変更線をまたいだ場合の距離を示します。 <code class="docutils literal"><span class="pre">geo_distance(&quot;143660000x419009000&quot;,</span> <span class="pre">&quot;135960000x-440760000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></code> は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。</p>
410
+ <p>このサンプルは日付変更線をまたいだ場合の距離を示します。 <tt class="docutils literal"><span class="pre">geo_distance(&quot;143660000x419009000&quot;,</span> <span class="pre">&quot;135960000x-440760000&quot;,</span> <span class="pre">&quot;rectangle&quot;)</span></tt> は北京(中国)からサンフランシスコ(アメリカ)間の距離を返します。</p>
411
411
  <div class="admonition note">
412
- <p class="first admonition-title">注釈</p>
413
- <p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> は方形近似をデフォルトとして使用します。 <code class="docutils literal"><span class="pre">approximate_type</span></code> を省略すると <code class="docutils literal"><span class="pre">geo_distance</span></code> は <code class="docutils literal"><span class="pre">rectangle</span></code> が指定されたものとして振舞います。</p>
412
+ <p class="first admonition-title">ノート</p>
413
+ <p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は方形近似をデフォルトとして使用します。 <tt class="docutils literal"><span class="pre">approximate_type</span></tt> を省略すると <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">rectangle</span></tt> が指定されたものとして振舞います。</p>
414
414
  </div>
415
415
  <div class="admonition note">
416
- <p class="first admonition-title">注釈</p>
417
- <p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> は <code class="docutils literal"><span class="pre">approximate_type</span></code> の値が <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code> であるときに <code class="docutils literal"><span class="pre">point1</span></code> の値として座標を表す文字列を受けつけます。もし <code class="docutils literal"><span class="pre">sphere</span></code> や <code class="docutils literal"><span class="pre">ellipsoid</span></code> と一緒に座標を表す文字列を <code class="docutils literal"><span class="pre">point1</span></code> へ指定した場合、 <code class="docutils literal"><span class="pre">geo_distance</span></code> は距離の値として0を返します。</p>
416
+ <p class="first admonition-title">ノート</p>
417
+ <p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> は <tt class="docutils literal"><span class="pre">approximate_type</span></tt> の値が <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt> であるときに <tt class="docutils literal"><span class="pre">point1</span></tt> の値として座標を表す文字列を受けつけます。もし <tt class="docutils literal"><span class="pre">sphere</span></tt> や <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> と一緒に座標を表す文字列を <tt class="docutils literal"><span class="pre">point1</span></tt> へ指定した場合、 <tt class="docutils literal"><span class="pre">geo_distance</span></tt> は距離の値として0を返します。</p>
418
418
  </div>
419
419
  </div>
420
420
  <div class="section" id="sphere">
421
- <h5>7.12.3.4.2.1.2. <code class="docutils literal"><span class="pre">sphere</span></code><a class="headerlink" href="#sphere" title="このヘッドラインへのパーマリンク">¶</a></h5>
421
+ <h5>7.12.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt><a class="headerlink" href="#sphere" title="このヘッドラインへのパーマリンク">¶</a></h5>
422
422
  <p>この引数を指定すると球面近似で地形を近似して距離を計算します。</p>
423
- <p>球面近似は <code class="docutils literal"><span class="pre">rectangle</span></code> よりも遅いです。しかし <code class="docutils literal"><span class="pre">rectangle</span></code> よりも誤差は小さくなります。</p>
424
- <p><code class="docutils literal"><span class="pre">sphr</span></code> を省略表記として指定することができます。</p>
423
+ <p>球面近似は <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも遅いです。しかし <tt class="docutils literal"><span class="pre">rectangle</span></tt> よりも誤差は小さくなります。</p>
424
+ <p><tt class="docutils literal"><span class="pre">sphr</span></tt> を省略表記として指定することができます。</p>
425
425
  <p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
426
426
  <p>実行例:</p>
427
427
  <div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer &#39;_score = geo_distance(location, &quot;185428000x-461000&quot;, &quot;sphere&quot;)&#39;
@@ -452,10 +452,10 @@ load --table Geo
452
452
  </div>
453
453
  </div>
454
454
  <div class="section" id="ellipsoid">
455
- <h5>7.12.3.4.2.1.3. <code class="docutils literal"><span class="pre">ellipsoid</span></code><a class="headerlink" href="#ellipsoid" title="このヘッドラインへのパーマリンク">¶</a></h5>
455
+ <h5>7.12.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt><a class="headerlink" href="#ellipsoid" title="このヘッドラインへのパーマリンク">¶</a></h5>
456
456
  <p>この引数を指定すると楕円近似で地形を近似して距離を計算します。</p>
457
- <p>ヒュベニの距離計算式により距離を計算します。 <code class="docutils literal"><span class="pre">sphere</span></code> よりも遅いですが、 <code class="docutils literal"><span class="pre">sphere</span></code> より誤差は小さくなります。</p>
458
- <p><code class="docutils literal"><span class="pre">ellip</span></code> を省略表記として指定することができます。</p>
457
+ <p>ヒュベニの距離計算式により距離を計算します。 <tt class="docutils literal"><span class="pre">sphere</span></tt> よりも遅いですが、 <tt class="docutils literal"><span class="pre">sphere</span></tt> より誤差は小さくなります。</p>
458
+ <p><tt class="docutils literal"><span class="pre">ellip</span></tt> を省略表記として指定することができます。</p>
459
459
  <p>カラムの値で距離を計算するサンプルは以下の通りです。</p>
460
460
  <p>実行例:</p>
461
461
  <div class="highlight-none"><div class="highlight"><pre>select Cities --output_columns _score --filter 1 --scorer &#39;_score = geo_distance(location, &quot;185428000x-461000&quot;, &quot;ellipsoid&quot;)&#39;
@@ -490,7 +490,7 @@ load --table Geo
490
490
  </div>
491
491
  <div class="section" id="return-value">
492
492
  <h2>7.12.3.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
493
- <p><code class="docutils literal"><span class="pre">geo_distance</span></code> はFloat型の値を距離として返します。単位はメートルです。</p>
493
+ <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> はFloat型の値を距離として返します。単位はメートルです。</p>
494
494
  <p class="rubric">脚注</p>
495
495
  <table class="docutils footnote" frame="void" id="id2" rules="none">
496
496
  <colgroup><col class="label" /><col /></colgroup>
@@ -506,7 +506,7 @@ load --table Geo
506
506
  </div>
507
507
  </div>
508
508
  </div>
509
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
509
+ <div class="sphinxsidebar">
510
510
  <div class="sphinxsidebarwrapper">
511
511
  <h3><a href="../../index.html">目次</a></h3>
512
512
  <ul>
@@ -520,15 +520,15 @@ load --table Geo
520
520
  </li>
521
521
  <li><a class="reference internal" href="#parameters">7.12.3.4. 引数</a><ul>
522
522
  <li><a class="reference internal" href="#required-parameter">7.12.3.4.1. 必須引数</a><ul>
523
- <li><a class="reference internal" href="#point1">7.12.3.4.1.1. <code class="docutils literal"><span class="pre">point1</span></code></a></li>
524
- <li><a class="reference internal" href="#point2">7.12.3.4.1.2. <code class="docutils literal"><span class="pre">point2</span></code></a></li>
523
+ <li><a class="reference internal" href="#point1">7.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt></a></li>
524
+ <li><a class="reference internal" href="#point2">7.12.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt></a></li>
525
525
  </ul>
526
526
  </li>
527
527
  <li><a class="reference internal" href="#optional-parameter">7.12.3.4.2. 省略可能引数</a><ul>
528
- <li><a class="reference internal" href="#approximate-type">7.12.3.4.2.1. <code class="docutils literal"><span class="pre">approximate_type</span></code></a><ul>
529
- <li><a class="reference internal" href="#rectangle">7.12.3.4.2.1.1. <code class="docutils literal"><span class="pre">rectangle</span></code></a></li>
530
- <li><a class="reference internal" href="#sphere">7.12.3.4.2.1.2. <code class="docutils literal"><span class="pre">sphere</span></code></a></li>
531
- <li><a class="reference internal" href="#ellipsoid">7.12.3.4.2.1.3. <code class="docutils literal"><span class="pre">ellipsoid</span></code></a></li>
528
+ <li><a class="reference internal" href="#approximate-type">7.12.3.4.2.1. <tt class="docutils literal"><span class="pre">approximate_type</span></tt></a><ul>
529
+ <li><a class="reference internal" href="#rectangle">7.12.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt></a></li>
530
+ <li><a class="reference internal" href="#sphere">7.12.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt></a></li>
531
+ <li><a class="reference internal" href="#ellipsoid">7.12.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt></a></li>
532
532
  </ul>
533
533
  </li>
534
534
  </ul>
@@ -546,14 +546,12 @@ load --table Geo
546
546
  <h4>次のトピックへ</h4>
547
547
  <p class="topless"><a href="geo_in_circle.html"
548
548
  title="次の章へ">7.12.4. geo_in_circle</a></p>
549
- <div role="note" aria-label="source link">
550
- <h3>このページ</h3>
551
- <ul class="this-page-menu">
552
- <li><a href="../../_sources/reference/functions/geo_distance.txt"
553
- rel="nofollow">ソースコードを表示</a></li>
554
- </ul>
555
- </div>
556
- <div id="searchbox" style="display: none" role="search">
549
+ <h3>このページ</h3>
550
+ <ul class="this-page-menu">
551
+ <li><a href="../../_sources/reference/functions/geo_distance.txt"
552
+ rel="nofollow">ソースコードを表示</a></li>
553
+ </ul>
554
+ <div id="searchbox" style="display: none">
557
555
  <h3>クイック検索</h3>
558
556
  <form class="search" action="../../search.html" method="get">
559
557
  <input type="text" name="q" />
@@ -570,7 +568,7 @@ load --table Geo
570
568
  </div>
571
569
  <div class="clearer"></div>
572
570
  </div>
573
- <div class="related" role="navigation" aria-label="related navigation">
571
+ <div class="related">
574
572
  <h3>ナビゲーション</h3>
575
573
  <ul>
576
574
  <li class="right" style="margin-right: 10px">
@@ -582,12 +580,12 @@ load --table Geo
582
580
  <li class="right" >
583
581
  <a href="edit_distance.html" title="7.12.2. edit_distance"
584
582
  >前へ</a> |</li>
585
- <li><a href="../../index.html">Groonga v4.0.8ドキュメント</a> &raquo;</li>
583
+ <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7ドキュメント</a> &raquo;</li>
586
584
  <li><a href="../../reference.html" >7. リファレンスマニュアル</a> &raquo;</li>
587
585
  <li><a href="../function.html" >7.12. 関数</a> &raquo;</li>
588
586
  </ul>
589
587
  </div>
590
- <div class="footer" role="contentinfo">
588
+ <div class="footer">
591
589
  &copy; Copyright 2009-2014, Brazil, Inc.
592
590
  </div>
593
591
  </body>