rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.textile +13 -1
  3. data/ext/groonga/rb-grn-index-column.c +4 -0
  4. data/ext/groonga/rb-grn-object.c +2 -3
  5. data/ext/groonga/rb-grn.h +1 -1
  6. data/lib/1.9/groonga.so +0 -0
  7. data/lib/2.0/groonga.so +0 -0
  8. data/lib/2.1/groonga.so +0 -0
  9. data/lib/groonga/schema.rb +1 -1
  10. data/rroonga-build.rb +1 -1
  11. data/rroonga.gemspec +1 -1
  12. data/test/test-database.rb +74 -0
  13. data/test/test-index-column.rb +22 -0
  14. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  15. data/vendor/local/bin/groonga.exe +0 -0
  16. data/vendor/local/bin/libgroonga-0.dll +0 -0
  17. data/vendor/local/bin/libmecab-1.dll +0 -0
  18. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  19. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  20. data/vendor/local/bin/mecab-config +0 -0
  21. data/vendor/local/bin/mecab.exe +0 -0
  22. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  23. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  24. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  25. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +0 -0
  26. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  27. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  28. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
  30. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  32. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/table/table.la +0 -0
  34. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  36. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
  38. data/vendor/local/lib/libgroonga.a +0 -0
  39. data/vendor/local/lib/libgroonga.dll.a +0 -0
  40. data/vendor/local/lib/libgroonga.la +0 -0
  41. data/vendor/local/lib/libmecab.a +0 -0
  42. data/vendor/local/lib/libmecab.dll.a +0 -0
  43. data/vendor/local/lib/libmecab.la +0 -0
  44. data/vendor/local/lib/libmsgpack.a +0 -0
  45. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  46. data/vendor/local/lib/libmsgpack.la +0 -0
  47. data/vendor/local/lib/libmsgpackc.a +0 -0
  48. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  49. data/vendor/local/lib/libmsgpackc.la +0 -0
  50. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  51. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  54. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  55. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  56. data/vendor/local/sbin/groonga-httpd-restart +0 -0
  57. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  58. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +3 -0
  59. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
  60. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  61. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  62. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  63. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  64. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +15 -3
  65. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -3
  67. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  68. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +54 -0
  69. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  70. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
  71. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
  72. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
  73. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
  74. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
  75. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
  76. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  77. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  78. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  79. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  80. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
  81. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
  82. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  84. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
  85. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
  101. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
  103. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
  105. data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
  106. data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
  107. data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
  108. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
  109. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
  110. data/vendor/local/share/doc/groonga/en/html/install/others.html +20 -8
  111. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  112. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
  113. data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
  114. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  115. data/vendor/local/share/doc/groonga/en/html/news.html +226 -165
  116. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  118. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  122. data/vendor/local/share/doc/groonga/en/html/reference.html +46 -36
  123. data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
  124. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
  125. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
  126. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
  127. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
  128. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
  129. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
  130. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
  131. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
  132. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
  133. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
  134. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
  135. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
  136. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
  137. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
  138. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
  139. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
  140. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
  141. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
  142. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
  143. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
  144. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
  146. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  147. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  148. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  149. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
  150. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
  152. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
  153. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
  154. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
  158. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
  159. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
  163. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +95 -14
  165. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -44
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  181. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -5
  182. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  183. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
  184. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
  185. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  186. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +24 -12
  187. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
  188. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
  189. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
  190. data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
  191. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  192. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  198. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  202. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
  206. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
  208. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  211. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  212. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +290 -0
  214. data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
  215. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  216. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  217. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  218. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
  225. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  227. data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
  228. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +194 -5
  229. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
  234. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
  235. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
  236. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  248. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  249. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +3 -0
  250. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
  251. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  252. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  253. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  254. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  255. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +15 -3
  256. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  257. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -3
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +54 -0
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
  276. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
  278. data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
  281. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
  282. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
  283. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
  284. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
  285. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
  286. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
  287. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
  288. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
  289. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
  290. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
  291. data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
  292. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
  293. data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
  294. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
  295. data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
  296. data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
  297. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
  298. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
  299. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
  300. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
  301. data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
  302. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
  303. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
  304. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
  305. data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
  306. data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
  307. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
  308. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
  309. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
  310. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
  311. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
  312. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  313. data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
  314. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
  315. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
  316. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
  317. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
  318. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
  319. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
  320. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
  321. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
  322. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
  323. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
  324. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
  325. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
  326. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
  327. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
  328. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
  330. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
  331. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
  332. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
  333. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
  334. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
  335. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
  336. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
  337. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
  338. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
  339. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
  349. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
  364. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
  365. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
  366. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
  367. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
  368. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
  369. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
  370. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
  371. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
  372. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
  373. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
  374. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
  375. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
  376. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
  377. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
  378. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
  379. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
  380. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
  381. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
  382. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
  383. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
  384. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
  385. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
  386. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
  387. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
  388. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
  389. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
  390. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
  391. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
  392. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
  393. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
  394. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
  395. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
  396. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
  397. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
  398. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
  399. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
  400. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
  401. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
  402. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
  403. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
  404. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
  405. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  406. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  408. data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
  409. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
  410. data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
  411. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
  412. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
  413. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
  414. data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
  415. data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
  416. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
  417. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
  418. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
  419. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
  420. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
  421. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
  422. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
  423. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
  424. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
  425. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
  426. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
  427. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
  428. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
  429. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
  430. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
  431. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
  432. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
  433. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
  434. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
  435. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
  436. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
  437. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
  438. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
  439. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  440. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
  441. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  442. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
  443. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  444. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
  445. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  446. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
  447. data/vendor/local/share/man/ja/man1/groonga.1 +1152 -241
  448. data/vendor/local/share/man/man1/groonga.1 +1215 -269
  449. metadata +150 -130
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.3.19. normalize &mdash; groonga v3.0.8 documentation</title>
10
+ <title>8.3.19. normalize &mdash; Groonga v3.0.9 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.8',
18
+ VERSION: '3.0.9',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,7 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.3. Command" href="../command.html" />
30
30
  <link rel="next" title="8.3.20. quit" href="quit.html" />
31
31
  <link rel="prev" title="8.3.18. log_reopen" href="log_reopen.html" />
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="log_reopen.html" title="8.3.18. log_reopen"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">8.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -86,9 +86,11 @@ It is usefull for you to check the results of normalizer.</p>
86
86
  </div>
87
87
  <div class="section" id="syntax">
88
88
  <h2>8.3.19.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
89
- <p><tt class="docutils literal"><span class="pre">normalize</span></tt> commands takes two parameters - <tt class="docutils literal"><span class="pre">normalizer</span></tt> and <tt class="docutils literal"><span class="pre">string</span></tt>.
90
- Both of them are required.</p>
91
- <div class="highlight-none"><div class="highlight"><pre>normalize normalizer string
89
+ <p><tt class="docutils literal"><span class="pre">normalize</span></tt> commands has two required parameters. They are
90
+ <tt class="docutils literal"><span class="pre">normalizer</span></tt> and <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
91
+ <div class="highlight-none"><div class="highlight"><pre>normalize normalizer
92
+ string
93
+ [flags=NONE]
92
94
  </pre></div>
93
95
  </div>
94
96
  </div>
@@ -119,28 +121,103 @@ Both of them are required.</p>
119
121
  <p>There are required parameters, <tt class="docutils literal"><span class="pre">normalizer</span></tt> and <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
120
122
  <div class="section" id="normalizer">
121
123
  <h4>8.3.19.4.1.1. <tt class="docutils literal"><span class="pre">normalizer</span></tt><a class="headerlink" href="#normalizer" title="Permalink to this headline">¶</a></h4>
122
- <p>It specifies the name of normalizer.
123
- Currently, <tt class="docutils literal"><span class="pre">normalize</span></tt> command accepts <tt class="docutils literal"><span class="pre">NormalizerAuto</span></tt> or <tt class="docutils literal"><span class="pre">NormalizerNFKC51</span></tt> as built-in normalizer.
124
- If you want to try another normalizer, you need to register additional normalizer plugin by <tt class="docutils literal"><span class="pre">register</span></tt> command.</p>
124
+ <p>It specifies the normalizer name. <tt class="docutils literal"><span class="pre">normalize</span></tt> command uses the
125
+ normalizer that is named <tt class="docutils literal"><span class="pre">normalizer</span></tt>.</p>
126
+ <p>See <a class="reference internal" href="../normalizers.html"><em>Normalizers</em></a> about built-in normalizers.</p>
127
+ <p>Here is an example to use built-in <tt class="docutils literal"><span class="pre">NormalizerAuto</span></tt> normalizer.</p>
128
+ <p>TODO</p>
129
+ <p>If you want to use other normalizers, you need to register additional
130
+ normalizer plugin by <a class="reference internal" href="register.html"><em>register</em></a> command. For example, you can use
131
+ MySQL compatible normalizer by registering <a class="reference external" href="https://github.com/groonga/groonga-normalizer-mysql">groonga-normalizer-mysql</a>.</p>
125
132
  </div>
126
133
  <div class="section" id="string">
127
134
  <h4>8.3.19.4.1.2. <tt class="docutils literal"><span class="pre">string</span></tt><a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h4>
128
135
  <p>It specifies any string which you want to normalize.</p>
136
+ <p>If you want to include spaces in <tt class="docutils literal"><span class="pre">string</span></tt>, you need to quote
137
+ <tt class="docutils literal"><span class="pre">string</span></tt> by single quotation (<tt class="docutils literal"><span class="pre">'</span></tt>) or double quotation (<tt class="docutils literal"><span class="pre">&quot;</span></tt>).</p>
138
+ <p>Here is an example to use spaces in <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
139
+ <p>TODO</p>
140
+ </div>
141
+ </div>
142
+ <div class="section" id="optional-parameters">
143
+ <h3>8.3.19.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
144
+ <p>There are optional parameters.</p>
145
+ <div class="section" id="flags">
146
+ <h4>8.3.19.4.2.1. <tt class="docutils literal"><span class="pre">flags</span></tt><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
147
+ <p>It specifies a normalization customize options. You can specify
148
+ multiple options separated by &quot;<tt class="docutils literal"><span class="pre">|</span></tt>&quot;. For example,
149
+ <tt class="docutils literal"><span class="pre">REMOVE_BLANK|WITH_TYPES</span></tt>.</p>
150
+ <p>Here are available flags.</p>
151
+ <table border="1" class="docutils">
152
+ <colgroup>
153
+ <col width="50%" />
154
+ <col width="50%" />
155
+ </colgroup>
156
+ <thead valign="bottom">
157
+ <tr class="row-odd"><th class="head">Flag</th>
158
+ <th class="head">Description</th>
159
+ </tr>
160
+ </thead>
161
+ <tbody valign="top">
162
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">NONE</span></tt></td>
163
+ <td>Just ignored.</td>
164
+ </tr>
165
+ <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">REMOVE_BLANK</span></tt></td>
166
+ <td>TODO</td>
167
+ </tr>
168
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">WITH_TYPES</span></tt></td>
169
+ <td>TODO</td>
170
+ </tr>
171
+ <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">WITH_CHECKS</span></tt></td>
172
+ <td>TODO</td>
173
+ </tr>
174
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">REMOVE_TOKENIZED_DELIMITER</span></tt></td>
175
+ <td>TODO</td>
176
+ </tr>
177
+ </tbody>
178
+ </table>
179
+ <p>Here is an example that uses <tt class="docutils literal"><span class="pre">REMOVE_BLANK</span></tt>.</p>
180
+ <p>TODO</p>
181
+ <p>Here is an example that uses <tt class="docutils literal"><span class="pre">WITH_TYPES</span></tt>.</p>
182
+ <p>TODO</p>
183
+ <p>Here is an example that uses <tt class="docutils literal"><span class="pre">REMOVE_TOKENIZED_DELIMITER</span></tt>.</p>
184
+ <p>TODO</p>
129
185
  </div>
130
186
  </div>
131
187
  </div>
132
188
  <div class="section" id="return-value">
133
189
  <h2>8.3.19.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
134
- <div class="highlight-none"><div class="highlight"><pre>[HEADER, normalized]
190
+ <div class="highlight-none"><div class="highlight"><pre>[HEADER, normalized_text]
135
191
  </pre></div>
136
192
  </div>
137
193
  <p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
138
194
  <blockquote>
139
195
  <div>The format of HEADER is [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME].
140
196
  See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about HEADER.</div></blockquote>
141
- <p><tt class="docutils literal"><span class="pre">normalized</span></tt></p>
197
+ <p><tt class="docutils literal"><span class="pre">normalized_text</span></tt></p>
142
198
  <blockquote>
143
- <div>normalized is the normalized text by the specified normalizer.</div></blockquote>
199
+ <div><p><tt class="docutils literal"><span class="pre">normalized_text</span></tt> is an object that has the following attributes.</p>
200
+ <table border="1" class="docutils">
201
+ <colgroup>
202
+ <col width="50%" />
203
+ <col width="50%" />
204
+ </colgroup>
205
+ <thead valign="bottom">
206
+ <tr class="row-odd"><th class="head">Name</th>
207
+ <th class="head">Description</th>
208
+ </tr>
209
+ </thead>
210
+ <tbody valign="top">
211
+ <tr class="row-even"><td><tt class="docutils literal"><span class="pre">normalized</span></tt></td>
212
+ <td>The normalized text.</td>
213
+ </tr>
214
+ <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">types</span></tt></td>
215
+ <td>An array of types of the normalized text. The N-th <tt class="docutils literal"><span class="pre">types</span></tt> shows
216
+ the type of the N-th character in <tt class="docutils literal"><span class="pre">normalized</span></tt>.</td>
217
+ </tr>
218
+ </tbody>
219
+ </table>
220
+ </div></blockquote>
144
221
  </div>
145
222
  <div class="section" id="see-also">
146
223
  <h2>8.3.19.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
@@ -168,6 +245,10 @@ See <a class="reference internal" href="../command/output_format.html"><em>Outpu
168
245
  <li><a class="reference internal" href="#string">8.3.19.4.1.2. <tt class="docutils literal"><span class="pre">string</span></tt></a></li>
169
246
  </ul>
170
247
  </li>
248
+ <li><a class="reference internal" href="#optional-parameters">8.3.19.4.2. Optional parameters</a><ul>
249
+ <li><a class="reference internal" href="#flags">8.3.19.4.2.1. <tt class="docutils literal"><span class="pre">flags</span></tt></a></li>
250
+ </ul>
251
+ </li>
171
252
  </ul>
172
253
  </li>
173
254
  <li><a class="reference internal" href="#return-value">8.3.19.5. Return value</a></li>
@@ -216,7 +297,7 @@ See <a class="reference internal" href="../command/output_format.html"><em>Outpu
216
297
  <li class="right" >
217
298
  <a href="log_reopen.html" title="8.3.18. log_reopen"
218
299
  >previous</a> |</li>
219
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
300
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
220
301
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
221
302
  <li><a href="../command.html" >8.3. Command</a> &raquo;</li>
222
303
  </ul>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.3.20. quit &mdash; groonga v3.0.8 documentation</title>
10
+ <title>8.3.20. quit &mdash; Groonga v3.0.9 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.8',
18
+ VERSION: '3.0.9',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,7 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.3. Command" href="../command.html" />
30
30
  <link rel="next" title="8.3.21. register" href="register.html" />
31
31
  <link rel="prev" title="8.3.19. normalize" href="normalize.html" />
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="normalize.html" title="8.3.19. normalize"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">8.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -163,7 +163,7 @@
163
163
  <li class="right" >
164
164
  <a href="normalize.html" title="8.3.19. normalize"
165
165
  >previous</a> |</li>
166
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
166
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
167
167
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
168
168
  <li><a href="../command.html" >8.3. Command</a> &raquo;</li>
169
169
  </ul>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.3.21. register &mdash; groonga v3.0.8 documentation</title>
10
+ <title>8.3.21. register &mdash; Groonga v3.0.9 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.8',
18
+ VERSION: '3.0.9',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,7 +25,7 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.3. Command" href="../command.html" />
30
30
  <link rel="next" title="8.3.22. ruby_eval" href="ruby_eval.html" />
31
31
  <link rel="prev" title="8.3.20. quit" href="quit.html" />
@@ -60,7 +60,7 @@
60
60
  <li class="right" >
61
61
  <a href="quit.html" title="8.3.20. quit"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">8.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -176,7 +176,7 @@ They are completed automatically.</p>
176
176
  <li class="right" >
177
177
  <a href="quit.html" title="8.3.20. quit"
178
178
  >previous</a> |</li>
179
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
179
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
180
180
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
181
181
  <li><a href="../command.html" >8.3. Command</a> &raquo;</li>
182
182
  </ul>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>8.3.22. ruby_eval &mdash; groonga v3.0.8 documentation</title>
10
+ <title>8.3.22. ruby_eval &mdash; Groonga v3.0.9 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '3.0.8',
18
+ VERSION: '3.0.9',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,9 +25,9 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="groonga v3.0.8 documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
29
29
  <link rel="up" title="8.3. Command" href="../command.html" />
30
- <link rel="next" title="8.3.23. select" href="select.html" />
30
+ <link rel="next" title="8.3.23. ruby_load" href="ruby_load.html" />
31
31
  <link rel="prev" title="8.3.21. register" href="register.html" />
32
32
  </head>
33
33
  <body>
@@ -55,12 +55,12 @@
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="select.html" title="8.3.23. select"
58
+ <a href="ruby_load.html" title="8.3.23. ruby_load"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
61
  <a href="register.html" title="8.3.21. register"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
65
  <li><a href="../command.html" accesskey="U">8.3. Command</a> &raquo;</li>
66
66
  </ul>
@@ -75,19 +75,19 @@
75
75
  <h1>8.3.22. <tt class="docutils literal"><span class="pre">ruby_eval</span></tt><a class="headerlink" href="#ruby-eval" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="summary">
77
77
  <h2>8.3.22.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
- <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> command evaluates ruby script and returns the result.</p>
78
+ <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> command evaluates Ruby script and returns the result.</p>
79
79
  </div>
80
80
  <div class="section" id="syntax">
81
81
  <h2>8.3.22.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
82
82
  <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> has one required parameter:</p>
83
- <div class="highlight-none"><div class="highlight"><pre>ruby_eval ruby_script
83
+ <div class="highlight-none"><div class="highlight"><pre>ruby_eval script
84
84
  </pre></div>
85
85
  </div>
86
86
  </div>
87
87
  <div class="section" id="usage">
88
88
  <h2>8.3.22.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
89
89
  <p>You can execute any scripts which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_eval</span></tt>.</p>
90
- <p>Here is an example that just calculate <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">2</span></tt> by mruby plugin.</p>
90
+ <p>Here is an example that just calculate <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">2</span></tt> as Ruby script.</p>
91
91
  <p>Execution example:</p>
92
92
  <div class="highlight-none"><div class="highlight"><pre>register ruby/eval
93
93
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -102,42 +102,26 @@ and the specification may be changed in the future.</p>
102
102
  <div class="section" id="parameters">
103
103
  <h2>8.3.22.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
104
104
  <p>This section describes all parameters.</p>
105
- <div class="section" id="ruby-script">
106
- <h3>8.3.22.4.1. <tt class="docutils literal"><span class="pre">ruby_script</span></tt><a class="headerlink" href="#ruby-script" title="Permalink to this headline">¶</a></h3>
107
- <p>It specifies the ruby script which you want to evaluate.</p>
105
+ <div class="section" id="script">
106
+ <h3>8.3.22.4.1. <tt class="docutils literal"><span class="pre">script</span></tt><a class="headerlink" href="#script" title="Permalink to this headline">¶</a></h3>
107
+ <p>It specifies the Ruby script which you want to evaluate.</p>
108
108
  </div>
109
109
  </div>
110
110
  <div class="section" id="return-value">
111
111
  <h2>8.3.22.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
112
- <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> returns the evaluated result which key is &quot;value&quot; as json format:</p>
113
- <div class="highlight-none"><div class="highlight"><pre>[[HEADER, EVALUATED]]
112
+ <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> returns the evaluated result with metadata such as
113
+ exception information (Including metadata isn't implemented yet):</p>
114
+ <div class="highlight-none"><div class="highlight"><pre>[HEADER, {&quot;value&quot;: EVALUATED_VALUE}]
114
115
  </pre></div>
115
116
  </div>
116
117
  <p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
117
118
  <blockquote>
118
119
  <div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
119
- <p><tt class="docutils literal"><span class="pre">EVALUATED</span></tt></p>
120
+ <p><tt class="docutils literal"><span class="pre">EVALUATED_VALUE</span></tt></p>
120
121
  <blockquote>
121
- <div><p><tt class="docutils literal"><span class="pre">EVALUATED</span></tt> consists of pair of key and value in forms of {key:value}.</p>
122
- <table border="1" class="docutils">
123
- <colgroup>
124
- <col width="50%" />
125
- <col width="50%" />
126
- </colgroup>
127
- <thead valign="bottom">
128
- <tr class="row-odd"><th class="head">Name</th>
129
- <th class="head">Description</th>
130
- </tr>
131
- </thead>
132
- <tbody valign="top">
133
- <tr class="row-even"><td><tt class="docutils literal"><span class="pre">key</span></tt></td>
134
- <td>reserved word 'value'.</td>
135
- </tr>
136
- <tr class="row-odd"><td><tt class="docutils literal"><span class="pre">value</span></tt></td>
137
- <td>the value of evaluated script. It must be a number.</td>
138
- </tr>
139
- </tbody>
140
- </table>
122
+ <div><p><tt class="docutils literal"><span class="pre">EVALUATED_VALUE</span></tt> is the evaludated value of <tt class="docutils literal"><span class="pre">ruby_script</span></tt>.</p>
123
+ <p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> supports only a number for evaluated value for now.
124
+ Supported types will be increased in the future.</p>
141
125
  </div></blockquote>
142
126
  </div>
143
127
  <div class="section" id="see-also">
@@ -158,7 +142,7 @@ and the specification may be changed in the future.</p>
158
142
  <li><a class="reference internal" href="#syntax">8.3.22.2. Syntax</a></li>
159
143
  <li><a class="reference internal" href="#usage">8.3.22.3. Usage</a></li>
160
144
  <li><a class="reference internal" href="#parameters">8.3.22.4. Parameters</a><ul>
161
- <li><a class="reference internal" href="#ruby-script">8.3.22.4.1. <tt class="docutils literal"><span class="pre">ruby_script</span></tt></a></li>
145
+ <li><a class="reference internal" href="#script">8.3.22.4.1. <tt class="docutils literal"><span class="pre">script</span></tt></a></li>
162
146
  </ul>
163
147
  </li>
164
148
  <li><a class="reference internal" href="#return-value">8.3.22.5. Return value</a></li>
@@ -171,8 +155,8 @@ and the specification may be changed in the future.</p>
171
155
  <p class="topless"><a href="register.html"
172
156
  title="previous chapter">8.3.21. register</a></p>
173
157
  <h4>Next topic</h4>
174
- <p class="topless"><a href="select.html"
175
- title="next chapter">8.3.23. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
158
+ <p class="topless"><a href="ruby_load.html"
159
+ title="next chapter">8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
176
160
  <h3>This Page</h3>
177
161
  <ul class="this-page-menu">
178
162
  <li><a href="../../_sources/reference/commands/ruby_eval.txt"
@@ -202,12 +186,12 @@ and the specification may be changed in the future.</p>
202
186
  <a href="../../genindex.html" title="General Index"
203
187
  >index</a></li>
204
188
  <li class="right" >
205
- <a href="select.html" title="8.3.23. select"
189
+ <a href="ruby_load.html" title="8.3.23. ruby_load"
206
190
  >next</a> |</li>
207
191
  <li class="right" >
208
192
  <a href="register.html" title="8.3.21. register"
209
193
  >previous</a> |</li>
210
- <li><a href="../../index.html">groonga v3.0.8 documentation</a> &raquo;</li>
194
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
211
195
  <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
212
196
  <li><a href="../command.html" >8.3. Command</a> &raquo;</li>
213
197
  </ul>
@@ -0,0 +1,196 @@
1
+
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml">
7
+ <head>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
+
10
+ <title>8.3.23. ruby_load &mdash; Groonga v3.0.9 documentation</title>
11
+
12
+ <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
+ <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ var DOCUMENTATION_OPTIONS = {
17
+ URL_ROOT: '../../',
18
+ VERSION: '3.0.9',
19
+ COLLAPSE_INDEX: false,
20
+ FILE_SUFFIX: '.html',
21
+ HAS_SOURCE: true
22
+ };
23
+ </script>
24
+ <script type="text/javascript" src="../../_static/jquery.js"></script>
25
+ <script type="text/javascript" src="../../_static/underscore.js"></script>
26
+ <script type="text/javascript" src="../../_static/doctools.js"></script>
27
+ <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
+ <link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
29
+ <link rel="up" title="8.3. Command" href="../command.html" />
30
+ <link rel="next" title="8.3.24. select" href="select.html" />
31
+ <link rel="prev" title="8.3.22. ruby_eval" href="ruby_eval.html" />
32
+ </head>
33
+ <body>
34
+ <div class="header">
35
+ <h1 class="title">
36
+ <a id="top-link" href="../../index.html">
37
+ <span class="project">groonga</span>
38
+ <span class="separator">-</span>
39
+ <span class="description">An open-source fulltext search engine and column store.</span>
40
+ </a>
41
+ </h1>
42
+
43
+ <div class="other-language-links">
44
+ <ul>
45
+ <li><a href="../../../../ja/html/reference/commands/ruby_load.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
46
+ </ul>
47
+ </div>
48
+ </div>
49
+
50
+
51
+ <div class="related">
52
+ <h3>Navigation</h3>
53
+ <ul>
54
+ <li class="right" style="margin-right: 10px">
55
+ <a href="../../genindex.html" title="General Index"
56
+ accesskey="I">index</a></li>
57
+ <li class="right" >
58
+ <a href="select.html" title="8.3.24. select"
59
+ accesskey="N">next</a> |</li>
60
+ <li class="right" >
61
+ <a href="ruby_eval.html" title="8.3.22. ruby_eval"
62
+ accesskey="P">previous</a> |</li>
63
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
64
+ <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
65
+ <li><a href="../command.html" accesskey="U">8.3. Command</a> &raquo;</li>
66
+ </ul>
67
+ </div>
68
+
69
+ <div class="document">
70
+ <div class="documentwrapper">
71
+ <div class="bodywrapper">
72
+ <div class="body">
73
+
74
+ <div class="section" id="ruby-load">
75
+ <h1>8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt><a class="headerlink" href="#ruby-load" title="Permalink to this headline">¶</a></h1>
76
+ <div class="section" id="summary">
77
+ <h2>8.3.23.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
78
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> command loads specified Ruby script.</p>
79
+ </div>
80
+ <div class="section" id="syntax">
81
+ <h2>8.3.23.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
82
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> has one required parameter:</p>
83
+ <div class="highlight-none"><div class="highlight"><pre>ruby_load path
84
+ </pre></div>
85
+ </div>
86
+ </div>
87
+ <div class="section" id="usage">
88
+ <h2>8.3.23.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
89
+ <p>You can load any script file which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_load</span></tt>.</p>
90
+ <p>Here is an example that just load <tt class="docutils literal"><span class="pre">expression.rb</span></tt> as Ruby script.</p>
91
+ <p>Register <tt class="docutils literal"><span class="pre">ruby/load</span></tt> plugin to use <tt class="docutils literal"><span class="pre">ruby_load</span></tt> command in advance.</p>
92
+ <p>Note that <tt class="docutils literal"><span class="pre">ruby_load</span></tt> is implemented as an experimental plugin,
93
+ and the specification may be changed in the future.</p>
94
+ </div>
95
+ <div class="section" id="parameters">
96
+ <h2>8.3.23.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
97
+ <p>This section describes all parameters.</p>
98
+ <div class="section" id="path">
99
+ <h3>8.3.23.4.1. <tt class="docutils literal"><span class="pre">path</span></tt><a class="headerlink" href="#path" title="Permalink to this headline">¶</a></h3>
100
+ <p>It specifies the Ruby script path which you want to load.</p>
101
+ </div>
102
+ </div>
103
+ <div class="section" id="return-value">
104
+ <h2>8.3.23.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
105
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> returns the loaded result with metadata such as
106
+ exception information (Including metadata isn't implemented yet):</p>
107
+ <div class="highlight-none"><div class="highlight"><pre>[HEADER, {&quot;value&quot;: LOADED_VALUE}]
108
+ </pre></div>
109
+ </div>
110
+ <p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
111
+ <blockquote>
112
+ <div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
113
+ <p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt></p>
114
+ <blockquote>
115
+ <div><p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> is the loaded value of ruby script.</p>
116
+ <p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> just return <tt class="docutils literal"><span class="pre">null</span></tt> as <tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> for now, it will be supported in the future.</p>
117
+ </div></blockquote>
118
+ </div>
119
+ <div class="section" id="see-also">
120
+ <h2>8.3.23.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
121
+ <p><a class="reference internal" href="ruby_eval.html"><em>ruby_eval</em></a></p>
122
+ </div>
123
+ </div>
124
+
125
+
126
+ </div>
127
+ </div>
128
+ </div>
129
+ <div class="sphinxsidebar">
130
+ <div class="sphinxsidebarwrapper">
131
+ <h3><a href="../../index.html">Table Of Contents</a></h3>
132
+ <ul>
133
+ <li><a class="reference internal" href="#">8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a><ul>
134
+ <li><a class="reference internal" href="#summary">8.3.23.1. Summary</a></li>
135
+ <li><a class="reference internal" href="#syntax">8.3.23.2. Syntax</a></li>
136
+ <li><a class="reference internal" href="#usage">8.3.23.3. Usage</a></li>
137
+ <li><a class="reference internal" href="#parameters">8.3.23.4. Parameters</a><ul>
138
+ <li><a class="reference internal" href="#path">8.3.23.4.1. <tt class="docutils literal"><span class="pre">path</span></tt></a></li>
139
+ </ul>
140
+ </li>
141
+ <li><a class="reference internal" href="#return-value">8.3.23.5. Return value</a></li>
142
+ <li><a class="reference internal" href="#see-also">8.3.23.6. See also</a></li>
143
+ </ul>
144
+ </li>
145
+ </ul>
146
+
147
+ <h4>Previous topic</h4>
148
+ <p class="topless"><a href="ruby_eval.html"
149
+ title="previous chapter">8.3.22. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">ruby_eval</span></tt></a></p>
150
+ <h4>Next topic</h4>
151
+ <p class="topless"><a href="select.html"
152
+ title="next chapter">8.3.24. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
153
+ <h3>This Page</h3>
154
+ <ul class="this-page-menu">
155
+ <li><a href="../../_sources/reference/commands/ruby_load.txt"
156
+ rel="nofollow">Show Source</a></li>
157
+ </ul>
158
+ <div id="searchbox" style="display: none">
159
+ <h3>Quick search</h3>
160
+ <form class="search" action="../../search.html" method="get">
161
+ <input type="text" name="q" />
162
+ <input type="submit" value="Go" />
163
+ <input type="hidden" name="check_keywords" value="yes" />
164
+ <input type="hidden" name="area" value="default" />
165
+ </form>
166
+ <p class="searchtip" style="font-size: 90%">
167
+ Enter search terms or a module, class or function name.
168
+ </p>
169
+ </div>
170
+ <script type="text/javascript">$('#searchbox').show(0);</script>
171
+ </div>
172
+ </div>
173
+ <div class="clearer"></div>
174
+ </div>
175
+ <div class="related">
176
+ <h3>Navigation</h3>
177
+ <ul>
178
+ <li class="right" style="margin-right: 10px">
179
+ <a href="../../genindex.html" title="General Index"
180
+ >index</a></li>
181
+ <li class="right" >
182
+ <a href="select.html" title="8.3.24. select"
183
+ >next</a> |</li>
184
+ <li class="right" >
185
+ <a href="ruby_eval.html" title="8.3.22. ruby_eval"
186
+ >previous</a> |</li>
187
+ <li><a href="../../index.html">Groonga v3.0.9 documentation</a> &raquo;</li>
188
+ <li><a href="../../reference.html" >8. リファレンスマニュアル</a> &raquo;</li>
189
+ <li><a href="../command.html" >8.3. Command</a> &raquo;</li>
190
+ </ul>
191
+ </div>
192
+ <div class="footer">
193
+ &copy; Copyright 2009-2013, Brazil, Inc.
194
+ </div>
195
+ </body>
196
+ </html>