rroonga 4.0.0-x64-mingw32 → 4.0.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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.txt +3 -2
- 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/_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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
- 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/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.html +8 -8
- 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/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.html +12 -12
- 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/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.html +22 -22
- 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 +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.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- 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/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +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/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.txt +3 -2
- 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/_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.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/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/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.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/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.html +5 -5
- 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/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
- 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/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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/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/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.html +19 -19
- 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/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.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- 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/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- 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/suggest.html +5 -5
- 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/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +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/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.16.21. grn_user_data — 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.
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.16. API" href="../api.html" />
|
30
30
|
<link rel="next" title="9. Specification" href="../../spec.html" />
|
31
|
-
<link rel="prev" title="8.
|
31
|
+
<link rel="prev" title="8.16.20. grn_type" href="grn_type.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
34
34
|
<div class="header">
|
@@ -58,11 +58,11 @@
|
|
58
58
|
<a href="../../spec.html" title="9. Specification"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="grn_type.html" title="8.
|
61
|
+
<a href="grn_type.html" title="8.16.20. grn_type"
|
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="../api.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="../api.html" accesskey="U">8.16. API</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,17 +72,17 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="grn-user-data">
|
75
|
-
<h1>8.
|
75
|
+
<h1>8.16.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt><a class="headerlink" href="#grn-user-data" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.
|
77
|
+
<h2>8.16.21.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>TODO...</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="example">
|
81
|
-
<h2>8.
|
81
|
+
<h2>8.16.21.2. Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p>TODO...</p>
|
83
83
|
</div>
|
84
84
|
<div class="section" id="reference">
|
85
|
-
<h2>8.
|
85
|
+
<h2>8.16.21.3. Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
|
86
86
|
<dl class="type">
|
87
87
|
<dt id="c.grn_user_data">
|
88
88
|
<tt class="descname">grn_user_data</tt><a class="headerlink" href="#c.grn_user_data" title="Permalink to this definition">¶</a></dt>
|
@@ -117,17 +117,17 @@
|
|
117
117
|
<div class="sphinxsidebarwrapper">
|
118
118
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
119
119
|
<ul>
|
120
|
-
<li><a class="reference internal" href="#">8.
|
121
|
-
<li><a class="reference internal" href="#summary">8.
|
122
|
-
<li><a class="reference internal" href="#example">8.
|
123
|
-
<li><a class="reference internal" href="#reference">8.
|
120
|
+
<li><a class="reference internal" href="#">8.16.21. <tt class="docutils literal"><span class="pre">grn_user_data</span></tt></a><ul>
|
121
|
+
<li><a class="reference internal" href="#summary">8.16.21.1. Summary</a></li>
|
122
|
+
<li><a class="reference internal" href="#example">8.16.21.2. Example</a></li>
|
123
|
+
<li><a class="reference internal" href="#reference">8.16.21.3. Reference</a></li>
|
124
124
|
</ul>
|
125
125
|
</li>
|
126
126
|
</ul>
|
127
127
|
|
128
128
|
<h4>Previous topic</h4>
|
129
129
|
<p class="topless"><a href="grn_type.html"
|
130
|
-
title="previous chapter">8.
|
130
|
+
title="previous chapter">8.16.20. <tt class="docutils literal"><span class="pre">grn_type</span></tt></a></p>
|
131
131
|
<h4>Next topic</h4>
|
132
132
|
<p class="topless"><a href="../../spec.html"
|
133
133
|
title="next chapter">9. Specification</a></p>
|
@@ -165,11 +165,11 @@
|
|
165
165
|
<a href="../../spec.html" title="9. Specification"
|
166
166
|
>next</a> |</li>
|
167
167
|
<li class="right" >
|
168
|
-
<a href="grn_type.html" title="8.
|
168
|
+
<a href="grn_type.html" title="8.16.20. grn_type"
|
169
169
|
>previous</a> |</li>
|
170
|
-
<li><a href="../../index.html">Groonga
|
171
|
-
<li><a href="../../reference.html" >8.
|
172
|
-
<li><a href="../api.html" >8.
|
170
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
171
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
172
|
+
<li><a href="../api.html" >8.16. API</a> »</li>
|
173
173
|
</ul>
|
174
174
|
</div>
|
175
175
|
<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>Cast — Groonga
|
10
|
+
<title>Cast — 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,7 +25,7 @@
|
|
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
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../index.html" />
|
29
29
|
</head>
|
30
30
|
<body role="document">
|
31
31
|
<div class="header">
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<li class="right" style="margin-right: 10px">
|
52
52
|
<a href="../genindex.html" title="General Index"
|
53
53
|
accesskey="I">index</a></li>
|
54
|
-
<li><a href="../index.html">Groonga
|
54
|
+
<li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
|
55
55
|
</ul>
|
56
56
|
</div>
|
57
57
|
|
@@ -101,7 +101,7 @@
|
|
101
101
|
<li class="right" style="margin-right: 10px">
|
102
102
|
<a href="../genindex.html" title="General Index"
|
103
103
|
>index</a></li>
|
104
|
-
<li><a href="../index.html">Groonga
|
104
|
+
<li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
|
105
105
|
</ul>
|
106
106
|
</div>
|
107
107
|
<div class="footer" role="contentinfo">
|
@@ -0,0 +1,153 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
+
<head>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
|
10
|
+
<title>8.6. Column — Groonga v4.0.1 documentation</title>
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../',
|
18
|
+
VERSION: '4.0.1',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
|
+
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../index.html" />
|
29
|
+
<link rel="up" title="8. Reference manual" href="../reference.html" />
|
30
|
+
<link rel="next" title="8.7. Normalizers" href="normalizers.html" />
|
31
|
+
<link rel="prev" title="8.5. Tables" href="tables.html" />
|
32
|
+
</head>
|
33
|
+
<body role="document">
|
34
|
+
<div class="header">
|
35
|
+
<h1 class="title">
|
36
|
+
<a id="top-link" href="../index.html">
|
37
|
+
<span class="project">groonga</span>
|
38
|
+
<span class="separator">-</span>
|
39
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
40
|
+
</a>
|
41
|
+
</h1>
|
42
|
+
|
43
|
+
<div class="other-language-links">
|
44
|
+
<ul>
|
45
|
+
<li><a href="../../../ja/html/reference/column.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
|
+
<h3>Navigation</h3>
|
53
|
+
<ul>
|
54
|
+
<li class="right" style="margin-right: 10px">
|
55
|
+
<a href="../genindex.html" title="General Index"
|
56
|
+
accesskey="I">index</a></li>
|
57
|
+
<li class="right" >
|
58
|
+
<a href="normalizers.html" title="8.7. Normalizers"
|
59
|
+
accesskey="N">next</a> |</li>
|
60
|
+
<li class="right" >
|
61
|
+
<a href="tables.html" title="8.5. Tables"
|
62
|
+
accesskey="P">previous</a> |</li>
|
63
|
+
<li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
|
64
|
+
<li><a href="../reference.html" accesskey="U">8. Reference manual</a> »</li>
|
65
|
+
</ul>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div class="document">
|
69
|
+
<div class="documentwrapper">
|
70
|
+
<div class="bodywrapper">
|
71
|
+
<div class="body" role="main">
|
72
|
+
|
73
|
+
<div class="section" id="column">
|
74
|
+
<h1>8.6. Column<a class="headerlink" href="#column" title="Permalink to this headline">¶</a></h1>
|
75
|
+
<p>Column is a data store object or an index object for fast search.</p>
|
76
|
+
<p>A column belongs to a table. Table has zero or more columns.</p>
|
77
|
+
<p>Both data store column and index column have type. Type of data store
|
78
|
+
column specifies data range. In other words, it is "value type". Type
|
79
|
+
of index column specifies set of documents to be indexed. A set of
|
80
|
+
documents is a table in Groonga. In other words, type of index column
|
81
|
+
must be a table.</p>
|
82
|
+
<p>Here are data store columns:</p>
|
83
|
+
<blockquote>
|
84
|
+
<div><ul class="simple">
|
85
|
+
<li><tt class="xref doc docutils literal"><span class="pre">columns/scalar</span></tt></li>
|
86
|
+
<li><a class="reference internal" href="columns/vector.html"><em>Vector column</em></a></li>
|
87
|
+
</ul>
|
88
|
+
</div></blockquote>
|
89
|
+
<p>Here is an index column:</p>
|
90
|
+
<blockquote>
|
91
|
+
<div><ul class="simple">
|
92
|
+
<li><tt class="xref doc docutils literal"><span class="pre">columns/index</span></tt></li>
|
93
|
+
</ul>
|
94
|
+
</div></blockquote>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
102
|
+
<div class="sphinxsidebarwrapper">
|
103
|
+
<h4>Previous topic</h4>
|
104
|
+
<p class="topless"><a href="tables.html"
|
105
|
+
title="previous chapter">8.5. Tables</a></p>
|
106
|
+
<h4>Next topic</h4>
|
107
|
+
<p class="topless"><a href="normalizers.html"
|
108
|
+
title="next chapter">8.7. Normalizers</a></p>
|
109
|
+
<div role="note" aria-label="source link">
|
110
|
+
<h3>This Page</h3>
|
111
|
+
<ul class="this-page-menu">
|
112
|
+
<li><a href="../_sources/reference/column.txt"
|
113
|
+
rel="nofollow">Show Source</a></li>
|
114
|
+
</ul>
|
115
|
+
</div>
|
116
|
+
<div id="searchbox" style="display: none" role="search">
|
117
|
+
<h3>Quick search</h3>
|
118
|
+
<form class="search" action="../search.html" method="get">
|
119
|
+
<input type="text" name="q" />
|
120
|
+
<input type="submit" value="Go" />
|
121
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
122
|
+
<input type="hidden" name="area" value="default" />
|
123
|
+
</form>
|
124
|
+
<p class="searchtip" style="font-size: 90%">
|
125
|
+
Enter search terms or a module, class or function name.
|
126
|
+
</p>
|
127
|
+
</div>
|
128
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
<div class="clearer"></div>
|
132
|
+
</div>
|
133
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
134
|
+
<h3>Navigation</h3>
|
135
|
+
<ul>
|
136
|
+
<li class="right" style="margin-right: 10px">
|
137
|
+
<a href="../genindex.html" title="General Index"
|
138
|
+
>index</a></li>
|
139
|
+
<li class="right" >
|
140
|
+
<a href="normalizers.html" title="8.7. Normalizers"
|
141
|
+
>next</a> |</li>
|
142
|
+
<li class="right" >
|
143
|
+
<a href="tables.html" title="8.5. Tables"
|
144
|
+
>previous</a> |</li>
|
145
|
+
<li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
|
146
|
+
<li><a href="../reference.html" >8. Reference manual</a> »</li>
|
147
|
+
</ul>
|
148
|
+
</div>
|
149
|
+
<div class="footer" role="contentinfo">
|
150
|
+
© Copyright 2009-2014, Brazil, Inc.
|
151
|
+
</div>
|
152
|
+
</body>
|
153
|
+
</html>
|
@@ -0,0 +1,857 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
+
<head>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
|
10
|
+
<title>Vector column — Groonga v4.0.1 documentation</title>
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '4.0.1',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
+
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
+
</head>
|
30
|
+
<body role="document">
|
31
|
+
<div class="header">
|
32
|
+
<h1 class="title">
|
33
|
+
<a id="top-link" href="../../index.html">
|
34
|
+
<span class="project">groonga</span>
|
35
|
+
<span class="separator">-</span>
|
36
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
37
|
+
</a>
|
38
|
+
</h1>
|
39
|
+
|
40
|
+
<div class="other-language-links">
|
41
|
+
<ul>
|
42
|
+
<li><a href="../../../../ja/html/reference/columns/vector.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
43
|
+
</ul>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
|
48
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
49
|
+
<h3>Navigation</h3>
|
50
|
+
<ul>
|
51
|
+
<li class="right" style="margin-right: 10px">
|
52
|
+
<a href="../../genindex.html" title="General Index"
|
53
|
+
accesskey="I">index</a></li>
|
54
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
55
|
+
</ul>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="document">
|
59
|
+
<div class="documentwrapper">
|
60
|
+
<div class="bodywrapper">
|
61
|
+
<div class="body" role="main">
|
62
|
+
|
63
|
+
<div class="section" id="vector-column">
|
64
|
+
<h1>Vector column<a class="headerlink" href="#vector-column" title="Permalink to this headline">¶</a></h1>
|
65
|
+
<div class="section" id="summary">
|
66
|
+
<h2>Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
67
|
+
<p>Vector column is a data store object. It can stores zero or more
|
68
|
+
scalar values. In short, scalar value is a single value such as number
|
69
|
+
and string. See <tt class="xref doc docutils literal"><span class="pre">scalar</span></tt> about scalar value details.</p>
|
70
|
+
<p>One of vector column use cases is tags store. You can use a vector
|
71
|
+
column to store tag values.</p>
|
72
|
+
<p>You can use vector column as index search target in the same way as
|
73
|
+
scalar column. You can set weight for each element. The element that
|
74
|
+
has one or more weight is matched, the record has more score rather
|
75
|
+
than no weight case. It is a vector column specific feature. Vector
|
76
|
+
column that can store weight is called weight vector column.</p>
|
77
|
+
<p>You can also do full text search against each text element. But search
|
78
|
+
score is too high when weight is used. You should use full text search
|
79
|
+
with weight carefully.</p>
|
80
|
+
</div>
|
81
|
+
<div class="section" id="usage">
|
82
|
+
<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
83
|
+
<p>There are three vector column types:</p>
|
84
|
+
<blockquote>
|
85
|
+
<div><ul class="simple">
|
86
|
+
<li>Normal vector column</li>
|
87
|
+
<li>Reference vector column</li>
|
88
|
+
<li>Weight vector column</li>
|
89
|
+
</ul>
|
90
|
+
</div></blockquote>
|
91
|
+
<p>This section describes how to use these types.</p>
|
92
|
+
<div class="section" id="normal-vector-column">
|
93
|
+
<span id="id1"></span><h3>Normal vector column<a class="headerlink" href="#normal-vector-column" title="Permalink to this headline">¶</a></h3>
|
94
|
+
<p>Normal vector column stores zero or more scalar data. For example,
|
95
|
+
scalar data are number, string and so on.</p>
|
96
|
+
<p>A normal vector column can store the same type elements. You can't mix
|
97
|
+
types. For example, you can't store a number and a string in the same
|
98
|
+
normal vector column.</p>
|
99
|
+
<p>Normal vector column is useful when a record has multiple values with
|
100
|
+
a key. Tags are the most popular use case.</p>
|
101
|
+
<div class="section" id="how-to-create">
|
102
|
+
<h4>How to create<a class="headerlink" href="#how-to-create" title="Permalink to this headline">¶</a></h4>
|
103
|
+
<p>Use <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command to create a
|
104
|
+
normal vector column. The point is <tt class="docutils literal"><span class="pre">COLUMN_VECTOR</span></tt> flag:</p>
|
105
|
+
<p>Execution example:</p>
|
106
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Bookmarks TABLE_HASH_KEY ShortText
|
107
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
108
|
+
column_create Bookmarks tags COLUMN_VECTOR ShortText
|
109
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
110
|
+
</pre></div>
|
111
|
+
</div>
|
112
|
+
<p>You can set zero or more tags to a bookmark.</p>
|
113
|
+
</div>
|
114
|
+
<div class="section" id="how-to-load">
|
115
|
+
<h4>How to load<a class="headerlink" href="#how-to-load" title="Permalink to this headline">¶</a></h4>
|
116
|
+
<p>You can load vector data by JSON array syntax:</p>
|
117
|
+
<div class="highlight-none"><div class="highlight"><pre>[ELEMENT1, ELEMENT2, ELEMENT3, ...]
|
118
|
+
</pre></div>
|
119
|
+
</div>
|
120
|
+
<p>Let's load the following data:</p>
|
121
|
+
<table border="1" class="docutils">
|
122
|
+
<colgroup>
|
123
|
+
<col width="50%" />
|
124
|
+
<col width="50%" />
|
125
|
+
</colgroup>
|
126
|
+
<thead valign="bottom">
|
127
|
+
<tr class="row-odd"><th class="head"><tt class="docutils literal"><span class="pre">_key</span></tt></th>
|
128
|
+
<th class="head"><tt class="docutils literal"><span class="pre">tags</span></tt></th>
|
129
|
+
</tr>
|
130
|
+
</thead>
|
131
|
+
<tbody valign="top">
|
132
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://groonga.org/</span></tt></td>
|
133
|
+
<td><tt class="docutils literal"><span class="pre">["groonga"]</span></tt></td>
|
134
|
+
</tr>
|
135
|
+
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">http://mroonga.org/</span></tt></td>
|
136
|
+
<td><tt class="docutils literal"><span class="pre">["mroonga",</span> <span class="pre">"mysql",</span> <span class="pre">"groonga"]</span></tt></td>
|
137
|
+
</tr>
|
138
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://ranguba.org/</span></tt></td>
|
139
|
+
<td><tt class="docutils literal"><span class="pre">["ruby",</span> <span class="pre">"groonga"]</span></tt></td>
|
140
|
+
</tr>
|
141
|
+
</tbody>
|
142
|
+
</table>
|
143
|
+
<p>Here is a command that loads the data:</p>
|
144
|
+
<p>Execution example:</p>
|
145
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table Bookmarks
|
146
|
+
[
|
147
|
+
{"_key": "http://groonga.org/", "tags": ["groonga"]},
|
148
|
+
{"_key": "http://mroonga.org/", "tags": ["mroonga", "mysql", "groonga"]},
|
149
|
+
{"_key": "http://ranguba.org/", "tags": ["ruby", "groonga"]}
|
150
|
+
]
|
151
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
152
|
+
</pre></div>
|
153
|
+
</div>
|
154
|
+
<p>The loaded data can be outputted as JSON array syntax:</p>
|
155
|
+
<p>Execution example:</p>
|
156
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks
|
157
|
+
# [
|
158
|
+
# [
|
159
|
+
# 0,
|
160
|
+
# 1337566253.89858,
|
161
|
+
# 0.000355720520019531
|
162
|
+
# ],
|
163
|
+
# [
|
164
|
+
# [
|
165
|
+
# [
|
166
|
+
# 3
|
167
|
+
# ],
|
168
|
+
# [
|
169
|
+
# [
|
170
|
+
# "_id",
|
171
|
+
# "UInt32"
|
172
|
+
# ],
|
173
|
+
# [
|
174
|
+
# "_key",
|
175
|
+
# "ShortText"
|
176
|
+
# ],
|
177
|
+
# [
|
178
|
+
# "tags",
|
179
|
+
# "ShortText"
|
180
|
+
# ]
|
181
|
+
# ],
|
182
|
+
# [
|
183
|
+
# 1,
|
184
|
+
# "http://groonga.org/",
|
185
|
+
# [
|
186
|
+
# "groonga"
|
187
|
+
# ]
|
188
|
+
# ],
|
189
|
+
# [
|
190
|
+
# 2,
|
191
|
+
# "http://mroonga.org/",
|
192
|
+
# [
|
193
|
+
# "mroonga",
|
194
|
+
# "mysql",
|
195
|
+
# "groonga"
|
196
|
+
# ]
|
197
|
+
# ],
|
198
|
+
# [
|
199
|
+
# 3,
|
200
|
+
# "http://ranguba.org/",
|
201
|
+
# [
|
202
|
+
# "ruby",
|
203
|
+
# "groonga"
|
204
|
+
# ]
|
205
|
+
# ]
|
206
|
+
# ]
|
207
|
+
# ]
|
208
|
+
# ]
|
209
|
+
</pre></div>
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
<div class="section" id="how-to-search">
|
213
|
+
<h4>How to search<a class="headerlink" href="#how-to-search" title="Permalink to this headline">¶</a></h4>
|
214
|
+
<p>You need to create an index to search normal vector column:</p>
|
215
|
+
<p>Execution example:</p>
|
216
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Tags TABLE_PAT_KEY ShortText
|
217
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
218
|
+
column_create Tags bookmark_index COLUMN_INDEX Bookmarks tags
|
219
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
220
|
+
</pre></div>
|
221
|
+
</div>
|
222
|
+
<p>There are no vector column specific way. You can create an index like
|
223
|
+
a scalar column.</p>
|
224
|
+
<p>You can search an element in <tt class="docutils literal"><span class="pre">tags</span></tt> like full text search syntax.</p>
|
225
|
+
<p>With <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> and <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a>:</p>
|
226
|
+
<p>Execution example:</p>
|
227
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns tags --query mysql --output_columns _key,tags,_score
|
228
|
+
# [
|
229
|
+
# [
|
230
|
+
# 0,
|
231
|
+
# 1337566253.89858,
|
232
|
+
# 0.000355720520019531
|
233
|
+
# ],
|
234
|
+
# [
|
235
|
+
# [
|
236
|
+
# [
|
237
|
+
# 1
|
238
|
+
# ],
|
239
|
+
# [
|
240
|
+
# [
|
241
|
+
# "_key",
|
242
|
+
# "ShortText"
|
243
|
+
# ],
|
244
|
+
# [
|
245
|
+
# "tags",
|
246
|
+
# "ShortText"
|
247
|
+
# ],
|
248
|
+
# [
|
249
|
+
# "_score",
|
250
|
+
# "Int32"
|
251
|
+
# ]
|
252
|
+
# ],
|
253
|
+
# [
|
254
|
+
# "http://mroonga.org/",
|
255
|
+
# [
|
256
|
+
# "mroonga",
|
257
|
+
# "mysql",
|
258
|
+
# "groonga"
|
259
|
+
# ],
|
260
|
+
# 1
|
261
|
+
# ]
|
262
|
+
# ]
|
263
|
+
# ]
|
264
|
+
# ]
|
265
|
+
</pre></div>
|
266
|
+
</div>
|
267
|
+
<p>You can also use weight in <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a>:</p>
|
268
|
+
<p>Execution example:</p>
|
269
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns 'tags * 3' --query mysql --output_columns _key,tags,_score
|
270
|
+
# [
|
271
|
+
# [
|
272
|
+
# 0,
|
273
|
+
# 1337566253.89858,
|
274
|
+
# 0.000355720520019531
|
275
|
+
# ],
|
276
|
+
# [
|
277
|
+
# [
|
278
|
+
# [
|
279
|
+
# 1
|
280
|
+
# ],
|
281
|
+
# [
|
282
|
+
# [
|
283
|
+
# "_key",
|
284
|
+
# "ShortText"
|
285
|
+
# ],
|
286
|
+
# [
|
287
|
+
# "tags",
|
288
|
+
# "ShortText"
|
289
|
+
# ],
|
290
|
+
# [
|
291
|
+
# "_score",
|
292
|
+
# "Int32"
|
293
|
+
# ]
|
294
|
+
# ],
|
295
|
+
# [
|
296
|
+
# "http://mroonga.org/",
|
297
|
+
# [
|
298
|
+
# "mroonga",
|
299
|
+
# "mysql",
|
300
|
+
# "groonga"
|
301
|
+
# ],
|
302
|
+
# 3
|
303
|
+
# ]
|
304
|
+
# ]
|
305
|
+
# ]
|
306
|
+
# ]
|
307
|
+
</pre></div>
|
308
|
+
</div>
|
309
|
+
<p>With <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a>:</p>
|
310
|
+
<p>Execution example:</p>
|
311
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --filter 'tags @ "msyql"' --output_columns _key,tags,_score
|
312
|
+
# [
|
313
|
+
# [
|
314
|
+
# 0,
|
315
|
+
# 1337566253.89858,
|
316
|
+
# 0.000355720520019531
|
317
|
+
# ],
|
318
|
+
# [
|
319
|
+
# [
|
320
|
+
# [
|
321
|
+
# 0
|
322
|
+
# ],
|
323
|
+
# [
|
324
|
+
# [
|
325
|
+
# "_key",
|
326
|
+
# "ShortText"
|
327
|
+
# ],
|
328
|
+
# [
|
329
|
+
# "tags",
|
330
|
+
# "ShortText"
|
331
|
+
# ],
|
332
|
+
# [
|
333
|
+
# "_score",
|
334
|
+
# "Int32"
|
335
|
+
# ]
|
336
|
+
# ]
|
337
|
+
# ]
|
338
|
+
# ]
|
339
|
+
# ]
|
340
|
+
</pre></div>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
<div class="section" id="reference-vector-column">
|
345
|
+
<span id="id2"></span><h3>Reference vector column<a class="headerlink" href="#reference-vector-column" title="Permalink to this headline">¶</a></h3>
|
346
|
+
<p>TODO</p>
|
347
|
+
<p>Reference vector column is space-efficient if there are many same
|
348
|
+
value elements. Reference vector column keeps reference record IDs not
|
349
|
+
value itself. Record ID is smaller than value itself.</p>
|
350
|
+
<div class="section" id="id3">
|
351
|
+
<h4>How to create<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h4>
|
352
|
+
<p>TODO</p>
|
353
|
+
</div>
|
354
|
+
<div class="section" id="id4">
|
355
|
+
<h4>How to load<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h4>
|
356
|
+
<p>TODO</p>
|
357
|
+
</div>
|
358
|
+
<div class="section" id="id5">
|
359
|
+
<h4>How to search<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h4>
|
360
|
+
<p>TODO</p>
|
361
|
+
</div>
|
362
|
+
</div>
|
363
|
+
<div class="section" id="weight-vector-column">
|
364
|
+
<span id="id6"></span><h3>Weight vector column<a class="headerlink" href="#weight-vector-column" title="Permalink to this headline">¶</a></h3>
|
365
|
+
<p>Weight vector column is similar to normal vector column. It can store
|
366
|
+
elements. It can also stores weights for them. Weight is degree of
|
367
|
+
importance of the element.</p>
|
368
|
+
<p>Weight is positive integer. <tt class="docutils literal"><span class="pre">0</span></tt> is the default weight. It means that
|
369
|
+
no weight.</p>
|
370
|
+
<p>If weight is one or larger, search score is increased by the
|
371
|
+
weight. If the weight is <tt class="docutils literal"><span class="pre">0</span></tt>, score is <tt class="docutils literal"><span class="pre">1</span></tt>. If the weight is
|
372
|
+
<tt class="docutils literal"><span class="pre">10</span></tt>, score is <tt class="docutils literal"><span class="pre">11</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">10</span></tt>).</p>
|
373
|
+
<p>Weight vector column is useful for tuning search score. See also
|
374
|
+
<a class="reference internal" href="../commands/select.html#select-adjuster"><em>adjuster</em></a>. You can increase search score of specific
|
375
|
+
records.</p>
|
376
|
+
<div class="section" id="limitations">
|
377
|
+
<h4>Limitations<a class="headerlink" href="#limitations" title="Permalink to this headline">¶</a></h4>
|
378
|
+
<p>There are some limitations for now. They will be resolved in the
|
379
|
+
future.</p>
|
380
|
+
<p>Here are limitations:</p>
|
381
|
+
<blockquote>
|
382
|
+
<div><ul class="simple">
|
383
|
+
<li>You need to use string representation for element value on load.
|
384
|
+
For example, you can't use <tt class="docutils literal"><span class="pre">29</span></tt> for number 29. You need to use
|
385
|
+
<tt class="docutils literal"><span class="pre">"29"</span></tt> for number 29.</li>
|
386
|
+
<li>You can't use reference type.</li>
|
387
|
+
</ul>
|
388
|
+
</div></blockquote>
|
389
|
+
</div>
|
390
|
+
<div class="section" id="id7">
|
391
|
+
<h4>How to create<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h4>
|
392
|
+
<p>Use <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command to create a
|
393
|
+
weight vector column. The point is <tt class="docutils literal"><span class="pre">COLUMN_VECTOR|WITH_WEIGHT</span></tt>
|
394
|
+
flags:</p>
|
395
|
+
<p>Execution example:</p>
|
396
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Bookmarks TABLE_HASH_KEY ShortText
|
397
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
398
|
+
column_create Bookmarks tags COLUMN_VECTOR|WITH_WEIGHT ShortText
|
399
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
400
|
+
</pre></div>
|
401
|
+
</div>
|
402
|
+
<p>If you don't specify <tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt> flag, it is just a normal vector
|
403
|
+
column.</p>
|
404
|
+
<p>You can set zero or more tags with weight to a bookmark.</p>
|
405
|
+
</div>
|
406
|
+
<div class="section" id="id8">
|
407
|
+
<h4>How to load<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h4>
|
408
|
+
<p>You can load vector data by JSON object syntax:</p>
|
409
|
+
<div class="highlight-none"><div class="highlight"><pre>{"ELEMENT1": WEIGHT1, "ELEMENT2": WEIGHT2, "ELEMENT3": WEIGHT3, ...}
|
410
|
+
</pre></div>
|
411
|
+
</div>
|
412
|
+
<p>Let's load the following data:</p>
|
413
|
+
<table border="1" class="docutils">
|
414
|
+
<colgroup>
|
415
|
+
<col width="50%" />
|
416
|
+
<col width="50%" />
|
417
|
+
</colgroup>
|
418
|
+
<thead valign="bottom">
|
419
|
+
<tr class="row-odd"><th class="head"><tt class="docutils literal"><span class="pre">_key</span></tt></th>
|
420
|
+
<th class="head"><tt class="docutils literal"><span class="pre">tags</span></tt></th>
|
421
|
+
</tr>
|
422
|
+
</thead>
|
423
|
+
<tbody valign="top">
|
424
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://groonga.org/</span></tt></td>
|
425
|
+
<td><tt class="docutils literal"><span class="pre">{"groonga":</span> <span class="pre">100}</span></tt></td>
|
426
|
+
</tr>
|
427
|
+
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">http://mroonga.org/</span></tt></td>
|
428
|
+
<td><tt class="docutils literal"><span class="pre">{"mroonga":</span> <span class="pre">100,</span> <span class="pre">"mysql":</span> <span class="pre">50,</span> <span class="pre">"groonga":</span> <span class="pre">10}</span></tt></td>
|
429
|
+
</tr>
|
430
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">http://ranguba.org/</span></tt></td>
|
431
|
+
<td><tt class="docutils literal"><span class="pre">{"ruby":</span> <span class="pre">100,</span> <span class="pre">"groonga":</span> <span class="pre">50}</span></tt></td>
|
432
|
+
</tr>
|
433
|
+
</tbody>
|
434
|
+
</table>
|
435
|
+
<p>Here is a command that loads the data:</p>
|
436
|
+
<p>Execution example:</p>
|
437
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table Bookmarks
|
438
|
+
[
|
439
|
+
{"_key": "http://groonga.org/",
|
440
|
+
"tags": {"groonga": 100}},
|
441
|
+
{"_key": "http://mroonga.org/",
|
442
|
+
"tags": {"mroonga": 100,
|
443
|
+
"mysql": 50,
|
444
|
+
"groonga": 10}},
|
445
|
+
{"_key": "http://ranguba.org/",
|
446
|
+
"tags": {"ruby": 100,
|
447
|
+
"groonga": 50}}
|
448
|
+
]
|
449
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
450
|
+
</pre></div>
|
451
|
+
</div>
|
452
|
+
<p>The loaded data can be outputted as JSON object syntax:</p>
|
453
|
+
<p>Execution example:</p>
|
454
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks
|
455
|
+
# [
|
456
|
+
# [
|
457
|
+
# 0,
|
458
|
+
# 1337566253.89858,
|
459
|
+
# 0.000355720520019531
|
460
|
+
# ],
|
461
|
+
# [
|
462
|
+
# [
|
463
|
+
# [
|
464
|
+
# 3
|
465
|
+
# ],
|
466
|
+
# [
|
467
|
+
# [
|
468
|
+
# "_id",
|
469
|
+
# "UInt32"
|
470
|
+
# ],
|
471
|
+
# [
|
472
|
+
# "_key",
|
473
|
+
# "ShortText"
|
474
|
+
# ],
|
475
|
+
# [
|
476
|
+
# "tags",
|
477
|
+
# "ShortText"
|
478
|
+
# ]
|
479
|
+
# ],
|
480
|
+
# [
|
481
|
+
# 1,
|
482
|
+
# "http://groonga.org/",
|
483
|
+
# {
|
484
|
+
# "groonga": 100
|
485
|
+
# }
|
486
|
+
# ],
|
487
|
+
# [
|
488
|
+
# 2,
|
489
|
+
# "http://mroonga.org/",
|
490
|
+
# {
|
491
|
+
# "mroonga": 100,
|
492
|
+
# "groonga": 10,
|
493
|
+
# "mysql": 50
|
494
|
+
# }
|
495
|
+
# ],
|
496
|
+
# [
|
497
|
+
# 3,
|
498
|
+
# "http://ranguba.org/",
|
499
|
+
# {
|
500
|
+
# "ruby": 100,
|
501
|
+
# "groonga": 50
|
502
|
+
# }
|
503
|
+
# ]
|
504
|
+
# ]
|
505
|
+
# ]
|
506
|
+
# ]
|
507
|
+
</pre></div>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<div class="section" id="id9">
|
511
|
+
<h4>How to search<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h4>
|
512
|
+
<p>You need to create an index to search weight vector column. You don't
|
513
|
+
forget to specify <tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt> flag to <tt class="docutils literal"><span class="pre">column_create</span></tt>:</p>
|
514
|
+
<p>Execution example:</p>
|
515
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Tags TABLE_PAT_KEY ShortText
|
516
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
517
|
+
column_create Tags bookmark_index COLUMN_INDEX|WITH_WEIGHT Bookmarks tags
|
518
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
519
|
+
</pre></div>
|
520
|
+
</div>
|
521
|
+
<p>There are no weight vector column specific way except <tt class="docutils literal"><span class="pre">WITH_WEIGHT</span></tt>
|
522
|
+
flag. You can create an index like a scalar column.</p>
|
523
|
+
<p>You can search an element in <tt class="docutils literal"><span class="pre">tags</span></tt> like full text search syntax.</p>
|
524
|
+
<p>With <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> and <a class="reference internal" href="../commands/select.html#select-query"><em>query</em></a>:</p>
|
525
|
+
<p>Execution example:</p>
|
526
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns tags --query groonga --output_columns _key,tags,_score
|
527
|
+
# [
|
528
|
+
# [
|
529
|
+
# 0,
|
530
|
+
# 1337566253.89858,
|
531
|
+
# 0.000355720520019531
|
532
|
+
# ],
|
533
|
+
# [
|
534
|
+
# [
|
535
|
+
# [
|
536
|
+
# 3
|
537
|
+
# ],
|
538
|
+
# [
|
539
|
+
# [
|
540
|
+
# "_key",
|
541
|
+
# "ShortText"
|
542
|
+
# ],
|
543
|
+
# [
|
544
|
+
# "tags",
|
545
|
+
# "ShortText"
|
546
|
+
# ],
|
547
|
+
# [
|
548
|
+
# "_score",
|
549
|
+
# "Int32"
|
550
|
+
# ]
|
551
|
+
# ],
|
552
|
+
# [
|
553
|
+
# "http://groonga.org/",
|
554
|
+
# {
|
555
|
+
# "groonga": 100
|
556
|
+
# },
|
557
|
+
# 101
|
558
|
+
# ],
|
559
|
+
# [
|
560
|
+
# "http://mroonga.org/",
|
561
|
+
# {
|
562
|
+
# "mroonga": 100,
|
563
|
+
# "groonga": 10,
|
564
|
+
# "mysql": 50
|
565
|
+
# },
|
566
|
+
# 11
|
567
|
+
# ],
|
568
|
+
# [
|
569
|
+
# "http://ranguba.org/",
|
570
|
+
# {
|
571
|
+
# "ruby": 100,
|
572
|
+
# "groonga": 50
|
573
|
+
# },
|
574
|
+
# 51
|
575
|
+
# ]
|
576
|
+
# ]
|
577
|
+
# ]
|
578
|
+
# ]
|
579
|
+
</pre></div>
|
580
|
+
</div>
|
581
|
+
<p>You can also use weight in <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a>. The score is
|
582
|
+
<tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">weight_in_weight_vector)</span> <span class="pre">*</span> <span class="pre">weight_in_match_columns</span></tt>:</p>
|
583
|
+
<p>Execution example:</p>
|
584
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --match_columns 'tags * 3' --query groonga --output_columns _key,tags,_score
|
585
|
+
# [
|
586
|
+
# [
|
587
|
+
# 0,
|
588
|
+
# 1337566253.89858,
|
589
|
+
# 0.000355720520019531
|
590
|
+
# ],
|
591
|
+
# [
|
592
|
+
# [
|
593
|
+
# [
|
594
|
+
# 3
|
595
|
+
# ],
|
596
|
+
# [
|
597
|
+
# [
|
598
|
+
# "_key",
|
599
|
+
# "ShortText"
|
600
|
+
# ],
|
601
|
+
# [
|
602
|
+
# "tags",
|
603
|
+
# "ShortText"
|
604
|
+
# ],
|
605
|
+
# [
|
606
|
+
# "_score",
|
607
|
+
# "Int32"
|
608
|
+
# ]
|
609
|
+
# ],
|
610
|
+
# [
|
611
|
+
# "http://groonga.org/",
|
612
|
+
# {
|
613
|
+
# "groonga": 100
|
614
|
+
# },
|
615
|
+
# 303
|
616
|
+
# ],
|
617
|
+
# [
|
618
|
+
# "http://mroonga.org/",
|
619
|
+
# {
|
620
|
+
# "mroonga": 100,
|
621
|
+
# "groonga": 10,
|
622
|
+
# "mysql": 50
|
623
|
+
# },
|
624
|
+
# 33
|
625
|
+
# ],
|
626
|
+
# [
|
627
|
+
# "http://ranguba.org/",
|
628
|
+
# {
|
629
|
+
# "ruby": 100,
|
630
|
+
# "groonga": 50
|
631
|
+
# },
|
632
|
+
# 153
|
633
|
+
# ]
|
634
|
+
# ]
|
635
|
+
# ]
|
636
|
+
# ]
|
637
|
+
</pre></div>
|
638
|
+
</div>
|
639
|
+
<p>With <a class="reference internal" href="../commands/select.html#select-filter"><em>filter</em></a>:</p>
|
640
|
+
<p>Execution example:</p>
|
641
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks --filter 'tags @ "groonga"' --output_columns _key,tags,_score
|
642
|
+
# [
|
643
|
+
# [
|
644
|
+
# 0,
|
645
|
+
# 1337566253.89858,
|
646
|
+
# 0.000355720520019531
|
647
|
+
# ],
|
648
|
+
# [
|
649
|
+
# [
|
650
|
+
# [
|
651
|
+
# 3
|
652
|
+
# ],
|
653
|
+
# [
|
654
|
+
# [
|
655
|
+
# "_key",
|
656
|
+
# "ShortText"
|
657
|
+
# ],
|
658
|
+
# [
|
659
|
+
# "tags",
|
660
|
+
# "ShortText"
|
661
|
+
# ],
|
662
|
+
# [
|
663
|
+
# "_score",
|
664
|
+
# "Int32"
|
665
|
+
# ]
|
666
|
+
# ],
|
667
|
+
# [
|
668
|
+
# "http://groonga.org/",
|
669
|
+
# {
|
670
|
+
# "groonga": 100
|
671
|
+
# },
|
672
|
+
# 101
|
673
|
+
# ],
|
674
|
+
# [
|
675
|
+
# "http://mroonga.org/",
|
676
|
+
# {
|
677
|
+
# "mroonga": 100,
|
678
|
+
# "groonga": 10,
|
679
|
+
# "mysql": 50
|
680
|
+
# },
|
681
|
+
# 11
|
682
|
+
# ],
|
683
|
+
# [
|
684
|
+
# "http://ranguba.org/",
|
685
|
+
# {
|
686
|
+
# "ruby": 100,
|
687
|
+
# "groonga": 50
|
688
|
+
# },
|
689
|
+
# 51
|
690
|
+
# ]
|
691
|
+
# ]
|
692
|
+
# ]
|
693
|
+
# ]
|
694
|
+
</pre></div>
|
695
|
+
</div>
|
696
|
+
</div>
|
697
|
+
<div class="section" id="how-to-apply-just-weight">
|
698
|
+
<h4>How to apply just weight<a class="headerlink" href="#how-to-apply-just-weight" title="Permalink to this headline">¶</a></h4>
|
699
|
+
<p>You can use weight in weight vector column to just increase search
|
700
|
+
score without changing a set of matched records.</p>
|
701
|
+
<p>Use <a class="reference internal" href="../commands/select.html#select-adjuster"><em>adjuster</em></a> for the purpose:</p>
|
702
|
+
<p>Execution example:</p>
|
703
|
+
<div class="highlight-none"><div class="highlight"><pre>select Bookmarks \
|
704
|
+
--filter true \
|
705
|
+
--adjuster 'tags @ "mysql" * 10 + tags @ "groonga" * 5' \
|
706
|
+
--output_columns _key,tags,_score
|
707
|
+
# [
|
708
|
+
# [
|
709
|
+
# 0,
|
710
|
+
# 1337566253.89858,
|
711
|
+
# 0.000355720520019531
|
712
|
+
# ],
|
713
|
+
# [
|
714
|
+
# [
|
715
|
+
# [
|
716
|
+
# 3
|
717
|
+
# ],
|
718
|
+
# [
|
719
|
+
# [
|
720
|
+
# "_key",
|
721
|
+
# "ShortText"
|
722
|
+
# ],
|
723
|
+
# [
|
724
|
+
# "tags",
|
725
|
+
# "ShortText"
|
726
|
+
# ],
|
727
|
+
# [
|
728
|
+
# "_score",
|
729
|
+
# "Int32"
|
730
|
+
# ]
|
731
|
+
# ],
|
732
|
+
# [
|
733
|
+
# "http://groonga.org/",
|
734
|
+
# {
|
735
|
+
# "groonga": 100
|
736
|
+
# },
|
737
|
+
# 506
|
738
|
+
# ],
|
739
|
+
# [
|
740
|
+
# "http://mroonga.org/",
|
741
|
+
# {
|
742
|
+
# "mroonga": 100,
|
743
|
+
# "groonga": 10,
|
744
|
+
# "mysql": 50
|
745
|
+
# },
|
746
|
+
# 566
|
747
|
+
# ],
|
748
|
+
# [
|
749
|
+
# "http://ranguba.org/",
|
750
|
+
# {
|
751
|
+
# "ruby": 100,
|
752
|
+
# "groonga": 50
|
753
|
+
# },
|
754
|
+
# 256
|
755
|
+
# ]
|
756
|
+
# ]
|
757
|
+
# ]
|
758
|
+
# ]
|
759
|
+
</pre></div>
|
760
|
+
</div>
|
761
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command uses <tt class="docutils literal"><span class="pre">--filter</span> <span class="pre">true</span></tt>. So all records are
|
762
|
+
matched with score 1. Then it applies <tt class="docutils literal"><span class="pre">--adjuster</span></tt>. The adjuster
|
763
|
+
does the following:</p>
|
764
|
+
<blockquote>
|
765
|
+
<div><ul class="simple">
|
766
|
+
<li><tt class="docutils literal"><span class="pre">tags</span> <span class="pre">@</span> <span class="pre">"mysql"</span> <span class="pre">*</span> <span class="pre">10</span></tt> increases score by <tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">weight)</span> <span class="pre">*</span> <span class="pre">10</span></tt>
|
767
|
+
of records that has <tt class="docutils literal"><span class="pre">"mysql"</span></tt> tag.</li>
|
768
|
+
<li><tt class="docutils literal"><span class="pre">tags</span> <span class="pre">@</span> <span class="pre">"groonga"</span> <span class="pre">*</span> <span class="pre">5</span></tt> increases score by <tt class="docutils literal"><span class="pre">(1</span> <span class="pre">+</span> <span class="pre">weight)</span> <span class="pre">*</span> <span class="pre">5</span></tt>
|
769
|
+
of records that has <tt class="docutils literal"><span class="pre">"groonga"</span></tt> tag.</li>
|
770
|
+
</ul>
|
771
|
+
</div></blockquote>
|
772
|
+
<p>For example, record <tt class="docutils literal"><span class="pre">"http://mroonga.org/"</span></tt> has both <tt class="docutils literal"><span class="pre">"mysql"</span></tt> tag
|
773
|
+
and <tt class="docutils literal"><span class="pre">"groonga"</span></tt> tag. So its score is increased by <tt class="docutils literal"><span class="pre">565</span></tt> (<tt class="docutils literal"><span class="pre">=</span>
|
774
|
+
<span class="pre">((1</span> <span class="pre">+</span> <span class="pre">50)</span> <span class="pre">*</span> <span class="pre">10)</span> <span class="pre">+</span> <span class="pre">((1</span> <span class="pre">+</span> <span class="pre">10)</span> <span class="pre">*</span> <span class="pre">5)</span> <span class="pre">=</span> <span class="pre">(51</span> <span class="pre">*</span> <span class="pre">10)</span> <span class="pre">+</span> <span class="pre">(11</span> <span class="pre">*</span> <span class="pre">5)</span> <span class="pre">=</span> <span class="pre">510</span> <span class="pre">+</span> <span class="pre">55</span></tt>).
|
775
|
+
The search score is 1 by <tt class="docutils literal"><span class="pre">--filter</span> <span class="pre">true</span></tt> before applying
|
776
|
+
<tt class="docutils literal"><span class="pre">--adjuster</span></tt>. So the final search score is <tt class="docutils literal"><span class="pre">566</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">565</span></tt>)
|
777
|
+
of record <tt class="docutils literal"><span class="pre">"http://mroonga.org/"</span></tt>.</p>
|
778
|
+
</div>
|
779
|
+
</div>
|
780
|
+
</div>
|
781
|
+
</div>
|
782
|
+
|
783
|
+
|
784
|
+
</div>
|
785
|
+
</div>
|
786
|
+
</div>
|
787
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
788
|
+
<div class="sphinxsidebarwrapper">
|
789
|
+
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
790
|
+
<ul>
|
791
|
+
<li><a class="reference internal" href="#">Vector column</a><ul>
|
792
|
+
<li><a class="reference internal" href="#summary">Summary</a></li>
|
793
|
+
<li><a class="reference internal" href="#usage">Usage</a><ul>
|
794
|
+
<li><a class="reference internal" href="#normal-vector-column">Normal vector column</a><ul>
|
795
|
+
<li><a class="reference internal" href="#how-to-create">How to create</a></li>
|
796
|
+
<li><a class="reference internal" href="#how-to-load">How to load</a></li>
|
797
|
+
<li><a class="reference internal" href="#how-to-search">How to search</a></li>
|
798
|
+
</ul>
|
799
|
+
</li>
|
800
|
+
<li><a class="reference internal" href="#reference-vector-column">Reference vector column</a><ul>
|
801
|
+
<li><a class="reference internal" href="#id3">How to create</a></li>
|
802
|
+
<li><a class="reference internal" href="#id4">How to load</a></li>
|
803
|
+
<li><a class="reference internal" href="#id5">How to search</a></li>
|
804
|
+
</ul>
|
805
|
+
</li>
|
806
|
+
<li><a class="reference internal" href="#weight-vector-column">Weight vector column</a><ul>
|
807
|
+
<li><a class="reference internal" href="#limitations">Limitations</a></li>
|
808
|
+
<li><a class="reference internal" href="#id7">How to create</a></li>
|
809
|
+
<li><a class="reference internal" href="#id8">How to load</a></li>
|
810
|
+
<li><a class="reference internal" href="#id9">How to search</a></li>
|
811
|
+
<li><a class="reference internal" href="#how-to-apply-just-weight">How to apply just weight</a></li>
|
812
|
+
</ul>
|
813
|
+
</li>
|
814
|
+
</ul>
|
815
|
+
</li>
|
816
|
+
</ul>
|
817
|
+
</li>
|
818
|
+
</ul>
|
819
|
+
|
820
|
+
<div role="note" aria-label="source link">
|
821
|
+
<h3>This Page</h3>
|
822
|
+
<ul class="this-page-menu">
|
823
|
+
<li><a href="../../_sources/reference/columns/vector.txt"
|
824
|
+
rel="nofollow">Show Source</a></li>
|
825
|
+
</ul>
|
826
|
+
</div>
|
827
|
+
<div id="searchbox" style="display: none" role="search">
|
828
|
+
<h3>Quick search</h3>
|
829
|
+
<form class="search" action="../../search.html" method="get">
|
830
|
+
<input type="text" name="q" />
|
831
|
+
<input type="submit" value="Go" />
|
832
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
833
|
+
<input type="hidden" name="area" value="default" />
|
834
|
+
</form>
|
835
|
+
<p class="searchtip" style="font-size: 90%">
|
836
|
+
Enter search terms or a module, class or function name.
|
837
|
+
</p>
|
838
|
+
</div>
|
839
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
840
|
+
</div>
|
841
|
+
</div>
|
842
|
+
<div class="clearer"></div>
|
843
|
+
</div>
|
844
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
845
|
+
<h3>Navigation</h3>
|
846
|
+
<ul>
|
847
|
+
<li class="right" style="margin-right: 10px">
|
848
|
+
<a href="../../genindex.html" title="General Index"
|
849
|
+
>index</a></li>
|
850
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
851
|
+
</ul>
|
852
|
+
</div>
|
853
|
+
<div class="footer" role="contentinfo">
|
854
|
+
© Copyright 2009-2014, Brazil, Inc.
|
855
|
+
</div>
|
856
|
+
</body>
|
857
|
+
</html>
|