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
@@ -8,13 +8,15 @@ Fedora
|
|
8
8
|
This section describes how to install groonga related RPM packages on
|
9
9
|
Fedora. You can install them by ``yum``.
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
.. note::
|
12
|
+
|
13
|
+
Since groonga 3.0.2 release, Groonga related RPM pakcages are in the official
|
14
|
+
Fedora yum repository (Fedora 18). So you can use them instead of the groonga yum
|
15
|
+
repository now. There is some exceptions to use the groonga yum
|
16
|
+
repository because ``groonga-normalizer-mysql`` and mecab dictionaries
|
17
|
+
(mecab-ipadic or mecab-jumandic) are provided by
|
18
|
+
the groonga yum repository. But we will also plan to release
|
19
|
+
``groonga-normalizer-mysql`` in the official Fedora yum repository in the future.
|
18
20
|
|
19
21
|
We distribute both 32-bit and 64-bit packages but we strongly
|
20
22
|
recommend a 64-bit package for server. You should use a 32-bit package
|
@@ -29,9 +31,14 @@ Fedora 18
|
|
29
31
|
|
30
32
|
Install::
|
31
33
|
|
34
|
+
% sudo yum install -y groonga
|
35
|
+
|
36
|
+
Note that additional packages such as ``groonga-normalizer-mysql``,
|
37
|
+
``mecab-dic`` and ``mecab-jumandic`` packages require to install
|
38
|
+
``groonga-release`` package which provides the groonga yum repository beforehand::
|
39
|
+
|
32
40
|
% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-release-1.1.0-1.noarch.rpm
|
33
41
|
% sudo yum update
|
34
|
-
% sudo yum install -y groonga
|
35
42
|
|
36
43
|
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
37
44
|
tokenizer, install groonga-tokenizer-mecab package.
|
@@ -75,9 +82,9 @@ Install required packages to build groonga::
|
|
75
82
|
|
76
83
|
Download source::
|
77
84
|
|
78
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
79
|
-
% tar xvzf groonga-3.0.
|
80
|
-
% cd groonga-3.0.
|
85
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
|
86
|
+
% tar xvzf groonga-3.0.3.tar.gz
|
87
|
+
% cd groonga-3.0.3
|
81
88
|
|
82
89
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
83
90
|
|
@@ -40,9 +40,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
|
|
40
40
|
|
41
41
|
Download source::
|
42
42
|
|
43
|
-
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.
|
44
|
-
% tar xvzf groonga-3.0.
|
45
|
-
% cd groonga-3.0.
|
43
|
+
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
|
44
|
+
% tar xvzf groonga-3.0.3.tar.gz
|
45
|
+
% cd groonga-3.0.3
|
46
46
|
|
47
47
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
48
48
|
|
@@ -74,9 +74,9 @@ Build from source
|
|
74
74
|
Groonga uses GNU build system. So the following is the simplest build
|
75
75
|
steps::
|
76
76
|
|
77
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
78
|
-
% tar xvzf groonga-3.0.
|
79
|
-
% cd groonga-3.0.
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
|
78
|
+
% tar xvzf groonga-3.0.3.tar.gz
|
79
|
+
% cd groonga-3.0.3
|
80
80
|
% ./configure
|
81
81
|
% make
|
82
82
|
% sudo make install
|
@@ -17,9 +17,9 @@ Install required packages to build groonga::
|
|
17
17
|
|
18
18
|
Download source::
|
19
19
|
|
20
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
21
|
-
% gtar xvzf groonga-3.0.
|
22
|
-
% cd groonga-3.0.
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
|
21
|
+
% gtar xvzf groonga-3.0.3.tar.gz
|
22
|
+
% cd groonga-3.0.3
|
23
23
|
|
24
24
|
Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
|
25
25
|
needed for building 64-bit version. To build 32-bit version, just
|
@@ -200,6 +200,53 @@ There is a package that provides MySQL compatible normalizer as
|
|
200
200
|
groonga plugins.
|
201
201
|
If you want to use that one, install groonga-normalizer-mysql package.
|
202
202
|
|
203
|
+
Install groonga-normalizer-mysql package::
|
204
|
+
|
205
|
+
% sudo apt-get -y install groonga-normalizer-mysql
|
206
|
+
|
207
|
+
13.04 Raring Ringtail
|
208
|
+
---------------------
|
209
|
+
|
210
|
+
.. note::
|
211
|
+
|
212
|
+
Enable the universe repository to install groonga::
|
213
|
+
|
214
|
+
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
215
|
+
% sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list
|
216
|
+
|
217
|
+
Add the groonga apt repository.
|
218
|
+
|
219
|
+
/etc/apt/sources.list.d/groonga.list::
|
220
|
+
|
221
|
+
deb http://packages.groonga.org/ubuntu/ raring universe
|
222
|
+
deb-src http://packages.groonga.org/ubuntu/ raring universe
|
223
|
+
|
224
|
+
Install::
|
225
|
+
|
226
|
+
% sudo apt-get update
|
227
|
+
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
|
228
|
+
% sudo apt-get update
|
229
|
+
% sudo apt-get -y install groonga
|
230
|
+
|
231
|
+
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
232
|
+
tokenizer, install groonga-tokenizer-mecab package.
|
233
|
+
|
234
|
+
Install groonga-tokenizer-mecab package::
|
235
|
+
|
236
|
+
% sudo apt-get -y install groonga-tokenizer-mecab
|
237
|
+
|
238
|
+
There is a package that provides `Munin
|
239
|
+
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
|
240
|
+
groonga status by Munin, install groonga-munin-plugins package.
|
241
|
+
|
242
|
+
Install groonga-munin-plugins package::
|
243
|
+
|
244
|
+
% sudo apt-get -y install groonga-munin-plugins
|
245
|
+
|
246
|
+
There is a package that provides MySQL compatible normalizer as
|
247
|
+
groonga plugins.
|
248
|
+
If you want to use that one, install groonga-normalizer-mysql package.
|
249
|
+
|
203
250
|
Install groonga-normalizer-mysql package::
|
204
251
|
|
205
252
|
% sudo apt-get -y install groonga-normalizer-mysql
|
@@ -213,9 +260,9 @@ Install required packages to build groonga::
|
|
213
260
|
|
214
261
|
Download source::
|
215
262
|
|
216
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
217
|
-
% tar xvzf groonga-3.0.
|
218
|
-
% cd groonga-3.0.
|
263
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz
|
264
|
+
% tar xvzf groonga-3.0.3.tar.gz
|
265
|
+
% cd groonga-3.0.3
|
219
266
|
|
220
267
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
221
268
|
|
@@ -23,7 +23,7 @@ You can download such a binary by command line operation.
|
|
23
23
|
|
24
24
|
Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
|
25
25
|
|
26
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
26
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x86.exe
|
27
27
|
|
28
28
|
Then run it.
|
29
29
|
|
@@ -32,7 +32,7 @@ For 64-bit environment, download x64 executable binary from packages.groonga.org
|
|
32
32
|
|
33
33
|
Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
|
34
34
|
|
35
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
35
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x64.exe
|
36
36
|
|
37
37
|
Then run it.
|
38
38
|
|
@@ -47,7 +47,7 @@ You can download such a binary by command line operation.
|
|
47
47
|
|
48
48
|
Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
|
49
49
|
|
50
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
50
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x86.zip
|
51
51
|
|
52
52
|
Then extract it.
|
53
53
|
|
@@ -55,7 +55,7 @@ For 64-bit environment, download x64 zip archive from packages.groonga.org.
|
|
55
55
|
|
56
56
|
Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
|
57
57
|
|
58
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
58
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.3-x64.zip
|
59
59
|
|
60
60
|
Then extract it.
|
61
61
|
|
@@ -79,37 +79,37 @@ Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
|
79
79
|
Visual Studio 2010 Express and download it by default browser::
|
80
80
|
|
81
81
|
> cd c:\Users\%USERNAME%\Downloads
|
82
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.
|
82
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.3.zip
|
83
83
|
|
84
84
|
Then extract it.
|
85
85
|
|
86
86
|
Move to the groonga's source folder::
|
87
87
|
|
88
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.
|
88
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.3
|
89
89
|
|
90
90
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
91
91
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
92
92
|
parameter instead::
|
93
93
|
|
94
|
-
groonga-3.0.
|
94
|
+
groonga-3.0.3> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
95
95
|
|
96
96
|
Build by Visual C++ 2010 Express::
|
97
97
|
|
98
|
-
groonga-3.0.
|
98
|
+
groonga-3.0.3> msbuild groonga.sln /p:Configuration=Release
|
99
99
|
|
100
100
|
Install by Visual C++ 2010 Express::
|
101
101
|
|
102
|
-
groonga-3.0.
|
102
|
+
groonga-3.0.3> msbuild groonga.sln /p:Configuration=Release /t:Install
|
103
103
|
|
104
104
|
If you installed Visual Studio 2010, use can use devenv instead.
|
105
105
|
|
106
106
|
Build by Visual Studio 2010::
|
107
107
|
|
108
|
-
groonga-3.0.
|
108
|
+
groonga-3.0.3> devenv groonga.sln /Build Release
|
109
109
|
|
110
110
|
Install by Visual Studio 2010::
|
111
111
|
|
112
|
-
groonga-3.0.
|
112
|
+
groonga-3.0.3> devenv groonga.sln /Build Release /Project Install
|
113
113
|
|
114
114
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
115
115
|
``c:\groonga\bin\groonga.exe``.
|
@@ -5,6 +5,26 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-3-0-3:
|
9
|
+
|
10
|
+
Release 3.0.3 - 2013/04/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* [suggest] Supported to learn with the value of customized weight
|
17
|
+
by using ``configuration.weight`` configuration.
|
18
|
+
* Improved performance of geo-location search. For example,
|
19
|
+
``geo_in_rectangle`` is executed about 10% faster than ever.
|
20
|
+
* [rpm][centos] Added ``additional_configure_options`` parameter
|
21
|
+
for building customized groonga without changing spec file.
|
22
|
+
* Supported KyTea 0.4.5.
|
23
|
+
* Supported vector index access by "vector[N]" syntax.
|
24
|
+
* Added ``--default-tokenizer`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
|
25
|
+
* Added ``--help`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
|
26
|
+
* Supported Ubuntu 13.04 Raring Ringtail.
|
27
|
+
|
8
28
|
.. _release-3-0-2:
|
9
29
|
|
10
30
|
Release 3.0.2 - 2013/03/29
|
@@ -27,9 +27,13 @@ Syntax
|
|
27
27
|
|
28
28
|
``query`` requires two arguments - ``match_column`` and ``query_string``.
|
29
29
|
|
30
|
+
The parameter ``query_expander`` or ``substitution_table`` is optional.
|
31
|
+
|
30
32
|
::
|
31
33
|
|
32
34
|
query(match_column, query_string)
|
35
|
+
query(match_column, query_string, query_expander)
|
36
|
+
query(match_column, query_string, substitution_table)
|
33
37
|
|
34
38
|
|
35
39
|
Usage
|
@@ -102,22 +106,48 @@ keywords on your purpose.
|
|
102
106
|
Parameters
|
103
107
|
----------
|
104
108
|
|
109
|
+
Required parameter
|
110
|
+
^^^^^^^^^^^^^^^^^^
|
111
|
+
|
105
112
|
There are two required parameter, ``match_column`` and ``query_string``.
|
106
113
|
|
107
114
|
``match_column``
|
108
|
-
|
115
|
+
""""""""""""""""
|
109
116
|
|
110
117
|
It specifies ``match_column`` equivalent parameter.
|
111
118
|
|
112
119
|
See :ref:`select-match-columns` about match_column.
|
113
120
|
|
114
121
|
``query_string``
|
115
|
-
|
122
|
+
""""""""""""""""
|
116
123
|
|
117
124
|
It specifies ``query`` equivalent parameter.
|
118
125
|
|
119
126
|
See :ref:`select-query` about query string.
|
120
127
|
|
128
|
+
Optional parameter
|
129
|
+
^^^^^^^^^^^^^^^^^^
|
130
|
+
|
131
|
+
There is a optional parameter, ``approximate_type``.
|
132
|
+
|
133
|
+
``query_expander``
|
134
|
+
""""""""""""""""""
|
135
|
+
|
136
|
+
It specifies the plugin name for query expansion.
|
137
|
+
|
138
|
+
There is one plugin bundled in official release - :doc:`/reference/query_expanders/tsv`.
|
139
|
+
|
140
|
+
See :doc:`/reference/query_expanders/tsv` about details.
|
141
|
+
|
142
|
+
|
143
|
+
``substitution_table``
|
144
|
+
""""""""""""""""""""""
|
145
|
+
|
146
|
+
It specifies the substitution table and substitution column name
|
147
|
+
by following format such as ``${TABLE}.${COLUMN}`` for query expansion.
|
148
|
+
|
149
|
+
See :ref:`query-expander` about details.
|
150
|
+
|
121
151
|
Return value
|
122
152
|
------------
|
123
153
|
|
@@ -126,7 +156,6 @@ Return value
|
|
126
156
|
TODO
|
127
157
|
----
|
128
158
|
|
129
|
-
* Support query_expansion
|
130
159
|
* Support query_flags
|
131
160
|
|
132
161
|
See also
|
@@ -70,8 +70,7 @@ Here is the simple usage of ``sub_filter`` function which extracts the blog entr
|
|
70
70
|
|
71
71
|
.. groonga-command
|
72
72
|
.. include:: ../../example/reference/functions/sub_filter/usage_without_sub_filter.log
|
73
|
-
.. select Blog --output_columns _key \
|
74
|
-
.. --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
|
73
|
+
.. select Blog --output_columns _key --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
|
75
74
|
|
76
75
|
When executing above query, not only "groonga's blog", but also "mroonga's blog".
|
77
76
|
This is not what you want because user "A" does not mention "groonga" to "mroonga's blog".
|
@@ -83,8 +82,7 @@ Without sub_filter, it means that following conditions are met.
|
|
83
82
|
|
84
83
|
.. groonga-command
|
85
84
|
.. include:: ../../example/reference/functions/sub_filter/usage_with_sub_filter.log
|
86
|
-
.. select Blog --output_columns _key
|
87
|
-
.. --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
|
85
|
+
.. select Blog --output_columns _key --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
|
88
86
|
|
89
87
|
On the other hand, executing above query returns the intended result.
|
90
88
|
Because the arguments of sub_filter is evaluated in comments column's context.
|
@@ -580,7 +580,191 @@ TODO: ...
|
|
580
580
|
Assignment operators
|
581
581
|
--------------------
|
582
582
|
|
583
|
-
|
583
|
+
|
584
|
+
Addition assignment operator
|
585
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
586
|
+
|
587
|
+
Its syntax is ``column1 += column2``.
|
588
|
+
|
589
|
+
The operator performs addition assginment operation on column1 by column2.
|
590
|
+
|
591
|
+
.. groonga-command
|
592
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_addition_assignment_operator.log
|
593
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score += n_likes'
|
594
|
+
|
595
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
596
|
+
then performs addition assignment operation such as '_score = _score + n_likes' for each records.
|
597
|
+
|
598
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
599
|
+
is 3.
|
600
|
+
|
601
|
+
So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result.
|
602
|
+
|
603
|
+
Subtraction assignment operator
|
604
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
605
|
+
|
606
|
+
Its syntax is ``column1 -= column2``.
|
607
|
+
|
608
|
+
The operator performs subtraction assginment operation on column1 by column2.
|
609
|
+
|
610
|
+
.. groonga-command
|
611
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_subtraction_assignment_operator.log
|
612
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score -= n_likes'
|
613
|
+
|
614
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
615
|
+
then performs subtraction assignment operation such as '_score = _score - n_likes' for each records.
|
616
|
+
|
617
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
618
|
+
is 3.
|
619
|
+
|
620
|
+
So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result.
|
621
|
+
|
622
|
+
Multiplication assignment operator
|
623
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
624
|
+
|
625
|
+
Its syntax is ``column1 *= column2``.
|
626
|
+
|
627
|
+
The operator performs multiplication assginment operation on column1 by column2.
|
628
|
+
|
629
|
+
.. groonga-command
|
630
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_multiplication_assignment_operator.log
|
631
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score *= n_likes'
|
632
|
+
|
633
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
634
|
+
then performs subtraction assignment operation such as '_score = _score * n_likes' for each records.
|
635
|
+
|
636
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
637
|
+
is 3.
|
638
|
+
|
639
|
+
So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result.
|
640
|
+
|
641
|
+
Division assignment operator
|
642
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
643
|
+
|
644
|
+
Its syntax is ``column1 /= column2``.
|
645
|
+
|
646
|
+
The operator performs division assginment operation on column1 by column2.
|
647
|
+
|
648
|
+
.. groonga-command
|
649
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_division_assignment_operator.log
|
650
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score /= n_likes'
|
651
|
+
|
652
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
653
|
+
then performs subtraction assignment operation such as '_score = _score / n_likes' for each records.
|
654
|
+
|
655
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
656
|
+
is 3.
|
657
|
+
|
658
|
+
So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result.
|
659
|
+
|
660
|
+
Modulo assignment operator
|
661
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
662
|
+
|
663
|
+
Its syntax is ``column1 %= column2``.
|
664
|
+
|
665
|
+
The operator performs modulo assginment operation on column1 by column2.
|
666
|
+
|
667
|
+
.. groonga-command
|
668
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_modulo_assignment_operator.log
|
669
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score %= n_likes'
|
670
|
+
|
671
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
672
|
+
then performs subtraction assignment operation such as '_score = _score % n_likes' for each records.
|
673
|
+
|
674
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
675
|
+
is 3.
|
676
|
+
|
677
|
+
So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result.
|
678
|
+
|
679
|
+
Bitwise left shift assignment operator
|
680
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
681
|
+
|
682
|
+
Its syntax is ``column1 <<= column2``.
|
683
|
+
|
684
|
+
The operator performs left shift assginment operation on column1 by column2.
|
685
|
+
|
686
|
+
.. groonga-command
|
687
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_left_shift_assignment_operator.log
|
688
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score <<= n_likes'
|
689
|
+
|
690
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
691
|
+
then performs subtraction assignment operation such as '_score = _score << n_likes' for each records.
|
692
|
+
|
693
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
694
|
+
is 3.
|
695
|
+
|
696
|
+
So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result.
|
697
|
+
|
698
|
+
Bitwise signed right shift assignment operator
|
699
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
700
|
+
|
701
|
+
Its syntax is ``column2 >>= column2``.
|
702
|
+
|
703
|
+
The operator performs signed right shift assginment operation on column1 by column2.
|
704
|
+
|
705
|
+
Bitwise unsigned right shift assignment operator
|
706
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
707
|
+
|
708
|
+
Its syntax is ``column1 >>>= column2``.
|
709
|
+
|
710
|
+
The operator performs unsigned right shift assginment operation on column1 by column2.
|
711
|
+
|
712
|
+
Bitwise AND assignment operator
|
713
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
714
|
+
|
715
|
+
Its syntax is ``column1 &= column2``.
|
716
|
+
|
717
|
+
The operator performs bitwise AND assignment operation on column1 by column2.
|
718
|
+
|
719
|
+
.. groonga-command
|
720
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_and_assignment_operator.log
|
721
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score &= n_likes'
|
722
|
+
|
723
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
724
|
+
then performs subtraction assignment operation such as '_score = _score & n_likes' for each records.
|
725
|
+
|
726
|
+
For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
|
727
|
+
is 10.
|
728
|
+
|
729
|
+
So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result.
|
730
|
+
|
731
|
+
Bitwise OR assignment operator
|
732
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
733
|
+
|
734
|
+
Its syntax is ``column1 |= column2``.
|
735
|
+
|
736
|
+
The operator performs bitwise OR assignment operation on column1 by column2.
|
737
|
+
|
738
|
+
.. groonga-command
|
739
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_or_assignment_operator.log
|
740
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score |= n_likes'
|
741
|
+
|
742
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
743
|
+
then performs subtraction assignment operation such as '_score = _score | n_likes' for each records.
|
744
|
+
|
745
|
+
For example, the value of ``_score`` about the record which stores "Groonga" as the ``_key``
|
746
|
+
is 10.
|
747
|
+
|
748
|
+
So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result.
|
749
|
+
|
750
|
+
Bitwise XOR assignment operator
|
751
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
752
|
+
|
753
|
+
Its syntax is ``column1 ^= column2``.
|
754
|
+
|
755
|
+
The operator performs bitwise XOR assginment operation on column1 by column2.
|
756
|
+
|
757
|
+
.. groonga-command
|
758
|
+
.. include:: ../../example/reference/grn_expr/script_syntax/simple_xor_assignment_operator.log
|
759
|
+
.. select Entries --output_columns _key,n_likes,_score --filter true --scorer '_score ^= n_likes'
|
760
|
+
|
761
|
+
The value of ``_score`` by ``--filter`` is always 1 in this case,
|
762
|
+
then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records.
|
763
|
+
|
764
|
+
For example, the value of ``_score`` about the record which stores "Good-bye Senna" as the ``_key``
|
765
|
+
is 3.
|
766
|
+
|
767
|
+
So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result.
|
584
768
|
|
585
769
|
Original operators
|
586
770
|
------------------
|