rroonga 5.0.0-x64-mingw32 → 5.0.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (733) hide show
  1. checksums.yaml +8 -8
  2. data/.yardopts +1 -0
  3. data/Rakefile +1 -16
  4. data/example/bookmark.rb +1 -6
  5. data/example/index-html.rb +0 -1
  6. data/ext/groonga/extconf.rb +4 -7
  7. data/ext/groonga/rb-grn-array.c +1 -1
  8. data/ext/groonga/rb-grn-column.c +33 -67
  9. data/ext/groonga/rb-grn-context.c +5 -5
  10. data/ext/groonga/rb-grn-database.c +2 -2
  11. data/ext/groonga/rb-grn-double-array-trie.c +4 -2
  12. data/ext/groonga/rb-grn-encoding-support.c +7 -1
  13. data/ext/groonga/rb-grn-equal-operator.c +85 -0
  14. data/ext/groonga/rb-grn-exception.c +17 -0
  15. data/ext/groonga/rb-grn-expression.c +85 -43
  16. data/ext/groonga/rb-grn-greater-equal-operator.c +88 -0
  17. data/ext/groonga/rb-grn-greater-operator.c +85 -0
  18. data/ext/groonga/rb-grn-hash.c +1 -1
  19. data/ext/groonga/rb-grn-index-column.c +150 -11
  20. data/ext/groonga/rb-grn-less-equal-operator.c +88 -0
  21. data/ext/groonga/rb-grn-less-operator.c +85 -0
  22. data/ext/groonga/rb-grn-logger.c +5 -5
  23. data/ext/groonga/rb-grn-match-operator.c +86 -0
  24. data/ext/groonga/rb-grn-normalizer.c +8 -1
  25. data/ext/groonga/rb-grn-not-equal-operator.c +85 -0
  26. data/ext/groonga/rb-grn-object.c +170 -36
  27. data/ext/groonga/rb-grn-operator.c +395 -172
  28. data/ext/groonga/rb-grn-patricia-trie.c +10 -8
  29. data/ext/groonga/rb-grn-plugin.c +51 -3
  30. data/ext/groonga/rb-grn-prefix-operator.c +86 -0
  31. data/ext/groonga/rb-grn-procedure-type.c +4 -0
  32. data/ext/groonga/rb-grn-query-logger.c +4 -4
  33. data/ext/groonga/rb-grn-regexp-operator.c +85 -0
  34. data/ext/groonga/rb-grn-snippet.c +1 -1
  35. data/ext/groonga/rb-grn-table-key-support.c +9 -5
  36. data/ext/groonga/rb-grn-table.c +52 -66
  37. data/ext/groonga/rb-grn-type.c +1 -1
  38. data/ext/groonga/rb-grn-utils.c +22 -3
  39. data/ext/groonga/rb-grn.h +31 -4
  40. data/ext/groonga/rb-groonga.c +9 -9
  41. data/lib/1.9/groonga.so +0 -0
  42. data/lib/2.0/groonga.so +0 -0
  43. data/lib/2.1/groonga.so +0 -0
  44. data/lib/2.2/groonga.so +0 -0
  45. data/lib/groonga/context.rb +31 -0
  46. data/lib/groonga/expression-builder.rb +14 -1
  47. data/lib/groonga/record.rb +10 -8
  48. data/lib/groonga/schema.rb +3 -1
  49. data/rroonga-build.rb +2 -2
  50. data/rroonga.gemspec +3 -3
  51. data/test/groonga-test-utils.rb +4 -0
  52. data/test/test-column.rb +28 -26
  53. data/test/test-exception.rb +1 -0
  54. data/test/test-expression-builder.rb +83 -1
  55. data/test/test-expression.rb +80 -48
  56. data/test/test-index-column.rb +102 -29
  57. data/test/test-normalizer.rb +35 -29
  58. data/test/test-operator.rb +214 -0
  59. data/test/test-plugin.rb +24 -6
  60. data/test/test-procedure.rb +29 -0
  61. data/test/test-schema-type.rb +14 -0
  62. data/test/test-table-select-mecab.rb +1 -4
  63. data/test/test-table.rb +7 -0
  64. data/test/test-token-regexp.rb +30 -0
  65. data/test/test-type.rb +24 -0
  66. data/vendor/local/bin/grndb.exe +0 -0
  67. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  68. data/vendor/local/bin/groonga.exe +0 -0
  69. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  70. data/vendor/local/bin/libgroonga-0.dll +0 -0
  71. data/vendor/local/bin/libmecab-1.dll +0 -0
  72. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  73. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  74. data/vendor/local/bin/libonig-5.dll +0 -0
  75. data/vendor/local/bin/libstdc++-6.dll +0 -0
  76. data/vendor/local/bin/lz4.exe +0 -0
  77. data/vendor/local/bin/lz4c.exe +0 -0
  78. data/vendor/local/bin/lz4cat +0 -0
  79. data/vendor/local/bin/mecab-config +2 -2
  80. data/vendor/local/bin/mecab.exe +0 -0
  81. data/vendor/local/bin/onig-config +1 -1
  82. data/vendor/local/bin/zlib1.dll +0 -0
  83. data/vendor/local/etc/groonga/groonga.conf +1 -1
  84. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  85. data/vendor/local/include/groonga/groonga/expr.h +2 -0
  86. data/vendor/local/include/groonga/groonga/groonga.h +32 -5
  87. data/vendor/local/include/groonga/groonga/ii.h +7 -0
  88. data/vendor/local/include/groonga/groonga/obj.h +37 -0
  89. data/vendor/local/include/groonga/groonga/scorer.h +95 -0
  90. data/vendor/local/include/groonga/groonga.h +1 -0
  91. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  92. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  93. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  94. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
  95. data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
  96. data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
  97. data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
  98. data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
  99. data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
  100. data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
  101. data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
  102. data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
  103. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +6 -3
  104. data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +6 -5
  105. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +421 -17
  106. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  107. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  108. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  109. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
  110. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  111. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  112. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  113. data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
  114. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  115. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  116. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  117. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
  118. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  119. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  120. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  121. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
  122. data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +12 -4
  123. data/vendor/local/lib/groonga/scripts/ruby/database.rb +11 -3
  124. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +23 -0
  125. data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +158 -0
  126. data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +39 -0
  127. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
  128. data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +2 -0
  129. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +11 -7
  130. data/vendor/local/lib/groonga/scripts/ruby/object.rb +11 -0
  131. data/vendor/local/lib/groonga/scripts/ruby/operator.rb +22 -0
  132. data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +7 -2
  133. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -11
  134. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +137 -34
  135. data/vendor/local/lib/groonga/scripts/ruby/scan_info_search_index.rb +9 -0
  136. data/vendor/local/lib/libgroonga.a +0 -0
  137. data/vendor/local/lib/libgroonga.dll.a +0 -0
  138. data/vendor/local/lib/libgroonga.la +2 -2
  139. data/vendor/local/lib/liblz4.a +0 -0
  140. data/vendor/local/lib/liblz4.dll +0 -0
  141. data/vendor/local/lib/liblz4.dll.1 +0 -0
  142. data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
  143. data/vendor/local/lib/libmecab.a +0 -0
  144. data/vendor/local/lib/libmecab.dll.a +0 -0
  145. data/vendor/local/lib/libmecab.la +2 -2
  146. data/vendor/local/lib/libmsgpack.a +0 -0
  147. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  148. data/vendor/local/lib/libmsgpack.la +2 -2
  149. data/vendor/local/lib/libmsgpackc.a +0 -0
  150. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  151. data/vendor/local/lib/libmsgpackc.la +2 -2
  152. data/vendor/local/lib/libonig.a +0 -0
  153. data/vendor/local/lib/libonig.dll.a +0 -0
  154. data/vendor/local/lib/libonig.la +2 -2
  155. data/vendor/local/lib/libz.a +0 -0
  156. data/vendor/local/lib/libz.dll.a +0 -0
  157. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  158. data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
  159. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  160. data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
  161. data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
  162. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  163. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  164. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  165. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  166. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  167. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  168. data/vendor/local/sbin/groonga-httpd.exe +0 -0
  169. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  170. data/vendor/local/share/doc/groonga/en/html/_images/used-when-indexing.png +0 -0
  171. data/vendor/local/share/doc/groonga/en/html/_images/used-when-searching.png +0 -0
  172. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
  173. data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +32 -17
  174. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
  175. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
  176. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
  177. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  178. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  179. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
  180. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
  181. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
  182. data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
  183. data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +2 -2
  184. data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +2 -2
  185. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +194 -0
  186. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +42 -0
  187. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +54 -0
  188. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +3 -0
  189. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
  190. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
  191. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
  192. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -3
  193. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -4
  194. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +5 -5
  195. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +4 -4
  196. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +173 -0
  197. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +112 -0
  198. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +7 -6
  199. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +64 -0
  200. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +63 -0
  201. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +11 -1
  202. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +3 -2
  203. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
  204. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
  205. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +17 -17
  206. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +12 -12
  207. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +7 -7
  208. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +4 -4
  209. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +6 -6
  210. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -1
  211. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +47 -26
  212. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +5 -5
  213. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +3 -3
  214. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +6 -6
  215. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
  216. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
  217. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +54 -2
  218. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +4 -4
  219. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +4 -4
  220. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
  221. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
  222. data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -0
  223. data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +4 -0
  224. data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +2 -1
  225. data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +403 -0
  226. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +217 -0
  227. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
  228. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
  229. data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +13 -0
  230. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +8 -0
  231. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +530 -16
  232. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
  233. data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +15 -0
  234. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +2 -1
  235. data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +66 -1
  236. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  237. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -81
  238. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +6 -68
  239. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -26
  240. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  241. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  242. data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
  243. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -4
  244. data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
  245. data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
  246. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  247. data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
  248. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  249. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  250. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
  251. data/vendor/local/share/doc/groonga/en/html/characteristic.html +18 -20
  252. data/vendor/local/share/doc/groonga/en/html/client.html +22 -24
  253. data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
  254. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
  255. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
  256. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
  257. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +51 -38
  258. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
  259. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
  260. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
  261. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
  262. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
  263. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +24 -26
  264. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
  265. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
  266. data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
  267. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
  268. data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
  269. data/vendor/local/share/doc/groonga/en/html/genindex.html +26 -14
  270. data/vendor/local/share/doc/groonga/en/html/index.html +150 -130
  271. data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
  272. data/vendor/local/share/doc/groonga/en/html/install/debian.html +24 -26
  273. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -30
  274. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
  275. data/vendor/local/share/doc/groonga/en/html/install/others.html +87 -89
  276. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
  277. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +25 -27
  278. data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
  279. data/vendor/local/share/doc/groonga/en/html/install.html +32 -34
  280. data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
  281. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
  282. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +19 -21
  283. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
  284. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
  285. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
  286. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +98 -100
  287. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +68 -70
  288. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +102 -104
  289. data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
  290. data/vendor/local/share/doc/groonga/en/html/news.html +256 -27
  291. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  292. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +49 -51
  293. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +60 -62
  294. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +80 -82
  295. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +42 -44
  296. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +37 -39
  297. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +130 -80
  298. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +48 -50
  299. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +44 -46
  300. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -81
  301. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +42 -44
  302. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +44 -46
  303. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +42 -44
  304. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +41 -43
  305. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +41 -43
  306. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +40 -42
  307. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +89 -91
  308. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +44 -46
  309. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +39 -41
  310. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +75 -77
  311. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +64 -66
  312. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -42
  313. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +39 -41
  314. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +202 -0
  315. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +58 -60
  316. data/vendor/local/share/doc/groonga/en/html/reference/api.html +51 -52
  317. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
  318. data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
  319. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +17 -19
  320. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
  321. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +17 -19
  322. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +58 -60
  323. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
  324. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +53 -55
  325. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -24
  326. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +94 -96
  327. data/vendor/local/share/doc/groonga/en/html/reference/command.html +56 -54
  328. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +39 -41
  329. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +43 -45
  330. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +23 -25
  331. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +39 -41
  332. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +71 -73
  333. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +24 -26
  334. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -46
  335. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +37 -39
  336. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +24 -26
  337. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -37
  338. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +22 -24
  339. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -45
  340. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +49 -47
  341. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +23 -25
  342. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +24 -26
  343. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +26 -28
  344. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +314 -0
  345. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +252 -0
  346. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +87 -89
  347. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +46 -48
  348. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +195 -0
  349. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +193 -0
  350. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +38 -40
  351. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
  352. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +61 -51
  353. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
  354. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
  355. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +54 -56
  356. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +590 -592
  357. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
  358. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +40 -42
  359. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +92 -94
  360. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +152 -154
  361. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
  362. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
  363. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +68 -70
  364. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -105
  365. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
  366. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +52 -54
  367. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +35 -37
  368. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +21 -23
  369. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -28
  370. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +73 -75
  371. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
  372. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  373. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +42 -44
  374. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +34 -36
  375. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +124 -90
  376. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -21
  377. data/vendor/local/share/doc/groonga/en/html/reference/function.html +42 -44
  378. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +66 -68
  379. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +44 -46
  380. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +113 -115
  381. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +55 -57
  382. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +45 -47
  383. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +81 -83
  384. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +65 -67
  385. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +54 -56
  386. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +135 -44
  387. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -42
  388. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +81 -83
  389. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +43 -45
  390. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +67 -69
  391. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +66 -70
  392. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +349 -286
  393. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +483 -417
  394. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +39 -41
  395. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -37
  396. data/vendor/local/share/doc/groonga/en/html/reference/log.html +38 -40
  397. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +44 -46
  398. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +32 -34
  399. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +30 -31
  400. data/vendor/local/share/doc/groonga/en/html/reference/output.html +32 -34
  401. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +60 -62
  402. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
  403. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +931 -0
  404. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +442 -0
  405. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +153 -0
  406. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +287 -0
  407. data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +114 -0
  408. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +51 -53
  409. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +40 -42
  410. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +38 -40
  411. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +40 -42
  412. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +45 -47
  413. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
  414. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +36 -38
  415. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +1394 -34
  416. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +57 -59
  417. data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
  418. data/vendor/local/share/doc/groonga/en/html/reference.html +139 -118
  419. data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
  420. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  421. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +28 -30
  422. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +68 -70
  423. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +30 -32
  424. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +29 -31
  425. data/vendor/local/share/doc/groonga/en/html/server/http.html +42 -44
  426. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +137 -0
  427. data/vendor/local/share/doc/groonga/en/html/server/package.html +36 -38
  428. data/vendor/local/share/doc/groonga/en/html/server.html +23 -24
  429. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +208 -129
  430. data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
  431. data/vendor/local/share/doc/groonga/en/html/spec.html +22 -24
  432. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
  433. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  434. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
  435. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
  436. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
  437. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
  438. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
  439. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
  440. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
  441. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
  442. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +27 -125
  443. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
  444. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
  445. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
  446. data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -25
  447. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  448. data/vendor/local/share/doc/groonga/ja/html/_images/used-when-indexing.png +0 -0
  449. data/vendor/local/share/doc/groonga/ja/html/_images/used-when-searching.png +0 -0
  450. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
  451. data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +32 -17
  452. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
  453. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
  454. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
  455. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  456. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  457. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
  458. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
  459. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
  460. data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
  461. data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +2 -2
  462. data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +2 -2
  463. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +194 -0
  464. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +42 -0
  465. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +54 -0
  466. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +3 -0
  467. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
  468. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
  469. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
  470. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -3
  471. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -4
  472. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +5 -5
  473. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +4 -4
  474. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +173 -0
  475. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +112 -0
  476. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +7 -6
  477. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +64 -0
  478. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +63 -0
  479. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +11 -1
  480. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +3 -2
  481. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
  482. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
  483. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +17 -17
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +12 -12
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +7 -7
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +4 -4
  487. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +6 -6
  488. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -1
  489. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +47 -26
  490. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +5 -5
  491. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +3 -3
  492. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +6 -6
  493. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
  494. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
  495. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +54 -2
  496. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +4 -4
  497. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +4 -4
  498. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
  499. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
  500. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -0
  501. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +4 -0
  502. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +2 -1
  503. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +403 -0
  504. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +217 -0
  505. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
  506. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
  507. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +13 -0
  508. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +8 -0
  509. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +530 -16
  510. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
  511. data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +15 -0
  512. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +2 -1
  513. data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +66 -1
  514. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
  515. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -81
  516. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +6 -68
  517. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -26
  518. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  519. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  520. data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
  521. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -4
  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.js +1415 -31
  526. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  527. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  528. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
  529. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
  530. data/vendor/local/share/doc/groonga/ja/html/client.html +22 -24
  531. data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
  532. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
  533. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
  534. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
  535. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +51 -38
  536. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
  537. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
  538. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
  539. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
  540. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +17 -19
  541. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +24 -26
  542. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
  543. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
  544. data/vendor/local/share/doc/groonga/ja/html/contribution.html +18 -20
  545. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
  546. data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
  547. data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -14
  548. data/vendor/local/share/doc/groonga/ja/html/index.html +150 -130
  549. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +31 -33
  550. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -27
  551. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -31
  552. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
  553. data/vendor/local/share/doc/groonga/ja/html/install/others.html +78 -80
  554. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
  555. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +26 -28
  556. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
  557. data/vendor/local/share/doc/groonga/ja/html/install.html +32 -34
  558. data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
  559. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
  560. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +19 -21
  561. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
  562. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +32 -34
  563. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
  564. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
  565. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
  566. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +89 -91
  567. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
  568. data/vendor/local/share/doc/groonga/ja/html/news.html +210 -27
  569. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  570. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +49 -51
  571. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -57
  572. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +80 -82
  573. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +42 -44
  574. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +37 -39
  575. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +126 -76
  576. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +48 -50
  577. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +44 -46
  578. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +74 -76
  579. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +42 -44
  580. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +44 -46
  581. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +42 -44
  582. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +41 -43
  583. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +41 -43
  584. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +40 -42
  585. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +89 -91
  586. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +44 -46
  587. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +39 -41
  588. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +75 -77
  589. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +64 -66
  590. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -42
  591. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +39 -41
  592. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +197 -0
  593. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +58 -60
  594. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +51 -52
  595. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
  596. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
  597. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +17 -19
  598. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
  599. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +17 -19
  600. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +48 -50
  601. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
  602. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +43 -45
  603. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +22 -24
  604. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +93 -95
  605. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
  606. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +35 -37
  607. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +43 -45
  608. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +23 -25
  609. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +39 -41
  610. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +62 -64
  611. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +24 -26
  612. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -40
  613. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +37 -39
  614. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +24 -26
  615. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -34
  616. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +22 -24
  617. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +33 -35
  618. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +48 -46
  619. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +23 -25
  620. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +24 -26
  621. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +26 -28
  622. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +314 -0
  623. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +250 -0
  624. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +80 -81
  625. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +46 -48
  626. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +188 -0
  627. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +190 -0
  628. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +38 -40
  629. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
  630. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +57 -47
  631. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +71 -73
  632. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +53 -55
  633. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
  634. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +394 -396
  635. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
  636. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -40
  637. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +78 -80
  638. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +123 -125
  639. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
  640. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
  641. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +61 -63
  642. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -91
  643. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +46 -48
  644. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +51 -53
  645. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -37
  646. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +21 -23
  647. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -28
  648. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +61 -63
  649. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
  650. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
  651. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +42 -44
  652. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +34 -36
  653. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +126 -90
  654. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -21
  655. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +42 -44
  656. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +63 -65
  657. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +44 -46
  658. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +94 -96
  659. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +55 -57
  660. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +45 -47
  661. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +66 -68
  662. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +55 -57
  663. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +53 -55
  664. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +135 -44
  665. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -42
  666. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +70 -72
  667. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +43 -45
  668. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +53 -55
  669. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +56 -62
  670. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +229 -171
  671. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +381 -322
  672. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +36 -38
  673. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -36
  674. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +38 -40
  675. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +38 -40
  676. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +32 -34
  677. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +28 -30
  678. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +28 -30
  679. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +39 -41
  680. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
  681. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +878 -0
  682. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +442 -0
  683. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +154 -0
  684. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +287 -0
  685. data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +115 -0
  686. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +48 -50
  687. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +40 -42
  688. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +38 -40
  689. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +40 -42
  690. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +45 -47
  691. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
  692. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +37 -39
  693. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +1300 -34
  694. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +57 -59
  695. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -40
  696. data/vendor/local/share/doc/groonga/ja/html/reference.html +139 -118
  697. data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
  698. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  699. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +28 -30
  700. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +62 -64
  701. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +30 -32
  702. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +29 -31
  703. data/vendor/local/share/doc/groonga/ja/html/server/http.html +42 -44
  704. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +138 -0
  705. data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -37
  706. data/vendor/local/share/doc/groonga/ja/html/server.html +23 -24
  707. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +207 -128
  708. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
  709. data/vendor/local/share/doc/groonga/ja/html/spec.html +22 -24
  710. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
  711. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
  712. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
  713. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -19
  714. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
  715. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
  716. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +17 -19
  717. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
  718. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +23 -25
  719. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
  720. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +27 -125
  721. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
  722. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
  723. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
  724. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -25
  725. data/vendor/local/share/license/mruby/README.md +2 -2
  726. data/vendor/local/share/man/ja/man1/groonga.1 +6205 -2251
  727. data/vendor/local/share/man/man1/groonga.1 +7210 -3029
  728. metadata +75 -11
  729. data/doc/text/news.textile +0 -1217
  730. data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
  731. data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
  732. data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
  733. data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -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.11.2. Script syntax &mdash; Groonga v5.0.0 documentation</title>
10
+ <title>7.12.2. Script syntax &mdash; Groonga v5.0.1-42-g4d10df1 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.0',
18
+ VERSION: '5.0.1-42-g4d10df1',
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.0 documentation" href="../../index.html" />
29
- <link rel="up" title="7.11. grn_expr" href="../grn_expr.html" />
30
- <link rel="next" title="7.12. Function" href="../function.html" />
31
- <link rel="prev" title="7.11.1. Query syntax" href="query_syntax.html" />
28
+ <link rel="top" title="Groonga v5.0.1-42-g4d10df1 documentation" href="../../index.html" />
29
+ <link rel="up" title="7.12. grn_expr" href="../grn_expr.html" />
30
+ <link rel="next" title="7.13. Regular expression" href="../regular_expression.html" />
31
+ <link rel="prev" title="7.12.1. Query syntax" href="query_syntax.html" />
32
32
  </head>
33
- <body role="document">
33
+ <body>
34
34
  <div class="header">
35
35
  <h1 class="title">
36
36
  <a id="top-link" href="../../index.html">
@@ -48,45 +48,45 @@
48
48
  </div>
49
49
 
50
50
 
51
- <div class="related" role="navigation" aria-label="related navigation">
51
+ <div class="related">
52
52
  <h3>Navigation</h3>
53
53
  <ul>
54
54
  <li class="right" style="margin-right: 10px">
55
55
  <a href="../../genindex.html" title="General Index"
56
56
  accesskey="I">index</a></li>
57
57
  <li class="right" >
58
- <a href="../function.html" title="7.12. Function"
58
+ <a href="../regular_expression.html" title="7.13. Regular expression"
59
59
  accesskey="N">next</a> |</li>
60
60
  <li class="right" >
61
- <a href="query_syntax.html" title="7.11.1. Query syntax"
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.0 documentation</a> &raquo;</li>
63
+ <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1 documentation</a> &raquo;</li>
64
64
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
65
- <li><a href="../grn_expr.html" accesskey="U">7.11. grn_expr</a> &raquo;</li>
65
+ <li><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" role="main">
72
+ <div class="body">
73
73
 
74
74
  <div class="section" id="script-syntax">
75
- <h1>7.11.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
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, <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
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
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, <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>
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>
82
82
  <p>Script syntax doesn't support full ECMAScript syntax. For example,
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
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
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>
88
88
  <div class="section" id="security">
89
- <span id="script-syntax-security"></span><h2>7.11.2.1. Security<a class="headerlink" href="#security" title="Permalink to this headline">¶</a></h2>
89
+ <span id="script-syntax-security"></span><h2>7.12.2.1. Security<a class="headerlink" href="#security" title="Permalink to this headline">¶</a></h2>
90
90
  <p>For security reason, you should not pass an input from users to
91
91
  Groonga directly. If there is an evil user, the user may input a query
92
92
  that retrieves records that should not be shown to the user.</p>
@@ -101,12 +101,12 @@ select_options = {
101
101
  groonga_client.select(select_options)
102
102
  </pre></div>
103
103
  </div>
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>,
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
105
  here is the constructed <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></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 <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
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
110
  ref:<cite>select-filter</cite> parameter:</p>
111
111
  <div class="highlight-none"><div class="highlight"><pre>column @ &quot;x&quot; || true || &quot;&quot;
112
112
  </pre></div>
@@ -115,24 +115,24 @@ 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
- <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>
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>
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 <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 number. For example, <code class="docutils literal"><span class="pre">1.2</span></code> should
126
- be converted to <code class="docutils literal"><span class="pre">1.2</span></code>.</li>
127
- <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
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 number. For example, <tt class="docutils literal"><span class="pre">1.2</span></tt> should
126
+ be converted to <tt class="docutils literal"><span class="pre">1.2</span></tt>.</li>
127
+ <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
128
128
  the string value and surround substituted string value by
129
- <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
130
- 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>
129
+ <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
130
+ 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>
131
131
  </ul>
132
132
  </div></blockquote>
133
133
  </div>
134
134
  <div class="section" id="sample-data">
135
- <h2>7.11.2.2. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
135
+ <h2>7.12.2.2. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
136
136
  <p>Here are a schema definition and sample data to show usage.</p>
137
137
  <p>Execution example:</p>
138
138
  <div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
@@ -168,79 +168,79 @@ load --table Entries
168
168
  # [[0, 1337566253.89858, 0.000355720520019531], 5]
169
169
  </pre></div>
170
170
  </div>
171
- <p>There is a table, <code class="docutils literal"><span class="pre">Entries</span></code>, for blog entries. An entry has title,
171
+ <p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
172
172
  content and the number of likes for the entry. Title is key of
173
- <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
174
- number of likes is value of <code class="docutils literal"><span class="pre">Entries.n_likes</span></code> column.</p>
175
- <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
176
- 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
177
- <code class="docutils literal"><span class="pre">Entries.content</span></code> are fulltext search ready.</p>
173
+ <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
174
+ number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
175
+ <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
176
+ 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
177
+ <tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
178
178
  <p>OK. The schema and data for examples are ready.</p>
179
179
  </div>
180
180
  <div class="section" id="literals">
181
- <h2>7.11.2.3. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
181
+ <h2>7.12.2.3. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
182
182
  <div class="section" id="integer">
183
- <h3>7.11.2.3.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
184
- <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
185
- <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
186
- <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,
183
+ <h3>7.12.2.3.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
184
+ <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
185
+ <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
186
+ <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,
187
187
  hex and so on can't be used.</p>
188
- <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>
189
- <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
190
- <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>
188
+ <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>
189
+ <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
190
+ <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>
191
191
  </div>
192
192
  <div class="section" id="float">
193
- <h3>7.11.2.3.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
194
- <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>
195
- 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
196
- <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
197
- <code class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></code> formats are also supported. For example,
198
- <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>
193
+ <h3>7.12.2.3.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
194
+ <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>
195
+ 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
196
+ <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
197
+ <tt class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></tt> formats are also supported. For example,
198
+ <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>
199
199
  </div>
200
200
  <div class="section" id="string">
201
- <h3>7.11.2.3.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
202
- <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
203
- 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
204
- a literal for <code class="docutils literal"><span class="pre">Say</span> <span class="pre">&quot;Hello!&quot;.</span></code> string.</p>
201
+ <h3>7.12.2.3.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
202
+ <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
203
+ 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
204
+ a literal for <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">&quot;Hello!&quot;.</span></tt> string.</p>
205
205
  <p>String encoding must be the same as encoding of database. The default
206
- encoding is UTF-8. It can be changed by <code class="docutils literal"><span class="pre">--with-default-encoding</span></code>
207
- configure option, <code class="docutils literal"><span class="pre">--encodiong</span></code> <a class="reference internal" href="../executables/groonga.html"><em>groonga command</em></a> option
206
+ encoding is UTF-8. It can be changed by <tt class="docutils literal"><span class="pre">--with-default-encoding</span></tt>
207
+ configure option, <tt class="docutils literal"><span class="pre">--encodiong</span></tt> <a class="reference internal" href="../executables/groonga.html"><em>groonga command</em></a> option
208
208
  and so on.</p>
209
209
  </div>
210
210
  <div class="section" id="boolean">
211
- <h3>7.11.2.3.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
212
- <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
213
- <code class="docutils literal"><span class="pre">false</span></code> means false.</p>
211
+ <h3>7.12.2.3.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
212
+ <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
213
+ <tt class="docutils literal"><span class="pre">false</span></tt> means false.</p>
214
214
  </div>
215
215
  <div class="section" id="null">
216
- <h3>7.11.2.3.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
217
- <p>Null literal is <code class="docutils literal"><span class="pre">null</span></code>. Groonga doesn't support null value but null
216
+ <h3>7.12.2.3.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
217
+ <p>Null literal is <tt class="docutils literal"><span class="pre">null</span></tt>. Groonga doesn't support null value but null
218
218
  literal is supported.</p>
219
219
  </div>
220
220
  <div class="section" id="time">
221
- <h3>7.11.2.3.6. Time<a class="headerlink" href="#time" title="Permalink to this headline">¶</a></h3>
221
+ <h3>7.12.2.3.6. Time<a class="headerlink" href="#time" title="Permalink to this headline">¶</a></h3>
222
222
  <div class="admonition note">
223
223
  <p class="first admonition-title">Note</p>
224
224
  <p class="last">This is the groonga original notation.</p>
225
225
  </div>
226
226
  <p>Time literal doesn't exit. There are string time notation, integer
227
227
  time notation and float time notation.</p>
228
- <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
229
- <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,
230
- <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
231
- <code class="docutils literal"><span class="pre">uuuuuu</span></code> is micro second. It is local time. For example,
232
- <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
228
+ <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
229
+ <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,
230
+ <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
231
+ <tt class="docutils literal"><span class="pre">uuuuuu</span></tt> is micro second. It is local time. For example,
232
+ <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
233
233
  ISO 8601 format.</p>
234
234
  <p>Integer time notation is the number of seconds that have elapsed since
235
235
  midnight UTC, January 1, 1970. It is also known as POSIX time. For
236
- 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>
236
+ 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
237
  <p>Float time notation is the number of seconds and micro seconds that
238
238
  have elapsed since midnight UTC, January 1, 1970. For example,
239
- <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
239
+ <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
240
  format.</p>
241
241
  </div>
242
242
  <div class="section" id="geo-point">
243
- <h3>7.11.2.3.7. Geo point<a class="headerlink" href="#geo-point" title="Permalink to this headline">¶</a></h3>
243
+ <h3>7.12.2.3.7. Geo point<a class="headerlink" href="#geo-point" title="Permalink to this headline">¶</a></h3>
244
244
  <div class="admonition note">
245
245
  <p class="first admonition-title">Note</p>
246
246
  <p class="last">This is the groonga original notation.</p>
@@ -249,32 +249,32 @@ format.</p>
249
249
  <p>String geo point notation has the following patterns:</p>
250
250
  <blockquote>
251
251
  <div><ul class="simple">
252
- <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSECxLONGITUDE_IN_MSEC&quot;</span></code></li>
253
- <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC&quot;</span></code></li>
254
- <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE&quot;</span></code></li>
255
- <li><code class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE&quot;</span></code></li>
252
+ <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSECxLONGITUDE_IN_MSEC&quot;</span></tt></li>
253
+ <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC&quot;</span></tt></li>
254
+ <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE&quot;</span></tt></li>
255
+ <li><tt class="docutils literal"><span class="pre">&quot;LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE&quot;</span></tt></li>
256
256
  </ul>
257
257
  </div></blockquote>
258
- <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
258
+ <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
259
  be represented in milliseconds or degree.</p>
260
260
  </div>
261
261
  <div class="section" id="array">
262
- <h3>7.11.2.3.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
263
- <p>Array literal is <code class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></code>.</p>
262
+ <h3>7.12.2.3.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
263
+ <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
264
  </div>
265
265
  <div class="section" id="object-literal">
266
- <h3>7.11.2.3.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
267
- <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
266
+ <h3>7.12.2.3.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
267
+ <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
268
  doesn't support object literal yet.</p>
269
269
  </div>
270
270
  </div>
271
271
  <div class="section" id="control-syntaxes">
272
- <h2>7.11.2.4. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
272
+ <h2>7.12.2.4. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
273
273
  <p>Script syntax doesn't support statement. So you cannot use control
274
- 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
274
+ 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
275
  control syntax.</p>
276
- <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>
277
- <p>Here is a simple exmaple.</p>
276
+ <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>Here is a simple example.</p>
278
278
  <p>Execution example:</p>
279
279
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (_id == 1 ? 5 : 3)&#39;
280
280
  # [
@@ -329,18 +329,18 @@ control syntax.</p>
329
329
  # ]
330
330
  </pre></div>
331
331
  </div>
332
- <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>
333
- 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
334
- 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>
332
+ <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>
333
+ 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
334
+ 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>
335
335
  </div>
336
336
  <div class="section" id="grouping">
337
- <h2>7.11.2.5. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
338
- <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>
339
- <p><code class="docutils literal"><span class="pre">(...)</span></code> groups one ore more expressions and they can be processed as
340
- 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
341
- 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
342
- <code class="docutils literal"><span class="pre">b</span></code> and <code class="docutils literal"><span class="pre">c</span></code> are matched.</p>
343
- <p>Here is a simple exmaple.</p>
337
+ <h2>7.12.2.5. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
338
+ <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>
339
+ <p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be processed as
340
+ 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
341
+ 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
342
+ <tt class="docutils literal"><span class="pre">b</span></tt> and <tt class="docutils literal"><span class="pre">c</span></tt> are matched.</p>
343
+ <p>Here is a simple example.</p>
344
344
  <p>Execution example:</p>
345
345
  <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;
346
346
  # [
@@ -435,19 +435,19 @@ select Entries --filter &#39;n_likes &lt; 5 &amp;&amp; (content @ &quot;senna&qu
435
435
  </pre></div>
436
436
  </div>
437
437
  <p>The first expression doesn't use grouping. It matches records that
438
- <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
439
- <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>
440
- <p>The second expression uses grouping. It matches records that <code class="docutils literal"><span class="pre">n_likes</span>
441
- <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
438
+ <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
439
+ <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>
440
+ <p>The second expression uses grouping. It matches records that <tt class="docutils literal"><span class="pre">n_likes</span>
441
+ <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
442
442
  matched.</p>
443
443
  </div>
444
444
  <div class="section" id="function-call">
445
- <h2>7.11.2.6. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
446
- <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>
447
- <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
448
- <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>
445
+ <h2>7.12.2.6. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
446
+ <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>
447
+ <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
448
+ <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>
449
449
  <p>See <a class="reference internal" href="../function.html"><em>Function</em></a> for available functin list.</p>
450
- <p>Here is a simple exmaple.</p>
450
+ <p>Here is a simple example.</p>
451
451
  <p>Execution example:</p>
452
452
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;edit_distance(_key, &quot;Groonga&quot;) &lt;= 1&#39;
453
453
  # [
@@ -497,22 +497,22 @@ matched.</p>
497
497
  </pre></div>
498
498
  </div>
499
499
  <p>The expression uses <a class="reference internal" href="../functions/edit_distance.html"><em>edit_distance</em></a>. It
500
- matches records that <code class="docutils literal"><span class="pre">_key</span></code> column value is similar to
501
- <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
500
+ matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is similar to
501
+ <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
502
502
  distance. If edit distance is less than or equal to 1, the value is
503
- 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
503
+ 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
504
  treated as similar.</p>
505
505
  </div>
506
506
  <div class="section" id="basic-operators">
507
- <h2>7.11.2.7. Basic operators<a class="headerlink" href="#basic-operators" title="Permalink to this headline">¶</a></h2>
507
+ <h2>7.12.2.7. Basic operators<a class="headerlink" href="#basic-operators" title="Permalink to this headline">¶</a></h2>
508
508
  <p>Groonga supports operators defined in ECMAScript.</p>
509
509
  <div class="section" id="arithmetic-operators">
510
- <h3>7.11.2.7.1. Arithmetic operators<a class="headerlink" href="#arithmetic-operators" title="Permalink to this headline">¶</a></h3>
510
+ <h3>7.12.2.7.1. Arithmetic operators<a class="headerlink" href="#arithmetic-operators" title="Permalink to this headline">¶</a></h3>
511
511
  <p>Here are arithmetic operators.</p>
512
512
  <div class="section" id="addition-operator">
513
- <h4>7.11.2.7.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
514
- <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></code>.</p>
515
- <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>
513
+ <h4>7.12.2.7.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
514
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></tt>.</p>
515
+ <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>
516
516
  <p>Here is a simple example.</p>
517
517
  <p>Execution example:</p>
518
518
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 10 + 5&#39;
@@ -556,13 +556,13 @@ treated as similar.</p>
556
556
  # ]
557
557
  </pre></div>
558
558
  </div>
559
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
560
- 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>
559
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
560
+ 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>
561
561
  </div>
562
562
  <div class="section" id="subtraction-operator">
563
- <h4>7.11.2.7.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
564
- <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></code>.</p>
565
- <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>
563
+ <h4>7.12.2.7.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
564
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></tt>.</p>
565
+ <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>
566
566
  <p>Here is a simple example.</p>
567
567
  <p>Execution example:</p>
568
568
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 20 - 5&#39;
@@ -606,13 +606,13 @@ to <code class="docutils literal"><span class="pre">15</span></code> (= <code cl
606
606
  # ]
607
607
  </pre></div>
608
608
  </div>
609
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
610
- 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>
609
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
610
+ 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>
611
611
  </div>
612
612
  <div class="section" id="multiplication-operator">
613
- <h4>7.11.2.7.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
614
- <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></code>.</p>
615
- <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>
613
+ <h4>7.12.2.7.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
614
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></tt>.</p>
615
+ <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>
616
616
  <p>Here is a simple example.</p>
617
617
  <p>Execution example:</p>
618
618
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 3 * 5&#39;
@@ -656,14 +656,14 @@ to <code class="docutils literal"><span class="pre">15</span></code> (= <code cl
656
656
  # ]
657
657
  </pre></div>
658
658
  </div>
659
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
660
- 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>
659
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
660
+ 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>
661
661
  </div>
662
662
  <div class="section" id="division-operator">
663
- <h4>7.11.2.7.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
664
- <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>
665
- <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
666
- quotient of result. <code class="docutils literal"><span class="pre">%</span></code> returns the remainder of result.</p>
663
+ <h4>7.12.2.7.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
664
+ <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>
665
+ <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
666
+ quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> returns the remainder of result.</p>
667
667
  <p>Here is simple examples.</p>
668
668
  <p>Execution example:</p>
669
669
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 26 / 7&#39;
@@ -713,8 +713,8 @@ quotient of result. <code class="docutils literal"><span class="pre">%</span></c
713
713
  # ]
714
714
  </pre></div>
715
715
  </div>
716
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
717
- 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>
716
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
717
+ 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>
718
718
  <p>Execution example:</p>
719
719
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == 26 % 7&#39;
720
720
  # [
@@ -757,17 +757,17 @@ to <code class="docutils literal"><span class="pre">3</span></code> (= <code cla
757
757
  # ]
758
758
  </pre></div>
759
759
  </div>
760
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
761
- 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>
760
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
761
+ 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>
762
762
  </div>
763
763
  </div>
764
764
  <div class="section" id="logical-operators">
765
- <h3>7.11.2.7.2. Logical operators<a class="headerlink" href="#logical-operators" title="Permalink to this headline">¶</a></h3>
765
+ <h3>7.12.2.7.2. Logical operators<a class="headerlink" href="#logical-operators" title="Permalink to this headline">¶</a></h3>
766
766
  <p>Here are logical operators.</p>
767
767
  <div class="section" id="logical-not-operator">
768
- <h4>7.11.2.7.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
769
- <p>Its syntax is <code class="docutils literal"><span class="pre">!condition</span></code>.</p>
770
- <p>The operator inverts boolean value of <code class="docutils literal"><span class="pre">condition</span></code>.</p>
768
+ <h4>7.12.2.7.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
769
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">!condition</span></tt>.</p>
770
+ <p>The operator inverts boolean value of <tt class="docutils literal"><span class="pre">condition</span></tt>.</p>
771
771
  <p>Here is a simple example.</p>
772
772
  <p>Execution example:</p>
773
773
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;!(n_likes == 5)&#39;
@@ -829,14 +829,14 @@ to <code class="docutils literal"><span class="pre">5</span></code> (= <code cla
829
829
  # ]
830
830
  </pre></div>
831
831
  </div>
832
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
833
- equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
832
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
833
+ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
834
834
  </div>
835
835
  <div class="section" id="logical-and-operator">
836
- <h4>7.11.2.7.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
837
- <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>
838
- <p>The operator returns true if both of <code class="docutils literal"><span class="pre">condition1</span></code> and
839
- <code class="docutils literal"><span class="pre">condition2</span></code> are true, false otherwise.</p>
836
+ <h4>7.12.2.7.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
837
+ <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>
838
+ <p>The operator returns true if both of <tt class="docutils literal"><span class="pre">condition1</span></tt> and
839
+ <tt class="docutils literal"><span class="pre">condition2</span></tt> are true, false otherwise.</p>
840
840
  <p>Here is a simple example.</p>
841
841
  <p>Execution example:</p>
842
842
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @ &quot;fast&quot; &amp;&amp; n_likes &gt;= 10&#39;
@@ -886,14 +886,14 @@ equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
886
886
  # ]
887
887
  </pre></div>
888
888
  </div>
889
- <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
890
- 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
891
- <code class="docutils literal"><span class="pre">10</span></code>.</p>
889
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
890
+ 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
891
+ <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
892
892
  </div>
893
893
  <div class="section" id="logical-or-operator">
894
- <h4>7.11.2.7.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
895
- <p>Its syntax is <code class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></code>.</p>
896
- <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
894
+ <h4>7.12.2.7.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
895
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></tt>.</p>
896
+ <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
897
897
  true, false otherwise.</p>
898
898
  <p>Here is a simple example.</p>
899
899
  <p>Execution example:</p>
@@ -944,13 +944,13 @@ true, false otherwise.</p>
944
944
  # ]
945
945
  </pre></div>
946
946
  </div>
947
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
948
- to <code class="docutils literal"><span class="pre">5</span></code> or <code class="docutils literal"><span class="pre">10</span></code>.</p>
947
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
948
+ to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
949
949
  </div>
950
950
  <div class="section" id="logical-and-not-operator">
951
- <h4>7.11.2.7.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
952
- <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>
953
- <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>
951
+ <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>
952
+ <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>
953
+ <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>
954
954
  is false, false otherwise. It returns difference set.</p>
955
955
  <p>Here is a simple example.</p>
956
956
  <p>Execution example:</p>
@@ -995,17 +995,17 @@ is false, false otherwise. It returns difference set.</p>
995
995
  # ]
996
996
  </pre></div>
997
997
  </div>
998
- <p>The expression matches records that <code class="docutils literal"><span class="pre">content</span></code> column value has the
999
- 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>
998
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
999
+ 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>
1000
1000
  </div>
1001
1001
  </div>
1002
1002
  <div class="section" id="bitwise-operators">
1003
- <h3>7.11.2.7.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
1003
+ <h3>7.12.2.7.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
1004
1004
  <p>Here are bitwise operators.</p>
1005
1005
  <div class="section" id="bitwise-not-operator">
1006
- <h4>7.11.2.7.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
1007
- <p>Its syntax is <code class="docutils literal"><span class="pre">~number</span></code>.</p>
1008
- <p>The operator returns bitwise NOT of <code class="docutils literal"><span class="pre">number</span></code>.</p>
1006
+ <h4>7.12.2.7.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
1007
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">~number</span></tt>.</p>
1008
+ <p>The operator returns bitwise NOT of <tt class="docutils literal"><span class="pre">number</span></tt>.</p>
1009
1009
  <p>Here is a simple example.</p>
1010
1010
  <p>Execution example:</p>
1011
1011
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;~n_likes == -6&#39;
@@ -1049,13 +1049,13 @@ word <code class="docutils literal"><span class="pre">fast</span></code> but doe
1049
1049
  # ]
1050
1050
  </pre></div>
1051
1051
  </div>
1052
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1053
- 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>
1052
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1053
+ 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>
1054
1054
  </div>
1055
1055
  <div class="section" id="bitwise-and-operator">
1056
- <h4>7.11.2.7.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
1057
- <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>
1058
- <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>
1056
+ <h4>7.12.2.7.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
1057
+ <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>
1058
+ <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>
1059
1059
  <p>Here is a simple example.</p>
1060
1060
  <p>Execution example:</p>
1061
1061
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;(n_likes &amp; 1) == 1&#39;
@@ -1117,16 +1117,16 @@ to <code class="docutils literal"><span class="pre">5</span></code> because bitw
1117
1117
  # ]
1118
1118
  </pre></div>
1119
1119
  </div>
1120
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is even
1121
- number because bitwise AND between an even number and <code class="docutils literal"><span class="pre">1</span></code> is equal
1122
- 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
1123
- <code class="docutils literal"><span class="pre">0</span></code>.</p>
1120
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is even
1121
+ number because bitwise AND between an even number and <tt class="docutils literal"><span class="pre">1</span></tt> is equal
1122
+ 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
1123
+ <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
1124
1124
  </div>
1125
1125
  </div>
1126
1126
  <div class="section" id="bitwise-or-operator">
1127
- <h3>7.11.2.7.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
1128
- <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></code>.</p>
1129
- <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>
1127
+ <h3>7.12.2.7.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
1128
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></tt>.</p>
1129
+ <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>
1130
1130
  <p>Here is a simple example.</p>
1131
1131
  <p>Execution example:</p>
1132
1132
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (1 | 4)&#39;
@@ -1170,13 +1170,13 @@ to <code class="docutils literal"><span class="pre">1</span></code> and bitwise
1170
1170
  # ]
1171
1171
  </pre></div>
1172
1172
  </div>
1173
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1174
- 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>
1173
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1174
+ 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>
1175
1175
  </div>
1176
1176
  <div class="section" id="bitwise-xor-operator">
1177
- <h3>7.11.2.7.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
1178
- <p>Its syntax is <code class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></code>.</p>
1179
- <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>
1177
+ <h3>7.12.2.7.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
1178
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></tt>.</p>
1179
+ <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>
1180
1180
  <p>Here is a simple example.</p>
1181
1181
  <p>Execution example:</p>
1182
1182
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (10 ^ 15)&#39;
@@ -1220,17 +1220,17 @@ to <code class="docutils literal"><span class="pre">5</span></code> (= <code cla
1220
1220
  # ]
1221
1221
  </pre></div>
1222
1222
  </div>
1223
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1224
- 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>
1223
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1224
+ 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>
1225
1225
  </div>
1226
1226
  <div class="section" id="shift-operators">
1227
- <h3>7.11.2.7.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
1227
+ <h3>7.12.2.7.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
1228
1228
  <p>Here are shift operators.</p>
1229
1229
  <div class="section" id="left-shift-operator">
1230
- <h4>7.11.2.7.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
1231
- <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>
1232
- <p>The operator performs a bitwise left shift operation on <code class="docutils literal"><span class="pre">number1</span></code> by
1233
- <code class="docutils literal"><span class="pre">number2</span></code>.</p>
1230
+ <h4>7.12.2.7.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
1231
+ <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>
1232
+ <p>The operator performs a bitwise left shift operation on <tt class="docutils literal"><span class="pre">number1</span></tt> by
1233
+ <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
1234
1234
  <p>Here is a simple example.</p>
1235
1235
  <p>Execution example:</p>
1236
1236
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (5 &lt;&lt; 1)&#39;
@@ -1274,14 +1274,14 @@ to <code class="docutils literal"><span class="pre">5</span></code> (= <code cla
1274
1274
  # ]
1275
1275
  </pre></div>
1276
1276
  </div>
1277
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1278
- 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>
1277
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1278
+ 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>
1279
1279
  </div>
1280
1280
  <div class="section" id="signed-right-shift-operator">
1281
- <h4>7.11.2.7.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1282
- <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>
1283
- <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
1284
- of the result is the same as <code class="docutils literal"><span class="pre">number1</span></code>.</p>
1281
+ <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>
1282
+ <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>
1283
+ <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
1284
+ of the result is the same as <tt class="docutils literal"><span class="pre">number1</span></tt>.</p>
1285
1285
  <p>Here is a simple example.</p>
1286
1286
  <p>Execution example:</p>
1287
1287
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == -(-10 &gt;&gt; 1)&#39;
@@ -1325,14 +1325,14 @@ of the result is the same as <code class="docutils literal"><span class="pre">nu
1325
1325
  # ]
1326
1326
  </pre></div>
1327
1327
  </div>
1328
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1329
- 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>
1328
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1329
+ 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>
1330
1330
  </div>
1331
1331
  <div class="section" id="unsigned-right-shift-operator">
1332
- <h4>7.11.2.7.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
1333
- <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>
1334
- <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
1335
- 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>
1332
+ <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>
1333
+ <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>
1334
+ <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
1335
+ 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>
1336
1336
  <p>Here is a simple example.</p>
1337
1337
  <p>Execution example:</p>
1338
1338
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes == (2147483648 - (-10 &gt;&gt;&gt; 1))&#39;
@@ -1376,17 +1376,17 @@ leftmost <code class="docutils literal"><span class="pre">number2</span></code>
1376
1376
  # ]
1377
1377
  </pre></div>
1378
1378
  </div>
1379
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1380
- 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>
1379
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1380
+ 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>
1381
1381
  </div>
1382
1382
  </div>
1383
1383
  <div class="section" id="comparison-operators">
1384
- <h3>7.11.2.7.7. Comparison operators<a class="headerlink" href="#comparison-operators" title="Permalink to this headline">¶</a></h3>
1384
+ <h3>7.12.2.7.7. Comparison operators<a class="headerlink" href="#comparison-operators" title="Permalink to this headline">¶</a></h3>
1385
1385
  <p>Here are comparison operators.</p>
1386
1386
  <div class="section" id="equal-operator">
1387
- <h4>7.11.2.7.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
1388
- <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></code>.</p>
1389
- <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
1387
+ <h4>7.12.2.7.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
1388
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></tt>.</p>
1389
+ <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
1390
1390
  otherwise.</p>
1391
1391
  <p>Here is a simple example.</p>
1392
1392
  <p>Execution example:</p>
@@ -1431,14 +1431,14 @@ otherwise.</p>
1431
1431
  # ]
1432
1432
  </pre></div>
1433
1433
  </div>
1434
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is equal
1435
- to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1434
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
1435
+ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1436
1436
  </div>
1437
1437
  <div class="section" id="not-equal-operator">
1438
- <h4>7.11.2.7.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
1439
- <p>Its syntax is <code class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></code>.</p>
1440
- <p>The operator returns true if <code class="docutils literal"><span class="pre">object1</span></code> does not equal to
1441
- <code class="docutils literal"><span class="pre">object2</span></code>, false otherwise.</p>
1438
+ <h4>7.12.2.7.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
1439
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></tt>.</p>
1440
+ <p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> does not equal to
1441
+ <tt class="docutils literal"><span class="pre">object2</span></tt>, false otherwise.</p>
1442
1442
  <p>Here is a simple example.</p>
1443
1443
  <p>Execution example:</p>
1444
1444
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;n_likes != 5&#39;
@@ -1500,32 +1500,32 @@ to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1500
1500
  # ]
1501
1501
  </pre></div>
1502
1502
  </div>
1503
- <p>The expression matches records that <code class="docutils literal"><span class="pre">n_likes</span></code> column value is not
1504
- equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1503
+ <p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
1504
+ equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
1505
1505
  </div>
1506
1506
  <div class="section" id="less-than-operator">
1507
- <h4>7.11.2.7.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
1507
+ <h4>7.12.2.7.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
1508
1508
  <p>TODO: ...</p>
1509
1509
  </div>
1510
1510
  <div class="section" id="less-than-or-equal-to-operator">
1511
- <h4>7.11.2.7.7.4. Less than or equal to operator<a class="headerlink" href="#less-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
1511
+ <h4>7.12.2.7.7.4. Less than or equal to operator<a class="headerlink" href="#less-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
1512
1512
  <p>TODO: ...</p>
1513
1513
  </div>
1514
1514
  <div class="section" id="greater-than-operator">
1515
- <h4>7.11.2.7.7.5. Greater than operator<a class="headerlink" href="#greater-than-operator" title="Permalink to this headline">¶</a></h4>
1515
+ <h4>7.12.2.7.7.5. Greater than operator<a class="headerlink" href="#greater-than-operator" title="Permalink to this headline">¶</a></h4>
1516
1516
  <p>TODO: ...</p>
1517
1517
  </div>
1518
1518
  <div class="section" id="greater-than-or-equal-to-operator">
1519
- <h4>7.11.2.7.7.6. Greater than or equal to operator<a class="headerlink" href="#greater-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
1519
+ <h4>7.12.2.7.7.6. Greater than or equal to operator<a class="headerlink" href="#greater-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
1520
1520
  <p>TODO: ...</p>
1521
1521
  </div>
1522
1522
  </div>
1523
1523
  </div>
1524
1524
  <div class="section" id="assignment-operators">
1525
- <h2>7.11.2.8. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
1525
+ <h2>7.12.2.8. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
1526
1526
  <div class="section" id="addition-assignment-operator">
1527
- <h3>7.11.2.8.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
1528
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">+=</span> <span class="pre">column2</span></code>.</p>
1527
+ <h3>7.12.2.8.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
1528
+ <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
1529
  <p>The operator performs addition assginment operation on column1 by column2.</p>
1530
1530
  <p>Execution example:</p>
1531
1531
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score += n_likes&#39;
@@ -1584,15 +1584,15 @@ equal to <code class="docutils literal"><span class="pre">5</span></code>.</p>
1584
1584
  # ]
1585
1585
  </pre></div>
1586
1586
  </div>
1587
- <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,
1587
+ <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
1588
  then performs addition assignment operation such as '_score = _score + n_likes' for each records.</p>
1589
- <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>
1589
+ <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
1590
  is 3.</p>
1591
- <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>
1591
+ <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
1592
  </div>
1593
1593
  <div class="section" id="subtraction-assignment-operator">
1594
- <h3>7.11.2.8.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
1595
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">-=</span> <span class="pre">column2</span></code>.</p>
1594
+ <h3>7.12.2.8.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
1595
+ <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
1596
  <p>The operator performs subtraction assginment operation on column1 by column2.</p>
1597
1597
  <p>Execution example:</p>
1598
1598
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score -= n_likes&#39;
@@ -1651,15 +1651,15 @@ is 3.</p>
1651
1651
  # ]
1652
1652
  </pre></div>
1653
1653
  </div>
1654
- <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,
1654
+ <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
1655
  then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.</p>
1656
- <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>
1656
+ <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
1657
  is 3.</p>
1658
- <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>
1658
+ <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
1659
  </div>
1660
1660
  <div class="section" id="multiplication-assignment-operator">
1661
- <h3>7.11.2.8.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
1662
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">*=</span> <span class="pre">column2</span></code>.</p>
1661
+ <h3>7.12.2.8.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
1662
+ <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
1663
  <p>The operator performs multiplication assginment operation on column1 by column2.</p>
1664
1664
  <p>Execution example:</p>
1665
1665
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score *= n_likes&#39;
@@ -1718,15 +1718,15 @@ is 3.</p>
1718
1718
  # ]
1719
1719
  </pre></div>
1720
1720
  </div>
1721
- <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,
1721
+ <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
1722
  then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.</p>
1723
- <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>
1723
+ <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
1724
  is 3.</p>
1725
- <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>
1725
+ <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
1726
  </div>
1727
1727
  <div class="section" id="division-assignment-operator">
1728
- <h3>7.11.2.8.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
1729
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">/=</span> <span class="pre">column2</span></code>.</p>
1728
+ <h3>7.12.2.8.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
1729
+ <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
1730
  <p>The operator performs division assginment operation on column1 by column2.</p>
1731
1731
  <p>Execution example:</p>
1732
1732
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score /= n_likes&#39;
@@ -1785,15 +1785,15 @@ is 3.</p>
1785
1785
  # ]
1786
1786
  </pre></div>
1787
1787
  </div>
1788
- <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,
1788
+ <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
1789
  then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.</p>
1790
- <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>
1790
+ <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
1791
  is 3.</p>
1792
- <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>
1792
+ <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
1793
  </div>
1794
1794
  <div class="section" id="modulo-assignment-operator">
1795
- <h3>7.11.2.8.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
1796
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">%=</span> <span class="pre">column2</span></code>.</p>
1795
+ <h3>7.12.2.8.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
1796
+ <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
1797
  <p>The operator performs modulo assginment operation on column1 by column2.</p>
1798
1798
  <p>Execution example:</p>
1799
1799
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score %= n_likes&#39;
@@ -1852,15 +1852,15 @@ is 3.</p>
1852
1852
  # ]
1853
1853
  </pre></div>
1854
1854
  </div>
1855
- <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,
1855
+ <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
1856
  then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.</p>
1857
- <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>
1857
+ <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
1858
  is 3.</p>
1859
- <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>
1859
+ <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
1860
  </div>
1861
1861
  <div class="section" id="bitwise-left-shift-assignment-operator">
1862
- <h3>7.11.2.8.6. Bitwise left shift assignment operator<a class="headerlink" href="#bitwise-left-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
1863
- <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>
1862
+ <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>
1863
+ <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
1864
  <p>The operator performs left shift assginment operation on column1 by column2.</p>
1865
1865
  <p>Execution example:</p>
1866
1866
  <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;
@@ -1919,25 +1919,25 @@ is 3.</p>
1919
1919
  # ]
1920
1920
  </pre></div>
1921
1921
  </div>
1922
- <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,
1922
+ <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
1923
  then performs subtraction assignment operation such as '_score = _score &lt;&lt; n_likes' for each records.</p>
1924
- <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>
1924
+ <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
1925
  is 3.</p>
1926
- <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>
1926
+ <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
1927
  </div>
1928
1928
  <div class="section" id="bitwise-signed-right-shift-assignment-operator">
1929
- <h3>7.11.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>
1930
- <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>
1929
+ <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>
1930
+ <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
1931
  <p>The operator performs signed right shift assginment operation on column1 by column2.</p>
1932
1932
  </div>
1933
1933
  <div class="section" id="bitwise-unsigned-right-shift-assignment-operator">
1934
- <h3>7.11.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>
1935
- <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>
1934
+ <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>
1935
+ <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
1936
  <p>The operator performs unsigned right shift assginment operation on column1 by column2.</p>
1937
1937
  </div>
1938
1938
  <div class="section" id="bitwise-and-assignment-operator">
1939
- <h3>7.11.2.8.9. Bitwise AND assignment operator<a class="headerlink" href="#bitwise-and-assignment-operator" title="Permalink to this headline">¶</a></h3>
1940
- <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>
1939
+ <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>
1940
+ <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
1941
  <p>The operator performs bitwise AND assignment operation on column1 by column2.</p>
1942
1942
  <p>Execution example:</p>
1943
1943
  <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;
@@ -1996,15 +1996,15 @@ is 3.</p>
1996
1996
  # ]
1997
1997
  </pre></div>
1998
1998
  </div>
1999
- <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,
1999
+ <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
2000
  then performs subtraction assignment operation such as '_score = _score &amp; n_likes' for each records.</p>
2001
- <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>
2001
+ <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
2002
  is 10.</p>
2003
- <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>
2003
+ <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
2004
  </div>
2005
2005
  <div class="section" id="bitwise-or-assignment-operator">
2006
- <h3>7.11.2.8.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
2007
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></code>.</p>
2006
+ <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>
2007
+ <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></tt>.</p>
2008
2008
  <p>The operator performs bitwise OR assignment operation on column1 by column2.</p>
2009
2009
  <p>Execution example:</p>
2010
2010
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score |= n_likes&#39;
@@ -2063,15 +2063,15 @@ is 10.</p>
2063
2063
  # ]
2064
2064
  </pre></div>
2065
2065
  </div>
2066
- <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,
2066
+ <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
2067
  then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.</p>
2068
- <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>
2068
+ <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
2069
  is 10.</p>
2070
- <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>
2070
+ <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
2071
  </div>
2072
2072
  <div class="section" id="bitwise-xor-assignment-operator">
2073
- <h3>7.11.2.8.11. Bitwise XOR assignment operator<a class="headerlink" href="#bitwise-xor-assignment-operator" title="Permalink to this headline">¶</a></h3>
2074
- <p>Its syntax is <code class="docutils literal"><span class="pre">column1</span> <span class="pre">^=</span> <span class="pre">column2</span></code>.</p>
2073
+ <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>
2074
+ <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
2075
  <p>The operator performs bitwise XOR assginment operation on column1 by column2.</p>
2076
2076
  <p>Execution example:</p>
2077
2077
  <div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns _key,n_likes,_score --filter true --scorer &#39;_score ^= n_likes&#39;
@@ -2130,26 +2130,26 @@ is 10.</p>
2130
2130
  # ]
2131
2131
  </pre></div>
2132
2132
  </div>
2133
- <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,
2133
+ <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
2134
  then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.</p>
2135
- <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>
2135
+ <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
2136
  is 3.</p>
2137
- <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>
2137
+ <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
2138
  </div>
2139
2139
  </div>
2140
2140
  <div class="section" id="original-operators">
2141
- <h2>7.11.2.9. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
2141
+ <h2>7.12.2.9. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
2142
2142
  <p>Script syntax adds the original binary opearators to ECMAScript
2143
2143
  syntax. They operate search specific operations. They are starts with
2144
- <code class="docutils literal"><span class="pre">&#64;</span></code> or <code class="docutils literal"><span class="pre">*</span></code>.</p>
2144
+ <tt class="docutils literal"><span class="pre">&#64;</span></tt> or <tt class="docutils literal"><span class="pre">*</span></tt>.</p>
2145
2145
  <div class="section" id="match-operator">
2146
- <span id="match-oeprator"></span><h3>7.11.2.9.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
2147
- <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>
2148
- <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>.
2146
+ <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>
2147
+ <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>
2148
+ <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>.
2149
2149
  Normally, full text search is operated but tag search can be operated.
2150
2150
  Because tag search is also implemented by inverted index.</p>
2151
2151
  <p><a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> uses this operator by default.</p>
2152
- <p>Here is a simple exmaple.</p>
2152
+ <p>Here is a simple example.</p>
2153
2153
  <p>Execution example:</p>
2154
2154
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @ &quot;fast&quot;&#39; --output_columns content
2155
2155
  # [
@@ -2180,24 +2180,24 @@ Because tag search is also implemented by inverted index.</p>
2180
2180
  # ]
2181
2181
  </pre></div>
2182
2182
  </div>
2183
- <p>The expression matches records that contain a word <code class="docutils literal"><span class="pre">fast</span></code> in
2184
- <code class="docutils literal"><span class="pre">content</span></code> column value.</p>
2183
+ <p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
2184
+ <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
2185
2185
  </div>
2186
2186
  <div class="section" id="prefix-search-operator">
2187
- <span id="id1"></span><h3>7.11.2.9.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
2188
- <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>
2189
- <p>The operator does prefix search with <code class="docutils literal"><span class="pre">value</span></code>. Prefix search searches
2190
- records that contain a word that starts with <code class="docutils literal"><span class="pre">value</span></code>.</p>
2187
+ <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>
2188
+ <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>
2189
+ <p>The operator does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix search searches
2190
+ records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
2191
2191
  <p>You can use fast prefix search against a column. The column must be
2192
2192
  indexed and index table must be patricia trie table
2193
- (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or double array trie table
2194
- (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can also use fast prefix search against
2195
- <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table or double array trie
2196
- table. You don't need to index <code class="docutils literal"><span class="pre">_key</span></code>.</p>
2193
+ (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or double array trie table
2194
+ (<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can also use fast prefix search against
2195
+ <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table or double array trie
2196
+ table. You don't need to index <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
2197
2197
  <p>Prefix search can be used with other table types but it causes all
2198
2198
  records scan. It's not problem for small records but it spends more
2199
2199
  time for large records.</p>
2200
- <p>Here is a simple exmaple.</p>
2200
+ <p>Here is a simple example.</p>
2201
2201
  <p>Execution example:</p>
2202
2202
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;_key @^ &quot;Goo&quot;&#39; --output_columns _key
2203
2203
  # [
@@ -2229,21 +2229,21 @@ time for large records.</p>
2229
2229
  </pre></div>
2230
2230
  </div>
2231
2231
  <p>The expression matches records that contain a word that starts with
2232
- <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
2233
- <code class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></code> are matched with the expression.</p>
2232
+ <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
2233
+ <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
2234
2234
  </div>
2235
2235
  <div class="section" id="suffix-search-operator">
2236
- <span id="id2"></span><h3>7.11.2.9.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
2237
- <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>
2238
- <p>This operator does suffix search with <code class="docutils literal"><span class="pre">value</span></code>. Suffix search
2239
- searches records that contain a word that ends with <code class="docutils literal"><span class="pre">value</span></code>.</p>
2236
+ <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>
2237
+ <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>
2238
+ <p>This operator does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix search
2239
+ searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
2240
2240
  <p>You can use fast suffix search against a column. The column must be
2241
2241
  indexed and index table must be patricia trie table
2242
- (<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
2243
- suffix search against <code class="docutils literal"><span class="pre">_key</span></code> pseudo column of patricia trie table
2244
- (<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
2245
- index <code class="docutils literal"><span class="pre">_key</span></code>. We recommended that you use index column based fast
2246
- 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>
2242
+ (<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
2243
+ suffix search against <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table
2244
+ (<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
2245
+ index <tt class="docutils literal"><span class="pre">_key</span></tt>. We recommended that you use index column based fast
2246
+ 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>
2247
2247
  based fast suffix search returns automatically registered
2248
2248
  substrings. (TODO: write document about suffix search and link to it
2249
2249
  from here.)</p>
@@ -2254,10 +2254,10 @@ as hiragana in Japanese. You cannot use fast suffix search for
2254
2254
  ASCII character.</p>
2255
2255
  </div>
2256
2256
  <p>Suffix search can be used with other table types or patricia trie
2257
- table without <code class="docutils literal"><span class="pre">KEY_WITH_SIS</span></code> flag but it causes all records
2257
+ table without <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag but it causes all records
2258
2258
  scan. It's not problem for small records but it spends more time for
2259
2259
  large records.</p>
2260
- <p>Here is a simple exmaple. It uses fast suffix search for hiragana in
2260
+ <p>Here is a simple example. It uses fast suffix search for hiragana in
2261
2261
  Japanese that is one of non-ASCII characters.</p>
2262
2262
  <p>Execution example:</p>
2263
2263
  <div class="highlight-none"><div class="highlight"><pre>table_create Titles TABLE_NO_KEY
@@ -2311,26 +2311,26 @@ select Titles --query &#39;content:$んが&#39;
2311
2311
  # ]
2312
2312
  </pre></div>
2313
2313
  </div>
2314
- <p>The expression matches records that have value that ends with <code class="docutils literal"><span class="pre">んが</span></code>
2315
- 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
2314
+ <p>The expression matches records that have value that ends with <tt class="docutils literal"><span class="pre">んが</span></tt>
2315
+ 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
2316
2316
  with the expression.</p>
2317
2317
  </div>
2318
2318
  <div class="section" id="near-search-operator">
2319
- <span id="id3"></span><h3>7.11.2.9.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
2320
- <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>
2321
- <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
2319
+ <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>
2320
+ <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>
2321
+ <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
2322
2322
  search searches records that contain the words and the words are
2323
- appeared in the near distance. Near distance is always <code class="docutils literal"><span class="pre">10</span></code> for
2323
+ appeared in the near distance. Near distance is always <tt class="docutils literal"><span class="pre">10</span></tt> for
2324
2324
  now. The unit of near distance is the number of characters in N-gram
2325
2325
  family tokenizers and the number of words in morphological analysis
2326
2326
  family tokenizers.</p>
2327
- <p>(TODO: Add a description about <code class="docutils literal"><span class="pre">TokenBigram</span></code> doesn't split ASCII
2327
+ <p>(TODO: Add a description about <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> doesn't split ASCII
2328
2328
  only word into tokens. So the unit for ASCII words with
2329
- <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
2329
+ <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
2330
  N-gram family tokenizer.)</p>
2331
2331
  <p>Note that an index column for full text search must be defined for
2332
- <code class="docutils literal"><span class="pre">column</span></code>.</p>
2333
- <p>Here is a simple exmaple.</p>
2332
+ <tt class="docutils literal"><span class="pre">column</span></tt>.</p>
2333
+ <p>Here is a simple example.</p>
2334
2334
  <p>Execution example:</p>
2335
2335
  <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content *N &quot;I fast&quot;&#39; --output_columns content
2336
2336
  # [
@@ -2384,31 +2384,31 @@ select Entries --filter &#39;content *N &quot;also Really&quot;&#39; --output_co
2384
2384
  # ]
2385
2385
  </pre></div>
2386
2386
  </div>
2387
- <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>
2387
+ <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
2388
  and the near distance of those words are in 10 words. So the record
2389
- 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>
2390
- <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>
2389
+ 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>
2390
+ <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>
2391
2391
  is just 10.</p>
2392
- <p>The second expression matches records that contain <code class="docutils literal"><span class="pre">I</span></code> and
2393
- <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
2394
- 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>
2395
- <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
2396
- <code class="docutils literal"><span class="pre">I</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 11.</p>
2397
- <p>The third expression matches records that contain <code class="docutils literal"><span class="pre">also</span></code> and
2398
- <code class="docutils literal"><span class="pre">Really</span></code> and the near distance of those words are in 10 words. So
2399
- 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>
2400
- <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
2401
- <code class="docutils literal"><span class="pre">also</span></code> and <code class="docutils literal"><span class="pre">Really</span></code> is 10.</p>
2392
+ <p>The second expression matches records that contain <tt class="docutils literal"><span class="pre">I</span></tt> and
2393
+ <tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
2394
+ 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>
2395
+ <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
2396
+ <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 11.</p>
2397
+ <p>The third expression matches records that contain <tt class="docutils literal"><span class="pre">also</span></tt> and
2398
+ <tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
2399
+ 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>
2400
+ <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
2401
+ <tt class="docutils literal"><span class="pre">also</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 10.</p>
2402
2402
  </div>
2403
2403
  <div class="section" id="similar-search">
2404
- <span id="similar-search-operator"></span><h3>7.11.2.9.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
2405
- <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>
2406
- <p>The operator does similar search with document <code class="docutils literal"><span class="pre">document</span></code>. Similar
2404
+ <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>
2405
+ <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>
2406
+ <p>The operator does similar search with document <tt class="docutils literal"><span class="pre">document</span></tt>. Similar
2407
2407
  search searches records that have similar content to
2408
- <code class="docutils literal"><span class="pre">document</span></code>.</p>
2408
+ <tt class="docutils literal"><span class="pre">document</span></tt>.</p>
2409
2409
  <p>Note that an index column for full text search must be defined for
2410
- <code class="docutils literal"><span class="pre">column</span></code>.</p>
2411
- <p>Here is a simple exmaple.</p>
2410
+ <tt class="docutils literal"><span class="pre">column</span></tt>.</p>
2411
+ <p>Here is a simple example.</p>
2412
2412
  <p>Execution example:</p>
2413
2413
  <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
2414
2414
  # [
@@ -2439,21 +2439,21 @@ search searches records that have similar content to
2439
2439
  # ]
2440
2440
  </pre></div>
2441
2441
  </div>
2442
- <p>The expression matches records that have similar content to <code class="docutils literal"><span class="pre">I</span>
2443
- <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>
2444
- <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>
2442
+ <p>The expression matches records that have similar content to <tt class="docutils literal"><span class="pre">I</span>
2443
+ <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>
2444
+ <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>
2445
2445
  </div>
2446
2446
  <div class="section" id="term-extract-operator">
2447
- <span id="id4"></span><h3>7.11.2.9.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
2448
- <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>
2449
- <p>The operator extracts terms from <code class="docutils literal"><span class="pre">document</span></code>. Terms must be
2450
- registered as keys of the table of <code class="docutils literal"><span class="pre">_key</span></code>.</p>
2451
- <p>Note that the table must be patricia trie (<code class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></code>) or
2452
- double array trie (<code class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></code>). You can't use hash table
2453
- (<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
2447
+ <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>
2448
+ <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>
2449
+ <p>The operator extracts terms from <tt class="docutils literal"><span class="pre">document</span></tt>. Terms must be
2450
+ registered as keys of the table of <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
2451
+ <p>Note that the table must be patricia trie (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or
2452
+ double array trie (<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can't use hash table
2453
+ (<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
2454
2454
  support longest common prefix search. Longest common prefix search is
2455
2455
  used to implement the operator.</p>
2456
- <p>Here is a simple exmaple.</p>
2456
+ <p>Here is a simple example.</p>
2457
2457
  <p>Execution example:</p>
2458
2458
  <div class="highlight-none"><div class="highlight"><pre>table_create Words TABLE_PAT_KEY|KEY_NORMALIZE ShortText
2459
2459
  # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -2494,12 +2494,79 @@ select Words --filter &#39;_key *T &quot;Groonga is the successor project to Sen
2494
2494
  # ]
2495
2495
  </pre></div>
2496
2496
  </div>
2497
- <p>The expression extrcts terms that included in document <code class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
2498
- <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">KEY_NORMALIZE</span></code>
2499
- flag 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 even
2500
- 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 terms
2497
+ <p>The expression extrcts terms that included in document <tt class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
2498
+ <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>
2499
+ 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
2500
+ 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
2501
2501
  are also normalized.</p>
2502
2502
  </div>
2503
+ <div class="section" id="regular-expression-operator">
2504
+ <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
+ <div class="versionadded">
2506
+ <p><span class="versionmodified">New in version 5.0.1.</span></p>
2507
+ </div>
2508
+ <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>The operator searches records by the regular expression
2510
+ <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
+ the record is matched.</p>
2512
+ <p><tt class="docutils literal"><span class="pre">pattern</span></tt> must be valid regular expression syntax. See
2513
+ <a class="reference internal" href="../regular_expression.html"><em>Regular expression</em></a> about regular expression syntax
2514
+ details.</p>
2515
+ <p>The following example uses <tt class="docutils literal"><span class="pre">.roonga</span></tt> as pattern. It matches
2516
+ <tt class="docutils literal"><span class="pre">Groonga</span></tt>, <tt class="docutils literal"><span class="pre">Mroonga</span></tt> and so on.</p>
2517
+ <p>Execution example:</p>
2518
+ <div class="highlight-none"><div class="highlight"><pre>select Entries --filter &#39;content @~ &quot;.roonga&quot;&#39;
2519
+ # [
2520
+ # [
2521
+ # 0,
2522
+ # 1337566253.89858,
2523
+ # 0.000355720520019531
2524
+ # ],
2525
+ # [
2526
+ # [
2527
+ # [
2528
+ # 2
2529
+ # ],
2530
+ # [
2531
+ # [
2532
+ # &quot;_id&quot;,
2533
+ # &quot;UInt32&quot;
2534
+ # ],
2535
+ # [
2536
+ # &quot;_key&quot;,
2537
+ # &quot;ShortText&quot;
2538
+ # ],
2539
+ # [
2540
+ # &quot;content&quot;,
2541
+ # &quot;Text&quot;
2542
+ # ],
2543
+ # [
2544
+ # &quot;n_likes&quot;,
2545
+ # &quot;UInt32&quot;
2546
+ # ]
2547
+ # ],
2548
+ # [
2549
+ # 2,
2550
+ # &quot;Groonga&quot;,
2551
+ # &quot;I started to use Groonga. It&#39;s very fast!&quot;,
2552
+ # 10
2553
+ # ],
2554
+ # [
2555
+ # 3,
2556
+ # &quot;Mroonga&quot;,
2557
+ # &quot;I also started to use Mroonga. It&#39;s also very fast! Really fast!&quot;,
2558
+ # 15
2559
+ # ]
2560
+ # ]
2561
+ # ]
2562
+ # ]
2563
+ </pre></div>
2564
+ </div>
2565
+ <p>In most cases, regular expression is evaluated sequentially. So it may
2566
+ be slow against many records.</p>
2567
+ <p>In some cases, Groonga evaluates regular expression by index. It's
2568
+ very fast. See <a class="reference internal" href="../regular_expression.html"><em>Regular expression</em></a> for details.</p>
2569
+ </div>
2503
2570
  </div>
2504
2571
  </div>
2505
2572
 
@@ -2507,88 +2574,89 @@ are also normalized.</p>
2507
2574
  </div>
2508
2575
  </div>
2509
2576
  </div>
2510
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
2577
+ <div class="sphinxsidebar">
2511
2578
  <div class="sphinxsidebarwrapper">
2512
2579
  <h3><a href="../../index.html">Table Of Contents</a></h3>
2513
2580
  <ul>
2514
- <li><a class="reference internal" href="#">7.11.2. Script syntax</a><ul>
2515
- <li><a class="reference internal" href="#security">7.11.2.1. Security</a></li>
2516
- <li><a class="reference internal" href="#sample-data">7.11.2.2. Sample data</a></li>
2517
- <li><a class="reference internal" href="#literals">7.11.2.3. Literals</a><ul>
2518
- <li><a class="reference internal" href="#integer">7.11.2.3.1. Integer</a></li>
2519
- <li><a class="reference internal" href="#float">7.11.2.3.2. Float</a></li>
2520
- <li><a class="reference internal" href="#string">7.11.2.3.3. String</a></li>
2521
- <li><a class="reference internal" href="#boolean">7.11.2.3.4. Boolean</a></li>
2522
- <li><a class="reference internal" href="#null">7.11.2.3.5. Null</a></li>
2523
- <li><a class="reference internal" href="#time">7.11.2.3.6. Time</a></li>
2524
- <li><a class="reference internal" href="#geo-point">7.11.2.3.7. Geo point</a></li>
2525
- <li><a class="reference internal" href="#array">7.11.2.3.8. Array</a></li>
2526
- <li><a class="reference internal" href="#object-literal">7.11.2.3.9. Object literal</a></li>
2581
+ <li><a class="reference internal" href="#">7.12.2. Script syntax</a><ul>
2582
+ <li><a class="reference internal" href="#security">7.12.2.1. Security</a></li>
2583
+ <li><a class="reference internal" href="#sample-data">7.12.2.2. Sample data</a></li>
2584
+ <li><a class="reference internal" href="#literals">7.12.2.3. Literals</a><ul>
2585
+ <li><a class="reference internal" href="#integer">7.12.2.3.1. Integer</a></li>
2586
+ <li><a class="reference internal" href="#float">7.12.2.3.2. Float</a></li>
2587
+ <li><a class="reference internal" href="#string">7.12.2.3.3. String</a></li>
2588
+ <li><a class="reference internal" href="#boolean">7.12.2.3.4. Boolean</a></li>
2589
+ <li><a class="reference internal" href="#null">7.12.2.3.5. Null</a></li>
2590
+ <li><a class="reference internal" href="#time">7.12.2.3.6. Time</a></li>
2591
+ <li><a class="reference internal" href="#geo-point">7.12.2.3.7. Geo point</a></li>
2592
+ <li><a class="reference internal" href="#array">7.12.2.3.8. Array</a></li>
2593
+ <li><a class="reference internal" href="#object-literal">7.12.2.3.9. Object literal</a></li>
2527
2594
  </ul>
2528
2595
  </li>
2529
- <li><a class="reference internal" href="#control-syntaxes">7.11.2.4. Control syntaxes</a></li>
2530
- <li><a class="reference internal" href="#grouping">7.11.2.5. Grouping</a></li>
2531
- <li><a class="reference internal" href="#function-call">7.11.2.6. Function call</a></li>
2532
- <li><a class="reference internal" href="#basic-operators">7.11.2.7. Basic operators</a><ul>
2533
- <li><a class="reference internal" href="#arithmetic-operators">7.11.2.7.1. Arithmetic operators</a><ul>
2534
- <li><a class="reference internal" href="#addition-operator">7.11.2.7.1.1. Addition operator</a></li>
2535
- <li><a class="reference internal" href="#subtraction-operator">7.11.2.7.1.2. Subtraction operator</a></li>
2536
- <li><a class="reference internal" href="#multiplication-operator">7.11.2.7.1.3. Multiplication operator</a></li>
2537
- <li><a class="reference internal" href="#division-operator">7.11.2.7.1.4. Division operator</a></li>
2596
+ <li><a class="reference internal" href="#control-syntaxes">7.12.2.4. Control syntaxes</a></li>
2597
+ <li><a class="reference internal" href="#grouping">7.12.2.5. Grouping</a></li>
2598
+ <li><a class="reference internal" href="#function-call">7.12.2.6. Function call</a></li>
2599
+ <li><a class="reference internal" href="#basic-operators">7.12.2.7. Basic operators</a><ul>
2600
+ <li><a class="reference internal" href="#arithmetic-operators">7.12.2.7.1. Arithmetic operators</a><ul>
2601
+ <li><a class="reference internal" href="#addition-operator">7.12.2.7.1.1. Addition operator</a></li>
2602
+ <li><a class="reference internal" href="#subtraction-operator">7.12.2.7.1.2. Subtraction operator</a></li>
2603
+ <li><a class="reference internal" href="#multiplication-operator">7.12.2.7.1.3. Multiplication operator</a></li>
2604
+ <li><a class="reference internal" href="#division-operator">7.12.2.7.1.4. Division operator</a></li>
2538
2605
  </ul>
2539
2606
  </li>
2540
- <li><a class="reference internal" href="#logical-operators">7.11.2.7.2. Logical operators</a><ul>
2541
- <li><a class="reference internal" href="#logical-not-operator">7.11.2.7.2.1. Logical NOT operator</a></li>
2542
- <li><a class="reference internal" href="#logical-and-operator">7.11.2.7.2.2. Logical AND operator</a></li>
2543
- <li><a class="reference internal" href="#logical-or-operator">7.11.2.7.2.3. Logical OR operator</a></li>
2544
- <li><a class="reference internal" href="#logical-and-not-operator">7.11.2.7.2.4. Logical AND NOT operator</a></li>
2607
+ <li><a class="reference internal" href="#logical-operators">7.12.2.7.2. Logical operators</a><ul>
2608
+ <li><a class="reference internal" href="#logical-not-operator">7.12.2.7.2.1. Logical NOT operator</a></li>
2609
+ <li><a class="reference internal" href="#logical-and-operator">7.12.2.7.2.2. Logical AND operator</a></li>
2610
+ <li><a class="reference internal" href="#logical-or-operator">7.12.2.7.2.3. Logical OR operator</a></li>
2611
+ <li><a class="reference internal" href="#logical-and-not-operator">7.12.2.7.2.4. Logical AND NOT operator</a></li>
2545
2612
  </ul>
2546
2613
  </li>
2547
- <li><a class="reference internal" href="#bitwise-operators">7.11.2.7.3. Bitwise operators</a><ul>
2548
- <li><a class="reference internal" href="#bitwise-not-operator">7.11.2.7.3.1. Bitwise NOT operator</a></li>
2549
- <li><a class="reference internal" href="#bitwise-and-operator">7.11.2.7.3.2. Bitwise AND operator</a></li>
2614
+ <li><a class="reference internal" href="#bitwise-operators">7.12.2.7.3. Bitwise operators</a><ul>
2615
+ <li><a class="reference internal" href="#bitwise-not-operator">7.12.2.7.3.1. Bitwise NOT operator</a></li>
2616
+ <li><a class="reference internal" href="#bitwise-and-operator">7.12.2.7.3.2. Bitwise AND operator</a></li>
2550
2617
  </ul>
2551
2618
  </li>
2552
- <li><a class="reference internal" href="#bitwise-or-operator">7.11.2.7.4. Bitwise OR operator</a></li>
2553
- <li><a class="reference internal" href="#bitwise-xor-operator">7.11.2.7.5. Bitwise XOR operator</a></li>
2554
- <li><a class="reference internal" href="#shift-operators">7.11.2.7.6. Shift operators</a><ul>
2555
- <li><a class="reference internal" href="#left-shift-operator">7.11.2.7.6.1. Left shift operator</a></li>
2556
- <li><a class="reference internal" href="#signed-right-shift-operator">7.11.2.7.6.2. Signed right shift operator</a></li>
2557
- <li><a class="reference internal" href="#unsigned-right-shift-operator">7.11.2.7.6.3. Unsigned right shift operator</a></li>
2619
+ <li><a class="reference internal" href="#bitwise-or-operator">7.12.2.7.4. Bitwise OR operator</a></li>
2620
+ <li><a class="reference internal" href="#bitwise-xor-operator">7.12.2.7.5. Bitwise XOR operator</a></li>
2621
+ <li><a class="reference internal" href="#shift-operators">7.12.2.7.6. Shift operators</a><ul>
2622
+ <li><a class="reference internal" href="#left-shift-operator">7.12.2.7.6.1. Left shift operator</a></li>
2623
+ <li><a class="reference internal" href="#signed-right-shift-operator">7.12.2.7.6.2. Signed right shift operator</a></li>
2624
+ <li><a class="reference internal" href="#unsigned-right-shift-operator">7.12.2.7.6.3. Unsigned right shift operator</a></li>
2558
2625
  </ul>
2559
2626
  </li>
2560
- <li><a class="reference internal" href="#comparison-operators">7.11.2.7.7. Comparison operators</a><ul>
2561
- <li><a class="reference internal" href="#equal-operator">7.11.2.7.7.1. Equal operator</a></li>
2562
- <li><a class="reference internal" href="#not-equal-operator">7.11.2.7.7.2. Not equal operator</a></li>
2563
- <li><a class="reference internal" href="#less-than-operator">7.11.2.7.7.3. Less than operator</a></li>
2564
- <li><a class="reference internal" href="#less-than-or-equal-to-operator">7.11.2.7.7.4. Less than or equal to operator</a></li>
2565
- <li><a class="reference internal" href="#greater-than-operator">7.11.2.7.7.5. Greater than operator</a></li>
2566
- <li><a class="reference internal" href="#greater-than-or-equal-to-operator">7.11.2.7.7.6. Greater than or equal to operator</a></li>
2627
+ <li><a class="reference internal" href="#comparison-operators">7.12.2.7.7. Comparison operators</a><ul>
2628
+ <li><a class="reference internal" href="#equal-operator">7.12.2.7.7.1. Equal operator</a></li>
2629
+ <li><a class="reference internal" href="#not-equal-operator">7.12.2.7.7.2. Not equal operator</a></li>
2630
+ <li><a class="reference internal" href="#less-than-operator">7.12.2.7.7.3. Less than operator</a></li>
2631
+ <li><a class="reference internal" href="#less-than-or-equal-to-operator">7.12.2.7.7.4. Less than or equal to operator</a></li>
2632
+ <li><a class="reference internal" href="#greater-than-operator">7.12.2.7.7.5. Greater than operator</a></li>
2633
+ <li><a class="reference internal" href="#greater-than-or-equal-to-operator">7.12.2.7.7.6. Greater than or equal to operator</a></li>
2567
2634
  </ul>
2568
2635
  </li>
2569
2636
  </ul>
2570
2637
  </li>
2571
- <li><a class="reference internal" href="#assignment-operators">7.11.2.8. Assignment operators</a><ul>
2572
- <li><a class="reference internal" href="#addition-assignment-operator">7.11.2.8.1. Addition assignment operator</a></li>
2573
- <li><a class="reference internal" href="#subtraction-assignment-operator">7.11.2.8.2. Subtraction assignment operator</a></li>
2574
- <li><a class="reference internal" href="#multiplication-assignment-operator">7.11.2.8.3. Multiplication assignment operator</a></li>
2575
- <li><a class="reference internal" href="#division-assignment-operator">7.11.2.8.4. Division assignment operator</a></li>
2576
- <li><a class="reference internal" href="#modulo-assignment-operator">7.11.2.8.5. Modulo assignment operator</a></li>
2577
- <li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">7.11.2.8.6. Bitwise left shift assignment operator</a></li>
2578
- <li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">7.11.2.8.7. Bitwise signed right shift assignment operator</a></li>
2579
- <li><a class="reference internal" href="#bitwise-unsigned-right-shift-assignment-operator">7.11.2.8.8. Bitwise unsigned right shift assignment operator</a></li>
2580
- <li><a class="reference internal" href="#bitwise-and-assignment-operator">7.11.2.8.9. Bitwise AND assignment operator</a></li>
2581
- <li><a class="reference internal" href="#bitwise-or-assignment-operator">7.11.2.8.10. Bitwise OR assignment operator</a></li>
2582
- <li><a class="reference internal" href="#bitwise-xor-assignment-operator">7.11.2.8.11. Bitwise XOR assignment operator</a></li>
2638
+ <li><a class="reference internal" href="#assignment-operators">7.12.2.8. Assignment operators</a><ul>
2639
+ <li><a class="reference internal" href="#addition-assignment-operator">7.12.2.8.1. Addition assignment operator</a></li>
2640
+ <li><a class="reference internal" href="#subtraction-assignment-operator">7.12.2.8.2. Subtraction assignment operator</a></li>
2641
+ <li><a class="reference internal" href="#multiplication-assignment-operator">7.12.2.8.3. Multiplication assignment operator</a></li>
2642
+ <li><a class="reference internal" href="#division-assignment-operator">7.12.2.8.4. Division assignment operator</a></li>
2643
+ <li><a class="reference internal" href="#modulo-assignment-operator">7.12.2.8.5. Modulo assignment operator</a></li>
2644
+ <li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">7.12.2.8.6. Bitwise left shift assignment operator</a></li>
2645
+ <li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">7.12.2.8.7. Bitwise signed right shift assignment operator</a></li>
2646
+ <li><a class="reference internal" href="#bitwise-unsigned-right-shift-assignment-operator">7.12.2.8.8. Bitwise unsigned right shift assignment operator</a></li>
2647
+ <li><a class="reference internal" href="#bitwise-and-assignment-operator">7.12.2.8.9. Bitwise AND assignment operator</a></li>
2648
+ <li><a class="reference internal" href="#bitwise-or-assignment-operator">7.12.2.8.10. Bitwise OR assignment operator</a></li>
2649
+ <li><a class="reference internal" href="#bitwise-xor-assignment-operator">7.12.2.8.11. Bitwise XOR assignment operator</a></li>
2583
2650
  </ul>
2584
2651
  </li>
2585
- <li><a class="reference internal" href="#original-operators">7.11.2.9. Original operators</a><ul>
2586
- <li><a class="reference internal" href="#match-operator">7.11.2.9.1. Match operator</a></li>
2587
- <li><a class="reference internal" href="#prefix-search-operator">7.11.2.9.2. Prefix search operator</a></li>
2588
- <li><a class="reference internal" href="#suffix-search-operator">7.11.2.9.3. Suffix search operator</a></li>
2589
- <li><a class="reference internal" href="#near-search-operator">7.11.2.9.4. Near search operator</a></li>
2590
- <li><a class="reference internal" href="#similar-search">7.11.2.9.5. Similar search</a></li>
2591
- <li><a class="reference internal" href="#term-extract-operator">7.11.2.9.6. Term extract operator</a></li>
2652
+ <li><a class="reference internal" href="#original-operators">7.12.2.9. Original operators</a><ul>
2653
+ <li><a class="reference internal" href="#match-operator">7.12.2.9.1. Match operator</a></li>
2654
+ <li><a class="reference internal" href="#prefix-search-operator">7.12.2.9.2. Prefix search operator</a></li>
2655
+ <li><a class="reference internal" href="#suffix-search-operator">7.12.2.9.3. Suffix search operator</a></li>
2656
+ <li><a class="reference internal" href="#near-search-operator">7.12.2.9.4. Near search operator</a></li>
2657
+ <li><a class="reference internal" href="#similar-search">7.12.2.9.5. Similar search</a></li>
2658
+ <li><a class="reference internal" href="#term-extract-operator">7.12.2.9.6. Term extract operator</a></li>
2659
+ <li><a class="reference internal" href="#regular-expression-operator">7.12.2.9.7. Regular expression operator</a></li>
2592
2660
  </ul>
2593
2661
  </li>
2594
2662
  </ul>
@@ -2597,18 +2665,16 @@ are also normalized.</p>
2597
2665
 
2598
2666
  <h4>Previous topic</h4>
2599
2667
  <p class="topless"><a href="query_syntax.html"
2600
- title="previous chapter">7.11.1. Query syntax</a></p>
2668
+ title="previous chapter">7.12.1. Query syntax</a></p>
2601
2669
  <h4>Next topic</h4>
2602
- <p class="topless"><a href="../function.html"
2603
- title="next chapter">7.12. Function</a></p>
2604
- <div role="note" aria-label="source link">
2605
- <h3>This Page</h3>
2606
- <ul class="this-page-menu">
2607
- <li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
2608
- rel="nofollow">Show Source</a></li>
2609
- </ul>
2610
- </div>
2611
- <div id="searchbox" style="display: none" role="search">
2670
+ <p class="topless"><a href="../regular_expression.html"
2671
+ title="next chapter">7.13. Regular expression</a></p>
2672
+ <h3>This Page</h3>
2673
+ <ul class="this-page-menu">
2674
+ <li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
2675
+ rel="nofollow">Show Source</a></li>
2676
+ </ul>
2677
+ <div id="searchbox" style="display: none">
2612
2678
  <h3>Quick search</h3>
2613
2679
  <form class="search" action="../../search.html" method="get">
2614
2680
  <input type="text" name="q" />
@@ -2625,24 +2691,24 @@ are also normalized.</p>
2625
2691
  </div>
2626
2692
  <div class="clearer"></div>
2627
2693
  </div>
2628
- <div class="related" role="navigation" aria-label="related navigation">
2694
+ <div class="related">
2629
2695
  <h3>Navigation</h3>
2630
2696
  <ul>
2631
2697
  <li class="right" style="margin-right: 10px">
2632
2698
  <a href="../../genindex.html" title="General Index"
2633
2699
  >index</a></li>
2634
2700
  <li class="right" >
2635
- <a href="../function.html" title="7.12. Function"
2701
+ <a href="../regular_expression.html" title="7.13. Regular expression"
2636
2702
  >next</a> |</li>
2637
2703
  <li class="right" >
2638
- <a href="query_syntax.html" title="7.11.1. Query syntax"
2704
+ <a href="query_syntax.html" title="7.12.1. Query syntax"
2639
2705
  >previous</a> |</li>
2640
- <li><a href="../../index.html">Groonga v5.0.0 documentation</a> &raquo;</li>
2706
+ <li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1 documentation</a> &raquo;</li>
2641
2707
  <li><a href="../../reference.html" >7. Reference manual</a> &raquo;</li>
2642
- <li><a href="../grn_expr.html" >7.11. grn_expr</a> &raquo;</li>
2708
+ <li><a href="../grn_expr.html" >7.12. grn_expr</a> &raquo;</li>
2643
2709
  </ul>
2644
2710
  </div>
2645
- <div class="footer" role="contentinfo">
2711
+ <div class="footer">
2646
2712
  &copy; Copyright 2009-2015, Brazil, Inc.
2647
2713
  </div>
2648
2714
  </body>