rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +2 -2
  3. data/doc/text/news.textile +19 -0
  4. data/ext/groonga/rb-grn-exception.c +35 -1
  5. data/ext/groonga/rb-grn-normalizer.c +37 -7
  6. data/ext/groonga/rb-grn-table.c +106 -35
  7. data/ext/groonga/rb-grn.h +3 -2
  8. data/lib/1.9/groonga.so +0 -0
  9. data/lib/2.0/groonga.so +0 -0
  10. data/lib/2.1/groonga.so +0 -0
  11. data/lib/groonga/record.rb +45 -1
  12. data/rroonga-build.rb +6 -5
  13. data/test/groonga-test-utils.rb +9 -0
  14. data/test/test-array.rb +11 -0
  15. data/test/test-exception.rb +3 -1
  16. data/test/test-normalizer.rb +28 -0
  17. data/test/test-record.rb +34 -0
  18. data/test/test-table-group.rb +366 -0
  19. data/test/test-table.rb +0 -182
  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/lz4.exe +0 -0
  31. data/vendor/local/bin/lz4c.exe +0 -0
  32. data/vendor/local/bin/lz4cat +0 -0
  33. data/vendor/local/bin/mecab-config +2 -2
  34. data/vendor/local/bin/mecab.exe +0 -0
  35. data/vendor/local/bin/onig-config +1 -1
  36. data/vendor/local/bin/zlib1.dll +0 -0
  37. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  38. data/vendor/local/include/groonga/groonga.h +2 -1
  39. data/vendor/local/include/groonga/groonga/command.h +79 -0
  40. data/vendor/local/include/groonga/groonga/groonga.h +32 -74
  41. data/vendor/local/include/groonga/groonga/output.h +108 -0
  42. data/vendor/local/include/groonga/groonga/plugin.h +18 -3
  43. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  44. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  45. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  46. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  47. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  48. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  49. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  50. data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
  51. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  52. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  53. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
  55. data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
  56. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
  57. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
  58. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -0
  59. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  63. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  65. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  67. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  69. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  74. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  75. data/vendor/local/lib/groonga/scripts/ruby/command.rb +35 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
  77. data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
  78. data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
  79. data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
  80. data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
  81. data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
  82. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
  83. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
  84. data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
  85. data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
  86. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
  87. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
  88. data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
  89. data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -0
  90. data/vendor/local/lib/libgroonga.a +0 -0
  91. data/vendor/local/lib/libgroonga.dll.a +0 -0
  92. data/vendor/local/lib/libgroonga.la +3 -3
  93. data/vendor/local/lib/liblz4.a +0 -0
  94. data/vendor/local/lib/liblz4.dll +0 -0
  95. data/vendor/local/lib/liblz4.dll.1 +0 -0
  96. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  97. data/vendor/local/lib/libmecab.a +0 -0
  98. data/vendor/local/lib/libmecab.dll.a +0 -0
  99. data/vendor/local/lib/libmecab.la +2 -2
  100. data/vendor/local/lib/libmsgpack.a +0 -0
  101. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  102. data/vendor/local/lib/libmsgpack.la +2 -2
  103. data/vendor/local/lib/libmsgpackc.a +0 -0
  104. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  105. data/vendor/local/lib/libmsgpackc.la +2 -2
  106. data/vendor/local/lib/libonig.a +0 -0
  107. data/vendor/local/lib/libonig.dll.a +0 -0
  108. data/vendor/local/lib/libonig.la +2 -2
  109. data/vendor/local/lib/libz.a +0 -0
  110. data/vendor/local/lib/libz.dll.a +0 -0
  111. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  112. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  113. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  115. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  116. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  117. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  118. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  119. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  120. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  121. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  122. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  123. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  124. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  125. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
  126. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  127. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  129. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  130. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
  131. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  132. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +16 -570
  133. data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
  134. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
  135. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
  136. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
  137. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
  138. data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
  139. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
  140. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
  141. data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
  142. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
  143. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
  144. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
  145. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
  146. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
  147. data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
  148. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
  149. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -1
  150. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  151. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  152. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  153. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  154. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -2
  155. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  156. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  157. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  158. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  159. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  160. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  161. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
  162. data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
  163. data/vendor/local/share/doc/groonga/en/html/client.html +20 -18
  164. data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
  165. data/vendor/local/share/doc/groonga/en/html/contribution.html +21 -19
  166. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
  167. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
  168. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
  169. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
  170. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
  171. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
  172. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
  173. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
  174. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
  175. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
  176. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +27 -25
  177. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
  178. data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
  179. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
  180. data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
  181. data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
  182. data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
  183. data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
  184. data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
  185. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
  186. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
  187. data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
  188. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
  189. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
  190. data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
  191. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  192. data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
  193. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
  194. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -19
  195. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
  196. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +35 -33
  197. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
  198. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
  199. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
  200. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
  201. data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
  202. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  203. data/vendor/local/share/doc/groonga/en/html/reference.html +83 -75
  204. data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
  206. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
  207. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
  208. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
  209. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
  210. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
  211. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
  212. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
  213. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
  214. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
  215. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
  216. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
  217. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
  218. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
  219. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
  220. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
  221. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
  222. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
  223. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
  224. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
  225. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
  226. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
  227. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
  228. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
  229. data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
  230. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
  231. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
  232. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
  233. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
  234. data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
  235. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
  236. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +56 -54
  237. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
  238. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
  269. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
  270. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
  271. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
  272. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
  273. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
  274. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
  275. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
  276. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
  277. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
  279. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
  280. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  281. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +45 -43
  282. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
  283. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
  284. data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
  286. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
  287. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
  296. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
  297. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +45 -43
  298. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
  299. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
  300. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
  301. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
  302. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
  303. data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
  304. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
  305. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
  306. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
  307. data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
  308. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
  309. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +58 -56
  310. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
  311. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
  312. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
  315. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
  316. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
  317. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
  318. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
  319. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
  320. data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
  321. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  322. data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
  323. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
  324. data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
  325. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
  326. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
  327. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
  328. data/vendor/local/share/doc/groonga/en/html/server/package.html +34 -32
  329. data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
  330. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
  331. data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
  332. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
  333. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  334. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
  335. data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
  336. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
  337. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
  338. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
  339. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +24 -22
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +21 -19
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
  347. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  348. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  349. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
  350. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  351. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +16 -570
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
  372. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
  373. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -1
  374. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  376. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  377. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  378. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -2
  379. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  380. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  382. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  383. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  384. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  385. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
  386. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
  387. data/vendor/local/share/doc/groonga/ja/html/client.html +20 -18
  388. data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
  389. data/vendor/local/share/doc/groonga/ja/html/contribution.html +21 -19
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
  393. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
  394. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +21 -19
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
  402. data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
  403. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -21
  404. data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
  405. data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
  406. data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
  407. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
  408. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
  409. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
  410. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
  411. data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
  412. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
  413. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
  414. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
  415. data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
  416. data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
  417. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
  418. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -19
  419. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
  420. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +36 -34
  421. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
  422. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
  423. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
  424. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
  425. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
  426. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  427. data/vendor/local/share/doc/groonga/ja/html/reference.html +85 -77
  428. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
  429. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +29 -27
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
  452. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
  453. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
  454. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
  455. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
  456. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
  457. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
  458. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
  459. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
  460. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +50 -48
  461. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
  463. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
  464. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
  465. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
  466. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
  467. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
  498. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
  499. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
  500. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
  501. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
  502. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
  503. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
  504. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  505. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +45 -43
  506. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
  507. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
  508. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
  509. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
  510. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
  511. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
  512. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
  513. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
  514. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
  515. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
  516. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
  517. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
  518. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
  519. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
  520. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
  521. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +31 -29
  522. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
  523. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
  524. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
  525. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
  526. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
  527. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
  528. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
  529. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
  530. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
  531. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
  532. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
  533. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +37 -35
  534. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
  535. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
  536. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
  537. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
  538. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
  539. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
  540. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
  541. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
  542. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
  543. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
  544. data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
  545. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  546. data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
  547. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
  548. data/vendor/local/share/doc/groonga/ja/html/server/http.html +22 -20
  549. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
  550. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
  551. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
  552. data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -33
  553. data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
  554. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
  555. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
  556. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
  557. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  558. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
  559. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
  560. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
  561. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
  562. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
  563. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
  564. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
  565. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +27 -25
  566. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
  567. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
  568. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
  569. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
  570. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
  571. data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
  572. data/vendor/local/share/man/man1/groonga.1 +7192 -3297
  573. metadata +33 -4
@@ -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. Function &mdash; Groonga v4.0.8-168-gae696d7 documentation</title>
10
+ <title>7.12. Function &mdash; Groonga v5.0.0 documentation</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-168-gae696d7',
18
+ VERSION: '5.0.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../index.html" />
28
+ <link rel="top" title="Groonga v5.0.0 documentation" href="../index.html" />
29
29
  <link rel="up" title="7. Reference manual" href="../reference.html" />
30
30
  <link rel="next" title="7.12.1. between" href="functions/between.html" />
31
31
  <link rel="prev" title="7.11.2. Script syntax" href="grn_expr/script_syntax.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../index.html">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="grn_expr/script_syntax.html" title="7.11.2. Script syntax"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
63
+ <li><a href="../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
64
64
  <li><a href="../reference.html" accesskey="U">7. Reference manual</a> &raquo;</li>
65
65
  </ul>
66
66
  </div>
@@ -68,12 +68,12 @@
68
68
  <div class="document">
69
69
  <div class="documentwrapper">
70
70
  <div class="bodywrapper">
71
- <div class="body">
71
+ <div class="body" role="main">
72
72
 
73
73
  <div class="section" id="function">
74
74
  <h1>7.12. Function<a class="headerlink" href="#function" title="Permalink to this headline">¶</a></h1>
75
75
  <p>Function can be used in some commands. For example, you can use
76
- function in <tt class="docutils literal"><span class="pre">--filter</span></tt>, <tt class="docutils literal"><span class="pre">--scorer</span></tt> and <tt class="docutils literal"><span class="pre">output_columns</span></tt>
76
+ function in <code class="docutils literal"><span class="pre">--filter</span></code>, <code class="docutils literal"><span class="pre">--scorer</span></code> and <code class="docutils literal"><span class="pre">output_columns</span></code>
77
77
  options of <a class="reference internal" href="commands/select.html"><em>select</em></a>.</p>
78
78
  <p>This section describes about function and built-in functions.</p>
79
79
  <p>TODO: Add documentations about function.</p>
@@ -101,7 +101,7 @@ options of <a class="reference internal" href="commands/select.html"><em>select<
101
101
  </div>
102
102
  </div>
103
103
  </div>
104
- <div class="sphinxsidebar">
104
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
105
105
  <div class="sphinxsidebarwrapper">
106
106
  <h4>Previous topic</h4>
107
107
  <p class="topless"><a href="grn_expr/script_syntax.html"
@@ -109,12 +109,14 @@ options of <a class="reference internal" href="commands/select.html"><em>select<
109
109
  <h4>Next topic</h4>
110
110
  <p class="topless"><a href="functions/between.html"
111
111
  title="next chapter">7.12.1. between</a></p>
112
- <h3>This Page</h3>
113
- <ul class="this-page-menu">
114
- <li><a href="../_sources/reference/function.txt"
115
- rel="nofollow">Show Source</a></li>
116
- </ul>
117
- <div id="searchbox" style="display: none">
112
+ <div role="note" aria-label="source link">
113
+ <h3>This Page</h3>
114
+ <ul class="this-page-menu">
115
+ <li><a href="../_sources/reference/function.txt"
116
+ rel="nofollow">Show Source</a></li>
117
+ </ul>
118
+ </div>
119
+ <div id="searchbox" style="display: none" role="search">
118
120
  <h3>Quick search</h3>
119
121
  <form class="search" action="../search.html" method="get">
120
122
  <input type="text" name="q" />
@@ -131,7 +133,7 @@ options of <a class="reference internal" href="commands/select.html"><em>select<
131
133
  </div>
132
134
  <div class="clearer"></div>
133
135
  </div>
134
- <div class="related">
136
+ <div class="related" role="navigation" aria-label="related navigation">
135
137
  <h3>Navigation</h3>
136
138
  <ul>
137
139
  <li class="right" style="margin-right: 10px">
@@ -143,12 +145,12 @@ options of <a class="reference internal" href="commands/select.html"><em>select<
143
145
  <li class="right" >
144
146
  <a href="grn_expr/script_syntax.html" title="7.11.2. Script syntax"
145
147
  >previous</a> |</li>
146
- <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
148
+ <li><a href="../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
147
149
  <li><a href="../reference.html" >7. Reference manual</a> &raquo;</li>
148
150
  </ul>
149
151
  </div>
150
- <div class="footer">
151
- &copy; Copyright 2009-2014, Brazil, Inc.
152
+ <div class="footer" role="contentinfo">
153
+ &copy; Copyright 2009-2015, Brazil, Inc.
152
154
  </div>
153
155
  </body>
154
156
  </html>
@@ -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-168-gae696d7 documentation</title>
10
+ <title>7.12.1. between &mdash; Groonga v5.0.0 documentation</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-168-gae696d7',
18
+ VERSION: '5.0.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.12. Function" href="../function.html" />
30
30
  <link rel="next" title="7.12.2. edit_distance" href="edit_distance.html" />
31
31
  <link rel="prev" title="7.12. Function" href="../function.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="../function.html" title="7.12. Function"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">7.12. Function</a> &raquo;</li>
66
66
  </ul>
@@ -69,18 +69,18 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="between">
75
75
  <h1>7.12.1. between<a class="headerlink" href="#between" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
77
  <h2>7.12.1.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p><tt class="docutils literal"><span class="pre">between</span></tt> is used for checking the specified value exists in the specific range.
78
+ <p><code class="docutils literal"><span class="pre">between</span></code> is used for checking the specified value exists in the specific range.
79
79
  It is often used for combination with <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> option in <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
80
80
  </div>
81
81
  <div class="section" id="syntax">
82
82
  <h2>7.12.1.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
83
- <p><tt class="docutils literal"><span class="pre">between</span></tt> has five parameters:</p>
83
+ <p><code class="docutils literal"><span class="pre">between</span></code> has five parameters:</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>It returns 13, 14, 15 and 16 years old users.</p>
155
- <p><tt class="docutils literal"><span class="pre">between</span></tt> function accepts not only a column of table, but also the value.</p>
156
- <p>If you specify the value as 1st parameter, it is checked whether the value is included or not. if it matches to the specified range, it returns the all records because <tt class="docutils literal"><span class="pre">between</span></tt> function returns true.</p>
157
- <p>If it doesn't match to the specified range, it returns no records because <tt class="docutils literal"><span class="pre">between</span></tt> function returns false.</p>
155
+ <p><code class="docutils literal"><span class="pre">between</span></code> function accepts not only a column of table, but also the value.</p>
156
+ <p>If you specify the value as 1st parameter, it is checked whether the value is included or not. if it matches to the specified range, it returns the all records because <code class="docutils literal"><span class="pre">between</span></code> function returns true.</p>
157
+ <p>If it doesn't match to the specified range, it returns no records because <code class="docutils literal"><span class="pre">between</span></code> function returns false.</p>
158
158
  <p>Execution example:</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
  # [
@@ -222,35 +222,35 @@ This behavior is used for checking the specified value exists or not in the tabl
222
222
  </div>
223
223
  <div class="section" id="parameters">
224
224
  <h2>7.12.1.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
225
- <p>There are five required parameters, <tt class="docutils literal"><span class="pre">column_or_value</span></tt>, and <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> and <tt class="docutils literal"><span class="pre">max_border</span></tt>.</p>
225
+ <p>There are five required parameters, <code class="docutils literal"><span class="pre">column_or_value</span></code>, and <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> and <code class="docutils literal"><span class="pre">max_border</span></code>.</p>
226
226
  <div class="section" id="column-or-value">
227
- <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="Permalink to this headline">¶</a></h3>
227
+ <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="Permalink to this headline">¶</a></h3>
228
228
  <p>It specifies a column of the table or the value.</p>
229
229
  </div>
230
230
  <div class="section" id="min">
231
- <h3>7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h3>
231
+ <h3>7.12.1.4.2. <code class="docutils literal"><span class="pre">min</span></code><a class="headerlink" href="#min" title="Permalink to this headline">¶</a></h3>
232
232
  <p>It specifies the minimal border value of the range.
233
- You can control the behavior that the value of <tt class="docutils literal"><span class="pre">max</span></tt> is included or excluded by <tt class="docutils literal"><span class="pre">max_border</span></tt> parameter.</p>
233
+ You can control the behavior that the value of <code class="docutils literal"><span class="pre">max</span></code> is included or excluded by <code class="docutils literal"><span class="pre">max_border</span></code> parameter.</p>
234
234
  </div>
235
235
  <div class="section" id="min-border">
236
- <h3>7.12.1.4.3. <tt class="docutils literal"><span class="pre">min_border</span></tt><a class="headerlink" href="#min-border" title="Permalink to this headline">¶</a></h3>
237
- <p>It specifies whether the specified range contains the value of <tt class="docutils literal"><span class="pre">min</span></tt> or not.
238
- The value of <tt class="docutils literal"><span class="pre">min_border</span></tt> are either &quot;include&quot; or &quot;exclude&quot;. If it is &quot;include&quot;, <tt class="docutils literal"><span class="pre">min</span></tt> value is included. If it is &quot;exclude&quot;, <tt class="docutils literal"><span class="pre">min</span></tt> value is not included.</p>
236
+ <h3>7.12.1.4.3. <code class="docutils literal"><span class="pre">min_border</span></code><a class="headerlink" href="#min-border" title="Permalink to this headline">¶</a></h3>
237
+ <p>It specifies whether the specified range contains the value of <code class="docutils literal"><span class="pre">min</span></code> or not.
238
+ The value of <code class="docutils literal"><span class="pre">min_border</span></code> are either &quot;include&quot; or &quot;exclude&quot;. If it is &quot;include&quot;, <code class="docutils literal"><span class="pre">min</span></code> value is included. If it is &quot;exclude&quot;, <code class="docutils literal"><span class="pre">min</span></code> value is not included.</p>
239
239
  </div>
240
240
  <div class="section" id="max">
241
- <h3>7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h3>
241
+ <h3>7.12.1.4.4. <code class="docutils literal"><span class="pre">max</span></code><a class="headerlink" href="#max" title="Permalink to this headline">¶</a></h3>
242
242
  <p>It specifies the maximum border value of the range.
243
- You can control the behavior that the value of <tt class="docutils literal"><span class="pre">max</span></tt> is included or excluded by <tt class="docutils literal"><span class="pre">max_border</span></tt> parameter.</p>
243
+ You can control the behavior that the value of <code class="docutils literal"><span class="pre">max</span></code> is included or excluded by <code class="docutils literal"><span class="pre">max_border</span></code> parameter.</p>
244
244
  </div>
245
245
  <div class="section" id="max-border">
246
- <h3>7.12.1.4.5. <tt class="docutils literal"><span class="pre">max_border</span></tt><a class="headerlink" href="#max-border" title="Permalink to this headline">¶</a></h3>
247
- <p>It specifies whether the specified range contains the value of <tt class="docutils literal"><span class="pre">max</span></tt> or not.
248
- The value of <tt class="docutils literal"><span class="pre">max_border</span></tt> are either &quot;include&quot; or &quot;exclude&quot;. If it is &quot;include&quot;, <tt class="docutils literal"><span class="pre">max</span></tt> value is included. If it is &quot;exclude&quot;, <tt class="docutils literal"><span class="pre">max</span></tt> value is not included.</p>
246
+ <h3>7.12.1.4.5. <code class="docutils literal"><span class="pre">max_border</span></code><a class="headerlink" href="#max-border" title="Permalink to this headline">¶</a></h3>
247
+ <p>It specifies whether the specified range contains the value of <code class="docutils literal"><span class="pre">max</span></code> or not.
248
+ The value of <code class="docutils literal"><span class="pre">max_border</span></code> are either &quot;include&quot; or &quot;exclude&quot;. If it is &quot;include&quot;, <code class="docutils literal"><span class="pre">max</span></code> value is included. If it is &quot;exclude&quot;, <code class="docutils literal"><span class="pre">max</span></code> value is not included.</p>
249
249
  </div>
250
250
  </div>
251
251
  <div class="section" id="return-value">
252
252
  <h2>7.12.1.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
253
- <p><tt class="docutils literal"><span class="pre">between</span></tt> returns whether the value of column exists in specified the value of range or not. If record is matched to specified the value of range, it returns true. Otherwise, it returns false.</p>
253
+ <p><code class="docutils literal"><span class="pre">between</span></code> returns whether the value of column exists in specified the value of range or not. If record is matched to specified the value of range, it returns true. Otherwise, it returns false.</p>
254
254
  </div>
255
255
  </div>
256
256
 
@@ -258,7 +258,7 @@ The value of <tt class="docutils literal"><span class="pre">max_border</span></t
258
258
  </div>
259
259
  </div>
260
260
  </div>
261
- <div class="sphinxsidebar">
261
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
262
262
  <div class="sphinxsidebarwrapper">
263
263
  <h3><a href="../../index.html">Table Of Contents</a></h3>
264
264
  <ul>
@@ -267,11 +267,11 @@ The value of <tt class="docutils literal"><span class="pre">max_border</span></t
267
267
  <li><a class="reference internal" href="#syntax">7.12.1.2. Syntax</a></li>
268
268
  <li><a class="reference internal" href="#usage">7.12.1.3. Usage</a></li>
269
269
  <li><a class="reference internal" href="#parameters">7.12.1.4. Parameters</a><ul>
270
- <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>
271
- <li><a class="reference internal" href="#min">7.12.1.4.2. <tt class="docutils literal"><span class="pre">min</span></tt></a></li>
272
- <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>
273
- <li><a class="reference internal" href="#max">7.12.1.4.4. <tt class="docutils literal"><span class="pre">max</span></tt></a></li>
274
- <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>
270
+ <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>
271
+ <li><a class="reference internal" href="#min">7.12.1.4.2. <code class="docutils literal"><span class="pre">min</span></code></a></li>
272
+ <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>
273
+ <li><a class="reference internal" href="#max">7.12.1.4.4. <code class="docutils literal"><span class="pre">max</span></code></a></li>
274
+ <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>
275
275
  </ul>
276
276
  </li>
277
277
  <li><a class="reference internal" href="#return-value">7.12.1.5. Return value</a></li>
@@ -285,12 +285,14 @@ The value of <tt class="docutils literal"><span class="pre">max_border</span></t
285
285
  <h4>Next topic</h4>
286
286
  <p class="topless"><a href="edit_distance.html"
287
287
  title="next chapter">7.12.2. edit_distance</a></p>
288
- <h3>This Page</h3>
289
- <ul class="this-page-menu">
290
- <li><a href="../../_sources/reference/functions/between.txt"
291
- rel="nofollow">Show Source</a></li>
292
- </ul>
293
- <div id="searchbox" style="display: none">
288
+ <div role="note" aria-label="source link">
289
+ <h3>This Page</h3>
290
+ <ul class="this-page-menu">
291
+ <li><a href="../../_sources/reference/functions/between.txt"
292
+ rel="nofollow">Show Source</a></li>
293
+ </ul>
294
+ </div>
295
+ <div id="searchbox" style="display: none" role="search">
294
296
  <h3>Quick search</h3>
295
297
  <form class="search" action="../../search.html" method="get">
296
298
  <input type="text" name="q" />
@@ -307,7 +309,7 @@ The value of <tt class="docutils literal"><span class="pre">max_border</span></t
307
309
  </div>
308
310
  <div class="clearer"></div>
309
311
  </div>
310
- <div class="related">
312
+ <div class="related" role="navigation" aria-label="related navigation">
311
313
  <h3>Navigation</h3>
312
314
  <ul>
313
315
  <li class="right" style="margin-right: 10px">
@@ -319,13 +321,13 @@ The value of <tt class="docutils literal"><span class="pre">max_border</span></t
319
321
  <li class="right" >
320
322
  <a href="../function.html" title="7.12. Function"
321
323
  >previous</a> |</li>
322
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
324
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
323
325
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
324
326
  <li><a href="../function.html" >7.12. Function</a> &raquo;</li>
325
327
  </ul>
326
328
  </div>
327
- <div class="footer">
328
- &copy; Copyright 2009-2014, Brazil, Inc.
329
+ <div class="footer" role="contentinfo">
330
+ &copy; Copyright 2009-2015, Brazil, Inc.
329
331
  </div>
330
332
  </body>
331
333
  </html>
@@ -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-168-gae696d7 documentation</title>
10
+ <title>7.12.2. edit_distance &mdash; Groonga v5.0.0 documentation</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-168-gae696d7',
18
+ VERSION: '5.0.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.12. Function" href="../function.html" />
30
30
  <link rel="next" title="7.12.3. geo_distance" href="geo_distance.html" />
31
31
  <link rel="prev" title="7.12.1. between" href="between.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="between.html" title="7.12.1. between"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">7.12. Function</a> &raquo;</li>
66
66
  </ul>
@@ -69,7 +69,7 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="edit-distance">
75
75
  <h1>7.12.2. edit_distance<a class="headerlink" href="#edit-distance" title="Permalink to this headline">¶</a></h1>
@@ -90,10 +90,10 @@
90
90
  </div>
91
91
  <div class="section" id="id4">
92
92
  <h2>7.12.2.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
93
- <p><tt class="docutils literal"><span class="pre">string1</span></tt></p>
93
+ <p><code class="docutils literal"><span class="pre">string1</span></code></p>
94
94
  <blockquote>
95
95
  <div>文字列を指定します</div></blockquote>
96
- <p><tt class="docutils literal"><span class="pre">string2</span></tt></p>
96
+ <p><code class="docutils literal"><span class="pre">string2</span></code></p>
97
97
  <blockquote>
98
98
  <div>もうひとつの文字列を指定します</div></blockquote>
99
99
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
  </div>
116
116
  </div>
117
- <div class="sphinxsidebar">
117
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
118
118
  <div class="sphinxsidebarwrapper">
119
119
  <h3><a href="../../index.html">Table Of Contents</a></h3>
120
120
  <ul>
@@ -135,12 +135,14 @@
135
135
  <h4>Next topic</h4>
136
136
  <p class="topless"><a href="geo_distance.html"
137
137
  title="next chapter">7.12.3. geo_distance</a></p>
138
- <h3>This Page</h3>
139
- <ul class="this-page-menu">
140
- <li><a href="../../_sources/reference/functions/edit_distance.txt"
141
- rel="nofollow">Show Source</a></li>
142
- </ul>
143
- <div id="searchbox" style="display: none">
138
+ <div role="note" aria-label="source link">
139
+ <h3>This Page</h3>
140
+ <ul class="this-page-menu">
141
+ <li><a href="../../_sources/reference/functions/edit_distance.txt"
142
+ rel="nofollow">Show Source</a></li>
143
+ </ul>
144
+ </div>
145
+ <div id="searchbox" style="display: none" role="search">
144
146
  <h3>Quick search</h3>
145
147
  <form class="search" action="../../search.html" method="get">
146
148
  <input type="text" name="q" />
@@ -157,7 +159,7 @@
157
159
  </div>
158
160
  <div class="clearer"></div>
159
161
  </div>
160
- <div class="related">
162
+ <div class="related" role="navigation" aria-label="related navigation">
161
163
  <h3>Navigation</h3>
162
164
  <ul>
163
165
  <li class="right" style="margin-right: 10px">
@@ -169,13 +171,13 @@
169
171
  <li class="right" >
170
172
  <a href="between.html" title="7.12.1. between"
171
173
  >previous</a> |</li>
172
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
174
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
173
175
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
174
176
  <li><a href="../function.html" >7.12. Function</a> &raquo;</li>
175
177
  </ul>
176
178
  </div>
177
- <div class="footer">
178
- &copy; Copyright 2009-2014, Brazil, Inc.
179
+ <div class="footer" role="contentinfo">
180
+ &copy; Copyright 2009-2015, Brazil, Inc.
179
181
  </div>
180
182
  </body>
181
183
  </html>
@@ -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-168-gae696d7 documentation</title>
10
+ <title>7.12.3. geo_distance &mdash; Groonga v5.0.0 documentation</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-168-gae696d7',
18
+ VERSION: '5.0.0',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.12. Function" href="../function.html" />
30
30
  <link rel="next" title="7.12.4. geo_in_circle" href="geo_in_circle.html" />
31
31
  <link rel="prev" title="7.12.2. edit_distance" href="edit_distance.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="edit_distance.html" title="7.12.2. edit_distance"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
65
  <li><a href="../function.html" accesskey="U">7.12. Function</a> &raquo;</li>
66
66
  </ul>
@@ -69,52 +69,52 @@
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="geo-distance">
75
75
  <h1>7.12.3. geo_distance<a class="headerlink" href="#geo-distance" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
77
  <h2>7.12.3.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> calculates the value of distance between specified two points.</p>
78
+ <p><code class="docutils literal"><span class="pre">geo_distance</span></code> calculates the value of distance between specified two points.</p>
79
79
  </div>
80
80
  <div class="section" id="syntax">
81
81
  <h2>7.12.3.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
82
- <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> requires two point.
83
- The parameter <tt class="docutils literal"><span class="pre">approximate_type</span></tt> is optional:</p>
82
+ <p><code class="docutils literal"><span class="pre">geo_distance</span></code> requires two point.
83
+ The parameter <code class="docutils literal"><span class="pre">approximate_type</span></code> is optional:</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>The default value of <tt class="docutils literal"><span class="pre">approximate_type</span></tt> is <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt>.
89
- If you omit <tt class="docutils literal"><span class="pre">approximate_type</span></tt>, <tt class="docutils literal"><span class="pre">geo_distance</span></tt> calculates the value of
90
- distance as if <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt> was specified.</p>
88
+ <p>The default value of <code class="docutils literal"><span class="pre">approximate_type</span></code> is <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code>.
89
+ If you omit <code class="docutils literal"><span class="pre">approximate_type</span></code>, <code class="docutils literal"><span class="pre">geo_distance</span></code> calculates the value of
90
+ distance as if <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code> was specified.</p>
91
91
  </div>
92
92
  <div class="section" id="usage">
93
93
  <h2>7.12.3.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
94
- <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> is one of the Groonga builtin functions.</p>
94
+ <p><code class="docutils literal"><span class="pre">geo_distance</span></code> is one of the Groonga builtin functions.</p>
95
95
  <p>You can call a builtin function in <a class="reference internal" href="../grn_expr.html"><em>grn_expr</em></a></p>
96
- <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> function calculates the value of distance (approximate value)
97
- between the coordinate of <tt class="docutils literal"><span class="pre">point1</span></tt> and the coordinate of <tt class="docutils literal"><span class="pre">point2</span></tt>.</p>
96
+ <p><code class="docutils literal"><span class="pre">geo_distance</span></code> function calculates the value of distance (approximate value)
97
+ between the coordinate of <code class="docutils literal"><span class="pre">point1</span></code> and the coordinate of <code class="docutils literal"><span class="pre">point2</span></code>.</p>
98
98
  <div class="admonition note">
99
99
  <p class="first admonition-title">Note</p>
100
100
  <p class="last">Groonga provides three built in functions for calculating the value of distance.
101
- There are <tt class="docutils literal"><span class="pre">geo_distance()</span></tt>, <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> and <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt>.
101
+ There are <code class="docutils literal"><span class="pre">geo_distance()</span></code>, <code class="docutils literal"><span class="pre">geo_distance2()</span></code> and <code class="docutils literal"><span class="pre">geo_distance3()</span></code>.
102
102
  The difference of them is the algorithm of calculating distance.
103
- <tt class="docutils literal"><span class="pre">geo_distance2()</span></tt> and <tt class="docutils literal"><span class="pre">geo_distance3()</span></tt> were deprecated since version 1.2.9.
104
- Use <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;sphere&quot;)</span></tt> instead of <tt class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></tt>.
105
- Use <tt class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;ellipsoid&quot;)</span></tt> instead of <tt class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></tt>.</p>
103
+ <code class="docutils literal"><span class="pre">geo_distance2()</span></code> and <code class="docutils literal"><span class="pre">geo_distance3()</span></code> were deprecated since version 1.2.9.
104
+ Use <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;sphere&quot;)</span></code> instead of <code class="docutils literal"><span class="pre">geo_distance2(point1,</span> <span class="pre">point2)</span></code>.
105
+ Use <code class="docutils literal"><span class="pre">geo_distance(point1,</span> <span class="pre">point2,</span> <span class="pre">&quot;ellipsoid&quot;)</span></code> instead of <code class="docutils literal"><span class="pre">geo_distance3(point1,</span> <span class="pre">point2)</span></code>.</p>
106
106
  </div>
107
- <p>Lets's learn about <tt class="docutils literal"><span class="pre">geo_distance</span></tt> usage with examples.
107
+ <p>Lets's learn about <code class="docutils literal"><span class="pre">geo_distance</span></code> usage with examples.
108
108
  This section shows simple usages.</p>
109
109
  <p>Here are two schema definition and sample data to show the difference according to the usage.
110
110
  Those samples show how to calculate the value of distance between New York City and London.</p>
111
111
  <ol class="arabic simple">
112
- <li>Using the column value of location for calculating the distance (<tt class="docutils literal"><span class="pre">Cities</span></tt> table)</li>
113
- <li>Using the explicitly specified coordinates for calculating the distance (<tt class="docutils literal"><span class="pre">Geo</span></tt> table)</li>
112
+ <li>Using the column value of location for calculating the distance (<code class="docutils literal"><span class="pre">Cities</span></code> table)</li>
113
+ <li>Using the explicitly specified coordinates for calculating the distance (<code class="docutils literal"><span class="pre">Geo</span></code> table)</li>
114
114
  </ol>
115
115
  <div class="section" id="using-the-column-value-of-location">
116
116
  <h3>7.12.3.3.1. Using the column value of location<a class="headerlink" href="#using-the-column-value-of-location" title="Permalink to this headline">¶</a></h3>
117
- <p>Here are a schema definition of <tt class="docutils literal"><span class="pre">Cities</span></tt> table and sample data to show usage.</p>
117
+ <p>Here are a schema definition of <code class="docutils literal"><span class="pre">Cities</span></code> table and sample data to show usage.</p>
118
118
  <div class="highlight-none"><div class="highlight"><pre>table_create Cities TABLE_HASH_KEY ShortText
119
119
  column_create Cities location COLUMN_SCALAR WGS84GeoPoint
120
120
  load --table Cities
@@ -145,8 +145,8 @@ load --table Cities
145
145
  # [[0, 1337566253.89858, 0.000355720520019531], 1]
146
146
  </pre></div>
147
147
  </div>
148
- <p>This execution example creates a table named <tt class="docutils literal"><span class="pre">Cities</span></tt> which has one column named <tt class="docutils literal"><span class="pre">location</span></tt>.
149
- <tt class="docutils literal"><span class="pre">location</span></tt> column stores the value of coordinate.
148
+ <p>This execution example creates a table named <code class="docutils literal"><span class="pre">Cities</span></code> which has one column named <code class="docutils literal"><span class="pre">location</span></code>.
149
+ <code class="docutils literal"><span class="pre">location</span></code> column stores the value of coordinate.
150
150
  The coordinate of Tokyo is stored as sample data.</p>
151
151
  <p>Execution example:</p>
152
152
  <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;
@@ -175,14 +175,14 @@ The coordinate of Tokyo is stored as sample data.</p>
175
175
  # ]
176
176
  </pre></div>
177
177
  </div>
178
- <p>This sample shows that <tt class="docutils literal"><span class="pre">geo_distance</span></tt> use the value of <tt class="docutils literal"><span class="pre">location</span></tt> column
178
+ <p>This sample shows that <code class="docutils literal"><span class="pre">geo_distance</span></code> use the value of <code class="docutils literal"><span class="pre">location</span></code> column
179
179
  and the value of coordinate to calculate distance.</p>
180
- <p>The value (&quot;185428000x-461000&quot;) passed to <tt class="docutils literal"><span class="pre">geo_distance</span></tt> as the second argument is
180
+ <p>The value (&quot;185428000x-461000&quot;) passed to <code class="docutils literal"><span class="pre">geo_distance</span></code> as the second argument is
181
181
  the coordinate of London.</p>
182
182
  </div>
183
183
  <div class="section" id="using-the-explicitly-specified-value-of-location">
184
184
  <h3>7.12.3.3.2. Using the explicitly specified value of location<a class="headerlink" href="#using-the-explicitly-specified-value-of-location" title="Permalink to this headline">¶</a></h3>
185
- <p>Here are a schema definition of <tt class="docutils literal"><span class="pre">Geo</span></tt> table and sample data to show usage.</p>
185
+ <p>Here are a schema definition of <code class="docutils literal"><span class="pre">Geo</span></code> table and sample data to show usage.</p>
186
186
  <div class="highlight-none"><div class="highlight"><pre>table_create Geo TABLE_HASH_KEY ShortText
187
187
  column_create Geo distance COLUMN_SCALAR Int32
188
188
  load --table Geo
@@ -207,8 +207,8 @@ load --table Geo
207
207
  # [[0, 1337566253.89858, 0.000355720520019531], 1]
208
208
  </pre></div>
209
209
  </div>
210
- <p>This execution example creates a table named <tt class="docutils literal"><span class="pre">Geo</span></tt> which has one column named <tt class="docutils literal"><span class="pre">distance</span></tt>.
211
- <tt class="docutils literal"><span class="pre">distance</span></tt> column stores the value of distance.</p>
210
+ <p>This execution example creates a table named <code class="docutils literal"><span class="pre">Geo</span></code> which has one column named <code class="docutils literal"><span class="pre">distance</span></code>.
211
+ <code class="docutils literal"><span class="pre">distance</span></code> column stores the value of distance.</p>
212
212
  <p>Execution example:</p>
213
213
  <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;
214
214
  # [
@@ -236,7 +236,7 @@ load --table Geo
236
236
  # ]
237
237
  </pre></div>
238
238
  </div>
239
- <p>This sample shows that <tt class="docutils literal"><span class="pre">geo_distance</span></tt> use the coordinate of London
239
+ <p>This sample shows that <code class="docutils literal"><span class="pre">geo_distance</span></code> use the coordinate of London
240
240
  and the coordinate of New York to calculate distance.</p>
241
241
  </div>
242
242
  </div>
@@ -244,16 +244,16 @@ and the coordinate of New York to calculate distance.</p>
244
244
  <h2>7.12.3.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
245
245
  <div class="section" id="required-parameter">
246
246
  <h3>7.12.3.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
247
- <p>There are two required parameter, <tt class="docutils literal"><span class="pre">point1</span></tt> and <tt class="docutils literal"><span class="pre">point2</span></tt>.</p>
247
+ <p>There are two required parameter, <code class="docutils literal"><span class="pre">point1</span></code> and <code class="docutils literal"><span class="pre">point2</span></code>.</p>
248
248
  <div class="section" id="point1">
249
- <h4>7.12.3.4.1.1. <tt class="docutils literal"><span class="pre">point1</span></tt><a class="headerlink" href="#point1" title="Permalink to this headline">¶</a></h4>
249
+ <h4>7.12.3.4.1.1. <code class="docutils literal"><span class="pre">point1</span></code><a class="headerlink" href="#point1" title="Permalink to this headline">¶</a></h4>
250
250
  <p>It specifies the start point that
251
251
  you want to calculate the value of distance between two points.</p>
252
252
  <p>You can specify the value of GeoPoint type. <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
253
253
  <p>See <a class="reference internal" href="../types.html"><em>データ型</em></a> about GeoPoint.</p>
254
254
  </div>
255
255
  <div class="section" id="point2">
256
- <h4>7.12.3.4.1.2. <tt class="docutils literal"><span class="pre">point2</span></tt><a class="headerlink" href="#point2" title="Permalink to this headline">¶</a></h4>
256
+ <h4>7.12.3.4.1.2. <code class="docutils literal"><span class="pre">point2</span></code><a class="headerlink" href="#point2" title="Permalink to this headline">¶</a></h4>
257
257
  <p>It specifies the end point that
258
258
  you want to calculate the value of distance between two points.</p>
259
259
  <p>You can specify the value of GeoPoint type or
@@ -263,36 +263,36 @@ the string indicating the coordinate.</p>
263
263
  </div>
264
264
  <div class="section" id="optional-parameter">
265
265
  <h3>7.12.3.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
266
- <p>There is a optional parameter, <tt class="docutils literal"><span class="pre">approximate_type</span></tt>.</p>
266
+ <p>There is a optional parameter, <code class="docutils literal"><span class="pre">approximate_type</span></code>.</p>
267
267
  <div class="section" id="approximate-type">
268
- <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="Permalink to this headline">¶</a></h4>
268
+ <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="Permalink to this headline">¶</a></h4>
269
269
  <p>It specifies how to approximate the geographical features for calculating
270
270
  the value of distance.</p>
271
- <p>You can specify the value of <tt class="docutils literal"><span class="pre">approximate_type</span></tt> by one of the followings.</p>
271
+ <p>You can specify the value of <code class="docutils literal"><span class="pre">approximate_type</span></code> by one of the followings.</p>
272
272
  <blockquote>
273
273
  <div><ul class="simple">
274
- <li><tt class="docutils literal"><span class="pre">rectangle</span></tt></li>
275
- <li><tt class="docutils literal"><span class="pre">sphere</span></tt></li>
276
- <li><tt class="docutils literal"><span class="pre">ellipsoid</span></tt></li>
274
+ <li><code class="docutils literal"><span class="pre">rectangle</span></code></li>
275
+ <li><code class="docutils literal"><span class="pre">sphere</span></code></li>
276
+ <li><code class="docutils literal"><span class="pre">ellipsoid</span></code></li>
277
277
  </ul>
278
278
  </div></blockquote>
279
279
  <div class="admonition note">
280
280
  <p class="first admonition-title">Note</p>
281
- <p class="last">There is a limitation about <tt class="docutils literal"><span class="pre">geo_distance</span></tt>. <tt class="docutils literal"><span class="pre">geo_distance</span></tt> can not
281
+ <p class="last">There is a limitation about <code class="docutils literal"><span class="pre">geo_distance</span></code>. <code class="docutils literal"><span class="pre">geo_distance</span></code> can not
282
282
  calculate the value of distance between two points across meridian,
283
- equator or the date line if you use <tt class="docutils literal"><span class="pre">sphere</span></tt> or <tt class="docutils literal"><span class="pre">ellipsoid</span></tt> as
284
- approximate type. There is not such a limitation for <tt class="docutils literal"><span class="pre">rectangle</span></tt>.
283
+ equator or the date line if you use <code class="docutils literal"><span class="pre">sphere</span></code> or <code class="docutils literal"><span class="pre">ellipsoid</span></code> as
284
+ approximate type. There is not such a limitation for <code class="docutils literal"><span class="pre">rectangle</span></code>.
285
285
  This is temporary limitation according to the implementation of Groonga,
286
286
  but it will be fixed in the future release.</p>
287
287
  </div>
288
288
  <div class="section" id="rectangle">
289
- <h5>7.12.3.4.2.1.1. <tt class="docutils literal"><span class="pre">rectangle</span></tt><a class="headerlink" href="#rectangle" title="Permalink to this headline">¶</a></h5>
289
+ <h5>7.12.3.4.2.1.1. <code class="docutils literal"><span class="pre">rectangle</span></code><a class="headerlink" href="#rectangle" title="Permalink to this headline">¶</a></h5>
290
290
  <p>This parameter require to approximate the geographical features
291
291
  by square approximation for calculating the distance.</p>
292
292
  <p>Since the value of distance is calculated by simple formula,
293
293
  you can calculate the value of distance fast.
294
294
  But, the error of distance increases as it approaches the pole.</p>
295
- <p>You can also specify <tt class="docutils literal"><span class="pre">rect</span></tt> as abbrev expression.</p>
295
+ <p>You can also specify <code class="docutils literal"><span class="pre">rect</span></code> as abbrev expression.</p>
296
296
  <p>Here is a sample about calculating the value of distance with column value.</p>
297
297
  <p>Execution example:</p>
298
298
  <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;
@@ -378,7 +378,7 @@ But, the error of distance increases as it approaches the pole.</p>
378
378
  </pre></div>
379
379
  </div>
380
380
  <p>This sample shows the value of distance across meridian.
381
- The return value of <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> is the value of distance from Paris, Flance to Madrid, Spain.</p>
381
+ The return value of <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> is the value of distance from Paris, Flance to Madrid, Spain.</p>
382
382
  <p>Execution example:</p>
383
383
  <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;
384
384
  # [
@@ -407,7 +407,7 @@ The return value of <tt class="docutils literal"><span class="pre">geo_distance(
407
407
  </pre></div>
408
408
  </div>
409
409
  <p>This sample shows the value of distance across equator.
410
- The return value of <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> is the value of distance from New York, The United Status to Brasillia, Brasil.</p>
410
+ The return value of <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> is the value of distance from New York, The United Status to Brasillia, Brasil.</p>
411
411
  <p>Execution example:</p>
412
412
  <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;
413
413
  # [
@@ -436,28 +436,28 @@ The return value of <tt class="docutils literal"><span class="pre">geo_distance(
436
436
  </pre></div>
437
437
  </div>
438
438
  <p>This sample shows the value of distance across the date line.
439
- The return value of <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> is the value of distance from Beijin, China to San Francisco, The United States.</p>
439
+ The return value of <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> is the value of distance from Beijin, China to San Francisco, The United States.</p>
440
440
  <div class="admonition note">
441
441
  <p class="first admonition-title">Note</p>
442
- <p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> uses square approximation as default. If you omit <tt class="docutils literal"><span class="pre">approximate_type</span></tt>, <tt class="docutils literal"><span class="pre">geo_distance</span></tt> behaves like <tt class="docutils literal"><span class="pre">rectangle</span></tt> was specified.</p>
442
+ <p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> uses square approximation as default. If you omit <code class="docutils literal"><span class="pre">approximate_type</span></code>, <code class="docutils literal"><span class="pre">geo_distance</span></code> behaves like <code class="docutils literal"><span class="pre">rectangle</span></code> was specified.</p>
443
443
  </div>
444
444
  <div class="admonition note">
445
445
  <p class="first admonition-title">Note</p>
446
- <p class="last"><tt class="docutils literal"><span class="pre">geo_distance</span></tt> accepts the string indicating the coordinate as
447
- the value of <tt class="docutils literal"><span class="pre">point1</span></tt> when the value of <tt class="docutils literal"><span class="pre">approximate_type</span></tt> is
448
- <tt class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></tt>.
446
+ <p class="last"><code class="docutils literal"><span class="pre">geo_distance</span></code> accepts the string indicating the coordinate as
447
+ the value of <code class="docutils literal"><span class="pre">point1</span></code> when the value of <code class="docutils literal"><span class="pre">approximate_type</span></code> is
448
+ <code class="docutils literal"><span class="pre">&quot;rectangle&quot;</span></code>.
449
449
  If you specified the string indicating the coordinate as the value
450
- of <tt class="docutils literal"><span class="pre">point1</span></tt> with <tt class="docutils literal"><span class="pre">sphere</span></tt> or <tt class="docutils literal"><span class="pre">ellipsoid</span></tt>, <tt class="docutils literal"><span class="pre">geo_distance</span></tt>
450
+ of <code class="docutils literal"><span class="pre">point1</span></code> with <code class="docutils literal"><span class="pre">sphere</span></code> or <code class="docutils literal"><span class="pre">ellipsoid</span></code>, <code class="docutils literal"><span class="pre">geo_distance</span></code>
451
451
  returns 0 as the value of distance.</p>
452
452
  </div>
453
453
  </div>
454
454
  <div class="section" id="sphere">
455
- <h5>7.12.3.4.2.1.2. <tt class="docutils literal"><span class="pre">sphere</span></tt><a class="headerlink" href="#sphere" title="Permalink to this headline">¶</a></h5>
455
+ <h5>7.12.3.4.2.1.2. <code class="docutils literal"><span class="pre">sphere</span></code><a class="headerlink" href="#sphere" title="Permalink to this headline">¶</a></h5>
456
456
  <p>This parameter require to approximate the geographical features
457
457
  by spherical approximation for calculating the distance.</p>
458
- <p>It is slower than <tt class="docutils literal"><span class="pre">rectangle</span></tt>, but the error of distance becomes
459
- smaller than <tt class="docutils literal"><span class="pre">rectangle</span></tt>.</p>
460
- <p>You can also specify <tt class="docutils literal"><span class="pre">sphr</span></tt> as abbrev expression.</p>
458
+ <p>It is slower than <code class="docutils literal"><span class="pre">rectangle</span></code>, but the error of distance becomes
459
+ smaller than <code class="docutils literal"><span class="pre">rectangle</span></code>.</p>
460
+ <p>You can also specify <code class="docutils literal"><span class="pre">sphr</span></code> as abbrev expression.</p>
461
461
  <p>Here is a sample about calculating the value of distance with column value.</p>
462
462
  <p>Execution example:</p>
463
463
  <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;
@@ -488,13 +488,13 @@ smaller than <tt class="docutils literal"><span class="pre">rectangle</span></tt
488
488
  </div>
489
489
  </div>
490
490
  <div class="section" id="ellipsoid">
491
- <h5>7.12.3.4.2.1.3. <tt class="docutils literal"><span class="pre">ellipsoid</span></tt><a class="headerlink" href="#ellipsoid" title="Permalink to this headline">¶</a></h5>
491
+ <h5>7.12.3.4.2.1.3. <code class="docutils literal"><span class="pre">ellipsoid</span></code><a class="headerlink" href="#ellipsoid" title="Permalink to this headline">¶</a></h5>
492
492
  <p>This parameter require to approximate the geographical features
493
493
  by ellipsoid approximation for calculating the distance.</p>
494
494
  <p>It uses the calculation of distance by the formula of Hubeny.
495
- It is slower than <tt class="docutils literal"><span class="pre">sphere</span></tt>, but the error of distance becomes
496
- smaller than <tt class="docutils literal"><span class="pre">sphere</span></tt>.</p>
497
- <p>You can also specify <tt class="docutils literal"><span class="pre">ellip</span></tt> as abbrev expression.</p>
495
+ It is slower than <code class="docutils literal"><span class="pre">sphere</span></code>, but the error of distance becomes
496
+ smaller than <code class="docutils literal"><span class="pre">sphere</span></code>.</p>
497
+ <p>You can also specify <code class="docutils literal"><span class="pre">ellip</span></code> as abbrev expression.</p>
498
498
  <p>Here is a sample about calculating the value of distance with column value.</p>
499
499
  <p>Execution example:</p>
500
500
  <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;
@@ -529,7 +529,7 @@ smaller than <tt class="docutils literal"><span class="pre">sphere</span></tt>.<
529
529
  </div>
530
530
  <div class="section" id="return-value">
531
531
  <h2>7.12.3.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
532
- <p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> returns the value of distance in float type.
532
+ <p><code class="docutils literal"><span class="pre">geo_distance</span></code> returns the value of distance in float type.
533
533
  The unit of return value is meter.</p>
534
534
  <p class="rubric">Footnote</p>
535
535
  <table class="docutils footnote" frame="void" id="id2" rules="none">
@@ -545,7 +545,7 @@ The unit of return value is meter.</p>
545
545
  </div>
546
546
  </div>
547
547
  </div>
548
- <div class="sphinxsidebar">
548
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
549
549
  <div class="sphinxsidebarwrapper">
550
550
  <h3><a href="../../index.html">Table Of Contents</a></h3>
551
551
  <ul>
@@ -559,15 +559,15 @@ The unit of return value is meter.</p>
559
559
  </li>
560
560
  <li><a class="reference internal" href="#parameters">7.12.3.4. Parameters</a><ul>
561
561
  <li><a class="reference internal" href="#required-parameter">7.12.3.4.1. Required parameter</a><ul>
562
- <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>
563
- <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>
562
+ <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>
563
+ <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>
564
564
  </ul>
565
565
  </li>
566
566
  <li><a class="reference internal" href="#optional-parameter">7.12.3.4.2. Optional parameter</a><ul>
567
- <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>
568
- <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>
569
- <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>
570
- <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>
567
+ <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>
568
+ <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>
569
+ <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>
570
+ <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>
571
571
  </ul>
572
572
  </li>
573
573
  </ul>
@@ -585,12 +585,14 @@ The unit of return value is meter.</p>
585
585
  <h4>Next topic</h4>
586
586
  <p class="topless"><a href="geo_in_circle.html"
587
587
  title="next chapter">7.12.4. geo_in_circle</a></p>
588
- <h3>This Page</h3>
589
- <ul class="this-page-menu">
590
- <li><a href="../../_sources/reference/functions/geo_distance.txt"
591
- rel="nofollow">Show Source</a></li>
592
- </ul>
593
- <div id="searchbox" style="display: none">
588
+ <div role="note" aria-label="source link">
589
+ <h3>This Page</h3>
590
+ <ul class="this-page-menu">
591
+ <li><a href="../../_sources/reference/functions/geo_distance.txt"
592
+ rel="nofollow">Show Source</a></li>
593
+ </ul>
594
+ </div>
595
+ <div id="searchbox" style="display: none" role="search">
594
596
  <h3>Quick search</h3>
595
597
  <form class="search" action="../../search.html" method="get">
596
598
  <input type="text" name="q" />
@@ -607,7 +609,7 @@ The unit of return value is meter.</p>
607
609
  </div>
608
610
  <div class="clearer"></div>
609
611
  </div>
610
- <div class="related">
612
+ <div class="related" role="navigation" aria-label="related navigation">
611
613
  <h3>Navigation</h3>
612
614
  <ul>
613
615
  <li class="right" style="margin-right: 10px">
@@ -619,13 +621,13 @@ The unit of return value is meter.</p>
619
621
  <li class="right" >
620
622
  <a href="edit_distance.html" title="7.12.2. edit_distance"
621
623
  >previous</a> |</li>
622
- <li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> &raquo;</li>
624
+ <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
623
625
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
624
626
  <li><a href="../function.html" >7.12. Function</a> &raquo;</li>
625
627
  </ul>
626
628
  </div>
627
- <div class="footer">
628
- &copy; Copyright 2009-2014, Brazil, Inc.
629
+ <div class="footer" role="contentinfo">
630
+ &copy; Copyright 2009-2015, Brazil, Inc.
629
631
  </div>
630
632
  </body>
631
633
  </html>