rroonga 1.3.0-x86-mingw32 → 1.3.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. data/Rakefile +33 -2
  2. data/benchmark/common.rb +2 -2
  3. data/benchmark/read-write-many-small-items.rb +71 -62
  4. data/benchmark/write-many-small-items.rb +61 -53
  5. data/ext/groonga/rb-grn-context.c +23 -5
  6. data/ext/groonga/rb-grn-index-column.c +2 -6
  7. data/ext/groonga/rb-grn-operator.c +31 -1
  8. data/ext/groonga/rb-grn-variable-size-column.c +77 -1
  9. data/ext/groonga/rb-grn.h +2 -11
  10. data/ext/groonga/rb-groonga.c +1 -2
  11. data/lib/1.8/groonga.so +0 -0
  12. data/lib/1.9/groonga.so +0 -0
  13. data/lib/groonga/command.rb +169 -0
  14. data/lib/groonga/context.rb +4 -124
  15. data/lib/groonga/dumper.rb +10 -8
  16. data/lib/groonga/record.rb +7 -0
  17. data/lib/groonga/schema.rb +98 -7
  18. data/rroonga-build.rb +3 -3
  19. data/test/{test-context-select.rb → test-command-select.rb} +3 -3
  20. data/test/test-record.rb +18 -1
  21. data/test/test-schema-dumper.rb +48 -0
  22. data/test/test-schema-type.rb +35 -0
  23. data/test/test-schema.rb +81 -11
  24. data/test/test-table-select.rb +49 -38
  25. data/test/test-variable-size-column.rb +30 -0
  26. data/vendor/local/bin/grntest.exe +0 -0
  27. data/vendor/local/bin/groonga.exe +0 -0
  28. data/vendor/local/bin/libgroonga-0.dll +0 -0
  29. data/vendor/local/bin/libmecab-1.dll +0 -0
  30. data/vendor/local/bin/mecab.exe +0 -0
  31. data/vendor/local/include/groonga/groonga/plugin.h +3 -2
  32. data/vendor/local/include/groonga/groonga.h +106 -78
  33. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  34. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  35. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  36. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  38. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  39. data/vendor/local/lib/libgroonga.a +0 -0
  40. data/vendor/local/lib/libgroonga.dll.a +0 -0
  41. data/vendor/local/lib/libmecab.a +0 -0
  42. data/vendor/local/lib/libmecab.dll.a +0 -0
  43. data/vendor/local/lib/pkgconfig/groonga.pc +5 -2
  44. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  45. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  46. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  47. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  48. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  49. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  50. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +42 -32
  51. data/vendor/local/share/doc/groonga/en/html/_sources/commands/delete.txt +5 -1
  52. data/vendor/local/share/doc/groonga/en/html/_sources/commands/table_create.txt +5 -2
  53. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +4 -3
  54. data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +8 -6
  55. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +42 -3
  56. data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_in_circle.txt +26 -1
  57. data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -2
  58. data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +102 -27
  59. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +10 -10
  60. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +130 -21
  61. data/vendor/local/share/doc/groonga/en/html/_sources/output.txt +164 -0
  62. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  63. data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +0 -5
  64. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -4
  65. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -3
  66. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +2 -1
  67. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +95 -116
  68. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +1 -4
  69. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +1 -4
  70. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +1 -2
  72. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -0
  73. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -0
  74. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +2 -2
  75. data/vendor/local/share/doc/groonga/en/html/_sources/type.txt +3 -3
  76. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +13 -1
  77. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +5 -5
  78. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +11 -7
  79. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
  80. data/vendor/local/share/doc/groonga/en/html/characteristic.html +60 -52
  81. data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
  82. data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
  83. data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
  84. data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
  85. data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
  86. data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
  87. data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
  88. data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
  89. data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
  90. data/vendor/local/share/doc/groonga/en/html/commands/delete.html +38 -35
  91. data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
  92. data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
  93. data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
  94. data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
  95. data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
  96. data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
  97. data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
  98. data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
  99. data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
  100. data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +36 -36
  101. data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +38 -36
  102. data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
  103. data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
  104. data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
  105. data/vendor/local/share/doc/groonga/en/html/commands.html +41 -41
  106. data/vendor/local/share/doc/groonga/en/html/community.html +14 -12
  107. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
  108. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
  109. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
  110. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
  111. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
  112. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
  113. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
  114. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
  115. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
  116. data/vendor/local/share/doc/groonga/en/html/contribution.html +15 -13
  117. data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +7 -7
  118. data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +7 -7
  119. data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +7 -7
  120. data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +12 -12
  121. data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +7 -7
  122. data/vendor/local/share/doc/groonga/en/html/executables.html +7 -7
  123. data/vendor/local/share/doc/groonga/en/html/expr.html +25 -25
  124. data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
  125. data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +71 -36
  126. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +53 -33
  127. data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
  128. data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
  129. data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
  130. data/vendor/local/share/doc/groonga/en/html/functions.html +22 -22
  131. data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
  132. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
  133. data/vendor/local/share/doc/groonga/en/html/index.html +92 -87
  134. data/vendor/local/share/doc/groonga/en/html/install.html +109 -40
  135. data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -19
  136. data/vendor/local/share/doc/groonga/en/html/log.html +21 -21
  137. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
  138. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
  139. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
  140. data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
  141. data/vendor/local/share/doc/groonga/en/html/news.html +233 -112
  142. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  143. data/vendor/local/share/doc/groonga/en/html/output.html +302 -0
  144. data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +21 -21
  145. data/vendor/local/share/doc/groonga/en/html/reference.html +59 -55
  146. data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
  147. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  148. data/vendor/local/share/doc/groonga/en/html/spec/search.html +11 -11
  149. data/vendor/local/share/doc/groonga/en/html/spec.html +11 -11
  150. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +7 -7
  151. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +7 -7
  152. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +7 -7
  153. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +7 -7
  154. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +7 -7
  155. data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -12
  156. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  157. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +11 -11
  158. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +23 -23
  159. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -10
  160. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -10
  161. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +124 -164
  162. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -10
  163. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -10
  164. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -10
  165. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +14 -14
  166. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -10
  167. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +11 -10
  168. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -10
  169. data/vendor/local/share/doc/groonga/en/html/tutorial.html +26 -26
  170. data/vendor/local/share/doc/groonga/en/html/type.html +31 -31
  171. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  172. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +42 -32
  173. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/delete.txt +5 -1
  174. data/vendor/local/share/doc/groonga/ja/html/_sources/commands/table_create.txt +5 -2
  175. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +4 -3
  176. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +8 -6
  177. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +42 -3
  178. data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_in_circle.txt +26 -1
  179. data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -2
  180. data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +102 -27
  181. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +10 -10
  182. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +130 -21
  183. data/vendor/local/share/doc/groonga/ja/html/_sources/output.txt +164 -0
  184. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  185. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +0 -5
  186. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -4
  187. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -3
  188. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +2 -1
  189. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +95 -116
  190. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +1 -4
  191. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +1 -4
  192. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -0
  193. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +1 -2
  194. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -0
  195. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -0
  196. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +2 -2
  197. data/vendor/local/share/doc/groonga/ja/html/_sources/type.txt +3 -3
  198. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +13 -1
  199. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +5 -5
  200. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +11 -7
  201. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
  202. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +55 -47
  203. data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
  204. data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
  205. data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
  206. data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
  207. data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
  208. data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
  209. data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
  210. data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
  211. data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
  212. data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +38 -35
  213. data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
  214. data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
  215. data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
  216. data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
  217. data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
  218. data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
  219. data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
  220. data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
  221. data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
  222. data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +36 -36
  223. data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +38 -36
  224. data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
  225. data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
  226. data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
  227. data/vendor/local/share/doc/groonga/ja/html/commands.html +41 -41
  228. data/vendor/local/share/doc/groonga/ja/html/community.html +10 -8
  229. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
  230. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
  231. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
  232. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
  233. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
  234. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
  235. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
  236. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
  237. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
  238. data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
  239. data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +7 -7
  240. data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +7 -7
  241. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +7 -7
  242. data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +12 -12
  243. data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +7 -7
  244. data/vendor/local/share/doc/groonga/ja/html/executables.html +7 -7
  245. data/vendor/local/share/doc/groonga/ja/html/expr.html +25 -25
  246. data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
  247. data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +71 -36
  248. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +53 -33
  249. data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
  250. data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
  251. data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
  252. data/vendor/local/share/doc/groonga/ja/html/functions.html +22 -22
  253. data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
  254. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -7
  255. data/vendor/local/share/doc/groonga/ja/html/index.html +84 -79
  256. data/vendor/local/share/doc/groonga/ja/html/install.html +92 -16
  257. data/vendor/local/share/doc/groonga/ja/html/limitations.html +13 -13
  258. data/vendor/local/share/doc/groonga/ja/html/log.html +21 -21
  259. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
  260. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
  261. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
  262. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
  263. data/vendor/local/share/doc/groonga/ja/html/news.html +202 -99
  264. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  265. data/vendor/local/share/doc/groonga/ja/html/output.html +287 -0
  266. data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +21 -21
  267. data/vendor/local/share/doc/groonga/ja/html/reference.html +59 -55
  268. data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
  269. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  270. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -7
  271. data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
  272. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +7 -7
  273. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +7 -7
  274. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +7 -7
  275. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +7 -7
  276. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +7 -7
  277. data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -11
  278. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
  279. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
  280. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -20
  281. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
  282. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
  283. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +93 -115
  284. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
  285. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
  286. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
  287. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +8 -8
  288. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
  289. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -7
  290. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
  291. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -21
  292. data/vendor/local/share/doc/groonga/ja/html/type.html +31 -31
  293. data/vendor/local/share/doc/groonga/source/characteristic.txt +42 -32
  294. data/vendor/local/share/doc/groonga/source/commands/delete.txt +5 -1
  295. data/vendor/local/share/doc/groonga/source/commands/table_create.txt +5 -2
  296. data/vendor/local/share/doc/groonga/source/community.txt +4 -3
  297. data/vendor/local/share/doc/groonga/source/contribution.txt +8 -6
  298. data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +8 -8
  299. data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +4 -4
  300. data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +4 -4
  301. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +3 -15
  302. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +2 -7
  303. data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -7
  304. data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +42 -3
  305. data/vendor/local/share/doc/groonga/source/functions/geo_in_circle.txt +26 -1
  306. data/vendor/local/share/doc/groonga/source/index.txt +2 -2
  307. data/vendor/local/share/doc/groonga/source/install.txt +102 -27
  308. data/vendor/local/share/doc/groonga/source/limitations.txt +10 -10
  309. data/vendor/local/share/doc/groonga/source/news.txt +130 -21
  310. data/vendor/local/share/doc/groonga/source/output.txt +164 -0
  311. data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
  312. data/vendor/local/share/doc/groonga/source/suggest.txt +0 -5
  313. data/vendor/local/share/doc/groonga/source/tutorial/data.txt +6 -4
  314. data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +1 -3
  315. data/vendor/local/share/doc/groonga/source/tutorial/index.txt +2 -1
  316. data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +95 -116
  317. data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +1 -4
  318. data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +1 -4
  319. data/vendor/local/share/doc/groonga/source/tutorial/network.txt +3 -0
  320. data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +1 -2
  321. data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +5 -0
  322. data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -0
  323. data/vendor/local/share/doc/groonga/source/tutorial.txt +2 -2
  324. data/vendor/local/share/doc/groonga/source/type.txt +3 -3
  325. data/vendor/local/share/groonga/examples/dictionary/html/js/dictionary.js +1 -0
  326. data/vendor/local/share/groonga/html/admin/index.html +40 -0
  327. data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +6 -0
  328. data/vendor/local/share/groonga/html/admin/js/jquery.flot.license.txt +22 -0
  329. data/vendor/local/share/man/ja/man1/groonga.1 +560 -138
  330. data/vendor/local/share/man/man1/groonga.1 +637 -223
  331. metadata +887 -898
  332. data/ext/groonga/Makefile +0 -184
  333. data/ext/groonga/rb-grn-query.c +0 -260
  334. data/test/test-query.rb +0 -22
@@ -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. Fundamental operation &mdash; groonga v1.2.7 documentation</title>
12
+ <title>4.1. Basic operations &mdash; groonga v1.2.9 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: '1.2.7',
20
+ VERSION: '1.2.9',
21
21
  COLLAPSE_INDEX: false,
22
22
  FILE_SUFFIX: '.html',
23
23
  HAS_SOURCE: true
@@ -27,10 +27,10 @@
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 v1.2.7 documentation" href="../index.html" />
31
- <link rel="up" title="4. チュートリアル" href="../tutorial.html" />
30
+ <link rel="top" title="groonga v1.2.9 documentation" href="../index.html" />
31
+ <link rel="up" title="4. Tutorial" href="../tutorial.html" />
32
32
  <link rel="next" title="4.2. How to use groonga with network" href="network.html" />
33
- <link rel="prev" title="4. チュートリアル" href="../tutorial.html" />
33
+ <link rel="prev" title="4. Tutorial" href="../tutorial.html" />
34
34
  </head>
35
35
  <body>
36
36
  <div class="header">
@@ -60,10 +60,10 @@
60
60
  <a href="network.html" title="4.2. How to use groonga with network"
61
61
  accesskey="N">next</a> |</li>
62
62
  <li class="right" >
63
- <a href="../tutorial.html" title="4. チュートリアル"
63
+ <a href="../tutorial.html" title="4. Tutorial"
64
64
  accesskey="P">previous</a> |</li>
65
- <li><a href="../index.html">groonga v1.2.7 documentation</a> &raquo;</li>
66
- <li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> &raquo;</li>
65
+ <li><a href="../index.html">groonga v1.2.9 documentation</a> &raquo;</li>
66
+ <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> &raquo;</li>
67
67
  </ul>
68
68
  </div>
69
69
 
@@ -72,136 +72,103 @@
72
72
  <div class="bodywrapper">
73
73
  <div class="body">
74
74
 
75
- <div class="section" id="fundamental-operation">
76
- <h1>4.1. Fundamental operation<a class="headerlink" href="#fundamental-operation" title="Permalink to this headline">¶</a></h1>
77
- <p>You can use groonga as a library of programming language C or an executable file.
78
- This tutorial explains how to use groonga as an executable file.
79
- Using its file, you can create and operate databases, start and connect to server, and so on.</p>
80
- <div class="section" id="create-database">
81
- <h2>4.1.1. Create database<a class="headerlink" href="#create-database" title="Permalink to this headline">¶</a></h2>
82
- <p>You can create a new database in the following command.</p>
83
- <p>Form</p>
75
+ <div class="section" id="basic-operations">
76
+ <h1>4.1. Basic operations<a class="headerlink" href="#basic-operations" title="Permalink to this headline">¶</a></h1>
77
+ <p>The groonga package provides a C library (libgroonga) and a command line tool (groonga). This tutorial explains how to use the groonga command, with which you can create/operate databases, start a server, establish a connection with a server, etc.</p>
78
+ <div class="section" id="create-a-database">
79
+ <h2>4.1.1. Create a database<a class="headerlink" href="#create-a-database" title="Permalink to this headline">¶</a></h2>
80
+ <p>You can create a new database with the following command.</p>
81
+ <p>Form:</p>
84
82
  <div class="highlight-none"><div class="highlight"><pre>groonga -n DB_PATH_NAME
85
83
  </pre></div>
86
84
  </div>
87
- <p>'-n' option specifies to create a database. DB_PATH_NAME specifies full-path of new database.</p>
88
- <p>Groonga starts as interactive mode after you create a database with this command, and so groonga accepts commands from standard input. This mode is terminated with Ctrl-d.</p>
85
+ <p>The '-n' option specifies to create a new database. DB_PATH_NAME specifies the path of the new database. Note that this command fails if the specified path already exists.</p>
86
+ <p>This command creates a database and then enters into interactive mode in which groonga prompts you to enter commands for operating that database. You can terminate this mode with Ctrl-d.</p>
89
87
  <p>Execution example:</p>
90
88
  <div class="highlight-none"><div class="highlight"><pre>% groonga -n /tmp/tutorial.db
91
- &gt; ctrl-d
89
+ &gt; Ctrl-d
92
90
  %
93
91
  </pre></div>
94
92
  </div>
95
93
  </div>
96
- <div class="section" id="operate-database">
97
- <h2>4.1.2. Operate database<a class="headerlink" href="#operate-database" title="Permalink to this headline">¶</a></h2>
98
- <p>Form</p>
94
+ <div class="section" id="operate-a-database">
95
+ <h2>4.1.2. Operate a database<a class="headerlink" href="#operate-a-database" title="Permalink to this headline">¶</a></h2>
96
+ <p>Form:</p>
99
97
  <div class="highlight-none"><div class="highlight"><pre>groonga DB_PATH_NAME [COMMAND]
100
98
  </pre></div>
101
99
  </div>
102
- <p>DB_PATH_NAME specifies full-path of existing database.
103
- If COMMAND is specified, result of COMMAND is returned.</p>
104
- <p>With no COMMAND, this command starts groonga as interactive-mode.
105
- Groonga of this mode reads a command from standard input evaluates it repeatedly.
106
- This tutorial uses interactive-mode mainly.</p>
107
- <p>For example, we will run the <cite>status</cite> command.
108
- This command returns status of groonga's execution.</p>
100
+ <p>DB_PATH_NAME specifies the path of a target database.</p>
101
+ <p>If COMMAND is specified, groonga executes COMMAND and returns the result. Otherwise, groonga starts in interactive mode that reads commands from the standard input and execute them one by one. This tutorial focuses on the interactive mode.</p>
102
+ <p>Let's try to see the status of a groonga process by using a <a class="reference internal" href="../commands/status.html"><em>status</em></a> command.</p>
109
103
  <p>Execution example:</p>
110
- <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name Type --flags TABLE_HASH_KEY --key_type ShortText
111
- [[0,1317212791.02322,0.03942904],true]
112
- &gt; column_create --table Type --name number --type Int32
113
- [[0,1317212791.26314,0.124383285],true]
114
- &gt; column_create --table Type --name float --type Float
115
- [[0,1317212791.58803,0.027924039],true]
116
- &gt; column_create --table Type --name string --type ShortText
117
- [[0,1317212791.81654,0.040399047],true]
118
- &gt; column_create --table Type --name time --type Time
119
- [[0,1317212792.05751,0.027354067],true]
120
- &gt; load --table Type
121
- &gt; [{&quot;_key&quot;:&quot;sample&quot;,&quot;number&quot;:12345,&quot;float&quot;:42.195,&quot;string&quot;:&quot;GROONGA&quot;,&quot;time&quot;:1234567890.12}]
122
- [[0,1317212792.28516,0.200775839],1]
123
- &gt; select --table Type
124
- [[0,1317212792.68655,0.000199477],[[[1],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;time&quot;,&quot;Time&quot;],[&quot;string&quot;,&quot;ShortText&quot;],[&quot;number&quot;,&quot;Int32&quot;],[&quot;float&quot;,&quot;Float&quot;]],[1,&quot;sample&quot;,1234567890.12,&quot;GROONGA&quot;,12345,42.195]]]]
104
+ <div class="highlight-none"><div class="highlight"><pre>% groonga -n /tmp/groonga-databases/introduction.db
105
+ &gt; status
106
+ [[0,1322616280.40348,0.000158121],{&quot;alloc_count&quot;:127,&quot;starttime&quot;:1322616279,&quot;uptime&quot;:1,&quot;version&quot;:&quot;1.2.8-9-gbf05b82&quot;,&quot;n_queries&quot;:0,&quot;cache_hit_rate&quot;:0.0,&quot;command_version&quot;:1,&quot;default_command_version&quot;:1,&quot;max_command_version&quot;:2}]
125
107
  </pre></div>
126
108
  </div>
127
- <p>The mentioned above, results of executed commands are generally JSON style.
128
- The first element in a array of JSON has information of error-code, execution time, and so on.
129
- The second element has a result of exectuted command.</p>
109
+ <p>As shown in the above example, a command basically returns a JSON array. The first element contains an error code, execution time, etc. The second element is the result of an operation.</p>
130
110
  </div>
131
- <div class="section" id="commands">
132
- <h2>4.1.3. Commands<a class="headerlink" href="#commands" title="Permalink to this headline">¶</a></h2>
133
- <p>You can operate database with various commands via execution file of groonga or groonga server.
134
- There are forms of commands in the following:</p>
135
- <div class="highlight-none"><div class="highlight"><pre>Form1: COMMAND ARGUMENT1 ARGUMENT2 ..
111
+ <div class="section" id="command-format">
112
+ <h2>4.1.3. Command format<a class="headerlink" href="#command-format" title="Permalink to this headline">¶</a></h2>
113
+ <p>Commands for operating a database accept arguments as follows:</p>
114
+ <div class="highlight-none"><div class="highlight"><pre>Form_1: COMMAND VALUE_1 VALUE_2 ..
136
115
 
137
- Form2: COMMAND --ARAGUMENT1 VALUE1 --ARGUMENT2 VALUE2 ..
116
+ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
138
117
  </pre></div>
139
118
  </div>
140
- <p>You can mix these forms in commands running.</p>
141
- <p>In Form2, if you want to specify a value including some spaces or symbols(&quot;'()/), you should enclose its value with single-quote or double-quote.</p>
142
- <p>For detail, you can see paragraph of &quot;command&quot; in <a class="reference internal" href="../executables/groonga.html"><em>groonga実行ファイル</em></a>.</p>
119
+ <p>In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning.</p>
120
+ <p>In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments.</p>
121
+ <p>If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes.</p>
122
+ <p>For details, see also the paragraph of &quot;command&quot; in <a class="reference internal" href="../executables/groonga.html"><em>groonga実行ファイル</em></a>.</p>
143
123
  </div>
144
- <div class="section" id="basicaly-commands">
145
- <h2>4.1.4. Basicaly commands<a class="headerlink" href="#basicaly-commands" title="Permalink to this headline">¶</a></h2>
124
+ <div class="section" id="basic-commands">
125
+ <h2>4.1.4. Basic commands<a class="headerlink" href="#basic-commands" title="Permalink to this headline">¶</a></h2>
146
126
  <blockquote>
147
127
  <div><dl class="docutils">
148
128
  <dt><a class="reference internal" href="../commands/status.html"><em>status</em></a></dt>
149
- <dd>Show status of groonga process.</dd>
129
+ <dd>shows status of a groonga process.</dd>
150
130
  <dt><a class="reference internal" href="../commands/table_list.html"><em>table_list</em></a></dt>
151
- <dd>Show lists of tables defined in a database.</dd>
131
+ <dd>shows a list of tables in a database.</dd>
152
132
  <dt><a class="reference internal" href="../commands/column_list.html"><em>column_list</em></a></dt>
153
- <dd>Show lists of columns defined in a table.</dd>
133
+ <dd>shows a list of columns in a table.</dd>
154
134
  <dt><a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a></dt>
155
- <dd>Add table to a database.</dd>
135
+ <dd>adds a table to a database.</dd>
156
136
  <dt><a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a></dt>
157
- <dd>Add column to a table.</dd>
137
+ <dd>adds a column to a table.</dd>
158
138
  <dt><a class="reference internal" href="../commands/select.html"><em>select</em></a></dt>
159
- <dd>Search and show records included a table.</dd>
139
+ <dd>searches records from a table and shows the result.</dd>
160
140
  <dt><a class="reference internal" href="../commands/load.html"><em>load</em></a></dt>
161
- <dd>Insert record to a table.</dd>
141
+ <dd>inserts records to a table.</dd>
162
142
  </dl>
163
143
  </div></blockquote>
164
144
  </div>
165
- <div class="section" id="create-table">
166
- <h2>4.1.5. Create table<a class="headerlink" href="#create-table" title="Permalink to this headline">¶</a></h2>
167
- <p><a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a> creates table.</p>
168
- <p>In using groonga, to creating tables generally needed master key.
169
- Master key should be specified the types and the way to store.</p>
170
- <p>We're going to explain the types in tutorial after.
171
- Please imagine it as expressing sort of data.
172
- How to store master key defines speed of search with master key and advisability of begins-with-match search. This is also explained in this tutorial later.</p>
173
- <p>For example, we create 'Site' table. This table has master key of ShortText type, and the way to store its key is HASH.</p>
145
+ <div class="section" id="create-a-table">
146
+ <h2>4.1.5. Create a table<a class="headerlink" href="#create-a-table" title="Permalink to this headline">¶</a></h2>
147
+ <p>A <a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a> command creates a table.</p>
148
+ <p>In most cases, a table of groonga has a primary key which must be specified with its data type and index type.</p>
149
+ <p>There are various data types such as integers, floating-point numbers, etc. The index type determines the search performance and the availability of prefix searches. We will explain the details later.</p>
150
+ <p>Let's create a 'Site' table which has a primary key of ShortText. In this example, the index type is HASH.</p>
174
151
  <p>Execution example:</p>
175
- <div class="highlight-none"><div class="highlight"><pre>&gt; column_create --table Site --name link --type Site
176
- [[0,1317212792.88872,0.060705006],true]
177
- &gt; load --table Site
178
- &gt; [{&quot;_key&quot;:&quot;http://example.org/&quot;,&quot;link&quot;:&quot;http://example.net/&quot;}]
179
- [[0,1317212793.14984,0.200481934],1]
180
- &gt; select --table Site --output_columns _key,title,link._key,link.title --query title:@this
181
- [[0,1317212793.55084,0.000485897],[[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;],[&quot;link._key&quot;,&quot;ShortText&quot;],[&quot;link.title&quot;,&quot;ShortText&quot;]],[&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;,&quot;http://example.net/&quot;,&quot;test record 2.&quot;]]]]
152
+ <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
153
+ [[0,1322616280.60791,0.01234375],true]
182
154
  </pre></div>
183
155
  </div>
184
156
  </div>
185
- <div class="section" id="search">
186
- <h2>4.1.6. Search<a class="headerlink" href="#search" title="Permalink to this headline">¶</a></h2>
187
- <p><a class="reference internal" href="../commands/select.html"><em>select</em></a> shows contents of table.</p>
157
+ <div class="section" id="view-a-table">
158
+ <h2>4.1.6. View a table<a class="headerlink" href="#view-a-table" title="Permalink to this headline">¶</a></h2>
159
+ <p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command shows contents of table.</p>
188
160
  <p>Execution example:</p>
189
- <div class="highlight-none"><div class="highlight"><pre>&gt; column_create --table Site --name links --flags COLUMN_VECTOR --type Site
190
- [[0,1317212793.75262,0.049658904],true]
191
- &gt; load --table Site
192
- &gt; [{&quot;_key&quot;:&quot;http://example.org/&quot;,&quot;links&quot;:[&quot;http://example.net/&quot;,&quot;http://example.org/&quot;,&quot;http://example.com/&quot;]}]
193
- [[0,1317212794.00274,0.200473621],1]
194
- &gt; select --table Site --output_columns _key,title,links._key,links.title --query title:@this
195
- [[0,1317212794.40349,0.000384272],[[[1],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;],[&quot;links._key&quot;,&quot;ShortText&quot;],[&quot;links.title&quot;,&quot;ShortText&quot;]],[&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;,[&quot;http://example.net/&quot;,&quot;http://example.org/&quot;,&quot;http://example.com/&quot;],[&quot;test record 2.&quot;,&quot;This is test record 1!&quot;,&quot;test test record three.&quot;]]]]]
161
+ <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site
162
+ [[0,1322616280.82196,0.000451873],[[[0],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;]]]]]
196
163
  </pre></div>
197
164
  </div>
198
- <p>With name of a table, 'select' command shows 10 contents of its table. [0] shows the number of searched records. [&quot;_id&quot;,&quot;Uint32&quot;] is column named &quot;_id&quot; and type of this column's value is UInt32. [&quot;_key&quot;,&quot;ShortText&quot;] is &quot;_key&quot; column, type of this column's value is ShortText.</p>
199
- <p>'table_create' command creates table including two columns, '_id' and '_key' first. '_id' has ID-number given automatically by groonga. '_key' column is stored master key. You cannot modify this column's name.</p>
165
+ <p>When only a table is specified, the 'select' command returns the first (at most) 10 records of that table. &quot;[0]&quot; in the result shows the number of records in the 'Site' table. The next array is a list of columns. [&quot;_id&quot;,&quot;Uint32&quot;] is a column of UInt32, named &quot;_id&quot;. [&quot;_key&quot;,&quot;ShortText&quot;] is a column of ShortText, named &quot;_key&quot;.</p>
166
+ <p>The above two columns, '_id' and '_key', are the necessary columns. The '_id' column stores IDs those are automatically allocated by groonga. The '_key' column is associated with the primary key. You are not allowed to rename these columns.</p>
200
167
  </div>
201
- <div class="section" id="create-columns">
202
- <h2>4.1.7. Create columns<a class="headerlink" href="#create-columns" title="Permalink to this headline">¶</a></h2>
203
- <p><a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command create columns.</p>
204
- <p>We add a column named 'comment' that lets us store value whose type is ShortText.</p>
168
+ <div class="section" id="create-a-column">
169
+ <h2>4.1.7. Create a column<a class="headerlink" href="#create-a-column" title="Permalink to this headline">¶</a></h2>
170
+ <p>A <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command adds a column to a table.</p>
171
+ <p>Let's add a column of ShortText to store titles. You may give a descriptive name 'title' to the column.</p>
205
172
  <p>Execution example:</p>
206
173
  <div class="highlight-none"><div class="highlight"><pre>&gt; column_create --table Site --name title --flags COLUMN_SCALAR --type ShortText
207
174
  [[0,1317212712.91734,0.077833747],true]
@@ -209,39 +176,36 @@ How to store master key defines speed of search with master key and advisability
209
176
  [[0,1317212713.19572,0.000121119],[[[0],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]]]]]
210
177
  </pre></div>
211
178
  </div>
212
- <p>COLUMN_SCALAR means this is normal column.</p>
179
+ <p>The COLUMN_SCALAR flag specifies to add a regular column.</p>
213
180
  </div>
214
- <div class="section" id="create-terminology-table-with-fulltext-searching">
215
- <h2>4.1.8. Create terminology table with fulltext-searching<a class="headerlink" href="#create-terminology-table-with-fulltext-searching" title="Permalink to this headline">¶</a></h2>
216
- <p>This tutorial explains fulltext searching with entried data in groonga table.</p>
217
- <p>We need terminology table in fulltext-searching.
218
- Terminology table is a table whose master key's values are words in text.
219
- We create 'Terms' table, it has type of master key value is ShortText.</p>
181
+ <div class="section" id="create-a-lexicon-table-for-full-text-searches">
182
+ <h2>4.1.8. Create a lexicon table for full text searches<a class="headerlink" href="#create-a-lexicon-table-for-full-text-searches" title="Permalink to this headline">¶</a></h2>
183
+ <p>Let's go on to how to make a full text search.</p>
184
+ <p>Groonga uses an inverted index to provide fast full text search. So, the first step is to create a lexicon table which stores an inverted index, also known as postings lists. The primary key of this table is associated with a vocabulary made up of index terms and each record stores postings lists for one index term.</p>
185
+ <p>The following shows a command which creates a lexicon table named 'Terms'. The data type of its primary key is ShortText.</p>
220
186
  <p>Execution example:</p>
221
187
  <div class="highlight-none"><div class="highlight"><pre>&gt; table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
222
188
  [[0,1317212713.39679,0.092312046],true]
223
189
  </pre></div>
224
190
  </div>
225
- <p>Many parameters is specified in this execution example.
226
- You don't hove to understand all parameters.
227
- There are the simple explaination, but you can skipped.</p>
228
- <p>In this examples, 'TABLE_PAT_KEY|KEY_NORMALIZE' stores master key in patricia-trie and entries each teminology after nomalized.
229
- The 'default_tokenizer' parametar specifies the way to tokenize target texts. In this examples, we specifies 'TokenBigram' as this parameter, and so we choose 'N-gram' generally called.</p>
191
+ <p>The table_create command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works.</p>
192
+ <p>The 'TABLE_PAT_KEY' flag specifies to store index terms in a patricia trie. The 'KEY_NORMALIZE' flag specifies to normalize index terms. In this example, both flags are validated by using a '|'. The 'default_tokenizer' parameter specifies a method for tokenizing text. This example specifies 'TokenBigram' that is generally called 'N-gram'.</p>
230
193
  </div>
231
- <div class="section" id="create-index-column-with-fulltext-search">
232
- <h2>4.1.9. Create index-column with fulltext search<a class="headerlink" href="#create-index-column-with-fulltext-search" title="Permalink to this headline">¶</a></h2>
233
- <p>We will fulltext search 'title' column in 'Site' table. In this case, we create column whose type index in terminology table.</p>
194
+ <div class="section" id="create-an-index-column-for-full-text-search">
195
+ <h2>4.1.9. Create an index column for full text search<a class="headerlink" href="#create-an-index-column-for-full-text-search" title="Permalink to this headline">¶</a></h2>
196
+ <p>The second step is to create an index column, which allows you to search records from its associated column. That is to say this step specifies which column needs an index.</p>
197
+ <p>Let's create an index column for the 'title' column in the 'Site' table.</p>
234
198
  <p>Execution example:</p>
235
199
  <div class="highlight-none"><div class="highlight"><pre>&gt; column_create --table Terms --name blog_title --flags COLUMN_INDEX|WITH_POSITION --type Site --source title
236
200
  [[0,1317212713.68994,0.19739078],true]
237
201
  </pre></div>
238
202
  </div>
239
- <p>This command creates index column 'blog_title' in 'Term' table. '--type' option specifies target indexed table, and '--source' option does target index column.
240
- In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifies that this column is index column for storing information of terminology existing position. This option should be specified 'COLUMN_INDEX|WITH_POSITION' in generally fulltext searching. This tutorial does not deal with the reason why store information of terminology existing position.</p>
203
+ <p>This command creates an index column 'blog_title' in the 'Terms' table. The '--type' option specifies a target table and the '--source' option specifies a target column. Then, the 'COLUMN_INDEX' flag specifies to create an index column and the 'WITH_POSITION' flag specifies to create a full inverted index, which contains the positions of each index term. This combination 'COLUMN_INDEX|WITH_POSITION' is recommended for the general purpose.</p>
241
204
  </div>
242
205
  <div class="section" id="load-data">
243
206
  <h2>4.1.10. Load data<a class="headerlink" href="#load-data" title="Permalink to this headline">¶</a></h2>
244
- <p><a class="reference internal" href="../commands/load.html"><em>load</em></a> is used to load data for groonga database. This command stores json-formatted data in a table.</p>
207
+ <p>A <a class="reference internal" href="../commands/load.html"><em>load</em></a> command loads JSON-formatted records into a table.</p>
208
+ <p>The following adds nine records to the 'Site' table.</p>
245
209
  <p>Execution example:</p>
246
210
  <div class="highlight-none"><div class="highlight"><pre>&gt; load --table Site
247
211
  &gt; [
@@ -258,7 +222,7 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
258
222
  [[0,1317212714.08816,2.203527402],9]
259
223
  </pre></div>
260
224
  </div>
261
- <p>Let's make sure that its table has data with 'select' command.</p>
225
+ <p>Let's make sure that these records are correctly stored.</p>
262
226
  <p>Execution example:</p>
263
227
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site
264
228
  [[0,1317212716.49285,0.000270908],[[[9],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;],[2,&quot;http://example.net/&quot;,&quot;test record 2.&quot;],[3,&quot;http://example.com/&quot;,&quot;test test record three.&quot;],[4,&quot;http://example.net/afr&quot;,&quot;test record four.&quot;],[5,&quot;http://example.org/aba&quot;,&quot;test test test record five.&quot;],[6,&quot;http://example.com/rab&quot;,&quot;test test test test record six.&quot;],[7,&quot;http://example.net/atv&quot;,&quot;test test test record seven.&quot;],[8,&quot;http://example.org/gat&quot;,&quot;test test record eight.&quot;],[9,&quot;http://example.com/vdw&quot;,&quot;test test record nine.&quot;]]]]
@@ -267,57 +231,53 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
267
231
  </div>
268
232
  <div class="section" id="search-data">
269
233
  <h2>4.1.11. Search data<a class="headerlink" href="#search-data" title="Permalink to this headline">¶</a></h2>
270
- <p>'_id' and '_key' columns are unique in groonga's table, so let's search data in table using these columns.</p>
271
- <p>You can search data using 'select' command with 'query' parameter.</p>
234
+ <p>Before a full text search, let's try to search data by '_id' and '_key'. These columns work as unique keys.</p>
235
+ <p>You can search records by using a 'select' command with a 'query' parameter.</p>
272
236
  <p>Execution example:</p>
273
237
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --query _id:1
274
238
  [[0,1317212716.69871,0.000308514],[[[1],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;]]]]
275
239
  </pre></div>
276
240
  </div>
277
- <p>'_id:1' specified 'query' parameter means to search records whose '_id' column has '1'.</p>
278
- <p>Let's search records with '_key' column.</p>
241
+ <p>'_id:1' specifies to search a record whose ID is 1.</p>
242
+ <p>Next, let's search a record by a primary key.</p>
279
243
  <p>Execution example:</p>
280
244
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --query &quot;_key:\&quot;http://example.org/\&quot;&quot;
281
245
  [[0,1317212716.9005,0.000478343],[[[1],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;]]]]
282
246
  </pre></div>
283
247
  </div>
284
- <p>'_key:&quot;<a class="reference external" href="http://example.org/">http://example.org/</a>&quot;' specified 'query' parameter means to search records whose '_key' column has '&quot;<a class="reference external" href="http://example.org/">http://example.org/</a>&quot;'.</p>
248
+ <p>'_key:&quot;<a class="reference external" href="http://example.org/">http://example.org/</a>&quot;' specifies to search a record whose primary key is &quot;<a class="reference external" href="http://example.org/">http://example.org/</a>&quot;.</p>
285
249
  </div>
286
- <div class="section" id="fulltext-searching">
287
- <h2>4.1.12. Fulltext searching<a class="headerlink" href="#fulltext-searching" title="Permalink to this headline">¶</a></h2>
288
- <p>Using 'query' parameter, you can fulltext search with index.</p>
250
+ <div class="section" id="full-text-search">
251
+ <h2>4.1.12. Full text search<a class="headerlink" href="#full-text-search" title="Permalink to this headline">¶</a></h2>
252
+ <p>It's time to make a full text search. You can make a full text search query with the same 'query' parameter.</p>
289
253
  <p>Execution example:</p>
290
254
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --query title:@this
291
255
  [[0,1317212717.10303,0.000581287],[[[1],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;]]]]
292
256
  </pre></div>
293
257
  </div>
294
- <p>This command shows result of fulltext searching by string 'this' for 'title' column.</p>
295
- <p>&quot;title:&#64;this&quot; specified 'query' parameter means to search records whose 'title' column including 'this' string.</p>
296
- <p>'select' command has parameter 'match_columns'.</p>
297
- <p>If this parameter is specified, it means to search in columns specified 'match_columns' when 'query' parameter doesn't specify column-name condition.[1]_</p>
298
- <p>If you specify 'match_columns' is 'title' and 'query' is 'this', you can take same result as above query.</p>
258
+ <p>This command searches records whose 'title' column contains a string 'this'. In this case, only one record matches this query. Note that the lower case query 'this' matches a capitalized 'This' in the 1st record because 'KEY_NORMALIZE' was specified in lexicon column creation.</p>
259
+ <p>The 'select' command has an optional parameter 'match_columns'. This parameter specifies default target columns and it is used when target columns are not specified in a query.[1]_</p>
260
+ <p>A combination of '--match_columns title' and '--query this' brings you the same result that '--query title:&#64;this' does.</p>
299
261
  <p>Execution example:</p>
300
262
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --match_columns title --query this
301
263
  [[0,1317212717.30596,0.000716439],[[[1],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;]]]]
302
264
  </pre></div>
303
265
  </div>
304
266
  </div>
305
- <div class="section" id="specify-output-column">
306
- <h2>4.1.13. Specify output column<a class="headerlink" href="#specify-output-column" title="Permalink to this headline">¶</a></h2>
307
- <p>'output_columns' parameter in 'select' command specifies columns shown in result of search.</p>
308
- <p>If you want to specify some columns, you should separate column names by comma(,).</p>
267
+ <div class="section" id="specify-output-columns">
268
+ <h2>4.1.13. Specify output columns<a class="headerlink" href="#specify-output-columns" title="Permalink to this headline">¶</a></h2>
269
+ <p>An 'output_columns' parameter in a 'select' command specifies columns to be shown in the search result. If you want to specify more than one columns, please separate column names by commas (,).</p>
309
270
  <p>Execution example:</p>
310
271
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --output_columns _key,title,_score --query title:@test
311
272
  [[0,1317212717.50916,0.00060758],[[[9],[[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;],[&quot;_score&quot;,&quot;Int32&quot;]],[&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;,1],[&quot;http://example.net/&quot;,&quot;test record 2.&quot;,1],[&quot;http://example.com/&quot;,&quot;test test record three.&quot;,2],[&quot;http://example.net/afr&quot;,&quot;test record four.&quot;,1],[&quot;http://example.org/aba&quot;,&quot;test test test record five.&quot;,3],[&quot;http://example.com/rab&quot;,&quot;test test test test record six.&quot;,4],[&quot;http://example.net/atv&quot;,&quot;test test test record seven.&quot;,3],[&quot;http://example.org/gat&quot;,&quot;test test record eight.&quot;,2],[&quot;http://example.com/vdw&quot;,&quot;test test record nine.&quot;,2]]]]
312
273
  </pre></div>
313
274
  </div>
314
- <p>&quot;_score&quot; column is added to The groonga's result. This column has the higher number, the more condition of fulltext seaching matches text.</p>
275
+ <p>This command specifies three output columns including the '_score' column, which stores the relevance score of each record.</p>
315
276
  </div>
316
- <div class="section" id="ranges-to-display">
317
- <h2>4.1.14. Ranges to display<a class="headerlink" href="#ranges-to-display" title="Permalink to this headline">¶</a></h2>
318
- <p>'select' command can display result in only specified ranges using 'offset' and 'limit' parameter. This parameters is useful when you want to show only a page in much result of searching.</p>
319
- <p>'offset' parameter specifies starting point of result. If you want 'select' command to return from first records, this parameter specifies '0'.</p>
320
- <p>'limit' parameter specifies how many records of searching result.</p>
277
+ <div class="section" id="specify-output-ranges">
278
+ <h2>4.1.14. Specify output ranges<a class="headerlink" href="#specify-output-ranges" title="Permalink to this headline">¶</a></h2>
279
+ <p>A 'select' command returns a part of its search result if 'offset' and/or 'limit' parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis.</p>
280
+ <p>An 'offset' parameter specifies the starting point and a 'limit' parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted.</p>
321
281
  <p>Execution example:</p>
322
282
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --offset 0 --limit 3
323
283
  [[0,1317212717.71574,0.000238544],[[[9],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;],[2,&quot;http://example.net/&quot;,&quot;test record 2.&quot;],[3,&quot;http://example.com/&quot;,&quot;test test record three.&quot;]]]]
@@ -330,20 +290,20 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
330
290
  </div>
331
291
  <div class="section" id="sort">
332
292
  <h2>4.1.15. Sort<a class="headerlink" href="#sort" title="Permalink to this headline">¶</a></h2>
333
- <p>If you use 'sortby' parameter in 'select' command, this command sorts result of searching.</p>
334
- <p>When 'sortby' parameter specifies column name, result is sorted in ascending-order to its column's value. This 'select' command also sort in descending-order when you add hyphen(-) before column name.</p>
293
+ <p>A 'select' command sorts its result when used with a 'sortby' parameter.</p>
294
+ <p>A 'sortby' parameter specifies a column as a sorting creteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen (-) to the column name of a parameter.</p>
335
295
  <p>Execution example:</p>
336
296
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --sortby -_id
337
297
  [[0,1317212718.32565,0.000385755],[[[9],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_key&quot;,&quot;ShortText&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[9,&quot;http://example.com/vdw&quot;,&quot;test test record nine.&quot;],[8,&quot;http://example.org/gat&quot;,&quot;test test record eight.&quot;],[7,&quot;http://example.net/atv&quot;,&quot;test test test record seven.&quot;],[6,&quot;http://example.com/rab&quot;,&quot;test test test test record six.&quot;],[5,&quot;http://example.org/aba&quot;,&quot;test test test record five.&quot;],[4,&quot;http://example.net/afr&quot;,&quot;test record four.&quot;],[3,&quot;http://example.com/&quot;,&quot;test test record three.&quot;],[2,&quot;http://example.net/&quot;,&quot;test record 2.&quot;],[1,&quot;http://example.org/&quot;,&quot;This is test record 1!&quot;]]]]
338
298
  </pre></div>
339
299
  </div>
340
- <p>For condition of sort, you can use '_score' column introduced in the paragraph of &quot;Specify output column&quot;.</p>
300
+ <p>You can use the '_score' column as a sorting criteria for ranking a search result.</p>
341
301
  <p>Execution example:</p>
342
302
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --query title:@test --output_columns _id,_score,title --sortby _score
343
303
  [[0,1317212718.5331,0.000667311],[[[9],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_score&quot;,&quot;Int32&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,1,&quot;This is test record 1!&quot;],[2,1,&quot;test record 2.&quot;],[4,1,&quot;test record four.&quot;],[3,2,&quot;test test record three.&quot;],[9,2,&quot;test test record nine.&quot;],[8,2,&quot;test test record eight.&quot;],[7,3,&quot;test test test record seven.&quot;],[5,3,&quot;test test test record five.&quot;],[6,4,&quot;test test test test record six.&quot;]]]]
344
304
  </pre></div>
345
305
  </div>
346
- <p>If you want to specify some column names, you should use comma(,) between these names. In this case, when same value of records is existed in first column, this command sorts result of searching to value of second column.</p>
306
+ <p>If you want to specify more than one columns, please separate column names by commas. In such a case, a search result is sorted in order of the column values in the first column, and then records having the same values in the first column are sorted in order of the second column values.</p>
347
307
  <p>Execution example:</p>
348
308
  <div class="highlight-none"><div class="highlight"><pre>&gt; select --table Site --query title:@test --output_columns _id,_score,title --sortby _score,_id
349
309
  [[0,1317212718.73819,0.00069225],[[[9],[[&quot;_id&quot;,&quot;UInt32&quot;],[&quot;_score&quot;,&quot;Int32&quot;],[&quot;title&quot;,&quot;ShortText&quot;]],[1,1,&quot;This is test record 1!&quot;],[2,1,&quot;test record 2.&quot;],[4,1,&quot;test record four.&quot;],[3,2,&quot;test test record three.&quot;],[8,2,&quot;test test record eight.&quot;],[9,2,&quot;test test record nine.&quot;],[5,3,&quot;test test test record five.&quot;],[7,3,&quot;test test test record seven.&quot;],[6,4,&quot;test test test test record six.&quot;]]]]
@@ -353,7 +313,7 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
353
313
  <table class="docutils footnote" frame="void" id="id1" rules="none">
354
314
  <colgroup><col class="label" /><col /></colgroup>
355
315
  <tbody valign="top">
356
- <tr><td class="label">[1]</td><td>In now groonga's version, you can only use 'match_columns' parameter in the case of existing index of fulltext searching. This parameter cannot be use in searching for ordinary columns.</td></tr>
316
+ <tr><td class="label">[1]</td><td>Currently, a 'match_columns' parameter is available iff there exists an inverted index for full text search. A 'match_columns' parameter for a regular column is not supported.</td></tr>
357
317
  </tbody>
358
318
  </table>
359
319
  </div>
@@ -367,21 +327,21 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
367
327
  <div class="sphinxsidebarwrapper">
368
328
  <h3><a href="../index.html">Table Of Contents</a></h3>
369
329
  <ul>
370
- <li><a class="reference internal" href="#">4.1. Fundamental operation</a><ul>
371
- <li><a class="reference internal" href="#create-database">4.1.1. Create database</a></li>
372
- <li><a class="reference internal" href="#operate-database">4.1.2. Operate database</a></li>
373
- <li><a class="reference internal" href="#commands">4.1.3. Commands</a></li>
374
- <li><a class="reference internal" href="#basicaly-commands">4.1.4. Basicaly commands</a></li>
375
- <li><a class="reference internal" href="#create-table">4.1.5. Create table</a></li>
376
- <li><a class="reference internal" href="#search">4.1.6. Search</a></li>
377
- <li><a class="reference internal" href="#create-columns">4.1.7. Create columns</a></li>
378
- <li><a class="reference internal" href="#create-terminology-table-with-fulltext-searching">4.1.8. Create terminology table with fulltext-searching</a></li>
379
- <li><a class="reference internal" href="#create-index-column-with-fulltext-search">4.1.9. Create index-column with fulltext search</a></li>
330
+ <li><a class="reference internal" href="#">4.1. Basic operations</a><ul>
331
+ <li><a class="reference internal" href="#create-a-database">4.1.1. Create a database</a></li>
332
+ <li><a class="reference internal" href="#operate-a-database">4.1.2. Operate a database</a></li>
333
+ <li><a class="reference internal" href="#command-format">4.1.3. Command format</a></li>
334
+ <li><a class="reference internal" href="#basic-commands">4.1.4. Basic commands</a></li>
335
+ <li><a class="reference internal" href="#create-a-table">4.1.5. Create a table</a></li>
336
+ <li><a class="reference internal" href="#view-a-table">4.1.6. View a table</a></li>
337
+ <li><a class="reference internal" href="#create-a-column">4.1.7. Create a column</a></li>
338
+ <li><a class="reference internal" href="#create-a-lexicon-table-for-full-text-searches">4.1.8. Create a lexicon table for full text searches</a></li>
339
+ <li><a class="reference internal" href="#create-an-index-column-for-full-text-search">4.1.9. Create an index column for full text search</a></li>
380
340
  <li><a class="reference internal" href="#load-data">4.1.10. Load data</a></li>
381
341
  <li><a class="reference internal" href="#search-data">4.1.11. Search data</a></li>
382
- <li><a class="reference internal" href="#fulltext-searching">4.1.12. Fulltext searching</a></li>
383
- <li><a class="reference internal" href="#specify-output-column">4.1.13. Specify output column</a></li>
384
- <li><a class="reference internal" href="#ranges-to-display">4.1.14. Ranges to display</a></li>
342
+ <li><a class="reference internal" href="#full-text-search">4.1.12. Full text search</a></li>
343
+ <li><a class="reference internal" href="#specify-output-columns">4.1.13. Specify output columns</a></li>
344
+ <li><a class="reference internal" href="#specify-output-ranges">4.1.14. Specify output ranges</a></li>
385
345
  <li><a class="reference internal" href="#sort">4.1.15. Sort</a></li>
386
346
  </ul>
387
347
  </li>
@@ -389,7 +349,7 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
389
349
 
390
350
  <h4>Previous topic</h4>
391
351
  <p class="topless"><a href="../tutorial.html"
392
- title="previous chapter">4. チュートリアル</a></p>
352
+ title="previous chapter">4. Tutorial</a></p>
393
353
  <h4>Next topic</h4>
394
354
  <p class="topless"><a href="network.html"
395
355
  title="next chapter">4.2. How to use groonga with network</a></p>
@@ -401,7 +361,7 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
401
361
  <div id="searchbox" style="display: none">
402
362
  <h3>Quick search</h3>
403
363
  <form class="search" action="../search.html" method="get">
404
- <input type="text" name="q" size="18" />
364
+ <input type="text" name="q" />
405
365
  <input type="submit" value="Go" />
406
366
  <input type="hidden" name="check_keywords" value="yes" />
407
367
  <input type="hidden" name="area" value="default" />
@@ -425,14 +385,14 @@ In execution example, 'COLUMN_INDEX|WITH_POSITION' for '--flags' option specifie
425
385
  <a href="network.html" title="4.2. How to use groonga with network"
426
386
  >next</a> |</li>
427
387
  <li class="right" >
428
- <a href="../tutorial.html" title="4. チュートリアル"
388
+ <a href="../tutorial.html" title="4. Tutorial"
429
389
  >previous</a> |</li>
430
- <li><a href="../index.html">groonga v1.2.7 documentation</a> &raquo;</li>
431
- <li><a href="../tutorial.html" >4. チュートリアル</a> &raquo;</li>
390
+ <li><a href="../index.html">groonga v1.2.9 documentation</a> &raquo;</li>
391
+ <li><a href="../tutorial.html" >4. Tutorial</a> &raquo;</li>
432
392
  </ul>
433
393
  </div>
434
394
  <div class="footer">
435
- &copy; Copyright 2009-2011, Brazil, Inc.
395
+ &copy; Copyright 2009-2012, Brazil, Inc.
436
396
  </div>
437
397
  </body>
438
398
  </html>