rroonga 4.0.0-x86-mingw32 → 4.0.1-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 +4 -4
- data/.yardopts +6 -0
- data/doc/text/news.textile +26 -0
- data/ext/groonga/rb-grn-column.c +42 -2
- data/ext/groonga/rb-grn-index-column.c +57 -159
- data/ext/groonga/rb-grn-object.c +7 -0
- data/ext/groonga/rb-grn-table.c +19 -3
- data/ext/groonga/rb-grn-utils.c +4 -1
- data/ext/groonga/rb-grn-variable-size-column.c +405 -5
- data/ext/groonga/rb-grn.h +18 -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 +46 -22
- data/lib/groonga/expression-builder.rb +2 -4
- data/lib/groonga/schema.rb +16 -234
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +6 -5
- data/test/test-column.rb +0 -14
- data/test/test-database.rb +6 -5
- data/test/test-double-array-trie.rb +6 -5
- data/test/test-expression.rb +2 -2
- data/test/test-hash.rb +6 -5
- data/test/test-index-column.rb +163 -33
- data/test/test-patricia-trie.rb +6 -5
- data/test/test-schema-dumper.rb +39 -7
- data/test/test-table-dumper.rb +46 -1
- data/test/test-table-select-weight.rb +12 -0
- data/test/test-variable-size-column.rb +87 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +6 -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/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +25 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +333 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +68 -67
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- 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 +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +26 -26
- 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 +24 -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 +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +153 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +857 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +193 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +165 -13
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +25 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +28 -28
- 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/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 +36 -36
- 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/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- 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/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +333 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +67 -66
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- 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 +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +150 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +824 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +45 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +174 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +167 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- 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/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- 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 +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +526 -73
- data/vendor/local/share/man/man1/groonga.1 +552 -80
- metadata +148 -139
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.9. rand — Groonga v4.0.1 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: '
|
18
|
+
VERSION: '4.0.1',
|
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
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.12.10. snippet_html" href="snippet_html.html" />
|
31
|
+
<link rel="prev" title="8.12.8. query" href="query.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
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="8.
|
58
|
+
<a href="snippet_html.html" title="8.12.10. snippet_html"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="query.html" title="8.
|
61
|
+
<a href="query.html" title="8.12.8. query"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,34 +72,34 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="rand">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.9. rand<a class="headerlink" href="#rand" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.12.9.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>8.
|
81
|
+
<h2>8.12.9.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>8.
|
87
|
+
<h2>8.12.9.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>8.
|
92
|
+
<h2>8.12.9.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>8.
|
98
|
+
<h2>8.12.9.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>8.
|
102
|
+
<h2>8.12.9.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="#">8.
|
119
|
-
<li><a class="reference internal" href="#id1">8.
|
120
|
-
<li><a class="reference internal" href="#id2">8.
|
121
|
-
<li><a class="reference internal" href="#id3">8.
|
122
|
-
<li><a class="reference internal" href="#id4">8.
|
123
|
-
<li><a class="reference internal" href="#id5">8.
|
124
|
-
<li><a class="reference internal" href="#id6">8.
|
118
|
+
<li><a class="reference internal" href="#">8.12.9. rand</a><ul>
|
119
|
+
<li><a class="reference internal" href="#id1">8.12.9.1. 名前</a></li>
|
120
|
+
<li><a class="reference internal" href="#id2">8.12.9.2. 書式</a></li>
|
121
|
+
<li><a class="reference internal" href="#id3">8.12.9.3. 説明</a></li>
|
122
|
+
<li><a class="reference internal" href="#id4">8.12.9.4. 引数</a></li>
|
123
|
+
<li><a class="reference internal" href="#id5">8.12.9.5. 返値</a></li>
|
124
|
+
<li><a class="reference internal" href="#id6">8.12.9.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">8.
|
131
|
+
title="previous chapter">8.12.8. query</a></p>
|
132
132
|
<h4>Next topic</h4>
|
133
133
|
<p class="topless"><a href="snippet_html.html"
|
134
|
-
title="next chapter">8.
|
134
|
+
title="next chapter">8.12.10. snippet_html</a></p>
|
135
135
|
<div role="note" aria-label="source link">
|
136
136
|
<h3>This Page</h3>
|
137
137
|
<ul class="this-page-menu">
|
@@ -163,14 +163,14 @@
|
|
163
163
|
<a href="../../genindex.html" title="General Index"
|
164
164
|
>index</a></li>
|
165
165
|
<li class="right" >
|
166
|
-
<a href="snippet_html.html" title="8.
|
166
|
+
<a href="snippet_html.html" title="8.12.10. snippet_html"
|
167
167
|
>next</a> |</li>
|
168
168
|
<li class="right" >
|
169
|
-
<a href="query.html" title="8.
|
169
|
+
<a href="query.html" title="8.12.8. query"
|
170
170
|
>previous</a> |</li>
|
171
|
-
<li><a href="../../index.html">Groonga
|
172
|
-
<li><a href="../../reference.html" >8.
|
173
|
-
<li><a href="../function.html" >8.
|
171
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
172
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
173
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
174
174
|
</ul>
|
175
175
|
</div>
|
176
176
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.10. snippet_html — Groonga v4.0.1 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: '
|
18
|
+
VERSION: '4.0.1',
|
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
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.12.11. sub_filter" href="sub_filter.html" />
|
31
|
+
<link rel="prev" title="8.12.9. rand" href="rand.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
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="8.
|
58
|
+
<a href="sub_filter.html" title="8.12.11. sub_filter"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="rand.html" title="8.
|
61
|
+
<a href="rand.html" title="8.12.9. rand"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,13 +72,13 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="snippet-html">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.10. snippet_html<a class="headerlink" href="#snippet-html" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="admonition caution">
|
77
77
|
<p class="first admonition-title">Caution</p>
|
78
78
|
<p class="last">This feature is experimental. API will be changed.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="summary">
|
81
|
-
<h2>8.
|
81
|
+
<h2>8.12.10.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> extracts snippets of target text around search
|
83
83
|
keywords (<tt class="docutils literal"><span class="pre">KWIC</span></tt>. <tt class="docutils literal"><span class="pre">KeyWord</span> <span class="pre">In</span> <span class="pre">Context</span></tt>). The snippets are prepared
|
84
84
|
for embedding HTML. Special characters such as <tt class="docutils literal"><span class="pre"><</span></tt> and <tt class="docutils literal"><span class="pre">></span></tt> are
|
@@ -88,7 +88,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
88
88
|
<span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></tt>.</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="syntax">
|
91
|
-
<h2>8.
|
91
|
+
<h2>8.12.10.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
92
92
|
<p><tt class="docutils literal"><span class="pre">snippet_html</span></tt> has only one parameter:</p>
|
93
93
|
<div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
|
94
94
|
</pre></div>
|
@@ -97,7 +97,7 @@ escapsed as <tt class="docutils literal"><span class="pre">&lt;</span></tt>
|
|
97
97
|
specified for now. You will be able to custom those parameters soon.</p>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="usage">
|
100
|
-
<h2>8.
|
100
|
+
<h2>8.12.10.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
101
101
|
<p>Here are a schema definition and sample data to show usage.</p>
|
102
102
|
<p>Execution example:</p>
|
103
103
|
<div class="highlight-none"><div class="highlight"><pre>table_create Documents TABLE_NO_KEY
|
@@ -199,7 +199,7 @@ aren't customizable.</p>
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div class="section" id="return-value">
|
202
|
-
<h2>8.
|
202
|
+
<h2>8.12.10.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>8.
|
216
|
+
<h2>8.12.10.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>8.
|
227
|
+
<h2>8.12.10.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="#">8.
|
243
|
-
<li><a class="reference internal" href="#summary">8.
|
244
|
-
<li><a class="reference internal" href="#syntax">8.
|
245
|
-
<li><a class="reference internal" href="#usage">8.
|
246
|
-
<li><a class="reference internal" href="#return-value">8.
|
247
|
-
<li><a class="reference internal" href="#todo">8.
|
248
|
-
<li><a class="reference internal" href="#see-also">8.
|
242
|
+
<li><a class="reference internal" href="#">8.12.10. snippet_html</a><ul>
|
243
|
+
<li><a class="reference internal" href="#summary">8.12.10.1. Summary</a></li>
|
244
|
+
<li><a class="reference internal" href="#syntax">8.12.10.2. Syntax</a></li>
|
245
|
+
<li><a class="reference internal" href="#usage">8.12.10.3. Usage</a></li>
|
246
|
+
<li><a class="reference internal" href="#return-value">8.12.10.4. Return value</a></li>
|
247
|
+
<li><a class="reference internal" href="#todo">8.12.10.5. TODO</a></li>
|
248
|
+
<li><a class="reference internal" href="#see-also">8.12.10.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">8.
|
255
|
+
title="previous chapter">8.12.9. rand</a></p>
|
256
256
|
<h4>Next topic</h4>
|
257
257
|
<p class="topless"><a href="sub_filter.html"
|
258
|
-
title="next chapter">8.
|
258
|
+
title="next chapter">8.12.11. sub_filter</a></p>
|
259
259
|
<div role="note" aria-label="source link">
|
260
260
|
<h3>This Page</h3>
|
261
261
|
<ul class="this-page-menu">
|
@@ -287,14 +287,14 @@ to 3. The max size 3 will be customizable soon.</p>
|
|
287
287
|
<a href="../../genindex.html" title="General Index"
|
288
288
|
>index</a></li>
|
289
289
|
<li class="right" >
|
290
|
-
<a href="sub_filter.html" title="8.
|
290
|
+
<a href="sub_filter.html" title="8.12.11. sub_filter"
|
291
291
|
>next</a> |</li>
|
292
292
|
<li class="right" >
|
293
|
-
<a href="rand.html" title="8.
|
293
|
+
<a href="rand.html" title="8.12.9. rand"
|
294
294
|
>previous</a> |</li>
|
295
|
-
<li><a href="../../index.html">Groonga
|
296
|
-
<li><a href="../../reference.html" >8.
|
297
|
-
<li><a href="../function.html" >8.
|
295
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
296
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
297
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
298
298
|
</ul>
|
299
299
|
</div>
|
300
300
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.
|
10
|
+
<title>8.12.11. sub_filter — Groonga v4.0.1 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: '
|
18
|
+
VERSION: '4.0.1',
|
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
|
29
|
-
<link rel="up" title="8.
|
30
|
-
<link rel="next" title="8.
|
31
|
-
<link rel="prev" title="8.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.12. Function" href="../function.html" />
|
30
|
+
<link rel="next" title="8.13. Indexing" href="../indexing.html" />
|
31
|
+
<link rel="prev" title="8.12.10. snippet_html" href="snippet_html.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
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="../indexing.html" title="8.
|
58
|
+
<a href="../indexing.html" title="8.13. Indexing"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="snippet_html.html" title="8.
|
61
|
+
<a href="snippet_html.html" title="8.12.10. snippet_html"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >8.
|
65
|
-
<li><a href="../function.html" accesskey="U">8.
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
65
|
+
<li><a href="../function.html" accesskey="U">8.12. Function</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,15 +72,15 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="sub-filter">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.12.11. sub_filter<a class="headerlink" href="#sub-filter" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.12.11.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> evaluates <tt class="docutils literal"><span class="pre">filter_string</span></tt> in <tt class="docutils literal"><span class="pre">scope</span></tt> context.</p>
|
79
79
|
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> can be used in only <tt class="docutils literal"><span class="pre">--filter</span></tt> in
|
80
80
|
<a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="syntax">
|
83
|
-
<h2>8.
|
83
|
+
<h2>8.12.11.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
84
84
|
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> requires two arguments. They are <tt class="docutils literal"><span class="pre">scope</span></tt> and
|
85
85
|
<tt class="docutils literal"><span class="pre">filter_string</span></tt>.</p>
|
86
86
|
<div class="highlight-none"><div class="highlight"><pre>sub_filter(scope, filter_string)
|
@@ -88,7 +88,7 @@
|
|
88
88
|
</div>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="usage">
|
91
|
-
<h2>8.
|
91
|
+
<h2>8.12.11.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
92
92
|
<p>Here are a schema definition and sample data to show usage.</p>
|
93
93
|
<p>Sample schema:</p>
|
94
94
|
<p>Execution example:</p>
|
@@ -213,10 +213,10 @@ Because the arguments of sub_filter is evaluated in comments column's context.</
|
|
213
213
|
</ul>
|
214
214
|
</div>
|
215
215
|
<div class="section" id="parameters">
|
216
|
-
<h2>8.
|
216
|
+
<h2>8.12.11.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
217
217
|
<p>There are two required parameter, <tt class="docutils literal"><span class="pre">scope</span></tt> and <tt class="docutils literal"><span class="pre">filter_string</span></tt>.</p>
|
218
218
|
<div class="section" id="scope">
|
219
|
-
<h3>8.
|
219
|
+
<h3>8.12.11.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt><a class="headerlink" href="#scope" title="Permalink to this headline">¶</a></h3>
|
220
220
|
<p>It specifies a column of the table that is specified by <tt class="docutils literal"><span class="pre">table</span></tt>
|
221
221
|
parameter in <tt class="docutils literal"><span class="pre">select</span></tt>. The column has a limitation. The limitation
|
222
222
|
is described later. <tt class="docutils literal"><span class="pre">filter_string</span></tt> is evaluated in the column
|
@@ -229,20 +229,20 @@ syntax. For example, <tt class="docutils literal"><span class="pre">user.group.n
|
|
229
229
|
<p>See <a class="reference internal" href="../commands/select.html#select-table"><em>table</em></a> about <tt class="docutils literal"><span class="pre">table</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
230
230
|
</div>
|
231
231
|
<div class="section" id="filter-string">
|
232
|
-
<h3>8.
|
232
|
+
<h3>8.12.11.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt><a class="headerlink" href="#filter-string" title="Permalink to this headline">¶</a></h3>
|
233
233
|
<p>It specifies a search condition in
|
234
234
|
<a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. It is evaluated in <tt class="docutils literal"><span class="pre">scope</span></tt>
|
235
235
|
context.</p>
|
236
236
|
</div>
|
237
237
|
</div>
|
238
238
|
<div class="section" id="return-value">
|
239
|
-
<h2>8.
|
239
|
+
<h2>8.12.11.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
240
240
|
<p><tt class="docutils literal"><span class="pre">sub_filter</span></tt> returns whether any record is matched or not. If one or
|
241
241
|
more records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
|
242
242
|
<tt class="docutils literal"><span class="pre">false</span></tt>.</p>
|
243
243
|
</div>
|
244
244
|
<div class="section" id="see-also">
|
245
|
-
<h2>8.
|
245
|
+
<h2>8.12.11.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
246
246
|
<ul class="simple">
|
247
247
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
248
248
|
<li><a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a></li>
|
@@ -258,27 +258,27 @@ more records are matched, it returns <tt class="docutils literal"><span class="p
|
|
258
258
|
<div class="sphinxsidebarwrapper">
|
259
259
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
260
260
|
<ul>
|
261
|
-
<li><a class="reference internal" href="#">8.
|
262
|
-
<li><a class="reference internal" href="#summary">8.
|
263
|
-
<li><a class="reference internal" href="#syntax">8.
|
264
|
-
<li><a class="reference internal" href="#usage">8.
|
265
|
-
<li><a class="reference internal" href="#parameters">8.
|
266
|
-
<li><a class="reference internal" href="#scope">8.
|
267
|
-
<li><a class="reference internal" href="#filter-string">8.
|
261
|
+
<li><a class="reference internal" href="#">8.12.11. sub_filter</a><ul>
|
262
|
+
<li><a class="reference internal" href="#summary">8.12.11.1. Summary</a></li>
|
263
|
+
<li><a class="reference internal" href="#syntax">8.12.11.2. Syntax</a></li>
|
264
|
+
<li><a class="reference internal" href="#usage">8.12.11.3. Usage</a></li>
|
265
|
+
<li><a class="reference internal" href="#parameters">8.12.11.4. Parameters</a><ul>
|
266
|
+
<li><a class="reference internal" href="#scope">8.12.11.4.1. <tt class="docutils literal"><span class="pre">scope</span></tt></a></li>
|
267
|
+
<li><a class="reference internal" href="#filter-string">8.12.11.4.2. <tt class="docutils literal"><span class="pre">filter_string</span></tt></a></li>
|
268
268
|
</ul>
|
269
269
|
</li>
|
270
|
-
<li><a class="reference internal" href="#return-value">8.
|
271
|
-
<li><a class="reference internal" href="#see-also">8.
|
270
|
+
<li><a class="reference internal" href="#return-value">8.12.11.5. Return value</a></li>
|
271
|
+
<li><a class="reference internal" href="#see-also">8.12.11.6. See also</a></li>
|
272
272
|
</ul>
|
273
273
|
</li>
|
274
274
|
</ul>
|
275
275
|
|
276
276
|
<h4>Previous topic</h4>
|
277
277
|
<p class="topless"><a href="snippet_html.html"
|
278
|
-
title="previous chapter">8.
|
278
|
+
title="previous chapter">8.12.10. snippet_html</a></p>
|
279
279
|
<h4>Next topic</h4>
|
280
280
|
<p class="topless"><a href="../indexing.html"
|
281
|
-
title="next chapter">8.
|
281
|
+
title="next chapter">8.13. Indexing</a></p>
|
282
282
|
<div role="note" aria-label="source link">
|
283
283
|
<h3>This Page</h3>
|
284
284
|
<ul class="this-page-menu">
|
@@ -310,14 +310,14 @@ more records are matched, it returns <tt class="docutils literal"><span class="p
|
|
310
310
|
<a href="../../genindex.html" title="General Index"
|
311
311
|
>index</a></li>
|
312
312
|
<li class="right" >
|
313
|
-
<a href="../indexing.html" title="8.
|
313
|
+
<a href="../indexing.html" title="8.13. Indexing"
|
314
314
|
>next</a> |</li>
|
315
315
|
<li class="right" >
|
316
|
-
<a href="snippet_html.html" title="8.
|
316
|
+
<a href="snippet_html.html" title="8.12.10. snippet_html"
|
317
317
|
>previous</a> |</li>
|
318
|
-
<li><a href="../../index.html">Groonga
|
319
|
-
<li><a href="../../reference.html" >8.
|
320
|
-
<li><a href="../function.html" >8.
|
318
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
319
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
320
|
+
<li><a href="../function.html" >8.12. Function</a> »</li>
|
321
321
|
</ul>
|
322
322
|
</div>
|
323
323
|
<div class="footer" role="contentinfo">
|