rroonga 5.0.9-x64-mingw32 → 5.1.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (629) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -1
  3. data/ext/groonga/{rb-grn-conf.c → rb-grn-config.c} +18 -13
  4. data/ext/groonga/rb-grn-database.c +83 -0
  5. data/ext/groonga/rb-grn-fix-size-column.c +85 -0
  6. data/ext/groonga/rb-grn-index-column.c +82 -0
  7. data/ext/groonga/rb-grn-object.c +67 -1
  8. data/ext/groonga/rb-grn-table-key-support.c +87 -1
  9. data/ext/groonga/rb-grn-table.c +2 -2
  10. data/ext/groonga/rb-grn-variable-size-column.c +84 -1
  11. data/ext/groonga/rb-grn.h +5 -5
  12. data/ext/groonga/rb-groonga.c +27 -1
  13. data/lib/2.0/groonga.so +0 -0
  14. data/lib/2.1/groonga.so +0 -0
  15. data/lib/2.2/groonga.so +0 -0
  16. data/lib/2.3/groonga.so +0 -0
  17. data/lib/groonga/context.rb +12 -3
  18. data/lib/groonga/expression-builder.rb +2 -1
  19. data/rroonga-build.rb +6 -6
  20. data/test/test-accessor.rb +30 -0
  21. data/test/{test-conf.rb → test-config.rb} +5 -5
  22. data/test/test-database.rb +41 -0
  23. data/test/test-fix-size-column.rb +84 -0
  24. data/test/test-index-column.rb +71 -1
  25. data/test/test-package-label.rb +20 -0
  26. data/test/test-table-key-support.rb +42 -0
  27. data/test/test-table.rb +13 -0
  28. data/test/test-variable-size-column.rb +71 -1
  29. data/vendor/local/bin/grndb.exe +0 -0
  30. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  31. data/vendor/local/bin/groonga.exe +0 -0
  32. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  33. data/vendor/local/bin/libgroonga-0.dll +0 -0
  34. data/vendor/local/bin/libmecab-1.dll +0 -0
  35. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  36. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  37. data/vendor/local/bin/libonig-5.dll +0 -0
  38. data/vendor/local/bin/libstdc++-6.dll +0 -0
  39. data/vendor/local/bin/lz4.exe +0 -0
  40. data/vendor/local/bin/lz4c.exe +0 -0
  41. data/vendor/local/bin/lz4cat +0 -0
  42. data/vendor/local/bin/mecab.exe +0 -0
  43. data/vendor/local/bin/zlib1.dll +0 -0
  44. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +9 -9
  45. data/vendor/local/include/groonga/groonga/file_reader.h +40 -0
  46. data/vendor/local/include/groonga/groonga/groonga.h +1 -0
  47. data/vendor/local/include/groonga/groonga/obj.h +7 -42
  48. data/vendor/local/include/groonga/groonga/portability.h +4 -4
  49. data/vendor/local/include/groonga/groonga.h +1 -0
  50. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  51. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  52. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  53. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  54. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  55. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  56. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  57. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  58. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  60. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  61. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  62. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +70 -38
  63. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  64. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  65. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  70. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  71. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  74. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  75. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +21 -0
  76. data/vendor/local/lib/groonga/scripts/ruby/id.rb +12 -0
  77. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
  78. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +3 -1
  79. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +6 -0
  80. data/vendor/local/lib/libgroonga.a +0 -0
  81. data/vendor/local/lib/libgroonga.dll.a +0 -0
  82. data/vendor/local/lib/liblz4.a +0 -0
  83. data/vendor/local/lib/liblz4.dll +0 -0
  84. data/vendor/local/lib/liblz4.dll.1 +0 -0
  85. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  86. data/vendor/local/lib/libmecab.a +0 -0
  87. data/vendor/local/lib/libmecab.dll.a +0 -0
  88. data/vendor/local/lib/libmsgpack.a +0 -0
  89. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  90. data/vendor/local/lib/libmsgpackc.a +0 -0
  91. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  92. data/vendor/local/lib/libonig.a +0 -0
  93. data/vendor/local/lib/libonig.dll.a +0 -0
  94. data/vendor/local/lib/libz.a +0 -0
  95. data/vendor/local/lib/libz.dll.a +0 -0
  96. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  97. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  98. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  99. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  100. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  101. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  102. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  103. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  104. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +7 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  106. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  107. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  108. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  109. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  110. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  111. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -3
  112. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  113. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +1 -1
  114. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +122 -1
  115. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt +45 -0
  116. data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
  117. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -1
  118. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +142 -0
  119. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +10 -23
  120. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +4 -4
  121. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +2 -2
  122. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +2 -2
  123. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -2
  124. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +3 -3
  125. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
  126. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  127. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
  128. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +2 -2
  129. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +3 -3
  130. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -2
  131. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
  132. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +3 -2
  133. data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -7
  134. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -2
  135. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +37 -8
  136. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/community.html +12 -6
  139. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
  142. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  144. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  150. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/index.html +72 -68
  160. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  161. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  162. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  163. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  164. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  165. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  166. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +9 -8
  167. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  168. data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
  169. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  170. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  172. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  173. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  174. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
  175. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
  176. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
  177. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +7 -7
  178. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/news.html +187 -76
  180. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  181. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
  185. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
  187. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
  188. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
  189. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  190. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +10 -10
  215. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +183 -0
  216. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -22
  217. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +21 -21
  218. data/vendor/local/share/doc/groonga/en/html/reference/command.html +58 -56
  219. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +29 -29
  220. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +25 -25
  221. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +27 -27
  222. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +41 -41
  223. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +25 -25
  224. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +31 -31
  225. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +25 -25
  226. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +33 -33
  227. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +29 -29
  228. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +27 -27
  229. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +25 -25
  230. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +29 -29
  231. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +37 -37
  232. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +33 -33
  233. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +29 -29
  234. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +28 -27
  235. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +27 -27
  236. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -27
  237. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +29 -29
  238. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +39 -39
  239. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +31 -31
  240. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +57 -57
  241. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +105 -105
  242. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +33 -33
  243. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +37 -37
  244. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +37 -37
  245. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +25 -25
  246. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +29 -29
  247. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +25 -25
  248. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +25 -25
  249. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +25 -25
  250. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +25 -25
  251. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +26 -26
  252. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +279 -0
  253. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +32 -32
  254. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
  255. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
  256. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +107 -107
  257. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +25 -25
  258. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  259. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +27 -27
  260. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +49 -49
  261. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +25 -25
  262. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +35 -35
  263. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +31 -31
  264. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +39 -39
  265. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +31 -31
  266. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +43 -43
  267. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +25 -25
  268. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  269. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
  270. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  271. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
  272. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  273. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  274. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  275. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
  276. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
  277. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
  278. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  279. data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -17
  280. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +14 -8
  281. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
  282. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
  283. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
  284. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
  285. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +8 -8
  286. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +9 -9
  287. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +9 -9
  288. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +8 -8
  289. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -11
  290. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +434 -0
  291. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +42 -42
  292. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
  293. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
  294. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
  295. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +23 -23
  296. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  297. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  298. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  299. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  300. data/vendor/local/share/doc/groonga/en/html/reference/log.html +9 -9
  301. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  302. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -12
  303. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +203 -0
  304. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +15 -17
  305. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  306. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  307. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  308. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
  309. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
  310. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
  311. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
  312. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +15 -15
  313. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -11
  314. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
  315. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
  316. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
  317. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -10
  318. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  319. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
  320. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  321. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
  322. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  323. data/vendor/local/share/doc/groonga/en/html/reference.html +72 -68
  324. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  325. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  326. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  327. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  328. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  329. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  330. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  331. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +5 -5
  332. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  333. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  334. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  335. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  336. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  337. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  338. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  339. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  340. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  341. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  342. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  343. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  344. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  345. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  346. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  347. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  348. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  349. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  350. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  351. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  352. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  353. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +7 -2
  354. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  355. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  356. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  357. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  358. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  359. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  360. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -3
  361. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  362. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +1 -1
  363. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +122 -1
  364. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt +45 -0
  365. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
  366. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -1
  367. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +142 -0
  368. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +10 -23
  369. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +4 -4
  370. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +2 -2
  371. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +2 -2
  372. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -2
  373. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +3 -3
  374. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
  375. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  376. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
  377. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +2 -2
  378. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +3 -3
  379. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -2
  380. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
  381. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +3 -2
  382. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -7
  383. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -2
  384. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +37 -8
  385. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
  387. data/vendor/local/share/doc/groonga/ja/html/community.html +14 -6
  388. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
  394. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
  396. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  400. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/index.html +71 -67
  409. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
  410. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
  411. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
  412. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
  413. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  414. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  415. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -8
  416. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
  417. data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
  425. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
  426. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +6 -6
  427. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  428. data/vendor/local/share/doc/groonga/ja/html/news.html +188 -76
  429. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  430. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +5 -5
  431. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
  432. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
  433. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
  434. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
  435. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
  436. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
  437. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
  438. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  439. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
  440. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
  441. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
  442. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
  443. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
  444. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
  445. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
  446. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
  447. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
  448. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
  449. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
  450. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
  451. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
  452. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
  453. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
  454. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
  455. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  456. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  457. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
  458. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
  459. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
  460. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
  461. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
  462. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  463. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -11
  464. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +183 -0
  465. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -33
  466. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +21 -21
  467. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +58 -56
  468. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +29 -29
  469. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +25 -25
  470. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +27 -27
  471. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +41 -41
  472. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +25 -25
  473. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +31 -31
  474. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +25 -25
  475. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +33 -33
  476. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +29 -29
  477. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +27 -27
  478. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +25 -25
  479. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +29 -29
  480. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +37 -37
  481. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +33 -33
  482. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -31
  483. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +33 -37
  484. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +27 -27
  485. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -27
  486. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +29 -29
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +39 -39
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +31 -31
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +57 -57
  490. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +105 -105
  491. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +33 -33
  492. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +37 -37
  493. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +37 -37
  494. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +25 -25
  495. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +29 -29
  496. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +25 -25
  497. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +25 -25
  498. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +25 -25
  499. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +25 -25
  500. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +26 -26
  501. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +267 -0
  502. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +32 -32
  503. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
  504. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
  505. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
  506. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +25 -25
  507. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
  508. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
  509. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +49 -49
  510. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +25 -25
  511. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +35 -35
  512. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +31 -31
  513. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +39 -39
  514. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +31 -31
  515. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +43 -43
  516. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +25 -25
  517. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +25 -25
  518. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
  519. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  520. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
  521. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  522. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  523. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  524. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
  525. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
  526. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
  527. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  528. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -17
  529. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +13 -7
  530. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
  531. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
  532. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  533. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  534. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +8 -8
  535. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +9 -9
  536. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +9 -9
  537. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +8 -8
  538. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -11
  539. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +422 -0
  540. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -42
  541. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
  542. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +27 -27
  543. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
  544. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +23 -23
  545. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  546. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  547. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
  548. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
  549. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
  550. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
  551. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +10 -10
  552. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +190 -0
  553. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -13
  554. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  555. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  556. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  557. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
  558. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
  559. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
  560. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
  561. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +15 -15
  562. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -7
  563. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
  564. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
  565. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
  566. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -10
  567. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  568. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
  569. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  570. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
  571. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
  572. data/vendor/local/share/doc/groonga/ja/html/reference.html +71 -67
  573. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  574. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  575. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  576. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
  577. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  578. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  579. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  580. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +5 -5
  581. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  582. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  583. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  584. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  585. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  586. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  587. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
  588. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  589. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
  590. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  591. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  592. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  593. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  594. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  595. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  596. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  597. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  598. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
  599. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  600. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  601. data/vendor/local/share/groonga/html/admin/404.html +26 -2
  602. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  603. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +272 -213
  604. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  605. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  606. data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  607. data/vendor/local/share/groonga/html/admin/index.html +39 -5
  608. data/vendor/local/share/groonga/html/admin/scripts/oldieshim.572be7b4.js +2337 -0
  609. data/vendor/local/share/groonga/html/admin/scripts/scripts.a1c295fa.js +1749 -0
  610. data/vendor/local/share/groonga/html/admin/scripts/vendor.2c228d46.js +50748 -0
  611. data/vendor/local/share/groonga/html/admin/styles/main.d9de008c.css +12602 -0
  612. data/vendor/local/share/groonga/html/admin/styles/vendor.7f75f6e0.css +130 -0
  613. data/vendor/local/share/groonga/html/admin/views/columns/new.html +64 -1
  614. data/vendor/local/share/groonga/html/admin/views/columns/show.html +70 -1
  615. data/vendor/local/share/groonga/html/admin/views/tables/index.html +53 -1
  616. data/vendor/local/share/groonga/html/admin/views/tables/new.html +54 -2
  617. data/vendor/local/share/groonga/html/admin/views/tables/search.html +236 -1
  618. data/vendor/local/share/groonga/html/admin/views/tables/show.html +111 -1
  619. data/vendor/local/share/groonga/html/admin/views/top.html +20 -1
  620. data/vendor/local/share/license/groonga-admin/README.md +2 -2
  621. data/vendor/local/share/man/ja/man1/groonga.1 +955 -3334
  622. data/vendor/local/share/man/man1/groonga.1 +937 -3373
  623. metadata +78 -57
  624. data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
  625. data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +0 -1
  626. data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +0 -1
  627. data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +0 -13
  628. data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +0 -1
  629. data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +0 -10
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rroonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.9
4
+ version: 5.1.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-11-10 00:00:00.000000000 Z
15
+ date: 2016-01-18 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: pkg-config
@@ -209,8 +209,8 @@ email:
209
209
  - dara@shidara.net
210
210
  executables:
211
211
  - grntest-log-analyze
212
- - grndump
213
212
  - groonga-database-inspect
213
+ - grndump
214
214
  - groonga-index-dump
215
215
  extensions: []
216
216
  extra_rdoc_files:
@@ -243,7 +243,7 @@ files:
243
243
  - ext/groonga/rb-grn-array-cursor.c
244
244
  - ext/groonga/rb-grn-array.c
245
245
  - ext/groonga/rb-grn-column.c
246
- - ext/groonga/rb-grn-conf.c
246
+ - ext/groonga/rb-grn-config.c
247
247
  - ext/groonga/rb-grn-context.c
248
248
  - ext/groonga/rb-grn-database.c
249
249
  - ext/groonga/rb-grn-double-array-trie-cursor.c
@@ -298,6 +298,7 @@ files:
298
298
  - lib/2.0/groonga.so
299
299
  - lib/2.1/groonga.so
300
300
  - lib/2.2/groonga.so
301
+ - lib/2.3/groonga.so
301
302
  - lib/groonga.rb
302
303
  - lib/groonga/column.rb
303
304
  - lib/groonga/context.rb
@@ -330,7 +331,7 @@ files:
330
331
  - test/test-array.rb
331
332
  - test/test-column.rb
332
333
  - test/test-command-select.rb
333
- - test/test-conf.rb
334
+ - test/test-config.rb
334
335
  - test/test-context.rb
335
336
  - test/test-convert.rb
336
337
  - test/test-database-dumper.rb
@@ -353,6 +354,7 @@ files:
353
354
  - test/test-memory-pool.rb
354
355
  - test/test-normalizer.rb
355
356
  - test/test-operator.rb
357
+ - test/test-package-label.rb
356
358
  - test/test-pagination.rb
357
359
  - test/test-patricia-trie.rb
358
360
  - test/test-plugin.rb
@@ -427,6 +429,7 @@ files:
427
429
  - vendor/local/include/groonga/groonga/command.h
428
430
  - vendor/local/include/groonga/groonga/conf.h
429
431
  - vendor/local/include/groonga/groonga/expr.h
432
+ - vendor/local/include/groonga/groonga/file_reader.h
430
433
  - vendor/local/include/groonga/groonga/geo.h
431
434
  - vendor/local/include/groonga/groonga/groonga.h
432
435
  - vendor/local/include/groonga/groonga/ii.h
@@ -604,6 +607,7 @@ files:
604
607
  - vendor/local/lib/groonga/scripts/ruby/expression_rewriter.rb
605
608
  - vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb
606
609
  - vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb
610
+ - vendor/local/lib/groonga/scripts/ruby/id.rb
607
611
  - vendor/local/lib/groonga/scripts/ruby/index_column.rb
608
612
  - vendor/local/lib/groonga/scripts/ruby/index_cursor.rb
609
613
  - vendor/local/lib/groonga/scripts/ruby/index_info.rb
@@ -741,6 +745,7 @@ files:
741
745
  - vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt
742
746
  - vendor/local/share/doc/groonga/en/html/_sources/reference/command/command_version.txt
743
747
  - vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt
748
+ - vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt
744
749
  - vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt
745
750
  - vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt
746
751
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt
@@ -776,6 +781,7 @@ files:
776
781
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt
777
782
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt
778
783
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt
784
+ - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt
779
785
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt
780
786
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt
781
787
  - vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt
@@ -813,6 +819,7 @@ files:
813
819
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt
814
820
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt
815
821
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt
822
+ - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt
816
823
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt
817
824
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt
818
825
  - vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt
@@ -826,6 +833,7 @@ files:
826
833
  - vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt
827
834
  - vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt
828
835
  - vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
836
+ - vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt
829
837
  - vendor/local/share/doc/groonga/en/html/_sources/reference/output.txt
830
838
  - vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders.txt
831
839
  - vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt
@@ -976,6 +984,7 @@ files:
976
984
  - vendor/local/share/doc/groonga/en/html/reference/command.html
977
985
  - vendor/local/share/doc/groonga/en/html/reference/command/command_version.html
978
986
  - vendor/local/share/doc/groonga/en/html/reference/command/output_format.html
987
+ - vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html
979
988
  - vendor/local/share/doc/groonga/en/html/reference/command/request_id.html
980
989
  - vendor/local/share/doc/groonga/en/html/reference/command/return_code.html
981
990
  - vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html
@@ -1011,6 +1020,7 @@ files:
1011
1020
  - vendor/local/share/doc/groonga/en/html/reference/commands/quit.html
1012
1021
  - vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html
1013
1022
  - vendor/local/share/doc/groonga/en/html/reference/commands/register.html
1023
+ - vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html
1014
1024
  - vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html
1015
1025
  - vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html
1016
1026
  - vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html
@@ -1048,6 +1058,7 @@ files:
1048
1058
  - vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html
1049
1059
  - vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html
1050
1060
  - vendor/local/share/doc/groonga/en/html/reference/functions/now.html
1061
+ - vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html
1051
1062
  - vendor/local/share/doc/groonga/en/html/reference/functions/query.html
1052
1063
  - vendor/local/share/doc/groonga/en/html/reference/functions/rand.html
1053
1064
  - vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html
@@ -1061,6 +1072,7 @@ files:
1061
1072
  - vendor/local/share/doc/groonga/en/html/reference/normalizers.html
1062
1073
  - vendor/local/share/doc/groonga/en/html/reference/operations.html
1063
1074
  - vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html
1075
+ - vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html
1064
1076
  - vendor/local/share/doc/groonga/en/html/reference/output.html
1065
1077
  - vendor/local/share/doc/groonga/en/html/reference/query_expanders.html
1066
1078
  - vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html
@@ -1190,6 +1202,7 @@ files:
1190
1202
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt
1191
1203
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/command/command_version.txt
1192
1204
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt
1205
+ - vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt
1193
1206
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt
1194
1207
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt
1195
1208
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt
@@ -1225,6 +1238,7 @@ files:
1225
1238
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt
1226
1239
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt
1227
1240
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt
1241
+ - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt
1228
1242
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt
1229
1243
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt
1230
1244
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt
@@ -1262,6 +1276,7 @@ files:
1262
1276
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt
1263
1277
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt
1264
1278
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt
1279
+ - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt
1265
1280
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt
1266
1281
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt
1267
1282
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt
@@ -1275,6 +1290,7 @@ files:
1275
1290
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt
1276
1291
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt
1277
1292
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
1293
+ - vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt
1278
1294
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/output.txt
1279
1295
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders.txt
1280
1296
  - vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt
@@ -1425,6 +1441,7 @@ files:
1425
1441
  - vendor/local/share/doc/groonga/ja/html/reference/command.html
1426
1442
  - vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html
1427
1443
  - vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html
1444
+ - vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html
1428
1445
  - vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html
1429
1446
  - vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html
1430
1447
  - vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html
@@ -1460,6 +1477,7 @@ files:
1460
1477
  - vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html
1461
1478
  - vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html
1462
1479
  - vendor/local/share/doc/groonga/ja/html/reference/commands/register.html
1480
+ - vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html
1463
1481
  - vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html
1464
1482
  - vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html
1465
1483
  - vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html
@@ -1497,6 +1515,7 @@ files:
1497
1515
  - vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html
1498
1516
  - vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html
1499
1517
  - vendor/local/share/doc/groonga/ja/html/reference/functions/now.html
1518
+ - vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html
1500
1519
  - vendor/local/share/doc/groonga/ja/html/reference/functions/query.html
1501
1520
  - vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html
1502
1521
  - vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html
@@ -1510,6 +1529,7 @@ files:
1510
1529
  - vendor/local/share/doc/groonga/ja/html/reference/normalizers.html
1511
1530
  - vendor/local/share/doc/groonga/ja/html/reference/operations.html
1512
1531
  - vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html
1532
+ - vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html
1513
1533
  - vendor/local/share/doc/groonga/ja/html/reference/output.html
1514
1534
  - vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html
1515
1535
  - vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html
@@ -1621,16 +1641,16 @@ files:
1621
1641
  - vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
1622
1642
  - vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
1623
1643
  - vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
1644
+ - vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2
1624
1645
  - vendor/local/share/groonga/html/admin/favicon.ico
1625
1646
  - vendor/local/share/groonga/html/admin/favicon.png
1626
- - vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png
1627
1647
  - vendor/local/share/groonga/html/admin/index.html
1628
1648
  - vendor/local/share/groonga/html/admin/robots.txt
1629
- - vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js
1630
- - vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js
1631
- - vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js
1632
- - vendor/local/share/groonga/html/admin/styles/main.0390285b.css
1633
- - vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css
1649
+ - vendor/local/share/groonga/html/admin/scripts/oldieshim.572be7b4.js
1650
+ - vendor/local/share/groonga/html/admin/scripts/scripts.a1c295fa.js
1651
+ - vendor/local/share/groonga/html/admin/scripts/vendor.2c228d46.js
1652
+ - vendor/local/share/groonga/html/admin/styles/main.d9de008c.css
1653
+ - vendor/local/share/groonga/html/admin/styles/vendor.7f75f6e0.css
1634
1654
  - vendor/local/share/groonga/html/admin/views/columns/new.html
1635
1655
  - vendor/local/share/groonga/html/admin/views/columns/show.html
1636
1656
  - vendor/local/share/groonga/html/admin/views/tables/index.html
@@ -1753,70 +1773,71 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1753
1773
  version: '0'
1754
1774
  requirements: []
1755
1775
  rubyforge_project:
1756
- rubygems_version: 2.4.8
1776
+ rubygems_version: 2.5.1
1757
1777
  signing_key:
1758
1778
  specification_version: 4
1759
1779
  summary: Ruby bindings for Groonga that provide full text search and column store
1760
1780
  features.
1761
1781
  test_files:
1762
- - test/test-schema-create-table.rb
1763
- - test/test-type.rb
1764
- - test/test-table-select.rb
1765
- - test/test-variable-size-column.rb
1782
+ - test/test-context.rb
1783
+ - test/test-normalizer.rb
1784
+ - test/test-double-array-trie.rb
1766
1785
  - test/test-token-regexp.rb
1786
+ - test/test-remote.rb
1787
+ - test/test-expression.rb
1788
+ - test/test-schema-dumper.rb
1789
+ - test/test-patricia-trie.rb
1790
+ - test/test-table-group.rb
1791
+ - test/test-table-select.rb
1792
+ - test/test-encoding.rb
1767
1793
  - test/test-windows-event-logger.rb
1768
- - test/test-table-select-normalize.rb
1769
- - test/test-lock-timeout.rb
1770
- - test/test-conf.rb
1771
- - test/test-record.rb
1772
1794
  - test/test-plugin.rb
1795
+ - test/test-table-select-normalize.rb
1796
+ - test/test-hash.rb
1797
+ - test/test-gqtp.rb
1798
+ - test/test-table-dumper.rb
1799
+ - test/test-pagination.rb
1800
+ - test/test-column.rb
1801
+ - test/test-table-traverse.rb
1802
+ - test/test-type.rb
1803
+ - test/test-package-label.rb
1773
1804
  - test/groonga-test-utils.rb
1774
- - test/test-logger.rb
1805
+ - test/test-thread.rb
1806
+ - test/test-procedure.rb
1807
+ - test/test-query-logger.rb
1808
+ - test/test-index-column.rb
1809
+ - test/test-vector-column.rb
1810
+ - test/test-fix-size-column.rb
1775
1811
  - test/test-operator.rb
1776
- - test/test-snippet.rb
1777
- - test/test-memory-pool.rb
1778
- - test/test-command-select.rb
1779
- - test/test-expression-builder.rb
1780
1812
  - test/test-database-dumper.rb
1781
- - test/test-encoding.rb
1782
- - test/test-variable.rb
1783
- - test/test-context.rb
1784
1813
  - test/run-test.rb
1785
- - test/test-thread.rb
1786
1814
  - test/test-index-cursor.rb
1815
+ - test/test-schema-type.rb
1816
+ - test/test-database.rb
1817
+ - test/test-logger.rb
1818
+ - test/test-table.rb
1819
+ - test/test-record.rb
1820
+ - test/test-version.rb
1787
1821
  - test/test-table-select-mecab.rb
1788
- - test/test-double-array-trie.rb
1789
- - test/test-sub-records.rb
1790
- - test/test-table-offset-and-limit.rb
1822
+ - test/test-lock-timeout.rb
1791
1823
  - test/test-table-select-weight.rb
1824
+ - test/test-geo-point.rb
1825
+ - test/test-array.rb
1826
+ - test/test-sub-records.rb
1827
+ - test/test-schema-create-table.rb
1828
+ - test/test-schema.rb
1829
+ - test/test-command-select.rb
1830
+ - test/test-expression-builder.rb
1792
1831
  - test/test-convert.rb
1832
+ - test/test-memory-pool.rb
1793
1833
  - test/test-flushable.rb
1794
- - test/test-column.rb
1795
- - test/test-table.rb
1796
- - test/test-gqtp.rb
1797
- - test/test-query-logger.rb
1798
- - test/test-table-traverse.rb
1799
- - test/test-schema.rb
1800
- - test/test-version.rb
1834
+ - test/test-table-offset-and-limit.rb
1801
1835
  - test/test-exception.rb
1802
- - test/test-array.rb
1803
- - test/test-patricia-trie.rb
1804
- - test/test-schema-type.rb
1805
- - test/test-database.rb
1806
- - test/test-index-column.rb
1807
- - test/test-normalizer.rb
1808
- - test/test-vector-column.rb
1809
- - test/test-database-inspector.rb
1810
- - test/test-pagination.rb
1811
- - test/test-procedure.rb
1812
- - test/test-geo-point.rb
1813
- - test/test-table-group.rb
1836
+ - test/test-variable-size-column.rb
1837
+ - test/test-config.rb
1814
1838
  - test/test-table-key-support.rb
1839
+ - test/test-database-inspector.rb
1840
+ - test/test-variable.rb
1815
1841
  - test/test-statistic-measurer.rb
1816
- - test/test-fix-size-column.rb
1842
+ - test/test-snippet.rb
1817
1843
  - test/test-accessor.rb
1818
- - test/test-hash.rb
1819
- - test/test-expression.rb
1820
- - test/test-remote.rb
1821
- - test/test-schema-dumper.rb
1822
- - test/test-table-dumper.rb
@@ -1 +0,0 @@
1
- !function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.returnExports=b()}(this,function(){function a(){}function b(a){return a=+a,a!==a?a=0:0!==a&&a!==1/0&&a!==-(1/0)&&(a=(a>0||-1)*Math.floor(Math.abs(a))),a}function c(a){var b=typeof a;return null===a||"undefined"===b||"boolean"===b||"number"===b||"string"===b}function d(a){var b,d,e;if(c(a))return a;if(d=a.valueOf,l(d)&&(b=d.call(a),c(b)))return b;if(e=a.toString,l(e)&&(b=e.call(a),c(b)))return b;throw new TypeError}var e=Function.prototype.call,f=Array.prototype,g=Object.prototype,h=f.slice,i=Array.prototype.splice,j=Array.prototype.push,k=Array.prototype.unshift,l=function(a){return"[object Function]"===g.toString.call(a)},m=function(a){return"[object RegExp]"===g.toString.call(a)};Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(!l(c))throw new TypeError("Function.prototype.bind called on incompatible "+c);for(var d=h.call(arguments,1),e=function(){if(this instanceof j){var a=c.apply(this,d.concat(h.call(arguments)));return Object(a)===a?a:this}return c.apply(b,d.concat(h.call(arguments)))},f=Math.max(0,c.length-d.length),g=[],i=0;f>i;i++)g.push("$"+i);var j=Function("binder","return function("+g.join(",")+"){return binder.apply(this,arguments)}")(e);return c.prototype&&(a.prototype=c.prototype,j.prototype=new a,a.prototype=null),j});var n,o,p,q,r,s=e.bind(g.hasOwnProperty),t=e.bind(g.toString);(r=s(g,"__defineGetter__"))&&(n=e.bind(g.__defineGetter__),o=e.bind(g.__defineSetter__),p=e.bind(g.__lookupGetter__),q=e.bind(g.__lookupSetter__)),2!==[1,2].splice(0).length&&(Array.prototype.splice=function(){function a(a){for(var b=[];a--;)b.unshift(a);return b}var b,c=[];return c.splice.bind(c,0,0).apply(null,a(20)),c.splice.bind(c,0,0).apply(null,a(26)),b=c.length,c.splice(5,0,"XXX"),b+1===c.length?!0:void 0}()?function(a,b){return arguments.length?i.apply(this,[void 0===a?0:a,void 0===b?this.length-a:b].concat(h.call(arguments,2))):[]}:function(a,b){var c,d=h.call(arguments,2),e=d.length;if(!arguments.length)return[];if(void 0===a&&(a=0),void 0===b&&(b=this.length-a),e>0){if(0>=b){if(a===this.length)return j.apply(this,d),[];if(0===a)return k.apply(this,d),[]}return c=h.call(this,a,a+b),d.push.apply(d,h.call(this,a+b,this.length)),d.unshift.apply(d,h.call(this,0,a)),d.unshift(0,this.length),i.apply(this,d),c}return i.call(this,a,b)}),1!==[].unshift(0)&&(Array.prototype.unshift=function(){return k.apply(this,arguments),this.length}),Array.isArray||(Array.isArray=function(a){return"[object Array]"===t(a)});var u=Object("a"),v="a"!==u[0]||!(0 in u),w=function(a){var b=!0;return a&&a.call("foo",function(a,c,d){"object"!=typeof d&&(b=!1)}),!!a&&b};Array.prototype.forEach&&w(Array.prototype.forEach)||(Array.prototype.forEach=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=arguments[1],e=-1,f=c.length>>>0;if(!l(a))throw new TypeError;for(;++e<f;)e in c&&a.call(d,c[e],e,b)}),Array.prototype.map&&w(Array.prototype.map)||(Array.prototype.map=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=c.length>>>0,e=Array(d),f=arguments[1];if(!l(a))throw new TypeError(a+" is not a function");for(var g=0;d>g;g++)g in c&&(e[g]=a.call(f,c[g],g,b));return e}),Array.prototype.filter&&w(Array.prototype.filter)||(Array.prototype.filter=function(a){var b,c=S(this),d=v&&"[object String]"===t(this)?this.split(""):c,e=d.length>>>0,f=[],g=arguments[1];if(!l(a))throw new TypeError(a+" is not a function");for(var h=0;e>h;h++)h in d&&(b=d[h],a.call(g,b,h,c)&&f.push(b));return f}),Array.prototype.every&&w(Array.prototype.every)||(Array.prototype.every=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=c.length>>>0,e=arguments[1];if(!l(a))throw new TypeError(a+" is not a function");for(var f=0;d>f;f++)if(f in c&&!a.call(e,c[f],f,b))return!1;return!0}),Array.prototype.some&&w(Array.prototype.some)||(Array.prototype.some=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=c.length>>>0,e=arguments[1];if(!l(a))throw new TypeError(a+" is not a function");for(var f=0;d>f;f++)if(f in c&&a.call(e,c[f],f,b))return!0;return!1});var x=!1;if(Array.prototype.reduce&&(x="object"==typeof Array.prototype.reduce.call("a",function(a,b,c,d){return d})),Array.prototype.reduce&&x||(Array.prototype.reduce=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=c.length>>>0;if(!l(a))throw new TypeError(a+" is not a function");if(!d&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var e,f=0;if(arguments.length>=2)e=arguments[1];else for(;;){if(f in c){e=c[f++];break}if(++f>=d)throw new TypeError("reduce of empty array with no initial value")}for(;d>f;f++)f in c&&(e=a.call(void 0,e,c[f],f,b));return e}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(a){var b=S(this),c=v&&"[object String]"===t(this)?this.split(""):b,d=c.length>>>0;if(!l(a))throw new TypeError(a+" is not a function");if(!d&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var e,f=d-1;if(arguments.length>=2)e=arguments[1];else for(;;){if(f in c){e=c[f--];break}if(--f<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>f)return e;do f in this&&(e=a.call(void 0,e,c[f],f,b));while(f--);return e}),Array.prototype.indexOf&&-1===[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(a){var c=v&&"[object String]"===t(this)?this.split(""):S(this),d=c.length>>>0;if(!d)return-1;var e=0;for(arguments.length>1&&(e=b(arguments[1])),e=e>=0?e:Math.max(0,d+e);d>e;e++)if(e in c&&c[e]===a)return e;return-1}),Array.prototype.lastIndexOf&&-1===[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(a){var c=v&&"[object String]"===t(this)?this.split(""):S(this),d=c.length>>>0;if(!d)return-1;var e=d-1;for(arguments.length>1&&(e=Math.min(e,b(arguments[1]))),e=e>=0?e:d-Math.abs(e);e>=0;e--)if(e in c&&a===c[e])return e;return-1}),!Object.keys){var y=!{toString:null}.propertyIsEnumerable("toString"),z=function(){}.propertyIsEnumerable("prototype"),A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],B=A.length,C=function(a){var b=t(a),c="[object Arguments]"===b;return c||(c=!Array.isArray(b)&&null!==a&&"object"==typeof a&&"number"==typeof a.length&&a.length>=0&&l(a.callee)),c};Object.keys=function(a){var b=l(a),c=C(a),d=null!==a&&"object"==typeof a,e=d&&"[object String]"===t(a);if(!d&&!b&&!c)throw new TypeError("Object.keys called on a non-object");var f=[],g=z&&b;if(e||c)for(var h=0;h<a.length;++h)f.push(String(h));else for(var i in a)g&&"prototype"===i||!s(a,i)||f.push(String(i));if(y)for(var j=a.constructor,k=j&&j.prototype===a,m=0;B>m;m++){var n=A[m];k&&"constructor"===n||!s(a,n)||f.push(n)}return f}}var D=-621987552e5,E="-000001";Date.prototype.toISOString&&-1!==new Date(D).toISOString().indexOf(E)||(Date.prototype.toISOString=function(){var a,b,c,d,e;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(d=this.getUTCFullYear(),e=this.getUTCMonth(),d+=Math.floor(e/12),e=(e%12+12)%12,a=[e+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],d=(0>d?"-":d>9999?"+":"")+("00000"+Math.abs(d)).slice(d>=0&&9999>=d?-4:-6),b=a.length;b--;)c=a[b],10>c&&(a[b]="0"+c);return d+"-"+a.slice(0,2).join("-")+"T"+a.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"});var F=!1;try{F=Date.prototype.toJSON&&null===new Date(0/0).toJSON()&&-1!==new Date(D).toJSON().indexOf(E)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(G){}F||(Date.prototype.toJSON=function(){var a,b=Object(this),c=d(b);if("number"==typeof c&&!isFinite(c))return null;if(a=b.toISOString,"function"!=typeof a)throw new TypeError("toISOString property is not callable");return a.call(b)});var H=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),I=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z")),J=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));(!Date.parse||J||I||!H)&&(Date=function(a){function b(c,d,e,f,g,h,i){var j=arguments.length;if(this instanceof a){var k=1===j&&String(c)===c?new a(b.parse(c)):j>=7?new a(c,d,e,f,g,h,i):j>=6?new a(c,d,e,f,g,h):j>=5?new a(c,d,e,f,g):j>=4?new a(c,d,e,f):j>=3?new a(c,d,e):j>=2?new a(c,d):j>=1?new a(c):new a;return k.constructor=b,k}return a.apply(this,arguments)}function c(a,b){var c=b>1?1:0;return f[b]+Math.floor((a-1969+c)/4)-Math.floor((a-1901+c)/100)+Math.floor((a-1601+c)/400)+365*(a-1970)}function d(b){return Number(new a(1970,0,1,0,0,0,b))}var e=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),f=[0,31,59,90,120,151,181,212,243,273,304,334,365];for(var g in a)b[g]=a[g];return b.now=a.now,b.UTC=a.UTC,b.prototype=a.prototype,b.prototype.constructor=b,b.parse=function(b){var f=e.exec(b);if(f){var g,h=Number(f[1]),i=Number(f[2]||1)-1,j=Number(f[3]||1)-1,k=Number(f[4]||0),l=Number(f[5]||0),m=Number(f[6]||0),n=Math.floor(1e3*Number(f[7]||0)),o=Boolean(f[4]&&!f[8]),p="-"===f[9]?1:-1,q=Number(f[10]||0),r=Number(f[11]||0);return(l>0||m>0||n>0?24:25)>k&&60>l&&60>m&&1e3>n&&i>-1&&12>i&&24>q&&60>r&&j>-1&&j<c(h,i+1)-c(h,i)&&(g=60*(24*(c(h,i)+j)+k+q*p),g=1e3*(60*(g+l+r*p)+m)+n,o&&(g=d(g)),g>=-864e13&&864e13>=g)?g:0/0}return a.parse.apply(this,arguments)},b}(Date)),Date.now||(Date.now=function(){return(new Date).getTime()}),Number.prototype.toFixed&&"0.000"===8e-5.toFixed(3)&&"0"!==.9.toFixed(0)&&"1.25"===1.255.toFixed(2)&&"1000000000000000128"===0xde0b6b3a7640080.toFixed(0)||!function(){function a(a,b){for(var c=-1;++c<g;)b+=a*h[c],h[c]=b%f,b=Math.floor(b/f)}function b(a){for(var b=g,c=0;--b>=0;)c+=h[b],h[b]=Math.floor(c/a),c=c%a*f}function c(){for(var a=g,b="";--a>=0;)if(""!==b||0===a||0!==h[a]){var c=String(h[a]);""===b?b=c:b+="0000000".slice(0,7-c.length)+c}return b}function d(a,b,c){return 0===b?c:b%2===1?d(a,b-1,c*a):d(a*a,b/2,c)}function e(a){for(var b=0;a>=4096;)b+=12,a/=4096;for(;a>=2;)b+=1,a/=2;return b}var f,g,h;f=1e7,g=6,h=[0,0,0,0,0,0],Number.prototype.toFixed=function(f){var g,h,i,j,k,l,m,n;if(g=Number(f),g=g!==g?0:Math.floor(g),0>g||g>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(h=Number(this),h!==h)return"NaN";if(-1e21>=h||h>=1e21)return String(h);if(i="",0>h&&(i="-",h=-h),j="0",h>1e-21)if(k=e(h*d(2,69,1))-69,l=0>k?h*d(2,-k,1):h/d(2,k,1),l*=4503599627370496,k=52-k,k>0){for(a(0,l),m=g;m>=7;)a(1e7,0),m-=7;for(a(d(10,m,1),0),m=k-1;m>=23;)b(1<<23),m-=23;b(1<<m),a(1,1),b(2),j=c()}else a(0,l),a(1<<-k,0),j=c()+"0.00000000000000000000".slice(2,2+g);return g>0?(n=j.length,j=g>=n?i+"0.0000000000000000000".slice(0,g-n+2)+j:i+j.slice(0,n-g)+"."+j.slice(n-g)):j=i+j,j}}();var K=String.prototype.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var a=void 0===/()??/.exec("")[1];String.prototype.split=function(b,c){var d=this;if(void 0===b&&0===c)return[];if("[object RegExp]"!==Object.prototype.toString.call(b))return K.apply(this,arguments);var e,f,g,h,i=[],j=(b.ignoreCase?"i":"")+(b.multiline?"m":"")+(b.extended?"x":"")+(b.sticky?"y":""),k=0;for(b=new RegExp(b.source,j+"g"),d+="",a||(e=new RegExp("^"+b.source+"$(?!\\s)",j)),c=void 0===c?-1>>>0:c>>>0;(f=b.exec(d))&&(g=f.index+f[0].length,!(g>k&&(i.push(d.slice(k,f.index)),!a&&f.length>1&&f[0].replace(e,function(){for(var a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(f[a]=void 0)}),f.length>1&&f.index<d.length&&Array.prototype.push.apply(i,f.slice(1)),h=f[0].length,k=g,i.length>=c)));)b.lastIndex===f.index&&b.lastIndex++;return k===d.length?(h||!b.test(""))&&i.push(""):i.push(d.slice(k)),i.length>c?i.slice(0,c):i}}():"0".split(void 0,0).length&&(String.prototype.split=function(a,b){return void 0===a&&0===b?[]:K.apply(this,arguments)});var L=String.prototype.replace,M=function(){var a=[];return"x".replace(/x(.)?/g,function(b,c){a.push(c)}),1===a.length&&"undefined"==typeof a[0]}();if(M||(String.prototype.replace=function(a,b){var c=l(b),d=m(a)&&/\)[*?]/.test(a.source);if(c&&d){var e=function(c){var d=arguments.length,e=a.lastIndex;a.lastIndex=0;var f=a.exec(c);return a.lastIndex=e,f.push(arguments[d-2],arguments[d-1]),b.apply(this,f)};return L.call(this,a,e)}return L.apply(this,arguments)}),"".substr&&"b"!=="0b".substr(-1)){var N=String.prototype.substr;String.prototype.substr=function(a,b){return N.call(this,0>a&&(a=this.length+a)<0?0:a,b)}}var O=" \n \f\r   ᠎              \u2028\u2029",P="​";if(!String.prototype.trim||O.trim()||!P.trim()){O="["+O+"]";var Q=new RegExp("^"+O+O+"*"),R=new RegExp(O+O+"*$");String.prototype.trim=function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(Q,"").replace(R,"")}}(8!==parseInt(O+"08")||22!==parseInt(O+"0x16"))&&(parseInt=function(a){var b=/^0[xX]/;return function(c,d){return c=String(c).trim(),Number(d)||(d=b.test(c)?16:10),a(c,d)}}(parseInt));var S=function(a){if(null==a)throw new TypeError("can't convert "+a+" to object");return Object(a)}}),function(){function a(b,d){function f(a){if(f[a]!==q)return f[a];var b;if("bug-string-char-index"==a)b="a"!="a"[0];else if("json"==a)b=f("json-stringify")&&f("json-parse");else{var c,e='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==a){var i=d.stringify,k="function"==typeof i&&t;if(k){(c=function(){return 1}).toJSON=c;try{k="0"===i(0)&&"0"===i(new g)&&'""'==i(new h)&&i(s)===q&&i(q)===q&&i()===q&&"1"===i(c)&&"[1]"==i([c])&&"[null]"==i([q])&&"null"==i(null)&&"[null,null,null]"==i([q,s,null])&&i({a:[c,!0,!1,null,"\x00\b\n\f\r "]})==e&&"1"===i(null,c)&&"[\n 1,\n 2\n]"==i([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==i(new j(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==i(new j(864e13))&&'"-000001-01-01T00:00:00.000Z"'==i(new j(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==i(new j(-1))}catch(l){k=!1}}b=k}if("json-parse"==a){var m=d.parse;if("function"==typeof m)try{if(0===m("0")&&!m(!1)){c=m(e);var n=5==c.a.length&&1===c.a[0];if(n){try{n=!m('" "')}catch(l){}if(n)try{n=1!==m("01")}catch(l){}if(n)try{n=1!==m("1.")}catch(l){}}}}catch(l){n=!1}b=n}}return f[a]=!!b}b||(b=e.Object()),d||(d=e.Object());var g=b.Number||e.Number,h=b.String||e.String,i=b.Object||e.Object,j=b.Date||e.Date,k=b.SyntaxError||e.SyntaxError,l=b.TypeError||e.TypeError,m=b.Math||e.Math,n=b.JSON||e.JSON;"object"==typeof n&&n&&(d.stringify=n.stringify,d.parse=n.parse);var o,p,q,r=i.prototype,s=r.toString,t=new j(-0xc782b5b800cec);try{t=-109252==t.getUTCFullYear()&&0===t.getUTCMonth()&&1===t.getUTCDate()&&10==t.getUTCHours()&&37==t.getUTCMinutes()&&6==t.getUTCSeconds()&&708==t.getUTCMilliseconds()}catch(u){}if(!f("json")){var v="[object Function]",w="[object Date]",x="[object Number]",y="[object String]",z="[object Array]",A="[object Boolean]",B=f("bug-string-char-index");if(!t)var C=m.floor,D=[0,31,59,90,120,151,181,212,243,273,304,334],E=function(a,b){return D[b]+365*(a-1970)+C((a-1969+(b=+(b>1)))/4)-C((a-1901+b)/100)+C((a-1601+b)/400)};if((o=r.hasOwnProperty)||(o=function(a){var b,c={};return(c.__proto__=null,c.__proto__={toString:1},c).toString!=s?o=function(a){var b=this.__proto__,c=a in(this.__proto__=null,this);return this.__proto__=b,c}:(b=c.constructor,o=function(a){var c=(this.constructor||b).prototype;return a in this&&!(a in c&&this[a]===c[a])}),c=null,o.call(this,a)}),p=function(a,b){var d,e,f,g=0;(d=function(){this.valueOf=0}).prototype.valueOf=0,e=new d;for(f in e)o.call(e,f)&&g++;return d=e=null,g?p=2==g?function(a,b){var c,d={},e=s.call(a)==v;for(c in a)e&&"prototype"==c||o.call(d,c)||!(d[c]=1)||!o.call(a,c)||b(c)}:function(a,b){var c,d,e=s.call(a)==v;for(c in a)e&&"prototype"==c||!o.call(a,c)||(d="constructor"===c)||b(c);(d||o.call(a,c="constructor"))&&b(c)}:(e=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],p=function(a,b){var d,f,g=s.call(a)==v,h=!g&&"function"!=typeof a.constructor&&c[typeof a.hasOwnProperty]&&a.hasOwnProperty||o;for(d in a)g&&"prototype"==d||!h.call(a,d)||b(d);for(f=e.length;d=e[--f];h.call(a,d)&&b(d));}),p(a,b)},!f("json-stringify")){var F={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},G="000000",H=function(a,b){return(G+(b||0)).slice(-a)},I="\\u00",J=function(a){for(var b='"',c=0,d=a.length,e=!B||d>10,f=e&&(B?a.split(""):a);d>c;c++){var g=a.charCodeAt(c);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:b+=F[g];break;default:if(32>g){b+=I+H(2,g.toString(16));break}b+=e?f[c]:a.charAt(c)}}return b+'"'},K=function(a,b,c,d,e,f,g){var h,i,j,k,m,n,r,t,u,v,B,D,F,G,I,L;try{h=b[a]}catch(M){}if("object"==typeof h&&h)if(i=s.call(h),i!=w||o.call(h,"toJSON"))"function"==typeof h.toJSON&&(i!=x&&i!=y&&i!=z||o.call(h,"toJSON"))&&(h=h.toJSON(a));else if(h>-1/0&&1/0>h){if(E){for(m=C(h/864e5),j=C(m/365.2425)+1970-1;E(j+1,0)<=m;j++);for(k=C((m-E(j,0))/30.42);E(j,k+1)<=m;k++);m=1+m-E(j,k),n=(h%864e5+864e5)%864e5,r=C(n/36e5)%24,t=C(n/6e4)%60,u=C(n/1e3)%60,v=n%1e3}else j=h.getUTCFullYear(),k=h.getUTCMonth(),m=h.getUTCDate(),r=h.getUTCHours(),t=h.getUTCMinutes(),u=h.getUTCSeconds(),v=h.getUTCMilliseconds();h=(0>=j||j>=1e4?(0>j?"-":"+")+H(6,0>j?-j:j):H(4,j))+"-"+H(2,k+1)+"-"+H(2,m)+"T"+H(2,r)+":"+H(2,t)+":"+H(2,u)+"."+H(3,v)+"Z"}else h=null;if(c&&(h=c.call(b,a,h)),null===h)return"null";if(i=s.call(h),i==A)return""+h;if(i==x)return h>-1/0&&1/0>h?""+h:"null";if(i==y)return J(""+h);if("object"==typeof h){for(G=g.length;G--;)if(g[G]===h)throw l();if(g.push(h),B=[],I=f,f+=e,i==z){for(F=0,G=h.length;G>F;F++)D=K(F,h,c,d,e,f,g),B.push(D===q?"null":D);L=B.length?e?"[\n"+f+B.join(",\n"+f)+"\n"+I+"]":"["+B.join(",")+"]":"[]"}else p(d||h,function(a){var b=K(a,h,c,d,e,f,g);b!==q&&B.push(J(a)+":"+(e?" ":"")+b)}),L=B.length?e?"{\n"+f+B.join(",\n"+f)+"\n"+I+"}":"{"+B.join(",")+"}":"{}";return g.pop(),L}};d.stringify=function(a,b,d){var e,f,g,h;if(c[typeof b]&&b)if((h=s.call(b))==v)f=b;else if(h==z){g={};for(var i,j=0,k=b.length;k>j;i=b[j++],h=s.call(i),(h==y||h==x)&&(g[i]=1));}if(d)if((h=s.call(d))==x){if((d-=d%1)>0)for(e="",d>10&&(d=10);e.length<d;e+=" ");}else h==y&&(e=d.length<=10?d:d.slice(0,10));return K("",(i={},i[""]=a,i),f,g,e,"",[])}}if(!f("json-parse")){var L,M,N=h.fromCharCode,O={92:"\\",34:'"',47:"/",98:"\b",116:" ",110:"\n",102:"\f",114:"\r"},P=function(){throw L=M=null,k()},Q=function(){for(var a,b,c,d,e,f=M,g=f.length;g>L;)switch(e=f.charCodeAt(L)){case 9:case 10:case 13:case 32:L++;break;case 123:case 125:case 91:case 93:case 58:case 44:return a=B?f.charAt(L):f[L],L++,a;case 34:for(a="@",L++;g>L;)if(e=f.charCodeAt(L),32>e)P();else if(92==e)switch(e=f.charCodeAt(++L)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:a+=O[e],L++;break;case 117:for(b=++L,c=L+4;c>L;L++)e=f.charCodeAt(L),e>=48&&57>=e||e>=97&&102>=e||e>=65&&70>=e||P();a+=N("0x"+f.slice(b,L));break;default:P()}else{if(34==e)break;for(e=f.charCodeAt(L),b=L;e>=32&&92!=e&&34!=e;)e=f.charCodeAt(++L);a+=f.slice(b,L)}if(34==f.charCodeAt(L))return L++,a;P();default:if(b=L,45==e&&(d=!0,e=f.charCodeAt(++L)),e>=48&&57>=e){for(48==e&&(e=f.charCodeAt(L+1),e>=48&&57>=e)&&P(),d=!1;g>L&&(e=f.charCodeAt(L),e>=48&&57>=e);L++);if(46==f.charCodeAt(L)){for(c=++L;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==L&&P(),L=c}if(e=f.charCodeAt(L),101==e||69==e){for(e=f.charCodeAt(++L),(43==e||45==e)&&L++,c=L;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==L&&P(),L=c}return+f.slice(b,L)}if(d&&P(),"true"==f.slice(L,L+4))return L+=4,!0;if("false"==f.slice(L,L+5))return L+=5,!1;if("null"==f.slice(L,L+4))return L+=4,null;P()}return"$"},R=function(a){var b,c;if("$"==a&&P(),"string"==typeof a){if("@"==(B?a.charAt(0):a[0]))return a.slice(1);if("["==a){for(b=[];a=Q(),"]"!=a;c||(c=!0))c&&(","==a?(a=Q(),"]"==a&&P()):P()),","==a&&P(),b.push(R(a));return b}if("{"==a){for(b={};a=Q(),"}"!=a;c||(c=!0))c&&(","==a?(a=Q(),"}"==a&&P()):P()),(","==a||"string"!=typeof a||"@"!=(B?a.charAt(0):a[0])||":"!=Q())&&P(),b[a.slice(1)]=R(Q());return b}P()}return a},S=function(a,b,c){var d=T(a,b,c);d===q?delete a[b]:a[b]=d},T=function(a,b,c){var d,e=a[b];if("object"==typeof e&&e)if(s.call(e)==z)for(d=e.length;d--;)S(e,d,c);else p(e,function(a){S(e,a,c)});return c.call(a,b,e)};d.parse=function(a,b){var c,d;return L=0,M=""+a,c=R(Q()),"$"!=Q()&&P(),L=M=null,b&&s.call(b)==v?T((d={},d[""]=c,d),"",b):c}}}return d.runInContext=a,d}var b="function"==typeof define&&define.amd,c={"function":!0,object:!0},d=c[typeof exports]&&exports&&!exports.nodeType&&exports,e=c[typeof window]&&window||this,f=d&&c[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!f||f.global!==f&&f.window!==f&&f.self!==f||(e=f),d&&!b)a(e,d);else{var g=e.JSON,h=e.JSON3,i=!1,j=a(e,e.JSON3={noConflict:function(){return i||(i=!0,e.JSON=g,e.JSON3=h,g=h=null),j}});e.JSON={parse:j.parse,stringify:j.stringify}}b&&define(function(){return j})}.call(this);
@@ -1 +0,0 @@
1
- "use strict";!function(){function a(a){this._$http=a,this._pathPrefix="/d/"}window.GroongaClient=a,a.prototype.execute=function(b,c){var d={callback:"JSON_CALLBACK"};for(var e in c){var f=c[e].toString();0!==f.length&&(d[e]=f)}var g=this._$http.jsonp(this._pathPrefix+b+".json",{params:d}),h=new a.Request(g,b,d);return h},a.Request=function(a,b,c){this._rawRequest=a,this._name=b,this._parameters=c},a.Request.prototype.success=function(b){var c=this._name;return this._rawRequest.then(function(d){var e=a.Response.find(c),f=new e(d.data);return b(f,d)})},a.Request.prototype.error=function(b){return this._rawRequest.then(null,function(c){var d=a.Response.find(name),e=new d(c.data);return b(e,c)})},a.Request.prototype.commandLine=function(){function a(a){return a.toString().replace(/(["\\])/g,function(a){return"\\"+a})}var b=[this._name];for(var c in this._parameters)if("callback"!==c){var d=this._parameters[c];b.push("--"+c),b.push('"'+a(d)+'"')}return b.join(" ")}}(),GroongaClient.Response={},GroongaClient.Response.find=function(a){var b=a.replace(/(^.|_.)/g,function(a){return 1===a.length?a.toUpperCase():a[1].toUpperCase()});return this[b]||this.Base},function(){function a(a){this._rawData=a}GroongaClient.Response.Base=a,a.prototype.rawData=function(){return this._rawData},a.prototype.header=function(){return this._rawData[0]},a.prototype.status=function(){return this.header()[0]},a.prototype.isSuccess=function(){return 0===this.status()},a.prototype.startTime=function(){var a=new Date;return a.setTime(this.header()[1]),a},a.prototype.elapsedTime=function(){return this.header()[2]},a.prototype.errorMessage=function(){return this.header()[3]},a.prototype.body=function(){return this._rawData[1]}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.Select=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.nTotalRecords=function(){return this.body()[0][0][0]},a.prototype.columns=function(){return this.body()[0][1].map(function(a){return{name:a[0],type:a[1]}})},a.prototype.records=function(){return this.body()[0].slice(2)},a.prototype.drilldowns=function(){return this.body().slice(1).map(function(a){var b=a[1].map(function(a){return{name:a[0],type:a[1]}});return{nTotalRecords:a[0][0],columns:b,records:a.slice(2).map(function(a){var c={};return b.forEach(function(b,d){c[b.name]=a[d]}),c})}})}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.TableList=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.parameters=function(){return this.body()[0].map(function(a){return{name:a[0],type:a[1]}})},a.prototype.tables=function(){var a=this.parameters();return this.body().slice(1).map(function(b){var c={properties:{},rawProperties:b};return a.forEach(function(a,d){var e=a.name,f=b[d];switch(e){case"flags":f=f.split("|");break;case"default_tokenizer":e="tokenizer";break;case"token_filters":e="tokenFilters"}c[e]=c.properties[e]=f}),c.isArray=-1!=c.flags.indexOf("TABLE_NO_KEY"),c.isHashTable=-1!=c.flags.indexOf("TABLE_HASH_KEY"),c.isPatriciaTrie=-1!=c.flags.indexOf("TABLE_PAT_KEY"),c.isDoubleArrayTrie=-1!=c.flags.indexOf("TABLE_DAT_KEY"),c.hasKey=!c.isArray,c.type=c.isArray?"array":c.isHashTable?"hash table":c.isPatriciaTrie?"patricia trie":c.isDoubleArrayTrie?"double array trie":"unknown",c})}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.TableCreate=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.isCreated=function(){return this.isSuccess()&&this.body()}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.TableRemove=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.isRemoved=function(){return this.isSuccess()&&this.body()}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.ColumnList=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.parameters=function(){return this.body()[0].map(function(a){return{name:a[0],type:a[1]}})},a.prototype.columns=function(){return this.body().slice(1).map(function(a){return this.parseRawColumn(a)},this)},a.prototype.parseRawColumn=function(a){var b=this.parameters(),c={properties:{},rawProperties:a};return b.forEach(function(b,d){var e=b.name,f=a[d];switch(b.name){case"type":e="sizeType";break;case"flags":f=f.split("|");break;case"source":e="sources"}c[e]=c.properties[e]=f}),c.isScalar=-1!=c.flags.indexOf("COLUMN_SCALAR"),c.isVector=-1!=c.flags.indexOf("COLUMN_VECTOR"),c.isIndex=-1!=c.flags.indexOf("COLUMN_INDEX"),c.type=c.isScalar?"scalar":c.isVector?"vector":c.isIndex?"index":"unknown",c}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.ColumnCreate=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.isCreated=function(){return this.isSuccess()&&this.body()}}(),function(){function a(a){GroongaClient.Response.Base.call(this,a)}GroongaClient.Response.ColumnRemove=a,a.prototype=Object.create(GroongaClient.Response.Base.prototype),a.prototype.constructor=a,a.prototype.isRemoved=function(){return this.isSuccess()&&this.body()}}(),function(a){function b(a){this.label=a.label,this.baseTimeInMilliseconds=a.baseTimeInMilliseconds,this.getBaseDate=a.getBaseDate}a.TimeUnit=b,b.units={},b.register=function(a,c){b.units[a]=c},b.getOrderedUnits=function(){var a=[];for(var c in b.units)a.push(b.units[c]);return a.sort(function(a,b){return a.baseTimeInMilliseconds-b.baseTimeInMilliseconds}),a},b.findByDateRange=function(a,c){var d=b.getOrderedUnits();if(!a&&!c)return d[0];for(var e,f=0;f<d.length;f++){var g=d[f];if(!(a&&!g.dateIncluded(a)||c&&!g.dateIncluded(c))){e=g;break}}return e||(e=d[d.length-1]),e},b.prototype.dateIncluded=function(a){var b=this.getBaseDate(),c=b.getTime(),d=a.getTime();return d>=c&&d<=c*this.baseTimeInMilliseconds},b.prototype.percentToDate=function(a){var b,c=this.getBaseDate();return b=new Date,b.setTime(c.getTime()+this.baseTimeInMilliseconds*a),b},b.prototype.dateToPercent=function(a){var b=a.getTime()-this.getBaseDate().getTime();return b/this.baseTimeInMilliseconds},b.register("hour",new b({label:"Hour",baseTimeInMilliseconds:36e5,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes()-30)}})),b.register("day",new b({label:"Day",baseTimeInMilliseconds:864e5,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours()-12)}})),b.register("week",new b({label:"Week",baseTimeInMilliseconds:6048e5,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate()-3,a.getHours()-12)}})),b.register("month",new b({label:"Month",baseTimeInMilliseconds:2592e6,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate()-15)}})),b.register("year",new b({label:"Year",baseTimeInMilliseconds:31536e6,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth()-6)}})),b.register("decade",new b({label:"Decade",baseTimeInMilliseconds:31536e7,getBaseDate:function(){var a=new Date;return new Date(a.getFullYear()-5)}}))}(window),angular.module("groongaAdminApp",["ngAnimate","ngCookies","ngResource","ngRoute","ngSanitize","ngTouch","ui.bootstrap","ui.bootstrap-slider"]).config(["$routeProvider",function(a){a.when("/",{templateUrl:"views/top.html",controller:"TopController"}).when("/tables/",{templateUrl:"views/tables/index.html",controller:"TableIndexController"}).when("/tables/_new",{templateUrl:"views/tables/new.html",controller:"TableNewController"}).when("/tables/:table/",{templateUrl:"views/tables/show.html",controller:"TableShowController"}).when("/tables/:table/search",{templateUrl:"views/tables/search.html",controller:"TableSearchController"}).when("/tables/:table/columns/_new",{templateUrl:"views/columns/new.html",controller:"ColumnNewController"}).when("/tables/:table/columns/:column",{templateUrl:"views/columns/show.html",controller:"ColumnShowController"}).otherwise({redirectTo:"/"})}]),angular.module("groongaAdminApp").factory("schemaLoader",["$q","$http","$timeout",function(a,b,c){function d(){var a={};return e(a),a}function e(a){var b=[{name:"Bool"},{name:"Int8"},{name:"UInt8"},{name:"Int16"},{name:"UInt16"},{name:"Int32"},{name:"UInt32"},{name:"Int64"},{name:"UInt64"},{name:"Float"},{name:"Time"},{name:"ShortText"},{name:"Text"},{name:"LongText"},{name:"TokyoGeoPoint"},{name:"WGS84GeoPoint"}];a.types={},angular.forEach(b,function(b){a.types[b.name]=b})}function f(a){switch(a){case"ShortText":case"Text":case"LongText":return!0;default:return!1}}function g(a,b){return b in a.tables}function h(a){a.keyType={name:a.domain,isTextType:f(a.domain)}}function i(a){angular.forEach(a.tables,function(a){h(a)})}function j(a,b){b.valueType={name:b.range,isTextType:f(b.range),isReferenceType:g(a,b.range)}}function k(a){angular.forEach(a.tables,function(b){angular.forEach(b.columns,function(b){j(a,b)})})}function l(a,b){var c=a.tables[b.range];b.sources.forEach(function(a){var d;d=-1===a.indexOf(".")?"_key":a.split(".")[1];var e=c.columns[d];e.indexes.push(b)})}function m(a){angular.forEach(a.tables,function(b){angular.forEach(b.columns,function(b){b.isIndex&&l(a,b)})})}function n(a,b){b.table=a,b.indexes=[],a.columns[b.name]=b}function o(a){return a.columns={},u.execute("column_list",{table:a.name}).success(function(b){var c=b.columns(),d=[a.id,"_id",a.path,"fix","COLUMN_SCALAR|PERSISTENT",a.name,"UInt32",[]];c.unshift(b.parseRawColumn(d)),c.forEach(function(b){n(a,b)})})}function p(b){return b.tables={},u.execute("table_list").success(function(c){c.tables().forEach(function(a){b.tables[a.name]=a}),i(b);var d=[];return angular.forEach(b.tables,function(a){d.push(o(a))}),a.all(d).then(function(){return k(b),m(b),t=!0,r=!1,s.forEach(function(a){a.resolve(b)}),s=[],b})})}var q,r=!1,s=[],t=!1,u=new GroongaClient(b);return q=d(),function(){var b,e;return r?(b=a.defer(),s.push(b),e=b.promise):t?(b=a.defer(),c(function(){b.resolve(q)}),e=b.promise):(r=!0,e=p(q)),e.reload=function(){r=!1,t=!1,q=d()},e}}]),angular.module("groongaAdminApp").controller("TopController",["$scope","schemaLoader",function(a,b){a.tables=[],b().then(function(b){angular.forEach(b.tables,function(b){a.tables.push(b)})})}]),angular.module("groongaAdminApp").controller("TableIndexController",["$scope","schemaLoader",function(a,b){function c(){a.tables=[]}var d;c(),b().then(function(b){d=b;var c=[];angular.forEach(d.tables,function(a){c.push(a)}),a.tables=c.sort(function(a,b){return a.name>b.name?1:-1})})}]),angular.module("groongaAdminApp").controller("TableShowController",["$scope","$routeParams","$http","$location","schemaLoader",function(a,b,c,d,e){function f(){a.table={name:b.table,columns:[]},a.remove=g}function g(){if(window.confirm("Really remove the table?")){var b=i.execute("table_remove",{name:a.table.name});b.success(function(b){if(console.log(b),b.isRemoved())e().reload(),d.url("/tables/");else{var c=b.errorMessage();a.message="Failed to remove the table: "+c}})}}var h,i=new GroongaClient(c);f(),e().then(function(b){h=b;var c=h.tables[a.table.name];angular.extend(a.table,c);var d=[];angular.forEach(c.columns,function(a){d.push(a)}),a.table.columns=d.sort(function(a,b){return a.name>b.name?1:-1})})}]),angular.module("groongaAdminApp").controller("TableNewController",["$scope","$http","$location","schemaLoader",function(a,b,c,d){function e(){a.availableTypes={array:{label:"Array",flag:"TABLE_NO_KEY"},hashTable:{label:"Hash table",flag:"TABLE_HASH_KEY"},patriciaTrie:{label:"Patricia trie",flag:"TABLE_PAT_KEY"},doubleArrayTrie:{label:"Double array trie",flag:"TABLE_DAT_KEY"}},a.parameters={type:a.availableTypes.array},a.tables={},a.submit=f}function f(){var b={name:a.parameters.name,flags:[a.parameters.type.flag].join("|")},e=h.execute("table_create",b);e.success(function(e){if(e.isCreated())d().reload(),c.url("/tables/"+b.name);else{var f=e.errorMessage();a.message="Failed to create the table: "+f}})}var g,h=new GroongaClient(b);e(),d().then(function(b){g=b,a.tables=g.tables})}]),angular.module("groongaAdminApp").controller("TableSearchController",["$scope","$routeParams","$location","$http","$filter","schemaLoader",function(a,b,c,d,e,f){function g(a,b){var c,d;for(d=a.length,c=0;d>c;c++){var e=a[c];if(b(e))return e}return void 0}function h(b){return Math.ceil((parseInt(b)+1)/a.nRecordsInPage)}function i(){a.orderedTimeColumnUnits=TimeUnit.getOrderedUnits(),a.table={name:b.table,allColumns:[],timeColumns:[],indexedColumns:[]},a.style="table",a.response={rawData:[],columns:[],records:[],drilldowns:[],elapsedTimeInMilliseconds:0,nTotalRecords:0},a.commandLine="",a.message="",a.parameters=angular.copy(c.search()),a.nRecordsInPage=a.parameters.limit&&a.parameters.limit>0?a.parameters.limit:10,a.currentPage=h(a.parameters.offset||0),a.maxNPages=10,a.search=s,a.incrementalSearch=t,a.clear=u,a.toggleSort=w,a.selectDrilldown=x}function j(a){var b=a.map(function(a){return a.name});return b.join(",")}function k(a){var b=a.map(function(a){return a.indexName});return b.join(",")}function l(a){var b=a.map(function(a){return"ascending"===a.sort?a.name:"-"+a.name});return b.join(",")}function m(a){return'"'+e("date")(a,"yyyy-MM-dd HH:mm:ss.sss")+'"'}function n(a){return new Date("number"==typeof a?1e3*a:a.replace(/ /,"T"))}function o(a){return a?'"include"':'"exclude"'}function p(a){return"include"===a}function q(){a.table.timeColumns.forEach(function(a){a.syncFromRange()});var b=a.table.timeColumns.filter(function(a){return a.start||a.end}).map(function(a){var b,c;return a.start&&a.end?"between("+a.name+", "+m(a.start)+", "+o(a.startIncluded)+", "+m(a.end)+", "+o(a.endIncluded)+")":a.start?(b=a.startIncluded?">=":">",c=m(a.start),a.name+" "+b+" "+c):(b=a.endIncluded?"<=":"<",c=m(a.end),a.name+" "+b+" "+c)});return b.join(" && ")}function r(){var b=angular.copy(a.parameters),c=a.table.indexedColumns.filter(function(a){return a.inUse});b.match_columns=k(c);var d=a.table.allColumns.filter(function(a){return a.output});b.output_columns=j(d),b.offset=(a.currentPage-1)*a.nRecordsInPage,b.limit=a.nRecordsInPage;var e=a.table.allColumns.filter(function(a){return a.sort});b.sortby=l(e);var f=a.table.allColumns.filter(function(a){return a.drilldown});return b.drilldown=j(f),b.drilldown_sortby="-_nsubrecs",b.filter=q(),b}function s(){c.search(r())}function t(){D(r())}function u(){c.search({})}function v(a,b){switch(b){case"ascending":a.iconClass="glyphicon-sort-by-attributes";break;case"descending":a.iconClass="glyphicon-sort-by-attributes-alt";break;default:a.iconClass="glyphicon-sort"}}function w(b){var c=g(a.table.allColumns,function(a){return a.name===b.name});if(c){var d;switch(c.sort){case"ascending":d="descending";break;case"descending":d=null;break;default:d="ascending"}c.sort=d,v(b,c.sort),t()}}function x(b,c){var d=b,e=g(a.table.allColumns,function(a){return a.name===b});e&&e.valueType.isReferenceType&&(d+="._key");var f;f="string"==typeof c?'"'+c.replace('"','\\"')+'"':c.toString();var h=a.parameters.query||"";h.length>0&&(h+=" "),a.parameters.query=h+d+":"+f;var i=(a.parameters.drilldown||"").split(/\s*,\s*/);i=i.filter(function(a){return a!==b}),a.parameters.drilldown=i.join(","),s()}function y(b){var c=b.name,d=!0,e=a.parameters.output_columns;e&&(e=e.split(/\s*,\s*/),d=-1!==e.indexOf(c));var f=!1,g=a.parameters.drilldown;g&&(g=g.split(/\s*,\s*/),f=-1!==g.indexOf(c));var h=null,i=(a.parameters.sortby||"").split(/\s*,\s*/);return-1!==i.indexOf(b.name)?h="ascending":-1!==i.indexOf("-"+b.name)&&(h="descending"),{name:c,type:b.range,output:d,drilldown:f,sort:h,indexes:b.indexes||[],valueType:b.valueType}}function z(b){if("Time"===b.type){var c={name:b.name,start:null,startIncluded:!0,end:null,endIncluded:!0,unit:TimeUnit.units.day,range:[0,0],syncFromRange:function(){(0!==this.range[0]||0!==this.range[1])&&(this.start=this.unit.percentToDate(this.range[0]/100),this.end=this.unit.percentToDate(this.range[1]/100))},syncToRange:function(){this.unit=TimeUnit.findByDateRange(this.start,this.end),this.updateRangeByDateRange(this.start,this.end)},updateRangeByDateRange:function(a,b){this.range=a&&b?[100*this.unit.dateToPercent(a),100*this.unit.dateToPercent(b)]:a?[100*this.unit.dateToPercent(a),100]:b?[0,100*this.unit.dateToPercent(b)]:[0,0]},formater:function(a){var b=c.unit.percentToDate(a/100);return b.toLocaleString()},onRangeChange:function(){c.syncFromRange(),t()},onUnitChange:function(){c.updateRangeByDateRange(c.start,c.end)}};a.table.timeColumns.push(c)}}function A(b){if(0!==b.indexes.length){var c=!1;if(b.valueType.isReferenceType){var d=E.tables[b.valueType.name];c=d.keyType.isTextType}else c=b.valueType.isTextType;if(c){var e=a.parameters.match_columns,f=b.name;b.valueType.isReferenceType&&(f+="._key");var g=!0;e&&(g=-1!==e.indexOf(f));var h={name:b.name,indexName:f,inUse:g};a.table.indexedColumns.push(h)}}}function B(b){a.table.allColumns.push(b),z(b),A(b)}function C(){var b=a.parameters.filter||"",c=b.split(/\s*(\|\||&&)\s*/);c.forEach(function(b){var c,d,e,f,h;if(/^between\(/.test(b)){c=b.split(/\s*[(,)]\s*/).map(function(a){var b=a.match(/^"(.*)"$/);return b?b[1]:(b=a.match(/^\d+$/))?parseInt(a):(b=a.match(/^\d+\.\d+$/),b?parseFloat(a):a)}),d=c[1];var i=c[2],j=c[3],k=c[4],l=c[5];if(h=g(a.table.timeColumns,function(a){return a.name===d}),!h)return;h.start=n(i),h.startBorder=p(j),h.end=n(k),h.endBorder=p(l),h.syncToRange()}else if(/(<=|<|>|=>)/.test(b)){if(c=b.split(/(<=|<|>|=>)/),d=c[0],e=c[1],f=c[2],h=g(a.table.timeColumns,function(a){return a.name===d}),!h)return;switch(e){case"<=":h.end=n(f),h.endBorder="include";break;case"<":h.end=n(f),h.endBorder="exclude";break;case">":h.start=n(f),h.startBorder="exclude";break;case">=":h.start=n(f),h.startBorder="include"}h.syncToRange()}})}function D(b){var c={table:a.table.name};angular.forEach(b,function(a,b){b in c||(c[b]=a)});var d=F.execute("select",c);d.success(function(b){return a.message="",a.response.rawData=b.rawData(),a.commandLine=d.commandLine(),a.response.elapsedTimeInMilliseconds=1e3*b.elapsedTime(),b.isSuccess()?(a.currentPage=h(c.offset||0),a.response.nTotalRecords=b.nTotalRecords(),a.response.columns=b.columns(),a.response.columns.forEach(function(b){var c=g(a.table.allColumns,function(a){return a.name===b.name});c&&v(b,c.sort)}),a.response.records=b.records().map(function(b){return b.map(function(b,c){var d,f=a.response.columns[c];if("Time"===f.type){var g="yyyy-MM-ddTHH:mm:ss.sssZ";d=e("date")(1e3*b,g)}else d=b;return{value:b,formattedValue:d,column:f}})}),a.response.drilldowns=b.drilldowns(),void(c.drilldown||"").split(/\s*,\s*/).filter(function(a){return a.length>0}).forEach(function(b,c){a.response.drilldowns[c].key=b})):(a.message='Failed to call "select" command: '+b.errorMessage(),void(a.response.nTotalRecords=0))})}var E,F=new GroongaClient(d);i(),f().then(function(b){E=b;var c=E.tables[a.table.name];angular.forEach(c.columns,function(a){B(y(a))}),C();var d=r();a.parameters.offset&&(d.offset=a.parameters.offset),D(d)})}]),angular.module("groongaAdminApp").controller("ColumnShowController",["$scope","$routeParams","$location","$http","schemaLoader",function(a,b,c,d,e){function f(){a.column={name:b.column,table:{name:b.table}},a.remove=g}function g(){if(window.confirm("Really remove the column?")){var b={table:a.column.table.name,name:a.column.name},d=i.execute("column_remove",b);d.success(function(b){if(console.log(b),b.isRemoved())e().reload(),c.url("/tables/"+a.column.table.name+"/");else{var d=b.errorMessage();a.message="Failed to remove the column: "+d}})}}var h,i=new GroongaClient(d);f(),e().then(function(b){h=b;var c=h.tables[a.column.table.name],d=c.columns[a.column.name];angular.extend(a.column,d)})}]),angular.module("groongaAdminApp").controller("ColumnNewController",["$scope","$routeParams","$location","$http","schemaLoader",function(a,b,c,d,e){function f(){a.table={name:b.table},a.availableTypes={scalar:{label:"Scalar",flag:"COLUMN_SCALAR"},vector:{label:"Vector",flag:"COLUMN_VECTOR"},index:{label:"Index",flag:"COLUMN_INDEX"}},a.availableValueTypes={},a.column={type:a.availableTypes.scalar,sources:[]},a.submit=g}function g(){var b={table:a.table.name,name:a.column.name,flags:[a.column.type.flag].join("|"),type:a.column.valueType,source:a.column.sources.join(",")},d=j.execute("column_create",b);d.success(function(d){if(d.isCreated())e().reload(),c.url("/tables/"+b.table+"/columns/"+b.name);else{var f=d.errorMessage();a.message="Failed to create the column: "+f}})}function h(){var a=[];return angular.forEach(i.types,function(b){a.push(b.name)}),angular.forEach(i.tables,function(b){a.push(b.name)}),a.sort()}var i,j=new GroongaClient(d);f(),e().then(function(b){i=b,a.availableValueTypes=h()})}]);