rroonga 2.1.2-x86-mingw32 → 2.1.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +29 -0
- data/doc/text/tutorial.textile +176 -199
- data/ext/groonga/extconf.rb +16 -2
- data/ext/groonga/rb-grn-logger.c +214 -202
- data/ext/groonga/rb-grn-object.c +1 -23
- data/ext/groonga/rb-grn-table-cursor.c +1 -2
- data/ext/groonga/rb-grn-table.c +1 -2
- data/ext/groonga/rb-grn-utils.c +3 -7
- data/ext/groonga/rb-grn.h +2 -16
- data/ext/groonga/rb-groonga.c +1 -3
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/context.rb +27 -0
- data/lib/groonga/dumper.rb +35 -3
- data/lib/groonga/logger.rb +142 -0
- data/lib/groonga.rb +2 -1
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +3 -1
- data/test/test-context.rb +63 -0
- data/test/test-logger.rb +1 -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 +2 -2
- data/vendor/local/include/groonga/groonga.h +48 -7
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- 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 +3 -3
- 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 +5 -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/share/doc/groonga/en/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +50 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +46 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +135 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +17 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +192 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +2 -14
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +193 -138
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +8 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/development.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/index.html +22 -18
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -14
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/others.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +47 -25
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -10
- data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news.html +148 -97
- 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 +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +8 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +9 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +403 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference.html +14 -16
- data/vendor/local/share/doc/groonga/en/html/search.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +16 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +14 -16
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/server/http.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/server/package.html +375 -0
- data/vendor/local/share/doc/groonga/en/html/server.html +23 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +50 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +46 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +135 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +17 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +192 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +2 -14
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +192 -137
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/community.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +11 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/development.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/index.html +28 -24
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +47 -20
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news.html +135 -97
- 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 +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +13 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +9 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +394 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +82 -134
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +15 -17
- data/vendor/local/share/doc/groonga/ja/html/reference.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/search.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +16 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +14 -16
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +372 -0
- data/vendor/local/share/doc/groonga/ja/html/server.html +23 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -9
- data/vendor/local/share/man/ja/man1/groonga.1 +849 -276
- data/vendor/local/share/man/man1/groonga.1 +814 -144
- 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 +883 -1287
- data/ext/groonga/rb-grn-view-accessor.c +0 -53
- data/ext/groonga/rb-grn-view-cursor.c +0 -35
- data/ext/groonga/rb-grn-view-record.c +0 -41
- data/ext/groonga/rb-grn-view.c +0 -414
- data/test/test-schema-view.rb +0 -90
- data/test/test-view.rb +0 -71
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +0 -196
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +0 -197
- data/vendor/local/share/doc/groonga/source/__init__.py +0 -0
- data/vendor/local/share/doc/groonga/source/characteristic.txt +0 -69
- data/vendor/local/share/doc/groonga/source/community.txt +0 -37
- data/vendor/local/share/doc/groonga/source/conf.py +0 -272
- data/vendor/local/share/doc/groonga/source/contribution/development/com.txt +0 -20
- data/vendor/local/share/doc/groonga/source/contribution/development/document.txt +0 -40
- data/vendor/local/share/doc/groonga/source/contribution/development/query.txt +0 -214
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +0 -661
- data/vendor/local/share/doc/groonga/source/contribution/development/test.txt +0 -116
- data/vendor/local/share/doc/groonga/source/contribution/development.txt +0 -12
- data/vendor/local/share/doc/groonga/source/contribution/documentation/c-api.txt +0 -14
- data/vendor/local/share/doc/groonga/source/contribution/documentation/i18n.txt +0 -198
- data/vendor/local/share/doc/groonga/source/contribution/documentation.txt +0 -16
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +0 -28
- data/vendor/local/share/doc/groonga/source/contribution.txt +0 -26
- data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +0 -61
- data/vendor/local/share/doc/groonga/source/development.txt +0 -15
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +0 -32
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +0 -74
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +0 -52
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +0 -131
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +0 -12
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +0 -90
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +0 -18
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +0 -12
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +0 -14
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +0 -77
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +0 -15
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +0 -13
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +0 -28
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +0 -17
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +0 -28
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +0 -92
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +0 -53
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +0 -51
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +0 -53
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +0 -92
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +0 -52
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +0 -51
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +0 -39
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +0 -9
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +0 -27
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +0 -46
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +0 -48
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +0 -57
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +0 -46
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +0 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +0 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +0 -78
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +0 -85
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +0 -113
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +0 -74
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +0 -24
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +0 -105
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +0 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +0 -84
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +0 -78
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +0 -129
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +0 -22
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +0 -27
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +0 -15
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +0 -137
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +0 -19
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +0 -137
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log +0 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log +0 -30
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema.log +0 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +0 -98
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +0 -89
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +0 -73
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +0 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +0 -58
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +0 -37
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +0 -24
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +0 -89
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +0 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +0 -102
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +0 -70
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +0 -80
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +0 -84
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +0 -150
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +0 -43
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +0 -31
- data/vendor/local/share/doc/groonga/source/geolocation_search.txt +0 -52
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.svg +0 -188
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.svg +0 -501
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.svg +0 -275
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.svg +0 -899
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.svg +0 -249
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.svg +0 -275
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.svg +0 -743
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.svg +0 -261
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.svg +0 -228
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.svg +0 -241
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.svg +0 -602
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.svg +0 -917
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.svg +0 -561
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.svg +0 -389
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.svg +0 -469
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.svg +0 -514
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.svg +0 -595
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.svg +0 -424
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.svg +0 -549
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.svg +0 -241
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.svg +0 -203
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.svg +0 -264
- data/vendor/local/share/doc/groonga/source/images/geo-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.svg +0 -317
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.svg +0 -306
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.svg +0 -304
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.svg +0 -383
- data/vendor/local/share/doc/groonga/source/images/geo-points.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points.svg +0 -296
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.svg +0 -287
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg +0 -174
- data/vendor/local/share/doc/groonga/source/index.txt +0 -33
- data/vendor/local/share/doc/groonga/source/install/centos.txt +0 -152
- data/vendor/local/share/doc/groonga/source/install/debian.txt +0 -136
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +0 -82
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +0 -53
- data/vendor/local/share/doc/groonga/source/install/others.txt +0 -267
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +0 -43
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +0 -196
- data/vendor/local/share/doc/groonga/source/install/windows.txt +0 -87
- data/vendor/local/share/doc/groonga/source/install.txt +0 -28
- data/vendor/local/share/doc/groonga/source/limitations.txt +0 -29
- data/vendor/local/share/doc/groonga/source/news/0.x.txt +0 -126
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +0 -289
- data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +0 -31
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +0 -386
- data/vendor/local/share/doc/groonga/source/news/senna.txt +0 -109
- data/vendor/local/share/doc/groonga/source/news.txt +0 -632
- data/vendor/local/share/doc/groonga/source/rdoc.py +0 -762
- data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/api.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/cast.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/command/command_version.txt +0 -75
- data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +0 -228
- data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +0 -110
- data/vendor/local/share/doc/groonga/source/reference/command.txt +0 -20
- data/vendor/local/share/doc/groonga/source/reference/commands/cache_limit.txt +0 -54
- data/vendor/local/share/doc/groonga/source/reference/commands/check.txt +0 -166
- data/vendor/local/share/doc/groonga/source/reference/commands/clearlock.txt +0 -63
- data/vendor/local/share/doc/groonga/source/reference/commands/column_create.txt +0 -95
- data/vendor/local/share/doc/groonga/source/reference/commands/column_list.txt +0 -111
- data/vendor/local/share/doc/groonga/source/reference/commands/column_remove.txt +0 -60
- data/vendor/local/share/doc/groonga/source/reference/commands/define_selector.txt +0 -116
- data/vendor/local/share/doc/groonga/source/reference/commands/defrag.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/commands/delete.txt +0 -72
- data/vendor/local/share/doc/groonga/source/reference/commands/dump.txt +0 -91
- data/vendor/local/share/doc/groonga/source/reference/commands/load.txt +0 -100
- data/vendor/local/share/doc/groonga/source/reference/commands/log_level.txt +0 -67
- data/vendor/local/share/doc/groonga/source/reference/commands/log_put.txt +0 -71
- data/vendor/local/share/doc/groonga/source/reference/commands/log_reopen.txt +0 -68
- data/vendor/local/share/doc/groonga/source/reference/commands/quit.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +0 -894
- data/vendor/local/share/doc/groonga/source/reference/commands/shutdown.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/commands/status.txt +0 -60
- data/vendor/local/share/doc/groonga/source/reference/commands/suggest.txt +0 -270
- data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +0 -286
- data/vendor/local/share/doc/groonga/source/reference/commands/table_list.txt +0 -81
- data/vendor/local/share/doc/groonga/source/reference/commands/table_remove.txt +0 -52
- data/vendor/local/share/doc/groonga/source/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +0 -104
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +0 -80
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +0 -105
- data/vendor/local/share/doc/groonga/source/reference/executables/grnslap.txt +0 -66
- data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +0 -273
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +0 -209
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +0 -56
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-suggest-create-dataset.txt +0 -50
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +0 -248
- data/vendor/local/share/doc/groonga/source/reference/executables.txt +0 -14
- data/vendor/local/share/doc/groonga/source/reference/function.txt +0 -20
- data/vendor/local/share/doc/groonga/source/reference/functions/edit_distance.txt +0 -48
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +0 -301
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_circle.txt +0 -81
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/doc/groonga/source/reference/functions/now.txt +0 -36
- data/vendor/local/share/doc/groonga/source/reference/functions/rand.txt +0 -43
- data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +0 -120
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +0 -584
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +0 -805
- data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/indexing.txt +0 -110
- data/vendor/local/share/doc/groonga/source/reference/log.txt +0 -214
- data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +0 -122
- data/vendor/local/share/doc/groonga/source/reference/output.txt +0 -164
- data/vendor/local/share/doc/groonga/source/reference/pseudo_column.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +0 -153
- data/vendor/local/share/doc/groonga/source/reference/query_expanders.txt +0 -12
- data/vendor/local/share/doc/groonga/source/reference/tables.txt +0 -163
- data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/types.txt +0 -129
- data/vendor/local/share/doc/groonga/source/reference.txt +0 -24
- data/vendor/local/share/doc/groonga/source/server/gqtp.txt +0 -16
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +0 -298
- data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +0 -8
- data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +0 -8
- data/vendor/local/share/doc/groonga/source/server/http.txt +0 -29
- data/vendor/local/share/doc/groonga/source/server.txt +0 -12
- data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +0 -214
- data/vendor/local/share/doc/groonga/source/spec/search.txt +0 -115
- data/vendor/local/share/doc/groonga/source/spec.txt +0 -12
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +0 -195
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +0 -148
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +0 -96
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +0 -115
- data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/source/suggest.txt +0 -17
- data/vendor/local/share/doc/groonga/source/textile.py +0 -771
- data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
- data/vendor/local/share/doc/groonga/source/troubleshooting.txt +0 -12
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +0 -155
- data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +0 -66
- data/vendor/local/share/doc/groonga/source/tutorial/index.txt +0 -118
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +0 -286
- data/vendor/local/share/doc/groonga/source/tutorial/lexicon.txt +0 -11
- data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +0 -220
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +0 -487
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +0 -142
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +0 -53
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +0 -62
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +0 -121
- data/vendor/local/share/doc/groonga/source/tutorial.txt +0 -21
@@ -1,805 +0,0 @@
|
|
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/function` 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.
|