rroonga 4.0.5-x64-mingw32 → 4.0.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -1
- 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/groonga/dumper.rb +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- 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/libonig-5.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -1
- 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 +1 -1
- 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 +1 -1
- 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 +41 -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/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- 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/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +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/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- 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 +11 -11
- 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 +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- 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 +10 -10
- 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/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- 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 +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.10. query — Groonga v4.0.6-211-g8c0bb0bドキュメント</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: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.11. rand" href="rand.html" />
|
32
|
+
<link rel="prev" title="7.12.9. now" href="now.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="rand.html" title="
|
59
|
+
<a href="rand.html" title="7.12.11. rand"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="now.html" title="
|
62
|
+
<a href="now.html" title="7.12.9. now"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,15 +73,15 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="query">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.10. query<a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>
|
78
|
+
<h2>7.12.10.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> は、<a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> と <tt class="docutils literal"><span class="pre">--query</span></tt> 引数の機能を関数として提供します。<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">query</span></tt> 関数を指定することができます。</p>
|
80
80
|
<p>そのような柔軟性があるので、 複数の <tt class="docutils literal"><span class="pre">query</span></tt> 関数を組合せることで全文検索の振舞いを制御することができます。</p>
|
81
81
|
<p><tt class="docutils literal"><span class="pre">query</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>
|
82
82
|
</div>
|
83
83
|
<div class="section" id="syntax">
|
84
|
-
<h2>
|
84
|
+
<h2>7.12.10.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
85
85
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> は2つの引数が必要です。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> と <tt class="docutils literal"><span class="pre">query_string</span></tt> です。</p>
|
86
86
|
<p>引数の <tt class="docutils literal"><span class="pre">query_expander</span></tt> や <tt class="docutils literal"><span class="pre">substitution_table</span></tt> は省略可能です。</p>
|
87
87
|
<div class="highlight-none"><div class="highlight"><pre>query(match_columns, query_string)
|
@@ -91,7 +91,7 @@ query(match_columns, query_string, substitution_table)
|
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
<div class="section" id="usage">
|
94
|
-
<h2>
|
94
|
+
<h2>7.12.10.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
95
95
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
96
96
|
<p>サンプルスキーマ:</p>
|
97
97
|
<p>実行例:</p>
|
@@ -286,49 +286,49 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
286
286
|
<p>結果として、意図した様に異なる重みづけを行いつつ全文検索の振舞いを制御することができます。</p>
|
287
287
|
</div>
|
288
288
|
<div class="section" id="parameters">
|
289
|
-
<h2>
|
289
|
+
<h2>7.12.10.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
290
290
|
<div class="section" id="required-parameter">
|
291
|
-
<h3>
|
291
|
+
<h3>7.12.10.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
292
292
|
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> と <tt class="docutils literal"><span class="pre">query_string</span></tt> です。</p>
|
293
293
|
<div class="section" id="match-columns">
|
294
|
-
<h4>
|
294
|
+
<h4>7.12.10.4.1.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
295
295
|
<p><tt class="docutils literal"><span class="pre">query_string</span></tt> パラメーターの値で全文検索するときのデフォルトの検索対象カラムを指定します。このパラメーターは <tt class="docutils literal"><span class="pre">select</span></tt> の <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> パラメーターと同じ役割です。</p>
|
296
296
|
</div>
|
297
297
|
<div class="section" id="query-string">
|
298
|
-
<h4>
|
298
|
+
<h4>7.12.10.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt><a class="headerlink" href="#query-string" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
299
299
|
<p><a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> で検索条件を指定します。このパラメーターは <tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">query</span></tt> パラメーターと同じ役割です。</p>
|
300
300
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">query</span></tt> については <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> を参照してください。</p>
|
301
301
|
</div>
|
302
302
|
</div>
|
303
303
|
<div class="section" id="optional-parameter">
|
304
|
-
<h3>
|
304
|
+
<h3>7.12.10.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
305
305
|
<p>いくつか省略可能な引数があります。</p>
|
306
306
|
<div class="section" id="query-expander">
|
307
|
-
<h4>
|
307
|
+
<h4>7.12.10.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
308
308
|
<p>クエリ展開に使うプラグイン名を指定します。</p>
|
309
309
|
<p><a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> は公式リリースに含まれているプラグインの1つです。</p>
|
310
310
|
<p>詳細については <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> を参照してください。</p>
|
311
311
|
</div>
|
312
312
|
<div class="section" id="substitution-table">
|
313
|
-
<h4>
|
313
|
+
<h4>7.12.10.4.2.2. <tt class="docutils literal"><span class="pre">置換テーブル</span></tt><a class="headerlink" href="#substitution-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
314
314
|
<p>置換テーブルとカラム名を <tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt> という書式でクエリ展開のために指定します。</p>
|
315
315
|
<p>詳細については <a class="reference internal" href="../commands/select.html#query-expander"><em>query_expander</em></a> を参照してください。</p>
|
316
316
|
</div>
|
317
317
|
</div>
|
318
318
|
</div>
|
319
319
|
<div class="section" id="return-value">
|
320
|
-
<h2>
|
320
|
+
<h2>7.12.10.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
321
321
|
<p><tt class="docutils literal"><span class="pre">query</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>
|
322
322
|
</div>
|
323
323
|
<div class="section" id="todo">
|
324
|
-
<h2>
|
324
|
+
<h2>7.12.10.6. TODO<a class="headerlink" href="#todo" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
325
325
|
<ul class="simple">
|
326
326
|
<li><p class="first">query_flagsのサポート</p>
|
327
327
|
</li>
|
328
328
|
</ul>
|
329
329
|
</div>
|
330
330
|
<div class="section" id="see-also">
|
331
|
-
<h2>
|
331
|
+
<h2>7.12.10.7. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
332
332
|
<ul class="simple">
|
333
333
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
334
334
|
</ul>
|
@@ -343,36 +343,36 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
343
343
|
<div class="sphinxsidebarwrapper">
|
344
344
|
<h3><a href="../../index.html">目次</a></h3>
|
345
345
|
<ul>
|
346
|
-
<li><a class="reference internal" href="#">
|
347
|
-
<li><a class="reference internal" href="#summary">
|
348
|
-
<li><a class="reference internal" href="#syntax">
|
349
|
-
<li><a class="reference internal" href="#usage">
|
350
|
-
<li><a class="reference internal" href="#parameters">
|
351
|
-
<li><a class="reference internal" href="#required-parameter">
|
352
|
-
<li><a class="reference internal" href="#match-columns">
|
353
|
-
<li><a class="reference internal" href="#query-string">
|
346
|
+
<li><a class="reference internal" href="#">7.12.10. query</a><ul>
|
347
|
+
<li><a class="reference internal" href="#summary">7.12.10.1. 概要</a></li>
|
348
|
+
<li><a class="reference internal" href="#syntax">7.12.10.2. 構文</a></li>
|
349
|
+
<li><a class="reference internal" href="#usage">7.12.10.3. 使い方</a></li>
|
350
|
+
<li><a class="reference internal" href="#parameters">7.12.10.4. 引数</a><ul>
|
351
|
+
<li><a class="reference internal" href="#required-parameter">7.12.10.4.1. 必須引数</a><ul>
|
352
|
+
<li><a class="reference internal" href="#match-columns">7.12.10.4.1.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
353
|
+
<li><a class="reference internal" href="#query-string">7.12.10.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt></a></li>
|
354
354
|
</ul>
|
355
355
|
</li>
|
356
|
-
<li><a class="reference internal" href="#optional-parameter">
|
357
|
-
<li><a class="reference internal" href="#query-expander">
|
358
|
-
<li><a class="reference internal" href="#substitution-table">
|
356
|
+
<li><a class="reference internal" href="#optional-parameter">7.12.10.4.2. 省略可能引数</a><ul>
|
357
|
+
<li><a class="reference internal" href="#query-expander">7.12.10.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
358
|
+
<li><a class="reference internal" href="#substitution-table">7.12.10.4.2.2. <tt class="docutils literal"><span class="pre">置換テーブル</span></tt></a></li>
|
359
359
|
</ul>
|
360
360
|
</li>
|
361
361
|
</ul>
|
362
362
|
</li>
|
363
|
-
<li><a class="reference internal" href="#return-value">
|
364
|
-
<li><a class="reference internal" href="#todo">
|
365
|
-
<li><a class="reference internal" href="#see-also">
|
363
|
+
<li><a class="reference internal" href="#return-value">7.12.10.5. 戻り値</a></li>
|
364
|
+
<li><a class="reference internal" href="#todo">7.12.10.6. TODO</a></li>
|
365
|
+
<li><a class="reference internal" href="#see-also">7.12.10.7. 参考</a></li>
|
366
366
|
</ul>
|
367
367
|
</li>
|
368
368
|
</ul>
|
369
369
|
|
370
370
|
<h4>前のトピックへ</h4>
|
371
371
|
<p class="topless"><a href="now.html"
|
372
|
-
title="前の章へ">
|
372
|
+
title="前の章へ">7.12.9. now</a></p>
|
373
373
|
<h4>次のトピックへ</h4>
|
374
374
|
<p class="topless"><a href="rand.html"
|
375
|
-
title="次の章へ">
|
375
|
+
title="次の章へ">7.12.11. rand</a></p>
|
376
376
|
<h3>このページ</h3>
|
377
377
|
<ul class="this-page-menu">
|
378
378
|
<li><a href="../../_sources/reference/functions/query.txt"
|
@@ -402,14 +402,14 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
402
402
|
<a href="../../genindex.html" title="総合索引"
|
403
403
|
>索引</a></li>
|
404
404
|
<li class="right" >
|
405
|
-
<a href="rand.html" title="
|
405
|
+
<a href="rand.html" title="7.12.11. rand"
|
406
406
|
>次へ</a> |</li>
|
407
407
|
<li class="right" >
|
408
|
-
<a href="now.html" title="
|
408
|
+
<a href="now.html" title="7.12.9. now"
|
409
409
|
>前へ</a> |</li>
|
410
|
-
<li><a href="../../index.html">Groonga v4.0.
|
411
|
-
<li><a href="../../reference.html" >
|
412
|
-
<li><a href="../function.html" >
|
410
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
411
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
412
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
413
413
|
</ul>
|
414
414
|
</div>
|
415
415
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.11. rand — Groonga v4.0.6-211-g8c0bb0bドキュメント</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: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.12. snippet_html" href="snippet_html.html" />
|
32
|
+
<link rel="prev" title="7.12.10. query" href="query.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="
|
59
|
+
<a href="snippet_html.html" title="7.12.12. snippet_html"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="query.html" title="
|
62
|
+
<a href="query.html" title="7.12.10. query"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,34 +73,34 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="rand">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.11. rand<a class="headerlink" href="#rand" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>
|
78
|
+
<h2>7.12.11.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>
|
82
|
+
<h2>7.12.11.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>
|
88
|
+
<h2>7.12.11.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>
|
93
|
+
<h2>7.12.11.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
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>
|
99
|
+
<h2>7.12.11.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>
|
103
|
+
<h2>7.12.11.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>
|
@@ -116,23 +116,23 @@
|
|
116
116
|
<div class="sphinxsidebarwrapper">
|
117
117
|
<h3><a href="../../index.html">目次</a></h3>
|
118
118
|
<ul>
|
119
|
-
<li><a class="reference internal" href="#">
|
120
|
-
<li><a class="reference internal" href="#id1">
|
121
|
-
<li><a class="reference internal" href="#id2">
|
122
|
-
<li><a class="reference internal" href="#id3">
|
123
|
-
<li><a class="reference internal" href="#id4">
|
124
|
-
<li><a class="reference internal" href="#id5">
|
125
|
-
<li><a class="reference internal" href="#id6">
|
119
|
+
<li><a class="reference internal" href="#">7.12.11. rand</a><ul>
|
120
|
+
<li><a class="reference internal" href="#id1">7.12.11.1. 名前</a></li>
|
121
|
+
<li><a class="reference internal" href="#id2">7.12.11.2. 書式</a></li>
|
122
|
+
<li><a class="reference internal" href="#id3">7.12.11.3. 説明</a></li>
|
123
|
+
<li><a class="reference internal" href="#id4">7.12.11.4. 引数</a></li>
|
124
|
+
<li><a class="reference internal" href="#id5">7.12.11.5. 返値</a></li>
|
125
|
+
<li><a class="reference internal" href="#id6">7.12.11.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="前の章へ">
|
132
|
+
title="前の章へ">7.12.10. query</a></p>
|
133
133
|
<h4>次のトピックへ</h4>
|
134
134
|
<p class="topless"><a href="snippet_html.html"
|
135
|
-
title="次の章へ">
|
135
|
+
title="次の章へ">7.12.12. snippet_html</a></p>
|
136
136
|
<h3>このページ</h3>
|
137
137
|
<ul class="this-page-menu">
|
138
138
|
<li><a href="../../_sources/reference/functions/rand.txt"
|
@@ -162,14 +162,14 @@
|
|
162
162
|
<a href="../../genindex.html" title="総合索引"
|
163
163
|
>索引</a></li>
|
164
164
|
<li class="right" >
|
165
|
-
<a href="snippet_html.html" title="
|
165
|
+
<a href="snippet_html.html" title="7.12.12. snippet_html"
|
166
166
|
>次へ</a> |</li>
|
167
167
|
<li class="right" >
|
168
|
-
<a href="query.html" title="
|
168
|
+
<a href="query.html" title="7.12.10. query"
|
169
169
|
>前へ</a> |</li>
|
170
|
-
<li><a href="../../index.html">Groonga v4.0.
|
171
|
-
<li><a href="../../reference.html" >
|
172
|
-
<li><a href="../function.html" >
|
170
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
171
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
172
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
173
173
|
</ul>
|
174
174
|
</div>
|
175
175
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.12.12. snippet_html — Groonga v4.0.6-211-g8c0bb0bドキュメント</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: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="7.12. 関数" href="../function.html" />
|
31
|
+
<link rel="next" title="7.12.13. sub_filter" href="sub_filter.html" />
|
32
|
+
<link rel="prev" title="7.12.11. rand" href="rand.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
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="
|
59
|
+
<a href="sub_filter.html" title="7.12.13. sub_filter"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="rand.html" title="
|
62
|
+
<a href="rand.html" title="7.12.11. rand"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../../reference.html" >
|
66
|
-
<li><a href="../function.html" accesskey="U">
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
66
|
+
<li><a href="../function.html" accesskey="U">7.12. 関数</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,17 +73,17 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="snippet-html">
|
76
|
-
<h1>
|
76
|
+
<h1>7.12.12. 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>
|
82
|
+
<h2>7.12.12.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>
|
86
|
+
<h2>7.12.12.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>
|
94
|
+
<h2>7.12.12.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>
|
184
|
+
<h2>7.12.12.4. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
185
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]
|
@@ -191,7 +191,7 @@ load --table Documents
|
|
191
191
|
<p>配列のサイズは0以上3以下です。最大サイズの3は、じきにカスタマイズできるようになる予定です。</p>
|
192
192
|
</div>
|
193
193
|
<div class="section" id="todo">
|
194
|
-
<h2>
|
194
|
+
<h2>7.12.12.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>
|
211
|
+
<h2>7.12.12.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>
|
@@ -223,23 +223,23 @@ load --table Documents
|
|
223
223
|
<div class="sphinxsidebarwrapper">
|
224
224
|
<h3><a href="../../index.html">目次</a></h3>
|
225
225
|
<ul>
|
226
|
-
<li><a class="reference internal" href="#">
|
227
|
-
<li><a class="reference internal" href="#summary">
|
228
|
-
<li><a class="reference internal" href="#syntax">
|
229
|
-
<li><a class="reference internal" href="#usage">
|
230
|
-
<li><a class="reference internal" href="#return-value">
|
231
|
-
<li><a class="reference internal" href="#todo">
|
232
|
-
<li><a class="reference internal" href="#see-also">
|
226
|
+
<li><a class="reference internal" href="#">7.12.12. snippet_html</a><ul>
|
227
|
+
<li><a class="reference internal" href="#summary">7.12.12.1. 概要</a></li>
|
228
|
+
<li><a class="reference internal" href="#syntax">7.12.12.2. 構文</a></li>
|
229
|
+
<li><a class="reference internal" href="#usage">7.12.12.3. 使い方</a></li>
|
230
|
+
<li><a class="reference internal" href="#return-value">7.12.12.4. 戻り値</a></li>
|
231
|
+
<li><a class="reference internal" href="#todo">7.12.12.5. TODO</a></li>
|
232
|
+
<li><a class="reference internal" href="#see-also">7.12.12.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="前の章へ">
|
239
|
+
title="前の章へ">7.12.11. rand</a></p>
|
240
240
|
<h4>次のトピックへ</h4>
|
241
241
|
<p class="topless"><a href="sub_filter.html"
|
242
|
-
title="次の章へ">
|
242
|
+
title="次の章へ">7.12.13. sub_filter</a></p>
|
243
243
|
<h3>このページ</h3>
|
244
244
|
<ul class="this-page-menu">
|
245
245
|
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
@@ -269,14 +269,14 @@ load --table Documents
|
|
269
269
|
<a href="../../genindex.html" title="総合索引"
|
270
270
|
>索引</a></li>
|
271
271
|
<li class="right" >
|
272
|
-
<a href="sub_filter.html" title="
|
272
|
+
<a href="sub_filter.html" title="7.12.13. sub_filter"
|
273
273
|
>次へ</a> |</li>
|
274
274
|
<li class="right" >
|
275
|
-
<a href="rand.html" title="
|
275
|
+
<a href="rand.html" title="7.12.11. rand"
|
276
276
|
>前へ</a> |</li>
|
277
|
-
<li><a href="../../index.html">Groonga v4.0.
|
278
|
-
<li><a href="../../reference.html" >
|
279
|
-
<li><a href="../function.html" >
|
277
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
278
|
+
<li><a href="../../reference.html" >7. リファレンスマニュアル</a> »</li>
|
279
|
+
<li><a href="../function.html" >7.12. 関数</a> »</li>
|
280
280
|
</ul>
|
281
281
|
</div>
|
282
282
|
<div class="footer">
|