rroonga 2.0.4-x86-mingw32 → 2.0.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +29 -2
- data/bin/grndump +3 -2
- data/ext/groonga/extconf.rb +37 -10
- data/ext/groonga/rb-grn-accessor.c +8 -10
- data/ext/groonga/rb-grn-array-cursor.c +2 -2
- data/ext/groonga/rb-grn-array.c +39 -36
- data/ext/groonga/rb-grn-column.c +185 -200
- data/ext/groonga/rb-grn-context.c +104 -93
- data/ext/groonga/rb-grn-database.c +116 -114
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +3 -3
- data/ext/groonga/rb-grn-double-array-trie.c +159 -168
- data/ext/groonga/rb-grn-encoding-support.c +2 -3
- data/ext/groonga/rb-grn-encoding.c +39 -34
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression.c +141 -159
- data/ext/groonga/rb-grn-fix-size-column.c +12 -13
- data/ext/groonga/rb-grn-geo-point.c +55 -0
- data/ext/groonga/rb-grn-hash-cursor.c +3 -3
- data/ext/groonga/rb-grn-hash.c +73 -86
- data/ext/groonga/rb-grn-index-column.c +80 -90
- data/ext/groonga/rb-grn-index-cursor.c +48 -15
- data/ext/groonga/rb-grn-logger.c +42 -63
- data/ext/groonga/rb-grn-object.c +73 -100
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +2 -2
- data/ext/groonga/rb-grn-patricia-trie.c +200 -260
- data/ext/groonga/rb-grn-plugin.c +17 -24
- data/ext/groonga/rb-grn-posting.c +6 -1
- data/ext/groonga/rb-grn-snippet.c +37 -54
- data/ext/groonga/rb-grn-table-cursor-key-support.c +3 -3
- data/ext/groonga/rb-grn-table-cursor.c +21 -26
- data/ext/groonga/rb-grn-table-key-support.c +53 -63
- data/ext/groonga/rb-grn-table.c +366 -393
- data/ext/groonga/rb-grn-type.c +122 -26
- data/ext/groonga/rb-grn-utils.c +77 -7
- data/ext/groonga/rb-grn-variable-size-column.c +12 -20
- data/ext/groonga/rb-grn-variable.c +6 -7
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view-cursor.c +2 -2
- data/ext/groonga/rb-grn-view.c +46 -58
- data/ext/groonga/rb-grn.h +36 -4
- data/ext/groonga/rb-groonga.c +7 -6
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/command.rb +3 -1
- data/lib/groonga/database.rb +27 -0
- data/lib/groonga/dumper.rb +201 -46
- data/lib/groonga/expression-builder.rb +24 -0
- data/lib/groonga/geo-point.rb +216 -0
- data/lib/groonga/pagination.rb +30 -24
- data/lib/groonga/posting.rb +29 -1
- data/lib/groonga/record.rb +21 -18
- data/lib/groonga/schema.rb +185 -186
- data/lib/groonga.rb +3 -1
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +90 -0
- data/test/groonga-test-utils.rb +168 -0
- data/test/run-test.rb +60 -0
- data/test/test-accessor.rb +36 -0
- data/test/test-array.rb +146 -0
- data/test/test-column.rb +350 -0
- data/test/test-command-select.rb +246 -0
- data/test/test-context.rb +130 -0
- data/test/test-database-dumper.rb +299 -0
- data/test/test-database.rb +173 -0
- data/test/test-double-array-trie.rb +189 -0
- data/test/test-encoding.rb +33 -0
- data/test/test-exception.rb +230 -0
- data/test/test-expression-builder.rb +643 -0
- data/test/test-expression.rb +134 -0
- data/test/test-fix-size-column.rb +77 -0
- data/test/test-geo-point.rb +190 -0
- data/test/test-gqtp.rb +70 -0
- data/test/test-hash.rb +367 -0
- data/test/test-index-column.rb +180 -0
- data/test/test-index-cursor.rb +149 -0
- data/test/test-logger.rb +37 -0
- data/test/test-pagination.rb +249 -0
- data/test/test-patricia-trie.rb +440 -0
- data/test/test-plugin.rb +35 -0
- data/test/test-procedure.rb +37 -0
- data/test/test-record.rb +577 -0
- data/test/test-remote.rb +63 -0
- data/test/test-schema-create-table.rb +267 -0
- data/test/test-schema-dumper.rb +235 -0
- data/test/test-schema-type.rb +208 -0
- data/test/test-schema-view.rb +90 -0
- data/test/test-schema.rb +886 -0
- data/test/test-snippet.rb +130 -0
- data/test/test-table-dumper.rb +353 -0
- data/test/test-table-offset-and-limit.rb +100 -0
- data/test/test-table-select-mecab.rb +80 -0
- data/test/test-table-select-normalize.rb +57 -0
- data/test/test-table-select-weight.rb +123 -0
- data/test/test-table-select.rb +191 -0
- data/test/test-table-traverse.rb +304 -0
- data/test/test-table.rb +711 -0
- data/test/test-type.rb +136 -0
- data/test/test-variable-size-column.rb +147 -0
- data/test/test-variable.rb +28 -0
- data/test/test-vector-column.rb +76 -0
- data/test/test-version.rb +61 -0
- data/test/test-view.rb +72 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +49 -0
- data/vendor/local/include/groonga/groonga/plugin.h +1 -1
- data/vendor/local/include/groonga/groonga.h +83 -7
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +41 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +64 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/add.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/get.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/set.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/groonga-http.txt → en/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{type.txt → reference/type.txt} +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +25 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +742 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +46 -21
- data/vendor/local/share/doc/groonga/en/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +191 -0
- data/vendor/local/share/doc/groonga/en/html/{executables.html → development.html} +27 -28
- data/vendor/local/share/doc/groonga/en/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +251 -0
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +260 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/install/others.html +394 -0
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +171 -0
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/install.html +91 -349
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +301 -37
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/{command_version.html → reference/command_version.html} +44 -44
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/cache_limit.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/check.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/clearlock.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_list.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_remove.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/define_selector.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/defrag.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/delete.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/dump.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/load.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_level.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_put.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_reopen.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/quit.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +2340 -0
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/shutdown.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/status.html +67 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/suggest.html +246 -246
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_list.html +140 -72
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_remove.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/view_add.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands.html → reference/commands.html} +55 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +201 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +182 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +203 -0
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grnslap.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grntest.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +367 -0
- data/vendor/local/share/doc/groonga/en/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga-suggest-create-dataset.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga.html +54 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +144 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/edit_distance.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +551 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_circle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_rectangle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/now.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/rand.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions.html +143 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +1365 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +1977 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +192 -0
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +318 -0
- data/vendor/local/share/doc/groonga/en/html/{log.html → reference/log.html} +42 -42
- data/vendor/local/share/doc/groonga/en/html/{output.html → reference/output.html} +39 -39
- data/vendor/local/share/doc/groonga/en/html/{pseudo_column.html → reference/pseudo_column.html} +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/{type.html → reference/type.html} +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference.html +84 -76
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +135 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +452 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http.html +168 -0
- data/vendor/local/share/doc/groonga/en/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +340 -340
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +755 -79
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +311 -311
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +107 -107
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +415 -34
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{source/executables/groonga-http.txt → ja/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{indexing.txt → reference/indexing.txt} +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +22 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +743 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +41 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables.html → development.html} +25 -28
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +236 -0
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +250 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +182 -0
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +348 -0
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +309 -0
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +186 -0
- data/vendor/local/share/doc/groonga/ja/html/install.html +83 -340
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +273 -40
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/{command_version.html → reference/command_version.html} +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/cache_limit.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/check.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/clearlock.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_remove.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/define_selector.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/defrag.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/delete.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/dump.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/load.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_level.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_put.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_reopen.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/quit.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2134 -0
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/shutdown.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/status.html +68 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/suggest.html +254 -254
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_list.html +141 -73
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/view_add.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands.html → reference/commands.html} +56 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +202 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +204 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grnslap.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grntest.html +63 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +339 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/groonga.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/edit_distance.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +510 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_circle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_rectangle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/now.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/rand.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions.html +144 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +1210 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +1819 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +169 -0
- data/vendor/local/share/doc/groonga/ja/html/{indexing.html → reference/indexing.html} +147 -147
- data/vendor/local/share/doc/groonga/ja/html/{log.html → reference/log.html} +55 -55
- data/vendor/local/share/doc/groonga/ja/html/{output.html → reference/output.html} +40 -40
- data/vendor/local/share/doc/groonga/ja/html/{pseudo_column.html → reference/pseudo_column.html} +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/{type.html → reference/type.html} +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference.html +84 -76
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +136 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +406 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +166 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +15 -13
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +339 -339
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +756 -80
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +311 -311
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +108 -108
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +415 -34
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/source/community.txt +17 -0
- data/vendor/local/share/doc/groonga/source/conf.py +3 -16
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/source/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/source/development.txt +15 -0
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +32 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +74 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +36 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +131 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +90 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +18 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +14 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +77 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +94 -0
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +15 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +13 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +39 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +9 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +27 -0
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +53 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +21 -22
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +76 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +83 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +111 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +84 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +72 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +22 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +103 -104
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +18 -19
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +76 -77
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +37 -38
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +39 -40
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +127 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +19 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +25 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +31 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +13 -14
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +17 -18
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +57 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +96 -97
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +87 -88
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +71 -72
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +56 -57
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +35 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +41 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +98 -98
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +24 -25
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +68 -69
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +78 -79
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +29 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +82 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +148 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +41 -11
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +29 -3
- data/vendor/local/share/doc/groonga/source/index.txt +2 -0
- data/vendor/local/share/doc/groonga/source/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/source/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/source/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/source/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/source/install.txt +21 -346
- data/vendor/local/share/doc/groonga/source/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/source/news.txt +235 -4
- data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/source/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/executables/groonga-http.txt → source/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/source/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/source/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/source/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/source/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/source/server.txt +12 -0
- data/vendor/local/share/doc/groonga/source/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/source/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -3
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +12354 -3896
- data/vendor/local/share/man/man1/groonga.1 +16934 -7750
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +1251 -905
- data/lib/groonga/query-log.rb +0 -348
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/en/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +0 -891
- data/vendor/local/share/doc/groonga/en/html/expr.html +0 -178
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +0 -226
- data/vendor/local/share/doc/groonga/en/html/indexing.html +0 -318
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/ja/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +0 -810
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +0 -187
- data/vendor/local/share/doc/groonga/ja/html/expr.html +0 -179
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +0 -227
- data/vendor/local/share/doc/groonga/source/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +0 -13
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +0 -15
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +0 -9
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +0 -78
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +0 -36
- data/vendor/local/share/doc/groonga/source/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +0 -92
@@ -0,0 +1,805 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: reference_grn_expr_script_syntax
|
7
|
+
|
8
|
+
Script syntax
|
9
|
+
=============
|
10
|
+
|
11
|
+
Script syntax is a syntax to specify complex search condition. It is
|
12
|
+
similar to ECMAScript. For example, ``_key == "book"`` means that
|
13
|
+
groonga searches records that ``_key`` value is ``"book"``. All values
|
14
|
+
are string in :doc:`query_syntax` but its own type in script
|
15
|
+
syntax. For example, ``"book"`` is string, ``1`` is integer,
|
16
|
+
``TokenBigram`` is the object whose name is ``TokenBigram`` and so on.
|
17
|
+
|
18
|
+
Script syntax doesn't support full ECMAScript syntax. For example,
|
19
|
+
script syntax doesn't support statement such as ``if`` control
|
20
|
+
statement, ``for`` iteration statement and variable definition
|
21
|
+
statement. Function definion is not supported too. But script syntax
|
22
|
+
addes the original additional operators. They are described after
|
23
|
+
ECMAScript syntax is described.
|
24
|
+
|
25
|
+
Sample data
|
26
|
+
-----------
|
27
|
+
|
28
|
+
Here are a schema definition and sample data to show usage.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/grn_expr/query_syntax/setup.log
|
32
|
+
.. table_create Entries TABLE_PAT_KEY ShortText
|
33
|
+
.. column_create Entries content COLUMN_SCALAR Text
|
34
|
+
.. column_create Entries n_likes COLUMN_SCALAR UInt32
|
35
|
+
.. table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
36
|
+
.. column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
37
|
+
.. column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
38
|
+
.. load --table Entries
|
39
|
+
.. [
|
40
|
+
.. {"_key": "The first post!",
|
41
|
+
.. "content": "Welcome! This is my first post!",
|
42
|
+
.. "n_likes": 5},
|
43
|
+
.. {"_key": "Groonga",
|
44
|
+
.. "content": "I started to use groonga. It's very fast!",
|
45
|
+
.. "n_likes": 10},
|
46
|
+
.. {"_key": "Mroonga",
|
47
|
+
.. "content": "I also started to use mroonga. It's also very fast! Really fast!",
|
48
|
+
.. "n_likes": 15},
|
49
|
+
.. {"_key": "Good-bye Senna",
|
50
|
+
.. "content": "I migrated all Senna system!",
|
51
|
+
.. "n_likes": 3},
|
52
|
+
.. {"_key": "Good-bye Tritonn",
|
53
|
+
.. "content": "I also migrated all Tritonn system!",
|
54
|
+
.. "n_likes": 3}
|
55
|
+
.. ]
|
56
|
+
|
57
|
+
There is a table, ``Entries``, for blog entries. An entry has title,
|
58
|
+
content and the number of likes for the entry. Title is key of
|
59
|
+
``Entries``. Content is value of ``Entries.content`` column. The
|
60
|
+
number of likes is value of ``Entries.n_likes`` column.
|
61
|
+
|
62
|
+
``Entries._key`` column and ``Entries.content`` column are indexed
|
63
|
+
using ``TokenBigram`` tokenizer. So both ``Entries._key`` and
|
64
|
+
``Entries.content`` are fulltext search ready.
|
65
|
+
|
66
|
+
OK. The schema and data for examples are ready.
|
67
|
+
|
68
|
+
Literals
|
69
|
+
--------
|
70
|
+
|
71
|
+
Integer
|
72
|
+
^^^^^^^
|
73
|
+
|
74
|
+
Integer literal is sequence of ``0`` to ``9`` such as
|
75
|
+
``1234567890``. ``+`` or ``-`` can be prepended as sign such as
|
76
|
+
``+29`` and ``-29``. Integer literal must be decimal. Octal notation,
|
77
|
+
hex and so on can't be used.
|
78
|
+
|
79
|
+
The maximum value of integer literal is ``9223372036854775807`` (``= 2
|
80
|
+
** 63 - 1``). The minimum value of integer literal is
|
81
|
+
``-9223372036854775808`` (``= -(2 ** 63)``).
|
82
|
+
|
83
|
+
Float
|
84
|
+
^^^^^
|
85
|
+
|
86
|
+
Float literal is sequence of ``0`` to ``9``, ``.`` and ``0`` to ``9``
|
87
|
+
such as ``3.14``. ``+`` or ``-`` can be prepended as sign such as
|
88
|
+
``+3.14`` and ``-3.14``. ``${RADIX}e${EXPORNENTIAL}`` and
|
89
|
+
``${RADIX}E${EXPORNENTIAL}`` formats are also supported. For example,
|
90
|
+
``314e-2`` is the same as ``3.14``.
|
91
|
+
|
92
|
+
String
|
93
|
+
^^^^^^
|
94
|
+
|
95
|
+
String literal is ``"..."``. You need to escape ``"`` in literal by
|
96
|
+
prepending ``\\'' such as ``\"``. For example, ``"Say \"Hello!\"."`` is
|
97
|
+
a literal for ``Say "Hello!".`` string.
|
98
|
+
|
99
|
+
String encoding must be the same as encoding of database. The default
|
100
|
+
encoding is UTF-8. It can be changed by ``--with-default-encoding``
|
101
|
+
configure option, ``--encodiong`` :doc:`/reference/executables/groonga` option
|
102
|
+
and so on.
|
103
|
+
|
104
|
+
Boolean
|
105
|
+
^^^^^^^
|
106
|
+
|
107
|
+
Boolean literal is ``true`` and ``false``. ``true`` means true and
|
108
|
+
``false`` means false.
|
109
|
+
|
110
|
+
Null
|
111
|
+
^^^^
|
112
|
+
|
113
|
+
Null literal is ``null``. Groonga doesn't support null value but null
|
114
|
+
literal is supported.
|
115
|
+
|
116
|
+
Time
|
117
|
+
^^^^
|
118
|
+
|
119
|
+
.. note::
|
120
|
+
|
121
|
+
This is the groonga original notation.
|
122
|
+
|
123
|
+
Time literal doesn't exit. There are string time notation, integer
|
124
|
+
time notation and float time notation.
|
125
|
+
|
126
|
+
String time notation is ``"YYYY/MM/DD hh:mm:ss.uuuuuu"`` or
|
127
|
+
``"YYYY-MM-DD hh:mm:ss.uuuuuu"``. ``YYYY`` is year, ``MM`` is month,
|
128
|
+
``DD`` is day, ``hh`` is hour, ``mm`` is minute, ``ss`` is second and
|
129
|
+
``uuuuuu`` is micro second. It is local time. For example,
|
130
|
+
``"2012/07/23 02:41:10.436218"`` is ``2012-07-23T02:41:10.436218`` in
|
131
|
+
ISO 8601 format.
|
132
|
+
|
133
|
+
Integer time notation is the number of seconds that have elapsed since
|
134
|
+
midnight UTC, January 1, 1970. It is also known as POSIX time. For
|
135
|
+
example, ``1343011270`` is ``2012-07-23T02:41:10Z`` in ISO 8601 format.
|
136
|
+
|
137
|
+
Float time notation is the number of seconds and micro seconds that
|
138
|
+
have elapsed since midnight UTC, January 1, 1970. For example,
|
139
|
+
``1343011270.436218`` is ``2012-07-23T02:41:10.436218Z`` in ISO 8601
|
140
|
+
format.
|
141
|
+
|
142
|
+
Geo point
|
143
|
+
^^^^^^^^^
|
144
|
+
|
145
|
+
.. note::
|
146
|
+
|
147
|
+
This is the groonga original notation.
|
148
|
+
|
149
|
+
Geo point literal doesn't exist. There is string geo point notation.
|
150
|
+
|
151
|
+
String geo point notation has the following patterns:
|
152
|
+
|
153
|
+
* ``"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC"``
|
154
|
+
* ``"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC"``
|
155
|
+
* ``"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE"``
|
156
|
+
* ``"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE"``
|
157
|
+
|
158
|
+
``x`` and ``,`` can be used for separator. Latitude and longitude can
|
159
|
+
be represented in milliseconds or degree.
|
160
|
+
|
161
|
+
Array
|
162
|
+
^^^^^
|
163
|
+
|
164
|
+
Array literal is ``[element1, element2, ...]``.
|
165
|
+
|
166
|
+
Object literal
|
167
|
+
^^^^^^^^^^^^^^
|
168
|
+
|
169
|
+
Object literal is ``{name1: value1, name2: value2, ...}``. Groonga
|
170
|
+
doesn't support object literal yet.
|
171
|
+
|
172
|
+
Control syntaxes
|
173
|
+
----------------
|
174
|
+
|
175
|
+
Script syntax doesn't support statement. So you cannot use control
|
176
|
+
statement such as ``if``. You can only use ``A ? B : C`` expression as
|
177
|
+
control syntax.
|
178
|
+
|
179
|
+
``A ? B : C`` returns ``B`` if ``A`` is true, ``C`` otherwise.
|
180
|
+
|
181
|
+
Here is a simple exmaple.
|
182
|
+
|
183
|
+
.. groonga-command
|
184
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
|
185
|
+
.. select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
|
186
|
+
|
187
|
+
The expression matches records that ``_id`` column value is equal to ``1``
|
188
|
+
and ``n_likes`` column value is equal to ``5`` or ``_id`` column value is
|
189
|
+
not equal to 1 and ``n_likes`` column value is equal to ``3``.
|
190
|
+
|
191
|
+
Grouping
|
192
|
+
--------
|
193
|
+
|
194
|
+
Its syntax is ``(...)``. ``...`` is comma separated expression list.
|
195
|
+
|
196
|
+
``(...)`` groups one ore more expressions and they can be processed as
|
197
|
+
an expression. ``a && b || c`` means that ``a`` and ``b`` are matched
|
198
|
+
or ``c`` is matched. ``a && (b || c)`` means that ``a`` and one of
|
199
|
+
``b`` and ``c`` are matched.
|
200
|
+
|
201
|
+
Here is a simple exmaple.
|
202
|
+
|
203
|
+
.. groonga-command
|
204
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_grouping.log
|
205
|
+
.. select Entries --filter 'n_likes < 5 && content @ "senna" || content @ "fast"'
|
206
|
+
.. select Entries --filter 'n_likes < 5 && (content @ "senna" || content @ "fast")'
|
207
|
+
|
208
|
+
The first expression doesn't use grouping. It matches records that
|
209
|
+
``n_likes < 5`` and ``content @ "senna"`` are matched or
|
210
|
+
``content @ "fast"`` is matched.
|
211
|
+
|
212
|
+
The second expression uses grouping. It matches records that ``n_likes
|
213
|
+
< 5`` and one of ``content @ "senna"`` or ``content @ "fast"`` are
|
214
|
+
matched.
|
215
|
+
|
216
|
+
Function call
|
217
|
+
-------------
|
218
|
+
|
219
|
+
Its syntax is ``name(arugment1, argument2, ...)``.
|
220
|
+
|
221
|
+
``name(argument1, argument2, ...)`` calls a function that is named
|
222
|
+
``name`` with arguments ``argument1``, ``argument2`` and ``...``.
|
223
|
+
|
224
|
+
See :doc:`/reference/functions/` for available functin list.
|
225
|
+
|
226
|
+
Here is a simple exmaple.
|
227
|
+
|
228
|
+
.. groonga-command
|
229
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_function.log
|
230
|
+
.. select Entries --filter 'edit_distance(_key, "Groonga") <= 1'
|
231
|
+
|
232
|
+
The expression uses :doc:`/reference/functions/edit_distance`. It
|
233
|
+
matches records that ``_key`` column value is similar to
|
234
|
+
``"Groonga"``. Similality of ``"Groonga"`` is computed as edit
|
235
|
+
distance. If edit distance is less than or equal to 1, the value is
|
236
|
+
treated as similar. In this case, ``"Groonga"`` and ``"Mroonga"`` are
|
237
|
+
treated as similar.
|
238
|
+
|
239
|
+
Basic operators
|
240
|
+
---------------
|
241
|
+
|
242
|
+
Groonga supports operators defined in ECMAScript.
|
243
|
+
|
244
|
+
Arithmetic operators
|
245
|
+
^^^^^^^^^^^^^^^^^^^^
|
246
|
+
|
247
|
+
Here are arithmetic operators.
|
248
|
+
|
249
|
+
Addition operator
|
250
|
+
"""""""""""""""""
|
251
|
+
|
252
|
+
Its syntax is ``number1 + number2``.
|
253
|
+
|
254
|
+
The operator adds ``number1`` and ``number2`` and returns the result.
|
255
|
+
|
256
|
+
Here is a simple example.
|
257
|
+
|
258
|
+
.. groonga-command
|
259
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_addition_operator.log
|
260
|
+
.. select Entries --filter 'n_likes == 10 + 5'
|
261
|
+
|
262
|
+
The expression matches records that ``n_likes`` column value is equal
|
263
|
+
to ``15`` (= ``10 + 5``).
|
264
|
+
|
265
|
+
Subtraction operator
|
266
|
+
""""""""""""""""""""
|
267
|
+
|
268
|
+
Its syntax is ``number1 - number2``.
|
269
|
+
|
270
|
+
The operator subtracts ``number2`` from ``number1`` and returns the result.
|
271
|
+
|
272
|
+
Here is a simple example.
|
273
|
+
|
274
|
+
.. groonga-command
|
275
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_subtraction_operator.log
|
276
|
+
.. select Entries --filter 'n_likes == 20 - 5'
|
277
|
+
|
278
|
+
The expression matches records that ``n_likes`` column value is equal
|
279
|
+
to ``15`` (= ``20 - 5``).
|
280
|
+
|
281
|
+
Multiplication operator
|
282
|
+
"""""""""""""""""""""""
|
283
|
+
|
284
|
+
Its syntax is ``number1 * number2``.
|
285
|
+
|
286
|
+
The operator multiplies ``number1`` and ``number2`` and returns the result.
|
287
|
+
|
288
|
+
Here is a simple example.
|
289
|
+
|
290
|
+
.. groonga-command
|
291
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_multiplication_operator.log
|
292
|
+
.. select Entries --filter 'n_likes == 3 * 5'
|
293
|
+
|
294
|
+
The expression matches records that ``n_likes`` column value is equal
|
295
|
+
to ``15`` (= ``3 * 5``).
|
296
|
+
|
297
|
+
Division operator
|
298
|
+
"""""""""""""""""
|
299
|
+
|
300
|
+
Its syntax is ``number1 / number2`` and ``number1 % number2``.
|
301
|
+
|
302
|
+
The operator divides ``number2`` by ``number1``. ``/`` returns the
|
303
|
+
quotient of result. ``%`` returns the remainder of result.
|
304
|
+
|
305
|
+
Here is simple examples.
|
306
|
+
|
307
|
+
.. groonga-command
|
308
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log
|
309
|
+
.. select Entries --filter 'n_likes == 26 / 7'
|
310
|
+
|
311
|
+
The expression matches records that ``n_likes`` column value is equal
|
312
|
+
to ``3`` (= ``26 / 7``).
|
313
|
+
|
314
|
+
.. groonga-command
|
315
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log
|
316
|
+
.. select Entries --filter 'n_likes == 26 % 7'
|
317
|
+
|
318
|
+
The expression matches records that ``n_likes`` column value is equal
|
319
|
+
to ``5`` (= ``26 % 7``).
|
320
|
+
|
321
|
+
Logical operators
|
322
|
+
^^^^^^^^^^^^^^^^^
|
323
|
+
|
324
|
+
Here are logical operators.
|
325
|
+
|
326
|
+
Logical NOT operator
|
327
|
+
""""""""""""""""""""
|
328
|
+
|
329
|
+
Its syntax is ``!condition``.
|
330
|
+
|
331
|
+
The operator inverts boolean value of ``condition``.
|
332
|
+
|
333
|
+
Here is a simple example.
|
334
|
+
|
335
|
+
.. groonga-command
|
336
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_not_operator.log
|
337
|
+
.. select Entries --filter '!(n_likes == 5)'
|
338
|
+
|
339
|
+
The expression matches records that ``n_likes`` column value is not
|
340
|
+
equal to ``5``.
|
341
|
+
|
342
|
+
Logical AND operator
|
343
|
+
""""""""""""""""""""
|
344
|
+
|
345
|
+
Its syntax is ``condition1 && condition2``.
|
346
|
+
|
347
|
+
The operator returns true if both of ``condition1`` and
|
348
|
+
``condition2`` are true, false otherwise.
|
349
|
+
|
350
|
+
Here is a simple example.
|
351
|
+
|
352
|
+
.. groonga-command
|
353
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_and_operator.log
|
354
|
+
.. select Entries --filter 'content @ "fast" && n_likes >= 10'
|
355
|
+
|
356
|
+
The expression matches records that ``content`` column value has the
|
357
|
+
word ``fast`` and ``n_likes`` column value is greater or equal to
|
358
|
+
``10``.
|
359
|
+
|
360
|
+
Logical OR operator
|
361
|
+
"""""""""""""""""""
|
362
|
+
|
363
|
+
Its syntax is ``condition1 || condition2``.
|
364
|
+
|
365
|
+
The operator returns true if either ``condition1`` or ``condition2`` is
|
366
|
+
true, false otherwise.
|
367
|
+
|
368
|
+
Here is a simple example.
|
369
|
+
|
370
|
+
.. groonga-command
|
371
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_or_operator.log
|
372
|
+
.. select Entries --filter 'n_likes == 5 || n_likes == 10'
|
373
|
+
|
374
|
+
The expression matches records that ``n_likes`` column value is equal
|
375
|
+
to ``5`` or ``10``.
|
376
|
+
|
377
|
+
Logical AND NOT operator
|
378
|
+
""""""""""""""""""""""""
|
379
|
+
|
380
|
+
Its syntax is ``condition1 &! condition2``.
|
381
|
+
|
382
|
+
The operator returns true if ``condition1`` is true but ``condition2``
|
383
|
+
is false, false otherwise. It returns difference set.
|
384
|
+
|
385
|
+
Here is a simple example.
|
386
|
+
|
387
|
+
.. groonga-command
|
388
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_logical_but_operator.log
|
389
|
+
.. select Entries --filter 'content @ "fast" &! content @ "mroonga"'
|
390
|
+
|
391
|
+
The expression matches records that ``content`` column value has the
|
392
|
+
word ``fast`` but doesn't have the word ``mroonga``.
|
393
|
+
|
394
|
+
Bitwise operators
|
395
|
+
^^^^^^^^^^^^^^^^^
|
396
|
+
|
397
|
+
Here are bitwise operators.
|
398
|
+
|
399
|
+
Bitwise NOT operator
|
400
|
+
""""""""""""""""""""
|
401
|
+
|
402
|
+
Its syntax is ``~number``.
|
403
|
+
|
404
|
+
The operator returns bitwise NOT of ``number``.
|
405
|
+
|
406
|
+
Here is a simple example.
|
407
|
+
|
408
|
+
.. groonga-command
|
409
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log
|
410
|
+
.. select Entries --filter '~n_likes == -6'
|
411
|
+
|
412
|
+
The expression matches records that ``n_likes`` column value is equal
|
413
|
+
to ``5`` because bitwise NOT of ``5`` is equal to ``-6``.
|
414
|
+
|
415
|
+
Bitwise AND operator
|
416
|
+
""""""""""""""""""""
|
417
|
+
|
418
|
+
Its syntax is ``number1 & number2``.
|
419
|
+
|
420
|
+
The operator returns bitwise AND between ``number1`` and ``number2``.
|
421
|
+
|
422
|
+
Here is a simple example.
|
423
|
+
|
424
|
+
.. groonga-command
|
425
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log
|
426
|
+
.. select Entries --filter '(n_likes & 1) == 1'
|
427
|
+
|
428
|
+
The expression matches records that ``n_likes`` column value is even
|
429
|
+
number because bitwise AND between an even number and ``1`` is equal
|
430
|
+
to ``1`` and bitwise AND between an odd number and ``1`` is equal to
|
431
|
+
``0``.
|
432
|
+
|
433
|
+
Bitwise OR operator
|
434
|
+
^^^^^^^^^^^^^^^^^^^
|
435
|
+
|
436
|
+
Its syntax is ``number1 | number2``.
|
437
|
+
|
438
|
+
The operator returns bitwise OR between ``number1`` and ``number2``.
|
439
|
+
|
440
|
+
Here is a simple example.
|
441
|
+
|
442
|
+
.. groonga-command
|
443
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log
|
444
|
+
.. select Entries --filter 'n_likes == (1 | 4)'
|
445
|
+
|
446
|
+
The expression matches records that ``n_likes`` column value is equal
|
447
|
+
to ``5`` (= ``1 | 4``).
|
448
|
+
|
449
|
+
Bitwise XOR operator
|
450
|
+
^^^^^^^^^^^^^^^^^^^^
|
451
|
+
|
452
|
+
Its syntax is ``number1 ^ number2``.
|
453
|
+
|
454
|
+
The operator returns bitwise XOR between ``number1`` and ``number2``.
|
455
|
+
|
456
|
+
Here is a simple example.
|
457
|
+
|
458
|
+
.. groonga-command
|
459
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log
|
460
|
+
.. select Entries --filter 'n_likes == (10 ^ 15)'
|
461
|
+
|
462
|
+
The expression matches records that ``n_likes`` column value is equal
|
463
|
+
to ``5`` (= ``10 ^ 15``).
|
464
|
+
|
465
|
+
Shift operators
|
466
|
+
^^^^^^^^^^^^^^^
|
467
|
+
|
468
|
+
Here are shift operators.
|
469
|
+
|
470
|
+
Left shift operator
|
471
|
+
"""""""""""""""""""
|
472
|
+
|
473
|
+
Its syntax is ``number1 << number2``.
|
474
|
+
|
475
|
+
The operator performs a bitwise left shift operation on ``number1`` by
|
476
|
+
``number2``.
|
477
|
+
|
478
|
+
Here is a simple example.
|
479
|
+
|
480
|
+
.. groonga-command
|
481
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_left_shift_operator.log
|
482
|
+
.. select Entries --filter 'n_likes == (5 << 1)'
|
483
|
+
|
484
|
+
The expression matches records that ``n_likes`` column value is equal
|
485
|
+
to ``10`` (= ``5 << 1``).
|
486
|
+
|
487
|
+
Signed right shift operator
|
488
|
+
"""""""""""""""""""""""""""
|
489
|
+
|
490
|
+
Its syntax is ``number1 >> number2``.
|
491
|
+
|
492
|
+
The operator shifts bits of ``number1`` to right by ``number2``. The sign
|
493
|
+
of the result is the same as ``number1``.
|
494
|
+
|
495
|
+
Here is a simple example.
|
496
|
+
|
497
|
+
.. groonga-command
|
498
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log
|
499
|
+
.. select Entries --filter 'n_likes == -(-10 >> 1)'
|
500
|
+
|
501
|
+
The expression matches records that ``n_likes`` column value is equal
|
502
|
+
to ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``).
|
503
|
+
|
504
|
+
Unsigned right shift operator
|
505
|
+
"""""""""""""""""""""""""""""
|
506
|
+
|
507
|
+
Its syntax is ``number1 >>> number2``.
|
508
|
+
|
509
|
+
The operator shifts bits of ``number1`` to right by ``number2``. The
|
510
|
+
leftmost ``number2`` bits are filled by ``0``.
|
511
|
+
|
512
|
+
Here is a simple example.
|
513
|
+
|
514
|
+
.. groonga-command
|
515
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log
|
516
|
+
.. select Entries --filter 'n_likes == (2147483648 - (-10 >>> 1))'
|
517
|
+
|
518
|
+
The expression matches records that ``n_likes`` column value is equal
|
519
|
+
to ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``).
|
520
|
+
|
521
|
+
Comparison operators
|
522
|
+
^^^^^^^^^^^^^^^^^^^^
|
523
|
+
|
524
|
+
Here are comparison operators.
|
525
|
+
|
526
|
+
Equal operator
|
527
|
+
""""""""""""""
|
528
|
+
|
529
|
+
Its syntax is ``object1 == object2``.
|
530
|
+
|
531
|
+
The operator returns true if ``object1`` equals to ``object2``, false
|
532
|
+
otherwise.
|
533
|
+
|
534
|
+
Here is a simple example.
|
535
|
+
|
536
|
+
.. groonga-command
|
537
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_equal_operator.log
|
538
|
+
.. select Entries --filter 'n_likes == 5'
|
539
|
+
|
540
|
+
The expression matches records that ``n_likes`` column value is equal
|
541
|
+
to ``5``.
|
542
|
+
|
543
|
+
Not equal operator
|
544
|
+
""""""""""""""""""
|
545
|
+
|
546
|
+
Its syntax is ``object1 != object2``.
|
547
|
+
|
548
|
+
The operator returns true if ``object1`` does not equal to
|
549
|
+
``object2``, false otherwise.
|
550
|
+
|
551
|
+
Here is a simple example.
|
552
|
+
|
553
|
+
.. groonga-command
|
554
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_not_equal_operator.log
|
555
|
+
.. select Entries --filter 'n_likes != 5'
|
556
|
+
|
557
|
+
The expression matches records that ``n_likes`` column value is not
|
558
|
+
equal to ``5``.
|
559
|
+
|
560
|
+
Less than operator
|
561
|
+
""""""""""""""""""
|
562
|
+
|
563
|
+
TODO: ...
|
564
|
+
|
565
|
+
Less than or equal to operator
|
566
|
+
""""""""""""""""""""""""""""""
|
567
|
+
|
568
|
+
TODO: ...
|
569
|
+
|
570
|
+
Greater than operator
|
571
|
+
"""""""""""""""""""""
|
572
|
+
|
573
|
+
TODO: ...
|
574
|
+
|
575
|
+
Greater than or equal to operator
|
576
|
+
"""""""""""""""""""""""""""""""""
|
577
|
+
|
578
|
+
TODO: ...
|
579
|
+
|
580
|
+
Assignment operators
|
581
|
+
--------------------
|
582
|
+
|
583
|
+
TODO: ...
|
584
|
+
|
585
|
+
Original operators
|
586
|
+
------------------
|
587
|
+
|
588
|
+
Script syntax adds the original binary opearators to ECMAScript
|
589
|
+
syntax. They operate search specific operations. They are starts with
|
590
|
+
``@`` or ``*``.
|
591
|
+
|
592
|
+
.. _match-oeprator:
|
593
|
+
|
594
|
+
Match operator
|
595
|
+
^^^^^^^^^^^^^^
|
596
|
+
|
597
|
+
Its syntax is ``column @ value``.
|
598
|
+
|
599
|
+
The operator searches ``value`` by inverted index of ``column``.
|
600
|
+
Normally, full text search is operated but tag search can be operated.
|
601
|
+
Because tag search is also implemented by inverted index.
|
602
|
+
|
603
|
+
:doc:`query_syntax` uses this operator by default.
|
604
|
+
|
605
|
+
Here is a simple exmaple.
|
606
|
+
|
607
|
+
.. groonga-command
|
608
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_match_operator.log
|
609
|
+
.. select Entries --filter 'content @ "fast"' --output_columns content
|
610
|
+
|
611
|
+
The expression matches records that contain a word ``fast`` in
|
612
|
+
``content`` column value.
|
613
|
+
|
614
|
+
.. _prefix-search-operator:
|
615
|
+
|
616
|
+
Prefix search operator
|
617
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
618
|
+
|
619
|
+
Its syntax is ``column @^ value``.
|
620
|
+
|
621
|
+
The operator does prefix search with ``value``. Prefix search searches
|
622
|
+
records that contain a word that starts with ``value``.
|
623
|
+
|
624
|
+
You can use fast prefix search against a column. The column must be
|
625
|
+
indexed and index table must be patricia trie table
|
626
|
+
(``TABLE_PAT_KEY``) or double array trie table
|
627
|
+
(``TABLE_DAT_KEY``). You can also use fast prefix search against
|
628
|
+
``_key`` pseudo column of patricia trie table or double array trie
|
629
|
+
table. You don't need to index ``_key``.
|
630
|
+
|
631
|
+
Prefix search can be used with other table types but it causes all
|
632
|
+
records scan. It's not problem for small records but it spends more
|
633
|
+
time for large records.
|
634
|
+
|
635
|
+
Here is a simple exmaple.
|
636
|
+
|
637
|
+
.. groonga-command
|
638
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log
|
639
|
+
.. select Entries --filter '_key @^ "Goo"' --output_columns _key
|
640
|
+
|
641
|
+
The expression matches records that contain a word that starts with
|
642
|
+
``Goo`` in ``_key`` pseudo column value. ``Good-bye Senna`` and
|
643
|
+
``Good-bye Tritonn`` are matched with the expression.
|
644
|
+
|
645
|
+
.. _suffix-search-operator:
|
646
|
+
|
647
|
+
Suffix search operator
|
648
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
649
|
+
|
650
|
+
Its syntax is ``column @$ value``.
|
651
|
+
|
652
|
+
This operator does suffix search with ``value``. Suffix search
|
653
|
+
searches records that contain a word that ends with ``value``.
|
654
|
+
|
655
|
+
You can use fast suffix search against a column. The column must be
|
656
|
+
indexed and index table must be patricia trie table
|
657
|
+
(``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You can also use fast
|
658
|
+
suffix search against ``_key`` pseudo column of patricia trie table
|
659
|
+
(``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You don't need to
|
660
|
+
index ``_key``. We recommended that you use index column based fast
|
661
|
+
suffix search instead of ``_key`` based fast suffix search. ``_key``
|
662
|
+
based fast suffix search returns automatically registered
|
663
|
+
substrings. (TODO: write document about suffix search and link to it
|
664
|
+
from here.)
|
665
|
+
|
666
|
+
.. note::
|
667
|
+
|
668
|
+
Fast suffix search can be used only for non-ASCII characters such
|
669
|
+
as hiragana in Japanese. You cannot use fast suffix search for
|
670
|
+
ASCII character.
|
671
|
+
|
672
|
+
Suffix search can be used with other table types or patricia trie
|
673
|
+
table without ``KEY_WITH_SIS`` flag but it causes all records
|
674
|
+
scan. It's not problem for small records but it spends more time for
|
675
|
+
large records.
|
676
|
+
|
677
|
+
Here is a simple exmaple. It uses fast suffix search for hiragana in
|
678
|
+
Japanese that is one of non-ASCII characters.
|
679
|
+
|
680
|
+
.. groonga-command
|
681
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
|
682
|
+
.. table_create Titles TABLE_NO_KEY
|
683
|
+
.. column_create Titles content COLUMN_SCALAR ShortText
|
684
|
+
.. table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
685
|
+
.. column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
686
|
+
.. load --table Titles
|
687
|
+
.. [
|
688
|
+
.. {"content": "ぐるんが"},
|
689
|
+
.. {"content": "むるんが"},
|
690
|
+
.. {"content": "せな"},
|
691
|
+
.. {"content": "とりとん"}
|
692
|
+
.. ]
|
693
|
+
.. select Titles --query 'content:$んが'
|
694
|
+
|
695
|
+
The expression matches records that have value that ends with ``んが``
|
696
|
+
in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched
|
697
|
+
with the expression.
|
698
|
+
|
699
|
+
.. _near-search-operator:
|
700
|
+
|
701
|
+
Near search operator
|
702
|
+
^^^^^^^^^^^^^^^^^^^^
|
703
|
+
|
704
|
+
Its syntax is ``column *N "word1 word2 ..."``.
|
705
|
+
|
706
|
+
The operator does near search with words ``word1 word2 ...``. Near
|
707
|
+
search searches records that contain the words and the words are
|
708
|
+
appeared in the near distance. Near distance is always ``10`` for
|
709
|
+
now. The unit of near distance is the number of characters in N-gram
|
710
|
+
family tokenizers and the number of words in morphological analysis
|
711
|
+
family tokenizers.
|
712
|
+
|
713
|
+
(TODO: Add a description about ``TokenBigram`` doesn't split ASCII
|
714
|
+
only word into tokens. So the unit for ASCII words with
|
715
|
+
``TokenBigram`` is the number of words even if ``TokenBigram`` is a
|
716
|
+
N-gram family tokenizer.)
|
717
|
+
|
718
|
+
Note that an index column for full text search must be defined for
|
719
|
+
``column``.
|
720
|
+
|
721
|
+
Here is a simple exmaple.
|
722
|
+
|
723
|
+
.. groonga-command
|
724
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_near_search_operator.log
|
725
|
+
.. select Entries --filter 'content *N "I fast"' --output_columns content
|
726
|
+
.. select Entries --filter 'content *N "I Really"' --output_columns content
|
727
|
+
.. select Entries --filter 'content *N "also Really"' --output_columns content
|
728
|
+
|
729
|
+
The first expression matches records that contain ``I`` and ``fast``
|
730
|
+
and the near distance of those words are in 10 words. So the record
|
731
|
+
that its content is ``I also started to use mroonga. It's also very
|
732
|
+
fast! ...`` is matched. The number of words between ``I`` and ``fast``
|
733
|
+
is just 10.
|
734
|
+
|
735
|
+
The second expression matches records that contain ``I`` and
|
736
|
+
``Really`` and the near distance of those words are in 10 words. So
|
737
|
+
the record that its content is ``I also started to use mroonga. It's
|
738
|
+
also very fast! Really fast!`` is not matched. The number of words between
|
739
|
+
``I`` and ``Really`` is 11.
|
740
|
+
|
741
|
+
The third expression matches records that contain ``also`` and
|
742
|
+
``Really`` and the near distance of those words are in 10 words. So
|
743
|
+
the record that its content is ``I also st arted to use mroonga. It's
|
744
|
+
also very fast! Really fast!`` is matched. The number of words between
|
745
|
+
``also`` and ``Really`` is 10.
|
746
|
+
|
747
|
+
.. _similar-search-operator:
|
748
|
+
|
749
|
+
Similar search
|
750
|
+
^^^^^^^^^^^^^^
|
751
|
+
|
752
|
+
Its syntax is ``column *S "document"``.
|
753
|
+
|
754
|
+
The operator does similar search with document ``document``. Similar
|
755
|
+
search searches records that have similar content to
|
756
|
+
``document``.
|
757
|
+
|
758
|
+
Note that an index column for full text search must be defined for
|
759
|
+
``column``.
|
760
|
+
|
761
|
+
Here is a simple exmaple.
|
762
|
+
|
763
|
+
.. groonga-command
|
764
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_similar_search_operator.log
|
765
|
+
.. select Entries --filter 'content *S "I migrated all Solr system!"' --output_columns content
|
766
|
+
|
767
|
+
The expression matches records that have similar content to ``I
|
768
|
+
migrated all Solr system!``. In this case, records that have ``I
|
769
|
+
migrated all XXX system!`` content are matched.
|
770
|
+
|
771
|
+
.. _term-extract-operator:
|
772
|
+
|
773
|
+
Term extract operator
|
774
|
+
^^^^^^^^^^^^^^^^^^^^^
|
775
|
+
|
776
|
+
Its syntax is ``_key *T "document"``.
|
777
|
+
|
778
|
+
The operator extracts terms from ``document``. Terms must be
|
779
|
+
registered as keys of the table of ``_key``.
|
780
|
+
|
781
|
+
Note that the table must be patricia trie (``TABLE_PAT_KEY``) or
|
782
|
+
double array trie (``TABLE_DAT_KEY``). You can't use hash table
|
783
|
+
(``TABLE_HASH_KEY``) and array (``TABLE_NO_KEY``) becuase they don't
|
784
|
+
support longest common prefix search. Longest common prefix search is
|
785
|
+
used to implement the operator.
|
786
|
+
|
787
|
+
Here is a simple exmaple.
|
788
|
+
|
789
|
+
.. groonga-command
|
790
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_term_extract_operator.log
|
791
|
+
.. table_create Words TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
792
|
+
.. load --table Words
|
793
|
+
.. [
|
794
|
+
.. {"_key": "groonga"},
|
795
|
+
.. {"_key": "mroonga"},
|
796
|
+
.. {"_key": "Senna"},
|
797
|
+
.. {"_key": "Tritonn"}
|
798
|
+
.. ]
|
799
|
+
.. select Words --filter '_key *T "Groonga is the successor project to Senna."' --output_columns _key
|
800
|
+
|
801
|
+
The expression extrcts terms that included in document ``Groonga is
|
802
|
+
the successor project to Senna.``. In this case, ``KEY_NORMALIZE``
|
803
|
+
flag is specified to ``Words``. So ``Groonga`` can be extracted even
|
804
|
+
if it is loaded as ``groonga`` into ``Words``. All of extracted terms
|
805
|
+
are also normalized.
|