rroonga 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. data/AUTHORS +5 -0
  2. data/Gemfile +1 -12
  3. data/README.textile +73 -0
  4. data/Rakefile +4 -57
  5. data/bin/grndump +11 -1
  6. data/ext/groonga/extconf.rb +125 -54
  7. data/ext/groonga/rb-grn-context.c +25 -7
  8. data/ext/groonga/rb-grn-database.c +25 -0
  9. data/ext/groonga/rb-grn-object.c +19 -7
  10. data/ext/groonga/rb-grn-table.c +8 -10
  11. data/ext/groonga/rb-grn.h +9 -2
  12. data/lib/1.8/groonga.so +0 -0
  13. data/lib/1.9/groonga.so +0 -0
  14. data/lib/groonga/dumper.rb +2 -2
  15. data/lib/groonga/expression-builder.rb +33 -18
  16. data/rroonga-build.rb +1 -1
  17. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  18. data/vendor/local/bin/groonga.exe +0 -0
  19. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  20. data/vendor/local/bin/libgroonga-0.dll +0 -0
  21. data/vendor/local/bin/libmecab-1.dll +0 -0
  22. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  23. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  24. data/vendor/local/bin/libstdc++-6.dll +0 -0
  25. data/vendor/local/bin/mecab-config +0 -0
  26. data/vendor/local/bin/mecab.exe +0 -0
  27. data/vendor/local/include/groonga/groonga.h +5 -5
  28. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  29. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  30. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  31. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
  32. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  33. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  34. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
  36. data/vendor/local/lib/libgroonga.a +0 -0
  37. data/vendor/local/lib/libgroonga.dll.a +0 -0
  38. data/vendor/local/lib/libgroonga.la +0 -0
  39. data/vendor/local/lib/libmecab.a +0 -0
  40. data/vendor/local/lib/libmecab.dll.a +0 -0
  41. data/vendor/local/lib/libmecab.la +0 -0
  42. data/vendor/local/lib/libmsgpack.a +0 -0
  43. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  44. data/vendor/local/lib/libmsgpack.la +0 -0
  45. data/vendor/local/lib/libmsgpackc.a +0 -0
  46. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  47. data/vendor/local/lib/libmsgpackc.la +0 -0
  48. data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
  49. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  50. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  51. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  52. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  53. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  54. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  55. data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +349 -109
  56. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +41 -10
  57. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +71 -0
  58. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
  59. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +154 -4
  60. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +21 -29
  61. data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
  62. data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
  63. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
  64. data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
  65. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
  66. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
  67. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
  68. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
  69. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
  70. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
  71. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
  72. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
  73. data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
  74. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
  75. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
  76. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
  77. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/commands/select.html +683 -162
  79. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
  80. data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
  81. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +170 -12
  82. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
  83. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
  84. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
  85. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
  86. data/vendor/local/share/doc/groonga/en/html/commands.html +5 -5
  87. data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
  88. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
  89. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
  90. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
  91. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
  92. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
  93. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
  94. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
  95. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
  96. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
  97. data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
  98. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
  99. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
  100. data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
  101. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
  102. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
  103. data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
  104. data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
  105. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
  106. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
  107. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
  108. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
  109. data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
  110. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +5 -5
  111. data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
  112. data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
  113. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
  114. data/vendor/local/share/doc/groonga/en/html/index.html +23 -16
  115. data/vendor/local/share/doc/groonga/en/html/indexing.html +95 -14
  116. data/vendor/local/share/doc/groonga/en/html/install.html +67 -37
  117. data/vendor/local/share/doc/groonga/en/html/limitations.html +9 -9
  118. data/vendor/local/share/doc/groonga/en/html/log.html +5 -5
  119. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
  120. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
  121. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
  122. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
  123. data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
  124. data/vendor/local/share/doc/groonga/en/html/news.html +161 -25
  125. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  126. data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
  127. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
  128. data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
  129. data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
  130. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  131. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
  132. data/vendor/local/share/doc/groonga/en/html/spec.html +13 -11
  133. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +33 -6
  134. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +33 -6
  135. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
  136. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +37 -6
  137. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
  138. data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
  139. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  140. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
  141. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +293 -29
  142. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
  143. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +340 -27
  144. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
  145. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
  146. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +282 -24
  147. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +524 -15
  148. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +103 -8
  149. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +128 -13
  150. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +155 -17
  151. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
  152. data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
  153. data/vendor/local/share/doc/groonga/en/html/type.html +5 -5
  154. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  155. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +349 -109
  156. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +41 -10
  157. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +71 -0
  158. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
  159. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +154 -4
  160. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +21 -29
  161. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
  162. data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
  163. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
  164. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
  165. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
  166. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
  167. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
  168. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
  169. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
  170. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
  171. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
  172. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
  173. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
  174. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
  175. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
  176. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
  177. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
  178. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +601 -162
  179. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
  180. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
  181. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +170 -12
  182. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
  183. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
  184. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
  185. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
  186. data/vendor/local/share/doc/groonga/ja/html/commands.html +5 -5
  187. data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
  188. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
  189. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
  190. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
  191. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
  192. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
  193. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
  194. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
  195. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
  196. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
  197. data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
  198. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
  199. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
  200. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
  201. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
  202. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
  203. data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
  204. data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
  205. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
  206. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
  207. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
  208. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
  209. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
  210. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +5 -5
  211. data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
  212. data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
  213. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
  214. data/vendor/local/share/doc/groonga/ja/html/index.html +23 -16
  215. data/vendor/local/share/doc/groonga/ja/html/indexing.html +95 -14
  216. data/vendor/local/share/doc/groonga/ja/html/install.html +66 -37
  217. data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -9
  218. data/vendor/local/share/doc/groonga/ja/html/log.html +5 -5
  219. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
  220. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
  221. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
  222. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
  223. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
  224. data/vendor/local/share/doc/groonga/ja/html/news.html +147 -25
  225. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  226. data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
  227. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
  228. data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
  229. data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
  230. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  231. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
  232. data/vendor/local/share/doc/groonga/ja/html/spec.html +13 -11
  233. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +33 -6
  234. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -6
  235. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
  236. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +37 -6
  237. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
  238. data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
  239. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
  240. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
  241. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +292 -28
  242. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
  243. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +340 -27
  244. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
  245. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
  246. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +282 -24
  247. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +524 -15
  248. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +103 -8
  249. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +128 -13
  250. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +155 -17
  251. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
  252. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
  253. data/vendor/local/share/doc/groonga/ja/html/type.html +5 -5
  254. data/vendor/local/share/doc/groonga/source/commands/select.txt +349 -109
  255. data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +28 -1
  256. data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +28 -1
  257. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +1 -1
  258. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +1 -1
  259. data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +1 -1
  260. data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +74 -1
  261. data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +32 -1
  262. data/vendor/local/share/doc/groonga/source/conf.py +3 -3
  263. data/vendor/local/share/doc/groonga/source/example/completion-1.log +28 -1
  264. data/vendor/local/share/doc/groonga/source/example/correction-1.log +28 -1
  265. data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +32 -1
  266. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +1 -1
  267. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +38 -3
  268. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +46 -4
  269. data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +38 -3
  270. data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +38 -3
  271. data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +38 -3
  272. data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +40 -3
  273. data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +48 -3
  274. data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +6 -6
  275. data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +100 -3
  276. data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +5 -5
  277. data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +80 -2
  278. data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +75 -1
  279. data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +31 -4
  280. data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +38 -1
  281. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +7 -7
  282. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +132 -3
  283. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +6 -6
  284. data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +132 -3
  285. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +32 -1
  286. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +95 -1
  287. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +32 -1
  288. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +32 -1
  289. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +86 -1
  290. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +32 -1
  291. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +70 -1
  292. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +51 -1
  293. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +55 -1
  294. data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +34 -1
  295. data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +18 -1
  296. data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +80 -2
  297. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +34 -3
  298. data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +89 -5
  299. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +8 -8
  300. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +66 -2
  301. data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +76 -2
  302. data/vendor/local/share/doc/groonga/source/install.txt +41 -10
  303. data/vendor/local/share/doc/groonga/source/news.txt +71 -0
  304. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +1 -1
  305. data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
  306. data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +1 -1
  307. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
  308. data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +1 -1
  309. data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
  310. data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +1 -1
  311. data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
  312. data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +1 -1
  313. data/vendor/local/share/groonga/html/admin/css/{admin.css → groonga-admin.css} +5 -4
  314. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  315. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  316. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  317. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  318. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  319. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  320. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  321. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  322. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ffd27a_256x240.png → redmond/images/ui-icons_217bc0_256x240.png} +0 -0
  323. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_222222_256x240.png → redmond/images/ui-icons_2e83ff_256x240.png} +0 -0
  324. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_228ef1_256x240.png → redmond/images/ui-icons_469bdd_256x240.png} +0 -0
  325. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  326. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  327. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/images/ui-icons_ef8c08_256x240.png → redmond/images/ui-icons_d8e7f3_256x240.png} +0 -0
  328. data/vendor/local/share/groonga/html/admin/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  329. data/vendor/local/share/groonga/html/admin/css/{ui-lightness/jquery-ui-1.8.1.custom.css → redmond/jquery-ui-1.8.18.custom.css} +169 -90
  330. data/vendor/local/share/groonga/html/admin/images/groonga.svg +121 -0
  331. data/vendor/local/share/groonga/html/admin/index.html +44 -1145
  332. data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +1354 -0
  333. data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +4 -0
  334. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +356 -0
  335. data/vendor/local/share/man/ja/man1/groonga.1 +2813 -331
  336. data/vendor/local/share/man/man1/groonga.1 +2898 -337
  337. data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
  338. data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
  339. metadata +988 -921
  340. data/test/groonga-test-utils.rb +0 -139
  341. data/test/run-test.rb +0 -60
  342. data/test/test-accessor.rb +0 -36
  343. data/test/test-array.rb +0 -123
  344. data/test/test-column.rb +0 -350
  345. data/test/test-command-select.rb +0 -147
  346. data/test/test-context.rb +0 -130
  347. data/test/test-database-dumper.rb +0 -259
  348. data/test/test-database.rb +0 -148
  349. data/test/test-double-array-trie.rb +0 -164
  350. data/test/test-encoding.rb +0 -33
  351. data/test/test-exception.rb +0 -96
  352. data/test/test-expression-builder.rb +0 -269
  353. data/test/test-expression.rb +0 -134
  354. data/test/test-fix-size-column.rb +0 -77
  355. data/test/test-gqtp.rb +0 -70
  356. data/test/test-hash.rb +0 -344
  357. data/test/test-index-column.rb +0 -180
  358. data/test/test-index-cursor.rb +0 -93
  359. data/test/test-logger.rb +0 -37
  360. data/test/test-pagination.rb +0 -249
  361. data/test/test-patricia-trie.rb +0 -415
  362. data/test/test-plugin.rb +0 -35
  363. data/test/test-procedure.rb +0 -37
  364. data/test/test-query-log.rb +0 -258
  365. data/test/test-record.rb +0 -569
  366. data/test/test-remote.rb +0 -63
  367. data/test/test-schema-create-table.rb +0 -267
  368. data/test/test-schema-dumper.rb +0 -235
  369. data/test/test-schema-type.rb +0 -208
  370. data/test/test-schema-view.rb +0 -90
  371. data/test/test-schema.rb +0 -886
  372. data/test/test-snippet.rb +0 -130
  373. data/test/test-table-cursor.rb +0 -187
  374. data/test/test-table-dumper.rb +0 -83
  375. data/test/test-table-offset-and-limit.rb +0 -100
  376. data/test/test-table-select-mecab.rb +0 -80
  377. data/test/test-table-select-normalize.rb +0 -57
  378. data/test/test-table-select-weight.rb +0 -123
  379. data/test/test-table-select.rb +0 -191
  380. data/test/test-table.rb +0 -675
  381. data/test/test-type.rb +0 -79
  382. data/test/test-variable-size-column.rb +0 -147
  383. data/test/test-variable.rb +0 -28
  384. data/test/test-vector-column.rb +0 -76
  385. data/test/test-version.rb +0 -61
  386. data/test/test-view.rb +0 -72
  387. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  388. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  389. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  390. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  391. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  392. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  393. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  394. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  395. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  396. data/vendor/local/share/groonga/html/admin/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  397. data/vendor/local/share/groonga/html/admin/js/jquery-1.4.2.min.js +0 -154
  398. data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.1.custom.min.js +0 -756
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>4.6. タグ検索・参照関係の逆引き &mdash; groonga v2.0.0 documentation</title>
12
+ <title>4.6. タグ検索・参照関係の逆引き &mdash; groonga v2.0.2 documentation</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.0',
20
+ VERSION: '2.0.2',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.0 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
31
31
  <link rel="up" title="4. Tutorial" href="../tutorial.html" />
32
32
  <link rel="next" title="4.7. match_columnsパラメータ" href="match_columns.html" />
33
33
  <link rel="prev" title="4.5. ドリルダウン" href="drilldown.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="drilldown.html" title="4.5. ドリルダウン"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
66
66
  <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
@@ -84,15 +84,15 @@
84
84
  タグの情報を保存する、Tagテーブルを作成します。Tagテーブルでは、タグ文字列を主キーに格納し、Videoテーブルのtagsカラムに対するインデックスをindex_tagsカラムに格納しています。</p>
85
85
  <p>Execution example:</p>
86
86
  <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32
87
- [[0,1317212832.70606,0.061331715],true]
87
+ [[0,1335519627.03224,0.000266790390014648],true]
88
88
  &gt; table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText
89
- [[0,1317212832.968,0.039868236],true]
89
+ [[0,1335519627.23315,0.000222206115722656],true]
90
90
  &gt; column_create --table Video --name title --flags COLUMN_SCALAR --type ShortText
91
- [[0,1317212833.20833,0.040494862],true]
91
+ [[0,1335519627.43389,0.000550031661987305],true]
92
92
  &gt; column_create --table Video --name tags --flags COLUMN_VECTOR --type Tag
93
- [[0,1317212833.44939,0.051861409],true]
93
+ [[0,1335519627.63497,0.000490188598632812],true]
94
94
  &gt; column_create --table Tag --name index_tags --flags COLUMN_INDEX --type Video --source tags
95
- [[0,1317212833.70185,0.092878953],true]
95
+ [[0,1335519627.83602,0.0032198429107666],true]
96
96
  &gt; load --table Video
97
97
  &gt; [
98
98
  &gt; {&quot;_key&quot;:1,&quot;title&quot;:&quot;Soccer 2010&quot;,&quot;tags&quot;:[&quot;Sports&quot;,&quot;Soccer&quot;]},
@@ -104,18 +104,115 @@
104
104
  &gt; {&quot;_key&quot;:7,&quot;title&quot;:&quot;Draw 8 Month&quot;,&quot;tags&quot;:[&quot;Animation&quot;,&quot;Raccoon&quot;]},
105
105
  &gt; {&quot;_key&quot;:8,&quot;title&quot;:&quot;K.O.&quot;,&quot;tags&quot;:[&quot;Animation&quot;,&quot;Music&quot;]}
106
106
  &gt; ]
107
- [[0,1317212833.99531,2.002850011],8]
107
+ [[0,1335519628.03974,2.00352549552917],8]
108
108
  </pre></div>
109
109
  </div>
110
110
  <p>インデックスカラムを作成すると、全文検索が高速に行えるようになります。インデックスカラムは、対象のカラムに保存されたデータに更新があったとき、自動的に更新されます。</p>
111
111
  <p>「ある語句が付与されている動画の一覧を取得する」検索を行いましょう。</p>
112
112
  <p>Execution example:</p>
113
113
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Video --query tags:@Variety --output_columns _key,title
114
- [[0,1317212836.19894,0.000330108],[[[2],[[&quot;_key&quot;,&quot;UInt32&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[2,&quot;Zenigata Kinjirou&quot;],[5,&quot;Hex Gone!&quot;]]]]
114
+ [
115
+ [
116
+ 0,
117
+ 1335519630.24437,
118
+ 0.000667810440063477
119
+ ],
120
+ [
121
+ [
122
+ [
123
+ 2
124
+ ],
125
+ [
126
+ [
127
+ &quot;_key&quot;,
128
+ &quot;UInt32&quot;
129
+ ],
130
+ [
131
+ &quot;title&quot;,
132
+ &quot;ShortText&quot;
133
+ ]
134
+ ],
135
+ [
136
+ 2,
137
+ &quot;Zenigata Kinjirou&quot;
138
+ ],
139
+ [
140
+ 5,
141
+ &quot;Hex Gone!&quot;
142
+ ]
143
+ ]
144
+ ]
145
+ ]
115
146
  &gt; select --table Video --query tags:@Sports --output_columns _key,title
116
- [[0,1317212836.39998,0.000316897],[[[2],[[&quot;_key&quot;,&quot;UInt32&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;Soccer 2010&quot;],[4,&quot;Moero!! Ultra Baseball&quot;]]]]
147
+ [
148
+ [
149
+ 0,
150
+ 1335519630.44675,
151
+ 0.000470399856567383
152
+ ],
153
+ [
154
+ [
155
+ [
156
+ 2
157
+ ],
158
+ [
159
+ [
160
+ &quot;_key&quot;,
161
+ &quot;UInt32&quot;
162
+ ],
163
+ [
164
+ &quot;title&quot;,
165
+ &quot;ShortText&quot;
166
+ ]
167
+ ],
168
+ [
169
+ 1,
170
+ &quot;Soccer 2010&quot;
171
+ ],
172
+ [
173
+ 4,
174
+ &quot;Moero!! Ultra Baseball&quot;
175
+ ]
176
+ ]
177
+ ]
178
+ ]
117
179
  &gt; select --table Video --query tags:@Animation --output_columns _key,title
118
- [[0,1317212836.60111,0.000349157],[[[3],[[&quot;_key&quot;,&quot;UInt32&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[6,&quot;Pikonyan 1&quot;],[7,&quot;Draw 8 Month&quot;],[8,&quot;K.O.&quot;]]]]
180
+ [
181
+ [
182
+ 0,
183
+ 1335519630.64889,
184
+ 0.000455856323242188
185
+ ],
186
+ [
187
+ [
188
+ [
189
+ 3
190
+ ],
191
+ [
192
+ [
193
+ &quot;_key&quot;,
194
+ &quot;UInt32&quot;
195
+ ],
196
+ [
197
+ &quot;title&quot;,
198
+ &quot;ShortText&quot;
199
+ ]
200
+ ],
201
+ [
202
+ 6,
203
+ &quot;Pikonyan 1&quot;
204
+ ],
205
+ [
206
+ 7,
207
+ &quot;Draw 8 Month&quot;
208
+ ],
209
+ [
210
+ 8,
211
+ &quot;K.O.&quot;
212
+ ]
213
+ ]
214
+ ]
215
+ ]
119
216
  </pre></div>
120
217
  </div>
121
218
  <p>このように、「Variety」、「Sports」、「Animation」のようなタグで検索を行うことができました。</p>
@@ -127,13 +224,13 @@
127
224
  <p>以下の例では、ユーザー情報を格納するUserテーブルを作成し、ユーザー名を格納するusernameカラム、ユーザーの友人一覧を配列で格納するfriendsカラムとそのインデックスのindex_friendsカラムを追加しています。</p>
128
225
  <p>Execution example:</p>
129
226
  <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name User --flags TABLE_HASH_KEY --key_type ShortText
130
- [[0,1317212836.80268,0.048923839],true]
227
+ [[0,1335519630.85121,0.00020289421081543],true]
131
228
  &gt; column_create --table User --name username --flags COLUMN_SCALAR --type ShortText
132
- [[0,1317212837.05226,0.040322616],true]
229
+ [[0,1335519631.05176,0.00130391120910645],true]
133
230
  &gt; column_create --table User --name friends --flags COLUMN_VECTOR --type User
134
- [[0,1317212837.29306,0.039978793],true]
231
+ [[0,1335519631.25402,0.000970840454101562],true]
135
232
  &gt; column_create --table User --name index_friends --flags COLUMN_INDEX --type User --source friends
136
- [[0,1317212837.53369,0.067271637],true]
233
+ [[0,1335519631.45581,0.00640487670898438],true]
137
234
  &gt; load --table User
138
235
  &gt; [
139
236
  &gt; {&quot;_key&quot;:&quot;ken&quot;,&quot;username&quot;:&quot;健作&quot;,&quot;friends&quot;:[&quot;taro&quot;,&quot;jiro&quot;,&quot;tomo&quot;,&quot;moritapo&quot;]}
@@ -143,21 +240,173 @@
143
240
  &gt; {&quot;_key&quot;:&quot;tomo&quot;,&quot;username&quot;:&quot;トモちゃん&quot;,&quot;friends&quot;:[&quot;ken&quot;,&quot;hana&quot;]}
144
241
  &gt; {&quot;_key&quot;:&quot;hana&quot;,&quot;username&quot;:&quot;花子&quot;,&quot;friends&quot;:[&quot;ken&quot;,&quot;taro&quot;,&quot;jiro&quot;,&quot;moritapo&quot;,&quot;tomo&quot;]}
145
242
  &gt; ]
146
- [[0,1317212837.80152,1.602221355],6]
243
+ [[0,1335519631.6631,1.60283184051514],6]
147
244
  </pre></div>
148
245
  </div>
149
246
  <p>指定したユーザーを友人リストに入れているユーザーの一覧を表示してみましょう。</p>
150
247
  <p>Execution example:</p>
151
248
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table User --query friends:@tomo --output_columns _key,username
152
- [[0,1317212839.60442,0.000260617],[[[5],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;username&quot;,&quot;ShortText&quot;]],[&quot;ken&quot;,&quot;健作&quot;],[&quot;taro&quot;,&quot;ぐるんが太郎&quot;],[&quot;jiro&quot;,&quot;ぐるんが次郎&quot;],[&quot;moritapo&quot;,&quot;森田&quot;],[&quot;hana&quot;,&quot;花子&quot;]]]]
249
+ [
250
+ [
251
+ 0,
252
+ 1335519633.46704,
253
+ 0.000623941421508789
254
+ ],
255
+ [
256
+ [
257
+ [
258
+ 5
259
+ ],
260
+ [
261
+ [
262
+ &quot;_key&quot;,
263
+ &quot;ShortText&quot;
264
+ ],
265
+ [
266
+ &quot;username&quot;,
267
+ &quot;ShortText&quot;
268
+ ]
269
+ ],
270
+ [
271
+ &quot;ken&quot;,
272
+ &quot;健作&quot;
273
+ ],
274
+ [
275
+ &quot;taro&quot;,
276
+ &quot;ぐるんが太郎&quot;
277
+ ],
278
+ [
279
+ &quot;jiro&quot;,
280
+ &quot;ぐるんが次郎&quot;
281
+ ],
282
+ [
283
+ &quot;moritapo&quot;,
284
+ &quot;森田&quot;
285
+ ],
286
+ [
287
+ &quot;hana&quot;,
288
+ &quot;花子&quot;
289
+ ]
290
+ ]
291
+ ]
292
+ ]
153
293
  &gt; select --table User --query friends:@jiro --output_columns _key,username
154
- [[0,1317212839.80577,0.000253172],[[[3],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;username&quot;,&quot;ShortText&quot;]],[&quot;ken&quot;,&quot;健作&quot;],[&quot;taro&quot;,&quot;ぐるんが太郎&quot;],[&quot;hana&quot;,&quot;花子&quot;]]]]
294
+ [
295
+ [
296
+ 0,
297
+ 1335519633.67028,
298
+ 0.000344514846801758
299
+ ],
300
+ [
301
+ [
302
+ [
303
+ 3
304
+ ],
305
+ [
306
+ [
307
+ &quot;_key&quot;,
308
+ &quot;ShortText&quot;
309
+ ],
310
+ [
311
+ &quot;username&quot;,
312
+ &quot;ShortText&quot;
313
+ ]
314
+ ],
315
+ [
316
+ &quot;ken&quot;,
317
+ &quot;健作&quot;
318
+ ],
319
+ [
320
+ &quot;taro&quot;,
321
+ &quot;ぐるんが太郎&quot;
322
+ ],
323
+ [
324
+ &quot;hana&quot;,
325
+ &quot;花子&quot;
326
+ ]
327
+ ]
328
+ ]
329
+ ]
155
330
  </pre></div>
156
331
  </div>
157
332
  <p>さらに、ドリルダウンを使って、友人リストに入っている数の一覧を表示してみましょう。</p>
158
333
  <p>Execution example:</p>
159
334
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table User --limit 0 --drilldown friends
160
- [[0,1317212840.00717,0.000223187],[[[6],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;username&quot;,&quot;ShortText&quot;],[&quot;index_friends&quot;,&quot;User&quot;],[&quot;friends&quot;,&quot;User&quot;]]],[[6],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;_nsubrecs&quot;,&quot;Int32&quot;]],[&quot;taro&quot;,3],[&quot;jiro&quot;,3],[&quot;tomo&quot;,5],[&quot;moritapo&quot;,2],[&quot;ken&quot;,3],[&quot;hana&quot;,1]]]]
335
+ [
336
+ [
337
+ 0,
338
+ 1335519633.87264,
339
+ 0.000327825546264648
340
+ ],
341
+ [
342
+ [
343
+ [
344
+ 6
345
+ ],
346
+ [
347
+ [
348
+ &quot;_id&quot;,
349
+ &quot;UInt32&quot;
350
+ ],
351
+ [
352
+ &quot;_key&quot;,
353
+ &quot;ShortText&quot;
354
+ ],
355
+ [
356
+ &quot;friends&quot;,
357
+ &quot;User&quot;
358
+ ],
359
+ [
360
+ &quot;index_friends&quot;,
361
+ &quot;User&quot;
362
+ ],
363
+ [
364
+ &quot;username&quot;,
365
+ &quot;ShortText&quot;
366
+ ]
367
+ ]
368
+ ],
369
+ [
370
+ [
371
+ 6
372
+ ],
373
+ [
374
+ [
375
+ &quot;_key&quot;,
376
+ &quot;ShortText&quot;
377
+ ],
378
+ [
379
+ &quot;_nsubrecs&quot;,
380
+ &quot;Int32&quot;
381
+ ]
382
+ ],
383
+ [
384
+ &quot;taro&quot;,
385
+ 3
386
+ ],
387
+ [
388
+ &quot;jiro&quot;,
389
+ 3
390
+ ],
391
+ [
392
+ &quot;tomo&quot;,
393
+ 5
394
+ ],
395
+ [
396
+ &quot;moritapo&quot;,
397
+ 2
398
+ ],
399
+ [
400
+ &quot;ken&quot;,
401
+ 3
402
+ ],
403
+ [
404
+ &quot;hana&quot;,
405
+ 1
406
+ ]
407
+ ]
408
+ ]
409
+ ]
161
410
  </pre></div>
162
411
  </div>
163
412
  <p>このように、テーブルの参照関係を逆にたどる検索ができました。</p>
@@ -167,23 +416,87 @@
167
416
  <p>位置情報のカラムに対して、インデックスを付与することが出来ます。大量の位置情報レコードを検索する場合に、検索速度が速くなります。</p>
168
417
  <p>Execution example:</p>
169
418
  <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint
170
- [[0,1317212840.20962,0.088534001],true]
419
+ [[0,1335519634.07459,0.00024867057800293],true]
171
420
  &gt; column_create --table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source location
172
- [[0,1317212840.49869,0.093704431],true]
421
+ [[0,1335519634.2754,0.00743818283081055],true]
173
422
  &gt; load --table Site
174
423
  &gt; [
175
424
  &gt; {&quot;_key&quot;:&quot;http://example.org/&quot;,&quot;location&quot;:&quot;128452975x503157902&quot;},
176
425
  &gt; {&quot;_key&quot;:&quot;http://example.net/&quot;,&quot;location&quot;:&quot;128487316x502920929&quot;}
177
426
  &gt; ]
178
- [[0,1317212840.79332,0.801438285],2]
427
+ [[0,1335519634.48372,0.801371812820435],2]
179
428
  &gt; select --table Site --filter &#39;geo_in_circle(location, &quot;128515259x503187188&quot;, 5000)&#39; --output_columns _key,location
180
- [[0,1317212841.79563,0.000626003],[[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;location&quot;,&quot;WGS84GeoPoint&quot;]],[&quot;http://example.org/&quot;,&quot;128452975x503157902&quot;]]]]
429
+ [
430
+ [
431
+ 0,
432
+ 1335519635.48562,
433
+ 0.000363826751708984
434
+ ],
435
+ [
436
+ [
437
+ [
438
+ 1
439
+ ],
440
+ [
441
+ [
442
+ &quot;_key&quot;,
443
+ &quot;ShortText&quot;
444
+ ],
445
+ [
446
+ &quot;location&quot;,
447
+ &quot;WGS84GeoPoint&quot;
448
+ ]
449
+ ],
450
+ [
451
+ &quot;http://example.org/&quot;,
452
+ &quot;128452975x503157902&quot;
453
+ ]
454
+ ]
455
+ ]
456
+ ]
181
457
  </pre></div>
182
458
  </div>
183
459
  <p>同様に、位置情報レコードを用いてソートする場合に、ソート速度が速くなります。</p>
184
460
  <p>Execution example:</p>
185
461
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --filter &#39;geo_in_circle(location, &quot;128515259x503187188&quot;, 50000)&#39; --output_columns _key,location,_score --sortby &#39;-geo_distance(location, &quot;128515259x503187188&quot;)&#39; --scorer &#39;_score = geo_distance(location, &quot;128515259x503187188&quot;)&#39;
186
- [[0,1317212841.99878,0.0011657],[[[2],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;location&quot;,&quot;WGS84GeoPoint&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;http://example.org/&quot;,&quot;128452975x503157902&quot;,2054],[&quot;http://example.net/&quot;,&quot;128487316x502920929&quot;,6720]]]]
462
+ [
463
+ [
464
+ 0,
465
+ 1335519635.68736,
466
+ 0.000502824783325195
467
+ ],
468
+ [
469
+ [
470
+ [
471
+ 2
472
+ ],
473
+ [
474
+ [
475
+ &quot;_key&quot;,
476
+ &quot;ShortText&quot;
477
+ ],
478
+ [
479
+ &quot;location&quot;,
480
+ &quot;WGS84GeoPoint&quot;
481
+ ],
482
+ [
483
+ &quot;_score&quot;,
484
+ &quot;Int32&quot;
485
+ ]
486
+ ],
487
+ [
488
+ &quot;http://example.org/&quot;,
489
+ &quot;128452975x503157902&quot;,
490
+ 2054
491
+ ],
492
+ [
493
+ &quot;http://example.net/&quot;,
494
+ &quot;128487316x502920929&quot;,
495
+ 6720
496
+ ]
497
+ ]
498
+ ]
499
+ ]
187
500
  </pre></div>
188
501
  </div>
189
502
  </div>
@@ -245,7 +558,7 @@
245
558
  <li class="right" >
246
559
  <a href="drilldown.html" title="4.5. ドリルダウン"
247
560
  >previous</a> |</li>
248
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
561
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
249
562
  <li><a href="../tutorial.html" >4. Tutorial</a> &raquo;</li>
250
563
  </ul>
251
564
  </div>
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>4.1. Basic operations &mdash; groonga v2.0.0 documentation</title>
12
+ <title>4.1. Basic operations &mdash; groonga v2.0.2 documentation</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.0',
20
+ VERSION: '2.0.2',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.0 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
31
31
  <link rel="up" title="4. Tutorial" href="../tutorial.html" />
32
32
  <link rel="next" title="4.2. Remote access" href="network.html" />
33
33
  <link rel="prev" title="4. Tutorial" href="../tutorial.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="../tutorial.html" title="4. Tutorial"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
66
66
  <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
@@ -393,7 +393,7 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
393
393
  <li class="right" >
394
394
  <a href="../tutorial.html" title="4. Tutorial"
395
395
  >previous</a> |</li>
396
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
396
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
397
397
  <li><a href="../tutorial.html" >4. Tutorial</a> &raquo;</li>
398
398
  </ul>
399
399
  </div>
@@ -9,7 +9,7 @@
9
9
  <head>
10
10
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
11
 
12
- <title>4.9. 全文検索の語彙表に対する追加情報 &mdash; groonga v2.0.0 documentation</title>
12
+ <title>4.9. 全文検索の語彙表に対する追加情報 &mdash; groonga v2.0.2 documentation</title>
13
13
 
14
14
  <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
15
15
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript">
18
18
  var DOCUMENTATION_OPTIONS = {
19
19
  URL_ROOT: '../',
20
- VERSION: '2.0.0',
20
+ VERSION: '2.0.2',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript" src="../_static/underscore.js"></script>
28
28
  <script type="text/javascript" src="../_static/doctools.js"></script>
29
29
  <link rel="shortcut icon" href="../_static/favicon.ico"/>
30
- <link rel="top" title="groonga v2.0.0 documentation" href="../index.html" />
30
+ <link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
31
31
  <link rel="up" title="4. Tutorial" href="../tutorial.html" />
32
32
  <link rel="next" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
33
33
  <link rel="prev" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
@@ -62,7 +62,7 @@
62
62
  <li class="right" >
63
63
  <a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
66
66
  <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
@@ -124,7 +124,7 @@
124
124
  <li class="right" >
125
125
  <a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
126
126
  >previous</a> |</li>
127
- <li><a href="../index.html">groonga v2.0.0 documentation</a> &raquo;</li>
127
+ <li><a href="../index.html">groonga v2.0.2 documentation</a> &raquo;</li>
128
128
  <li><a href="../tutorial.html" >4. Tutorial</a> &raquo;</li>
129
129
  </ul>
130
130
  </div>