rroonga 2.1.3-x86-mingw32 → 3.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (429) hide show
  1. data/bin/grndump +1 -1
  2. data/doc/text/news.textile +22 -4
  3. data/ext/groonga/rb-grn-accessor.c +1 -1
  4. data/ext/groonga/rb-grn-array-cursor.c +1 -1
  5. data/ext/groonga/rb-grn-array.c +218 -2
  6. data/ext/groonga/rb-grn-column.c +1 -1
  7. data/ext/groonga/rb-grn-context.c +1 -1
  8. data/ext/groonga/rb-grn-database.c +1 -1
  9. data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
  10. data/ext/groonga/rb-grn-double-array-trie.c +1 -1
  11. data/ext/groonga/rb-grn-encoding-support.c +1 -1
  12. data/ext/groonga/rb-grn-encoding.c +1 -1
  13. data/ext/groonga/rb-grn-exception.c +1 -1
  14. data/ext/groonga/rb-grn-expression-builder.c +1 -1
  15. data/ext/groonga/rb-grn-expression.c +1 -1
  16. data/ext/groonga/rb-grn-fix-size-column.c +1 -1
  17. data/ext/groonga/rb-grn-geo-point.c +1 -1
  18. data/ext/groonga/rb-grn-hash-cursor.c +1 -1
  19. data/ext/groonga/rb-grn-hash.c +1 -1
  20. data/ext/groonga/rb-grn-index-column.c +1 -1
  21. data/ext/groonga/rb-grn-index-cursor.c +1 -1
  22. data/ext/groonga/rb-grn-logger.c +1 -1
  23. data/ext/groonga/rb-grn-normalizer.c +1 -1
  24. data/ext/groonga/rb-grn-object.c +7 -7
  25. data/ext/groonga/rb-grn-operator.c +1 -1
  26. data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
  27. data/ext/groonga/rb-grn-patricia-trie.c +1 -1
  28. data/ext/groonga/rb-grn-plugin.c +1 -1
  29. data/ext/groonga/rb-grn-posting.c +1 -1
  30. data/ext/groonga/rb-grn-procedure.c +1 -1
  31. data/ext/groonga/rb-grn-record.c +1 -1
  32. data/ext/groonga/rb-grn-snippet.c +1 -1
  33. data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
  34. data/ext/groonga/rb-grn-table-cursor.c +1 -1
  35. data/ext/groonga/rb-grn-table-key-support.c +1 -1
  36. data/ext/groonga/rb-grn-table.c +1 -1
  37. data/ext/groonga/rb-grn-type.c +1 -1
  38. data/ext/groonga/rb-grn-utils.c +1 -1
  39. data/ext/groonga/rb-grn-variable-size-column.c +1 -1
  40. data/ext/groonga/rb-grn-variable.c +1 -1
  41. data/ext/groonga/rb-grn.h +4 -4
  42. data/ext/groonga/rb-groonga.c +1 -1
  43. data/lib/1.9/groonga.so +0 -0
  44. data/lib/2.0/groonga.so +0 -0
  45. data/lib/groonga/context.rb +93 -13
  46. data/rroonga-build.rb +2 -2
  47. data/test/groonga-test-utils.rb +2 -1
  48. data/test/test-array.rb +86 -2
  49. data/test/test-context.rb +22 -2
  50. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  51. data/vendor/local/bin/groonga.exe +0 -0
  52. data/vendor/local/bin/libgroonga-0.dll +0 -0
  53. data/vendor/local/bin/libmecab-1.dll +0 -0
  54. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  55. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  56. data/vendor/local/bin/mecab.exe +0 -0
  57. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
  58. data/vendor/local/include/groonga/groonga.h +16 -8
  59. data/vendor/local/include/groonga/groonga/nfkc.h +32 -0
  60. data/vendor/local/include/groonga/groonga/plugin.h +39 -21
  61. data/vendor/local/include/groonga/groonga/tokenizer.h +4 -0
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  66. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  67. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  68. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  70. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  72. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  73. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  74. data/vendor/local/lib/libgroonga.a +0 -0
  75. data/vendor/local/lib/libgroonga.dll.a +0 -0
  76. data/vendor/local/lib/libmecab.a +0 -0
  77. data/vendor/local/lib/libmecab.dll.a +0 -0
  78. data/vendor/local/lib/libmsgpack.a +0 -0
  79. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  80. data/vendor/local/lib/libmsgpackc.a +0 -0
  81. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  82. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  83. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  84. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  85. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  86. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  87. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  88. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  89. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -0
  90. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +9 -0
  91. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +12 -0
  92. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +20 -4
  93. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +28 -4
  94. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +12 -4
  95. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +8 -4
  96. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  98. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +36 -4
  99. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
  100. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +112 -0
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +2 -2
  102. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +2 -2
  103. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +2 -2
  104. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
  106. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +79 -0
  107. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +2 -2
  108. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +2 -2
  109. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +51 -51
  111. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +2 -2
  112. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +2 -2
  113. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +2 -2
  114. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +85 -0
  115. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +98 -89
  116. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +5 -5
  117. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +2 -2
  118. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +73 -0
  119. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +124 -0
  120. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +24 -0
  121. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/contribution.html +58 -57
  125. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -16
  126. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +18 -18
  127. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +25 -25
  128. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
  129. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +104 -95
  130. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +138 -0
  131. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
  132. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
  133. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  134. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  135. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
  137. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/index.html +36 -30
  141. data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
  142. data/vendor/local/share/doc/groonga/en/html/install/centos.html +23 -9
  143. data/vendor/local/share/doc/groonga/en/html/install/debian.html +30 -9
  144. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +16 -9
  145. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -13
  146. data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
  147. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
  148. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +37 -9
  149. data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
  150. data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
  151. data/vendor/local/share/doc/groonga/en/html/news.html +251 -120
  152. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  154. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  155. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  156. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  157. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  158. data/vendor/local/share/doc/groonga/en/html/reference.html +28 -23
  159. data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
  161. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
  162. data/vendor/local/share/doc/groonga/en/html/reference/command.html +25 -22
  163. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
  164. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
  165. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
  166. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -9
  167. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +71 -87
  168. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +8 -9
  169. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
  170. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
  171. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +13 -14
  172. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +321 -0
  173. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +35 -36
  174. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -33
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -33
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +27 -27
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +70 -69
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -35
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -35
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +37 -38
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +218 -0
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +294 -288
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +38 -41
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +33 -34
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +268 -0
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
  196. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
  197. data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
  198. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
  199. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
  200. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  201. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +11 -9
  202. data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -5
  203. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
  204. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
  205. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
  206. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
  207. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
  208. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
  209. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
  210. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -10
  211. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +292 -0
  212. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
  214. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
  215. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -10
  216. data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
  217. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +32 -7
  218. data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
  219. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
  220. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
  221. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
  222. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
  223. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
  224. data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -10
  225. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  226. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  227. data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
  228. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
  229. data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
  230. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
  231. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
  232. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
  233. data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
  234. data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
  235. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
  236. data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
  237. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  238. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
  239. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
  240. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  241. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
  242. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  243. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  244. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  245. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  246. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
  247. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  248. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
  249. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  250. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  251. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
  252. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
  253. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
  254. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
  255. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +9 -9
  256. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  257. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  258. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -0
  259. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +9 -0
  260. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +12 -0
  261. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +20 -4
  262. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +28 -4
  263. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +12 -4
  264. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +8 -4
  265. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  266. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  267. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +36 -4
  268. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
  269. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +112 -0
  270. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +2 -2
  271. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +2 -2
  272. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +2 -2
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +79 -0
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +2 -2
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +2 -2
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +2 -2
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +51 -51
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +2 -2
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +2 -2
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +2 -2
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +85 -0
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +98 -89
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +5 -5
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +2 -2
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +73 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +124 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +24 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -5
  291. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  292. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  293. data/vendor/local/share/doc/groonga/ja/html/contribution.html +58 -57
  294. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -16
  295. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +18 -18
  296. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +25 -25
  297. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +61 -61
  298. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +104 -95
  299. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +139 -0
  300. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +37 -37
  301. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -9
  302. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  303. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  304. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  305. data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
  306. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
  307. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  308. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  309. data/vendor/local/share/doc/groonga/ja/html/index.html +36 -30
  310. data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
  311. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +19 -9
  312. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +24 -9
  313. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -9
  314. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -13
  315. data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
  316. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
  317. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -9
  318. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
  319. data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
  320. data/vendor/local/share/doc/groonga/ja/html/news.html +225 -124
  321. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  322. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  323. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  324. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
  325. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  326. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  327. data/vendor/local/share/doc/groonga/ja/html/reference.html +28 -23
  328. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
  329. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
  330. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
  331. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +25 -22
  332. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
  333. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
  334. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
  335. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +8 -9
  336. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +71 -87
  337. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +8 -9
  338. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +8 -9
  339. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
  340. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +13 -14
  341. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +321 -0
  342. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +35 -36
  343. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -33
  344. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -33
  345. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +27 -27
  346. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +56 -61
  347. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -35
  348. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -35
  349. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +37 -38
  350. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +213 -0
  351. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
  352. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
  353. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +235 -229
  354. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
  355. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -41
  356. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
  357. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
  358. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
  359. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +33 -34
  360. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +268 -0
  361. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
  362. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
  363. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
  364. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
  365. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
  366. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
  367. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
  368. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
  369. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
  370. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +11 -9
  371. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -5
  372. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
  373. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
  374. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
  375. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
  376. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
  377. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
  378. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
  379. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +10 -10
  380. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +291 -0
  381. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
  382. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
  383. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
  384. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -10
  385. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
  386. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +30 -7
  387. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
  388. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
  389. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
  390. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
  391. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
  392. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
  393. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
  394. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  395. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  396. data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
  397. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
  398. data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
  399. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +9 -9
  400. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
  401. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
  402. data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
  403. data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
  404. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
  405. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
  406. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  407. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
  408. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
  409. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  410. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
  411. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  412. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  413. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  414. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  415. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
  416. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  417. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
  418. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  419. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  420. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
  421. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
  422. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
  423. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
  424. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
  425. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  426. data/vendor/local/share/man/ja/man1/groonga.1 +1231 -420
  427. data/vendor/local/share/man/man1/groonga.1 +1370 -521
  428. metadata +1025 -998
  429. data/lib/1.8/groonga.so +0 -0
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>13.2. groonga開発者向け情報 &mdash; groonga v2.1.2 documentation</title>
10
+ <title>13.2. groonga開発者向け情報 &mdash; groonga v3.0.2 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: '2.1.2',
18
+ VERSION: '3.0.2',
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 v2.1.2 documentation" href="../index.html" />
28
+ <link rel="top" title="groonga v3.0.2 documentation" href="../index.html" />
29
29
  <link rel="up" title="13. How to contribute to groonga" href="../contribution.html" />
30
- <link rel="next" title="13.2.1. groonga 通信アーキテクチャ" href="development/com.html" />
30
+ <link rel="next" title="13.2.1. Repository" href="development/repository.html" />
31
31
  <link rel="prev" title="13.1. How to report a bug" href="report.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="development/com.html" title="13.2.1. groonga 通信アーキテクチャ"
58
+ <a href="development/repository.html" title="13.2.1. Repository"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
61
  <a href="report.html" title="13.1. How to report a bug"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
63
+ <li><a href="../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
64
64
  <li><a href="../contribution.html" accesskey="U">13. How to contribute to groonga</a> &raquo;</li>
65
65
  </ul>
66
66
  </div>
@@ -74,12 +74,13 @@
74
74
  <h1>13.2. groonga開発者向け情報<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
75
75
  <div class="toctree-wrapper compound">
76
76
  <ul>
77
- <li class="toctree-l1"><a class="reference internal" href="development/com.html">13.2.1. groonga 通信アーキテクチャ</a></li>
78
- <li class="toctree-l1"><a class="reference internal" href="development/document.html">13.2.2. ドキュメント作成</a></li>
79
- <li class="toctree-l1"><a class="reference internal" href="development/query.html">13.2.3. クエリの実現</a></li>
80
- <li class="toctree-l1"><a class="reference internal" href="development/query.html#id5">13.2.4. クエリの実例</a></li>
81
- <li class="toctree-l1"><a class="reference internal" href="development/release.html">13.2.5. リリース手順</a></li>
82
- <li class="toctree-l1"><a class="reference internal" href="development/test.html">13.2.6. テスト方法</a></li>
77
+ <li class="toctree-l1"><a class="reference internal" href="development/repository.html">13.2.1. Repository</a></li>
78
+ <li class="toctree-l1"><a class="reference internal" href="development/com.html">13.2.2. groonga 通信アーキテクチャ</a></li>
79
+ <li class="toctree-l1"><a class="reference internal" href="development/document.html">13.2.3. ドキュメント作成</a></li>
80
+ <li class="toctree-l1"><a class="reference internal" href="development/query.html">13.2.4. クエリの実現</a></li>
81
+ <li class="toctree-l1"><a class="reference internal" href="development/query.html#id5">13.2.5. クエリの実例</a></li>
82
+ <li class="toctree-l1"><a class="reference internal" href="development/release.html">13.2.6. リリース手順</a></li>
83
+ <li class="toctree-l1"><a class="reference internal" href="development/test.html">13.2.7. テスト方法</a></li>
83
84
  </ul>
84
85
  </div>
85
86
  </div>
@@ -94,8 +95,8 @@
94
95
  <p class="topless"><a href="report.html"
95
96
  title="previous chapter">13.1. How to report a bug</a></p>
96
97
  <h4>Next topic</h4>
97
- <p class="topless"><a href="development/com.html"
98
- title="next chapter">13.2.1. groonga 通信アーキテクチャ</a></p>
98
+ <p class="topless"><a href="development/repository.html"
99
+ title="next chapter">13.2.1. Repository</a></p>
99
100
  <h3>This Page</h3>
100
101
  <ul class="this-page-menu">
101
102
  <li><a href="../_sources/contribution/development.txt"
@@ -125,12 +126,12 @@
125
126
  <a href="../genindex.html" title="General Index"
126
127
  >index</a></li>
127
128
  <li class="right" >
128
- <a href="development/com.html" title="13.2.1. groonga 通信アーキテクチャ"
129
+ <a href="development/repository.html" title="13.2.1. Repository"
129
130
  >next</a> |</li>
130
131
  <li class="right" >
131
132
  <a href="report.html" title="13.1. How to report a bug"
132
133
  >previous</a> |</li>
133
- <li><a href="../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
134
+ <li><a href="../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
134
135
  <li><a href="../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
135
136
  </ul>
136
137
  </div>
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>13.2.1. groonga 通信アーキテクチャ &mdash; groonga v2.1.2 documentation</title>
10
+ <title>13.2.2. groonga 通信アーキテクチャ &mdash; groonga v3.0.2 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: '2.1.2',
18
+ VERSION: '3.0.2',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
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 v2.1.2 documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
29
29
  <link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
30
- <link rel="next" title="13.2.2. ドキュメント作成" href="document.html" />
31
- <link rel="prev" title="13.2. groonga開発者向け情報" href="../development.html" />
30
+ <link rel="next" title="13.2.3. ドキュメント作成" href="document.html" />
31
+ <link rel="prev" title="13.2.1. Repository" href="repository.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -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="document.html" title="13.2.2. ドキュメント作成"
58
+ <a href="document.html" title="13.2.3. ドキュメント作成"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="../development.html" title="13.2. groonga開発者向け情報"
61
+ <a href="repository.html" title="13.2.1. Repository"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
64
64
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
65
65
  <li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> &raquo;</li>
66
66
  </ul>
@@ -72,9 +72,9 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="groonga">
75
- <h1>13.2.1. groonga 通信アーキテクチャ<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
75
+ <h1>13.2.2. groonga 通信アーキテクチャ<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="gqtp">
77
- <h2>13.2.1.1. gqtpでのアーキテクチャ<a class="headerlink" href="#gqtp" title="Permalink to this headline">¶</a></h2>
77
+ <h2>13.2.2.1. gqtpでのアーキテクチャ<a class="headerlink" href="#gqtp" title="Permalink to this headline">¶</a></h2>
78
78
  <ul class="simple">
79
79
  <li>comが外部からの接続を受け付ける。</li>
80
80
  <li>comは1スレッド。</li>
@@ -99,18 +99,18 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
99
99
  <div class="sphinxsidebarwrapper">
100
100
  <h3><a href="../../index.html">Table Of Contents</a></h3>
101
101
  <ul>
102
- <li><a class="reference internal" href="#">13.2.1. groonga 通信アーキテクチャ</a><ul>
103
- <li><a class="reference internal" href="#gqtp">13.2.1.1. gqtpでのアーキテクチャ</a></li>
102
+ <li><a class="reference internal" href="#">13.2.2. groonga 通信アーキテクチャ</a><ul>
103
+ <li><a class="reference internal" href="#gqtp">13.2.2.1. gqtpでのアーキテクチャ</a></li>
104
104
  </ul>
105
105
  </li>
106
106
  </ul>
107
107
 
108
108
  <h4>Previous topic</h4>
109
- <p class="topless"><a href="../development.html"
110
- title="previous chapter">13.2. groonga開発者向け情報</a></p>
109
+ <p class="topless"><a href="repository.html"
110
+ title="previous chapter">13.2.1. Repository</a></p>
111
111
  <h4>Next topic</h4>
112
112
  <p class="topless"><a href="document.html"
113
- title="next chapter">13.2.2. ドキュメント作成</a></p>
113
+ title="next chapter">13.2.3. ドキュメント作成</a></p>
114
114
  <h3>This Page</h3>
115
115
  <ul class="this-page-menu">
116
116
  <li><a href="../../_sources/contribution/development/com.txt"
@@ -140,12 +140,12 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
140
140
  <a href="../../genindex.html" title="General Index"
141
141
  >index</a></li>
142
142
  <li class="right" >
143
- <a href="document.html" title="13.2.2. ドキュメント作成"
143
+ <a href="document.html" title="13.2.3. ドキュメント作成"
144
144
  >next</a> |</li>
145
145
  <li class="right" >
146
- <a href="../development.html" title="13.2. groonga開発者向け情報"
146
+ <a href="repository.html" title="13.2.1. Repository"
147
147
  >previous</a> |</li>
148
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
148
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
149
149
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
150
150
  <li><a href="../development.html" >13.2. groonga開発者向け情報</a> &raquo;</li>
151
151
  </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>13.2.2. ドキュメント作成 &mdash; groonga v2.1.2 documentation</title>
10
+ <title>13.2.3. ドキュメント作成 &mdash; groonga v3.0.2 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: '2.1.2',
18
+ VERSION: '3.0.2',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
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 v2.1.2 documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
29
29
  <link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
30
- <link rel="next" title="13.2.3. クエリの実現" href="query.html" />
31
- <link rel="prev" title="13.2.1. groonga 通信アーキテクチャ" href="com.html" />
30
+ <link rel="next" title="13.2.4. クエリの実現" href="query.html" />
31
+ <link rel="prev" title="13.2.2. groonga 通信アーキテクチャ" href="com.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -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="query.html" title="13.2.3. クエリの実現"
58
+ <a href="query.html" title="13.2.4. クエリの実現"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="com.html" title="13.2.1. groonga 通信アーキテクチャ"
61
+ <a href="com.html" title="13.2.2. groonga 通信アーキテクチャ"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
64
64
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
65
65
  <li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> &raquo;</li>
66
66
  </ul>
@@ -72,9 +72,9 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="id1">
75
- <h1>13.2.2. ドキュメント作成<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
75
+ <h1>13.2.3. ドキュメント作成<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
76
76
  <div class="section" id="sphinx">
77
- <h2>13.2.2.1. Sphinxのインストール<a class="headerlink" href="#sphinx" title="Permalink to this headline">¶</a></h2>
77
+ <h2>13.2.3.1. Sphinxのインストール<a class="headerlink" href="#sphinx" title="Permalink to this headline">¶</a></h2>
78
78
  <p>groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは以下のように導入します。:</p>
79
79
  <div class="highlight-none"><div class="highlight"><pre># aptitude install python-setuptools
80
80
  # easy_install -U sphinx
@@ -82,24 +82,24 @@
82
82
  </div>
83
83
  </div>
84
84
  <div class="section" id="html">
85
- <h2>13.2.2.2. htmlの作成<a class="headerlink" href="#html" title="Permalink to this headline">¶</a></h2>
85
+ <h2>13.2.3.2. htmlの作成<a class="headerlink" href="#html" title="Permalink to this headline">¶</a></h2>
86
86
  <p>以下のコマンドでhtmlが作成されます。:</p>
87
87
  <div class="highlight-none"><div class="highlight"><pre>% make html
88
88
  </pre></div>
89
89
  </div>
90
90
  </div>
91
91
  <div class="section" id="pdf">
92
- <h2>13.2.2.3. pdfの作成<a class="headerlink" href="#pdf" title="Permalink to this headline">¶</a></h2>
92
+ <h2>13.2.3.3. pdfの作成<a class="headerlink" href="#pdf" title="Permalink to this headline">¶</a></h2>
93
93
  <p>groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント(IPA Gothic/IPAexGothic)が必要となります。</p>
94
94
  <div class="section" id="rst2pdf">
95
- <h3>13.2.2.3.1. rst2pdfのインストール<a class="headerlink" href="#rst2pdf" title="Permalink to this headline">¶</a></h3>
95
+ <h3>13.2.3.3.1. rst2pdfのインストール<a class="headerlink" href="#rst2pdf" title="Permalink to this headline">¶</a></h3>
96
96
  <p>以下のようにしてインストールできます。:</p>
97
97
  <div class="highlight-none"><div class="highlight"><pre># easy_install rst2pdf
98
98
  </pre></div>
99
99
  </div>
100
100
  </div>
101
101
  <div class="section" id="id2">
102
- <h3>13.2.2.3.2. pdfの作成<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
102
+ <h3>13.2.3.3.2. pdfの作成<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
103
103
  <p>以下のコマンドでpdfが作成されます。:</p>
104
104
  <div class="highlight-none"><div class="highlight"><pre>% make pdf
105
105
  </pre></div>
@@ -116,12 +116,12 @@
116
116
  <div class="sphinxsidebarwrapper">
117
117
  <h3><a href="../../index.html">Table Of Contents</a></h3>
118
118
  <ul>
119
- <li><a class="reference internal" href="#">13.2.2. ドキュメント作成</a><ul>
120
- <li><a class="reference internal" href="#sphinx">13.2.2.1. Sphinxのインストール</a></li>
121
- <li><a class="reference internal" href="#html">13.2.2.2. htmlの作成</a></li>
122
- <li><a class="reference internal" href="#pdf">13.2.2.3. pdfの作成</a><ul>
123
- <li><a class="reference internal" href="#rst2pdf">13.2.2.3.1. rst2pdfのインストール</a></li>
124
- <li><a class="reference internal" href="#id2">13.2.2.3.2. pdfの作成</a></li>
119
+ <li><a class="reference internal" href="#">13.2.3. ドキュメント作成</a><ul>
120
+ <li><a class="reference internal" href="#sphinx">13.2.3.1. Sphinxのインストール</a></li>
121
+ <li><a class="reference internal" href="#html">13.2.3.2. htmlの作成</a></li>
122
+ <li><a class="reference internal" href="#pdf">13.2.3.3. pdfの作成</a><ul>
123
+ <li><a class="reference internal" href="#rst2pdf">13.2.3.3.1. rst2pdfのインストール</a></li>
124
+ <li><a class="reference internal" href="#id2">13.2.3.3.2. pdfの作成</a></li>
125
125
  </ul>
126
126
  </li>
127
127
  </ul>
@@ -130,10 +130,10 @@
130
130
 
131
131
  <h4>Previous topic</h4>
132
132
  <p class="topless"><a href="com.html"
133
- title="previous chapter">13.2.1. groonga 通信アーキテクチャ</a></p>
133
+ title="previous chapter">13.2.2. groonga 通信アーキテクチャ</a></p>
134
134
  <h4>Next topic</h4>
135
135
  <p class="topless"><a href="query.html"
136
- title="next chapter">13.2.3. クエリの実現</a></p>
136
+ title="next chapter">13.2.4. クエリの実現</a></p>
137
137
  <h3>This Page</h3>
138
138
  <ul class="this-page-menu">
139
139
  <li><a href="../../_sources/contribution/development/document.txt"
@@ -163,12 +163,12 @@
163
163
  <a href="../../genindex.html" title="General Index"
164
164
  >index</a></li>
165
165
  <li class="right" >
166
- <a href="query.html" title="13.2.3. クエリの実現"
166
+ <a href="query.html" title="13.2.4. クエリの実現"
167
167
  >next</a> |</li>
168
168
  <li class="right" >
169
- <a href="com.html" title="13.2.1. groonga 通信アーキテクチャ"
169
+ <a href="com.html" title="13.2.2. groonga 通信アーキテクチャ"
170
170
  >previous</a> |</li>
171
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
171
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
172
172
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
173
173
  <li><a href="../development.html" >13.2. groonga開発者向け情報</a> &raquo;</li>
174
174
  </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>13.2.3. クエリの実現 &mdash; groonga v2.1.2 documentation</title>
10
+ <title>13.2.4. クエリの実現 &mdash; groonga v3.0.2 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: '2.1.2',
18
+ VERSION: '3.0.2',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,10 +25,10 @@
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 v2.1.2 documentation" href="../../index.html" />
28
+ <link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
29
29
  <link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
30
- <link rel="next" title="13.2.5. リリース手順" href="release.html" />
31
- <link rel="prev" title="13.2.2. ドキュメント作成" href="document.html" />
30
+ <link rel="next" title="13.2.6. リリース手順" href="release.html" />
31
+ <link rel="prev" title="13.2.3. ドキュメント作成" href="document.html" />
32
32
  </head>
33
33
  <body>
34
34
  <div class="header">
@@ -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="release.html" title="13.2.5. リリース手順"
58
+ <a href="release.html" title="13.2.6. リリース手順"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="document.html" title="13.2.2. ドキュメント作成"
61
+ <a href="document.html" title="13.2.3. ドキュメント作成"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
64
64
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
65
65
  <li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> &raquo;</li>
66
66
  </ul>
@@ -72,27 +72,27 @@
72
72
  <div class="body">
73
73
 
74
74
  <div class="section" id="id1">
75
- <h1>13.2.3. クエリの実現<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
75
+ <h1>13.2.4. クエリの実現<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
76
76
  <p>groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をgroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、groongaは複数の手段を用意しています。</p>
77
77
  <div class="section" id="id2">
78
- <h2>13.2.3.1. クエリ実行のためのインタフェース<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
78
+ <h2>13.2.4.1. クエリ実行のためのインタフェース<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
79
79
  <p>groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドインタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供しています。</p>
80
80
  <p>クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する形で用意されています。以下に低レイヤなインタフェースから順に説明します。</p>
81
81
  <div class="section" id="db-api">
82
- <h3>13.2.3.1.1. DB_API<a class="headerlink" href="#db-api" title="Permalink to this headline">¶</a></h3>
82
+ <h3>13.2.4.1.1. DB_API<a class="headerlink" href="#db-api" title="Permalink to this headline">¶</a></h3>
83
83
  <p>DB_APIは、groongaデータベースを操作するための一群のC言語向けAPI関数を提供します。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供します。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができます。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによって実現されています。</p>
84
84
  </div>
85
85
  <div class="section" id="grn-expr">
86
- <h3>13.2.3.1.2. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h3>
86
+ <h3>13.2.4.1.2. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h3>
87
87
  <p>grn_exprは、groongaデータベースに対する検索処理や更新処理のための条件を表現するためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現することができます。grn_exprによって表現されたクエリを実行するためには、grn_table_select()関数を使用します。</p>
88
88
  </div>
89
89
  <div class="section" id="groonga">
90
- <h3>13.2.3.1.3. groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h3>
90
+ <h3>13.2.4.1.3. groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h3>
91
91
  <p>groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマンドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザがC言語で定義した関数を新たなコマンドとしてgroonga実行ファイルに組み込むことができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈してDB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができます。</p>
92
92
  </div>
93
93
  </div>
94
94
  <div class="section" id="id3">
95
- <h2>13.2.3.2. grn_exprで表現できるクエリ<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
95
+ <h2>13.2.4.2. grn_exprで表現できるクエリ<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
96
96
  <p>grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算子で結合したものです。</p>
97
97
  <p>論理演算子は、以下の3種類があります。</p>
98
98
  <div class="highlight-none"><div class="highlight"><pre>&amp;&amp; (論理積)
@@ -116,7 +116,7 @@ suffix()
116
116
  </div>
117
117
  </div>
118
118
  <div class="section" id="grn-table-select">
119
- <h2>13.2.3.3. grn_table_select()<a class="headerlink" href="#grn-table-select" title="Permalink to this headline">¶</a></h2>
119
+ <h2>13.2.4.3. grn_table_select()<a class="headerlink" href="#grn-table-select" title="Permalink to this headline">¶</a></h2>
120
120
  <p>grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使います。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映するかを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。</p>
121
121
  <div class="highlight-none"><div class="highlight"><pre>GRN_OP_OR
122
122
  GRN_OP_AND
@@ -128,34 +128,34 @@ GRN_OP_ADJUST
128
128
  <p>grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わせて可能な限り高速に指定されたクエリを実行しようとします。</p>
129
129
  </div>
130
130
  <div class="section" id="id4">
131
- <h2>13.2.3.4. 関係式<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
131
+ <h2>13.2.4.4. 関係式<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
132
132
  <p>関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係として表現します。いずれの関係式も、その関係が成り立ったときに評価されるcallback、コールバック関数に渡されるargとを引数として指定することができます。callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされます。主な関係式について説明します。</p>
133
133
  <div class="section" id="equal-v1-v2-arg-callback">
134
- <h3>13.2.3.4.1. equal(v1, v2, arg, callback)<a class="headerlink" href="#equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
134
+ <h3>13.2.4.4.1. equal(v1, v2, arg, callback)<a class="headerlink" href="#equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
135
135
  <p>v1の値とv2の値が等しいことを表します。</p>
136
136
  </div>
137
137
  <div class="section" id="not-equal-v1-v2-arg-callback">
138
- <h3>13.2.3.4.2. not_equal(v1, v2, arg, callback)<a class="headerlink" href="#not-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
138
+ <h3>13.2.4.4.2. not_equal(v1, v2, arg, callback)<a class="headerlink" href="#not-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
139
139
  <p>v1の値とv2の値が等しくないことを表します。</p>
140
140
  </div>
141
141
  <div class="section" id="less-v1-v2-arg-callback">
142
- <h3>13.2.3.4.3. less(v1, v2, arg, callback)<a class="headerlink" href="#less-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
142
+ <h3>13.2.4.4.3. less(v1, v2, arg, callback)<a class="headerlink" href="#less-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
143
143
  <p>v1の値がv2の値よりも小さいことを表します。</p>
144
144
  </div>
145
145
  <div class="section" id="greater-v1-v2-arg-callback">
146
- <h3>13.2.3.4.4. greater(v1, v2, arg, callback)<a class="headerlink" href="#greater-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
146
+ <h3>13.2.4.4.4. greater(v1, v2, arg, callback)<a class="headerlink" href="#greater-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
147
147
  <p>v1の値がv2の値よりも大きいことを表します。</p>
148
148
  </div>
149
149
  <div class="section" id="less-equal-v1-v2-arg-callback">
150
- <h3>13.2.3.4.5. less_equal(v1, v2, arg, callback)<a class="headerlink" href="#less-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
150
+ <h3>13.2.4.4.5. less_equal(v1, v2, arg, callback)<a class="headerlink" href="#less-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
151
151
  <p>v1の値がv2の値と等しいか小さいことを表します。</p>
152
152
  </div>
153
153
  <div class="section" id="greater-equal-v1-v2-arg-callback">
154
- <h3>13.2.3.4.6. greater_equal(v1, v2, arg, callback)<a class="headerlink" href="#greater-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
154
+ <h3>13.2.4.4.6. greater_equal(v1, v2, arg, callback)<a class="headerlink" href="#greater-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
155
155
  <p>v1の値がv2の値と等しいか大きいことを表します。</p>
156
156
  </div>
157
157
  <div class="section" id="contain-v1-v2-mode-arg-callback">
158
- <h3>13.2.3.4.7. contain(v1, v2, mode, arg, callback)<a class="headerlink" href="#contain-v1-v2-mode-arg-callback" title="Permalink to this headline">¶</a></h3>
158
+ <h3>13.2.4.4.7. contain(v1, v2, mode, arg, callback)<a class="headerlink" href="#contain-v1-v2-mode-arg-callback" title="Permalink to this headline">¶</a></h3>
159
159
  <p>v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されるとき、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれかを指定することができます。</p>
160
160
  <div class="highlight-none"><div class="highlight"><pre>EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致する(デフォルト)
161
161
  UNSPLIT: v2の値は要素に分解しない
@@ -166,28 +166,28 @@ PARTIAL: v1の値の要素がv2の値に中間一致する
166
166
  </div>
167
167
  </div>
168
168
  <div class="section" id="near-v1-v2-arg-callback">
169
- <h3>13.2.3.4.8. near(v1, v2, arg, callback)<a class="headerlink" href="#near-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
169
+ <h3>13.2.4.4.8. near(v1, v2, arg, callback)<a class="headerlink" href="#near-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
170
170
  <p>v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配列を渡します)</p>
171
171
  </div>
172
172
  <div class="section" id="similar-v1-v2-arg-callback">
173
- <h3>13.2.3.4.9. similar(v1, v2, arg, callback)<a class="headerlink" href="#similar-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
173
+ <h3>13.2.4.4.9. similar(v1, v2, arg, callback)<a class="headerlink" href="#similar-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
174
174
  <p>v1の値とv2の値が類似していることを表します。</p>
175
175
  </div>
176
176
  <div class="section" id="prefix-v1-v2-arg-callback">
177
- <h3>13.2.3.4.10. prefix(v1, v2, arg, callback)<a class="headerlink" href="#prefix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
177
+ <h3>13.2.4.4.10. prefix(v1, v2, arg, callback)<a class="headerlink" href="#prefix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
178
178
  <p>v1の値がv2の値に対して前方一致することを表します。</p>
179
179
  </div>
180
180
  <div class="section" id="suffix-v1-v2-arg-callback">
181
- <h3>13.2.3.4.11. suffix(v1, v2, arg, callback)<a class="headerlink" href="#suffix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
181
+ <h3>13.2.4.4.11. suffix(v1, v2, arg, callback)<a class="headerlink" href="#suffix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
182
182
  <p>v1の値がv2の値に対して後方一致することを表します。</p>
183
183
  </div>
184
184
  </div>
185
185
  </div>
186
186
  <div class="section" id="id5">
187
- <h1>13.2.4. クエリの実例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h1>
187
+ <h1>13.2.5. クエリの実例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h1>
188
188
  <p>grn_exprを使って様々な検索クエリを表現することができます。</p>
189
189
  <div class="section" id="id6">
190
- <h2>13.2.4.1. 検索例1<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
190
+ <h2>13.2.5.1. 検索例1<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
191
191
  <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
192
192
  grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
193
193
  grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1);
@@ -199,7 +199,7 @@ result = grn_table_select(ctx, table, query, NULL, GRN_OP_OR);
199
199
  <p>tableのcolumnの値がstringを含むレコードをresultに返します。columnの値が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1のみがヒットします。</p>
200
200
  </div>
201
201
  <div class="section" id="id7">
202
- <h2>13.2.4.2. 検索例2<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
202
+ <h2>13.2.5.2. 検索例2<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
203
203
  <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
204
204
  grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
205
205
  grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
@@ -223,7 +223,7 @@ grn_obj_close(ctx, query);
223
223
  <p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。次に、resultにセットされたレコードのうち、column2の値がstringにexactモードでヒットするレコードについては、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。</p>
224
224
  </div>
225
225
  <div class="section" id="id8">
226
- <h2>13.2.4.3. 検索例3<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
226
+ <h2>13.2.5.3. 検索例3<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
227
227
  <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
228
228
  grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
229
229
  grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
@@ -249,7 +249,7 @@ if (grn_table_size(ctx, result) &lt; t1) {
249
249
  <p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコア値にscore2を積算してresultに追加します。</p>
250
250
  </div>
251
251
  <div class="section" id="id9">
252
- <h2>13.2.4.4. 検索例4<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
252
+ <h2>13.2.5.4. 検索例4<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
253
253
  <div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
254
254
  grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
255
255
  grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1);
@@ -271,46 +271,46 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
271
271
  <div class="sphinxsidebarwrapper">
272
272
  <h3><a href="../../index.html">Table Of Contents</a></h3>
273
273
  <ul>
274
- <li><a class="reference internal" href="#">13.2.3. クエリの実現</a><ul>
275
- <li><a class="reference internal" href="#id2">13.2.3.1. クエリ実行のためのインタフェース</a><ul>
276
- <li><a class="reference internal" href="#db-api">13.2.3.1.1. DB_API</a></li>
277
- <li><a class="reference internal" href="#grn-expr">13.2.3.1.2. grn_expr</a></li>
278
- <li><a class="reference internal" href="#groonga">13.2.3.1.3. groonga実行ファイル</a></li>
274
+ <li><a class="reference internal" href="#">13.2.4. クエリの実現</a><ul>
275
+ <li><a class="reference internal" href="#id2">13.2.4.1. クエリ実行のためのインタフェース</a><ul>
276
+ <li><a class="reference internal" href="#db-api">13.2.4.1.1. DB_API</a></li>
277
+ <li><a class="reference internal" href="#grn-expr">13.2.4.1.2. grn_expr</a></li>
278
+ <li><a class="reference internal" href="#groonga">13.2.4.1.3. groonga実行ファイル</a></li>
279
279
  </ul>
280
280
  </li>
281
- <li><a class="reference internal" href="#id3">13.2.3.2. grn_exprで表現できるクエリ</a></li>
282
- <li><a class="reference internal" href="#grn-table-select">13.2.3.3. grn_table_select()</a></li>
283
- <li><a class="reference internal" href="#id4">13.2.3.4. 関係式</a><ul>
284
- <li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.2.3.4.1. equal(v1, v2, arg, callback)</a></li>
285
- <li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.2.3.4.2. not_equal(v1, v2, arg, callback)</a></li>
286
- <li><a class="reference internal" href="#less-v1-v2-arg-callback">13.2.3.4.3. less(v1, v2, arg, callback)</a></li>
287
- <li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.2.3.4.4. greater(v1, v2, arg, callback)</a></li>
288
- <li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.2.3.4.5. less_equal(v1, v2, arg, callback)</a></li>
289
- <li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.2.3.4.6. greater_equal(v1, v2, arg, callback)</a></li>
290
- <li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.2.3.4.7. contain(v1, v2, mode, arg, callback)</a></li>
291
- <li><a class="reference internal" href="#near-v1-v2-arg-callback">13.2.3.4.8. near(v1, v2, arg, callback)</a></li>
292
- <li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.2.3.4.9. similar(v1, v2, arg, callback)</a></li>
293
- <li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.2.3.4.10. prefix(v1, v2, arg, callback)</a></li>
294
- <li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.2.3.4.11. suffix(v1, v2, arg, callback)</a></li>
281
+ <li><a class="reference internal" href="#id3">13.2.4.2. grn_exprで表現できるクエリ</a></li>
282
+ <li><a class="reference internal" href="#grn-table-select">13.2.4.3. grn_table_select()</a></li>
283
+ <li><a class="reference internal" href="#id4">13.2.4.4. 関係式</a><ul>
284
+ <li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.2.4.4.1. equal(v1, v2, arg, callback)</a></li>
285
+ <li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.2.4.4.2. not_equal(v1, v2, arg, callback)</a></li>
286
+ <li><a class="reference internal" href="#less-v1-v2-arg-callback">13.2.4.4.3. less(v1, v2, arg, callback)</a></li>
287
+ <li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.2.4.4.4. greater(v1, v2, arg, callback)</a></li>
288
+ <li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.2.4.4.5. less_equal(v1, v2, arg, callback)</a></li>
289
+ <li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.2.4.4.6. greater_equal(v1, v2, arg, callback)</a></li>
290
+ <li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.2.4.4.7. contain(v1, v2, mode, arg, callback)</a></li>
291
+ <li><a class="reference internal" href="#near-v1-v2-arg-callback">13.2.4.4.8. near(v1, v2, arg, callback)</a></li>
292
+ <li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.2.4.4.9. similar(v1, v2, arg, callback)</a></li>
293
+ <li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.2.4.4.10. prefix(v1, v2, arg, callback)</a></li>
294
+ <li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.2.4.4.11. suffix(v1, v2, arg, callback)</a></li>
295
295
  </ul>
296
296
  </li>
297
297
  </ul>
298
298
  </li>
299
- <li><a class="reference internal" href="#id5">13.2.4. クエリの実例</a><ul>
300
- <li><a class="reference internal" href="#id6">13.2.4.1. 検索例1</a></li>
301
- <li><a class="reference internal" href="#id7">13.2.4.2. 検索例2</a></li>
302
- <li><a class="reference internal" href="#id8">13.2.4.3. 検索例3</a></li>
303
- <li><a class="reference internal" href="#id9">13.2.4.4. 検索例4</a></li>
299
+ <li><a class="reference internal" href="#id5">13.2.5. クエリの実例</a><ul>
300
+ <li><a class="reference internal" href="#id6">13.2.5.1. 検索例1</a></li>
301
+ <li><a class="reference internal" href="#id7">13.2.5.2. 検索例2</a></li>
302
+ <li><a class="reference internal" href="#id8">13.2.5.3. 検索例3</a></li>
303
+ <li><a class="reference internal" href="#id9">13.2.5.4. 検索例4</a></li>
304
304
  </ul>
305
305
  </li>
306
306
  </ul>
307
307
 
308
308
  <h4>Previous topic</h4>
309
309
  <p class="topless"><a href="document.html"
310
- title="previous chapter">13.2.2. ドキュメント作成</a></p>
310
+ title="previous chapter">13.2.3. ドキュメント作成</a></p>
311
311
  <h4>Next topic</h4>
312
312
  <p class="topless"><a href="release.html"
313
- title="next chapter">13.2.5. リリース手順</a></p>
313
+ title="next chapter">13.2.6. リリース手順</a></p>
314
314
  <h3>This Page</h3>
315
315
  <ul class="this-page-menu">
316
316
  <li><a href="../../_sources/contribution/development/query.txt"
@@ -340,12 +340,12 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
340
340
  <a href="../../genindex.html" title="General Index"
341
341
  >index</a></li>
342
342
  <li class="right" >
343
- <a href="release.html" title="13.2.5. リリース手順"
343
+ <a href="release.html" title="13.2.6. リリース手順"
344
344
  >next</a> |</li>
345
345
  <li class="right" >
346
- <a href="document.html" title="13.2.2. ドキュメント作成"
346
+ <a href="document.html" title="13.2.3. ドキュメント作成"
347
347
  >previous</a> |</li>
348
- <li><a href="../../index.html">groonga v2.1.2 documentation</a> &raquo;</li>
348
+ <li><a href="../../index.html">groonga v3.0.2 documentation</a> &raquo;</li>
349
349
  <li><a href="../../contribution.html" >13. How to contribute to groonga</a> &raquo;</li>
350
350
  <li><a href="../development.html" >13.2. groonga開発者向け情報</a> &raquo;</li>
351
351
  </ul>