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.3.17. log_put — Groonga
|
10
|
+
<title>8.3.17. log_put — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.18. log_reopen" href="log_reopen.html" />
|
31
31
|
<link rel="prev" title="8.3.16. log_level" href="log_level.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="log_level.html" title="8.3.16. log_level"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -198,8 +198,8 @@ debug</div></blockquote>
|
|
198
198
|
<li class="right" >
|
199
199
|
<a href="log_level.html" title="8.3.16. log_level"
|
200
200
|
>previous</a> |</li>
|
201
|
-
<li><a href="../../index.html">Groonga
|
202
|
-
<li><a href="../../reference.html" >8.
|
201
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
202
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
203
203
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
204
204
|
</ul>
|
205
205
|
</div>
|
@@ -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.3.18. log_reopen — Groonga
|
10
|
+
<title>8.3.18. log_reopen — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.19. normalize" href="normalize.html" />
|
31
31
|
<link rel="prev" title="8.3.17. log_put" href="log_put.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="log_put.html" title="8.3.17. log_put"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -196,8 +196,8 @@
|
|
196
196
|
<li class="right" >
|
197
197
|
<a href="log_put.html" title="8.3.17. log_put"
|
198
198
|
>previous</a> |</li>
|
199
|
-
<li><a href="../../index.html">Groonga
|
200
|
-
<li><a href="../../reference.html" >8.
|
199
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
200
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
201
201
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
202
202
|
</ul>
|
203
203
|
</div>
|
@@ -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.3.19. normalize — Groonga
|
10
|
+
<title>8.3.19. normalize — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.20. quit" href="quit.html" />
|
31
31
|
<link rel="prev" title="8.3.18. log_reopen" href="log_reopen.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="log_reopen.html" title="8.3.18. log_reopen"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -107,7 +107,8 @@ It is useful for you to check the results of normalizer.</p>
|
|
107
107
|
# ],
|
108
108
|
# {
|
109
109
|
# "normalized": "abcde 123",
|
110
|
-
# "types": []
|
110
|
+
# "types": [],
|
111
|
+
# "checks": []
|
111
112
|
# }
|
112
113
|
# ]
|
113
114
|
</pre></div>
|
@@ -192,8 +193,7 @@ multiple options separated by "<tt class="docutils literal"><span class="pr
|
|
192
193
|
</div>
|
193
194
|
<p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
|
194
195
|
<blockquote>
|
195
|
-
<div>
|
196
|
-
See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about HEADER.</div></blockquote>
|
196
|
+
<div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
|
197
197
|
<p><tt class="docutils literal"><span class="pre">normalized_text</span></tt></p>
|
198
198
|
<blockquote>
|
199
199
|
<div><p><tt class="docutils literal"><span class="pre">normalized_text</span></tt> is an object that has the following attributes.</p>
|
@@ -299,8 +299,8 @@ the type of the N-th character in <tt class="docutils literal"><span class="pre"
|
|
299
299
|
<li class="right" >
|
300
300
|
<a href="log_reopen.html" title="8.3.18. log_reopen"
|
301
301
|
>previous</a> |</li>
|
302
|
-
<li><a href="../../index.html">Groonga
|
303
|
-
<li><a href="../../reference.html" >8.
|
302
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
303
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
304
304
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
305
305
|
</ul>
|
306
306
|
</div>
|
@@ -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.3.20. quit — Groonga
|
10
|
+
<title>8.3.20. quit — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.21. register" href="register.html" />
|
31
31
|
<link rel="prev" title="8.3.19. normalize" href="normalize.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="normalize.html" title="8.3.19. normalize"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -165,8 +165,8 @@
|
|
165
165
|
<li class="right" >
|
166
166
|
<a href="normalize.html" title="8.3.19. normalize"
|
167
167
|
>previous</a> |</li>
|
168
|
-
<li><a href="../../index.html">Groonga
|
169
|
-
<li><a href="../../reference.html" >8.
|
168
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
169
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
170
170
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
171
171
|
</ul>
|
172
172
|
</div>
|
@@ -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.3.21. register — Groonga
|
10
|
+
<title>8.3.21. register — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.22. ruby_eval" href="ruby_eval.html" />
|
31
31
|
<link rel="prev" title="8.3.20. quit" href="quit.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="quit.html" title="8.3.20. quit"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -178,8 +178,8 @@ They are completed automatically.</p>
|
|
178
178
|
<li class="right" >
|
179
179
|
<a href="quit.html" title="8.3.20. quit"
|
180
180
|
>previous</a> |</li>
|
181
|
-
<li><a href="../../index.html">Groonga
|
182
|
-
<li><a href="../../reference.html" >8.
|
181
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
182
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
183
183
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
184
184
|
</ul>
|
185
185
|
</div>
|
@@ -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.3.22. ruby_eval — Groonga
|
10
|
+
<title>8.3.22. ruby_eval — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.23. ruby_load" href="ruby_load.html" />
|
31
31
|
<link rel="prev" title="8.3.21. register" href="register.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="register.html" title="8.3.21. register"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -193,8 +193,8 @@ Supported types will be increased in the future.</p>
|
|
193
193
|
<li class="right" >
|
194
194
|
<a href="register.html" title="8.3.21. register"
|
195
195
|
>previous</a> |</li>
|
196
|
-
<li><a href="../../index.html">Groonga
|
197
|
-
<li><a href="../../reference.html" >8.
|
196
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
197
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
198
198
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
199
199
|
</ul>
|
200
200
|
</div>
|
@@ -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.3.23. ruby_load — Groonga
|
10
|
+
<title>8.3.23. ruby_load — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.24. select" href="select.html" />
|
31
31
|
<link rel="prev" title="8.3.22. ruby_eval" href="ruby_eval.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -193,8 +193,8 @@ exception information (Including metadata isn't implemented yet):</p>
|
|
193
193
|
<li class="right" >
|
194
194
|
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
195
195
|
>previous</a> |</li>
|
196
|
-
<li><a href="../../index.html">Groonga
|
197
|
-
<li><a href="../../reference.html" >8.
|
196
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
197
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
198
198
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
199
199
|
</ul>
|
200
200
|
</div>
|
@@ -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.3.24. select — Groonga
|
10
|
+
<title>8.3.24. select — 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
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.25. shutdown" href="shutdown.html" />
|
31
31
|
<link rel="prev" title="8.3.23. ruby_load" href="ruby_load.html" />
|
@@ -60,8 +60,8 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="ruby_load.html" title="8.3.23. ruby_load"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga
|
64
|
-
<li><a href="../../reference.html" >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
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -103,6 +103,7 @@ understand <tt class="docutils literal"><span class="pre">select</span></tt> to
|
|
103
103
|
[query_expansion=null]
|
104
104
|
[query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
|
105
105
|
[query_expander=null]
|
106
|
+
[adjuster=null]
|
106
107
|
</pre></div>
|
107
108
|
</div>
|
108
109
|
</div>
|
@@ -2156,6 +2157,187 @@ records. It's very useful value to show all records.</p>
|
|
2156
2157
|
<div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
|
2157
2158
|
</div>
|
2158
2159
|
</div>
|
2160
|
+
<div class="section" id="score-related-parameters">
|
2161
|
+
<h3>8.3.24.4.7. Score related parameters<a class="headerlink" href="#score-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2162
|
+
<p>There is a score related parameter, <tt class="docutils literal"><span class="pre">adjuster</span></tt>.</p>
|
2163
|
+
<div class="section" id="adjuster">
|
2164
|
+
<span id="select-adjuster"></span><h4>8.3.24.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt><a class="headerlink" href="#adjuster" title="Permalink to this headline">¶</a></h4>
|
2165
|
+
<p>It specifies one or more score adjust expressions. You need to use
|
2166
|
+
<tt class="docutils literal"><span class="pre">adjuster</span></tt> with <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. <tt class="docutils literal"><span class="pre">adjuster</span></tt> doesn't work
|
2167
|
+
with not searched request.</p>
|
2168
|
+
<p>You can increase score of specific records by <tt class="docutils literal"><span class="pre">adjuster</span></tt>. You can
|
2169
|
+
use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to set high score for important records.</p>
|
2170
|
+
<p>For example, you can use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to increase score of records
|
2171
|
+
that have <tt class="docutils literal"><span class="pre">groonga</span></tt> tag.</p>
|
2172
|
+
<p>Here is the syntax:</p>
|
2173
|
+
<div class="highlight-none"><div class="highlight"><pre>--adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
2174
|
+
</pre></div>
|
2175
|
+
</div>
|
2176
|
+
<p>Here is the <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> syntax:</p>
|
2177
|
+
<div class="highlight-none"><div class="highlight"><pre>COLUMN @ "KEYWORD" * FACTOR
|
2178
|
+
</pre></div>
|
2179
|
+
</div>
|
2180
|
+
<p>Note the following:</p>
|
2181
|
+
<blockquote>
|
2182
|
+
<div><ul class="simple">
|
2183
|
+
<li><tt class="docutils literal"><span class="pre">COLUMN</span></tt> must be indexed.</li>
|
2184
|
+
<li><tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt> must be a string.</li>
|
2185
|
+
<li><tt class="docutils literal"><span class="pre">FACTOR</span></tt> must be a positive integer.</li>
|
2186
|
+
</ul>
|
2187
|
+
</div></blockquote>
|
2188
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses just one
|
2189
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
|
2190
|
+
<p>Execution example:</p>
|
2191
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2192
|
+
--filter true \
|
2193
|
+
--adjuster 'content @ "groonga" * 5' \
|
2194
|
+
--output_columns _key,content,_score
|
2195
|
+
# [
|
2196
|
+
# [
|
2197
|
+
# 0,
|
2198
|
+
# 1337566253.89858,
|
2199
|
+
# 0.000355720520019531
|
2200
|
+
# ],
|
2201
|
+
# [
|
2202
|
+
# [
|
2203
|
+
# [
|
2204
|
+
# 5
|
2205
|
+
# ],
|
2206
|
+
# [
|
2207
|
+
# [
|
2208
|
+
# "_key",
|
2209
|
+
# "ShortText"
|
2210
|
+
# ],
|
2211
|
+
# [
|
2212
|
+
# "content",
|
2213
|
+
# "Text"
|
2214
|
+
# ],
|
2215
|
+
# [
|
2216
|
+
# "_score",
|
2217
|
+
# "Int32"
|
2218
|
+
# ]
|
2219
|
+
# ],
|
2220
|
+
# [
|
2221
|
+
# "The first post!",
|
2222
|
+
# "Welcome! This is my first post!",
|
2223
|
+
# 1
|
2224
|
+
# ],
|
2225
|
+
# [
|
2226
|
+
# "Groonga",
|
2227
|
+
# "I started to use groonga. It's very fast!",
|
2228
|
+
# 6
|
2229
|
+
# ],
|
2230
|
+
# [
|
2231
|
+
# "Mroonga",
|
2232
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
2233
|
+
# 1
|
2234
|
+
# ],
|
2235
|
+
# [
|
2236
|
+
# "Good-bye Senna",
|
2237
|
+
# "I migrated all Senna system!",
|
2238
|
+
# 1
|
2239
|
+
# ],
|
2240
|
+
# [
|
2241
|
+
# "Good-bye Tritonn",
|
2242
|
+
# "I also migrated all Tritonn system!",
|
2243
|
+
# 1
|
2244
|
+
# ]
|
2245
|
+
# ]
|
2246
|
+
# ]
|
2247
|
+
# ]
|
2248
|
+
</pre></div>
|
2249
|
+
</div>
|
2250
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command matches all records. Then it applies
|
2251
|
+
<tt class="docutils literal"><span class="pre">adjuster</span></tt>. The adjuster increases score of records that have
|
2252
|
+
<tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column by 5. There is only one
|
2253
|
+
record that has <tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the
|
2254
|
+
record that its key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> has score 6 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
|
2255
|
+
<p>You can omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. If you omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>, it is treated as 1.</p>
|
2256
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that omits <tt class="docutils literal"><span class="pre">FACTOR</span></tt>:</p>
|
2257
|
+
<p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't have <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. So
|
2258
|
+
the factor is treated as 1. There is only one record that has
|
2259
|
+
<tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the record that its
|
2260
|
+
key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> has score 2 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">1</span></tt>).</p>
|
2261
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses multiple
|
2262
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
|
2263
|
+
<p>Execution example:</p>
|
2264
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2265
|
+
--filter true \
|
2266
|
+
--adjuster 'content @ "groonga" * 5 + content @ "started" * 3' \
|
2267
|
+
--output_columns _key,content,_score
|
2268
|
+
# [
|
2269
|
+
# [
|
2270
|
+
# 0,
|
2271
|
+
# 1337566253.89858,
|
2272
|
+
# 0.000355720520019531
|
2273
|
+
# ],
|
2274
|
+
# [
|
2275
|
+
# [
|
2276
|
+
# [
|
2277
|
+
# 5
|
2278
|
+
# ],
|
2279
|
+
# [
|
2280
|
+
# [
|
2281
|
+
# "_key",
|
2282
|
+
# "ShortText"
|
2283
|
+
# ],
|
2284
|
+
# [
|
2285
|
+
# "content",
|
2286
|
+
# "Text"
|
2287
|
+
# ],
|
2288
|
+
# [
|
2289
|
+
# "_score",
|
2290
|
+
# "Int32"
|
2291
|
+
# ]
|
2292
|
+
# ],
|
2293
|
+
# [
|
2294
|
+
# "The first post!",
|
2295
|
+
# "Welcome! This is my first post!",
|
2296
|
+
# 1
|
2297
|
+
# ],
|
2298
|
+
# [
|
2299
|
+
# "Groonga",
|
2300
|
+
# "I started to use groonga. It's very fast!",
|
2301
|
+
# 9
|
2302
|
+
# ],
|
2303
|
+
# [
|
2304
|
+
# "Mroonga",
|
2305
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
2306
|
+
# 4
|
2307
|
+
# ],
|
2308
|
+
# [
|
2309
|
+
# "Good-bye Senna",
|
2310
|
+
# "I migrated all Senna system!",
|
2311
|
+
# 1
|
2312
|
+
# ],
|
2313
|
+
# [
|
2314
|
+
# "Good-bye Tritonn",
|
2315
|
+
# "I also migrated all Tritonn system!",
|
2316
|
+
# 1
|
2317
|
+
# ]
|
2318
|
+
# ]
|
2319
|
+
# ]
|
2320
|
+
# ]
|
2321
|
+
</pre></div>
|
2322
|
+
</div>
|
2323
|
+
<p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command has two
|
2324
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. The final increased score is sum of
|
2325
|
+
scores of these <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. All
|
2326
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s in the <tt class="docutils literal"><span class="pre">select</span></tt> command are applied to
|
2327
|
+
a record that its key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt>. So the final increased score
|
2328
|
+
of the record is sum of scores of all <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s.</p>
|
2329
|
+
<p>The first <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"groonga"</span> <span class="pre">*</span> <span class="pre">5</span></tt>.
|
2330
|
+
It increases score by 5.</p>
|
2331
|
+
<p>The second <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"started"</span> <span class="pre">*</span> <span class="pre">3</span></tt>.
|
2332
|
+
It increases score by 3.</p>
|
2333
|
+
<p>The final increased score is 9 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span> <span class="pre">+</span> <span class="pre">3</span></tt>).</p>
|
2334
|
+
<p>A <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> has a factor for <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt>. This
|
2335
|
+
means that increased scores of all records that has <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt> are
|
2336
|
+
the same value. You can change increase score for each record that has
|
2337
|
+
the same <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt>. It is useful to tune search score. See
|
2338
|
+
<a class="reference internal" href="../columns/vector.html#weight-vector-column"><em>Weight vector column</em></a> for details.</p>
|
2339
|
+
</div>
|
2340
|
+
</div>
|
2159
2341
|
</div>
|
2160
2342
|
<div class="section" id="id6">
|
2161
2343
|
<h2>8.3.24.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
@@ -2284,6 +2466,10 @@ records. It's very useful value to show all records.</p>
|
|
2284
2466
|
<li><a class="reference internal" href="#cache">8.3.24.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
2285
2467
|
</ul>
|
2286
2468
|
</li>
|
2469
|
+
<li><a class="reference internal" href="#score-related-parameters">8.3.24.4.7. Score related parameters</a><ul>
|
2470
|
+
<li><a class="reference internal" href="#adjuster">8.3.24.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt></a></li>
|
2471
|
+
</ul>
|
2472
|
+
</li>
|
2287
2473
|
</ul>
|
2288
2474
|
</li>
|
2289
2475
|
<li><a class="reference internal" href="#id6">8.3.24.5. 返値</a></li>
|
@@ -2334,8 +2520,8 @@ records. It's very useful value to show all records.</p>
|
|
2334
2520
|
<li class="right" >
|
2335
2521
|
<a href="ruby_load.html" title="8.3.23. ruby_load"
|
2336
2522
|
>previous</a> |</li>
|
2337
|
-
<li><a href="../../index.html">Groonga
|
2338
|
-
<li><a href="../../reference.html" >8.
|
2523
|
+
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
2524
|
+
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
2339
2525
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
2340
2526
|
</ul>
|
2341
2527
|
</div>
|