rroonga 5.0.0-x86-mingw32 → 5.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.yardopts +1 -0
- data/Rakefile +1 -16
- data/example/bookmark.rb +1 -6
- data/example/index-html.rb +0 -1
- data/ext/groonga/extconf.rb +4 -7
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +33 -67
- data/ext/groonga/rb-grn-context.c +5 -5
- data/ext/groonga/rb-grn-database.c +2 -2
- data/ext/groonga/rb-grn-double-array-trie.c +4 -2
- data/ext/groonga/rb-grn-encoding-support.c +7 -1
- data/ext/groonga/rb-grn-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-exception.c +17 -0
- data/ext/groonga/rb-grn-expression.c +85 -43
- data/ext/groonga/rb-grn-greater-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-greater-operator.c +85 -0
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +150 -11
- data/ext/groonga/rb-grn-less-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-less-operator.c +85 -0
- data/ext/groonga/rb-grn-logger.c +5 -5
- data/ext/groonga/rb-grn-match-operator.c +86 -0
- data/ext/groonga/rb-grn-normalizer.c +8 -1
- data/ext/groonga/rb-grn-not-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-object.c +170 -36
- data/ext/groonga/rb-grn-operator.c +395 -172
- data/ext/groonga/rb-grn-patricia-trie.c +10 -8
- data/ext/groonga/rb-grn-plugin.c +51 -3
- data/ext/groonga/rb-grn-prefix-operator.c +86 -0
- data/ext/groonga/rb-grn-procedure-type.c +4 -0
- data/ext/groonga/rb-grn-query-logger.c +4 -4
- data/ext/groonga/rb-grn-regexp-operator.c +85 -0
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +9 -5
- data/ext/groonga/rb-grn-table.c +52 -66
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +22 -3
- data/ext/groonga/rb-grn.h +31 -4
- data/ext/groonga/rb-groonga.c +9 -9
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/groonga/context.rb +31 -0
- data/lib/groonga/expression-builder.rb +14 -1
- data/lib/groonga/record.rb +10 -8
- data/lib/groonga/schema.rb +3 -1
- data/rroonga-build.rb +2 -2
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -0
- data/test/test-column.rb +28 -26
- data/test/test-exception.rb +1 -0
- data/test/test-expression-builder.rb +83 -1
- data/test/test-expression.rb +80 -48
- data/test/test-index-column.rb +102 -29
- data/test/test-normalizer.rb +35 -29
- data/test/test-operator.rb +214 -0
- data/test/test-plugin.rb +24 -6
- data/test/test-procedure.rb +29 -0
- data/test/test-schema-type.rb +14 -0
- data/test/test-table-select-mecab.rb +1 -4
- data/test/test-table.rb +7 -0
- data/test/test-token-regexp.rb +30 -0
- data/test/test-type.rb +24 -0
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/groonga.conf +1 -1
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/expr.h +2 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -5
- data/vendor/local/include/groonga/groonga/ii.h +7 -0
- data/vendor/local/include/groonga/groonga/obj.h +37 -0
- data/vendor/local/include/groonga/groonga/scorer.h +95 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +2 -2
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +6 -3
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +6 -5
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +421 -17
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +12 -4
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +11 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +23 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +158 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +39 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +11 -7
- data/vendor/local/lib/groonga/scripts/ruby/object.rb +11 -0
- data/vendor/local/lib/groonga/scripts/ruby/operator.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -11
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +137 -34
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_search_index.rb +9 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_images/used-when-indexing.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_images/used-when-searching.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +32 -17
- 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 +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +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 +194 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +42 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/overview.txt +54 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +173 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +112 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +7 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_register.txt +64 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/plugin_unregister.txt +63 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +12 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +47 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +54 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/regular_expression.txt +403 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorer.txt +217 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/scoring_note.txt +13 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +530 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/memcached.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +66 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +0 -81
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +6 -68
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -26
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -4
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/client.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +51 -38
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/genindex.html +26 -14
- data/vendor/local/share/doc/groonga/en/html/index.html +150 -130
- data/vendor/local/share/doc/groonga/en/html/install.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/others.html +87 -89
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news.html +256 -27
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +98 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +102 -104
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +139 -118
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +51 -52
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +80 -82
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +130 -80
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +48 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -81
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +41 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +41 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +89 -91
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +75 -77
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +64 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +58 -60
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +94 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +71 -73
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +314 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +252 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +87 -89
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +195 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +193 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +61 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +590 -592
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +92 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +152 -154
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -105
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +73 -75
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +34 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +124 -90
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +66 -68
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +113 -115
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +55 -57
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +65 -67
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +54 -56
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +135 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +81 -83
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +67 -69
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +66 -70
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +349 -286
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +483 -417
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +44 -46
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +30 -31
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +60 -62
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +931 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +442 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +153 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +287 -0
- data/vendor/local/share/doc/groonga/en/html/reference/scoring_note.html +114 -0
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +45 -47
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +51 -53
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +1394 -34
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +57 -59
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +23 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/server/http.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +68 -70
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +137 -0
- data/vendor/local/share/doc/groonga/en/html/server/package.html +36 -38
- data/vendor/local/share/doc/groonga/en/html/spec.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +208 -129
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -25
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +27 -125
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_images/used-when-indexing.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_images/used-when-searching.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +32 -17
- 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 +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +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 +194 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +42 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/overview.txt +54 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +173 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +112 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +7 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_register.txt +64 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/plugin_unregister.txt +63 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +12 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +47 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +54 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +44 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +41 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/regular_expression.txt +403 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorer.txt +217 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +22 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scoring_note.txt +13 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +530 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/memcached.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +66 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +0 -81
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +6 -68
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -26
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/client.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +51 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +150 -130
- data/vendor/local/share/doc/groonga/ja/html/install.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +31 -33
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +78 -80
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +210 -27
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +139 -118
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +51 -52
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +80 -82
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +126 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +74 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +41 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +75 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +64 -66
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +197 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +58 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +93 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +62 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +314 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +250 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +80 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +188 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +57 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +71 -73
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +394 -396
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +78 -80
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +123 -125
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +61 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +46 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +51 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +61 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +126 -90
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +63 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +44 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +94 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +66 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +55 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +135 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +70 -72
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +53 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +56 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +36 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +229 -171
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +381 -322
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +32 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +878 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +442 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +154 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/scoring_note.html +115 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +45 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +48 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +1300 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +57 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -40
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +23 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +62 -64
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +138 -0
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/spec.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +207 -128
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +27 -125
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
- data/vendor/local/share/license/mruby/README.md +2 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +6205 -2251
- data/vendor/local/share/man/man1/groonga.1 +7210 -3029
- metadata +75 -11
- data/doc/text/news.textile +0 -1217
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.
|
10
|
+
<title>7.14.12. rand — Groonga v5.0.1-42-g4d10df1ドキュメント</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: '5.0.
|
18
|
+
VERSION: '5.0.1-42-g4d10df1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
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 v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.
|
32
|
-
<link rel="prev" title="7.
|
29
|
+
<link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.14.13. snippet_html" href="snippet_html.html" />
|
32
|
+
<link rel="prev" title="7.14.11. query" href="query.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,58 +49,58 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="snippet_html.html" title="7.
|
59
|
+
<a href="snippet_html.html" title="7.14.13. snippet_html"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="query.html" title="7.
|
62
|
+
<a href="query.html" title="7.14.11. query"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">7.
|
66
|
+
<li><a href="../function.html" accesskey="U">7.14. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="rand">
|
76
|
-
<h1>7.
|
76
|
+
<h1>7.14.12. rand<a class="headerlink" href="#rand" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>7.
|
78
|
+
<h2>7.14.12.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>rand - 乱数を生成する</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>7.
|
82
|
+
<h2>7.14.12.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>rand([max])
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>7.
|
88
|
+
<h2>7.14.12.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>Groonga組込関数の一つであるrandについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>rand() 関数は 0 から max の間の疑似乱数整数を返します。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>7.
|
94
|
-
<p><
|
93
|
+
<h2>7.14.12.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
|
+
<p><tt class="docutils literal"><span class="pre">max</span></tt></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
|
97
97
|
</div>
|
98
98
|
<div class="section" id="id5">
|
99
|
-
<h2>7.
|
99
|
+
<h2>7.14.12.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
100
100
|
<p>0 と max の間の数を表すInt32型の値を返します。</p>
|
101
101
|
</div>
|
102
102
|
<div class="section" id="id6">
|
103
|
-
<h2>7.
|
103
|
+
<h2>7.14.12.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
104
104
|
<div class="highlight-none"><div class="highlight"><pre>rand(10)
|
105
105
|
3
|
106
106
|
</pre></div>
|
@@ -112,35 +112,33 @@
|
|
112
112
|
</div>
|
113
113
|
</div>
|
114
114
|
</div>
|
115
|
-
<div class="sphinxsidebar"
|
115
|
+
<div class="sphinxsidebar">
|
116
116
|
<div class="sphinxsidebarwrapper">
|
117
117
|
<h3><a href="../../index.html">目次</a></h3>
|
118
118
|
<ul>
|
119
|
-
<li><a class="reference internal" href="#">7.
|
120
|
-
<li><a class="reference internal" href="#id1">7.
|
121
|
-
<li><a class="reference internal" href="#id2">7.
|
122
|
-
<li><a class="reference internal" href="#id3">7.
|
123
|
-
<li><a class="reference internal" href="#id4">7.
|
124
|
-
<li><a class="reference internal" href="#id5">7.
|
125
|
-
<li><a class="reference internal" href="#id6">7.
|
119
|
+
<li><a class="reference internal" href="#">7.14.12. rand</a><ul>
|
120
|
+
<li><a class="reference internal" href="#id1">7.14.12.1. 名前</a></li>
|
121
|
+
<li><a class="reference internal" href="#id2">7.14.12.2. 書式</a></li>
|
122
|
+
<li><a class="reference internal" href="#id3">7.14.12.3. 説明</a></li>
|
123
|
+
<li><a class="reference internal" href="#id4">7.14.12.4. 引数</a></li>
|
124
|
+
<li><a class="reference internal" href="#id5">7.14.12.5. 返値</a></li>
|
125
|
+
<li><a class="reference internal" href="#id6">7.14.12.6. 例</a></li>
|
126
126
|
</ul>
|
127
127
|
</li>
|
128
128
|
</ul>
|
129
129
|
|
130
130
|
<h4>前のトピックへ</h4>
|
131
131
|
<p class="topless"><a href="query.html"
|
132
|
-
title="前の章へ">7.
|
132
|
+
title="前の章へ">7.14.11. query</a></p>
|
133
133
|
<h4>次のトピックへ</h4>
|
134
134
|
<p class="topless"><a href="snippet_html.html"
|
135
|
-
title="次の章へ">7.
|
136
|
-
<
|
137
|
-
|
138
|
-
<
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
</div>
|
143
|
-
<div id="searchbox" style="display: none" role="search">
|
135
|
+
title="次の章へ">7.14.13. snippet_html</a></p>
|
136
|
+
<h3>このページ</h3>
|
137
|
+
<ul class="this-page-menu">
|
138
|
+
<li><a href="../../_sources/reference/functions/rand.txt"
|
139
|
+
rel="nofollow">ソースコードを表示</a></li>
|
140
|
+
</ul>
|
141
|
+
<div id="searchbox" style="display: none">
|
144
142
|
<h3>クイック検索</h3>
|
145
143
|
<form class="search" action="../../search.html" method="get">
|
146
144
|
<input type="text" name="q" />
|
@@ -157,24 +155,24 @@
|
|
157
155
|
</div>
|
158
156
|
<div class="clearer"></div>
|
159
157
|
</div>
|
160
|
-
<div class="related"
|
158
|
+
<div class="related">
|
161
159
|
<h3>ナビゲーション</h3>
|
162
160
|
<ul>
|
163
161
|
<li class="right" style="margin-right: 10px">
|
164
162
|
<a href="../../genindex.html" title="総合索引"
|
165
163
|
>索引</a></li>
|
166
164
|
<li class="right" >
|
167
|
-
<a href="snippet_html.html" title="7.
|
165
|
+
<a href="snippet_html.html" title="7.14.13. snippet_html"
|
168
166
|
>次へ</a> |</li>
|
169
167
|
<li class="right" >
|
170
|
-
<a href="query.html" title="7.
|
168
|
+
<a href="query.html" title="7.14.11. query"
|
171
169
|
>前へ</a> |</li>
|
172
|
-
<li><a href="../../index.html">Groonga v5.0.
|
170
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
173
171
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
174
|
-
<li><a href="../function.html" >7.
|
172
|
+
<li><a href="../function.html" >7.14. 関数</a> »</li>
|
175
173
|
</ul>
|
176
174
|
</div>
|
177
|
-
<div class="footer"
|
175
|
+
<div class="footer">
|
178
176
|
© Copyright 2009-2015, Brazil, Inc.
|
179
177
|
</div>
|
180
178
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.
|
10
|
+
<title>7.14.13. snippet_html — Groonga v5.0.1-42-g4d10df1ドキュメント</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: '5.0.
|
18
|
+
VERSION: '5.0.1-42-g4d10df1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
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 v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.
|
32
|
-
<link rel="prev" title="7.
|
29
|
+
<link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.14.14. sub_filter" href="sub_filter.html" />
|
32
|
+
<link rel="prev" title="7.14.12. rand" href="rand.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,49 +49,49 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
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="7.
|
59
|
+
<a href="sub_filter.html" title="7.14.14. sub_filter"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="rand.html" title="7.
|
62
|
+
<a href="rand.html" title="7.14.12. rand"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">7.
|
66
|
+
<li><a href="../function.html" accesskey="U">7.14. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="snippet-html">
|
76
|
-
<h1>7.
|
76
|
+
<h1>7.14.13. 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>7.
|
83
|
-
<p><
|
82
|
+
<h2>7.14.13.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
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>7.
|
87
|
-
<p><
|
86
|
+
<h2>7.14.13.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
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>
|
90
90
|
</div>
|
91
|
-
<p><
|
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>7.
|
94
|
+
<h2>7.14.13.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
|
@@ -111,10 +111,10 @@ load --table Documents
|
|
111
111
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
112
112
|
</pre></div>
|
113
113
|
</div>
|
114
|
-
<p><
|
115
|
-
<p>Groonga 2.0.9では <
|
116
|
-
<p>また、 <
|
117
|
-
<p>以下の例は <
|
114
|
+
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> は <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドの <tt class="docutils literal"><span class="pre">--output_columns</span></tt> 内でのみ指定できます。</p>
|
115
|
+
<p>Groonga 2.0.9では <tt class="docutils literal"><span class="pre">output_columns</span></tt> 内での関数呼び出しはまだ実験的な機能なので、明示的に <tt class="docutils literal"><span class="pre">--command_version</span> <span class="pre">2</span></tt> オプションを指定する必要があります。この機能はじきに有効になる予定です。</p>
|
116
|
+
<p>また、 <tt class="docutils literal"><span class="pre">--query</span></tt> と <tt class="docutils literal"><span class="pre">--filter</span></tt> オプションも指定する必要があります。(どちらか一方でも構いません。)これは、 <tt class="docutils literal"><span class="pre">--query</span></tt> と <tt class="docutils literal"><span class="pre">--filter</span></tt> オプションからキーワードを抽出しているためです。</p>
|
117
|
+
<p>以下の例は <tt class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></tt> を使っています。この場合は、キーワードとして <tt class="docutils literal"><span class="pre">fast</span></tt> と <tt class="docutils literal"><span class="pre">performance</span></tt> を使います。</p>
|
118
118
|
<p>実行例:</p>
|
119
119
|
<div class="highlight-none"><div class="highlight"><pre>select Documents --output_columns "snippet_html(content)" --command_version 2 --match_columns content --query "fast performance"
|
120
120
|
# [
|
@@ -145,9 +145,9 @@ load --table Documents
|
|
145
145
|
# ]
|
146
146
|
</pre></div>
|
147
147
|
</div>
|
148
|
-
<p><
|
148
|
+
<p><tt class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></tt> は最初のレコードの内容にだけマッチします。 <tt class="docutils literal"><span class="pre">snippet_html(content)</span></tt> は、テキスト中からキーワード <tt class="docutils literal"><span class="pre">fast</span></tt> と <tt class="docutils literal"><span class="pre">performance</span></tt> の少なくともどちらか一方を含んでいるテキストの断片を抽出します。今回は2箇所抽出しています。そして、抽出したテキストの断片内にあるキーワードを <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> で囲みます。</p>
|
149
149
|
<p>テキストの断片数は多くても3です。4つ以上のテキストの断片が抽出できるときは、最初の3つだけを使います。</p>
|
150
|
-
<p>テキストの断片の最大サイズは200バイトです。単位は文字数ではなくバイトです。挿入される <
|
150
|
+
<p>テキストの断片の最大サイズは200バイトです。単位は文字数ではなくバイトです。挿入される <tt class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></tt> と <tt class="docutils literal"><span class="pre"></span></span></tt> のバイト数はこのサイズの中には含まれません。</p>
|
151
151
|
<p>テキストの断片の最大数とテキストの断片の最大サイズはカスタマイズできません。</p>
|
152
152
|
<p>カラムの代わりに文字列リテラルを指定することもできます。</p>
|
153
153
|
<p>実行例:</p>
|
@@ -181,17 +181,17 @@ load --table Documents
|
|
181
181
|
</div>
|
182
182
|
</div>
|
183
183
|
<div class="section" id="return-value">
|
184
|
-
<h2>7.
|
185
|
-
<p><
|
184
|
+
<h2>7.14.13.4. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
185
|
+
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> は文字列の配列もしくは <tt class="docutils literal"><span class="pre">null</span></tt> を返します。 <tt class="docutils literal"><span class="pre">snippet_html</span></tt> は該当するスニペットがない場合に <tt class="docutils literal"><span class="pre">null</span></tt> を返します。</p>
|
186
186
|
<p>配列の要素がスニペットになります:</p>
|
187
187
|
<div class="highlight-none"><div class="highlight"><pre>[SNIPPET1, SNIPPET2, SNIPPET3]
|
188
188
|
</pre></div>
|
189
189
|
</div>
|
190
|
-
<p>スニペットには1つ以上のキーワードが含まれています。 <
|
190
|
+
<p>スニペットには1つ以上のキーワードが含まれています。 <tt class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></tt> と <tt class="docutils literal"><span class="pre"></span></span></tt> を除いたスニペットの最大サイズは200byteです。単位は文字数ではなくてバイトです。</p>
|
191
191
|
<p>配列のサイズは0以上3以下です。最大サイズの3は、じきにカスタマイズできるようになる予定です。</p>
|
192
192
|
</div>
|
193
193
|
<div class="section" id="todo">
|
194
|
-
<h2>7.
|
194
|
+
<h2>7.14.13.5. TODO<a class="headerlink" href="#todo" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
195
195
|
<ul class="simple">
|
196
196
|
<li><p class="first">テキストの断片の最大数をカスタマイズできるようにする。</p>
|
197
197
|
</li>
|
@@ -208,7 +208,7 @@ load --table Documents
|
|
208
208
|
</ul>
|
209
209
|
</div>
|
210
210
|
<div class="section" id="see-also">
|
211
|
-
<h2>7.
|
211
|
+
<h2>7.14.13.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
212
212
|
<ul class="simple">
|
213
213
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
214
214
|
</ul>
|
@@ -219,35 +219,33 @@ load --table Documents
|
|
219
219
|
</div>
|
220
220
|
</div>
|
221
221
|
</div>
|
222
|
-
<div class="sphinxsidebar"
|
222
|
+
<div class="sphinxsidebar">
|
223
223
|
<div class="sphinxsidebarwrapper">
|
224
224
|
<h3><a href="../../index.html">目次</a></h3>
|
225
225
|
<ul>
|
226
|
-
<li><a class="reference internal" href="#">7.
|
227
|
-
<li><a class="reference internal" href="#summary">7.
|
228
|
-
<li><a class="reference internal" href="#syntax">7.
|
229
|
-
<li><a class="reference internal" href="#usage">7.
|
230
|
-
<li><a class="reference internal" href="#return-value">7.
|
231
|
-
<li><a class="reference internal" href="#todo">7.
|
232
|
-
<li><a class="reference internal" href="#see-also">7.
|
226
|
+
<li><a class="reference internal" href="#">7.14.13. snippet_html</a><ul>
|
227
|
+
<li><a class="reference internal" href="#summary">7.14.13.1. 概要</a></li>
|
228
|
+
<li><a class="reference internal" href="#syntax">7.14.13.2. 構文</a></li>
|
229
|
+
<li><a class="reference internal" href="#usage">7.14.13.3. 使い方</a></li>
|
230
|
+
<li><a class="reference internal" href="#return-value">7.14.13.4. 戻り値</a></li>
|
231
|
+
<li><a class="reference internal" href="#todo">7.14.13.5. TODO</a></li>
|
232
|
+
<li><a class="reference internal" href="#see-also">7.14.13.6. 参考</a></li>
|
233
233
|
</ul>
|
234
234
|
</li>
|
235
235
|
</ul>
|
236
236
|
|
237
237
|
<h4>前のトピックへ</h4>
|
238
238
|
<p class="topless"><a href="rand.html"
|
239
|
-
title="前の章へ">7.
|
239
|
+
title="前の章へ">7.14.12. rand</a></p>
|
240
240
|
<h4>次のトピックへ</h4>
|
241
241
|
<p class="topless"><a href="sub_filter.html"
|
242
|
-
title="次の章へ">7.
|
243
|
-
<
|
244
|
-
|
245
|
-
<
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
</div>
|
250
|
-
<div id="searchbox" style="display: none" role="search">
|
242
|
+
title="次の章へ">7.14.14. sub_filter</a></p>
|
243
|
+
<h3>このページ</h3>
|
244
|
+
<ul class="this-page-menu">
|
245
|
+
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
246
|
+
rel="nofollow">ソースコードを表示</a></li>
|
247
|
+
</ul>
|
248
|
+
<div id="searchbox" style="display: none">
|
251
249
|
<h3>クイック検索</h3>
|
252
250
|
<form class="search" action="../../search.html" method="get">
|
253
251
|
<input type="text" name="q" />
|
@@ -264,24 +262,24 @@ load --table Documents
|
|
264
262
|
</div>
|
265
263
|
<div class="clearer"></div>
|
266
264
|
</div>
|
267
|
-
<div class="related"
|
265
|
+
<div class="related">
|
268
266
|
<h3>ナビゲーション</h3>
|
269
267
|
<ul>
|
270
268
|
<li class="right" style="margin-right: 10px">
|
271
269
|
<a href="../../genindex.html" title="総合索引"
|
272
270
|
>索引</a></li>
|
273
271
|
<li class="right" >
|
274
|
-
<a href="sub_filter.html" title="7.
|
272
|
+
<a href="sub_filter.html" title="7.14.14. sub_filter"
|
275
273
|
>次へ</a> |</li>
|
276
274
|
<li class="right" >
|
277
|
-
<a href="rand.html" title="7.
|
275
|
+
<a href="rand.html" title="7.14.12. rand"
|
278
276
|
>前へ</a> |</li>
|
279
|
-
<li><a href="../../index.html">Groonga v5.0.
|
277
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
280
278
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
281
|
-
<li><a href="../function.html" >7.
|
279
|
+
<li><a href="../function.html" >7.14. 関数</a> »</li>
|
282
280
|
</ul>
|
283
281
|
</div>
|
284
|
-
<div class="footer"
|
282
|
+
<div class="footer">
|
285
283
|
© Copyright 2009-2015, Brazil, Inc.
|
286
284
|
</div>
|
287
285
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>7.
|
10
|
+
<title>7.14.14. sub_filter — Groonga v5.0.1-42-g4d10df1ドキュメント</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: '5.0.
|
18
|
+
VERSION: '5.0.1-42-g4d10df1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
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 v5.0.
|
30
|
-
<link rel="up" title="7.
|
31
|
-
<link rel="next" title="7.
|
32
|
-
<link rel="prev" title="7.
|
29
|
+
<link rel="top" title="Groonga v5.0.1-42-g4d10df1ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.14. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.15. 操作方法" href="../operations.html" />
|
32
|
+
<link rel="prev" title="7.14.13. snippet_html" href="snippet_html.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../../index.html">
|
@@ -49,45 +49,45 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="../operations.html" title="7.
|
59
|
+
<a href="../operations.html" title="7.15. 操作方法"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="snippet_html.html" title="7.
|
62
|
+
<a href="snippet_html.html" title="7.14.13. snippet_html"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v5.0.
|
64
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
-
<li><a href="../function.html" accesskey="U">7.
|
66
|
+
<li><a href="../function.html" accesskey="U">7.14. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
70
70
|
<div class="document">
|
71
71
|
<div class="documentwrapper">
|
72
72
|
<div class="bodywrapper">
|
73
|
-
<div class="body"
|
73
|
+
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="sub-filter">
|
76
|
-
<h1>7.
|
76
|
+
<h1>7.14.14. sub_filter<a class="headerlink" href="#sub-filter" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>7.
|
79
|
-
<p><
|
80
|
-
<p><
|
78
|
+
<h2>7.14.14.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
|
+
<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>7.
|
84
|
-
<p><
|
83
|
+
<h2>7.14.14.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
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>7.
|
90
|
+
<h2>7.14.14.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
91
91
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
92
92
|
<p>サンプルスキーマ:</p>
|
93
93
|
<p>実行例:</p>
|
@@ -136,11 +136,7 @@ load --table Blog
|
|
136
136
|
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
137
137
|
</pre></div>
|
138
138
|
</div>
|
139
|
-
<
|
140
|
-
<dt>ブログのエントリを抽出する <code class="docutils literal"><span class="pre">sub_filter</span></code> 関数の使用例です。</dt>
|
141
|
-
<dd><p class="first last">ユーザー'A'のコメント</p>
|
142
|
-
</dd>
|
143
|
-
</dl>
|
139
|
+
<p>ブログのエントリを抽出する <tt class="docutils literal"><span class="pre">sub_filter</span></tt> 関数の使用例です。</p>
|
144
140
|
<p>実行例:</p>
|
145
141
|
<div class="highlight-none"><div class="highlight"><pre>select Blog --output_columns _key --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
|
146
142
|
# [
|
@@ -214,26 +210,26 @@ load --table Blog
|
|
214
210
|
</ul>
|
215
211
|
</div>
|
216
212
|
<div class="section" id="parameters">
|
217
|
-
<h2>7.
|
218
|
-
<p>必須引数は二つあります。 <
|
213
|
+
<h2>7.14.14.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
214
|
+
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">scope</span></tt> と <tt class="docutils literal"><span class="pre">filter_string</span></tt> です。</p>
|
219
215
|
<div class="section" id="scope">
|
220
|
-
<h3>7.
|
221
|
-
<p><
|
216
|
+
<h3>7.14.14.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt><a class="headerlink" href="#scope" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
217
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">table</span></tt> パラメーターで指定したテーブルが持つカラムを指定します。このカラムには制限があります。制限については後述します。 <tt class="docutils literal"><span class="pre">filter_string</span></tt> はこのカラムの文脈で評価されます。これは、 <tt class="docutils literal"><span class="pre">filter_string</span></tt> は <tt class="docutils literal"><span class="pre">select</span> <span class="pre">--table</span> <span class="pre">カラムの型</span> <span class="pre">--filter</span> <span class="pre">フィルター文字列</span></tt> というように評価されるということです。</p>
|
222
218
|
<p>指定したカラムの型はテーブルでなければいけません。言いかえると、カラムの型は参照型でなければいけないということです。</p>
|
223
|
-
<p><
|
224
|
-
<p><
|
219
|
+
<p><tt class="docutils literal"><span class="pre">カラム1.カラム2.カラム3...カラムN</span></tt> という構文でカラムを数珠つなぎにできます。例えば、 <tt class="docutils literal"><span class="pre">user.group.name</span></tt> とできます。</p>
|
220
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">table</span></tt> 引数については <a class="reference internal" href="../commands/select.html#select-table"><em>table</em></a> を参照してください。</p>
|
225
221
|
</div>
|
226
222
|
<div class="section" id="filter-string">
|
227
|
-
<h3>7.
|
228
|
-
<p><a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a> の検索条件を指定します。これは <
|
223
|
+
<h3>7.14.14.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt><a class="headerlink" href="#filter-string" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
224
|
+
<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>
|
229
225
|
</div>
|
230
226
|
</div>
|
231
227
|
<div class="section" id="return-value">
|
232
|
-
<h2>7.
|
233
|
-
<p><
|
228
|
+
<h2>7.14.14.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
229
|
+
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> は1つでもレコードがマッチしたかどうかを返します。もし、1つ以上のレコードがマッチしたら <tt class="docutils literal"><span class="pre">true</span></tt> を返します。1つもマッチしなかったら <tt class="docutils literal"><span class="pre">false</span></tt> を返します。</p>
|
234
230
|
</div>
|
235
231
|
<div class="section" id="see-also">
|
236
|
-
<h2>7.
|
232
|
+
<h2>7.14.14.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
237
233
|
<ul class="simple">
|
238
234
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
239
235
|
<li><a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a></li>
|
@@ -245,39 +241,37 @@ load --table Blog
|
|
245
241
|
</div>
|
246
242
|
</div>
|
247
243
|
</div>
|
248
|
-
<div class="sphinxsidebar"
|
244
|
+
<div class="sphinxsidebar">
|
249
245
|
<div class="sphinxsidebarwrapper">
|
250
246
|
<h3><a href="../../index.html">目次</a></h3>
|
251
247
|
<ul>
|
252
|
-
<li><a class="reference internal" href="#">7.
|
253
|
-
<li><a class="reference internal" href="#summary">7.
|
254
|
-
<li><a class="reference internal" href="#syntax">7.
|
255
|
-
<li><a class="reference internal" href="#usage">7.
|
256
|
-
<li><a class="reference internal" href="#parameters">7.
|
257
|
-
<li><a class="reference internal" href="#scope">7.
|
258
|
-
<li><a class="reference internal" href="#filter-string">7.
|
248
|
+
<li><a class="reference internal" href="#">7.14.14. sub_filter</a><ul>
|
249
|
+
<li><a class="reference internal" href="#summary">7.14.14.1. 概要</a></li>
|
250
|
+
<li><a class="reference internal" href="#syntax">7.14.14.2. 構文</a></li>
|
251
|
+
<li><a class="reference internal" href="#usage">7.14.14.3. 使い方</a></li>
|
252
|
+
<li><a class="reference internal" href="#parameters">7.14.14.4. 引数</a><ul>
|
253
|
+
<li><a class="reference internal" href="#scope">7.14.14.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt></a></li>
|
254
|
+
<li><a class="reference internal" href="#filter-string">7.14.14.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt></a></li>
|
259
255
|
</ul>
|
260
256
|
</li>
|
261
|
-
<li><a class="reference internal" href="#return-value">7.
|
262
|
-
<li><a class="reference internal" href="#see-also">7.
|
257
|
+
<li><a class="reference internal" href="#return-value">7.14.14.5. 戻り値</a></li>
|
258
|
+
<li><a class="reference internal" href="#see-also">7.14.14.6. 参考</a></li>
|
263
259
|
</ul>
|
264
260
|
</li>
|
265
261
|
</ul>
|
266
262
|
|
267
263
|
<h4>前のトピックへ</h4>
|
268
264
|
<p class="topless"><a href="snippet_html.html"
|
269
|
-
title="前の章へ">7.
|
265
|
+
title="前の章へ">7.14.13. snippet_html</a></p>
|
270
266
|
<h4>次のトピックへ</h4>
|
271
267
|
<p class="topless"><a href="../operations.html"
|
272
|
-
title="次の章へ">7.
|
273
|
-
<
|
274
|
-
|
275
|
-
<
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
</div>
|
280
|
-
<div id="searchbox" style="display: none" role="search">
|
268
|
+
title="次の章へ">7.15. 操作方法</a></p>
|
269
|
+
<h3>このページ</h3>
|
270
|
+
<ul class="this-page-menu">
|
271
|
+
<li><a href="../../_sources/reference/functions/sub_filter.txt"
|
272
|
+
rel="nofollow">ソースコードを表示</a></li>
|
273
|
+
</ul>
|
274
|
+
<div id="searchbox" style="display: none">
|
281
275
|
<h3>クイック検索</h3>
|
282
276
|
<form class="search" action="../../search.html" method="get">
|
283
277
|
<input type="text" name="q" />
|
@@ -294,24 +288,24 @@ load --table Blog
|
|
294
288
|
</div>
|
295
289
|
<div class="clearer"></div>
|
296
290
|
</div>
|
297
|
-
<div class="related"
|
291
|
+
<div class="related">
|
298
292
|
<h3>ナビゲーション</h3>
|
299
293
|
<ul>
|
300
294
|
<li class="right" style="margin-right: 10px">
|
301
295
|
<a href="../../genindex.html" title="総合索引"
|
302
296
|
>索引</a></li>
|
303
297
|
<li class="right" >
|
304
|
-
<a href="../operations.html" title="7.
|
298
|
+
<a href="../operations.html" title="7.15. 操作方法"
|
305
299
|
>次へ</a> |</li>
|
306
300
|
<li class="right" >
|
307
|
-
<a href="snippet_html.html" title="7.
|
301
|
+
<a href="snippet_html.html" title="7.14.13. snippet_html"
|
308
302
|
>前へ</a> |</li>
|
309
|
-
<li><a href="../../index.html">Groonga v5.0.
|
303
|
+
<li><a href="../../index.html">Groonga v5.0.1-42-g4d10df1ドキュメント</a> »</li>
|
310
304
|
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
311
|
-
<li><a href="../function.html" >7.
|
305
|
+
<li><a href="../function.html" >7.14. 関数</a> »</li>
|
312
306
|
</ul>
|
313
307
|
</div>
|
314
|
-
<div class="footer"
|
308
|
+
<div class="footer">
|
315
309
|
© Copyright 2009-2015, Brazil, Inc.
|
316
310
|
</div>
|
317
311
|
</body>
|