rroonga 4.0.5-x86-mingw32 → 4.0.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="7.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="7.12.11. rand" href="rand.html" />
|
31
|
+
<link rel="prev" title="7.12.9. now" href="now.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="rand.html" title="
|
58
|
+
<a href="rand.html" title="7.12.11. rand"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="now.html" title="
|
61
|
+
<a href="now.html" title="7.12.9. now"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../../reference.html" >
|
65
|
-
<li><a href="../function.html" accesskey="U">
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">7.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,9 +72,9 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="query">
|
75
|
-
<h1>
|
75
|
+
<h1>7.12.10. query<a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>
|
77
|
+
<h2>7.12.10.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> provides <tt class="docutils literal"><span class="pre">--match_columns</span></tt> and <tt class="docutils literal"><span class="pre">--query</span></tt> parameters of
|
79
79
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a> feature as function. You can specify
|
80
80
|
multiple <tt class="docutils literal"><span class="pre">query</span></tt> functions in <tt class="docutils literal"><span class="pre">--filter</span></tt> parameter in
|
@@ -85,7 +85,7 @@ by combination of multiple <tt class="docutils literal"><span class="pre">query<
|
|
85
85
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="syntax">
|
88
|
-
<h2>
|
88
|
+
<h2>7.12.10.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
89
89
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> requires two arguments - <tt class="docutils literal"><span class="pre">match_columns</span></tt> and <tt class="docutils literal"><span class="pre">query_string</span></tt>.</p>
|
90
90
|
<p>The parameter <tt class="docutils literal"><span class="pre">query_expander</span></tt> or <tt class="docutils literal"><span class="pre">substitution_table</span></tt> is optional.</p>
|
91
91
|
<div class="highlight-none"><div class="highlight"><pre>query(match_columns, query_string)
|
@@ -95,7 +95,7 @@ query(match_columns, query_string, substitution_table)
|
|
95
95
|
</div>
|
96
96
|
</div>
|
97
97
|
<div class="section" id="usage">
|
98
|
-
<h2>
|
98
|
+
<h2>7.12.10.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
99
99
|
<p>Here are a schema definition and sample data to show usage.</p>
|
100
100
|
<p>Sample schema:</p>
|
101
101
|
<p>Execution example:</p>
|
@@ -297,18 +297,18 @@ You can't pass different weight value to each keyword in this way.</p>
|
|
297
297
|
keywords on your purpose.</p>
|
298
298
|
</div>
|
299
299
|
<div class="section" id="parameters">
|
300
|
-
<h2>
|
300
|
+
<h2>7.12.10.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
301
301
|
<div class="section" id="required-parameter">
|
302
|
-
<h3>
|
302
|
+
<h3>7.12.10.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
303
303
|
<p>There are two required parameter, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and <tt class="docutils literal"><span class="pre">query_string</span></tt>.</p>
|
304
304
|
<div class="section" id="match-columns">
|
305
|
-
<h4>
|
305
|
+
<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="Permalink to this headline">¶</a></h4>
|
306
306
|
<p>It specifies the default target column for fulltext search by
|
307
307
|
<tt class="docutils literal"><span class="pre">query_string</span></tt> parameter value. It is the same role as
|
308
308
|
<a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
309
309
|
</div>
|
310
310
|
<div class="section" id="query-string">
|
311
|
-
<h4>
|
311
|
+
<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="Permalink to this headline">¶</a></h4>
|
312
312
|
<p>It specifies the search condition in
|
313
313
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>. It is the same role as
|
314
314
|
<tt class="docutils literal"><span class="pre">query</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
@@ -317,16 +317,16 @@ keywords on your purpose.</p>
|
|
317
317
|
</div>
|
318
318
|
</div>
|
319
319
|
<div class="section" id="optional-parameter">
|
320
|
-
<h3>
|
320
|
+
<h3>7.12.10.4.2. Optional parameter<a class="headerlink" href="#optional-parameter" title="Permalink to this headline">¶</a></h3>
|
321
321
|
<p>There are some optional parameters.</p>
|
322
322
|
<div class="section" id="query-expander">
|
323
|
-
<h4>
|
323
|
+
<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="Permalink to this headline">¶</a></h4>
|
324
324
|
<p>It specifies the plugin name for query expansion.</p>
|
325
325
|
<p>There is one plugin bundled in official release - <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a>.</p>
|
326
326
|
<p>See <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> about details.</p>
|
327
327
|
</div>
|
328
328
|
<div class="section" id="substitution-table">
|
329
|
-
<h4>
|
329
|
+
<h4>7.12.10.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt><a class="headerlink" href="#substitution-table" title="Permalink to this headline">¶</a></h4>
|
330
330
|
<p>It specifies the substitution table and substitution column name
|
331
331
|
by following format such as <tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt> for query expansion.</p>
|
332
332
|
<p>See <a class="reference internal" href="../commands/select.html#query-expander"><em>query_expander</em></a> about details.</p>
|
@@ -334,19 +334,19 @@ by following format such as <tt class="docutils literal"><span class="pre">${TAB
|
|
334
334
|
</div>
|
335
335
|
</div>
|
336
336
|
<div class="section" id="return-value">
|
337
|
-
<h2>
|
337
|
+
<h2>7.12.10.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
338
338
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> returns whether any record is matched or not. If one or more
|
339
339
|
records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
|
340
340
|
<tt class="docutils literal"><span class="pre">false</span></tt>.</p>
|
341
341
|
</div>
|
342
342
|
<div class="section" id="todo">
|
343
|
-
<h2>
|
343
|
+
<h2>7.12.10.6. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
344
344
|
<ul class="simple">
|
345
345
|
<li>Support query_flags</li>
|
346
346
|
</ul>
|
347
347
|
</div>
|
348
348
|
<div class="section" id="see-also">
|
349
|
-
<h2>
|
349
|
+
<h2>7.12.10.7. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
350
350
|
<ul class="simple">
|
351
351
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
352
352
|
</ul>
|
@@ -361,36 +361,36 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
361
361
|
<div class="sphinxsidebarwrapper">
|
362
362
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
363
363
|
<ul>
|
364
|
-
<li><a class="reference internal" href="#">
|
365
|
-
<li><a class="reference internal" href="#summary">
|
366
|
-
<li><a class="reference internal" href="#syntax">
|
367
|
-
<li><a class="reference internal" href="#usage">
|
368
|
-
<li><a class="reference internal" href="#parameters">
|
369
|
-
<li><a class="reference internal" href="#required-parameter">
|
370
|
-
<li><a class="reference internal" href="#match-columns">
|
371
|
-
<li><a class="reference internal" href="#query-string">
|
364
|
+
<li><a class="reference internal" href="#">7.12.10. query</a><ul>
|
365
|
+
<li><a class="reference internal" href="#summary">7.12.10.1. Summary</a></li>
|
366
|
+
<li><a class="reference internal" href="#syntax">7.12.10.2. Syntax</a></li>
|
367
|
+
<li><a class="reference internal" href="#usage">7.12.10.3. Usage</a></li>
|
368
|
+
<li><a class="reference internal" href="#parameters">7.12.10.4. Parameters</a><ul>
|
369
|
+
<li><a class="reference internal" href="#required-parameter">7.12.10.4.1. Required parameter</a><ul>
|
370
|
+
<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>
|
371
|
+
<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>
|
372
372
|
</ul>
|
373
373
|
</li>
|
374
|
-
<li><a class="reference internal" href="#optional-parameter">
|
375
|
-
<li><a class="reference internal" href="#query-expander">
|
376
|
-
<li><a class="reference internal" href="#substitution-table">
|
374
|
+
<li><a class="reference internal" href="#optional-parameter">7.12.10.4.2. Optional parameter</a><ul>
|
375
|
+
<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>
|
376
|
+
<li><a class="reference internal" href="#substitution-table">7.12.10.4.2.2. <tt class="docutils literal"><span class="pre">substitution_table</span></tt></a></li>
|
377
377
|
</ul>
|
378
378
|
</li>
|
379
379
|
</ul>
|
380
380
|
</li>
|
381
|
-
<li><a class="reference internal" href="#return-value">
|
382
|
-
<li><a class="reference internal" href="#todo">
|
383
|
-
<li><a class="reference internal" href="#see-also">
|
381
|
+
<li><a class="reference internal" href="#return-value">7.12.10.5. Return value</a></li>
|
382
|
+
<li><a class="reference internal" href="#todo">7.12.10.6. TODO</a></li>
|
383
|
+
<li><a class="reference internal" href="#see-also">7.12.10.7. See also</a></li>
|
384
384
|
</ul>
|
385
385
|
</li>
|
386
386
|
</ul>
|
387
387
|
|
388
388
|
<h4>Previous topic</h4>
|
389
389
|
<p class="topless"><a href="now.html"
|
390
|
-
title="previous chapter">
|
390
|
+
title="previous chapter">7.12.9. now</a></p>
|
391
391
|
<h4>Next topic</h4>
|
392
392
|
<p class="topless"><a href="rand.html"
|
393
|
-
title="next chapter">
|
393
|
+
title="next chapter">7.12.11. rand</a></p>
|
394
394
|
<h3>This Page</h3>
|
395
395
|
<ul class="this-page-menu">
|
396
396
|
<li><a href="../../_sources/reference/functions/query.txt"
|
@@ -420,14 +420,14 @@ records are matched, it returns <tt class="docutils literal"><span class="pre">t
|
|
420
420
|
<a href="../../genindex.html" title="General Index"
|
421
421
|
>index</a></li>
|
422
422
|
<li class="right" >
|
423
|
-
<a href="rand.html" title="
|
423
|
+
<a href="rand.html" title="7.12.11. rand"
|
424
424
|
>next</a> |</li>
|
425
425
|
<li class="right" >
|
426
|
-
<a href="now.html" title="
|
426
|
+
<a href="now.html" title="7.12.9. now"
|
427
427
|
>previous</a> |</li>
|
428
|
-
<li><a href="../../index.html">Groonga v4.0.
|
429
|
-
<li><a href="../../reference.html" >
|
430
|
-
<li><a href="../function.html" >
|
428
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
429
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
430
|
+
<li><a href="../function.html" >7.12. Function</a> »</li>
|
431
431
|
</ul>
|
432
432
|
</div>
|
433
433
|
<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 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="7.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="7.12.12. snippet_html" href="snippet_html.html" />
|
31
|
+
<link rel="prev" title="7.12.10. query" href="query.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="snippet_html.html" title="
|
58
|
+
<a href="snippet_html.html" title="7.12.12. snippet_html"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="query.html" title="
|
61
|
+
<a href="query.html" title="7.12.10. query"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../../reference.html" >
|
65
|
-
<li><a href="../function.html" accesskey="U">
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">7.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,34 +72,34 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="rand">
|
75
|
-
<h1>
|
75
|
+
<h1>7.12.11. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h2>
|
77
|
+
<h2>7.12.11.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>rand - 乱数を生成する</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="id2">
|
81
|
-
<h2>
|
81
|
+
<h2>7.12.11.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<div class="highlight-none"><div class="highlight"><pre>rand([max])
|
83
83
|
</pre></div>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h2>
|
87
|
+
<h2>7.12.11.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
88
88
|
<p>Groonga組込関数の一つであるrandについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
89
89
|
<p>rand() 関数は 0 から max の間の疑似乱数整数を返します。</p>
|
90
90
|
</div>
|
91
91
|
<div class="section" id="id4">
|
92
|
-
<h2>
|
92
|
+
<h2>7.12.11.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p><tt class="docutils literal"><span class="pre">max</span></tt></p>
|
94
94
|
<blockquote>
|
95
95
|
<div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
|
96
96
|
</div>
|
97
97
|
<div class="section" id="id5">
|
98
|
-
<h2>
|
98
|
+
<h2>7.12.11.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
99
99
|
<p>0 と max の間の数を表すInt32型の値を返します。</p>
|
100
100
|
</div>
|
101
101
|
<div class="section" id="id6">
|
102
|
-
<h2>
|
102
|
+
<h2>7.12.11.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
103
103
|
<div class="highlight-none"><div class="highlight"><pre>rand(10)
|
104
104
|
3
|
105
105
|
</pre></div>
|
@@ -115,23 +115,23 @@
|
|
115
115
|
<div class="sphinxsidebarwrapper">
|
116
116
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
117
117
|
<ul>
|
118
|
-
<li><a class="reference internal" href="#">
|
119
|
-
<li><a class="reference internal" href="#id1">
|
120
|
-
<li><a class="reference internal" href="#id2">
|
121
|
-
<li><a class="reference internal" href="#id3">
|
122
|
-
<li><a class="reference internal" href="#id4">
|
123
|
-
<li><a class="reference internal" href="#id5">
|
124
|
-
<li><a class="reference internal" href="#id6">
|
118
|
+
<li><a class="reference internal" href="#">7.12.11. rand</a><ul>
|
119
|
+
<li><a class="reference internal" href="#id1">7.12.11.1. 名前</a></li>
|
120
|
+
<li><a class="reference internal" href="#id2">7.12.11.2. 書式</a></li>
|
121
|
+
<li><a class="reference internal" href="#id3">7.12.11.3. 説明</a></li>
|
122
|
+
<li><a class="reference internal" href="#id4">7.12.11.4. 引数</a></li>
|
123
|
+
<li><a class="reference internal" href="#id5">7.12.11.5. 返値</a></li>
|
124
|
+
<li><a class="reference internal" href="#id6">7.12.11.6. 例</a></li>
|
125
125
|
</ul>
|
126
126
|
</li>
|
127
127
|
</ul>
|
128
128
|
|
129
129
|
<h4>Previous topic</h4>
|
130
130
|
<p class="topless"><a href="query.html"
|
131
|
-
title="previous chapter">
|
131
|
+
title="previous chapter">7.12.10. query</a></p>
|
132
132
|
<h4>Next topic</h4>
|
133
133
|
<p class="topless"><a href="snippet_html.html"
|
134
|
-
title="next chapter">
|
134
|
+
title="next chapter">7.12.12. snippet_html</a></p>
|
135
135
|
<h3>This Page</h3>
|
136
136
|
<ul class="this-page-menu">
|
137
137
|
<li><a href="../../_sources/reference/functions/rand.txt"
|
@@ -161,14 +161,14 @@
|
|
161
161
|
<a href="../../genindex.html" title="General Index"
|
162
162
|
>index</a></li>
|
163
163
|
<li class="right" >
|
164
|
-
<a href="snippet_html.html" title="
|
164
|
+
<a href="snippet_html.html" title="7.12.12. snippet_html"
|
165
165
|
>next</a> |</li>
|
166
166
|
<li class="right" >
|
167
|
-
<a href="query.html" title="
|
167
|
+
<a href="query.html" title="7.12.10. query"
|
168
168
|
>previous</a> |</li>
|
169
|
-
<li><a href="../../index.html">Groonga v4.0.
|
170
|
-
<li><a href="../../reference.html" >
|
171
|
-
<li><a href="../function.html" >
|
169
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
170
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
171
|
+
<li><a href="../function.html" >7.12. Function</a> »</li>
|
172
172
|
</ul>
|
173
173
|
</div>
|
174
174
|
<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 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="7.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="7.12.13. sub_filter" href="sub_filter.html" />
|
31
|
+
<link rel="prev" title="7.12.11. rand" href="rand.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="sub_filter.html" title="
|
58
|
+
<a href="sub_filter.html" title="7.12.13. sub_filter"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="rand.html" title="
|
61
|
+
<a href="rand.html" title="7.12.11. rand"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../../reference.html" >
|
65
|
-
<li><a href="../function.html" accesskey="U">
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">7.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,13 +72,13 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="snippet-html">
|
75
|
-
<h1>
|
75
|
+
<h1>7.12.12. snippet_html<a class="headerlink" href="#snippet-html" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="admonition caution">
|
77
77
|
<p class="first admonition-title">Caution</p>
|
78
78
|
<p class="last">This feature is experimental. API will be changed.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="summary">
|
81
|
-
<h2>
|
81
|
+
<h2>7.12.12.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> extracts snippets of target text around search
|
83
83
|
keywords (<tt class="docutils literal"><span class="pre">KWIC</span></tt>. <tt class="docutils literal"><span class="pre">KeyWord</span> <span class="pre">In</span> <span class="pre">Context</span></tt>). The snippets are prepared
|
84
84
|
for embedding HTML. Special characters such as <tt class="docutils literal"><span class="pre"><</span></tt> and <tt class="docutils literal"><span class="pre">></span></tt> are
|
@@ -88,7 +88,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
88
88
|
<span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></tt>.</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="syntax">
|
91
|
-
<h2>
|
91
|
+
<h2>7.12.12.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
92
92
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> has only one parameter:</p>
|
93
93
|
<div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
|
94
94
|
</pre></div>
|
@@ -97,7 +97,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
97
97
|
specified for now. You will be able to custom those parameters soon.</p>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="usage">
|
100
|
-
<h2>
|
100
|
+
<h2>7.12.12.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
101
101
|
<p>Here are a schema definition and sample data to show usage.</p>
|
102
102
|
<p>Execution example:</p>
|
103
103
|
<div class="highlight-none"><div class="highlight"><pre>table_create Documents TABLE_NO_KEY
|
@@ -199,7 +199,7 @@ aren't customizable.</p>
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div class="section" id="return-value">
|
202
|
-
<h2>
|
202
|
+
<h2>7.12.12.4. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
203
203
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> returns an array of string or <tt class="docutils literal"><span class="pre">null</span></tt>. If
|
204
204
|
<tt class="docutils literal"><span class="pre">snippet_html</span></tt> can't find any snippets, it returns <tt class="docutils literal"><span class="pre">null</span></tt>.</p>
|
205
205
|
<p>An element of array is a snippet:</p>
|
@@ -213,7 +213,7 @@ snippet except <tt class="docutils literal"><span class="pre"><span</span> <s
|
|
213
213
|
to 3. The max size 3 will be customizable soon.</p>
|
214
214
|
</div>
|
215
215
|
<div class="section" id="todo">
|
216
|
-
<h2>
|
216
|
+
<h2>7.12.12.5. TODO<a class="headerlink" href="#todo" title="Permalink to this headline">¶</a></h2>
|
217
217
|
<ul class="simple">
|
218
218
|
<li>Make the max number of text parts customizable.</li>
|
219
219
|
<li>Make the max size of a text part customizable.</li>
|
@@ -224,7 +224,7 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
224
224
|
</ul>
|
225
225
|
</div>
|
226
226
|
<div class="section" id="see-also">
|
227
|
-
<h2>
|
227
|
+
<h2>7.12.12.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
228
228
|
<ul class="simple">
|
229
229
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
230
230
|
</ul>
|
@@ -239,23 +239,23 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
239
239
|
<div class="sphinxsidebarwrapper">
|
240
240
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
241
241
|
<ul>
|
242
|
-
<li><a class="reference internal" href="#">
|
243
|
-
<li><a class="reference internal" href="#summary">
|
244
|
-
<li><a class="reference internal" href="#syntax">
|
245
|
-
<li><a class="reference internal" href="#usage">
|
246
|
-
<li><a class="reference internal" href="#return-value">
|
247
|
-
<li><a class="reference internal" href="#todo">
|
248
|
-
<li><a class="reference internal" href="#see-also">
|
242
|
+
<li><a class="reference internal" href="#">7.12.12. snippet_html</a><ul>
|
243
|
+
<li><a class="reference internal" href="#summary">7.12.12.1. Summary</a></li>
|
244
|
+
<li><a class="reference internal" href="#syntax">7.12.12.2. Syntax</a></li>
|
245
|
+
<li><a class="reference internal" href="#usage">7.12.12.3. Usage</a></li>
|
246
|
+
<li><a class="reference internal" href="#return-value">7.12.12.4. Return value</a></li>
|
247
|
+
<li><a class="reference internal" href="#todo">7.12.12.5. TODO</a></li>
|
248
|
+
<li><a class="reference internal" href="#see-also">7.12.12.6. See also</a></li>
|
249
249
|
</ul>
|
250
250
|
</li>
|
251
251
|
</ul>
|
252
252
|
|
253
253
|
<h4>Previous topic</h4>
|
254
254
|
<p class="topless"><a href="rand.html"
|
255
|
-
title="previous chapter">
|
255
|
+
title="previous chapter">7.12.11. rand</a></p>
|
256
256
|
<h4>Next topic</h4>
|
257
257
|
<p class="topless"><a href="sub_filter.html"
|
258
|
-
title="next chapter">
|
258
|
+
title="next chapter">7.12.13. sub_filter</a></p>
|
259
259
|
<h3>This Page</h3>
|
260
260
|
<ul class="this-page-menu">
|
261
261
|
<li><a href="../../_sources/reference/functions/snippet_html.txt"
|
@@ -285,14 +285,14 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
285
285
|
<a href="../../genindex.html" title="General Index"
|
286
286
|
>index</a></li>
|
287
287
|
<li class="right" >
|
288
|
-
<a href="sub_filter.html" title="
|
288
|
+
<a href="sub_filter.html" title="7.12.13. sub_filter"
|
289
289
|
>next</a> |</li>
|
290
290
|
<li class="right" >
|
291
|
-
<a href="rand.html" title="
|
291
|
+
<a href="rand.html" title="7.12.11. rand"
|
292
292
|
>previous</a> |</li>
|
293
|
-
<li><a href="../../index.html">Groonga v4.0.
|
294
|
-
<li><a href="../../reference.html" >
|
295
|
-
<li><a href="../function.html" >
|
293
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
294
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
295
|
+
<li><a href="../function.html" >7.12. Function</a> »</li>
|
296
296
|
</ul>
|
297
297
|
</div>
|
298
298
|
<div class="footer">
|