rroonga 3.0.2-x86-mingw32 → 3.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +30 -1
- data/ext/groonga/extconf.rb +49 -26
- data/ext/groonga/rb-grn-array.c +56 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +3 -3
- data/ext/groonga/rb-grn-expression.c +14 -9
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-operator.c +10 -3
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-table.c +71 -25
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable.c +17 -4
- data/ext/groonga/rb-grn.h +2 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/record.rb +9 -2
- data/lib/groonga/sub-records.rb +62 -0
- data/rroonga-build.rb +2 -1
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +35 -0
- data/test/test-context.rb +2 -1
- data/test/test-database.rb +2 -1
- data/test/test-expression.rb +14 -4
- data/test/test-sub-records.rb +109 -0
- data/test/test-table.rb +104 -0
- 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 -2
- 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/contribution/development/release.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 +3 -3
- 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 +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- 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 +6 -6
- 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 +11 -10
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- 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 +8 -8
- 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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +187 -137
- 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 +11 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.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 +5 -5
- 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 +5 -5
- 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 +16 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
- 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 +5 -5
- 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/tokenize.html +514 -7
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
- 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 +11 -10
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -49
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +53 -44
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.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 +10 -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 +8 -8
- 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 +29 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -12
- 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/contribution/development/release.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 +3 -3
- 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 +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -8
- 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 +6 -6
- 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 +25 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +21 -13
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -11
- 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 +38 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -10
- data/vendor/local/share/doc/groonga/ja/html/news.html +885 -481
- 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 +280 -146
- 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 +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +17 -11
- 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 +9 -7
- 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 +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- 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 +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- 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 +20 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- 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 +12 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +43 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- 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/tokenize.html +558 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +9 -7
- 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 +10 -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 +11 -10
- 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 +11 -8
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +53 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -8
- 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 +15 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +41 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.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 +83 -46
- 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 +41 -23
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +71 -38
- 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 +55 -30
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +19 -12
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +27 -16
- 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 +17 -11
- 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 +24 -16
- 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 +31 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -12
- 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 +847 -160
- data/vendor/local/share/man/man1/groonga.1 +826 -97
- metadata +10 -2
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.11.
|
10
|
+
<title>8.11.9. snippet_html — groonga v3.0.5 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga v3.0.
|
28
|
+
<link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.11. Function" href="../function.html" />
|
30
|
-
<link rel="next" title="8.11.
|
31
|
-
<link rel="prev" title="8.11.
|
30
|
+
<link rel="next" title="8.11.10. sub_filter" href="sub_filter.html" />
|
31
|
+
<link rel="prev" title="8.11.8. rand" href="rand.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="sub_filter.html" title="8.11.
|
58
|
+
<a href="sub_filter.html" title="8.11.10. sub_filter"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="rand.html" title="8.11.
|
61
|
+
<a href="rand.html" title="8.11.8. rand"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga v3.0.
|
63
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../function.html" accesskey="U">8.11. Function</a> »</li>
|
66
66
|
</ul>
|
@@ -72,13 +72,13 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="snippet-html">
|
75
|
-
<h1>8.11.
|
75
|
+
<h1>8.11.9. snippet_html<a class="headerlink" href="#snippet-html" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="admonition caution">
|
77
77
|
<p class="first admonition-title">Caution</p>
|
78
78
|
<p class="last">This feature is experimental. API will be changed.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="summary">
|
81
|
-
<h2>8.11.
|
81
|
+
<h2>8.11.9.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> extracts snippets of target text around search
|
83
83
|
keywords (<tt class="docutils literal"><span class="pre">KWIC</span></tt>. <tt class="docutils literal"><span class="pre">KeyWord</span> <span class="pre">In</span> <span class="pre">Context</span></tt>). The snippets are prepared
|
84
84
|
for embedding HTML. Special characters such as <tt class="docutils literal"><span class="pre"><</span></tt> and <tt class="docutils literal"><span class="pre">></span></tt> are
|
@@ -88,7 +88,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
88
88
|
<span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></tt>.</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="syntax">
|
91
|
-
<h2>8.11.
|
91
|
+
<h2>8.11.9.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
92
92
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> has only one parameter:</p>
|
93
93
|
<div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
|
94
94
|
</pre></div>
|
@@ -97,7 +97,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
97
97
|
specified for now. You will be able to custom those parameters soon.</p>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="usage">
|
100
|
-
<h2>8.11.
|
100
|
+
<h2>8.11.9.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
101
101
|
<p>Here are a schema definition and sample data to show usage.</p>
|
102
102
|
<p>Execution example:</p>
|
103
103
|
<div class="highlight-none"><div class="highlight"><pre>table_create Documents TABLE_NO_KEY
|
@@ -199,7 +199,7 @@ aren't customizable.</p>
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div class="section" id="return-value">
|
202
|
-
<h2>8.11.
|
202
|
+
<h2>8.11.9.4. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
203
203
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> returns an array of string. An element of array is a
|
204
204
|
snippet:</p>
|
205
205
|
<div class="highlight-none"><div class="highlight"><pre>[SNIPPET1, SNIPPET2, SNIPPET3]
|
@@ -212,7 +212,7 @@ snippet except <tt class="docutils literal"><span class="pre"><span</span> <s
|
|
212
212
|
to 3. The max size 3 will be customizable soon.</p>
|
213
213
|
</div>
|
214
214
|
<div class="section" id="todo">
|
215
|
-
<h2>8.11.
|
215
|
+
<h2>8.11.9.5. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
216
216
|
<ul class="simple">
|
217
217
|
<li>Make the max number of text parts customizable.</li>
|
218
218
|
<li>Make the max size of a text part customizable.</li>
|
@@ -223,7 +223,7 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
223
223
|
</ul>
|
224
224
|
</div>
|
225
225
|
<div class="section" id="see-also">
|
226
|
-
<h2>8.11.
|
226
|
+
<h2>8.11.9.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
227
227
|
<ul class="simple">
|
228
228
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
229
229
|
</ul>
|
@@ -238,23 +238,23 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
238
238
|
<div class="sphinxsidebarwrapper">
|
239
239
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
240
240
|
<ul>
|
241
|
-
<li><a class="reference internal" href="#">8.11.
|
242
|
-
<li><a class="reference internal" href="#summary">8.11.
|
243
|
-
<li><a class="reference internal" href="#syntax">8.11.
|
244
|
-
<li><a class="reference internal" href="#usage">8.11.
|
245
|
-
<li><a class="reference internal" href="#return-value">8.11.
|
246
|
-
<li><a class="reference internal" href="#todo">8.11.
|
247
|
-
<li><a class="reference internal" href="#see-also">8.11.
|
241
|
+
<li><a class="reference internal" href="#">8.11.9. snippet_html</a><ul>
|
242
|
+
<li><a class="reference internal" href="#summary">8.11.9.1. Summary</a></li>
|
243
|
+
<li><a class="reference internal" href="#syntax">8.11.9.2. Syntax</a></li>
|
244
|
+
<li><a class="reference internal" href="#usage">8.11.9.3. Usage</a></li>
|
245
|
+
<li><a class="reference internal" href="#return-value">8.11.9.4. Return value</a></li>
|
246
|
+
<li><a class="reference internal" href="#todo">8.11.9.5. TODO</a></li>
|
247
|
+
<li><a class="reference internal" href="#see-also">8.11.9.6. See also</a></li>
|
248
248
|
</ul>
|
249
249
|
</li>
|
250
250
|
</ul>
|
251
251
|
|
252
252
|
<h4>Previous topic</h4>
|
253
253
|
<p class="topless"><a href="rand.html"
|
254
|
-
title="previous chapter">8.11.
|
254
|
+
title="previous chapter">8.11.8. rand</a></p>
|
255
255
|
<h4>Next topic</h4>
|
256
256
|
<p class="topless"><a href="sub_filter.html"
|
257
|
-
title="next chapter">8.11.
|
257
|
+
title="next chapter">8.11.10. sub_filter</a></p>
|
258
258
|
<h3>This Page</h3>
|
259
259
|
<ul class="this-page-menu">
|
260
260
|
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
@@ -284,12 +284,12 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
284
284
|
<a href="../../genindex.html" title="General Index"
|
285
285
|
>index</a></li>
|
286
286
|
<li class="right" >
|
287
|
-
<a href="sub_filter.html" title="8.11.
|
287
|
+
<a href="sub_filter.html" title="8.11.10. sub_filter"
|
288
288
|
>next</a> |</li>
|
289
289
|
<li class="right" >
|
290
|
-
<a href="rand.html" title="8.11.
|
290
|
+
<a href="rand.html" title="8.11.8. rand"
|
291
291
|
>previous</a> |</li>
|
292
|
-
<li><a href="../../index.html">groonga v3.0.
|
292
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
293
293
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
294
294
|
<li><a href="../function.html" >8.11. Function</a> »</li>
|
295
295
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.11.
|
10
|
+
<title>8.11.10. sub_filter — groonga v3.0.5 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga v3.0.
|
28
|
+
<link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.11. Function" href="../function.html" />
|
30
30
|
<link rel="next" title="8.12. Indexing" href="../indexing.html" />
|
31
|
-
<link rel="prev" title="8.11.
|
31
|
+
<link rel="prev" title="8.11.9. snippet_html" href="snippet_html.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -58,9 +58,9 @@
|
|
58
58
|
<a href="../indexing.html" title="8.12. Indexing"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="snippet_html.html" title="8.11.
|
61
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga v3.0.
|
63
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../function.html" accesskey="U">8.11. Function</a> »</li>
|
66
66
|
</ul>
|
@@ -72,21 +72,23 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="sub-filter">
|
75
|
-
<h1>8.11.
|
75
|
+
<h1>8.11.10. sub_filter<a class="headerlink" href="#sub-filter" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.11.
|
78
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> evaluates <tt class="docutils literal"><span class="pre">
|
79
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> can be used in only <tt class="docutils literal"><span class="pre">--filter</span></tt> in
|
77
|
+
<h2>8.11.10.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> evaluates <tt class="docutils literal"><span class="pre">filter_string</span></tt> in <tt class="docutils literal"><span class="pre">scope</span></tt> context.</p>
|
79
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> can be used in only <tt class="docutils literal"><span class="pre">--filter</span></tt> in
|
80
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
80
81
|
</div>
|
81
82
|
<div class="section" id="syntax">
|
82
|
-
<h2>8.11.
|
83
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> requires two arguments
|
84
|
-
<
|
83
|
+
<h2>8.11.10.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
84
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> requires two arguments. They are <tt class="docutils literal"><span class="pre">scope</span></tt> and
|
85
|
+
<tt class="docutils literal"><span class="pre">filter_string</span></tt>.</p>
|
86
|
+
<div class="highlight-none"><div class="highlight"><pre>sub_filter(scope, filter_string)
|
85
87
|
</pre></div>
|
86
88
|
</div>
|
87
89
|
</div>
|
88
90
|
<div class="section" id="usage">
|
89
|
-
<h2>8.11.
|
91
|
+
<h2>8.11.10.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
90
92
|
<p>Here are a schema definition and sample data to show usage.</p>
|
91
93
|
<p>Sample schema:</p>
|
92
94
|
<p>Execution example:</p>
|
@@ -169,7 +171,7 @@ load --table Blog
|
|
169
171
|
# ]
|
170
172
|
</pre></div>
|
171
173
|
</div>
|
172
|
-
<p>When executing above query, not only "groonga's blog", but also "mroonga's blog".
|
174
|
+
<p>When executing the above query, not only "groonga's blog", but also "mroonga's blog".
|
173
175
|
This is not what you want because user "A" does not mention "groonga" to "mroonga's blog".</p>
|
174
176
|
<p>Without sub_filter, it means that following conditions are met.</p>
|
175
177
|
<ul class="simple">
|
@@ -203,37 +205,44 @@ This is not what you want because user "A" does not mention "groo
|
|
203
205
|
# ]
|
204
206
|
</pre></div>
|
205
207
|
</div>
|
206
|
-
<p>On the other hand, executing above query returns the intended result.
|
208
|
+
<p>On the other hand, executing the above query returns the intended result.
|
207
209
|
Because the arguments of sub_filter is evaluated in comments column's context.</p>
|
208
|
-
<p>It means that sub_filter requires following condition is met.</p>
|
210
|
+
<p>It means that sub_filter requires the following condition is met.</p>
|
209
211
|
<ul class="simple">
|
210
212
|
<li>There are the records that user "A" mentions about "groonga".</li>
|
211
213
|
</ul>
|
212
214
|
</div>
|
213
215
|
<div class="section" id="parameters">
|
214
|
-
<h2>8.11.
|
215
|
-
<p>There are two required parameter, <tt class="docutils literal"><span class="pre">
|
216
|
-
<div class="section" id="
|
217
|
-
<h3>8.11.
|
218
|
-
<
|
219
|
-
<
|
220
|
-
|
216
|
+
<h2>8.11.10.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
217
|
+
<p>There are two required parameter, <tt class="docutils literal"><span class="pre">scope</span></tt> and <tt class="docutils literal"><span class="pre">filter_string</span></tt>.</p>
|
218
|
+
<div class="section" id="scope">
|
219
|
+
<h3>8.11.10.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt><a class="headerlink" href="#scope" title="Permalink to this headline">¶</a></h3>
|
220
|
+
<p>It specifies a column of the table that is specified by <tt class="docutils literal"><span class="pre">table</span></tt>
|
221
|
+
parameter in <tt class="docutils literal"><span class="pre">select</span></tt>. <tt class="docutils literal"><span class="pre">filter_string</span></tt> is evaluated in the column
|
222
|
+
context. It means that <tt class="docutils literal"><span class="pre">filter_string</span></tt> is evaluated like
|
223
|
+
<tt class="docutils literal"><span class="pre">select</span> <span class="pre">--table</span> <span class="pre">TYPE_OF_THE_COLUMN</span> <span class="pre">--filter</span> <span class="pre">FILTER_STRING</span></tt>.</p>
|
224
|
+
<p>The specified column type must be a table. In other words, the column
|
225
|
+
type must be reference type.</p>
|
226
|
+
<p>See <em class="xref std std-ref">select-table</em> about <tt class="docutils literal"><span class="pre">table</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
221
227
|
</div>
|
222
|
-
<div class="section" id="
|
223
|
-
<h3>8.11.
|
224
|
-
<
|
225
|
-
<
|
226
|
-
|
228
|
+
<div class="section" id="filter-string">
|
229
|
+
<h3>8.11.10.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt><a class="headerlink" href="#filter-string" title="Permalink to this headline">¶</a></h3>
|
230
|
+
<p>It specifies a search condition in
|
231
|
+
<a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. It is evaluated in <tt class="docutils literal"><span class="pre">scope</span></tt>
|
232
|
+
context.</p>
|
227
233
|
</div>
|
228
234
|
</div>
|
229
235
|
<div class="section" id="return-value">
|
230
|
-
<h2>8.11.
|
231
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> returns
|
236
|
+
<h2>8.11.10.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
237
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> returns whether any record is matched or not. If one or
|
238
|
+
more records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
|
239
|
+
<tt class="docutils literal"><span class="pre">false</span></tt>.</p>
|
232
240
|
</div>
|
233
241
|
<div class="section" id="see-also">
|
234
|
-
<h2>8.11.
|
242
|
+
<h2>8.11.10.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
235
243
|
<ul class="simple">
|
236
244
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
245
|
+
<li><a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a></li>
|
237
246
|
</ul>
|
238
247
|
</div>
|
239
248
|
</div>
|
@@ -246,24 +255,24 @@ Because the arguments of sub_filter is evaluated in comments column's context.</
|
|
246
255
|
<div class="sphinxsidebarwrapper">
|
247
256
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
248
257
|
<ul>
|
249
|
-
<li><a class="reference internal" href="#">8.11.
|
250
|
-
<li><a class="reference internal" href="#summary">8.11.
|
251
|
-
<li><a class="reference internal" href="#syntax">8.11.
|
252
|
-
<li><a class="reference internal" href="#usage">8.11.
|
253
|
-
<li><a class="reference internal" href="#parameters">8.11.
|
254
|
-
<li><a class="reference internal" href="#
|
255
|
-
<li><a class="reference internal" href="#
|
258
|
+
<li><a class="reference internal" href="#">8.11.10. sub_filter</a><ul>
|
259
|
+
<li><a class="reference internal" href="#summary">8.11.10.1. Summary</a></li>
|
260
|
+
<li><a class="reference internal" href="#syntax">8.11.10.2. Syntax</a></li>
|
261
|
+
<li><a class="reference internal" href="#usage">8.11.10.3. Usage</a></li>
|
262
|
+
<li><a class="reference internal" href="#parameters">8.11.10.4. Parameters</a><ul>
|
263
|
+
<li><a class="reference internal" href="#scope">8.11.10.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt></a></li>
|
264
|
+
<li><a class="reference internal" href="#filter-string">8.11.10.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt></a></li>
|
256
265
|
</ul>
|
257
266
|
</li>
|
258
|
-
<li><a class="reference internal" href="#return-value">8.11.
|
259
|
-
<li><a class="reference internal" href="#see-also">8.11.
|
267
|
+
<li><a class="reference internal" href="#return-value">8.11.10.5. Return value</a></li>
|
268
|
+
<li><a class="reference internal" href="#see-also">8.11.10.6. See also</a></li>
|
260
269
|
</ul>
|
261
270
|
</li>
|
262
271
|
</ul>
|
263
272
|
|
264
273
|
<h4>Previous topic</h4>
|
265
274
|
<p class="topless"><a href="snippet_html.html"
|
266
|
-
title="previous chapter">8.11.
|
275
|
+
title="previous chapter">8.11.9. snippet_html</a></p>
|
267
276
|
<h4>Next topic</h4>
|
268
277
|
<p class="topless"><a href="../indexing.html"
|
269
278
|
title="next chapter">8.12. Indexing</a></p>
|
@@ -299,9 +308,9 @@ Because the arguments of sub_filter is evaluated in comments column's context.</
|
|
299
308
|
<a href="../indexing.html" title="8.12. Indexing"
|
300
309
|
>next</a> |</li>
|
301
310
|
<li class="right" >
|
302
|
-
<a href="snippet_html.html" title="8.11.
|
311
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
303
312
|
>previous</a> |</li>
|
304
|
-
<li><a href="../../index.html">groonga v3.0.
|
313
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
305
314
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
306
315
|
<li><a href="../function.html" >8.11. Function</a> »</li>
|
307
316
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.10. grn_expr — groonga v3.0.
|
10
|
+
<title>8.10. grn_expr — groonga v3.0.5 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga v3.0.
|
28
|
+
<link rel="top" title="groonga v3.0.5 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
|
30
30
|
<link rel="next" title="8.10.1. Query syntax" href="grn_expr/query_syntax.html" />
|
31
31
|
<link rel="prev" title="8.9. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="pseudo_column.html" title="8.9. 疑似カラム (pseudo_column)"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">groonga v3.0.
|
63
|
+
<li><a href="../index.html">groonga v3.0.5 documentation</a> »</li>
|
64
64
|
<li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -179,7 +179,7 @@ parsing string.</p>
|
|
179
179
|
<li class="right" >
|
180
180
|
<a href="pseudo_column.html" title="8.9. 疑似カラム (pseudo_column)"
|
181
181
|
>previous</a> |</li>
|
182
|
-
<li><a href="../index.html">groonga v3.0.
|
182
|
+
<li><a href="../index.html">groonga v3.0.5 documentation</a> »</li>
|
183
183
|
<li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li>
|
184
184
|
</ul>
|
185
185
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.10.1. Query syntax — groonga v3.0.
|
10
|
+
<title>8.10.1. Query syntax — groonga v3.0.5 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga v3.0.
|
28
|
+
<link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.10. grn_expr" href="../grn_expr.html" />
|
30
30
|
<link rel="next" title="8.10.2. Script syntax" href="script_syntax.html" />
|
31
31
|
<link rel="prev" title="8.10. grn_expr" href="../grn_expr.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../grn_expr.html" title="8.10. grn_expr"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga v3.0.
|
63
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../grn_expr.html" accesskey="U">8.10. grn_expr</a> »</li>
|
66
66
|
</ul>
|
@@ -1351,7 +1351,7 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1351
1351
|
<li class="right" >
|
1352
1352
|
<a href="../grn_expr.html" title="8.10. grn_expr"
|
1353
1353
|
>previous</a> |</li>
|
1354
|
-
<li><a href="../../index.html">groonga v3.0.
|
1354
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
1355
1355
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1356
1356
|
<li><a href="../grn_expr.html" >8.10. grn_expr</a> »</li>
|
1357
1357
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.10.2. Script syntax — groonga v3.0.
|
10
|
+
<title>8.10.2. Script syntax — groonga v3.0.5 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga v3.0.
|
28
|
+
<link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.10. grn_expr" href="../grn_expr.html" />
|
30
30
|
<link rel="next" title="8.11. Function" href="../function.html" />
|
31
31
|
<link rel="prev" title="8.10.1. Query syntax" href="query_syntax.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="query_syntax.html" title="8.10.1. Query syntax"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga v3.0.
|
63
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../grn_expr.html" accesskey="U">8.10. grn_expr</a> »</li>
|
66
66
|
</ul>
|
@@ -2588,7 +2588,7 @@ are also normalized.</p>
|
|
2588
2588
|
<li class="right" >
|
2589
2589
|
<a href="query_syntax.html" title="8.10.1. Query syntax"
|
2590
2590
|
>previous</a> |</li>
|
2591
|
-
<li><a href="../../index.html">groonga v3.0.
|
2591
|
+
<li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li>
|
2592
2592
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
2593
2593
|
<li><a href="../grn_expr.html" >8.10. grn_expr</a> »</li>
|
2594
2594
|
</ul>
|