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ドキュメント</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
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.11. 関数" href="../function.html" />
|
31
|
-
<link rel="next" title="8.11.
|
32
|
-
<link rel="prev" title="8.11.
|
31
|
+
<link rel="next" title="8.11.10. sub_filter" href="sub_filter.html" />
|
32
|
+
<link rel="prev" title="8.11.8. rand" href="rand.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="sub_filter.html" title="8.11.
|
59
|
+
<a href="sub_filter.html" title="8.11.10. sub_filter"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="rand.html" title="8.11.
|
62
|
+
<a href="rand.html" title="8.11.8. rand"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">8.11. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -73,17 +73,17 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="snippet-html">
|
76
|
-
<h1>8.11.
|
76
|
+
<h1>8.11.9. snippet_html<a class="headerlink" href="#snippet-html" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="admonition caution">
|
78
78
|
<p class="first admonition-title">ご用心</p>
|
79
79
|
<p class="last">この機能は実験的です。APIが変わる可能性があります。</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="summary">
|
82
|
-
<h2>8.11.
|
82
|
+
<h2>8.11.9.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> は対象テキスト中から検索キーワード周辺のテキスト( <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> )を抽出します。抽出されたテキストのことをスニペットと呼びます。スニペットはHTML中に埋め込みやすいように処理されています。 <tt class="docutils literal"><span class="pre"><</span></tt> や <tt class="docutils literal"><span class="pre">></span></tt> などの特殊文字は <tt class="docutils literal"><span class="pre">&lt;</span></tt> や <tt class="docutils literal"><span class="pre">&gt;</span></tt> にエスケープされています。キーワードは <tt class="docutils literal"><span class="pre"><span</span> <span class="pre">class="keyword"></span></tt> と <tt class="docutils literal"><span class="pre"></span></span></tt> で囲まれています。たとえば、 <tt class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span> <span class="pre">groonga</span> <span class="pre">user.</span> <span class="pre"><3</span></tt> という対象テキストのキーワード <tt class="docutils literal"><span class="pre">groonga</span></tt> でのスニペットは <tt class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span> <span class="pre"><span</span> <span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></tt> となります。</p>
|
84
84
|
</div>
|
85
85
|
<div class="section" id="syntax">
|
86
|
-
<h2>8.11.
|
86
|
+
<h2>8.11.9.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
87
87
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> の引数は1つだけです:</p>
|
88
88
|
<div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
|
89
89
|
</pre></div>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> は内部にはたくさんのオプションがありますが、今はまだ指定できません。じきに指定できるようになる予定です。</p>
|
92
92
|
</div>
|
93
93
|
<div class="section" id="usage">
|
94
|
-
<h2>8.11.
|
94
|
+
<h2>8.11.9.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
95
95
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
96
96
|
<p>実行例:</p>
|
97
97
|
<div class="highlight-none"><div class="highlight"><pre>table_create Documents TABLE_NO_KEY
|
@@ -181,7 +181,7 @@ load --table Documents
|
|
181
181
|
</div>
|
182
182
|
</div>
|
183
183
|
<div class="section" id="return-value">
|
184
|
-
<h2>8.11.
|
184
|
+
<h2>8.11.9.4. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
185
185
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> は文字列の配列を返します。それぞれの要素がスニペットになります:</p>
|
186
186
|
<div class="highlight-none"><div class="highlight"><pre>[SNIPPET1, SNIPPET2, SNIPPET3]
|
187
187
|
</pre></div>
|
@@ -190,18 +190,24 @@ load --table Documents
|
|
190
190
|
<p>配列のサイズは0以上3以下です。最大サイズの3は、じきにカスタマイズできるようになる予定です。</p>
|
191
191
|
</div>
|
192
192
|
<div class="section" id="todo">
|
193
|
-
<h2>8.11.
|
193
|
+
<h2>8.11.9.5. TODO<a class="headerlink" href="#todo" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
194
194
|
<ul class="simple">
|
195
|
-
<li>テキストの断片の最大数をカスタマイズできるようにする。</
|
196
|
-
|
197
|
-
<li
|
198
|
-
|
199
|
-
<li
|
200
|
-
|
195
|
+
<li><p class="first">テキストの断片の最大数をカスタマイズできるようにする。</p>
|
196
|
+
</li>
|
197
|
+
<li><p class="first">テキストの断片最大サイズをカスタマイズできるようにする。</p>
|
198
|
+
</li>
|
199
|
+
<li><p class="first">キーワードをカスタマイズできるようにする。</p>
|
200
|
+
</li>
|
201
|
+
<li><p class="first">キーワードを囲むタグをカスタマイズできるようにする。</p>
|
202
|
+
</li>
|
203
|
+
<li><p class="first">正規化の方法をカスタマイズできるようにする。</p>
|
204
|
+
</li>
|
205
|
+
<li><p class="first">オブジェクトリテラル形式でのオプション指定をサポートする。</p>
|
206
|
+
</li>
|
201
207
|
</ul>
|
202
208
|
</div>
|
203
209
|
<div class="section" id="see-also">
|
204
|
-
<h2>8.11.
|
210
|
+
<h2>8.11.9.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
205
211
|
<ul class="simple">
|
206
212
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
207
213
|
</ul>
|
@@ -216,23 +222,23 @@ load --table Documents
|
|
216
222
|
<div class="sphinxsidebarwrapper">
|
217
223
|
<h3><a href="../../index.html">目次</a></h3>
|
218
224
|
<ul>
|
219
|
-
<li><a class="reference internal" href="#">8.11.
|
220
|
-
<li><a class="reference internal" href="#summary">8.11.
|
221
|
-
<li><a class="reference internal" href="#syntax">8.11.
|
222
|
-
<li><a class="reference internal" href="#usage">8.11.
|
223
|
-
<li><a class="reference internal" href="#return-value">8.11.
|
224
|
-
<li><a class="reference internal" href="#todo">8.11.
|
225
|
-
<li><a class="reference internal" href="#see-also">8.11.
|
225
|
+
<li><a class="reference internal" href="#">8.11.9. snippet_html</a><ul>
|
226
|
+
<li><a class="reference internal" href="#summary">8.11.9.1. 概要</a></li>
|
227
|
+
<li><a class="reference internal" href="#syntax">8.11.9.2. 構文</a></li>
|
228
|
+
<li><a class="reference internal" href="#usage">8.11.9.3. 使い方</a></li>
|
229
|
+
<li><a class="reference internal" href="#return-value">8.11.9.4. 戻り値</a></li>
|
230
|
+
<li><a class="reference internal" href="#todo">8.11.9.5. TODO</a></li>
|
231
|
+
<li><a class="reference internal" href="#see-also">8.11.9.6. 参考</a></li>
|
226
232
|
</ul>
|
227
233
|
</li>
|
228
234
|
</ul>
|
229
235
|
|
230
236
|
<h4>前のトピックへ</h4>
|
231
237
|
<p class="topless"><a href="rand.html"
|
232
|
-
title="前の章へ">8.11.
|
238
|
+
title="前の章へ">8.11.8. rand</a></p>
|
233
239
|
<h4>次のトピックへ</h4>
|
234
240
|
<p class="topless"><a href="sub_filter.html"
|
235
|
-
title="次の章へ">8.11.
|
241
|
+
title="次の章へ">8.11.10. sub_filter</a></p>
|
236
242
|
<h3>このページ</h3>
|
237
243
|
<ul class="this-page-menu">
|
238
244
|
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
@@ -262,12 +268,12 @@ load --table Documents
|
|
262
268
|
<a href="../../genindex.html" title="総合索引"
|
263
269
|
>索引</a></li>
|
264
270
|
<li class="right" >
|
265
|
-
<a href="sub_filter.html" title="8.11.
|
271
|
+
<a href="sub_filter.html" title="8.11.10. sub_filter"
|
266
272
|
>次へ</a> |</li>
|
267
273
|
<li class="right" >
|
268
|
-
<a href="rand.html" title="8.11.
|
274
|
+
<a href="rand.html" title="8.11.8. rand"
|
269
275
|
>前へ</a> |</li>
|
270
|
-
<li><a href="../../index.html">groonga v3.0.
|
276
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
271
277
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
272
278
|
<li><a href="../function.html" >8.11. 関数</a> »</li>
|
273
279
|
</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ドキュメント</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
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.11. 関数" href="../function.html" />
|
31
31
|
<link rel="next" title="8.12. インデックス構築" href="../indexing.html" />
|
32
|
-
<link rel="prev" title="8.11.
|
32
|
+
<link rel="prev" title="8.11.9. snippet_html" href="snippet_html.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -59,9 +59,9 @@
|
|
59
59
|
<a href="../indexing.html" title="8.12. インデックス構築"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="snippet_html.html" title="8.11.
|
62
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">8.11. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -73,21 +73,21 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="sub-filter">
|
76
|
-
<h1>8.11.
|
76
|
+
<h1>8.11.10. sub_filter<a class="headerlink" href="#sub-filter" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>8.11.
|
79
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は <tt class="docutils literal"><span class="pre">
|
78
|
+
<h2>8.11.10.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は <tt class="docutils literal"><span class="pre">filter_string</span></tt> を <tt class="docutils literal"><span class="pre">scope</span></tt> のコンテキストで評価します。</p>
|
80
80
|
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドの <tt class="docutils literal"><span class="pre">--filter</span></tt> 内でのみ指定できます。</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="syntax">
|
83
|
-
<h2>8.11.
|
84
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は2つの引数が必要です。 <tt class="docutils literal"><span class="pre">
|
85
|
-
<div class="highlight-none"><div class="highlight"><pre>sub_filter(
|
83
|
+
<h2>8.11.10.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は2つの引数が必要です。 <tt class="docutils literal"><span class="pre">scope</span></tt> と <tt class="docutils literal"><span class="pre">filter_string</span></tt> です。</p>
|
85
|
+
<div class="highlight-none"><div class="highlight"><pre>sub_filter(scope, filter_string)
|
86
86
|
</pre></div>
|
87
87
|
</div>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="usage">
|
90
|
-
<h2>8.11.
|
90
|
+
<h2>8.11.10.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
91
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
92
92
|
<p>サンプルスキーマ:</p>
|
93
93
|
<p>実行例:</p>
|
@@ -138,7 +138,8 @@ load --table Blog
|
|
138
138
|
</div>
|
139
139
|
<dl class="docutils">
|
140
140
|
<dt>ブログのエントリを抽出する <tt class="docutils literal"><span class="pre">sub_filter</span></tt> 関数の使用例です。</dt>
|
141
|
-
<dd>ユーザー'A'のコメント</
|
141
|
+
<dd><p class="first last">ユーザー'A'のコメント</p>
|
142
|
+
</dd>
|
142
143
|
</dl>
|
143
144
|
<p>実行例:</p>
|
144
145
|
<div class="highlight-none"><div class="highlight"><pre>select Blog --output_columns _key --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
|
@@ -173,8 +174,10 @@ load --table Blog
|
|
173
174
|
<p>上記のクエリを実行すると、"groonga's blog"だけでなく、"mroonga's blog"もマッチします。ユーザー"A"は"mroonga's blog"に対しては"groonga"に言及していないので、これは意図していない結果です。</p>
|
174
175
|
<p>sub_filterなしでは、以下の条件が満たされます。</p>
|
175
176
|
<ul class="simple">
|
176
|
-
<li>すくなくとも一つはユーザー"A"がコメントしたレコードがある。</
|
177
|
-
|
177
|
+
<li><p class="first">すくなくとも一つはユーザー"A"がコメントしたレコードがある。</p>
|
178
|
+
</li>
|
179
|
+
<li><p class="first">すくなくとも一つは"groonga"について言及したレコードがある。</p>
|
180
|
+
</li>
|
178
181
|
</ul>
|
179
182
|
<p>実行例:</p>
|
180
183
|
<div class="highlight-none"><div class="highlight"><pre>select Blog --output_columns _key --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
|
@@ -206,33 +209,39 @@ load --table Blog
|
|
206
209
|
<p>一方、上記のクエリは意図した結果を返します。これは、sub_filterの引数がcommentsカラムのコンテキストで評価されるからです。</p>
|
207
210
|
<p>sub_filterは以下の条件が満たされていることを要求します。</p>
|
208
211
|
<ul class="simple">
|
209
|
-
<li>ユーザー"A"が"groonga"について言及しているレコードがある。</
|
212
|
+
<li><p class="first">ユーザー"A"が"groonga"について言及しているレコードがある。</p>
|
213
|
+
</li>
|
210
214
|
</ul>
|
211
215
|
</div>
|
212
216
|
<div class="section" id="parameters">
|
213
|
-
<h2>8.11.
|
214
|
-
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">
|
215
|
-
<div class="section" id="
|
216
|
-
<h3>8.11.
|
217
|
-
<
|
218
|
-
<
|
219
|
-
|
217
|
+
<h2>8.11.10.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
218
|
+
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">scope</span></tt> と <tt class="docutils literal"><span class="pre">filter_string</span></tt> です。</p>
|
219
|
+
<div class="section" id="scope">
|
220
|
+
<h3>8.11.10.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt><a class="headerlink" href="#scope" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
221
|
+
<p>It specifies a column of the table that is specified by <tt class="docutils literal"><span class="pre">table</span></tt>
|
222
|
+
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
|
223
|
+
context. It means that <tt class="docutils literal"><span class="pre">filter_string</span></tt> is evaluated like
|
224
|
+
<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>
|
225
|
+
<p>The specified column type must be a table. In other words, the column
|
226
|
+
type must be reference type.</p>
|
227
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">table</span></tt> 引数については <em class="xref std std-ref">select-table</em> を参照してください。</p>
|
220
228
|
</div>
|
221
|
-
<div class="section" id="
|
222
|
-
<h3>8.11.
|
223
|
-
<
|
224
|
-
<div><tt class="docutils literal"><span class="pre">query</span></tt> と同様のパラメータを指定します。</div></blockquote>
|
225
|
-
<p>query stringについては <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a> を参照してください。</p>
|
229
|
+
<div class="section" id="filter-string">
|
230
|
+
<h3>8.11.10.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt><a class="headerlink" href="#filter-string" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
231
|
+
<p><a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a> の検索条件を指定します。これは <tt class="docutils literal"><span class="pre">scope</span></tt> のコンテキストで評価されます。</p>
|
226
232
|
</div>
|
227
233
|
</div>
|
228
234
|
<div class="section" id="return-value">
|
229
|
-
<h2>8.11.
|
230
|
-
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt>
|
235
|
+
<h2>8.11.10.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
236
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> returns whether any record is matched or not. If one or
|
237
|
+
more records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
|
238
|
+
<tt class="docutils literal"><span class="pre">false</span></tt>.</p>
|
231
239
|
</div>
|
232
240
|
<div class="section" id="see-also">
|
233
|
-
<h2>8.11.
|
241
|
+
<h2>8.11.10.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
234
242
|
<ul class="simple">
|
235
243
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
244
|
+
<li><a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a></li>
|
236
245
|
</ul>
|
237
246
|
</div>
|
238
247
|
</div>
|
@@ -245,24 +254,24 @@ load --table Blog
|
|
245
254
|
<div class="sphinxsidebarwrapper">
|
246
255
|
<h3><a href="../../index.html">目次</a></h3>
|
247
256
|
<ul>
|
248
|
-
<li><a class="reference internal" href="#">8.11.
|
249
|
-
<li><a class="reference internal" href="#summary">8.11.
|
250
|
-
<li><a class="reference internal" href="#syntax">8.11.
|
251
|
-
<li><a class="reference internal" href="#usage">8.11.
|
252
|
-
<li><a class="reference internal" href="#parameters">8.11.
|
253
|
-
<li><a class="reference internal" href="#
|
254
|
-
<li><a class="reference internal" href="#
|
257
|
+
<li><a class="reference internal" href="#">8.11.10. sub_filter</a><ul>
|
258
|
+
<li><a class="reference internal" href="#summary">8.11.10.1. 概要</a></li>
|
259
|
+
<li><a class="reference internal" href="#syntax">8.11.10.2. 構文</a></li>
|
260
|
+
<li><a class="reference internal" href="#usage">8.11.10.3. 使い方</a></li>
|
261
|
+
<li><a class="reference internal" href="#parameters">8.11.10.4. 引数</a><ul>
|
262
|
+
<li><a class="reference internal" href="#scope">8.11.10.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt></a></li>
|
263
|
+
<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>
|
255
264
|
</ul>
|
256
265
|
</li>
|
257
|
-
<li><a class="reference internal" href="#return-value">8.11.
|
258
|
-
<li><a class="reference internal" href="#see-also">8.11.
|
266
|
+
<li><a class="reference internal" href="#return-value">8.11.10.5. 戻り値</a></li>
|
267
|
+
<li><a class="reference internal" href="#see-also">8.11.10.6. 参考</a></li>
|
259
268
|
</ul>
|
260
269
|
</li>
|
261
270
|
</ul>
|
262
271
|
|
263
272
|
<h4>前のトピックへ</h4>
|
264
273
|
<p class="topless"><a href="snippet_html.html"
|
265
|
-
title="前の章へ">8.11.
|
274
|
+
title="前の章へ">8.11.9. snippet_html</a></p>
|
266
275
|
<h4>次のトピックへ</h4>
|
267
276
|
<p class="topless"><a href="../indexing.html"
|
268
277
|
title="次の章へ">8.12. インデックス構築</a></p>
|
@@ -298,9 +307,9 @@ load --table Blog
|
|
298
307
|
<a href="../indexing.html" title="8.12. インデックス構築"
|
299
308
|
>次へ</a> |</li>
|
300
309
|
<li class="right" >
|
301
|
-
<a href="snippet_html.html" title="8.11.
|
310
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
302
311
|
>前へ</a> |</li>
|
303
|
-
<li><a href="../../index.html">groonga v3.0.
|
312
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
304
313
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
305
314
|
<li><a href="../function.html" >8.11. 関数</a> »</li>
|
306
315
|
</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ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
|
31
31
|
<link rel="next" title="8.10.1. クエリー構文" href="grn_expr/query_syntax.html" />
|
32
32
|
<link rel="prev" title="8.9. 疑似カラム (pseudo_column)" href="pseudo_column.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="pseudo_column.html" title="8.9. 疑似カラム (pseudo_column)"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">groonga v3.0.
|
64
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -78,13 +78,16 @@
|
|
78
78
|
<p>grn_exprを作る方法は3つあります:</p>
|
79
79
|
<blockquote>
|
80
80
|
<div><ul class="simple">
|
81
|
-
<li><a class="reference internal" href="grn_expr/query_syntax.html"><em>クエリー構文</em></a> の文字列をパースする。</
|
82
|
-
|
83
|
-
<li
|
81
|
+
<li><p class="first"><a class="reference internal" href="grn_expr/query_syntax.html"><em>クエリー構文</em></a> の文字列をパースする。</p>
|
82
|
+
</li>
|
83
|
+
<li><p class="first"><a class="reference internal" href="grn_expr/script_syntax.html"><em>スクリプト構文</em></a> の文字列をパースする。</p>
|
84
|
+
</li>
|
85
|
+
<li><p class="first">grn_expr関連のAPIを呼ぶ。</p>
|
86
|
+
</li>
|
84
87
|
</ul>
|
85
88
|
</div></blockquote>
|
86
|
-
<p><a class="reference internal" href="
|
87
|
-
<p><a class="reference internal" href="
|
89
|
+
<p><a class="reference internal" href="grn_expr/query_syntax.html"><em>クエリー構文</em></a> は一般的なインターネット検索サイトにある検索フォーム用の構文です。シンプルで使いやすいですが、制限があります。 <a class="reference internal" href="grn_expr/query_syntax.html"><em>クエリー構文</em></a> では実行できない条件式や集合演算があります。 <a class="reference internal" href="grn_expr/query_syntax.html"><em>クエリー構文</em></a> は <a class="reference internal" href="commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">query</span></tt> オプションで指定する検索条件で使えます。</p>
|
90
|
+
<p><a class="reference internal" href="grn_expr/script_syntax.html"><em>スクリプト構文</em></a> はECMAScriptに似た構文です。 <a class="reference internal" href="grn_expr/script_syntax.html"><em>スクリプト構文</em></a> ではすべての条件式と集合演算を使えます。 <a class="reference internal" href="grn_expr/script_syntax.html"><em>スクリプト構文</em></a> は <a class="reference internal" href="commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">filter</span></tt> オプションで指定する検索条件や <tt class="docutils literal"><span class="pre">scorer</span></tt> オプションで指定する式で使えます。</p>
|
88
91
|
<p>groongaをライブラリとして使うと、grn_expr関連のAPIを呼び出してgrn_exprを作ることができます。 <a class="reference internal" href="grn_expr/script_syntax.html"><em>スクリプト構文</em></a> のように、APIを呼び出すと全ての機能を使えます。grn_exprを作る構文を新しく作るときにはAPIが便利です。APIは <a class="reference external" href="http://groonga.rubyforge.org/#about-rroonga">rroonga</a> というgroongaのRubyバインディングで使われています。rroongaでは文字列をパースするのではなく、Rubyの構文を使ってgrn_exprを作ることができます。</p>
|
89
92
|
<div class="toctree-wrapper compound">
|
90
93
|
<ul>
|
@@ -96,7 +99,8 @@
|
|
96
99
|
<h2>8.10.3. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
97
100
|
<blockquote>
|
98
101
|
<div><ul class="simple">
|
99
|
-
<li><a class="reference internal" href="api/grn_expr.html"><em>grn_expr</em></a>: grn_expr関連のAPI</
|
102
|
+
<li><p class="first"><a class="reference internal" href="api/grn_expr.html"><em>grn_expr</em></a>: grn_expr関連のAPI</p>
|
103
|
+
</li>
|
100
104
|
</ul>
|
101
105
|
</div></blockquote>
|
102
106
|
</div>
|
@@ -156,7 +160,7 @@
|
|
156
160
|
<li class="right" >
|
157
161
|
<a href="pseudo_column.html" title="8.9. 疑似カラム (pseudo_column)"
|
158
162
|
>前へ</a> |</li>
|
159
|
-
<li><a href="../index.html">groonga v3.0.
|
163
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
160
164
|
<li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li>
|
161
165
|
</ul>
|
162
166
|
</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. クエリー構文 — groonga v3.0.
|
10
|
+
<title>8.10.1. クエリー構文 — groonga v3.0.5ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.10. grn_expr" href="../grn_expr.html" />
|
31
31
|
<link rel="next" title="8.10.2. スクリプト構文" href="script_syntax.html" />
|
32
32
|
<link rel="prev" title="8.10. grn_expr" href="../grn_expr.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="../grn_expr.html" title="8.10. grn_expr"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../grn_expr.html" accesskey="U">8.10. grn_expr</a> »</li>
|
67
67
|
</ul>
|
@@ -124,12 +124,18 @@ load --table Entries
|
|
124
124
|
<p>以下が特別な文字のリストです:</p>
|
125
125
|
<blockquote>
|
126
126
|
<div><ul class="simple">
|
127
|
-
<li><tt class="docutils literal"><span class="pre">[space]</span></tt> ( <tt class="docutils literal"><span class="pre">[backquote][space]</span></tt> とエスケープする。)( <tt class="docutils literal"><span class="pre">[space]</span></tt> をASCIIで言えば0x20の空白文字に置き換えて、 <tt class="docutils literal"><span class="pre">[backquote]</span></tt> を <tt class="docutils literal"><span class="pre">\\</span></tt> に置き換えてください。)</
|
128
|
-
|
129
|
-
<li><tt class="docutils literal"><span class="pre"
|
130
|
-
|
131
|
-
<li><tt class="docutils literal"><span class="pre">
|
132
|
-
|
127
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">[space]</span></tt> ( <tt class="docutils literal"><span class="pre">[backquote][space]</span></tt> とエスケープする。)( <tt class="docutils literal"><span class="pre">[space]</span></tt> をASCIIで言えば0x20の空白文字に置き換えて、 <tt class="docutils literal"><span class="pre">[backquote]</span></tt> を <tt class="docutils literal"><span class="pre">\\</span></tt> に置き換えてください。)</p>
|
128
|
+
</li>
|
129
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">"</span></tt> ( <tt class="docutils literal"><span class="pre">\"</span></tt> とエスケープする。)</p>
|
130
|
+
</li>
|
131
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">'</span></tt> ( <tt class="docutils literal"><span class="pre">\'</span></tt> とエスケープする。)</p>
|
132
|
+
</li>
|
133
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">(</span></tt> ( <tt class="docutils literal"><span class="pre">\(</span></tt> とエスケープする。)</p>
|
134
|
+
</li>
|
135
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">)</span></tt> ( <tt class="docutils literal"><span class="pre">\)</span></tt> とエスケープする。)</p>
|
136
|
+
</li>
|
137
|
+
<li><p class="first"><tt class="docutils literal"><span class="pre">\</span></tt> ( <tt class="docutils literal"><span class="pre">\\</span></tt> とエスケープする。)</p>
|
138
|
+
</li>
|
133
139
|
</ul>
|
134
140
|
</div></blockquote>
|
135
141
|
<p>エスケープする代わりにクォートすることもできます。クォート構文は <tt class="docutils literal"><span class="pre">"..."</span></tt> または <tt class="docutils literal"><span class="pre">'...'</span></tt> です。 <tt class="docutils literal"><span class="pre">"..."</span></tt> クォート構文中では <tt class="docutils literal"><span class="pre">"</span></tt> を <tt class="docutils literal"><span class="pre">\"</span></tt> にエスケープする必要があります。 <tt class="docutils literal"><span class="pre">'...'</span></tt> クォート構文中では <tt class="docutils literal"><span class="pre">'</span></tt> を <tt class="docutils literal"><span class="pre">\'</span></tt> にエスケープする必要があります。例えば、 <tt class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> は <tt class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)"</span></tt> あるいは <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt> とクォートします。</p>
|
@@ -255,9 +261,12 @@ load --table Entries
|
|
255
261
|
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> と <tt class="docutils literal"><span class="pre">全文検索条件(マッチカラム指定あり)</span></tt> の違いは高度なマッチカラムをサポートしているかどうかです。 <tt class="docutils literal"><span class="pre">全文検索条件</span></tt> は高度なマッチカラムをサポートしていますが、 <tt class="docutils literal"><span class="pre">全文検索条件(マッチカラム指定あり)</span></tt> はサポートしていません。高度なマッチカラムには以下の機能があります:</p>
|
256
262
|
<blockquote>
|
257
263
|
<div><ul class="simple">
|
258
|
-
<li>重みをサポートしている。</
|
259
|
-
|
260
|
-
<li
|
264
|
+
<li><p class="first">重みをサポートしている。</p>
|
265
|
+
</li>
|
266
|
+
<li><p class="first">複数のカラムを指定できる。</p>
|
267
|
+
</li>
|
268
|
+
<li><p class="first">マッチカラムとしてインデックスカラムを使える。</p>
|
269
|
+
</li>
|
261
270
|
</ul>
|
262
271
|
</div></blockquote>
|
263
272
|
<p>これらについては <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションを参照してください。</p>
|
@@ -1196,7 +1205,7 @@ select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
|
1196
1205
|
<li class="right" >
|
1197
1206
|
<a href="../grn_expr.html" title="8.10. grn_expr"
|
1198
1207
|
>前へ</a> |</li>
|
1199
|
-
<li><a href="../../index.html">groonga v3.0.
|
1208
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
1200
1209
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1201
1210
|
<li><a href="../grn_expr.html" >8.10. grn_expr</a> »</li>
|
1202
1211
|
</ul>
|