rroonga 5.0.4-x86-mingw32 → 5.0.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (751) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +2 -2
  3. data/example/measure-data-column-disk-usage.rb +124 -0
  4. data/example/measure-index-column-disk-usage.rb +81 -0
  5. data/example/measure-table-disk-usage.rb +100 -0
  6. data/ext/groonga/rb-grn-database.c +31 -0
  7. data/ext/groonga/rb-grn-double-array-trie.c +1 -8
  8. data/ext/groonga/rb-grn-logger.c +45 -0
  9. data/ext/groonga/rb-grn-object.c +29 -1
  10. data/ext/groonga/rb-grn-patricia-trie.c +1 -8
  11. data/ext/groonga/rb-grn-table-cursor.c +8 -3
  12. data/ext/groonga/rb-grn-table.c +10 -5
  13. data/ext/groonga/rb-grn-thread.c +160 -0
  14. data/ext/groonga/rb-grn-windows-event-logger.c +79 -0
  15. data/ext/groonga/rb-grn.h +3 -1
  16. data/ext/groonga/rb-groonga.c +3 -1
  17. data/lib/1.9/groonga.so +0 -0
  18. data/lib/2.0/groonga.so +0 -0
  19. data/lib/2.1/groonga.so +0 -0
  20. data/lib/2.2/groonga.so +0 -0
  21. data/lib/groonga/dumper.rb +6 -1
  22. data/rroonga-build.rb +4 -4
  23. data/test/groonga-test-utils.rb +5 -1
  24. data/test/test-database.rb +11 -0
  25. data/test/test-logger.rb +6 -0
  26. data/test/test-operator.rb +6 -6
  27. data/test/test-procedure.rb +15 -0
  28. data/test/test-table-dumper.rb +170 -1
  29. data/test/test-thread.rb +42 -0
  30. data/test/test-windows-event-logger.rb +28 -0
  31. data/vendor/local/bin/grndb.exe +0 -0
  32. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  33. data/vendor/local/bin/groonga.exe +0 -0
  34. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  35. data/vendor/local/bin/libgroonga-0.dll +0 -0
  36. data/vendor/local/bin/libmecab-1.dll +0 -0
  37. data/vendor/local/bin/libmsgpack-4.dll +0 -0
  38. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  39. data/vendor/local/bin/libonig-5.dll +0 -0
  40. data/vendor/local/bin/libstdc++-6.dll +0 -0
  41. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  42. data/vendor/local/bin/lz4.exe +0 -0
  43. data/vendor/local/bin/lz4c.exe +0 -0
  44. data/vendor/local/bin/lz4cat +0 -0
  45. data/vendor/local/bin/mecab-config +2 -2
  46. data/vendor/local/bin/mecab.exe +0 -0
  47. data/vendor/local/bin/onig-config +1 -1
  48. data/vendor/local/bin/zlib1.dll +0 -0
  49. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  50. data/vendor/local/etc/groonga/windows_event_log/provider.man +38 -0
  51. data/vendor/local/include/groonga/groonga.h +2 -0
  52. data/vendor/local/include/groonga/groonga/command.h +2 -0
  53. data/vendor/local/include/groonga/groonga/groonga.h +5 -0
  54. data/vendor/local/include/groonga/groonga/obj.h +1 -0
  55. data/vendor/local/include/groonga/groonga/portability.h +16 -0
  56. data/vendor/local/include/groonga/groonga/thread.h +42 -0
  57. data/vendor/local/include/groonga/groonga/windows_event_logger.h +33 -0
  58. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  59. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  60. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  61. data/vendor/local/lib/groonga/plugins/functions/vector.la +2 -2
  62. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  63. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  64. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  65. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  66. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  67. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  68. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  69. data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
  70. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  71. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  72. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  73. data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
  74. data/vendor/local/lib/groonga/plugins/sharding.rb +5 -0
  75. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +43 -6
  76. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +32 -25
  77. data/vendor/local/lib/groonga/plugins/sharding/logical_parameters.rb +44 -0
  78. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +217 -49
  79. data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +507 -45
  80. data/vendor/local/lib/groonga/plugins/sharding/logical_shard_list.rb +28 -0
  81. data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +11 -6
  82. data/vendor/local/lib/groonga/plugins/sharding/parameters.rb +10 -0
  83. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  84. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  85. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  86. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  87. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  88. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  89. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  90. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  91. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  92. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  93. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  94. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
  95. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  96. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  97. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  98. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  99. data/vendor/local/lib/groonga/scripts/ruby/command.rb +31 -1
  100. data/vendor/local/lib/groonga/scripts/ruby/context.rb +18 -2
  101. data/vendor/local/lib/groonga/scripts/ruby/database.rb +12 -4
  102. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +31 -28
  103. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +1 -0
  104. data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +4 -2
  105. data/vendor/local/lib/groonga/scripts/ruby/query_logger.rb +9 -0
  106. data/vendor/local/lib/groonga/scripts/ruby/query_logger/flag.rb +39 -0
  107. data/vendor/local/lib/groonga/scripts/ruby/record.rb +12 -0
  108. data/vendor/local/lib/groonga/scripts/ruby/table.rb +35 -1
  109. data/vendor/local/lib/libgroonga.a +0 -0
  110. data/vendor/local/lib/libgroonga.dll.a +0 -0
  111. data/vendor/local/lib/libgroonga.la +2 -2
  112. data/vendor/local/lib/liblz4.dll +0 -0
  113. data/vendor/local/lib/liblz4.dll.1 +0 -0
  114. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  115. data/vendor/local/lib/libmecab.a +0 -0
  116. data/vendor/local/lib/libmecab.dll.a +0 -0
  117. data/vendor/local/lib/libmecab.la +2 -2
  118. data/vendor/local/lib/libmsgpack.a +0 -0
  119. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  120. data/vendor/local/lib/libmsgpack.la +2 -2
  121. data/vendor/local/lib/libmsgpackc.a +0 -0
  122. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  123. data/vendor/local/lib/libmsgpackc.la +2 -2
  124. data/vendor/local/lib/libonig.a +0 -0
  125. data/vendor/local/lib/libonig.dll.a +0 -0
  126. data/vendor/local/lib/libonig.la +2 -2
  127. data/vendor/local/lib/libz.a +0 -0
  128. data/vendor/local/lib/libz.dll.a +0 -0
  129. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  130. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  131. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  132. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  133. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  134. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  135. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  136. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  137. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  138. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  139. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  140. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  141. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  142. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +3 -2
  143. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build.txt +19 -0
  144. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
  145. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
  146. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
  147. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +16 -7
  148. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +7 -3
  149. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/test.txt +4 -0
  150. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  151. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +4 -4
  152. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
  153. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  154. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
  155. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  156. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -4
  157. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  158. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +319 -0
  159. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  160. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +1 -1
  161. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +23 -0
  162. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_thread.txt +122 -0
  163. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
  164. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +381 -0
  165. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
  166. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -1
  167. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +85 -0
  168. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +218 -9
  169. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -3
  170. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +1 -1
  171. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +3 -1
  172. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +138 -0
  173. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +97 -10
  174. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +745 -23
  175. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +107 -0
  176. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +3 -1
  177. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -3
  178. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +1 -2
  179. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +90 -0
  180. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +1 -1
  181. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +1 -1
  182. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +1 -1
  183. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +1 -3
  184. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
  185. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
  186. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +240 -56
  187. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +33 -7
  188. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_rename.txt +90 -0
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +2 -1
  190. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +110 -0
  191. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -1
  192. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +1 -3
  193. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -3
  194. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +3 -4
  195. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +0 -1
  196. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +0 -1
  197. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
  198. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
  199. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
  200. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
  201. data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -2
  202. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
  203. data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +3 -0
  204. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +2 -0
  205. data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +108 -0
  206. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +0 -21
  207. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -1
  208. data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
  209. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
  210. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +24 -18
  211. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +19 -19
  212. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +9 -9
  213. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
  214. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
  215. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +27 -2
  216. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  217. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  218. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  219. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
  220. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
  221. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  222. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  223. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  224. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
  225. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
  226. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  227. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  228. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
  229. data/vendor/local/share/doc/groonga/en/html/characteristic.html +19 -17
  230. data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
  231. data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
  232. data/vendor/local/share/doc/groonga/en/html/contribution.html +78 -70
  233. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +30 -27
  234. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +146 -0
  235. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +237 -0
  236. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +227 -0
  237. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +231 -0
  238. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +37 -35
  239. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +54 -52
  240. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +80 -78
  241. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +135 -122
  242. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +38 -34
  243. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +58 -54
  244. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +21 -19
  245. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +27 -25
  246. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +23 -21
  247. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
  248. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +21 -19
  249. data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
  250. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +30 -28
  251. data/vendor/local/share/doc/groonga/en/html/genindex.html +48 -20
  252. data/vendor/local/share/doc/groonga/en/html/index.html +123 -105
  253. data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
  254. data/vendor/local/share/doc/groonga/en/html/install/centos.html +32 -30
  255. data/vendor/local/share/doc/groonga/en/html/install/debian.html +31 -29
  256. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +29 -27
  257. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +26 -24
  258. data/vendor/local/share/doc/groonga/en/html/install/others.html +92 -90
  259. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +26 -24
  260. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +29 -28
  261. data/vendor/local/share/doc/groonga/en/html/install/windows.html +34 -32
  262. data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -17
  263. data/vendor/local/share/doc/groonga/en/html/news.html +509 -142
  264. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
  265. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  266. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
  267. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
  268. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
  269. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +110 -108
  270. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +73 -71
  271. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +111 -109
  272. data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
  273. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  274. data/vendor/local/share/doc/groonga/en/html/reference.html +111 -94
  275. data/vendor/local/share/doc/groonga/en/html/reference/api.html +55 -52
  276. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +51 -49
  277. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +63 -61
  278. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +84 -82
  279. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +46 -44
  280. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +41 -39
  281. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +89 -87
  282. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +88 -50
  283. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +48 -46
  284. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +83 -81
  285. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
  286. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +48 -46
  287. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +46 -44
  288. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +45 -43
  289. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +45 -43
  290. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
  291. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +93 -91
  292. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
  293. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +43 -41
  294. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +79 -77
  295. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +69 -67
  296. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +296 -0
  297. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +45 -43
  298. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +38 -36
  299. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +51 -49
  300. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +60 -58
  301. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
  302. data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
  303. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +23 -21
  304. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +28 -26
  305. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +23 -21
  306. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +72 -70
  307. data/vendor/local/share/doc/groonga/en/html/reference/command.html +70 -61
  308. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +23 -21
  309. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +59 -57
  310. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +28 -26
  311. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +100 -98
  312. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -42
  313. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +49 -47
  314. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +33 -31
  315. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +796 -0
  316. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +62 -60
  317. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +96 -94
  318. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +46 -44
  319. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +67 -64
  320. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +236 -0
  321. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +62 -60
  322. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +46 -44
  323. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +59 -57
  324. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +63 -61
  325. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +281 -54
  326. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +66 -64
  327. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +53 -52
  328. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +48 -46
  329. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +48 -46
  330. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +48 -46
  331. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +78 -75
  332. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +283 -0
  333. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +160 -85
  334. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +2071 -83
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +287 -0
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +71 -68
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +86 -84
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +52 -50
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +227 -0
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +57 -55
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +53 -51
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +43 -41
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +43 -41
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +56 -54
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +75 -74
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +59 -57
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +59 -57
  348. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +898 -647
  349. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +43 -41
  350. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +50 -48
  351. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +87 -85
  352. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +175 -152
  353. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +55 -53
  354. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +46 -44
  355. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +327 -0
  356. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +77 -75
  357. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +241 -0
  358. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +108 -106
  359. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +56 -51
  360. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +56 -55
  361. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +24 -22
  362. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +41 -39
  363. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +28 -26
  364. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +33 -31
  365. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +83 -81
  366. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +29 -27
  367. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
  368. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +48 -46
  369. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +40 -38
  370. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +84 -82
  371. data/vendor/local/share/doc/groonga/en/html/reference/function.html +22 -20
  372. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +47 -45
  373. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +25 -23
  374. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +85 -83
  375. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +36 -34
  376. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +26 -24
  377. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +66 -64
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +54 -52
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +34 -32
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +23 -21
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -53
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +24 -22
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +49 -47
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +45 -43
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +33 -31
  387. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +29 -27
  388. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +244 -242
  389. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +327 -325
  390. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -29
  391. data/vendor/local/share/doc/groonga/en/html/reference/log.html +43 -41
  392. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +49 -47
  393. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +21 -19
  394. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +23 -21
  395. data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -34
  396. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +21 -19
  397. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +62 -60
  398. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +107 -103
  399. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +50 -40
  400. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +27 -25
  401. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +41 -31
  402. data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +19 -17
  403. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +241 -0
  404. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
  405. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +30 -28
  406. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +23 -21
  407. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +23 -21
  408. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +23 -21
  409. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +56 -54
  410. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +41 -39
  411. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +341 -289
  412. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +68 -66
  413. data/vendor/local/share/doc/groonga/en/html/reference/types.html +43 -41
  414. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  415. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  416. data/vendor/local/share/doc/groonga/en/html/server.html +19 -17
  417. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +22 -20
  418. data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
  419. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +37 -35
  420. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +23 -21
  421. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +23 -21
  422. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +21 -19
  423. data/vendor/local/share/doc/groonga/en/html/server/package.html +39 -37
  424. data/vendor/local/share/doc/groonga/en/html/spec.html +23 -21
  425. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +129 -127
  426. data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -20
  427. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
  428. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
  429. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
  430. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  431. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +29 -23
  432. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +35 -33
  433. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +25 -23
  434. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +46 -39
  435. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -19
  436. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +65 -63
  437. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +55 -53
  438. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +25 -23
  439. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +22 -20
  440. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +25 -23
  441. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
  442. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  443. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +3 -2
  444. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build.txt +19 -0
  445. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_autotools.txt +101 -0
  446. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/unix_cmake.txt +94 -0
  447. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/build/windows_cmake.txt +93 -0
  448. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +16 -7
  449. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +7 -3
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/test.txt +4 -0
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +4 -4
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -4
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +319 -0
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +1 -1
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +23 -0
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_thread.txt +122 -0
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +381 -0
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -1
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +85 -0
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +218 -9
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -3
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +1 -1
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +3 -1
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +138 -0
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +97 -10
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +745 -23
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +107 -0
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +3 -1
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -3
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +1 -2
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +90 -0
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +1 -1
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +1 -1
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +1 -1
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +1 -3
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
  487. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +240 -56
  488. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +33 -7
  489. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_rename.txt +90 -0
  490. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +2 -1
  491. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +110 -0
  492. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -1
  493. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +1 -3
  494. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -3
  495. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +3 -4
  496. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +0 -1
  497. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +0 -1
  498. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
  499. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
  500. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +1 -1
  501. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +34 -14
  502. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -2
  503. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
  504. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +3 -0
  505. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +2 -0
  506. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +108 -0
  507. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +0 -21
  508. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -1
  509. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
  510. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +4 -4
  511. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +24 -18
  512. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +19 -19
  513. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +9 -9
  514. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
  515. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
  516. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +27 -2
  517. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  518. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  519. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  520. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
  521. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
  522. data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
  523. data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
  524. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  525. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
  526. data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
  527. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  528. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  529. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
  530. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +19 -17
  531. data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
  532. data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
  533. data/vendor/local/share/doc/groonga/ja/html/contribution.html +77 -69
  534. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +30 -27
  535. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +144 -0
  536. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +226 -0
  537. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +215 -0
  538. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +229 -0
  539. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +36 -34
  540. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +53 -51
  541. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +79 -77
  542. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +134 -121
  543. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +29 -27
  544. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +57 -53
  545. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +21 -19
  546. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +23 -21
  547. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +23 -21
  548. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
  549. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +21 -19
  550. data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
  551. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +25 -23
  552. data/vendor/local/share/doc/groonga/ja/html/genindex.html +48 -20
  553. data/vendor/local/share/doc/groonga/ja/html/index.html +122 -104
  554. data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
  555. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +35 -33
  556. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +33 -31
  557. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +30 -28
  558. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +26 -24
  559. data/vendor/local/share/doc/groonga/ja/html/install/others.html +83 -81
  560. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +25 -23
  561. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +30 -29
  562. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +33 -31
  563. data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -17
  564. data/vendor/local/share/doc/groonga/ja/html/news.html +460 -126
  565. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
  566. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  567. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
  568. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
  569. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
  570. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +102 -100
  571. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +66 -64
  572. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +91 -89
  573. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
  574. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  575. data/vendor/local/share/doc/groonga/ja/html/reference.html +111 -94
  576. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +55 -52
  577. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +51 -49
  578. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +58 -56
  579. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +84 -82
  580. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +46 -44
  581. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +41 -39
  582. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +85 -83
  583. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +88 -50
  584. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +48 -46
  585. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +78 -76
  586. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
  587. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +48 -46
  588. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +46 -44
  589. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +45 -43
  590. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +45 -43
  591. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
  592. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +93 -91
  593. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
  594. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +43 -41
  595. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +79 -77
  596. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +69 -67
  597. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +286 -0
  598. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +45 -43
  599. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +38 -36
  600. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -46
  601. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +60 -58
  602. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
  603. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
  604. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +23 -21
  605. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -26
  606. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +23 -21
  607. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +61 -59
  608. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +70 -61
  609. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +23 -21
  610. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +49 -47
  611. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -26
  612. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +99 -97
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +41 -39
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +49 -47
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +33 -31
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +781 -0
  617. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +62 -60
  618. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +88 -86
  619. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +46 -44
  620. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +66 -63
  621. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +229 -0
  622. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +62 -60
  623. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +46 -44
  624. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +58 -56
  625. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +63 -61
  626. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +266 -54
  627. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +59 -57
  628. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +53 -52
  629. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +48 -46
  630. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +48 -46
  631. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +48 -46
  632. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +78 -75
  633. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +276 -0
  634. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +158 -85
  635. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +2008 -80
  636. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +285 -0
  637. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +71 -68
  638. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +82 -79
  639. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +52 -50
  640. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +220 -0
  641. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +53 -51
  642. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +51 -49
  643. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +43 -41
  644. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +43 -41
  645. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +52 -50
  646. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +68 -67
  647. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +59 -57
  648. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +59 -57
  649. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +680 -448
  650. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +43 -41
  651. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +48 -46
  652. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +84 -82
  653. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +146 -126
  654. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +55 -53
  655. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +46 -44
  656. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +322 -0
  657. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +73 -70
  658. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +229 -0
  659. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +94 -91
  660. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +56 -51
  661. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +56 -55
  662. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +24 -22
  663. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +39 -37
  664. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +28 -26
  665. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +33 -31
  666. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +73 -72
  667. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +29 -27
  668. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +23 -21
  669. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +48 -46
  670. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +40 -38
  671. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +84 -82
  672. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +22 -20
  673. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +46 -44
  674. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +25 -23
  675. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +69 -67
  676. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +36 -34
  677. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +26 -24
  678. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +56 -54
  679. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +45 -43
  680. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -32
  681. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +35 -33
  682. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +23 -21
  683. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +48 -46
  684. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +24 -22
  685. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +35 -33
  686. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -35
  687. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +33 -31
  688. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +26 -24
  689. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +143 -141
  690. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +236 -234
  691. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -28
  692. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +43 -41
  693. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +39 -37
  694. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +21 -19
  695. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +23 -21
  696. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -30
  697. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +21 -19
  698. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +42 -39
  699. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +91 -88
  700. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +50 -40
  701. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +27 -25
  702. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +41 -31
  703. data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +19 -17
  704. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +223 -0
  705. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
  706. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +27 -25
  707. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +23 -21
  708. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +23 -21
  709. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +23 -21
  710. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +46 -44
  711. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +38 -36
  712. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +303 -243
  713. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +62 -60
  714. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +42 -40
  715. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  716. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  717. data/vendor/local/share/doc/groonga/ja/html/server.html +19 -17
  718. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +21 -19
  719. data/vendor/local/share/doc/groonga/ja/html/server/http.html +21 -19
  720. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +31 -29
  721. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +23 -21
  722. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +23 -21
  723. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +21 -19
  724. data/vendor/local/share/doc/groonga/ja/html/server/package.html +38 -36
  725. data/vendor/local/share/doc/groonga/ja/html/spec.html +23 -21
  726. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +128 -126
  727. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -20
  728. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
  729. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +25 -23
  730. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -20
  731. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  732. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +29 -23
  733. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +34 -32
  734. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -20
  735. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +46 -39
  736. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +21 -19
  737. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +66 -64
  738. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +52 -50
  739. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +25 -23
  740. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +22 -20
  741. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +25 -23
  742. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
  743. data/vendor/local/share/license/groonga/README.md +6 -0
  744. data/vendor/local/share/license/mruby/AUTHORS +1 -0
  745. data/vendor/local/share/license/mruby/MITL +1 -1
  746. data/vendor/local/share/license/mruby/README.md +6 -5
  747. data/vendor/local/share/license/msgpack/README +219 -0
  748. data/vendor/local/share/man/ja/man1/groonga.1 +23512 -15126
  749. data/vendor/local/share/man/man1/groonga.1 +26542 -17745
  750. metadata +77 -3
  751. data/vendor/local/share/license/msgpack/AUTHORS +0 -0
@@ -7,7 +7,7 @@
7
7
  <head>
8
8
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
9
 
10
- <title>7.12.2. Script syntax &mdash; Groonga v5.0.4-139-g6629adb documentation</title>
10
+ <title>7.12.2. Script syntax &mdash; Groonga v5.0.6-226-gd7da7e7 documentation</title>
11
11
 
12
12
  <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
13
13
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript">
16
16
  var DOCUMENTATION_OPTIONS = {
17
17
  URL_ROOT: '../../',
18
- VERSION: '5.0.4-139-g6629adb',
18
+ VERSION: '5.0.6-226-gd7da7e7',
19
19
  COLLAPSE_INDEX: false,
20
20
  FILE_SUFFIX: '.html',
21
21
  HAS_SOURCE: true
@@ -25,12 +25,12 @@
25
25
  <script type="text/javascript" src="../../_static/underscore.js"></script>
26
26
  <script type="text/javascript" src="../../_static/doctools.js"></script>
27
27
  <link rel="shortcut icon" href="../../_static/favicon.ico"/>
28
- <link rel="top" title="Groonga v5.0.4-139-g6629adb documentation" href="../../index.html" />
28
+ <link rel="top" title="Groonga v5.0.6-226-gd7da7e7 documentation" href="../../index.html" />
29
29
  <link rel="up" title="7.12. grn_expr" href="../grn_expr.html" />
30
30
  <link rel="next" title="7.13. Regular expression" href="../regular_expression.html" />
31
31
  <link rel="prev" title="7.12.1. Query syntax" href="query_syntax.html" />
32
32
  </head>
33
- <body>
33
+ <body role="document">
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,7 +48,7 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related">
51
+ <div class="related" role="navigation" aria-label="related navigation">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
@@ -60,28 +60,28 @@
60
60
  <li class="right" >
61
61
  <a href="query_syntax.html" title="7.12.1. Query syntax"
62
62
  accesskey="P">previous</a> |</li>
63
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adb documentation</a> &raquo;</li>
64
- <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li><a href="../grn_expr.html" accesskey="U">7.12. grn_expr</a> &raquo;</li>
63
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> &raquo;</li>
64
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
+ <li class="nav-item nav-item-2"><a href="../grn_expr.html" accesskey="U">7.12. grn_expr</a> &raquo;</li>
66
66
  </ul>
67
67
  </div>
68
68
 
69
69
  <div class="document">
70
70
  <div class="documentwrapper">
71
71
  <div class="bodywrapper">
72
- <div class="body">
72
+ <div class="body" role="main">
73
73
 
74
74
  <div class="section" id="script-syntax">
75
75
  <h1>7.12.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
76
76
  <p>Script syntax is a syntax to specify complex search condition. It is
77
- similar to ECMAScript. For example, <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">==</span> <span class="pre">&quot;book&quot;</span></tt> means that
78
- groonga searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> value is <tt class="docutils literal"><span class="pre">&quot;book&quot;</span></tt>. All values
77
+ similar to ECMAScript. For example, <code class="docutils literal"><span class="pre">_key</span> <span class="pre">==</span> <span class="pre">&quot;book&quot;</span></code> means that
78
+ groonga searches records that <code class="docutils literal"><span class="pre">_key</span></code> value is <code class="docutils literal"><span class="pre">&quot;book&quot;</span></code>. All values
79
79
  are string in <a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> but its own type in script
80
- syntax. For example, <tt class="docutils literal"><span class="pre">&quot;book&quot;</span></tt> is string, <tt class="docutils literal"><span class="pre">1</span></tt> is integer,
81
- <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is the object whose name is <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> and so on.</p>
80
+ syntax. For example, <code class="docutils literal"><span class="pre">&quot;book&quot;</span></code> is string, <code class="docutils literal"><span class="pre">1</span></code> is integer,
81
+ <code class="docutils literal"><span class="pre">TokenBigram</span></code> is the object whose name is <code class="docutils literal"><span class="pre">TokenBigram</span></code> and so on.</p>
82
82
  <p>Script syntax doesn't support full ECMAScript syntax. For example,
83
- script syntax doesn't support statement such as <tt class="docutils literal"><span class="pre">if</span></tt> control
84
- statement, <tt class="docutils literal"><span class="pre">for</span></tt> iteration statement and variable definition
83
+ script syntax doesn't support statement such as <code class="docutils literal"><span class="pre">if</span></code> control
84
+ statement, <code class="docutils literal"><span class="pre">for</span></code> iteration statement and variable definition
85
85
  statement. Function definion is not supported too. But script syntax
86
86
  addes the original additional operators. They are described after
87
87
  ECMAScript syntax is described.</p>
@@ -101,13 +101,13 @@ select_options = {
101
101
  groonga_client.select(select_options)
102
102
  </pre></div>
103
103
  </div>
104
- <p><tt class="docutils literal"><span class="pre">user_input</span></tt> is an input from user. If the input is <tt class="docutils literal"><span class="pre">query</span></tt>,
105
- here is the constructed <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a> parameter:</p>
104
+ <p><code class="docutils literal"><span class="pre">user_input</span></code> is an input from user. If the input is <code class="docutils literal"><span class="pre">query</span></code>,
105
+ here is the constructed <a class="reference internal" href="../commands/select.html#select-filter"><span>filter</span></a> parameter:</p>
106
106
  <div class="highlight-none"><div class="highlight"><pre>column @ &quot;query&quot;
107
107
  </pre></div>
108
108
  </div>
109
- <p>If the input is <tt class="docutils literal"><span class="pre">x&quot;</span> <span class="pre">||</span> <span class="pre">true</span> <span class="pre">||</span> <span class="pre">&quot;</span></tt>, here is the constructed
110
- ref:<cite>select-filter</cite> parameter:</p>
109
+ <p>If the input is <code class="docutils literal"><span class="pre">x&quot;</span> <span class="pre">||</span> <span class="pre">true</span> <span class="pre">||</span> <span class="pre">&quot;</span></code>, here is the constructed
110
+ <a class="reference internal" href="../commands/select.html#select-filter"><span>filter</span></a> parameter:</p>
111
111
  <div class="highlight-none"><div class="highlight"><pre>column @ &quot;x&quot; || true || &quot;&quot;
112
112
  </pre></div>
113
113
  </div>
@@ -115,20 +115,20 @@ ref:<cite>select-filter</cite> parameter:</p>
115
115
  your database. The user may be evil.</p>
116
116
  <p>It's better that you just receive an user input as a value. It means
117
117
  that you don't accept that user input can contain operator such as
118
- <tt class="docutils literal"><span class="pre">&#64;</span></tt> and <tt class="docutils literal"><span class="pre">&amp;&amp;</span></tt>. If you accept operator, user can create evil query.</p>
118
+ <code class="docutils literal"><span class="pre">&#64;</span></code> and <code class="docutils literal"><span class="pre">&amp;&amp;</span></code>. If you accept operator, user can create evil query.</p>
119
119
  <p>If user input has only value, you blocks evil query by escaping user
120
120
  input value. Here is a list how to escape user input value:</p>
121
121
  <blockquote>
122
122
  <div><ul class="simple">
123
- <li>True value: Convert it to <tt class="docutils literal"><span class="pre">true</span></tt>.</li>
124
- <li>False value: Convert it to <tt class="docutils literal"><span class="pre">false</span></tt>.</li>
125
- <li>Numerical value: Convert it to <a class="reference internal" href="#script-syntax-literal-integer"><em>Integer</em></a>
126
- or <a class="reference internal" href="#script-syntax-literal-float"><em>Float</em></a>. For example, <tt class="docutils literal"><span class="pre">1.2</span></tt>,
127
- <tt class="docutils literal"><span class="pre">-10</span></tt>, <tt class="docutils literal"><span class="pre">314e-2</span></tt> and so on.</li>
128
- <li>String value: Replace <tt class="docutils literal"><span class="pre">&quot;</span></tt> with <tt class="docutils literal"><span class="pre">\&quot;</span></tt> and <tt class="docutils literal"><span class="pre">\</span></tt> with <tt class="docutils literal"><span class="pre">\\</span></tt> in
123
+ <li>True value: Convert it to <code class="docutils literal"><span class="pre">true</span></code>.</li>
124
+ <li>False value: Convert it to <code class="docutils literal"><span class="pre">false</span></code>.</li>
125
+ <li>Numerical value: Convert it to <a class="reference internal" href="#script-syntax-literal-integer"><span>Integer</span></a>
126
+ or <a class="reference internal" href="#script-syntax-literal-float"><span>Float</span></a>. For example, <code class="docutils literal"><span class="pre">1.2</span></code>,
127
+ <code class="docutils literal"><span class="pre">-10</span></code>, <code class="docutils literal"><span class="pre">314e-2</span></code> and so on.</li>
128
+ <li>String value: Replace <code class="docutils literal"><span class="pre">&quot;</span></code> with <code class="docutils literal"><span class="pre">\&quot;</span></code> and <code class="docutils literal"><span class="pre">\</span></code> with <code class="docutils literal"><span class="pre">\\</span></code> in
129
129
  the string value and surround substituted string value by
130
- <tt class="docutils literal"><span class="pre">&quot;</span></tt>. For example, <tt class="docutils literal"><span class="pre">double</span> <span class="pre">&quot;</span> <span class="pre">quote</span> <span class="pre">and</span> <span class="pre">back</span> <span class="pre">\</span> <span class="pre">slash</span></tt> should be
131
- converted to <tt class="docutils literal"><span class="pre">&quot;double</span> <span class="pre">\&quot;</span> <span class="pre">quote</span> <span class="pre">and</span> <span class="pre">back</span> <span class="pre">\\</span> <span class="pre">slash&quot;</span></tt>.</li>
130
+ <code class="docutils literal"><span class="pre">&quot;</span></code>. For example, <code class="docutils literal"><span class="pre">double</span> <span class="pre">&quot;</span> <span class="pre">quote</span> <span class="pre">and</span> <span class="pre">back</span> <span class="pre">\</span> <span class="pre">slash</span></code> should be
131
+ converted to <code class="docutils literal"><span class="pre">&quot;double</span> <span class="pre">\&quot;</span> <span class="pre">quote</span> <span class="pre">and</span> <span class="pre">back</span> <span class="pre">\\</span> <span class="pre">slash&quot;</span></code>.</li>
132
132
  </ul>
133
133
  </div></blockquote>
134
134
  </div>
@@ -142,7 +142,7 @@ column_create Entries content COLUMN_SCALAR Text
142
142
  # [[0, 1337566253.89858, 0.000355720520019531], true]
143
143
  column_create Entries n_likes COLUMN_SCALAR UInt32
144
144
  # [[0, 1337566253.89858, 0.000355720520019531], true]
145
- table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
145
+ table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
146
146
  # [[0, 1337566253.89858, 0.000355720520019531], true]
147
147
  column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
148
148
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -154,10 +154,10 @@ load --table Entries
154
154
  &quot;content&quot;: &quot;Welcome! This is my first post!&quot;,
155
155
  &quot;n_likes&quot;: 5},
156
156
  {&quot;_key&quot;: &quot;Groonga&quot;,
157
- &quot;content&quot;: &quot;I started to use groonga. It&#39;s very fast!&quot;,
157
+ &quot;content&quot;: &quot;I started to use Groonga. It&#39;s very fast!&quot;,
158
158
  &quot;n_likes&quot;: 10},
159
159
  {&quot;_key&quot;: &quot;Mroonga&quot;,
160
- &quot;content&quot;: &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
160
+ &quot;content&quot;: &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
161
161
  &quot;n_likes&quot;: 15},
162
162
  {&quot;_key&quot;: &quot;Good-bye Senna&quot;,
163
163
  &quot;content&quot;: &quot;I migrated all Senna system!&quot;,
@@ -169,53 +169,53 @@ load --table Entries
169
169
  # [[0, 1337566253.89858, 0.000355720520019531], 5]
170
170
  </pre></div>
171
171
  </div>
172
- <p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
172
+ <p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
173
173
  content and the number of likes for the entry. Title is key of
174
- <tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
175
- number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
176
- <p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
177
- using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
178
- <tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
174
+ <code class="docutils literal"><span class="pre">Entries</span></code>. Content is value of <code class="docutils literal"><span class="pre">Entries.content</span></code> column. The
175
+ number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
176
+ <p><code class="docutils literal"><span class="pre">Entries._key</span></code> column and <code class="docutils literal"><span class="pre">Entries.content</span></code> column are indexed
177
+ using <code class="docutils literal"><span class="pre">TokenBigram</span></code> tokenizer. So both <code class="docutils literal"><span class="pre">Entries._key</span></code> and
178
+ <code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
179
179
  <p>OK. The schema and data for examples are ready.</p>
180
180
  </div>
181
181
  <div class="section" id="literals">
182
182
  <span id="script-syntax-literals"></span><h2>7.12.2.3. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
183
183
  <div class="section" id="integer">
184
184
  <span id="script-syntax-literal-integer"></span><h3>7.12.2.3.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
185
- <p>Integer literal is sequence of <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt> such as
186
- <tt class="docutils literal"><span class="pre">1234567890</span></tt>. <tt class="docutils literal"><span class="pre">+</span></tt> or <tt class="docutils literal"><span class="pre">-</span></tt> can be prepended as sign such as
187
- <tt class="docutils literal"><span class="pre">+29</span></tt> and <tt class="docutils literal"><span class="pre">-29</span></tt>. Integer literal must be decimal. Octal notation,
185
+ <p>Integer literal is sequence of <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code> such as
186
+ <code class="docutils literal"><span class="pre">1234567890</span></code>. <code class="docutils literal"><span class="pre">+</span></code> or <code class="docutils literal"><span class="pre">-</span></code> can be prepended as sign such as
187
+ <code class="docutils literal"><span class="pre">+29</span></code> and <code class="docutils literal"><span class="pre">-29</span></code>. Integer literal must be decimal. Octal notation,
188
188
  hex and so on can't be used.</p>
189
- <p>The maximum value of integer literal is <tt class="docutils literal"><span class="pre">9223372036854775807</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">2</span>
190
- <span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></tt>). The minimum value of integer literal is
191
- <tt class="docutils literal"><span class="pre">-9223372036854775808</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">-(2</span> <span class="pre">**</span> <span class="pre">63)</span></tt>).</p>
189
+ <p>The maximum value of integer literal is <code class="docutils literal"><span class="pre">9223372036854775807</span></code> (<code class="docutils literal"><span class="pre">=</span> <span class="pre">2</span>
190
+ <span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></code>). The minimum value of integer literal is
191
+ <code class="docutils literal"><span class="pre">-9223372036854775808</span></code> (<code class="docutils literal"><span class="pre">=</span> <span class="pre">-(2</span> <span class="pre">**</span> <span class="pre">63)</span></code>).</p>
192
192
  </div>
193
193
  <div class="section" id="float">
194
194
  <span id="script-syntax-literal-float"></span><h3>7.12.2.3.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
195
- <p>Float literal is sequence of <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>, <tt class="docutils literal"><span class="pre">.</span></tt> and <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>
196
- such as <tt class="docutils literal"><span class="pre">3.14</span></tt>. <tt class="docutils literal"><span class="pre">+</span></tt> or <tt class="docutils literal"><span class="pre">-</span></tt> can be prepended as sign such as
197
- <tt class="docutils literal"><span class="pre">+3.14</span></tt> and <tt class="docutils literal"><span class="pre">-3.14</span></tt>. <tt class="docutils literal"><span class="pre">${RADIX}e${EXPORNENTIAL}</span></tt> and
198
- <tt class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></tt> formats are also supported. For example,
199
- <tt class="docutils literal"><span class="pre">314e-2</span></tt> is the same as <tt class="docutils literal"><span class="pre">3.14</span></tt>.</p>
195
+ <p>Float literal is sequence of <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code>, <code class="docutils literal"><span class="pre">.</span></code> and <code class="docutils literal"><span class="pre">0</span></code> to <code class="docutils literal"><span class="pre">9</span></code>
196
+ such as <code class="docutils literal"><span class="pre">3.14</span></code>. <code class="docutils literal"><span class="pre">+</span></code> or <code class="docutils literal"><span class="pre">-</span></code> can be prepended as sign such as
197
+ <code class="docutils literal"><span class="pre">+3.14</span></code> and <code class="docutils literal"><span class="pre">-3.14</span></code>. <code class="docutils literal"><span class="pre">${RADIX}e${EXPORNENTIAL}</span></code> and
198
+ <code class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></code> formats are also supported. For example,
199
+ <code class="docutils literal"><span class="pre">314e-2</span></code> is the same as <code class="docutils literal"><span class="pre">3.14</span></code>.</p>
200
200
  </div>
201
201
  <div class="section" id="string">
202
202
  <span id="script-syntax-literal-string"></span><h3>7.12.2.3.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
203
- <p>String literal is <tt class="docutils literal"><span class="pre">&quot;...&quot;</span></tt>. You need to escape <tt class="docutils literal"><span class="pre">&quot;</span></tt> in literal by
204
- prepending <tt class="docutils literal"><span class="pre">\\''</span> <span class="pre">such</span> <span class="pre">as</span> <span class="pre">``\&quot;</span></tt>. For example, <tt class="docutils literal"><span class="pre">&quot;Say</span> <span class="pre">\&quot;Hello!\&quot;.&quot;</span></tt> is
205
- a literal for <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">&quot;Hello!&quot;.</span></tt> string.</p>
203
+ <p>String literal is <code class="docutils literal"><span class="pre">&quot;...&quot;</span></code>. You need to escape <code class="docutils literal"><span class="pre">&quot;</span></code> in literal by
204
+ prepending <code class="docutils literal"><span class="pre">\\''</span> <span class="pre">such</span> <span class="pre">as</span> <span class="pre">``\&quot;</span></code>. For example, <code class="docutils literal"><span class="pre">&quot;Say</span> <span class="pre">\&quot;Hello!\&quot;.&quot;</span></code> is
205
+ a literal for <code class="docutils literal"><span class="pre">Say</span> <span class="pre">&quot;Hello!&quot;.</span></code> string.</p>
206
206
  <p>String encoding must be the same as encoding of database. The default
207
- encoding is UTF-8. It can be changed by <tt class="docutils literal"><span class="pre">--with-default-encoding</span></tt>
208
- configure option, <tt class="docutils literal"><span class="pre">--encodiong</span></tt> <a class="reference internal" href="../executables/groonga.html"><em>groonga executable file</em></a> option
207
+ encoding is UTF-8. It can be changed by <code class="docutils literal"><span class="pre">--with-default-encoding</span></code>
208
+ configure option, <code class="docutils literal"><span class="pre">--encodiong</span></code> <a class="reference internal" href="../executables/groonga.html"><em>groonga executable file</em></a> option
209
209
  and so on.</p>
210
210
  </div>
211
211
  <div class="section" id="boolean">
212
212
  <span id="script-syntax-literal-boolean"></span><h3>7.12.2.3.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
213
- <p>Boolean literal is <tt class="docutils literal"><span class="pre">true</span></tt> and <tt class="docutils literal"><span class="pre">false</span></tt>. <tt class="docutils literal"><span class="pre">true</span></tt> means true and
214
- <tt class="docutils literal"><span class="pre">false</span></tt> means false.</p>
213
+ <p>Boolean literal is <code class="docutils literal"><span class="pre">true</span></code> and <code class="docutils literal"><span class="pre">false</span></code>. <code class="docutils literal"><span class="pre">true</span></code> means true and
214
+ <code class="docutils literal"><span class="pre">false</span></code> means false.</p>
215
215
  </div>
216
216
  <div class="section" id="null">
217
217
  <span id="script-syntax-literal-null"></span><h3>7.12.2.3.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
218
- <p>Null literal is <tt class="docutils literal"><span class="pre">null</span></tt>. Groonga doesn't support null value but null
218
+ <p>Null literal is <code class="docutils literal"><span class="pre">null</span></code>. Groonga doesn't support null value but null
219
219
  literal is supported.</p>
220
220
  </div>
221
221
  <div class="section" id="time">
@@ -226,18 +226,18 @@ literal is supported.</p>
226
226
  </div>
227
227
  <p>Time literal doesn't exit. There are string time notation, integer
228
228
  time notation and float time notation.</p>
229
- <p>String time notation is <tt class="docutils literal"><span class="pre">&quot;YYYY/MM/DD</span> <span class="pre">hh:mm:ss.uuuuuu&quot;</span></tt> or
230
- <tt class="docutils literal"><span class="pre">&quot;YYYY-MM-DD</span> <span class="pre">hh:mm:ss.uuuuuu&quot;</span></tt>. <tt class="docutils literal"><span class="pre">YYYY</span></tt> is year, <tt class="docutils literal"><span class="pre">MM</span></tt> is month,
231
- <tt class="docutils literal"><span class="pre">DD</span></tt> is day, <tt class="docutils literal"><span class="pre">hh</span></tt> is hour, <tt class="docutils literal"><span class="pre">mm</span></tt> is minute, <tt class="docutils literal"><span class="pre">ss</span></tt> is second and
232
- <tt class="docutils literal"><span class="pre">uuuuuu</span></tt> is micro second. It is local time. For example,
233
- <tt class="docutils literal"><span class="pre">&quot;2012/07/23</span> <span class="pre">02:41:10.436218&quot;</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218</span></tt> in
229
+ <p>String time notation is <code class="docutils literal"><span class="pre">&quot;YYYY/MM/DD</span> <span class="pre">hh:mm:ss.uuuuuu&quot;</span></code> or
230
+ <code class="docutils literal"><span class="pre">&quot;YYYY-MM-DD</span> <span class="pre">hh:mm:ss.uuuuuu&quot;</span></code>. <code class="docutils literal"><span class="pre">YYYY</span></code> is year, <code class="docutils literal"><span class="pre">MM</span></code> is month,
231
+ <code class="docutils literal"><span class="pre">DD</span></code> is day, <code class="docutils literal"><span class="pre">hh</span></code> is hour, <code class="docutils literal"><span class="pre">mm</span></code> is minute, <code class="docutils literal"><span class="pre">ss</span></code> is second and
232
+ <code class="docutils literal"><span class="pre">uuuuuu</span></code> is micro second. It is local time. For example,
233
+ <code class="docutils literal"><span class="pre">&quot;2012/07/23</span> <span class="pre">02:41:10.436218&quot;</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218</span></code> in
234
234
  ISO 8601 format.</p>
235
235
  <p>Integer time notation is the number of seconds that have elapsed since
236
236
  midnight UTC, January 1, 1970. It is also known as POSIX time. For
237
- example, <tt class="docutils literal"><span class="pre">1343011270</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10Z</span></tt> in ISO 8601 format.</p>
237
+ example, <code class="docutils literal"><span class="pre">1343011270</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10Z</span></code> in ISO 8601 format.</p>
238
238
  <p>Float time notation is the number of seconds and micro seconds that
239
239
  have elapsed since midnight UTC, January 1, 1970. For example,
240
- <tt class="docutils literal"><span class="pre">1343011270.436218</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218Z</span></tt> in ISO 8601
240
+ <code class="docutils literal"><span class="pre">1343011270.436218</span></code> is <code class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218Z</span></code> in ISO 8601
241
241
  format.</p>
242
242
  </div>
243
243
  <div class="section" id="geo-point">
@@ -250,31 +250,31 @@ format.</p>
250
250
  <p>String geo point notation has the following patterns:</p>
251
251
  <blockquote>
252
252
  <div><ul class="simple">
253
- <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSECxLONGITUDE_IN_MSEC&quot;</span></tt></li>
254
- <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC&quot;</span></tt></li>
255
- <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE&quot;</span></tt></li>
256
- <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE&quot;</span></tt></li>
253
+ <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSECxLONGITUDE_IN_MSEC&quot;</span></code></li>
254
+ <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC&quot;</span></code></li>
255
+ <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE&quot;</span></code></li>
256
+ <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE&quot;</span></code></li>
257
257
  </ul>
258
258
  </div></blockquote>
259
- <p><tt class="docutils literal"><span class="pre">x</span></tt> and <tt class="docutils literal"><span class="pre">,</span></tt> can be used for separator. Latitude and longitude can
259
+ <p><code class="docutils literal"><span class="pre">x</span></code> and <code class="docutils literal"><span class="pre">,</span></code> can be used for separator. Latitude and longitude can
260
260
  be represented in milliseconds or degree.</p>
261
261
  </div>
262
262
  <div class="section" id="array">
263
263
  <span id="script-syntax-literal-array"></span><h3>7.12.2.3.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
264
- <p>Array literal is <tt class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></tt>.</p>
264
+ <p>Array literal is <code class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></code>.</p>
265
265
  </div>
266
266
  <div class="section" id="object-literal">
267
267
  <span id="script-syntax-literal-object"></span><h3>7.12.2.3.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
268
- <p>Object literal is <tt class="docutils literal"><span class="pre">{name1:</span> <span class="pre">value1,</span> <span class="pre">name2:</span> <span class="pre">value2,</span> <span class="pre">...}</span></tt>. Groonga
268
+ <p>Object literal is <code class="docutils literal"><span class="pre">{name1:</span> <span class="pre">value1,</span> <span class="pre">name2:</span> <span class="pre">value2,</span> <span class="pre">...}</span></code>. Groonga
269
269
  doesn't support object literal yet.</p>
270
270
  </div>
271
271
  </div>
272
272
  <div class="section" id="control-syntaxes">
273
273
  <h2>7.12.2.4. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
274
274
  <p>Script syntax doesn't support statement. So you cannot use control
275
- statement such as <tt class="docutils literal"><span class="pre">if</span></tt>. You can only use <tt class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></tt> expression as
275
+ statement such as <code class="docutils literal"><span class="pre">if</span></code>. You can only use <code class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></code> expression as
276
276
  control syntax.</p>
277
- <p><tt class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></tt> returns <tt class="docutils literal"><span class="pre">B</span></tt> if <tt class="docutils literal"><span class="pre">A</span></tt> is true, <tt class="docutils literal"><span class="pre">C</span></tt> otherwise.</p>
277
+ <p><code class="docutils literal"><span class="pre">A</span> <span class="pre">?</span> <span class="pre">B</span> <span class="pre">:</span> <span class="pre">C</span></code> returns <code class="docutils literal"><span class="pre">B</span></code> if <code class="docutils literal"><span class="pre">A</span></code> is true, <code class="docutils literal"><span class="pre">C</span></code> otherwise.</p>
278
278
  <p>Here is a simple example.</p>
279
279
  <p>Execution example:</p>
280
280
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (_id == 1 ? 5 : 3)&#39;
@@ -330,17 +330,17 @@ control syntax.</p>
330
330
  # ]
331
331
  </pre></div>
332
332
  </div>
333
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">_id</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">1</span></tt>
334
- and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">_id</span></tt> column value is
335
- not equal to 1 and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">3</span></tt>.</p>
333
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">_id</span></code> column value is equal to <code class="docutils literal"><span class="pre">1</span></code>
334
+ and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal to <code class="docutils literal"><span class="pre">5</span></code> or <code class="docutils literal"><span class="pre">_id</span></code> column value is
335
+ not equal to 1 and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal to <code class="docutils literal"><span class="pre">3</span></code>.</p>
336
336
  </div>
337
337
  <div class="section" id="grouping">
338
338
  <h2>7.12.2.5. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
339
- <p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is comma separated expression list.</p>
340
- <p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be processed as
341
- an expression. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">&amp;&amp;</span> <span class="pre">b</span> <span class="pre">||</span> <span class="pre">c</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched
342
- or <tt class="docutils literal"><span class="pre">c</span></tt> is matched. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">&amp;&amp;</span> <span class="pre">(b</span> <span class="pre">||</span> <span class="pre">c)</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and one of
343
- <tt class="docutils literal"><span class="pre">b</span></tt> and <tt class="docutils literal"><span class="pre">c</span></tt> are matched.</p>
339
+ <p>Its syntax is <code class="docutils literal"><span class="pre">(...)</span></code>. <code class="docutils literal"><span class="pre">...</span></code> is comma separated expression list.</p>
340
+ <p><code class="docutils literal"><span class="pre">(...)</span></code> groups one ore more expressions and they can be processed as
341
+ an expression. <code class="docutils literal"><span class="pre">a</span> <span class="pre">&amp;&amp;</span> <span class="pre">b</span> <span class="pre">||</span> <span class="pre">c</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and <code class="docutils literal"><span class="pre">b</span></code> are matched
342
+ or <code class="docutils literal"><span class="pre">c</span></code> is matched. <code class="docutils literal"><span class="pre">a</span> <span class="pre">&amp;&amp;</span> <span class="pre">(b</span> <span class="pre">||</span> <span class="pre">c)</span></code> means that <code class="docutils literal"><span class="pre">a</span></code> and one of
343
+ <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code> are matched.</p>
344
344
  <p>Here is a simple example.</p>
345
345
  <p>Execution example:</p>
346
346
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes &lt; 5 &amp;&amp; content @ &quot;senna&quot; || content @ &quot;fast&quot;&#39;
@@ -382,13 +382,13 @@ or <tt class="docutils literal"><span class="pre">c</span></tt> is matched. <tt
382
382
  # [
383
383
  # 2,
384
384
  # &quot;Groonga&quot;,
385
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
385
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
386
386
  # 10
387
387
  # ],
388
388
  # [
389
389
  # 3,
390
390
  # &quot;Mroonga&quot;,
391
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
391
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
392
392
  # 15
393
393
  # ]
394
394
  # ]
@@ -436,17 +436,17 @@ select Entries --filter &#39;n_likes &lt; 5 &amp;&amp; (content @ &quot;senna&qu
436
436
  </pre></div>
437
437
  </div>
438
438
  <p>The first expression doesn't use grouping. It matches records that
439
- <tt class="docutils literal"><span class="pre">n_likes</span> <span class="pre">&lt;</span> <span class="pre">5</span></tt> and <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;senna&quot;</span></tt> are matched or
440
- <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;fast&quot;</span></tt> is matched.</p>
441
- <p>The second expression uses grouping. It matches records that <tt class="docutils literal"><span class="pre">n_likes</span>
442
- <span class="pre">&lt;</span> <span class="pre">5</span></tt> and one of <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;senna&quot;</span></tt> or <tt class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;fast&quot;</span></tt> are
439
+ <code class="docutils literal"><span class="pre">n_likes</span> <span class="pre">&lt;</span> <span class="pre">5</span></code> and <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;senna&quot;</span></code> are matched or
440
+ <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;fast&quot;</span></code> is matched.</p>
441
+ <p>The second expression uses grouping. It matches records that <code class="docutils literal"><span class="pre">n_likes</span>
442
+ <span class="pre">&lt;</span> <span class="pre">5</span></code> and one of <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;senna&quot;</span></code> or <code class="docutils literal"><span class="pre">content</span> <span class="pre">&#64;</span> <span class="pre">&quot;fast&quot;</span></code> are
443
443
  matched.</p>
444
444
  </div>
445
445
  <div class="section" id="function-call">
446
446
  <h2>7.12.2.6. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
447
- <p>Its syntax is <tt class="docutils literal"><span class="pre">name(arugment1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt>.</p>
448
- <p><tt class="docutils literal"><span class="pre">name(argument1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt> calls a function that is named
449
- <tt class="docutils literal"><span class="pre">name</span></tt> with arguments <tt class="docutils literal"><span class="pre">argument1</span></tt>, <tt class="docutils literal"><span class="pre">argument2</span></tt> and <tt class="docutils literal"><span class="pre">...</span></tt>.</p>
447
+ <p>Its syntax is <code class="docutils literal"><span class="pre">name(arugment1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></code>.</p>
448
+ <p><code class="docutils literal"><span class="pre">name(argument1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></code> calls a function that is named
449
+ <code class="docutils literal"><span class="pre">name</span></code> with arguments <code class="docutils literal"><span class="pre">argument1</span></code>, <code class="docutils literal"><span class="pre">argument2</span></code> and <code class="docutils literal"><span class="pre">...</span></code>.</p>
450
450
  <p>See <a class="reference internal" href="../function.html"><em>Function</em></a> for available functin list.</p>
451
451
  <p>Here is a simple example.</p>
452
452
  <p>Execution example:</p>
@@ -483,13 +483,13 @@ matched.</p>
483
483
  # [
484
484
  # 2,
485
485
  # &quot;Groonga&quot;,
486
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
486
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
487
487
  # 10
488
488
  # ],
489
489
  # [
490
490
  # 3,
491
491
  # &quot;Mroonga&quot;,
492
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
492
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
493
493
  # 15
494
494
  # ]
495
495
  # ]
@@ -498,10 +498,10 @@ matched.</p>
498
498
  </pre></div>
499
499
  </div>
500
500
  <p>The expression uses <a class="reference internal" href="../functions/edit_distance.html"><em>edit_distance</em></a>. It
501
- matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is similar to
502
- <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt>. Similality of <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt> is computed as edit
501
+ matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is similar to
502
+ <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code>. Similality of <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code> is computed as edit
503
503
  distance. If edit distance is less than or equal to 1, the value is
504
- treated as similar. In this case, <tt class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></tt> and <tt class="docutils literal"><span class="pre">&quot;Mroonga&quot;</span></tt> are
504
+ treated as similar. In this case, <code class="docutils literal"><span class="pre">&quot;Groonga&quot;</span></code> and <code class="docutils literal"><span class="pre">&quot;Mroonga&quot;</span></code> are
505
505
  treated as similar.</p>
506
506
  </div>
507
507
  <div class="section" id="basic-operators">
@@ -512,8 +512,8 @@ treated as similar.</p>
512
512
  <p>Here are arithmetic operators.</p>
513
513
  <div class="section" id="addition-operator">
514
514
  <h4>7.12.2.7.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
515
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></tt>.</p>
516
- <p>The operator adds <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt> and returns the result.</p>
515
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></code>.</p>
516
+ <p>The operator adds <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code> and returns the result.</p>
517
517
  <p>Here is a simple example.</p>
518
518
  <p>Execution example:</p>
519
519
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 10 + 5&#39;
@@ -549,7 +549,7 @@ treated as similar.</p>
549
549
  # [
550
550
  # 3,
551
551
  # &quot;Mroonga&quot;,
552
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
552
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
553
553
  # 15
554
554
  # ]
555
555
  # ]
@@ -557,13 +557,13 @@ treated as similar.</p>
557
557
  # ]
558
558
  </pre></div>
559
559
  </div>
560
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
561
- to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">10</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
560
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
561
+ to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">10</span> <span class="pre">+</span> <span class="pre">5</span></code>).</p>
562
562
  </div>
563
563
  <div class="section" id="subtraction-operator">
564
564
  <h4>7.12.2.7.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
565
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></tt>.</p>
566
- <p>The operator subtracts <tt class="docutils literal"><span class="pre">number2</span></tt> from <tt class="docutils literal"><span class="pre">number1</span></tt> and returns the result.</p>
565
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></code>.</p>
566
+ <p>The operator subtracts <code class="docutils literal"><span class="pre">number2</span></code> from <code class="docutils literal"><span class="pre">number1</span></code> and returns the result.</p>
567
567
  <p>Here is a simple example.</p>
568
568
  <p>Execution example:</p>
569
569
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 20 - 5&#39;
@@ -599,7 +599,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
599
599
  # [
600
600
  # 3,
601
601
  # &quot;Mroonga&quot;,
602
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
602
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
603
603
  # 15
604
604
  # ]
605
605
  # ]
@@ -607,13 +607,13 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
607
607
  # ]
608
608
  </pre></div>
609
609
  </div>
610
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
611
- to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">20</span> <span class="pre">-</span> <span class="pre">5</span></tt>).</p>
610
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
611
+ to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">20</span> <span class="pre">-</span> <span class="pre">5</span></code>).</p>
612
612
  </div>
613
613
  <div class="section" id="multiplication-operator">
614
614
  <h4>7.12.2.7.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
615
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></tt>.</p>
616
- <p>The operator multiplies <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt> and returns the result.</p>
615
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></code>.</p>
616
+ <p>The operator multiplies <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code> and returns the result.</p>
617
617
  <p>Here is a simple example.</p>
618
618
  <p>Execution example:</p>
619
619
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 3 * 5&#39;
@@ -649,7 +649,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
649
649
  # [
650
650
  # 3,
651
651
  # &quot;Mroonga&quot;,
652
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
652
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
653
653
  # 15
654
654
  # ]
655
655
  # ]
@@ -657,14 +657,14 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
657
657
  # ]
658
658
  </pre></div>
659
659
  </div>
660
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
661
- to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">3</span> <span class="pre">*</span> <span class="pre">5</span></tt>).</p>
660
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
661
+ to <code class="docutils literal"><span class="pre">15</span></code> (= <code class="docutils literal"><span class="pre">3</span> <span class="pre">*</span> <span class="pre">5</span></code>).</p>
662
662
  </div>
663
663
  <div class="section" id="division-operator">
664
664
  <h4>7.12.2.7.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
665
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">/</span> <span class="pre">number2</span></tt> and <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">%</span> <span class="pre">number2</span></tt>.</p>
666
- <p>The operator divides <tt class="docutils literal"><span class="pre">number2</span></tt> by <tt class="docutils literal"><span class="pre">number1</span></tt>. <tt class="docutils literal"><span class="pre">/</span></tt> returns the
667
- quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> returns the remainder of result.</p>
665
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">/</span> <span class="pre">number2</span></code> and <code class="docutils literal"><span class="pre">number1</span> <span class="pre">%</span> <span class="pre">number2</span></code>.</p>
666
+ <p>The operator divides <code class="docutils literal"><span class="pre">number2</span></code> by <code class="docutils literal"><span class="pre">number1</span></code>. <code class="docutils literal"><span class="pre">/</span></code> returns the
667
+ quotient of result. <code class="docutils literal"><span class="pre">%</span></code> returns the remainder of result.</p>
668
668
  <p>Here is simple examples.</p>
669
669
  <p>Execution example:</p>
670
670
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 26 / 7&#39;
@@ -714,8 +714,8 @@ quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt>
714
714
  # ]
715
715
  </pre></div>
716
716
  </div>
717
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
718
- to <tt class="docutils literal"><span class="pre">3</span></tt> (= <tt class="docutils literal"><span class="pre">26</span> <span class="pre">/</span> <span class="pre">7</span></tt>).</p>
717
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
718
+ to <code class="docutils literal"><span class="pre">3</span></code> (= <code class="docutils literal"><span class="pre">26</span> <span class="pre">/</span> <span class="pre">7</span></code>).</p>
719
719
  <p>Execution example:</p>
720
720
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 26 % 7&#39;
721
721
  # [
@@ -758,8 +758,8 @@ to <tt class="docutils literal"><span class="pre">3</span></tt> (= <tt class="do
758
758
  # ]
759
759
  </pre></div>
760
760
  </div>
761
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
762
- to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">26</span> <span class="pre">%</span> <span class="pre">7</span></tt>).</p>
761
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
762
+ to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">26</span> <span class="pre">%</span> <span class="pre">7</span></code>).</p>
763
763
  </div>
764
764
  </div>
765
765
  <div class="section" id="logical-operators">
@@ -767,8 +767,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
767
767
  <p>Here are logical operators.</p>
768
768
  <div class="section" id="logical-not-operator">
769
769
  <h4>7.12.2.7.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
770
- <p>Its syntax is <tt class="docutils literal"><span class="pre">!condition</span></tt>.</p>
771
- <p>The operator inverts boolean value of <tt class="docutils literal"><span class="pre">condition</span></tt>.</p>
770
+ <p>Its syntax is <code class="docutils literal"><span class="pre">!condition</span></code>.</p>
771
+ <p>The operator inverts boolean value of <code class="docutils literal"><span class="pre">condition</span></code>.</p>
772
772
  <p>Here is a simple example.</p>
773
773
  <p>Execution example:</p>
774
774
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;!(n_likes == 5)&#39;
@@ -816,13 +816,13 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
816
816
  # [
817
817
  # 2,
818
818
  # &quot;Groonga&quot;,
819
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
819
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
820
820
  # 10
821
821
  # ],
822
822
  # [
823
823
  # 3,
824
824
  # &quot;Mroonga&quot;,
825
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
825
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
826
826
  # 15
827
827
  # ]
828
828
  # ]
@@ -830,14 +830,14 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
830
830
  # ]
831
831
  </pre></div>
832
832
  </div>
833
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
834
- equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
833
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
834
+ equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
835
835
  </div>
836
836
  <div class="section" id="logical-and-operator">
837
837
  <h4>7.12.2.7.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
838
- <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&amp;&amp;</span> <span class="pre">condition2</span></tt>.</p>
839
- <p>The operator returns true if both of <tt class="docutils literal"><span class="pre">condition1</span></tt> and
840
- <tt class="docutils literal"><span class="pre">condition2</span></tt> are true, false otherwise.</p>
838
+ <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">&amp;&amp;</span> <span class="pre">condition2</span></code>.</p>
839
+ <p>The operator returns true if both of <code class="docutils literal"><span class="pre">condition1</span></code> and
840
+ <code class="docutils literal"><span class="pre">condition2</span></code> are true, false otherwise.</p>
841
841
  <p>Here is a simple example.</p>
842
842
  <p>Execution example:</p>
843
843
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; n_likes &gt;= 10&#39;
@@ -873,13 +873,13 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
873
873
  # [
874
874
  # 2,
875
875
  # &quot;Groonga&quot;,
876
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
876
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
877
877
  # 10
878
878
  # ],
879
879
  # [
880
880
  # 3,
881
881
  # &quot;Mroonga&quot;,
882
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
882
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
883
883
  # 15
884
884
  # ]
885
885
  # ]
@@ -887,14 +887,14 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
887
887
  # ]
888
888
  </pre></div>
889
889
  </div>
890
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
891
- word <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is greater or equal to
892
- <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
890
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
891
+ word <code class="docutils literal"><span class="pre">fast</span></code> and <code class="docutils literal"><span class="pre">n_likes</span></code> column value is greater or equal to
892
+ <code class="docutils literal"><span class="pre">10</span></code>.</p>
893
893
  </div>
894
894
  <div class="section" id="logical-or-operator">
895
895
  <h4>7.12.2.7.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
896
- <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></tt>.</p>
897
- <p>The operator returns true if either <tt class="docutils literal"><span class="pre">condition1</span></tt> or <tt class="docutils literal"><span class="pre">condition2</span></tt> is
896
+ <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></code>.</p>
897
+ <p>The operator returns true if either <code class="docutils literal"><span class="pre">condition1</span></code> or <code class="docutils literal"><span class="pre">condition2</span></code> is
898
898
  true, false otherwise.</p>
899
899
  <p>Here is a simple example.</p>
900
900
  <p>Execution example:</p>
@@ -937,7 +937,7 @@ true, false otherwise.</p>
937
937
  # [
938
938
  # 2,
939
939
  # &quot;Groonga&quot;,
940
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
940
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
941
941
  # 10
942
942
  # ]
943
943
  # ]
@@ -945,13 +945,13 @@ true, false otherwise.</p>
945
945
  # ]
946
946
  </pre></div>
947
947
  </div>
948
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
949
- to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
948
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
949
+ to <code class="docutils literal"><span class="pre">5</span></code> or <code class="docutils literal"><span class="pre">10</span></code>.</p>
950
950
  </div>
951
951
  <div class="section" id="logical-and-not-operator">
952
952
  <h4>7.12.2.7.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
953
- <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&amp;!</span> <span class="pre">condition2</span></tt>.</p>
954
- <p>The operator returns true if <tt class="docutils literal"><span class="pre">condition1</span></tt> is true but <tt class="docutils literal"><span class="pre">condition2</span></tt>
953
+ <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">&amp;!</span> <span class="pre">condition2</span></code>.</p>
954
+ <p>The operator returns true if <code class="docutils literal"><span class="pre">condition1</span></code> is true but <code class="docutils literal"><span class="pre">condition2</span></code>
955
955
  is false, false otherwise. It returns difference set.</p>
956
956
  <p>Here is a simple example.</p>
957
957
  <p>Execution example:</p>
@@ -988,7 +988,7 @@ is false, false otherwise. It returns difference set.</p>
988
988
  # [
989
989
  # 2,
990
990
  # &quot;Groonga&quot;,
991
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
991
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
992
992
  # 10
993
993
  # ]
994
994
  # ]
@@ -996,17 +996,17 @@ is false, false otherwise. It returns difference set.</p>
996
996
  # ]
997
997
  </pre></div>
998
998
  </div>
999
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
1000
- word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't have the word <tt class="docutils literal"><span class="pre">mroonga</span></tt>.</p>
999
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
1000
+ word <code class="docutils literal"><span class="pre">fast</span></code> but doesn't have the word <code class="docutils literal"><span class="pre">mroonga</span></code>.</p>
1001
1001
  </div>
1002
1002
  </div>
1003
1003
  <div class="section" id="bitwise-operators">
1004
- <h3>7.12.2.7.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
1004
+ <span id="script-syntax-bitwise-operators"></span><h3>7.12.2.7.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
1005
1005
  <p>Here are bitwise operators.</p>
1006
1006
  <div class="section" id="bitwise-not-operator">
1007
- <h4>7.12.2.7.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
1008
- <p>Its syntax is <tt class="docutils literal"><span class="pre">~number</span></tt>.</p>
1009
- <p>The operator returns bitwise NOT of <tt class="docutils literal"><span class="pre">number</span></tt>.</p>
1007
+ <span id="script-syntax-bitwise-not"></span><h4>7.12.2.7.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
1008
+ <p>Its syntax is <code class="docutils literal"><span class="pre">~number</span></code>.</p>
1009
+ <p>The operator returns bitwise NOT of <code class="docutils literal"><span class="pre">number</span></code>.</p>
1010
1010
  <p>Here is a simple example.</p>
1011
1011
  <p>Execution example:</p>
1012
1012
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;~n_likes == -6&#39;
@@ -1050,13 +1050,13 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't
1050
1050
  # ]
1051
1051
  </pre></div>
1052
1052
  </div>
1053
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1054
- to <tt class="docutils literal"><span class="pre">5</span></tt> because bitwise NOT of <tt class="docutils literal"><span class="pre">5</span></tt> is equal to <tt class="docutils literal"><span class="pre">-6</span></tt>.</p>
1053
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1054
+ to <code class="docutils literal"><span class="pre">5</span></code> because bitwise NOT of <code class="docutils literal"><span class="pre">5</span></code> is equal to <code class="docutils literal"><span class="pre">-6</span></code>.</p>
1055
1055
  </div>
1056
1056
  <div class="section" id="bitwise-and-operator">
1057
- <h4>7.12.2.7.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
1058
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&amp;</span> <span class="pre">number2</span></tt>.</p>
1059
- <p>The operator returns bitwise AND between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
1057
+ <span id="script-syntax-bitwise-and"></span><h4>7.12.2.7.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
1058
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">&amp;</span> <span class="pre">number2</span></code>.</p>
1059
+ <p>The operator returns bitwise AND between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
1060
1060
  <p>Here is a simple example.</p>
1061
1061
  <p>Execution example:</p>
1062
1062
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;(n_likes &amp; 1) == 1&#39;
@@ -1104,7 +1104,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> because bitwise
1104
1104
  # [
1105
1105
  # 3,
1106
1106
  # &quot;Mroonga&quot;,
1107
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
1107
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1108
1108
  # 15
1109
1109
  # ],
1110
1110
  # [
@@ -1118,16 +1118,16 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> because bitwise
1118
1118
  # ]
1119
1119
  </pre></div>
1120
1120
  </div>
1121
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is even
1122
- number because bitwise AND between an even number and <tt class="docutils literal"><span class="pre">1</span></tt> is equal
1123
- to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND between an odd number and <tt class="docutils literal"><span class="pre">1</span></tt> is equal to
1124
- <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
1121
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is even
1122
+ number because bitwise AND between an even number and <code class="docutils literal"><span class="pre">1</span></code> is equal
1123
+ to <code class="docutils literal"><span class="pre">1</span></code> and bitwise AND between an odd number and <code class="docutils literal"><span class="pre">1</span></code> is equal to
1124
+ <code class="docutils literal"><span class="pre">0</span></code>.</p>
1125
1125
  </div>
1126
1126
  </div>
1127
1127
  <div class="section" id="bitwise-or-operator">
1128
- <h3>7.12.2.7.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
1129
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></tt>.</p>
1130
- <p>The operator returns bitwise OR between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
1128
+ <span id="script-syntax-bitwise-or"></span><h3>7.12.2.7.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
1129
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></code>.</p>
1130
+ <p>The operator returns bitwise OR between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
1131
1131
  <p>Here is a simple example.</p>
1132
1132
  <p>Execution example:</p>
1133
1133
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (1 | 4)&#39;
@@ -1171,13 +1171,13 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND
1171
1171
  # ]
1172
1172
  </pre></div>
1173
1173
  </div>
1174
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1175
- to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">4</span></tt>).</p>
1174
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1175
+ to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">4</span></code>).</p>
1176
1176
  </div>
1177
1177
  <div class="section" id="bitwise-xor-operator">
1178
- <h3>7.12.2.7.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
1179
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></tt>.</p>
1180
- <p>The operator returns bitwise XOR between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
1178
+ <span id="script-syntax-bitwise-xor"></span><h3>7.12.2.7.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
1179
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></code>.</p>
1180
+ <p>The operator returns bitwise XOR between <code class="docutils literal"><span class="pre">number1</span></code> and <code class="docutils literal"><span class="pre">number2</span></code>.</p>
1181
1181
  <p>Here is a simple example.</p>
1182
1182
  <p>Execution example:</p>
1183
1183
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (10 ^ 15)&#39;
@@ -1221,17 +1221,17 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
1221
1221
  # ]
1222
1222
  </pre></div>
1223
1223
  </div>
1224
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1225
- to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">10</span> <span class="pre">^</span> <span class="pre">15</span></tt>).</p>
1224
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1225
+ to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">10</span> <span class="pre">^</span> <span class="pre">15</span></code>).</p>
1226
1226
  </div>
1227
1227
  <div class="section" id="shift-operators">
1228
- <h3>7.12.2.7.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
1228
+ <span id="script-syntax-shift-operators"></span><h3>7.12.2.7.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
1229
1229
  <p>Here are shift operators.</p>
1230
1230
  <div class="section" id="left-shift-operator">
1231
- <h4>7.12.2.7.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
1232
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&lt;&lt;</span> <span class="pre">number2</span></tt>.</p>
1233
- <p>The operator performs a bitwise left shift operation on <tt class="docutils literal"><span class="pre">number1</span></tt> by
1234
- <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
1231
+ <span id="script-syntax-shift-left"></span><h4>7.12.2.7.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
1232
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">&lt;&lt;</span> <span class="pre">number2</span></code>.</p>
1233
+ <p>The operator performs a bitwise left shift operation on <code class="docutils literal"><span class="pre">number1</span></code> by
1234
+ <code class="docutils literal"><span class="pre">number2</span></code>.</p>
1235
1235
  <p>Here is a simple example.</p>
1236
1236
  <p>Execution example:</p>
1237
1237
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (5 &lt;&lt; 1)&#39;
@@ -1267,7 +1267,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
1267
1267
  # [
1268
1268
  # 2,
1269
1269
  # &quot;Groonga&quot;,
1270
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
1270
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1271
1271
  # 10
1272
1272
  # ]
1273
1273
  # ]
@@ -1275,14 +1275,14 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
1275
1275
  # ]
1276
1276
  </pre></div>
1277
1277
  </div>
1278
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1279
- to <tt class="docutils literal"><span class="pre">10</span></tt> (= <tt class="docutils literal"><span class="pre">5</span> <span class="pre">&lt;&lt;</span> <span class="pre">1</span></tt>).</p>
1278
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1279
+ to <code class="docutils literal"><span class="pre">10</span></code> (= <code class="docutils literal"><span class="pre">5</span> <span class="pre">&lt;&lt;</span> <span class="pre">1</span></code>).</p>
1280
1280
  </div>
1281
1281
  <div class="section" id="signed-right-shift-operator">
1282
- <h4>7.12.2.7.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1283
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&gt;&gt;</span> <span class="pre">number2</span></tt>.</p>
1284
- <p>The operator shifts bits of <tt class="docutils literal"><span class="pre">number1</span></tt> to right by <tt class="docutils literal"><span class="pre">number2</span></tt>. The sign
1285
- of the result is the same as <tt class="docutils literal"><span class="pre">number1</span></tt>.</p>
1282
+ <span id="script-syntax-shift-signed-right"></span><h4>7.12.2.7.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1283
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">&gt;&gt;</span> <span class="pre">number2</span></code>.</p>
1284
+ <p>The operator shifts bits of <code class="docutils literal"><span class="pre">number1</span></code> to right by <code class="docutils literal"><span class="pre">number2</span></code>. The sign
1285
+ of the result is the same as <code class="docutils literal"><span class="pre">number1</span></code>.</p>
1286
1286
  <p>Here is a simple example.</p>
1287
1287
  <p>Execution example:</p>
1288
1288
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == -(-10 &gt;&gt; 1)&#39;
@@ -1326,14 +1326,14 @@ of the result is the same as <tt class="docutils literal"><span class="pre">numb
1326
1326
  # ]
1327
1327
  </pre></div>
1328
1328
  </div>
1329
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1330
- to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">-(-10</span> <span class="pre">&gt;&gt;</span> <span class="pre">1)</span></tt> = <tt class="docutils literal"><span class="pre">-(-5)</span></tt>).</p>
1329
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1330
+ to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">-(-10</span> <span class="pre">&gt;&gt;</span> <span class="pre">1)</span></code> = <code class="docutils literal"><span class="pre">-(-5)</span></code>).</p>
1331
1331
  </div>
1332
1332
  <div class="section" id="unsigned-right-shift-operator">
1333
- <h4>7.12.2.7.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1334
- <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&gt;&gt;&gt;</span> <span class="pre">number2</span></tt>.</p>
1335
- <p>The operator shifts bits of <tt class="docutils literal"><span class="pre">number1</span></tt> to right by <tt class="docutils literal"><span class="pre">number2</span></tt>. The
1336
- leftmost <tt class="docutils literal"><span class="pre">number2</span></tt> bits are filled by <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
1333
+ <span id="script-syntax-shift-unsigned-right"></span><h4>7.12.2.7.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1334
+ <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">&gt;&gt;&gt;</span> <span class="pre">number2</span></code>.</p>
1335
+ <p>The operator shifts bits of <code class="docutils literal"><span class="pre">number1</span></code> to right by <code class="docutils literal"><span class="pre">number2</span></code>. The
1336
+ leftmost <code class="docutils literal"><span class="pre">number2</span></code> bits are filled by <code class="docutils literal"><span class="pre">0</span></code>.</p>
1337
1337
  <p>Here is a simple example.</p>
1338
1338
  <p>Execution example:</p>
1339
1339
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (2147483648 - (-10 &gt;&gt;&gt; 1))&#39;
@@ -1377,8 +1377,8 @@ leftmost <tt class="docutils literal"><span class="pre">number2</span></tt> bits
1377
1377
  # ]
1378
1378
  </pre></div>
1379
1379
  </div>
1380
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1381
- to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">(-10</span> <span class="pre">&gt;&gt;&gt;</span> <span class="pre">1)</span></tt> = <tt class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">2147483643</span></tt>).</p>
1380
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1381
+ to <code class="docutils literal"><span class="pre">5</span></code> (= <code class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">(-10</span> <span class="pre">&gt;&gt;&gt;</span> <span class="pre">1)</span></code> = <code class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">2147483643</span></code>).</p>
1382
1382
  </div>
1383
1383
  </div>
1384
1384
  <div class="section" id="comparison-operators">
@@ -1386,8 +1386,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
1386
1386
  <p>Here are comparison operators.</p>
1387
1387
  <div class="section" id="equal-operator">
1388
1388
  <h4>7.12.2.7.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
1389
- <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></tt>.</p>
1390
- <p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> equals to <tt class="docutils literal"><span class="pre">object2</span></tt>, false
1389
+ <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></code>.</p>
1390
+ <p>The operator returns true if <code class="docutils literal"><span class="pre">object1</span></code> equals to <code class="docutils literal"><span class="pre">object2</span></code>, false
1391
1391
  otherwise.</p>
1392
1392
  <p>Here is a simple example.</p>
1393
1393
  <p>Execution example:</p>
@@ -1432,14 +1432,14 @@ otherwise.</p>
1432
1432
  # ]
1433
1433
  </pre></div>
1434
1434
  </div>
1435
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1436
- to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1435
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1436
+ to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1437
1437
  </div>
1438
1438
  <div class="section" id="not-equal-operator">
1439
1439
  <h4>7.12.2.7.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
1440
- <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></tt>.</p>
1441
- <p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> does not equal to
1442
- <tt class="docutils literal"><span class="pre">object2</span></tt>, false otherwise.</p>
1440
+ <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></code>.</p>
1441
+ <p>The operator returns true if <code class="docutils literal"><span class="pre">object1</span></code> does not equal to
1442
+ <code class="docutils literal"><span class="pre">object2</span></code>, false otherwise.</p>
1443
1443
  <p>Here is a simple example.</p>
1444
1444
  <p>Execution example:</p>
1445
1445
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes != 5&#39;
@@ -1487,13 +1487,13 @@ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1487
1487
  # [
1488
1488
  # 2,
1489
1489
  # &quot;Groonga&quot;,
1490
- # &quot;I started to use groonga. It&#39;s very fast!&quot;,
1490
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
1491
1491
  # 10
1492
1492
  # ],
1493
1493
  # [
1494
1494
  # 3,
1495
1495
  # &quot;Mroonga&quot;,
1496
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;,
1496
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
1497
1497
  # 15
1498
1498
  # ]
1499
1499
  # ]
@@ -1501,8 +1501,8 @@ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1501
1501
  # ]
1502
1502
  </pre></div>
1503
1503
  </div>
1504
- <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
1505
- equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1504
+ <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
1505
+ equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1506
1506
  </div>
1507
1507
  <div class="section" id="less-than-operator">
1508
1508
  <h4>7.12.2.7.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
@@ -1526,7 +1526,7 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1526
1526
  <h2>7.12.2.8. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
1527
1527
  <div class="section" id="addition-assignment-operator">
1528
1528
  <h3>7.12.2.8.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
1529
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">+=</span> <span class="pre">column2</span></tt>.</p>
1529
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">+=</span> <span class="pre">column2</span></code>.</p>
1530
1530
  <p>The operator performs addition assginment operation on column1 by column2.</p>
1531
1531
  <p>Execution example:</p>
1532
1532
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score += n_likes&#39;
@@ -1585,15 +1585,15 @@ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1585
1585
  # ]
1586
1586
  </pre></div>
1587
1587
  </div>
1588
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1588
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1589
1589
  then performs addition assignment operation such as '_score = _score + n_likes' for each records.</p>
1590
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1590
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1591
1591
  is 3.</p>
1592
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1592
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1593
1593
  </div>
1594
1594
  <div class="section" id="subtraction-assignment-operator">
1595
1595
  <h3>7.12.2.8.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
1596
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">-=</span> <span class="pre">column2</span></tt>.</p>
1596
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">-=</span> <span class="pre">column2</span></code>.</p>
1597
1597
  <p>The operator performs subtraction assginment operation on column1 by column2.</p>
1598
1598
  <p>Execution example:</p>
1599
1599
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score -= n_likes&#39;
@@ -1652,15 +1652,15 @@ is 3.</p>
1652
1652
  # ]
1653
1653
  </pre></div>
1654
1654
  </div>
1655
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1655
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1656
1656
  then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.</p>
1657
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1657
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1658
1658
  is 3.</p>
1659
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">-</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1659
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">-</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1660
1660
  </div>
1661
1661
  <div class="section" id="multiplication-assignment-operator">
1662
1662
  <h3>7.12.2.8.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
1663
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*=</span> <span class="pre">column2</span></tt>.</p>
1663
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">*=</span> <span class="pre">column2</span></code>.</p>
1664
1664
  <p>The operator performs multiplication assginment operation on column1 by column2.</p>
1665
1665
  <p>Execution example:</p>
1666
1666
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score *= n_likes&#39;
@@ -1719,15 +1719,15 @@ is 3.</p>
1719
1719
  # ]
1720
1720
  </pre></div>
1721
1721
  </div>
1722
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1722
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1723
1723
  then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.</p>
1724
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1724
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1725
1725
  is 3.</p>
1726
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">*</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1726
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">*</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1727
1727
  </div>
1728
1728
  <div class="section" id="division-assignment-operator">
1729
1729
  <h3>7.12.2.8.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
1730
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">/=</span> <span class="pre">column2</span></tt>.</p>
1730
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">/=</span> <span class="pre">column2</span></code>.</p>
1731
1731
  <p>The operator performs division assginment operation on column1 by column2.</p>
1732
1732
  <p>Execution example:</p>
1733
1733
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score /= n_likes&#39;
@@ -1786,15 +1786,15 @@ is 3.</p>
1786
1786
  # ]
1787
1787
  </pre></div>
1788
1788
  </div>
1789
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1789
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1790
1790
  then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.</p>
1791
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1791
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1792
1792
  is 3.</p>
1793
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1793
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1794
1794
  </div>
1795
1795
  <div class="section" id="modulo-assignment-operator">
1796
1796
  <h3>7.12.2.8.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
1797
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">%=</span> <span class="pre">column2</span></tt>.</p>
1797
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">%=</span> <span class="pre">column2</span></code>.</p>
1798
1798
  <p>The operator performs modulo assginment operation on column1 by column2.</p>
1799
1799
  <p>Execution example:</p>
1800
1800
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score %= n_likes&#39;
@@ -1853,15 +1853,15 @@ is 3.</p>
1853
1853
  # ]
1854
1854
  </pre></div>
1855
1855
  </div>
1856
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1856
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1857
1857
  then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.</p>
1858
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1858
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1859
1859
  is 3.</p>
1860
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">%</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1860
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">%</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1861
1861
  </div>
1862
1862
  <div class="section" id="bitwise-left-shift-assignment-operator">
1863
1863
  <h3>7.12.2.8.6. Bitwise left shift assignment operator<a class="headerlink" href="#bitwise-left-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
1864
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">&lt;&lt;=</span> <span class="pre">column2</span></tt>.</p>
1864
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">&lt;&lt;=</span> <span class="pre">column2</span></code>.</p>
1865
1865
  <p>The operator performs left shift assginment operation on column1 by column2.</p>
1866
1866
  <p>Execution example:</p>
1867
1867
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score &lt;&lt;= n_likes&#39;
@@ -1920,25 +1920,25 @@ is 3.</p>
1920
1920
  # ]
1921
1921
  </pre></div>
1922
1922
  </div>
1923
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
1923
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
1924
1924
  then performs subtraction assignment operation such as '_score = _score &lt;&lt; n_likes' for each records.</p>
1925
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
1925
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
1926
1926
  is 3.</p>
1927
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">&lt;&lt;</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
1927
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">&lt;&lt;</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
1928
1928
  </div>
1929
1929
  <div class="section" id="bitwise-signed-right-shift-assignment-operator">
1930
1930
  <h3>7.12.2.8.7. Bitwise signed right shift assignment operator<a class="headerlink" href="#bitwise-signed-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
1931
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column2</span> <span class="pre">&gt;&gt;=</span> <span class="pre">column2</span></tt>.</p>
1931
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column2</span> <span class="pre">&gt;&gt;=</span> <span class="pre">column2</span></code>.</p>
1932
1932
  <p>The operator performs signed right shift assginment operation on column1 by column2.</p>
1933
1933
  </div>
1934
1934
  <div class="section" id="bitwise-unsigned-right-shift-assignment-operator">
1935
1935
  <h3>7.12.2.8.8. Bitwise unsigned right shift assignment operator<a class="headerlink" href="#bitwise-unsigned-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
1936
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">&gt;&gt;&gt;=</span> <span class="pre">column2</span></tt>.</p>
1936
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">&gt;&gt;&gt;=</span> <span class="pre">column2</span></code>.</p>
1937
1937
  <p>The operator performs unsigned right shift assginment operation on column1 by column2.</p>
1938
1938
  </div>
1939
1939
  <div class="section" id="bitwise-and-assignment-operator">
1940
1940
  <h3>7.12.2.8.9. Bitwise AND assignment operator<a class="headerlink" href="#bitwise-and-assignment-operator" title="Permalink to this headline">¶</a></h3>
1941
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">&amp;=</span> <span class="pre">column2</span></tt>.</p>
1941
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">&amp;=</span> <span class="pre">column2</span></code>.</p>
1942
1942
  <p>The operator performs bitwise AND assignment operation on column1 by column2.</p>
1943
1943
  <p>Execution example:</p>
1944
1944
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score &amp;= n_likes&#39;
@@ -1997,15 +1997,15 @@ is 3.</p>
1997
1997
  # ]
1998
1998
  </pre></div>
1999
1999
  </div>
2000
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
2000
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
2001
2001
  then performs subtraction assignment operation such as '_score = _score &amp; n_likes' for each records.</p>
2002
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Groonga&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
2002
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Groonga&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
2003
2003
  is 10.</p>
2004
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">&amp;</span> <span class="pre">10</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
2004
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">&amp;</span> <span class="pre">10</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
2005
2005
  </div>
2006
2006
  <div class="section" id="bitwise-or-assignment-operator">
2007
- <h3>7.12.2.8.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
2008
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></tt>.</p>
2007
+ <span id="script-syntax-bitwise-or-assign"></span><h3>7.12.2.8.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
2008
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></code>.</p>
2009
2009
  <p>The operator performs bitwise OR assignment operation on column1 by column2.</p>
2010
2010
  <p>Execution example:</p>
2011
2011
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score |= n_likes&#39;
@@ -2064,15 +2064,15 @@ is 10.</p>
2064
2064
  # ]
2065
2065
  </pre></div>
2066
2066
  </div>
2067
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
2067
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
2068
2068
  then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.</p>
2069
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Groonga&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
2069
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Groonga&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
2070
2070
  is 10.</p>
2071
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">10</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
2071
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">10</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
2072
2072
  </div>
2073
2073
  <div class="section" id="bitwise-xor-assignment-operator">
2074
2074
  <h3>7.12.2.8.11. Bitwise XOR assignment operator<a class="headerlink" href="#bitwise-xor-assignment-operator" title="Permalink to this headline">¶</a></h3>
2075
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">^=</span> <span class="pre">column2</span></tt>.</p>
2075
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">^=</span> <span class="pre">column2</span></code>.</p>
2076
2076
  <p>The operator performs bitwise XOR assginment operation on column1 by column2.</p>
2077
2077
  <p>Execution example:</p>
2078
2078
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score ^= n_likes&#39;
@@ -2131,22 +2131,22 @@ is 10.</p>
2131
2131
  # ]
2132
2132
  </pre></div>
2133
2133
  </div>
2134
- <p>The value of <tt class="docutils literal"><span class="pre">_score</span></tt> by <tt class="docutils literal"><span class="pre">--filter</span></tt> is always 1 in this case,
2134
+ <p>The value of <code class="docutils literal"><span class="pre">_score</span></code> by <code class="docutils literal"><span class="pre">--filter</span></code> is always 1 in this case,
2135
2135
  then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.</p>
2136
- <p>For example, the value of <tt class="docutils literal"><span class="pre">_score</span></tt> about the record which stores &quot;Good-bye Senna&quot; as the <tt class="docutils literal"><span class="pre">_key</span></tt>
2136
+ <p>For example, the value of <code class="docutils literal"><span class="pre">_score</span></code> about the record which stores &quot;Good-bye Senna&quot; as the <code class="docutils literal"><span class="pre">_key</span></code>
2137
2137
  is 3.</p>
2138
- <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">^</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
2138
+ <p>So the expression <code class="docutils literal"><span class="pre">1</span> <span class="pre">^</span> <span class="pre">3</span></code> is evaluated and stored to <code class="docutils literal"><span class="pre">_score</span></code> column as the execution result.</p>
2139
2139
  </div>
2140
2140
  </div>
2141
2141
  <div class="section" id="original-operators">
2142
2142
  <h2>7.12.2.9. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
2143
2143
  <p>Script syntax adds the original binary opearators to ECMAScript
2144
2144
  syntax. They operate search specific operations. They are starts with
2145
- <tt class="docutils literal"><span class="pre">&#64;</span></tt> or <tt class="docutils literal"><span class="pre">*</span></tt>.</p>
2145
+ <code class="docutils literal"><span class="pre">&#64;</span></code> or <code class="docutils literal"><span class="pre">*</span></code>.</p>
2146
2146
  <div class="section" id="match-operator">
2147
- <span id="match-oeprator"></span><h3>7.12.2.9.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
2148
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;</span> <span class="pre">value</span></tt>.</p>
2149
- <p>The operator searches <tt class="docutils literal"><span class="pre">value</span></tt> by inverted index of <tt class="docutils literal"><span class="pre">column</span></tt>.
2147
+ <span id="script-syntax-match-oeprator"></span><h3>7.12.2.9.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
2148
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;</span> <span class="pre">value</span></code>.</p>
2149
+ <p>The operator searches <code class="docutils literal"><span class="pre">value</span></code> by inverted index of <code class="docutils literal"><span class="pre">column</span></code>.
2150
2150
  Normally, full text search is operated but tag search can be operated.
2151
2151
  Because tag search is also implemented by inverted index.</p>
2152
2152
  <p><a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> uses this operator by default.</p>
@@ -2171,30 +2171,30 @@ Because tag search is also implemented by inverted index.</p>
2171
2171
  # ]
2172
2172
  # ],
2173
2173
  # [
2174
- # &quot;I started to use groonga. It&#39;s very fast!&quot;
2174
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;
2175
2175
  # ],
2176
2176
  # [
2177
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
2177
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;
2178
2178
  # ]
2179
2179
  # ]
2180
2180
  # ]
2181
2181
  # ]
2182
2182
  </pre></div>
2183
2183
  </div>
2184
- <p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
2185
- <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
2184
+ <p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
2185
+ <code class="docutils literal"><span class="pre">content</span></code> column value.</p>
2186
2186
  </div>
2187
2187
  <div class="section" id="prefix-search-operator">
2188
- <span id="id1"></span><h3>7.12.2.9.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
2189
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;^</span> <span class="pre">value</span></tt>.</p>
2190
- <p>The operator does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix search searches
2191
- records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
2188
+ <span id="script-syntax-prefix-search-operator"></span><h3>7.12.2.9.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
2189
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;^</span> <span class="pre">value</span></code>.</p>
2190
+ <p>The operator does prefix search with <code class="docutils literal"><span class="pre">value</span></code>. Prefix search searches
2191
+ records that contain a word that starts with <code class="docutils literal"><span class="pre">value</span></code>.</p>
2192
2192
  <p>You can use fast prefix search against a column. The column must be
2193
2193
  indexed and index table must be patricia trie table
2194
- (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or double array trie table
2195
- (<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can also use fast prefix search against
2196
- <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table or double array trie
2197
- table. You don't need to index <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
2194
+ (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
2195
+ (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
2196
+ <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
2197
+ table. You don't need to index <code class="docutils literal"><span class="pre">_key</span></code>.</p>
2198
2198
  <p>Prefix search can be used with other table types but it causes all
2199
2199
  records scan. It's not problem for small records but it spends more
2200
2200
  time for large records.</p>
@@ -2230,21 +2230,21 @@ time for large records.</p>
2230
2230
  </pre></div>
2231
2231
  </div>
2232
2232
  <p>The expression matches records that contain a word that starts with
2233
- <tt class="docutils literal"><span class="pre">Goo</span></tt> in <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column value. <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></tt> and
2234
- <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
2233
+ <code class="docutils literal"><span class="pre">Goo</span></code> in <code class="docutils literal"><span class="pre">_key</span></code> pseudo column value. <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></code> and
2234
+ <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
2235
2235
  </div>
2236
2236
  <div class="section" id="suffix-search-operator">
2237
- <span id="id2"></span><h3>7.12.2.9.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
2238
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;$</span> <span class="pre">value</span></tt>.</p>
2239
- <p>This operator does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix search
2240
- searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
2237
+ <span id="script-syntax-suffix-search-operator"></span><h3>7.12.2.9.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
2238
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;$</span> <span class="pre">value</span></code>.</p>
2239
+ <p>This operator does suffix search with <code class="docutils literal"><span class="pre">value</span></code>. Suffix search
2240
+ searches records that contain a word that ends with <code class="docutils literal"><span class="pre">value</span></code>.</p>
2241
2241
  <p>You can use fast suffix search against a column. The column must be
2242
2242
  indexed and index table must be patricia trie table
2243
- (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You can also use fast
2244
- suffix search against <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table
2245
- (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You don't need to
2246
- index <tt class="docutils literal"><span class="pre">_key</span></tt>. We recommended that you use index column based fast
2247
- suffix search instead of <tt class="docutils literal"><span class="pre">_key</span></tt> based fast suffix search. <tt class="docutils literal"><span class="pre">_key</span></tt>
2243
+ (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You can also use fast
2244
+ suffix search against <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table
2245
+ (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) with <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag. You don't need to
2246
+ index <code class="docutils literal"><span class="pre">_key</span></code>. We recommended that you use index column based fast
2247
+ suffix search instead of <code class="docutils literal"><span class="pre">_key</span></code> based fast suffix search. <code class="docutils literal"><span class="pre">_key</span></code>
2248
2248
  based fast suffix search returns automatically registered
2249
2249
  substrings. (TODO: write document about suffix search and link to it
2250
2250
  from here.)</p>
@@ -2255,7 +2255,7 @@ as hiragana in Japanese. You cannot use fast suffix search for
2255
2255
  ASCII character.</p>
2256
2256
  </div>
2257
2257
  <p>Suffix search can be used with other table types or patricia trie
2258
- table without <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag but it causes all records
2258
+ table without <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
2259
2259
  scan. It's not problem for small records but it spends more time for
2260
2260
  large records.</p>
2261
2261
  <p>Here is a simple example. It uses fast suffix search for hiragana in
@@ -2312,25 +2312,25 @@ select Titles --query &#39;content:$んが&#39;
2312
2312
  # ]
2313
2313
  </pre></div>
2314
2314
  </div>
2315
- <p>The expression matches records that have value that ends with <tt class="docutils literal"><span class="pre">んが</span></tt>
2316
- in <tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">ぐるんが</span></tt> and <tt class="docutils literal"><span class="pre">むるんが</span></tt> are matched
2315
+ <p>The expression matches records that have value that ends with <code class="docutils literal"><span class="pre">んが</span></code>
2316
+ in <code class="docutils literal"><span class="pre">content</span></code> column value. <code class="docutils literal"><span class="pre">ぐるんが</span></code> and <code class="docutils literal"><span class="pre">むるんが</span></code> are matched
2317
2317
  with the expression.</p>
2318
2318
  </div>
2319
2319
  <div class="section" id="near-search-operator">
2320
- <span id="id3"></span><h3>7.12.2.9.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
2321
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*N</span> <span class="pre">&quot;word1</span> <span class="pre">word2</span> <span class="pre">...&quot;</span></tt>.</p>
2322
- <p>The operator does near search with words <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span> <span class="pre">...</span></tt>. Near
2320
+ <span id="script-syntax-near-search-operator"></span><h3>7.12.2.9.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
2321
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">*N</span> <span class="pre">&quot;word1</span> <span class="pre">word2</span> <span class="pre">...&quot;</span></code>.</p>
2322
+ <p>The operator does near search with words <code class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span> <span class="pre">...</span></code>. Near
2323
2323
  search searches records that contain the words and the words are
2324
- appeared in the near distance. Near distance is always <tt class="docutils literal"><span class="pre">10</span></tt> for
2324
+ appeared in the near distance. Near distance is always <code class="docutils literal"><span class="pre">10</span></code> for
2325
2325
  now. The unit of near distance is the number of characters in N-gram
2326
2326
  family tokenizers and the number of words in morphological analysis
2327
2327
  family tokenizers.</p>
2328
- <p>(TODO: Add a description about <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> doesn't split ASCII
2328
+ <p>(TODO: Add a description about <code class="docutils literal"><span class="pre">TokenBigram</span></code> doesn't split ASCII
2329
2329
  only word into tokens. So the unit for ASCII words with
2330
- <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is the number of words even if <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is a
2330
+ <code class="docutils literal"><span class="pre">TokenBigram</span></code> is the number of words even if <code class="docutils literal"><span class="pre">TokenBigram</span></code> is a
2331
2331
  N-gram family tokenizer.)</p>
2332
2332
  <p>Note that an index column for full text search must be defined for
2333
- <tt class="docutils literal"><span class="pre">column</span></tt>.</p>
2333
+ <code class="docutils literal"><span class="pre">column</span></code>.</p>
2334
2334
  <p>Here is a simple example.</p>
2335
2335
  <p>Execution example:</p>
2336
2336
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content *N &quot;I fast&quot;&#39; --output_columns content
@@ -2352,7 +2352,7 @@ N-gram family tokenizer.)</p>
2352
2352
  # ]
2353
2353
  # ],
2354
2354
  # [
2355
- # &quot;I started to use groonga. It&#39;s very fast!&quot;
2355
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;
2356
2356
  # ]
2357
2357
  # ]
2358
2358
  # ]
@@ -2378,37 +2378,37 @@ select Entries --filter &#39;content *N &quot;also Really&quot;&#39; --output_co
2378
2378
  # ]
2379
2379
  # ],
2380
2380
  # [
2381
- # &quot;I also started to use mroonga. It&#39;s also very fast! Really fast!&quot;
2381
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;
2382
2382
  # ]
2383
2383
  # ]
2384
2384
  # ]
2385
2385
  # ]
2386
2386
  </pre></div>
2387
2387
  </div>
2388
- <p>The first expression matches records that contain <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">fast</span></tt>
2388
+ <p>The first expression matches records that contain <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">fast</span></code>
2389
2389
  and the near distance of those words are in 10 words. So the record
2390
- that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span> <span class="pre">also</span> <span class="pre">very</span>
2391
- <span class="pre">fast!</span> <span class="pre">...</span></tt> is matched. The number of words between <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">fast</span></tt>
2390
+ that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span> <span class="pre">also</span> <span class="pre">very</span>
2391
+ <span class="pre">fast!</span> <span class="pre">...</span></code> is matched. The number of words between <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">fast</span></code>
2392
2392
  is just 10.</p>
2393
- <p>The second expression matches records that contain <tt class="docutils literal"><span class="pre">I</span></tt> and
2394
- <tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
2395
- the record that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
2396
- <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></tt> is not matched. The number of words between
2397
- <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 11.</p>
2398
- <p>The third expression matches records that contain <tt class="docutils literal"><span class="pre">also</span></tt> and
2399
- <tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
2400
- the record that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">st</span> <span class="pre">arted</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
2401
- <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></tt> is matched. The number of words between
2402
- <tt class="docutils literal"><span class="pre">also</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 10.</p>
2393
+ <p>The second expression matches records that contain <code class="docutils literal"><span class="pre">I</span></code> and
2394
+ <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
2395
+ the record that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
2396
+ <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></code> is not matched. The number of words between
2397
+ <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 11.</p>
2398
+ <p>The third expression matches records that contain <code class="docutils literal"><span class="pre">also</span></code> and
2399
+ <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
2400
+ the record that its content is <code class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">st</span> <span class="pre">arted</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
2401
+ <span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></code> is matched. The number of words between
2402
+ <code class="docutils literal"><span class="pre">also</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 10.</p>
2403
2403
  </div>
2404
2404
  <div class="section" id="similar-search">
2405
- <span id="similar-search-operator"></span><h3>7.12.2.9.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
2406
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*S</span> <span class="pre">&quot;document&quot;</span></tt>.</p>
2407
- <p>The operator does similar search with document <tt class="docutils literal"><span class="pre">document</span></tt>. Similar
2405
+ <span id="script-syntax-similar-search-operator"></span><h3>7.12.2.9.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
2406
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">*S</span> <span class="pre">&quot;document&quot;</span></code>.</p>
2407
+ <p>The operator does similar search with document <code class="docutils literal"><span class="pre">document</span></code>. Similar
2408
2408
  search searches records that have similar content to
2409
- <tt class="docutils literal"><span class="pre">document</span></tt>.</p>
2409
+ <code class="docutils literal"><span class="pre">document</span></code>.</p>
2410
2410
  <p>Note that an index column for full text search must be defined for
2411
- <tt class="docutils literal"><span class="pre">column</span></tt>.</p>
2411
+ <code class="docutils literal"><span class="pre">column</span></code>.</p>
2412
2412
  <p>Here is a simple example.</p>
2413
2413
  <p>Execution example:</p>
2414
2414
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content *S &quot;I migrated all Solr system!&quot;&#39; --output_columns content
@@ -2440,23 +2440,23 @@ search searches records that have similar content to
2440
2440
  # ]
2441
2441
  </pre></div>
2442
2442
  </div>
2443
- <p>The expression matches records that have similar content to <tt class="docutils literal"><span class="pre">I</span>
2444
- <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></tt>. In this case, records that have <tt class="docutils literal"><span class="pre">I</span>
2445
- <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></tt> content are matched.</p>
2443
+ <p>The expression matches records that have similar content to <code class="docutils literal"><span class="pre">I</span>
2444
+ <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></code>. In this case, records that have <code class="docutils literal"><span class="pre">I</span>
2445
+ <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></code> content are matched.</p>
2446
2446
  </div>
2447
2447
  <div class="section" id="term-extract-operator">
2448
- <span id="id4"></span><h3>7.12.2.9.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
2449
- <p>Its syntax is <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">*T</span> <span class="pre">&quot;document&quot;</span></tt>.</p>
2450
- <p>The operator extracts terms from <tt class="docutils literal"><span class="pre">document</span></tt>. Terms must be
2451
- registered as keys of the table of <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
2452
- <p>Note that the table must be patricia trie (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or
2453
- double array trie (<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can't use hash table
2454
- (<tt class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></tt>) and array (<tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt>) because they don't
2448
+ <span id="script-syntax-term-extract-operator"></span><h3>7.12.2.9.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
2449
+ <p>Its syntax is <code class="docutils literal"><span class="pre">_key</span> <span class="pre">*T</span> <span class="pre">&quot;document&quot;</span></code>.</p>
2450
+ <p>The operator extracts terms from <code class="docutils literal"><span class="pre">document</span></code>. Terms must be
2451
+ registered as keys of the table of <code class="docutils literal"><span class="pre">_key</span></code>.</p>
2452
+ <p>Note that the table must be patricia trie (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or
2453
+ double array trie (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can't use hash table
2454
+ (<code class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></code>) and array (<code class="docutils literal"><span class="pre">TABLE_NO_KEY</span></code>) because they don't
2455
2455
  support longest common prefix search. Longest common prefix search is
2456
2456
  used to implement the operator.</p>
2457
2457
  <p>Here is a simple example.</p>
2458
2458
  <p>Execution example:</p>
2459
- <div class="highlight-none"><div class="highlight"><pre>table_create Words TABLE_PAT_KEY|KEY_NORMALIZE ShortText
2459
+ <div class="highlight-none"><div class="highlight"><pre>table_create Words TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
2460
2460
  # [[0, 1337566253.89858, 0.000355720520019531], true]
2461
2461
  load --table Words
2462
2462
  [
@@ -2495,26 +2495,26 @@ select Words --filter &#39;_key *T &quot;Groonga is the successor project to Sen
2495
2495
  # ]
2496
2496
  </pre></div>
2497
2497
  </div>
2498
- <p>The expression extrcts terms that included in document <tt class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
2499
- <span class="pre">the</span> <span class="pre">successor</span> <span class="pre">project</span> <span class="pre">to</span> <span class="pre">Senna.</span></tt>. In this case, <tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt>
2500
- flag is specified to <tt class="docutils literal"><span class="pre">Words</span></tt>. So <tt class="docutils literal"><span class="pre">Groonga</span></tt> can be extracted even
2501
- if it is loaded as <tt class="docutils literal"><span class="pre">groonga</span></tt> into <tt class="docutils literal"><span class="pre">Words</span></tt>. All of extracted terms
2502
- are also normalized.</p>
2498
+ <p>The expression extrcts terms that included in document <code class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
2499
+ <span class="pre">the</span> <span class="pre">successor</span> <span class="pre">project</span> <span class="pre">to</span> <span class="pre">Senna.</span></code>. In this case, <code class="docutils literal"><span class="pre">NormalizerAuto</span></code>
2500
+ normalizer is specified to <code class="docutils literal"><span class="pre">Words</span></code>. So <code class="docutils literal"><span class="pre">Groonga</span></code> can be extracted
2501
+ even if it is loaded as <code class="docutils literal"><span class="pre">groonga</span></code> into <code class="docutils literal"><span class="pre">Words</span></code>. All of extracted
2502
+ terms are also normalized.</p>
2503
2503
  </div>
2504
2504
  <div class="section" id="regular-expression-operator">
2505
- <span id="script-regular-expression-operator"></span><h3>7.12.2.9.7. Regular expression operator<a class="headerlink" href="#regular-expression-operator" title="Permalink to this headline">¶</a></h3>
2505
+ <span id="script-syntax-regular-expression-operator"></span><h3>7.12.2.9.7. Regular expression operator<a class="headerlink" href="#regular-expression-operator" title="Permalink to this headline">¶</a></h3>
2506
2506
  <div class="versionadded">
2507
2507
  <p><span class="versionmodified">New in version 5.0.1.</span></p>
2508
2508
  </div>
2509
- <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;~</span> <span class="pre">&quot;pattern&quot;</span></tt>.</p>
2509
+ <p>Its syntax is <code class="docutils literal"><span class="pre">column</span> <span class="pre">&#64;~</span> <span class="pre">&quot;pattern&quot;</span></code>.</p>
2510
2510
  <p>The operator searches records by the regular expression
2511
- <tt class="docutils literal"><span class="pre">pattern</span></tt>. If a record's <tt class="docutils literal"><span class="pre">column</span></tt> value is matched to <tt class="docutils literal"><span class="pre">pattern</span></tt>,
2511
+ <code class="docutils literal"><span class="pre">pattern</span></code>. If a record's <code class="docutils literal"><span class="pre">column</span></code> value is matched to <code class="docutils literal"><span class="pre">pattern</span></code>,
2512
2512
  the record is matched.</p>
2513
- <p><tt class="docutils literal"><span class="pre">pattern</span></tt> must be valid regular expression syntax. See
2513
+ <p><code class="docutils literal"><span class="pre">pattern</span></code> must be valid regular expression syntax. See
2514
2514
  <a class="reference internal" href="../regular_expression.html"><em>Regular expression</em></a> about regular expression syntax
2515
2515
  details.</p>
2516
- <p>The following example uses <tt class="docutils literal"><span class="pre">.roonga</span></tt> as pattern. It matches
2517
- <tt class="docutils literal"><span class="pre">Groonga</span></tt>, <tt class="docutils literal"><span class="pre">Mroonga</span></tt> and so on.</p>
2516
+ <p>The following example uses <code class="docutils literal"><span class="pre">.roonga</span></code> as pattern. It matches
2517
+ <code class="docutils literal"><span class="pre">Groonga</span></code>, <code class="docutils literal"><span class="pre">Mroonga</span></code> and so on.</p>
2518
2518
  <p>Execution example:</p>
2519
2519
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @~ &quot;.roonga&quot;&#39;
2520
2520
  # [
@@ -2575,7 +2575,7 @@ very fast. See <a class="reference internal" href="../regular_expression.html"><
2575
2575
  </div>
2576
2576
  </div>
2577
2577
  </div>
2578
- <div class="sphinxsidebar">
2578
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
2579
2579
  <div class="sphinxsidebarwrapper">
2580
2580
  <h3><a href="../../index.html">Table Of Contents</a></h3>
2581
2581
  <ul>
@@ -2670,12 +2670,14 @@ very fast. See <a class="reference internal" href="../regular_expression.html"><
2670
2670
  <h4>Next topic</h4>
2671
2671
  <p class="topless"><a href="../regular_expression.html"
2672
2672
  title="next chapter">7.13. Regular expression</a></p>
2673
- <h3>This Page</h3>
2674
- <ul class="this-page-menu">
2675
- <li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
2676
- rel="nofollow">Show Source</a></li>
2677
- </ul>
2678
- <div id="searchbox" style="display: none">
2673
+ <div role="note" aria-label="source link">
2674
+ <h3>This Page</h3>
2675
+ <ul class="this-page-menu">
2676
+ <li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
2677
+ rel="nofollow">Show Source</a></li>
2678
+ </ul>
2679
+ </div>
2680
+ <div id="searchbox" style="display: none" role="search">
2679
2681
  <h3>Quick search</h3>
2680
2682
  <form class="search" action="../../search.html" method="get">
2681
2683
  <input type="text" name="q" />
@@ -2692,7 +2694,7 @@ very fast. See <a class="reference internal" href="../regular_expression.html"><
2692
2694
  </div>
2693
2695
  <div class="clearer"></div>
2694
2696
  </div>
2695
- <div class="related">
2697
+ <div class="related" role="navigation" aria-label="related navigation">
2696
2698
  <h3>Navigation</h3>
2697
2699
  <ul>
2698
2700
  <li class="right" style="margin-right: 10px">
@@ -2704,12 +2706,12 @@ very fast. See <a class="reference internal" href="../regular_expression.html"><
2704
2706
  <li class="right" >
2705
2707
  <a href="query_syntax.html" title="7.12.1. Query syntax"
2706
2708
  >previous</a> |</li>
2707
- <li><a href="../../index.html">Groonga v5.0.4-139-g6629adb documentation</a> &raquo;</li>
2708
- <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2709
- <li><a href="../grn_expr.html" >7.12. grn_expr</a> &raquo;</li>
2709
+ <li class="nav-item nav-item-0"><a href="../../index.html">Groonga v5.0.6-226-gd7da7e7 documentation</a> &raquo;</li>
2710
+ <li class="nav-item nav-item-1"><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2711
+ <li class="nav-item nav-item-2"><a href="../grn_expr.html" >7.12. grn_expr</a> &raquo;</li>
2710
2712
  </ul>
2711
2713
  </div>
2712
- <div class="footer">
2714
+ <div class="footer" role="contentinfo">
2713
2715
  &copy; Copyright 2009-2015, Brazil, Inc.
2714
2716
  </div>
2715
2717
  </body>