rroonga 3.0.0-x86-mingw32 → 3.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +22 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-logger.c +41 -89
- data/ext/groonga/rb-grn-object.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-query-logger.c +75 -2
- data/ext/groonga/rb-grn-table.c +658 -511
- data/ext/groonga/rb-grn-utils.c +113 -22
- data/ext/groonga/rb-grn.h +7 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga.rb +18 -18
- data/lib/groonga/context.rb +11 -3
- data/lib/groonga/logger.rb +26 -0
- data/lib/groonga/record.rb +25 -2
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +1 -1
- data/test/test-column.rb +103 -1
- data/test/test-logger.rb +9 -8
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +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/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +20 -4
- data/vendor/local/include/groonga/groonga/plugin.h +4 -4
- 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/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/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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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 +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +18 -11
- 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 +50 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +32 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +2 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +185 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +19 -12
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +24 -16
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +54 -10
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +163 -140
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +39 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -13
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +632 -7
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/search.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +18 -11
- 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 +50 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +32 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +185 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +19 -12
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +16 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +50 -10
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +160 -140
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +614 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +7 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/search.html +7 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +920 -150
- data/vendor/local/share/man/man1/groonga.1 +974 -179
- metadata +4 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH "GROONGA" "1" "
|
1
|
+
.TH "GROONGA" "1" "April 26, 2013" "3.0.3" "groonga"
|
2
2
|
.SH NAME
|
3
3
|
groonga \- groonga documentation
|
4
4
|
.
|
@@ -112,7 +112,7 @@ Start command prompt \fBcmd.exe\fP and download x86 executable binary by default
|
|
112
112
|
.sp
|
113
113
|
.nf
|
114
114
|
.ft C
|
115
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
115
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.3\-x86.exe
|
116
116
|
.ft P
|
117
117
|
.fi
|
118
118
|
.sp
|
@@ -124,7 +124,7 @@ Start command prompt \fBcmd.exe\fP and download x64 executable binary by default
|
|
124
124
|
.sp
|
125
125
|
.nf
|
126
126
|
.ft C
|
127
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
127
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.3\-x64.exe
|
128
128
|
.ft P
|
129
129
|
.fi
|
130
130
|
.sp
|
@@ -141,7 +141,7 @@ Start command prompt \fBcmd.exe\fP and download x86 zip archive by default brows
|
|
141
141
|
.sp
|
142
142
|
.nf
|
143
143
|
.ft C
|
144
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
144
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.3\-x86.zip
|
145
145
|
.ft P
|
146
146
|
.fi
|
147
147
|
.sp
|
@@ -153,7 +153,7 @@ Start command prompt \fBcmd.exe\fP and download x64 zip archive by default brows
|
|
153
153
|
.sp
|
154
154
|
.nf
|
155
155
|
.ft C
|
156
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
156
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.3\-x64.zip
|
157
157
|
.ft P
|
158
158
|
.fi
|
159
159
|
.sp
|
@@ -185,7 +185,7 @@ Visual Studio 2010 Express and download it by default browser:
|
|
185
185
|
.nf
|
186
186
|
.ft C
|
187
187
|
> cd c:\eUsers\e%USERNAME%\eDownloads
|
188
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/source/groonga/groonga\-3.0.
|
188
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/source/groonga/groonga\-3.0.3.zip
|
189
189
|
.ft P
|
190
190
|
.fi
|
191
191
|
.sp
|
@@ -195,7 +195,7 @@ Move to the groonga\(aqs source folder:
|
|
195
195
|
.sp
|
196
196
|
.nf
|
197
197
|
.ft C
|
198
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-3.0.
|
198
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-3.0.3
|
199
199
|
.ft P
|
200
200
|
.fi
|
201
201
|
.sp
|
@@ -205,7 +205,7 @@ parameter instead:
|
|
205
205
|
.sp
|
206
206
|
.nf
|
207
207
|
.ft C
|
208
|
-
groonga\-3.0.
|
208
|
+
groonga\-3.0.3> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
209
209
|
.ft P
|
210
210
|
.fi
|
211
211
|
.sp
|
@@ -213,7 +213,7 @@ Build by Visual C++ 2010 Express:
|
|
213
213
|
.sp
|
214
214
|
.nf
|
215
215
|
.ft C
|
216
|
-
groonga\-3.0.
|
216
|
+
groonga\-3.0.3> msbuild groonga.sln /p:Configuration=Release
|
217
217
|
.ft P
|
218
218
|
.fi
|
219
219
|
.sp
|
@@ -221,7 +221,7 @@ Install by Visual C++ 2010 Express:
|
|
221
221
|
.sp
|
222
222
|
.nf
|
223
223
|
.ft C
|
224
|
-
groonga\-3.0.
|
224
|
+
groonga\-3.0.3> msbuild groonga.sln /p:Configuration=Release /t:Install
|
225
225
|
.ft P
|
226
226
|
.fi
|
227
227
|
.sp
|
@@ -231,7 +231,7 @@ Build by Visual Studio 2010:
|
|
231
231
|
.sp
|
232
232
|
.nf
|
233
233
|
.ft C
|
234
|
-
groonga\-3.0.
|
234
|
+
groonga\-3.0.3> devenv groonga.sln /Build Release
|
235
235
|
.ft P
|
236
236
|
.fi
|
237
237
|
.sp
|
@@ -239,7 +239,7 @@ Install by Visual Studio 2010:
|
|
239
239
|
.sp
|
240
240
|
.nf
|
241
241
|
.ft C
|
242
|
-
groonga\-3.0.
|
242
|
+
groonga\-3.0.3> devenv groonga.sln /Build Release /Project Install
|
243
243
|
.ft P
|
244
244
|
.fi
|
245
245
|
.sp
|
@@ -281,9 +281,9 @@ Download source:
|
|
281
281
|
.sp
|
282
282
|
.nf
|
283
283
|
.ft C
|
284
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-3.0.
|
285
|
-
% tar xvzf groonga\-3.0.
|
286
|
-
% cd groonga\-3.0.
|
284
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
285
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
286
|
+
% cd groonga\-3.0.3
|
287
287
|
.ft P
|
288
288
|
.fi
|
289
289
|
.sp
|
@@ -522,9 +522,9 @@ Download source:
|
|
522
522
|
.sp
|
523
523
|
.nf
|
524
524
|
.ft C
|
525
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
526
|
-
% tar xvzf groonga\-3.0.
|
527
|
-
% cd groonga\-3.0.
|
525
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
526
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
527
|
+
% cd groonga\-3.0.3
|
528
528
|
.ft P
|
529
529
|
.fi
|
530
530
|
.sp
|
@@ -846,6 +846,73 @@ Install groonga\-normalizer\-mysql package:
|
|
846
846
|
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
847
847
|
.ft P
|
848
848
|
.fi
|
849
|
+
.SS 13.04 Raring Ringtail
|
850
|
+
.IP Note
|
851
|
+
Enable the universe repository to install groonga:
|
852
|
+
.sp
|
853
|
+
.nf
|
854
|
+
.ft C
|
855
|
+
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
856
|
+
% sudo sed \-i\(aq\(aq \-e \(aqs/main/universe/\(aq /etc/apt/sources.list.d/universe.list
|
857
|
+
.ft P
|
858
|
+
.fi
|
859
|
+
.RE
|
860
|
+
.sp
|
861
|
+
Add the groonga apt repository.
|
862
|
+
.sp
|
863
|
+
/etc/apt/sources.list.d/groonga.list:
|
864
|
+
.sp
|
865
|
+
.nf
|
866
|
+
.ft C
|
867
|
+
deb http://packages.groonga.org/ubuntu/ raring universe
|
868
|
+
deb\-src http://packages.groonga.org/ubuntu/ raring universe
|
869
|
+
.ft P
|
870
|
+
.fi
|
871
|
+
.sp
|
872
|
+
Install:
|
873
|
+
.sp
|
874
|
+
.nf
|
875
|
+
.ft C
|
876
|
+
% sudo apt\-get update
|
877
|
+
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
878
|
+
% sudo apt\-get update
|
879
|
+
% sudo apt\-get \-y install groonga
|
880
|
+
.ft P
|
881
|
+
.fi
|
882
|
+
.sp
|
883
|
+
If you want to use \fI\%MeCab\fP as a
|
884
|
+
tokenizer, install groonga\-tokenizer\-mecab package.
|
885
|
+
.sp
|
886
|
+
Install groonga\-tokenizer\-mecab package:
|
887
|
+
.sp
|
888
|
+
.nf
|
889
|
+
.ft C
|
890
|
+
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
891
|
+
.ft P
|
892
|
+
.fi
|
893
|
+
.sp
|
894
|
+
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
895
|
+
groonga status by Munin, install groonga\-munin\-plugins package.
|
896
|
+
.sp
|
897
|
+
Install groonga\-munin\-plugins package:
|
898
|
+
.sp
|
899
|
+
.nf
|
900
|
+
.ft C
|
901
|
+
% sudo apt\-get \-y install groonga\-munin\-plugins
|
902
|
+
.ft P
|
903
|
+
.fi
|
904
|
+
.sp
|
905
|
+
There is a package that provides MySQL compatible normalizer as
|
906
|
+
groonga plugins.
|
907
|
+
If you want to use that one, install groonga\-normalizer\-mysql package.
|
908
|
+
.sp
|
909
|
+
Install groonga\-normalizer\-mysql package:
|
910
|
+
.sp
|
911
|
+
.nf
|
912
|
+
.ft C
|
913
|
+
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
914
|
+
.ft P
|
915
|
+
.fi
|
849
916
|
.SS Build from source
|
850
917
|
.sp
|
851
918
|
Install required packages to build groonga:
|
@@ -860,9 +927,9 @@ Download source:
|
|
860
927
|
.sp
|
861
928
|
.nf
|
862
929
|
.ft C
|
863
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
864
|
-
% tar xvzf groonga\-3.0.
|
865
|
-
% cd groonga\-3.0.
|
930
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
931
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
932
|
+
% cd groonga\-3.0.3
|
866
933
|
.ft P
|
867
934
|
.fi
|
868
935
|
.sp
|
@@ -1104,9 +1171,9 @@ Download source:
|
|
1104
1171
|
.sp
|
1105
1172
|
.nf
|
1106
1173
|
.ft C
|
1107
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1108
|
-
% tar xvzf groonga\-3.0.
|
1109
|
-
% cd groonga\-3.0.
|
1174
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
1175
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
1176
|
+
% cd groonga\-3.0.3
|
1110
1177
|
.ft P
|
1111
1178
|
.fi
|
1112
1179
|
.sp
|
@@ -1137,14 +1204,15 @@ Install:
|
|
1137
1204
|
.sp
|
1138
1205
|
This section describes how to install groonga related RPM packages on
|
1139
1206
|
Fedora. You can install them by \fByum\fP.
|
1140
|
-
.
|
1141
|
-
Groonga related RPM pakcages are
|
1142
|
-
repository. So you can use them instead of the groonga yum
|
1143
|
-
repository.
|
1144
|
-
|
1145
|
-
|
1146
|
-
yum repository
|
1147
|
-
the
|
1207
|
+
.IP Note
|
1208
|
+
Since groonga 3.0.2 release, Groonga related RPM pakcages are in the official
|
1209
|
+
Fedora yum repository (Fedora 18). So you can use them instead of the groonga yum
|
1210
|
+
repository now. There is some exceptions to use the groonga yum
|
1211
|
+
repository because \fBgroonga\-normalizer\-mysql\fP and mecab dictionaries
|
1212
|
+
(mecab\-ipadic or mecab\-jumandic) are provided by
|
1213
|
+
the groonga yum repository. But we will also plan to release
|
1214
|
+
\fBgroonga\-normalizer\-mysql\fP in the official Fedora yum repository in the future.
|
1215
|
+
.RE
|
1148
1216
|
.sp
|
1149
1217
|
We distribute both 32\-bit and 64\-bit packages but we strongly
|
1150
1218
|
recommend a 64\-bit package for server. You should use a 32\-bit package
|
@@ -1174,9 +1242,18 @@ Install:
|
|
1174
1242
|
.sp
|
1175
1243
|
.nf
|
1176
1244
|
.ft C
|
1245
|
+
% sudo yum install \-y groonga
|
1246
|
+
.ft P
|
1247
|
+
.fi
|
1248
|
+
.sp
|
1249
|
+
Note that additional packages such as \fBgroonga\-normalizer\-mysql\fP,
|
1250
|
+
\fBmecab\-dic\fP and \fBmecab\-jumandic\fP packages require to install
|
1251
|
+
\fBgroonga\-release\fP package which provides the groonga yum repository beforehand:
|
1252
|
+
.sp
|
1253
|
+
.nf
|
1254
|
+
.ft C
|
1177
1255
|
% sudo rpm \-ivh http://packages.groonga.org/fedora/groonga\-release\-1.1.0\-1.noarch.rpm
|
1178
1256
|
% sudo yum update
|
1179
|
-
% sudo yum install \-y groonga
|
1180
1257
|
.ft P
|
1181
1258
|
.fi
|
1182
1259
|
.sp
|
@@ -1245,9 +1322,9 @@ Download source:
|
|
1245
1322
|
.sp
|
1246
1323
|
.nf
|
1247
1324
|
.ft C
|
1248
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1249
|
-
% tar xvzf groonga\-3.0.
|
1250
|
-
% cd groonga\-3.0.
|
1325
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
1326
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
1327
|
+
% cd groonga\-3.0.3
|
1251
1328
|
.ft P
|
1252
1329
|
.fi
|
1253
1330
|
.sp
|
@@ -1292,9 +1369,9 @@ Download source:
|
|
1292
1369
|
.sp
|
1293
1370
|
.nf
|
1294
1371
|
.ft C
|
1295
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1296
|
-
% gtar xvzf groonga\-3.0.
|
1297
|
-
% cd groonga\-3.0.
|
1372
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
1373
|
+
% gtar xvzf groonga\-3.0.3.tar.gz
|
1374
|
+
% cd groonga\-3.0.3
|
1298
1375
|
.ft P
|
1299
1376
|
.fi
|
1300
1377
|
.sp
|
@@ -1418,9 +1495,9 @@ steps:
|
|
1418
1495
|
.sp
|
1419
1496
|
.nf
|
1420
1497
|
.ft C
|
1421
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1422
|
-
% tar xvzf groonga\-3.0.
|
1423
|
-
% cd groonga\-3.0.
|
1498
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.3.tar.gz
|
1499
|
+
% tar xvzf groonga\-3.0.3.tar.gz
|
1500
|
+
% cd groonga\-3.0.3
|
1424
1501
|
% ./configure
|
1425
1502
|
% make
|
1426
1503
|
% sudo make install
|
@@ -2787,10 +2864,10 @@ status
|
|
2787
2864
|
# "max_command_version": 2,
|
2788
2865
|
# "n_queries": 0,
|
2789
2866
|
# "cache_hit_rate": 0.0,
|
2790
|
-
# "version": "
|
2791
|
-
# "alloc_count":
|
2867
|
+
# "version": "3.0.2",
|
2868
|
+
# "alloc_count": 129,
|
2792
2869
|
# "command_version": 1,
|
2793
|
-
# "starttime":
|
2870
|
+
# "starttime": 1364461102,
|
2794
2871
|
# "default_command_version": 1
|
2795
2872
|
# }
|
2796
2873
|
# ]
|
@@ -2875,10 +2952,10 @@ status
|
|
2875
2952
|
# "max_command_version": 2,
|
2876
2953
|
# "n_queries": 0,
|
2877
2954
|
# "cache_hit_rate": 0.0,
|
2878
|
-
# "version": "
|
2879
|
-
# "alloc_count":
|
2955
|
+
# "version": "3.0.2",
|
2956
|
+
# "alloc_count": 130,
|
2880
2957
|
# "command_version": 1,
|
2881
|
-
# "starttime":
|
2958
|
+
# "starttime": 1364461102,
|
2882
2959
|
# "default_command_version": 1
|
2883
2960
|
# }
|
2884
2961
|
# ]
|
@@ -9286,14 +9363,14 @@ Execution example:
|
|
9286
9363
|
0.000355720520019531
|
9287
9364
|
],
|
9288
9365
|
{
|
9289
|
-
"uptime":
|
9366
|
+
"uptime": 1,
|
9290
9367
|
"max_command_version": 2,
|
9291
9368
|
"n_queries": 0,
|
9292
9369
|
"cache_hit_rate": 0.0,
|
9293
|
-
"version": "
|
9294
|
-
"alloc_count":
|
9370
|
+
"version": "3.0.2",
|
9371
|
+
"alloc_count": 150,
|
9295
9372
|
"command_version": 1,
|
9296
|
-
"starttime":
|
9373
|
+
"starttime": 1364461070,
|
9297
9374
|
"default_command_version": 1
|
9298
9375
|
}
|
9299
9376
|
]
|
@@ -14419,14 +14496,14 @@ status
|
|
14419
14496
|
# 0.000355720520019531
|
14420
14497
|
# ],
|
14421
14498
|
# {
|
14422
|
-
# "uptime":
|
14499
|
+
# "uptime": 5,
|
14423
14500
|
# "max_command_version": 2,
|
14424
14501
|
# "n_queries": 30,
|
14425
14502
|
# "cache_hit_rate": 0.0,
|
14426
|
-
# "version": "
|
14427
|
-
# "alloc_count":
|
14503
|
+
# "version": "3.0.2",
|
14504
|
+
# "alloc_count": 278,
|
14428
14505
|
# "command_version": 1,
|
14429
|
-
# "starttime":
|
14506
|
+
# "starttime": 1364461054,
|
14430
14507
|
# "default_command_version": 1
|
14431
14508
|
# }
|
14432
14509
|
# ]
|
@@ -16232,6 +16309,10 @@ Here is a list of additional normalizers provided by \fBgroonga\-normalizer\-mys
|
|
16232
16309
|
.INDENT 0.0
|
16233
16310
|
.IP \(bu 2
|
16234
16311
|
\fBNormalizerMySQLGeneralCI\fP
|
16312
|
+
.IP \(bu 2
|
16313
|
+
\fBNormalizerMySQLUnicodeCI\fP
|
16314
|
+
.IP \(bu 2
|
16315
|
+
\fBNormalizerMySQLGeneralCIExceptKanaCIKanaWithVoicedSoundMark\fP
|
16235
16316
|
.UNINDENT
|
16236
16317
|
.UNINDENT
|
16237
16318
|
.UNINDENT
|
@@ -19458,30 +19539,17 @@ TODO: ...
|
|
19458
19539
|
.sp
|
19459
19540
|
TODO: ...
|
19460
19541
|
.SS Assignment operators
|
19542
|
+
.SS Addition assignment operator
|
19461
19543
|
.sp
|
19462
|
-
|
19463
|
-
.SS Original operators
|
19464
|
-
.sp
|
19465
|
-
Script syntax adds the original binary opearators to ECMAScript
|
19466
|
-
syntax. They operate search specific operations. They are starts with
|
19467
|
-
\fB@\fP or \fB*\fP.
|
19468
|
-
.SS Match operator
|
19469
|
-
.sp
|
19470
|
-
Its syntax is \fBcolumn @ value\fP.
|
19471
|
-
.sp
|
19472
|
-
The operator searches \fBvalue\fP by inverted index of \fBcolumn\fP.
|
19473
|
-
Normally, full text search is operated but tag search can be operated.
|
19474
|
-
Because tag search is also implemented by inverted index.
|
19475
|
-
.sp
|
19476
|
-
\fBquery_syntax\fP uses this operator by default.
|
19544
|
+
Its syntax is \fBcolumn1 += column2\fP.
|
19477
19545
|
.sp
|
19478
|
-
|
19546
|
+
The operator performs addition assginment operation on column1 by column2.
|
19479
19547
|
.sp
|
19480
19548
|
Execution example:
|
19481
19549
|
.sp
|
19482
19550
|
.nf
|
19483
19551
|
.ft C
|
19484
|
-
select Entries \-\-filter \(
|
19552
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score += n_likes\(aq
|
19485
19553
|
# [
|
19486
19554
|
# [
|
19487
19555
|
# 0,
|
@@ -19491,19 +19559,46 @@ select Entries \-\-filter \(aqcontent @ "fast"\(aq \-\-output_columns content
|
|
19491
19559
|
# [
|
19492
19560
|
# [
|
19493
19561
|
# [
|
19494
|
-
#
|
19562
|
+
# 5
|
19495
19563
|
# ],
|
19496
19564
|
# [
|
19497
19565
|
# [
|
19498
|
-
# "
|
19499
|
-
# "
|
19566
|
+
# "_key",
|
19567
|
+
# "ShortText"
|
19568
|
+
# ],
|
19569
|
+
# [
|
19570
|
+
# "n_likes",
|
19571
|
+
# "UInt32"
|
19572
|
+
# ],
|
19573
|
+
# [
|
19574
|
+
# "_score",
|
19575
|
+
# "Int32"
|
19500
19576
|
# ]
|
19501
19577
|
# ],
|
19502
19578
|
# [
|
19503
|
-
# "
|
19579
|
+
# "Good\-bye Senna",
|
19580
|
+
# 3,
|
19581
|
+
# 4
|
19504
19582
|
# ],
|
19505
19583
|
# [
|
19506
|
-
# "
|
19584
|
+
# "Good\-bye Tritonn",
|
19585
|
+
# 3,
|
19586
|
+
# 4
|
19587
|
+
# ],
|
19588
|
+
# [
|
19589
|
+
# "Groonga",
|
19590
|
+
# 10,
|
19591
|
+
# 11
|
19592
|
+
# ],
|
19593
|
+
# [
|
19594
|
+
# "Mroonga",
|
19595
|
+
# 15,
|
19596
|
+
# 16
|
19597
|
+
# ],
|
19598
|
+
# [
|
19599
|
+
# "The first post!",
|
19600
|
+
# 5,
|
19601
|
+
# 6
|
19507
19602
|
# ]
|
19508
19603
|
# ]
|
19509
19604
|
# ]
|
@@ -19511,33 +19606,24 @@ select Entries \-\-filter \(aqcontent @ "fast"\(aq \-\-output_columns content
|
|
19511
19606
|
.ft P
|
19512
19607
|
.fi
|
19513
19608
|
.sp
|
19514
|
-
The
|
19515
|
-
\
|
19516
|
-
.SS Prefix search operator
|
19517
|
-
.sp
|
19518
|
-
Its syntax is \fBcolumn @^ value\fP.
|
19609
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19610
|
+
then performs addition assignment operation such as \(aq_score = _score + n_likes\(aq for each records.
|
19519
19611
|
.sp
|
19520
|
-
|
19521
|
-
|
19612
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19613
|
+
is 3.
|
19522
19614
|
.sp
|
19523
|
-
|
19524
|
-
|
19525
|
-
(\fBTABLE_PAT_KEY\fP) or double array trie table
|
19526
|
-
(\fBTABLE_DAT_KEY\fP). You can also use fast prefix search against
|
19527
|
-
\fB_key\fP pseudo column of patricia trie table or double array trie
|
19528
|
-
table. You don\(aqt need to index \fB_key\fP.
|
19615
|
+
So the expression \fB1 + 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19616
|
+
.SS Subtraction assignment operator
|
19529
19617
|
.sp
|
19530
|
-
|
19531
|
-
records scan. It\(aqs not problem for small records but it spends more
|
19532
|
-
time for large records.
|
19618
|
+
Its syntax is \fBcolumn1 \-= column2\fP.
|
19533
19619
|
.sp
|
19534
|
-
|
19620
|
+
The operator performs subtraction assginment operation on column1 by column2.
|
19535
19621
|
.sp
|
19536
19622
|
Execution example:
|
19537
19623
|
.sp
|
19538
19624
|
.nf
|
19539
19625
|
.ft C
|
19540
|
-
select Entries \-\-filter \(
|
19626
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score \-= n_likes\(aq
|
19541
19627
|
# [
|
19542
19628
|
# [
|
19543
19629
|
# 0,
|
@@ -19547,19 +19633,46 @@ select Entries \-\-filter \(aq_key @^ "Goo"\(aq \-\-output_columns _key
|
|
19547
19633
|
# [
|
19548
19634
|
# [
|
19549
19635
|
# [
|
19550
|
-
#
|
19636
|
+
# 5
|
19551
19637
|
# ],
|
19552
19638
|
# [
|
19553
19639
|
# [
|
19554
19640
|
# "_key",
|
19555
19641
|
# "ShortText"
|
19642
|
+
# ],
|
19643
|
+
# [
|
19644
|
+
# "n_likes",
|
19645
|
+
# "UInt32"
|
19646
|
+
# ],
|
19647
|
+
# [
|
19648
|
+
# "_score",
|
19649
|
+
# "Int32"
|
19556
19650
|
# ]
|
19557
19651
|
# ],
|
19558
19652
|
# [
|
19559
|
-
# "Good\-bye
|
19653
|
+
# "Good\-bye Senna",
|
19654
|
+
# 3,
|
19655
|
+
# \-2
|
19560
19656
|
# ],
|
19561
19657
|
# [
|
19562
|
-
# "Good\-bye
|
19658
|
+
# "Good\-bye Tritonn",
|
19659
|
+
# 3,
|
19660
|
+
# \-2
|
19661
|
+
# ],
|
19662
|
+
# [
|
19663
|
+
# "Groonga",
|
19664
|
+
# 10,
|
19665
|
+
# \-9
|
19666
|
+
# ],
|
19667
|
+
# [
|
19668
|
+
# "Mroonga",
|
19669
|
+
# 15,
|
19670
|
+
# \-14
|
19671
|
+
# ],
|
19672
|
+
# [
|
19673
|
+
# "The first post!",
|
19674
|
+
# 5,
|
19675
|
+
# \-4
|
19563
19676
|
# ]
|
19564
19677
|
# ]
|
19565
19678
|
# ]
|
@@ -19567,61 +19680,24 @@ select Entries \-\-filter \(aq_key @^ "Goo"\(aq \-\-output_columns _key
|
|
19567
19680
|
.ft P
|
19568
19681
|
.fi
|
19569
19682
|
.sp
|
19570
|
-
The
|
19571
|
-
|
19572
|
-
\fBGood\-bye Tritonn\fP are matched with the expression.
|
19573
|
-
.SS Suffix search operator
|
19574
|
-
.sp
|
19575
|
-
Its syntax is \fBcolumn @$ value\fP.
|
19683
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19684
|
+
then performs subtraction assignment operation such as \(aq_score = _score \- n_likes\(aq for each records.
|
19576
19685
|
.sp
|
19577
|
-
|
19578
|
-
|
19686
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19687
|
+
is 3.
|
19579
19688
|
.sp
|
19580
|
-
|
19581
|
-
|
19582
|
-
(\fBTABLE_PAT_KEY\fP) with \fBKEY_WITH_SIS\fP flag. You can also use fast
|
19583
|
-
suffix search against \fB_key\fP pseudo column of patricia trie table
|
19584
|
-
(\fBTABLE_PAT_KEY\fP) with \fBKEY_WITH_SIS\fP flag. You don\(aqt need to
|
19585
|
-
index \fB_key\fP. We recommended that you use index column based fast
|
19586
|
-
suffix search instead of \fB_key\fP based fast suffix search. \fB_key\fP
|
19587
|
-
based fast suffix search returns automatically registered
|
19588
|
-
substrings. (TODO: write document about suffix search and link to it
|
19589
|
-
from here.)
|
19590
|
-
.IP Note
|
19591
|
-
Fast suffix search can be used only for non\-ASCII characters such
|
19592
|
-
as hiragana in Japanese. You cannot use fast suffix search for
|
19593
|
-
ASCII character.
|
19594
|
-
.RE
|
19689
|
+
So the expression \fB1 \- 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19690
|
+
.SS Multiplication assignment operator
|
19595
19691
|
.sp
|
19596
|
-
|
19597
|
-
table without \fBKEY_WITH_SIS\fP flag but it causes all records
|
19598
|
-
scan. It\(aqs not problem for small records but it spends more time for
|
19599
|
-
large records.
|
19692
|
+
Its syntax is \fBcolumn1 *= column2\fP.
|
19600
19693
|
.sp
|
19601
|
-
|
19602
|
-
Japanese that is one of non\-ASCII characters.
|
19694
|
+
The operator performs multiplication assginment operation on column1 by column2.
|
19603
19695
|
.sp
|
19604
19696
|
Execution example:
|
19605
19697
|
.sp
|
19606
19698
|
.nf
|
19607
19699
|
.ft C
|
19608
|
-
|
19609
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19610
|
-
column_create Titles content COLUMN_SCALAR ShortText
|
19611
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19612
|
-
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
19613
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19614
|
-
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
19615
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
19616
|
-
load \-\-table Titles
|
19617
|
-
[
|
19618
|
-
{"content": "ぐるんが"},
|
19619
|
-
{"content": "むるんが"},
|
19620
|
-
{"content": "せな"},
|
19621
|
-
{"content": "とりとん"}
|
19622
|
-
]
|
19623
|
-
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
19624
|
-
select Titles \-\-query \(aqcontent:$んが\(aq
|
19700
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score *= n_likes\(aq
|
19625
19701
|
# [
|
19626
19702
|
# [
|
19627
19703
|
# 0,
|
@@ -19631,41 +19707,720 @@ select Titles \-\-query \(aqcontent:$んが\(aq
|
|
19631
19707
|
# [
|
19632
19708
|
# [
|
19633
19709
|
# [
|
19634
|
-
#
|
19710
|
+
# 5
|
19635
19711
|
# ],
|
19636
19712
|
# [
|
19637
19713
|
# [
|
19638
|
-
# "
|
19714
|
+
# "_key",
|
19715
|
+
# "ShortText"
|
19716
|
+
# ],
|
19717
|
+
# [
|
19718
|
+
# "n_likes",
|
19639
19719
|
# "UInt32"
|
19640
19720
|
# ],
|
19641
19721
|
# [
|
19642
|
-
# "
|
19643
|
-
# "
|
19722
|
+
# "_score",
|
19723
|
+
# "Int32"
|
19644
19724
|
# ]
|
19645
19725
|
# ],
|
19646
19726
|
# [
|
19647
|
-
#
|
19648
|
-
#
|
19727
|
+
# "Good\-bye Senna",
|
19728
|
+
# 3,
|
19729
|
+
# 3
|
19649
19730
|
# ],
|
19650
19731
|
# [
|
19651
|
-
#
|
19652
|
-
#
|
19653
|
-
#
|
19654
|
-
#
|
19655
|
-
#
|
19656
|
-
#
|
19657
|
-
|
19658
|
-
|
19659
|
-
|
19660
|
-
|
19661
|
-
|
19662
|
-
|
19663
|
-
|
19664
|
-
|
19665
|
-
|
19666
|
-
|
19667
|
-
|
19668
|
-
|
19732
|
+
# "Good\-bye Tritonn",
|
19733
|
+
# 3,
|
19734
|
+
# 3
|
19735
|
+
# ],
|
19736
|
+
# [
|
19737
|
+
# "Groonga",
|
19738
|
+
# 10,
|
19739
|
+
# 10
|
19740
|
+
# ],
|
19741
|
+
# [
|
19742
|
+
# "Mroonga",
|
19743
|
+
# 15,
|
19744
|
+
# 15
|
19745
|
+
# ],
|
19746
|
+
# [
|
19747
|
+
# "The first post!",
|
19748
|
+
# 5,
|
19749
|
+
# 5
|
19750
|
+
# ]
|
19751
|
+
# ]
|
19752
|
+
# ]
|
19753
|
+
# ]
|
19754
|
+
.ft P
|
19755
|
+
.fi
|
19756
|
+
.sp
|
19757
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19758
|
+
then performs subtraction assignment operation such as \(aq_score = _score * n_likes\(aq for each records.
|
19759
|
+
.sp
|
19760
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19761
|
+
is 3.
|
19762
|
+
.sp
|
19763
|
+
So the expression \fB1 * 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19764
|
+
.SS Division assignment operator
|
19765
|
+
.sp
|
19766
|
+
Its syntax is \fBcolumn1 /= column2\fP.
|
19767
|
+
.sp
|
19768
|
+
The operator performs division assginment operation on column1 by column2.
|
19769
|
+
.sp
|
19770
|
+
Execution example:
|
19771
|
+
.sp
|
19772
|
+
.nf
|
19773
|
+
.ft C
|
19774
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score /= n_likes\(aq
|
19775
|
+
# [
|
19776
|
+
# [
|
19777
|
+
# 0,
|
19778
|
+
# 1337566253.89858,
|
19779
|
+
# 0.000355720520019531
|
19780
|
+
# ],
|
19781
|
+
# [
|
19782
|
+
# [
|
19783
|
+
# [
|
19784
|
+
# 5
|
19785
|
+
# ],
|
19786
|
+
# [
|
19787
|
+
# [
|
19788
|
+
# "_key",
|
19789
|
+
# "ShortText"
|
19790
|
+
# ],
|
19791
|
+
# [
|
19792
|
+
# "n_likes",
|
19793
|
+
# "UInt32"
|
19794
|
+
# ],
|
19795
|
+
# [
|
19796
|
+
# "_score",
|
19797
|
+
# "Int32"
|
19798
|
+
# ]
|
19799
|
+
# ],
|
19800
|
+
# [
|
19801
|
+
# "Good\-bye Senna",
|
19802
|
+
# 3,
|
19803
|
+
# 0
|
19804
|
+
# ],
|
19805
|
+
# [
|
19806
|
+
# "Good\-bye Tritonn",
|
19807
|
+
# 3,
|
19808
|
+
# 0
|
19809
|
+
# ],
|
19810
|
+
# [
|
19811
|
+
# "Groonga",
|
19812
|
+
# 10,
|
19813
|
+
# 0
|
19814
|
+
# ],
|
19815
|
+
# [
|
19816
|
+
# "Mroonga",
|
19817
|
+
# 15,
|
19818
|
+
# 0
|
19819
|
+
# ],
|
19820
|
+
# [
|
19821
|
+
# "The first post!",
|
19822
|
+
# 5,
|
19823
|
+
# 0
|
19824
|
+
# ]
|
19825
|
+
# ]
|
19826
|
+
# ]
|
19827
|
+
# ]
|
19828
|
+
.ft P
|
19829
|
+
.fi
|
19830
|
+
.sp
|
19831
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19832
|
+
then performs subtraction assignment operation such as \(aq_score = _score / n_likes\(aq for each records.
|
19833
|
+
.sp
|
19834
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19835
|
+
is 3.
|
19836
|
+
.sp
|
19837
|
+
So the expression \fB1 / 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19838
|
+
.SS Modulo assignment operator
|
19839
|
+
.sp
|
19840
|
+
Its syntax is \fBcolumn1 %= column2\fP.
|
19841
|
+
.sp
|
19842
|
+
The operator performs modulo assginment operation on column1 by column2.
|
19843
|
+
.sp
|
19844
|
+
Execution example:
|
19845
|
+
.sp
|
19846
|
+
.nf
|
19847
|
+
.ft C
|
19848
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score %= n_likes\(aq
|
19849
|
+
# [
|
19850
|
+
# [
|
19851
|
+
# 0,
|
19852
|
+
# 1337566253.89858,
|
19853
|
+
# 0.000355720520019531
|
19854
|
+
# ],
|
19855
|
+
# [
|
19856
|
+
# [
|
19857
|
+
# [
|
19858
|
+
# 5
|
19859
|
+
# ],
|
19860
|
+
# [
|
19861
|
+
# [
|
19862
|
+
# "_key",
|
19863
|
+
# "ShortText"
|
19864
|
+
# ],
|
19865
|
+
# [
|
19866
|
+
# "n_likes",
|
19867
|
+
# "UInt32"
|
19868
|
+
# ],
|
19869
|
+
# [
|
19870
|
+
# "_score",
|
19871
|
+
# "Int32"
|
19872
|
+
# ]
|
19873
|
+
# ],
|
19874
|
+
# [
|
19875
|
+
# "Good\-bye Senna",
|
19876
|
+
# 3,
|
19877
|
+
# 1
|
19878
|
+
# ],
|
19879
|
+
# [
|
19880
|
+
# "Good\-bye Tritonn",
|
19881
|
+
# 3,
|
19882
|
+
# 1
|
19883
|
+
# ],
|
19884
|
+
# [
|
19885
|
+
# "Groonga",
|
19886
|
+
# 10,
|
19887
|
+
# 1
|
19888
|
+
# ],
|
19889
|
+
# [
|
19890
|
+
# "Mroonga",
|
19891
|
+
# 15,
|
19892
|
+
# 1
|
19893
|
+
# ],
|
19894
|
+
# [
|
19895
|
+
# "The first post!",
|
19896
|
+
# 5,
|
19897
|
+
# 1
|
19898
|
+
# ]
|
19899
|
+
# ]
|
19900
|
+
# ]
|
19901
|
+
# ]
|
19902
|
+
.ft P
|
19903
|
+
.fi
|
19904
|
+
.sp
|
19905
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19906
|
+
then performs subtraction assignment operation such as \(aq_score = _score % n_likes\(aq for each records.
|
19907
|
+
.sp
|
19908
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19909
|
+
is 3.
|
19910
|
+
.sp
|
19911
|
+
So the expression \fB1 % 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19912
|
+
.SS Bitwise left shift assignment operator
|
19913
|
+
.sp
|
19914
|
+
Its syntax is \fBcolumn1 <<= column2\fP.
|
19915
|
+
.sp
|
19916
|
+
The operator performs left shift assginment operation on column1 by column2.
|
19917
|
+
.sp
|
19918
|
+
Execution example:
|
19919
|
+
.sp
|
19920
|
+
.nf
|
19921
|
+
.ft C
|
19922
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score <<= n_likes\(aq
|
19923
|
+
# [
|
19924
|
+
# [
|
19925
|
+
# 0,
|
19926
|
+
# 1337566253.89858,
|
19927
|
+
# 0.000355720520019531
|
19928
|
+
# ],
|
19929
|
+
# [
|
19930
|
+
# [
|
19931
|
+
# [
|
19932
|
+
# 5
|
19933
|
+
# ],
|
19934
|
+
# [
|
19935
|
+
# [
|
19936
|
+
# "_key",
|
19937
|
+
# "ShortText"
|
19938
|
+
# ],
|
19939
|
+
# [
|
19940
|
+
# "n_likes",
|
19941
|
+
# "UInt32"
|
19942
|
+
# ],
|
19943
|
+
# [
|
19944
|
+
# "_score",
|
19945
|
+
# "Int32"
|
19946
|
+
# ]
|
19947
|
+
# ],
|
19948
|
+
# [
|
19949
|
+
# "Good\-bye Senna",
|
19950
|
+
# 3,
|
19951
|
+
# 8
|
19952
|
+
# ],
|
19953
|
+
# [
|
19954
|
+
# "Good\-bye Tritonn",
|
19955
|
+
# 3,
|
19956
|
+
# 8
|
19957
|
+
# ],
|
19958
|
+
# [
|
19959
|
+
# "Groonga",
|
19960
|
+
# 10,
|
19961
|
+
# 1024
|
19962
|
+
# ],
|
19963
|
+
# [
|
19964
|
+
# "Mroonga",
|
19965
|
+
# 15,
|
19966
|
+
# 32768
|
19967
|
+
# ],
|
19968
|
+
# [
|
19969
|
+
# "The first post!",
|
19970
|
+
# 5,
|
19971
|
+
# 32
|
19972
|
+
# ]
|
19973
|
+
# ]
|
19974
|
+
# ]
|
19975
|
+
# ]
|
19976
|
+
.ft P
|
19977
|
+
.fi
|
19978
|
+
.sp
|
19979
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
19980
|
+
then performs subtraction assignment operation such as \(aq_score = _score << n_likes\(aq for each records.
|
19981
|
+
.sp
|
19982
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
19983
|
+
is 3.
|
19984
|
+
.sp
|
19985
|
+
So the expression \fB1 << 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
19986
|
+
.SS Bitwise signed right shift assignment operator
|
19987
|
+
.sp
|
19988
|
+
Its syntax is \fBcolumn2 >>= column2\fP.
|
19989
|
+
.sp
|
19990
|
+
The operator performs signed right shift assginment operation on column1 by column2.
|
19991
|
+
.SS Bitwise unsigned right shift assignment operator
|
19992
|
+
.sp
|
19993
|
+
Its syntax is \fBcolumn1 >>>= column2\fP.
|
19994
|
+
.sp
|
19995
|
+
The operator performs unsigned right shift assginment operation on column1 by column2.
|
19996
|
+
.SS Bitwise AND assignment operator
|
19997
|
+
.sp
|
19998
|
+
Its syntax is \fBcolumn1 &= column2\fP.
|
19999
|
+
.sp
|
20000
|
+
The operator performs bitwise AND assignment operation on column1 by column2.
|
20001
|
+
.sp
|
20002
|
+
Execution example:
|
20003
|
+
.sp
|
20004
|
+
.nf
|
20005
|
+
.ft C
|
20006
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score &= n_likes\(aq
|
20007
|
+
# [
|
20008
|
+
# [
|
20009
|
+
# 0,
|
20010
|
+
# 1337566253.89858,
|
20011
|
+
# 0.000355720520019531
|
20012
|
+
# ],
|
20013
|
+
# [
|
20014
|
+
# [
|
20015
|
+
# [
|
20016
|
+
# 5
|
20017
|
+
# ],
|
20018
|
+
# [
|
20019
|
+
# [
|
20020
|
+
# "_key",
|
20021
|
+
# "ShortText"
|
20022
|
+
# ],
|
20023
|
+
# [
|
20024
|
+
# "n_likes",
|
20025
|
+
# "UInt32"
|
20026
|
+
# ],
|
20027
|
+
# [
|
20028
|
+
# "_score",
|
20029
|
+
# "Int32"
|
20030
|
+
# ]
|
20031
|
+
# ],
|
20032
|
+
# [
|
20033
|
+
# "Good\-bye Senna",
|
20034
|
+
# 3,
|
20035
|
+
# 1
|
20036
|
+
# ],
|
20037
|
+
# [
|
20038
|
+
# "Good\-bye Tritonn",
|
20039
|
+
# 3,
|
20040
|
+
# 1
|
20041
|
+
# ],
|
20042
|
+
# [
|
20043
|
+
# "Groonga",
|
20044
|
+
# 10,
|
20045
|
+
# 0
|
20046
|
+
# ],
|
20047
|
+
# [
|
20048
|
+
# "Mroonga",
|
20049
|
+
# 15,
|
20050
|
+
# 1
|
20051
|
+
# ],
|
20052
|
+
# [
|
20053
|
+
# "The first post!",
|
20054
|
+
# 5,
|
20055
|
+
# 1
|
20056
|
+
# ]
|
20057
|
+
# ]
|
20058
|
+
# ]
|
20059
|
+
# ]
|
20060
|
+
.ft P
|
20061
|
+
.fi
|
20062
|
+
.sp
|
20063
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
20064
|
+
then performs subtraction assignment operation such as \(aq_score = _score & n_likes\(aq for each records.
|
20065
|
+
.sp
|
20066
|
+
For example, the value of \fB_score\fP about the record which stores "Groonga" as the \fB_key\fP
|
20067
|
+
is 10.
|
20068
|
+
.sp
|
20069
|
+
So the expression \fB1 & 10\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
20070
|
+
.SS Bitwise OR assignment operator
|
20071
|
+
.sp
|
20072
|
+
Its syntax is \fBcolumn1 |= column2\fP.
|
20073
|
+
.sp
|
20074
|
+
The operator performs bitwise OR assignment operation on column1 by column2.
|
20075
|
+
.sp
|
20076
|
+
Execution example:
|
20077
|
+
.sp
|
20078
|
+
.nf
|
20079
|
+
.ft C
|
20080
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score |= n_likes\(aq
|
20081
|
+
# [
|
20082
|
+
# [
|
20083
|
+
# 0,
|
20084
|
+
# 1337566253.89858,
|
20085
|
+
# 0.000355720520019531
|
20086
|
+
# ],
|
20087
|
+
# [
|
20088
|
+
# [
|
20089
|
+
# [
|
20090
|
+
# 5
|
20091
|
+
# ],
|
20092
|
+
# [
|
20093
|
+
# [
|
20094
|
+
# "_key",
|
20095
|
+
# "ShortText"
|
20096
|
+
# ],
|
20097
|
+
# [
|
20098
|
+
# "n_likes",
|
20099
|
+
# "UInt32"
|
20100
|
+
# ],
|
20101
|
+
# [
|
20102
|
+
# "_score",
|
20103
|
+
# "Int32"
|
20104
|
+
# ]
|
20105
|
+
# ],
|
20106
|
+
# [
|
20107
|
+
# "Good\-bye Senna",
|
20108
|
+
# 3,
|
20109
|
+
# 3
|
20110
|
+
# ],
|
20111
|
+
# [
|
20112
|
+
# "Good\-bye Tritonn",
|
20113
|
+
# 3,
|
20114
|
+
# 3
|
20115
|
+
# ],
|
20116
|
+
# [
|
20117
|
+
# "Groonga",
|
20118
|
+
# 10,
|
20119
|
+
# 11
|
20120
|
+
# ],
|
20121
|
+
# [
|
20122
|
+
# "Mroonga",
|
20123
|
+
# 15,
|
20124
|
+
# 15
|
20125
|
+
# ],
|
20126
|
+
# [
|
20127
|
+
# "The first post!",
|
20128
|
+
# 5,
|
20129
|
+
# 5
|
20130
|
+
# ]
|
20131
|
+
# ]
|
20132
|
+
# ]
|
20133
|
+
# ]
|
20134
|
+
.ft P
|
20135
|
+
.fi
|
20136
|
+
.sp
|
20137
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
20138
|
+
then performs subtraction assignment operation such as \(aq_score = _score | n_likes\(aq for each records.
|
20139
|
+
.sp
|
20140
|
+
For example, the value of \fB_score\fP about the record which stores "Groonga" as the \fB_key\fP
|
20141
|
+
is 10.
|
20142
|
+
.sp
|
20143
|
+
So the expression \fB1 | 10\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
20144
|
+
.SS Bitwise XOR assignment operator
|
20145
|
+
.sp
|
20146
|
+
Its syntax is \fBcolumn1 ^= column2\fP.
|
20147
|
+
.sp
|
20148
|
+
The operator performs bitwise XOR assginment operation on column1 by column2.
|
20149
|
+
.sp
|
20150
|
+
Execution example:
|
20151
|
+
.sp
|
20152
|
+
.nf
|
20153
|
+
.ft C
|
20154
|
+
select Entries \-\-output_columns _key,n_likes,_score \-\-filter true \-\-scorer \(aq_score ^= n_likes\(aq
|
20155
|
+
# [
|
20156
|
+
# [
|
20157
|
+
# 0,
|
20158
|
+
# 1337566253.89858,
|
20159
|
+
# 0.000355720520019531
|
20160
|
+
# ],
|
20161
|
+
# [
|
20162
|
+
# [
|
20163
|
+
# [
|
20164
|
+
# 5
|
20165
|
+
# ],
|
20166
|
+
# [
|
20167
|
+
# [
|
20168
|
+
# "_key",
|
20169
|
+
# "ShortText"
|
20170
|
+
# ],
|
20171
|
+
# [
|
20172
|
+
# "n_likes",
|
20173
|
+
# "UInt32"
|
20174
|
+
# ],
|
20175
|
+
# [
|
20176
|
+
# "_score",
|
20177
|
+
# "Int32"
|
20178
|
+
# ]
|
20179
|
+
# ],
|
20180
|
+
# [
|
20181
|
+
# "Good\-bye Senna",
|
20182
|
+
# 3,
|
20183
|
+
# 2
|
20184
|
+
# ],
|
20185
|
+
# [
|
20186
|
+
# "Good\-bye Tritonn",
|
20187
|
+
# 3,
|
20188
|
+
# 2
|
20189
|
+
# ],
|
20190
|
+
# [
|
20191
|
+
# "Groonga",
|
20192
|
+
# 10,
|
20193
|
+
# 11
|
20194
|
+
# ],
|
20195
|
+
# [
|
20196
|
+
# "Mroonga",
|
20197
|
+
# 15,
|
20198
|
+
# 14
|
20199
|
+
# ],
|
20200
|
+
# [
|
20201
|
+
# "The first post!",
|
20202
|
+
# 5,
|
20203
|
+
# 4
|
20204
|
+
# ]
|
20205
|
+
# ]
|
20206
|
+
# ]
|
20207
|
+
# ]
|
20208
|
+
.ft P
|
20209
|
+
.fi
|
20210
|
+
.sp
|
20211
|
+
The value of \fB_score\fP by \fB\-\-filter\fP is always 1 in this case,
|
20212
|
+
then performs subtraction assignment operation such as \(aq_score = _score ^ n_likes\(aq for each records.
|
20213
|
+
.sp
|
20214
|
+
For example, the value of \fB_score\fP about the record which stores "Good\-bye Senna" as the \fB_key\fP
|
20215
|
+
is 3.
|
20216
|
+
.sp
|
20217
|
+
So the expression \fB1 ^ 3\fP is evaluated and stored to \fB_score\fP column as the execution result.
|
20218
|
+
.SS Original operators
|
20219
|
+
.sp
|
20220
|
+
Script syntax adds the original binary opearators to ECMAScript
|
20221
|
+
syntax. They operate search specific operations. They are starts with
|
20222
|
+
\fB@\fP or \fB*\fP.
|
20223
|
+
.SS Match operator
|
20224
|
+
.sp
|
20225
|
+
Its syntax is \fBcolumn @ value\fP.
|
20226
|
+
.sp
|
20227
|
+
The operator searches \fBvalue\fP by inverted index of \fBcolumn\fP.
|
20228
|
+
Normally, full text search is operated but tag search can be operated.
|
20229
|
+
Because tag search is also implemented by inverted index.
|
20230
|
+
.sp
|
20231
|
+
\fBquery_syntax\fP uses this operator by default.
|
20232
|
+
.sp
|
20233
|
+
Here is a simple exmaple.
|
20234
|
+
.sp
|
20235
|
+
Execution example:
|
20236
|
+
.sp
|
20237
|
+
.nf
|
20238
|
+
.ft C
|
20239
|
+
select Entries \-\-filter \(aqcontent @ "fast"\(aq \-\-output_columns content
|
20240
|
+
# [
|
20241
|
+
# [
|
20242
|
+
# 0,
|
20243
|
+
# 1337566253.89858,
|
20244
|
+
# 0.000355720520019531
|
20245
|
+
# ],
|
20246
|
+
# [
|
20247
|
+
# [
|
20248
|
+
# [
|
20249
|
+
# 2
|
20250
|
+
# ],
|
20251
|
+
# [
|
20252
|
+
# [
|
20253
|
+
# "content",
|
20254
|
+
# "Text"
|
20255
|
+
# ]
|
20256
|
+
# ],
|
20257
|
+
# [
|
20258
|
+
# "I started to use groonga. It\(aqs very fast!"
|
20259
|
+
# ],
|
20260
|
+
# [
|
20261
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!"
|
20262
|
+
# ]
|
20263
|
+
# ]
|
20264
|
+
# ]
|
20265
|
+
# ]
|
20266
|
+
.ft P
|
20267
|
+
.fi
|
20268
|
+
.sp
|
20269
|
+
The expression matches records that contain a word \fBfast\fP in
|
20270
|
+
\fBcontent\fP column value.
|
20271
|
+
.SS Prefix search operator
|
20272
|
+
.sp
|
20273
|
+
Its syntax is \fBcolumn @^ value\fP.
|
20274
|
+
.sp
|
20275
|
+
The operator does prefix search with \fBvalue\fP. Prefix search searches
|
20276
|
+
records that contain a word that starts with \fBvalue\fP.
|
20277
|
+
.sp
|
20278
|
+
You can use fast prefix search against a column. The column must be
|
20279
|
+
indexed and index table must be patricia trie table
|
20280
|
+
(\fBTABLE_PAT_KEY\fP) or double array trie table
|
20281
|
+
(\fBTABLE_DAT_KEY\fP). You can also use fast prefix search against
|
20282
|
+
\fB_key\fP pseudo column of patricia trie table or double array trie
|
20283
|
+
table. You don\(aqt need to index \fB_key\fP.
|
20284
|
+
.sp
|
20285
|
+
Prefix search can be used with other table types but it causes all
|
20286
|
+
records scan. It\(aqs not problem for small records but it spends more
|
20287
|
+
time for large records.
|
20288
|
+
.sp
|
20289
|
+
Here is a simple exmaple.
|
20290
|
+
.sp
|
20291
|
+
Execution example:
|
20292
|
+
.sp
|
20293
|
+
.nf
|
20294
|
+
.ft C
|
20295
|
+
select Entries \-\-filter \(aq_key @^ "Goo"\(aq \-\-output_columns _key
|
20296
|
+
# [
|
20297
|
+
# [
|
20298
|
+
# 0,
|
20299
|
+
# 1337566253.89858,
|
20300
|
+
# 0.000355720520019531
|
20301
|
+
# ],
|
20302
|
+
# [
|
20303
|
+
# [
|
20304
|
+
# [
|
20305
|
+
# 2
|
20306
|
+
# ],
|
20307
|
+
# [
|
20308
|
+
# [
|
20309
|
+
# "_key",
|
20310
|
+
# "ShortText"
|
20311
|
+
# ]
|
20312
|
+
# ],
|
20313
|
+
# [
|
20314
|
+
# "Good\-bye Tritonn"
|
20315
|
+
# ],
|
20316
|
+
# [
|
20317
|
+
# "Good\-bye Senna"
|
20318
|
+
# ]
|
20319
|
+
# ]
|
20320
|
+
# ]
|
20321
|
+
# ]
|
20322
|
+
.ft P
|
20323
|
+
.fi
|
20324
|
+
.sp
|
20325
|
+
The expression matches records that contain a word that starts with
|
20326
|
+
\fBGoo\fP in \fB_key\fP pseudo column value. \fBGood\-bye Senna\fP and
|
20327
|
+
\fBGood\-bye Tritonn\fP are matched with the expression.
|
20328
|
+
.SS Suffix search operator
|
20329
|
+
.sp
|
20330
|
+
Its syntax is \fBcolumn @$ value\fP.
|
20331
|
+
.sp
|
20332
|
+
This operator does suffix search with \fBvalue\fP. Suffix search
|
20333
|
+
searches records that contain a word that ends with \fBvalue\fP.
|
20334
|
+
.sp
|
20335
|
+
You can use fast suffix search against a column. The column must be
|
20336
|
+
indexed and index table must be patricia trie table
|
20337
|
+
(\fBTABLE_PAT_KEY\fP) with \fBKEY_WITH_SIS\fP flag. You can also use fast
|
20338
|
+
suffix search against \fB_key\fP pseudo column of patricia trie table
|
20339
|
+
(\fBTABLE_PAT_KEY\fP) with \fBKEY_WITH_SIS\fP flag. You don\(aqt need to
|
20340
|
+
index \fB_key\fP. We recommended that you use index column based fast
|
20341
|
+
suffix search instead of \fB_key\fP based fast suffix search. \fB_key\fP
|
20342
|
+
based fast suffix search returns automatically registered
|
20343
|
+
substrings. (TODO: write document about suffix search and link to it
|
20344
|
+
from here.)
|
20345
|
+
.IP Note
|
20346
|
+
Fast suffix search can be used only for non\-ASCII characters such
|
20347
|
+
as hiragana in Japanese. You cannot use fast suffix search for
|
20348
|
+
ASCII character.
|
20349
|
+
.RE
|
20350
|
+
.sp
|
20351
|
+
Suffix search can be used with other table types or patricia trie
|
20352
|
+
table without \fBKEY_WITH_SIS\fP flag but it causes all records
|
20353
|
+
scan. It\(aqs not problem for small records but it spends more time for
|
20354
|
+
large records.
|
20355
|
+
.sp
|
20356
|
+
Here is a simple exmaple. It uses fast suffix search for hiragana in
|
20357
|
+
Japanese that is one of non\-ASCII characters.
|
20358
|
+
.sp
|
20359
|
+
Execution example:
|
20360
|
+
.sp
|
20361
|
+
.nf
|
20362
|
+
.ft C
|
20363
|
+
table_create Titles TABLE_NO_KEY
|
20364
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20365
|
+
column_create Titles content COLUMN_SCALAR ShortText
|
20366
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20367
|
+
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
20368
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20369
|
+
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
20370
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
20371
|
+
load \-\-table Titles
|
20372
|
+
[
|
20373
|
+
{"content": "ぐるんが"},
|
20374
|
+
{"content": "むるんが"},
|
20375
|
+
{"content": "せな"},
|
20376
|
+
{"content": "とりとん"}
|
20377
|
+
]
|
20378
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
20379
|
+
select Titles \-\-query \(aqcontent:$んが\(aq
|
20380
|
+
# [
|
20381
|
+
# [
|
20382
|
+
# 0,
|
20383
|
+
# 1337566253.89858,
|
20384
|
+
# 0.000355720520019531
|
20385
|
+
# ],
|
20386
|
+
# [
|
20387
|
+
# [
|
20388
|
+
# [
|
20389
|
+
# 2
|
20390
|
+
# ],
|
20391
|
+
# [
|
20392
|
+
# [
|
20393
|
+
# "_id",
|
20394
|
+
# "UInt32"
|
20395
|
+
# ],
|
20396
|
+
# [
|
20397
|
+
# "content",
|
20398
|
+
# "ShortText"
|
20399
|
+
# ]
|
20400
|
+
# ],
|
20401
|
+
# [
|
20402
|
+
# 2,
|
20403
|
+
# "むるんが"
|
20404
|
+
# ],
|
20405
|
+
# [
|
20406
|
+
# 1,
|
20407
|
+
# "ぐるんが"
|
20408
|
+
# ]
|
20409
|
+
# ]
|
20410
|
+
# ]
|
20411
|
+
# ]
|
20412
|
+
.ft P
|
20413
|
+
.fi
|
20414
|
+
.sp
|
20415
|
+
The expression matches records that have value that ends with \fBんが\fP
|
20416
|
+
in \fBcontent\fP column value. \fBぐるんが\fP and \fBむるんが\fP are matched
|
20417
|
+
with the expression.
|
20418
|
+
.SS Near search operator
|
20419
|
+
.sp
|
20420
|
+
Its syntax is \fBcolumn *N "word1 word2 ..."\fP.
|
20421
|
+
.sp
|
20422
|
+
The operator does near search with words \fBword1 word2 ...\fP. Near
|
20423
|
+
search searches records that contain the words and the words are
|
19669
20424
|
appeared in the near distance. Near distance is always \fB10\fP for
|
19670
20425
|
now. The unit of near distance is the number of characters in N\-gram
|
19671
20426
|
family tokenizers and the number of words in morphological analysis
|
@@ -20646,9 +21401,13 @@ by combination of multiple \fBquery\fP function.
|
|
20646
21401
|
.sp
|
20647
21402
|
\fBquery\fP requires two arguments \- \fBmatch_column\fP and \fBquery_string\fP.
|
20648
21403
|
.sp
|
21404
|
+
The parameter \fBquery_expander\fP or \fBsubstitution_table\fP is optional.
|
21405
|
+
.sp
|
20649
21406
|
.nf
|
20650
21407
|
.ft C
|
20651
21408
|
query(match_column, query_string)
|
21409
|
+
query(match_column, query_string, query_expander)
|
21410
|
+
query(match_column, query_string, substitution_table)
|
20652
21411
|
.ft P
|
20653
21412
|
.fi
|
20654
21413
|
.SS Usage
|
@@ -20881,6 +21640,7 @@ On the other hand, by specifying multiple \fBquery\fP, the keywords
|
|
20881
21640
|
As a result, you can control full text search result by giving different weight to the
|
20882
21641
|
keywords on your purpose.
|
20883
21642
|
.SS Parameters
|
21643
|
+
.SS Required parameter
|
20884
21644
|
.sp
|
20885
21645
|
There are two required parameter, \fBmatch_column\fP and \fBquery_string\fP.
|
20886
21646
|
.SS \fBmatch_column\fP
|
@@ -20899,14 +21659,28 @@ It specifies \fBquery\fP equivalent parameter.
|
|
20899
21659
|
.UNINDENT
|
20900
21660
|
.sp
|
20901
21661
|
See \fIselect\-query\fP about query string.
|
21662
|
+
.SS Optional parameter
|
21663
|
+
.sp
|
21664
|
+
There is a optional parameter, \fBapproximate_type\fP.
|
21665
|
+
.SS \fBquery_expander\fP
|
21666
|
+
.sp
|
21667
|
+
It specifies the plugin name for query expansion.
|
21668
|
+
.sp
|
21669
|
+
There is one plugin bundled in official release \- \fB/reference/query_expanders/tsv\fP.
|
21670
|
+
.sp
|
21671
|
+
See \fB/reference/query_expanders/tsv\fP about details.
|
21672
|
+
.SS \fBsubstitution_table\fP
|
21673
|
+
.sp
|
21674
|
+
It specifies the substitution table and substitution column name
|
21675
|
+
by following format such as \fB${TABLE}.${COLUMN}\fP for query expansion.
|
21676
|
+
.sp
|
21677
|
+
See \fIquery\-expander\fP about details.
|
20902
21678
|
.SS Return value
|
20903
21679
|
.sp
|
20904
21680
|
\fBquery\fP returns a value of boolean (true or false).
|
20905
21681
|
.SS TODO
|
20906
21682
|
.INDENT 0.0
|
20907
21683
|
.IP \(bu 2
|
20908
|
-
Support query_expansion
|
20909
|
-
.IP \(bu 2
|
20910
21684
|
Support query_flags
|
20911
21685
|
.UNINDENT
|
20912
21686
|
.SS See also
|
@@ -21218,8 +21992,33 @@ Execution example:
|
|
21218
21992
|
.sp
|
21219
21993
|
.nf
|
21220
21994
|
.ft C
|
21221
|
-
select Blog \-\-output_columns _key \e
|
21222
|
-
|
21995
|
+
select Blog \-\-output_columns _key \-\-filter "comments.name @ \e"A\e" && comments.content @ \e"groonga\e""
|
21996
|
+
# [
|
21997
|
+
# [
|
21998
|
+
# 0,
|
21999
|
+
# 1337566253.89858,
|
22000
|
+
# 0.000355720520019531
|
22001
|
+
# ],
|
22002
|
+
# [
|
22003
|
+
# [
|
22004
|
+
# [
|
22005
|
+
# 2
|
22006
|
+
# ],
|
22007
|
+
# [
|
22008
|
+
# [
|
22009
|
+
# "_key",
|
22010
|
+
# "ShortText"
|
22011
|
+
# ]
|
22012
|
+
# ],
|
22013
|
+
# [
|
22014
|
+
# "groonga\(aqs blog"
|
22015
|
+
# ],
|
22016
|
+
# [
|
22017
|
+
# "mroonga\(aqs blog"
|
22018
|
+
# ]
|
22019
|
+
# ]
|
22020
|
+
# ]
|
22021
|
+
# ]
|
21223
22022
|
.ft P
|
21224
22023
|
.fi
|
21225
22024
|
.sp
|
@@ -21238,7 +22037,7 @@ Execution example:
|
|
21238
22037
|
.sp
|
21239
22038
|
.nf
|
21240
22039
|
.ft C
|
21241
|
-
select Blog \-\-output_columns _key \e
|
22040
|
+
select Blog \-\-output_columns _key \-\-filter \(aqsub_filter(comments, "name @ \e\e"A\e\e" && content @ \e\e"groonga\e\e"")\(aq
|
21242
22041
|
# [
|
21243
22042
|
# [
|
21244
22043
|
# 0,
|
@@ -21248,7 +22047,7 @@ select Blog \-\-output_columns _key \e
|
|
21248
22047
|
# [
|
21249
22048
|
# [
|
21250
22049
|
# [
|
21251
|
-
#
|
22050
|
+
# 1
|
21252
22051
|
# ],
|
21253
22052
|
# [
|
21254
22053
|
# [
|
@@ -21258,14 +22057,10 @@ select Blog \-\-output_columns _key \e
|
|
21258
22057
|
# ],
|
21259
22058
|
# [
|
21260
22059
|
# "groonga\(aqs blog"
|
21261
|
-
# ],
|
21262
|
-
# [
|
21263
|
-
# "mroonga\(aqs blog"
|
21264
22060
|
# ]
|
21265
22061
|
# ]
|
21266
22062
|
# ]
|
21267
22063
|
# ]
|
21268
|
-
\-\-filter \(aqsub_filter(comments, "name @ \e\e"A\e\e" && content @ \e\e"groonga\e\e"")\(aq
|
21269
22064
|
.ft P
|
21270
22065
|
.fi
|
21271
22066
|
.sp
|