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
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "March 28, 2014" "4.0.1" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -110,7 +110,7 @@ packages.groonga.org:
|
|
110
110
|
.INDENT 3.5
|
111
111
|
.INDENT 0.0
|
112
112
|
.IP \(bu 2
|
113
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
113
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x86.exe\fP
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
116
116
|
.UNINDENT
|
@@ -123,7 +123,7 @@ packages.goronga.org:
|
|
123
123
|
.INDENT 3.5
|
124
124
|
.INDENT 0.0
|
125
125
|
.IP \(bu 2
|
126
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
126
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x64.exe\fP
|
127
127
|
.UNINDENT
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
@@ -140,7 +140,7 @@ packages.groonga.org:
|
|
140
140
|
.INDENT 3.5
|
141
141
|
.INDENT 0.0
|
142
142
|
.IP \(bu 2
|
143
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
143
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x86.zip\fP
|
144
144
|
.UNINDENT
|
145
145
|
.UNINDENT
|
146
146
|
.UNINDENT
|
@@ -153,7 +153,7 @@ packages.groonga.org:
|
|
153
153
|
.INDENT 3.5
|
154
154
|
.INDENT 0.0
|
155
155
|
.IP \(bu 2
|
156
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
156
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x64.zip\fP
|
157
157
|
.UNINDENT
|
158
158
|
.UNINDENT
|
159
159
|
.UNINDENT
|
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
|
|
181
181
|
.INDENT 3.5
|
182
182
|
.INDENT 0.0
|
183
183
|
.IP \(bu 2
|
184
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
184
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.1.zip\fP
|
185
185
|
.UNINDENT
|
186
186
|
.UNINDENT
|
187
187
|
.UNINDENT
|
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
|
|
194
194
|
.sp
|
195
195
|
.nf
|
196
196
|
.ft C
|
197
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
197
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.1
|
198
198
|
.ft P
|
199
199
|
.fi
|
200
200
|
.UNINDENT
|
@@ -208,7 +208,7 @@ parameter instead:
|
|
208
208
|
.sp
|
209
209
|
.nf
|
210
210
|
.ft C
|
211
|
-
groonga\-4.0.
|
211
|
+
groonga\-4.0.1> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
212
212
|
.ft P
|
213
213
|
.fi
|
214
214
|
.UNINDENT
|
@@ -220,7 +220,7 @@ Build:
|
|
220
220
|
.sp
|
221
221
|
.nf
|
222
222
|
.ft C
|
223
|
-
groonga\-4.0.
|
223
|
+
groonga\-4.0.1> cmake \-\-build . \-\-config Release
|
224
224
|
.ft P
|
225
225
|
.fi
|
226
226
|
.UNINDENT
|
@@ -232,7 +232,7 @@ Install:
|
|
232
232
|
.sp
|
233
233
|
.nf
|
234
234
|
.ft C
|
235
|
-
groonga\-4.0.
|
235
|
+
groonga\-4.0.1> cmake \-\-build . \-\-config Release \-\-target Install
|
236
236
|
.ft P
|
237
237
|
.fi
|
238
238
|
.UNINDENT
|
@@ -286,9 +286,9 @@ Download source:
|
|
286
286
|
.sp
|
287
287
|
.nf
|
288
288
|
.ft C
|
289
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
290
|
-
% tar xvzf groonga\-4.0.
|
291
|
-
% cd groonga\-4.0.
|
289
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
290
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
291
|
+
% cd groonga\-4.0.1
|
292
292
|
.ft P
|
293
293
|
.fi
|
294
294
|
.UNINDENT
|
@@ -611,9 +611,9 @@ Download source:
|
|
611
611
|
.sp
|
612
612
|
.nf
|
613
613
|
.ft C
|
614
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
615
|
-
% tar xvzf groonga\-4.0.
|
616
|
-
% cd groonga\-4.0.
|
614
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
615
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
616
|
+
% cd groonga\-4.0.1
|
617
617
|
.ft P
|
618
618
|
.fi
|
619
619
|
.UNINDENT
|
@@ -1067,9 +1067,9 @@ Download source:
|
|
1067
1067
|
.sp
|
1068
1068
|
.nf
|
1069
1069
|
.ft C
|
1070
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1071
|
-
% tar xvzf groonga\-4.0.
|
1072
|
-
% cd groonga\-4.0.
|
1070
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1071
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1072
|
+
% cd groonga\-4.0.1
|
1073
1073
|
.ft P
|
1074
1074
|
.fi
|
1075
1075
|
.UNINDENT
|
@@ -1407,9 +1407,9 @@ Download source:
|
|
1407
1407
|
.sp
|
1408
1408
|
.nf
|
1409
1409
|
.ft C
|
1410
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1411
|
-
% tar xvzf groonga\-4.0.
|
1412
|
-
% cd groonga\-4.0.
|
1410
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1411
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1412
|
+
% cd groonga\-4.0.1
|
1413
1413
|
.ft P
|
1414
1414
|
.fi
|
1415
1415
|
.UNINDENT
|
@@ -1614,9 +1614,9 @@ Download source:
|
|
1614
1614
|
.sp
|
1615
1615
|
.nf
|
1616
1616
|
.ft C
|
1617
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1618
|
-
% tar xvzf groonga\-4.0.
|
1619
|
-
% cd groonga\-4.0.
|
1617
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1618
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1619
|
+
% cd groonga\-4.0.1
|
1620
1620
|
.ft P
|
1621
1621
|
.fi
|
1622
1622
|
.UNINDENT
|
@@ -1681,9 +1681,9 @@ Download source:
|
|
1681
1681
|
.sp
|
1682
1682
|
.nf
|
1683
1683
|
.ft C
|
1684
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1685
|
-
% gtar xvzf groonga\-4.0.
|
1686
|
-
% cd groonga\-4.0.
|
1684
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1685
|
+
% gtar xvzf groonga\-4.0.1.tar.gz
|
1686
|
+
% cd groonga\-4.0.1
|
1687
1687
|
.ft P
|
1688
1688
|
.fi
|
1689
1689
|
.UNINDENT
|
@@ -1823,9 +1823,9 @@ steps:
|
|
1823
1823
|
.sp
|
1824
1824
|
.nf
|
1825
1825
|
.ft C
|
1826
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1827
|
-
% tar xvzf groonga\-4.0.
|
1828
|
-
% cd groonga\-4.0.
|
1826
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1827
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1828
|
+
% cd groonga\-4.0.1
|
1829
1829
|
% ./configure
|
1830
1830
|
% make
|
1831
1831
|
% sudo make install
|
@@ -2224,10 +2224,10 @@ status
|
|
2224
2224
|
# "max_command_version": 2,
|
2225
2225
|
# "n_queries": 0,
|
2226
2226
|
# "cache_hit_rate": 0.0,
|
2227
|
-
# "version": "
|
2228
|
-
# "alloc_count":
|
2227
|
+
# "version": "4.0.1",
|
2228
|
+
# "alloc_count": 161,
|
2229
2229
|
# "command_version": 1,
|
2230
|
-
# "starttime":
|
2230
|
+
# "starttime": 1395806057,
|
2231
2231
|
# "default_command_version": 1
|
2232
2232
|
# }
|
2233
2233
|
# ]
|
@@ -3378,10 +3378,10 @@ status
|
|
3378
3378
|
# "max_command_version": 2,
|
3379
3379
|
# "n_queries": 0,
|
3380
3380
|
# "cache_hit_rate": 0.0,
|
3381
|
-
# "version": "
|
3382
|
-
# "alloc_count":
|
3381
|
+
# "version": "4.0.1",
|
3382
|
+
# "alloc_count": 140,
|
3383
3383
|
# "command_version": 1,
|
3384
|
-
# "starttime":
|
3384
|
+
# "starttime": 1395806078,
|
3385
3385
|
# "default_command_version": 1
|
3386
3386
|
# }
|
3387
3387
|
# ]
|
@@ -3490,14 +3490,14 @@ status
|
|
3490
3490
|
# 0.000355720520019531
|
3491
3491
|
# ],
|
3492
3492
|
# {
|
3493
|
-
# "uptime":
|
3493
|
+
# "uptime": 1,
|
3494
3494
|
# "max_command_version": 2,
|
3495
3495
|
# "n_queries": 0,
|
3496
3496
|
# "cache_hit_rate": 0.0,
|
3497
|
-
# "version": "
|
3498
|
-
# "alloc_count":
|
3497
|
+
# "version": "4.0.1",
|
3498
|
+
# "alloc_count": 141,
|
3499
3499
|
# "command_version": 1,
|
3500
|
-
# "starttime":
|
3500
|
+
# "starttime": 1395806078,
|
3501
3501
|
# "default_command_version": 1
|
3502
3502
|
# }
|
3503
3503
|
# ]
|
@@ -10042,7 +10042,7 @@ TODO
|
|
10042
10042
|
.SS groonga\-httpd
|
10043
10043
|
.sp
|
10044
10044
|
TODO
|
10045
|
-
.SH
|
10045
|
+
.SH REFERENCE MANUAL
|
10046
10046
|
.SS 実行ファイル
|
10047
10047
|
.sp
|
10048
10048
|
groongaパッケージが提供する実行ファイルについて説明します。
|
@@ -10860,10 +10860,10 @@ Execution example:
|
|
10860
10860
|
"max_command_version": 2,
|
10861
10861
|
"n_queries": 0,
|
10862
10862
|
"cache_hit_rate": 0.0,
|
10863
|
-
"version": "
|
10864
|
-
"alloc_count":
|
10863
|
+
"version": "4.0.1",
|
10864
|
+
"alloc_count": 161,
|
10865
10865
|
"command_version": 1,
|
10866
|
-
"starttime":
|
10866
|
+
"starttime": 1395806036,
|
10867
10867
|
"default_command_version": 1
|
10868
10868
|
}
|
10869
10869
|
]
|
@@ -11596,7 +11596,8 @@ TODO
|
|
11596
11596
|
.SS groonga\-suggest\-httpd
|
11597
11597
|
.SS Summary
|
11598
11598
|
.sp
|
11599
|
-
|
11599
|
+
groonga\-suggest\-httpd is a program to provide interface which accepts HTTP request and returns suggestion dataset, then saves logs for learning.
|
11600
|
+
groonga\-suggest\-httpd behaves similar in point of view of suggestion functionality, but the name of parameter is different.
|
11600
11601
|
.SS Synopsis
|
11601
11602
|
.INDENT 0.0
|
11602
11603
|
.INDENT 3.5
|
@@ -11609,6 +11610,15 @@ groonga\-suggest\-httpd [options] database_path
|
|
11609
11610
|
.UNINDENT
|
11610
11611
|
.UNINDENT
|
11611
11612
|
.SS Usage
|
11613
|
+
.SS Set up
|
11614
|
+
.sp
|
11615
|
+
First you need to set up database for suggestion.
|
11616
|
+
.SS Launch groonga\-suggest\-httpd
|
11617
|
+
.sp
|
11618
|
+
Execute groonga\-suggest\-httpd command:
|
11619
|
+
.sp
|
11620
|
+
After executing above command, groonga\-suggest\-httpd accepts HTTP request on 8080 port.
|
11621
|
+
.SS Request to groonga\-suggest\-httpd
|
11612
11622
|
.sp
|
11613
11623
|
TODO
|
11614
11624
|
.SS Options
|
@@ -11652,12 +11662,175 @@ Specify this option to daemonize.
|
|
11652
11662
|
.B \-\-disable\-max\-fd\-check
|
11653
11663
|
Specify this option to disable checking max fd on start.
|
11654
11664
|
.UNINDENT
|
11655
|
-
.SS Parameters
|
11665
|
+
.SS Command line Parameters
|
11656
11666
|
.sp
|
11657
11667
|
There is one required parameter \- \fBdatabase_path\fP\&.
|
11658
11668
|
.SS \fBdatabase_path\fP
|
11659
11669
|
.sp
|
11660
|
-
Specifies the path to a
|
11670
|
+
Specifies the path to a Groonga database. This database must be created by \fBgroonga\-suggest\-create\-dataset\fP command because it executes required initialization for suggestion.
|
11671
|
+
.SS GET Parameters
|
11672
|
+
.sp
|
11673
|
+
groonga\-suggest\-httpd accepts following GET parameters.
|
11674
|
+
.sp
|
11675
|
+
There are required parameters which depends on type of query.
|
11676
|
+
.SS Required parameters
|
11677
|
+
.TS
|
11678
|
+
center;
|
11679
|
+
|l|l|l|.
|
11680
|
+
_
|
11681
|
+
T{
|
11682
|
+
Key
|
11683
|
+
T} T{
|
11684
|
+
Description
|
11685
|
+
T} T{
|
11686
|
+
Note
|
11687
|
+
T}
|
11688
|
+
_
|
11689
|
+
T{
|
11690
|
+
q
|
11691
|
+
T} T{
|
11692
|
+
UTF\-8 encoded string which user fills in form
|
11693
|
+
T} T{
|
11694
|
+
T}
|
11695
|
+
_
|
11696
|
+
T{
|
11697
|
+
t
|
11698
|
+
T} T{
|
11699
|
+
The type of query. The value of type must be complete, correct, suggest or submit. It also accepts multiple type of query which is concatinated by \(aq|\(aq. Note that \(aqsubmit\(aq is invalid value when you specify multiple type of query.
|
11700
|
+
T} T{
|
11701
|
+
T}
|
11702
|
+
_
|
11703
|
+
.TE
|
11704
|
+
.SS Required parameters for learning
|
11705
|
+
.TS
|
11706
|
+
center;
|
11707
|
+
|l|l|l|.
|
11708
|
+
_
|
11709
|
+
T{
|
11710
|
+
Key
|
11711
|
+
T} T{
|
11712
|
+
Description
|
11713
|
+
T} T{
|
11714
|
+
Note
|
11715
|
+
T}
|
11716
|
+
_
|
11717
|
+
T{
|
11718
|
+
s
|
11719
|
+
T} T{
|
11720
|
+
Elapsed time from 0:00 January 1, 1970
|
11721
|
+
T} T{
|
11722
|
+
Note that you need specify the value of \(aqs\(aq in milliseconds
|
11723
|
+
T}
|
11724
|
+
_
|
11725
|
+
T{
|
11726
|
+
i
|
11727
|
+
T} T{
|
11728
|
+
Unique ID to distinct user
|
11729
|
+
T} T{
|
11730
|
+
Use session ID or IP address for example
|
11731
|
+
T}
|
11732
|
+
_
|
11733
|
+
T{
|
11734
|
+
l
|
11735
|
+
T} T{
|
11736
|
+
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \(aq|\(aq
|
11737
|
+
T} T{
|
11738
|
+
Note that dataset name must be matched to following regular expression \(aq[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\(aq
|
11739
|
+
T}
|
11740
|
+
_
|
11741
|
+
.TE
|
11742
|
+
.SS Required parameters for suggestion
|
11743
|
+
.TS
|
11744
|
+
center;
|
11745
|
+
|l|l|l|.
|
11746
|
+
_
|
11747
|
+
T{
|
11748
|
+
Key
|
11749
|
+
T} T{
|
11750
|
+
Description
|
11751
|
+
T} T{
|
11752
|
+
Note
|
11753
|
+
T}
|
11754
|
+
_
|
11755
|
+
T{
|
11756
|
+
n
|
11757
|
+
T} T{
|
11758
|
+
Specify the name of dataset for suggestion
|
11759
|
+
T} T{
|
11760
|
+
This dataset name is used to calculate suggestion results
|
11761
|
+
T}
|
11762
|
+
_
|
11763
|
+
.TE
|
11764
|
+
.SS Optional parameter
|
11765
|
+
.TS
|
11766
|
+
center;
|
11767
|
+
|l|l|l|.
|
11768
|
+
_
|
11769
|
+
T{
|
11770
|
+
Key
|
11771
|
+
T} T{
|
11772
|
+
Description
|
11773
|
+
T} T{
|
11774
|
+
Note
|
11775
|
+
T}
|
11776
|
+
_
|
11777
|
+
T{
|
11778
|
+
callback
|
11779
|
+
T} T{
|
11780
|
+
Specify the name of function if you prefer JSONP as response format
|
11781
|
+
T} T{
|
11782
|
+
The name of function must be matched to reqular expression \(aq[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\(aq
|
11783
|
+
T}
|
11784
|
+
_
|
11785
|
+
.TE
|
11786
|
+
.SS Return value
|
11787
|
+
.sp
|
11788
|
+
\fBgroonga\-suggest\-httpd\fP command returns following response in JSON or JSONP format.
|
11789
|
+
.sp
|
11790
|
+
In JSON format:
|
11791
|
+
.INDENT 0.0
|
11792
|
+
.INDENT 3.5
|
11793
|
+
.sp
|
11794
|
+
.nf
|
11795
|
+
.ft C
|
11796
|
+
{TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]}
|
11797
|
+
.ft P
|
11798
|
+
.fi
|
11799
|
+
.UNINDENT
|
11800
|
+
.UNINDENT
|
11801
|
+
.sp
|
11802
|
+
In JSONP format:
|
11803
|
+
.INDENT 0.0
|
11804
|
+
.INDENT 3.5
|
11805
|
+
.sp
|
11806
|
+
.nf
|
11807
|
+
.ft C
|
11808
|
+
FUNCTION({TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]})
|
11809
|
+
.ft P
|
11810
|
+
.fi
|
11811
|
+
.UNINDENT
|
11812
|
+
.UNINDENT
|
11813
|
+
.sp
|
11814
|
+
\fBTYPE\fP
|
11815
|
+
.INDENT 0.0
|
11816
|
+
.INDENT 3.5
|
11817
|
+
\(aqcomplete\(aq, \(aqcorrect\(aq or \(aqsuggest\(aq.
|
11818
|
+
.UNINDENT
|
11819
|
+
.UNINDENT
|
11820
|
+
.sp
|
11821
|
+
\fBCANDIDATE_N\fP
|
11822
|
+
.INDENT 0.0
|
11823
|
+
.INDENT 3.5
|
11824
|
+
The string of candidate (UTF\-8).
|
11825
|
+
.UNINDENT
|
11826
|
+
.UNINDENT
|
11827
|
+
.sp
|
11828
|
+
\fBSCORE_N\fP
|
11829
|
+
.INDENT 0.0
|
11830
|
+
.INDENT 3.5
|
11831
|
+
The number of score.
|
11832
|
+
.UNINDENT
|
11833
|
+
.UNINDENT
|
11661
11834
|
.SS groonga\-suggest\-learner
|
11662
11835
|
.SS Summary
|
11663
11836
|
.sp
|
@@ -11677,8 +11850,21 @@ groonga\-suggest\-learner [options] database_path
|
|
11677
11850
|
.sp
|
11678
11851
|
TODO
|
11679
11852
|
.SS Options
|
11680
|
-
.
|
11681
|
-
|
11853
|
+
.INDENT 0.0
|
11854
|
+
.TP
|
11855
|
+
.B \-r, \-\-receive\-endpoint
|
11856
|
+
Specify endpoint for receiver.
|
11857
|
+
.UNINDENT
|
11858
|
+
.INDENT 0.0
|
11859
|
+
.TP
|
11860
|
+
.B \-s, \-\-send\-endpoint
|
11861
|
+
Specify endpoint for sender.
|
11862
|
+
.UNINDENT
|
11863
|
+
.INDENT 0.0
|
11864
|
+
.TP
|
11865
|
+
.B \-d, \-\-daemon
|
11866
|
+
Specify this option to daemonize.
|
11867
|
+
.UNINDENT
|
11682
11868
|
.SS Parameters
|
11683
11869
|
.sp
|
11684
11870
|
There is one required parameter \- \fBdatabase_path\fP\&.
|
@@ -12560,7 +12746,7 @@ max number of query cache entries.
|
|
12560
12746
|
.sp
|
12561
12747
|
.nf
|
12562
12748
|
.ft C
|
12563
|
-
[
|
12749
|
+
[HEADER, N_ENTRIES]
|
12564
12750
|
.ft P
|
12565
12751
|
.fi
|
12566
12752
|
.UNINDENT
|
@@ -13035,8 +13221,7 @@ Reserved. Compress the value of column by using lzo. This flag is disabled featu
|
|
13035
13221
|
\fBHEADER\fP
|
13036
13222
|
.INDENT 0.0
|
13037
13223
|
.INDENT 3.5
|
13038
|
-
|
13039
|
-
See \fB/reference/command/output_format\fP about HEADER.
|
13224
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
13040
13225
|
.UNINDENT
|
13041
13226
|
.UNINDENT
|
13042
13227
|
.sp
|
@@ -13263,18 +13448,41 @@ column_remove Entry body
|
|
13263
13448
|
.SS \fBcolumn_rename\fP
|
13264
13449
|
.SS Summary
|
13265
13450
|
.sp
|
13266
|
-
\fBcolumn_rename\fP command renames
|
13267
|
-
.
|
13451
|
+
\fBcolumn_rename\fP command renames a column.
|
13452
|
+
.sp
|
13453
|
+
It is a light operation. It just changes a relationship between name
|
13454
|
+
and the column object. It doesn\(aqt copy column values.
|
13268
13455
|
.sp
|
13269
|
-
|
13456
|
+
It is a dangerous operation. You must stop all operations including
|
13457
|
+
read operations while you run \fBcolumn_rename\fP\&. If the following case
|
13458
|
+
is occurred, Groonga process may be crashed:
|
13459
|
+
.INDENT 0.0
|
13460
|
+
.INDENT 3.5
|
13461
|
+
.INDENT 0.0
|
13462
|
+
.IP \(bu 2
|
13463
|
+
Starts an operation (like \fBselect\fP) that accesses the column to
|
13464
|
+
be renamed by the current column name. The current column name is
|
13465
|
+
called as \fBthe old column name\fP in the below because the column
|
13466
|
+
name is renamed.
|
13467
|
+
.IP \(bu 2
|
13468
|
+
Runs \fBcolumn_rename\fP\&. The \fBselect\fP is still running.
|
13469
|
+
.IP \(bu 2
|
13470
|
+
The \fBselect\fP accesses the column to be renamed by the old column
|
13471
|
+
name. But the \fBselect\fP can\(aqt find the column by the old name
|
13472
|
+
because the column has been renamed to the new column name. It may
|
13473
|
+
crash the Groonga process.
|
13474
|
+
.UNINDENT
|
13475
|
+
.UNINDENT
|
13476
|
+
.UNINDENT
|
13477
|
+
.SS Syntax
|
13270
13478
|
.sp
|
13271
|
-
|
13479
|
+
\fBcolumn_rename\fP command takes three parameters. All parameters are required:
|
13272
13480
|
.INDENT 0.0
|
13273
13481
|
.INDENT 3.5
|
13274
13482
|
.sp
|
13275
13483
|
.nf
|
13276
13484
|
.ft C
|
13277
|
-
column_rename table
|
13485
|
+
column_rename table name new_name
|
13278
13486
|
.ft P
|
13279
13487
|
.fi
|
13280
13488
|
.UNINDENT
|
@@ -13417,15 +13625,18 @@ select Users
|
|
13417
13625
|
.SS Parameters
|
13418
13626
|
.sp
|
13419
13627
|
This section describes parameters of \fBcolumn_rename\fP\&.
|
13420
|
-
.SS Required
|
13628
|
+
.SS Required parameters
|
13421
13629
|
.sp
|
13422
|
-
|
13423
|
-
.SS \
|
13630
|
+
All parameters are required.
|
13631
|
+
.SS \fBtable\fP
|
13424
13632
|
.sp
|
13425
|
-
It specifies the name of table.
|
13426
|
-
.SS \
|
13633
|
+
It specifies the name of table that has the column to be renamed.
|
13634
|
+
.SS \fBname\fP
|
13635
|
+
.sp
|
13636
|
+
It specifies the column name to be renamed.
|
13637
|
+
.SS \fBnew_name\fP
|
13427
13638
|
.sp
|
13428
|
-
It specifies the
|
13639
|
+
It specifies the new column name.
|
13429
13640
|
.SS Return value
|
13430
13641
|
.INDENT 0.0
|
13431
13642
|
.INDENT 3.5
|
@@ -13441,15 +13652,14 @@ It specifies the name of column.
|
|
13441
13652
|
\fBHEADER\fP
|
13442
13653
|
.INDENT 0.0
|
13443
13654
|
.INDENT 3.5
|
13444
|
-
|
13445
|
-
See \fB/reference/command/output_format\fP about HEADER.
|
13655
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
13446
13656
|
.UNINDENT
|
13447
13657
|
.UNINDENT
|
13448
13658
|
.sp
|
13449
13659
|
\fBSUCCEEDED_OR_NOT\fP
|
13450
13660
|
.INDENT 0.0
|
13451
13661
|
.INDENT 3.5
|
13452
|
-
|
13662
|
+
It is \fBtrue\fP on success, \fBfalse\fP otherwise.
|
13453
13663
|
.UNINDENT
|
13454
13664
|
.UNINDENT
|
13455
13665
|
.SS define_selector
|
@@ -13935,8 +14145,7 @@ you must not specify \fBkey\fP and \fBid\fP parameter.
|
|
13935
14145
|
\fBHEADER\fP
|
13936
14146
|
.INDENT 0.0
|
13937
14147
|
.INDENT 3.5
|
13938
|
-
|
13939
|
-
See \fB/reference/command/output_format\fP about HEADER.
|
14148
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
13940
14149
|
.UNINDENT
|
13941
14150
|
.UNINDENT
|
13942
14151
|
.sp
|
@@ -14459,7 +14668,8 @@ normalize NormalizerAuto "aBcDe 123"
|
|
14459
14668
|
# ],
|
14460
14669
|
# {
|
14461
14670
|
# "normalized": "abcde 123",
|
14462
|
-
# "types": []
|
14671
|
+
# "types": [],
|
14672
|
+
# "checks": []
|
14463
14673
|
# }
|
14464
14674
|
# ]
|
14465
14675
|
.ft P
|
@@ -14574,8 +14784,7 @@ TODO
|
|
14574
14784
|
\fBHEADER\fP
|
14575
14785
|
.INDENT 0.0
|
14576
14786
|
.INDENT 3.5
|
14577
|
-
|
14578
|
-
See \fB/reference/command/output_format\fP about HEADER.
|
14787
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
14579
14788
|
.UNINDENT
|
14580
14789
|
.UNINDENT
|
14581
14790
|
.sp
|
@@ -14919,6 +15128,7 @@ select table
|
|
14919
15128
|
[query_expansion=null]
|
14920
15129
|
[query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
|
14921
15130
|
[query_expander=null]
|
15131
|
+
[adjuster=null]
|
14922
15132
|
.ft P
|
14923
15133
|
.fi
|
14924
15134
|
.UNINDENT
|
@@ -17327,6 +17537,236 @@ TODO: write in English and add example.
|
|
17327
17537
|
検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。
|
17328
17538
|
.UNINDENT
|
17329
17539
|
.UNINDENT
|
17540
|
+
.SS Score related parameters
|
17541
|
+
.sp
|
17542
|
+
There is a score related parameter, \fBadjuster\fP\&.
|
17543
|
+
.SS \fBadjuster\fP
|
17544
|
+
.sp
|
17545
|
+
It specifies one or more score adjust expressions. You need to use
|
17546
|
+
\fBadjuster\fP with \fBquery\fP or \fBfilter\fP\&. \fBadjuster\fP doesn\(aqt work
|
17547
|
+
with not searched request.
|
17548
|
+
.sp
|
17549
|
+
You can increase score of specific records by \fBadjuster\fP\&. You can
|
17550
|
+
use \fBadjuster\fP to set high score for important records.
|
17551
|
+
.sp
|
17552
|
+
For example, you can use \fBadjuster\fP to increase score of records
|
17553
|
+
that have \fBgroonga\fP tag.
|
17554
|
+
.sp
|
17555
|
+
Here is the syntax:
|
17556
|
+
.INDENT 0.0
|
17557
|
+
.INDENT 3.5
|
17558
|
+
.sp
|
17559
|
+
.nf
|
17560
|
+
.ft C
|
17561
|
+
\-\-adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
17562
|
+
.ft P
|
17563
|
+
.fi
|
17564
|
+
.UNINDENT
|
17565
|
+
.UNINDENT
|
17566
|
+
.sp
|
17567
|
+
Here is the \fBSCORE_ADJUST_EXPRESSION\fP syntax:
|
17568
|
+
.INDENT 0.0
|
17569
|
+
.INDENT 3.5
|
17570
|
+
.sp
|
17571
|
+
.nf
|
17572
|
+
.ft C
|
17573
|
+
COLUMN @ "KEYWORD" * FACTOR
|
17574
|
+
.ft P
|
17575
|
+
.fi
|
17576
|
+
.UNINDENT
|
17577
|
+
.UNINDENT
|
17578
|
+
.sp
|
17579
|
+
Note the following:
|
17580
|
+
.INDENT 0.0
|
17581
|
+
.INDENT 3.5
|
17582
|
+
.INDENT 0.0
|
17583
|
+
.IP \(bu 2
|
17584
|
+
\fBCOLUMN\fP must be indexed.
|
17585
|
+
.IP \(bu 2
|
17586
|
+
\fB"KEYWORD"\fP must be a string.
|
17587
|
+
.IP \(bu 2
|
17588
|
+
\fBFACTOR\fP must be a positive integer.
|
17589
|
+
.UNINDENT
|
17590
|
+
.UNINDENT
|
17591
|
+
.UNINDENT
|
17592
|
+
.sp
|
17593
|
+
Here is a sample \fBadjuster\fP usage example that uses just one
|
17594
|
+
\fBSCORE_ADJUST_EXPRESSION\fP:
|
17595
|
+
.sp
|
17596
|
+
Execution example:
|
17597
|
+
.INDENT 0.0
|
17598
|
+
.INDENT 3.5
|
17599
|
+
.sp
|
17600
|
+
.nf
|
17601
|
+
.ft C
|
17602
|
+
select Entries \e
|
17603
|
+
\-\-filter true \e
|
17604
|
+
\-\-adjuster \(aqcontent @ "groonga" * 5\(aq \e
|
17605
|
+
\-\-output_columns _key,content,_score
|
17606
|
+
# [
|
17607
|
+
# [
|
17608
|
+
# 0,
|
17609
|
+
# 1337566253.89858,
|
17610
|
+
# 0.000355720520019531
|
17611
|
+
# ],
|
17612
|
+
# [
|
17613
|
+
# [
|
17614
|
+
# [
|
17615
|
+
# 5
|
17616
|
+
# ],
|
17617
|
+
# [
|
17618
|
+
# [
|
17619
|
+
# "_key",
|
17620
|
+
# "ShortText"
|
17621
|
+
# ],
|
17622
|
+
# [
|
17623
|
+
# "content",
|
17624
|
+
# "Text"
|
17625
|
+
# ],
|
17626
|
+
# [
|
17627
|
+
# "_score",
|
17628
|
+
# "Int32"
|
17629
|
+
# ]
|
17630
|
+
# ],
|
17631
|
+
# [
|
17632
|
+
# "The first post!",
|
17633
|
+
# "Welcome! This is my first post!",
|
17634
|
+
# 1
|
17635
|
+
# ],
|
17636
|
+
# [
|
17637
|
+
# "Groonga",
|
17638
|
+
# "I started to use groonga. It\(aqs very fast!",
|
17639
|
+
# 6
|
17640
|
+
# ],
|
17641
|
+
# [
|
17642
|
+
# "Mroonga",
|
17643
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
17644
|
+
# 1
|
17645
|
+
# ],
|
17646
|
+
# [
|
17647
|
+
# "Good\-bye Senna",
|
17648
|
+
# "I migrated all Senna system!",
|
17649
|
+
# 1
|
17650
|
+
# ],
|
17651
|
+
# [
|
17652
|
+
# "Good\-bye Tritonn",
|
17653
|
+
# "I also migrated all Tritonn system!",
|
17654
|
+
# 1
|
17655
|
+
# ]
|
17656
|
+
# ]
|
17657
|
+
# ]
|
17658
|
+
# ]
|
17659
|
+
.ft P
|
17660
|
+
.fi
|
17661
|
+
.UNINDENT
|
17662
|
+
.UNINDENT
|
17663
|
+
.sp
|
17664
|
+
The \fBselect\fP command matches all records. Then it applies
|
17665
|
+
\fBadjuster\fP\&. The adjuster increases score of records that have
|
17666
|
+
\fB"groonga"\fP in \fBEntries.content\fP column by 5. There is only one
|
17667
|
+
record that has \fB"groonga"\fP in \fBEntries.content\fP column. So the
|
17668
|
+
record that its key is \fB"Groonga"\fP has score 6 (\fB= 1 + 5\fP).
|
17669
|
+
.sp
|
17670
|
+
You can omit \fBFACTOR\fP\&. If you omit \fBFACTOR\fP, it is treated as 1.
|
17671
|
+
.sp
|
17672
|
+
Here is a sample \fBadjuster\fP usage example that omits \fBFACTOR\fP:
|
17673
|
+
.sp
|
17674
|
+
The \fBadjuster\fP in the \fBselect\fP command doesn\(aqt have \fBFACTOR\fP\&. So
|
17675
|
+
the factor is treated as 1. There is only one record that has
|
17676
|
+
\fB"groonga"\fP in \fBEntries.content\fP column. So the record that its
|
17677
|
+
key is \fB"Groonga"\fP has score 2 (\fB= 1 + 1\fP).
|
17678
|
+
.sp
|
17679
|
+
Here is a sample \fBadjuster\fP usage example that uses multiple
|
17680
|
+
\fBSCORE_ADJUST_EXPRESSION\fP:
|
17681
|
+
.sp
|
17682
|
+
Execution example:
|
17683
|
+
.INDENT 0.0
|
17684
|
+
.INDENT 3.5
|
17685
|
+
.sp
|
17686
|
+
.nf
|
17687
|
+
.ft C
|
17688
|
+
select Entries \e
|
17689
|
+
\-\-filter true \e
|
17690
|
+
\-\-adjuster \(aqcontent @ "groonga" * 5 + content @ "started" * 3\(aq \e
|
17691
|
+
\-\-output_columns _key,content,_score
|
17692
|
+
# [
|
17693
|
+
# [
|
17694
|
+
# 0,
|
17695
|
+
# 1337566253.89858,
|
17696
|
+
# 0.000355720520019531
|
17697
|
+
# ],
|
17698
|
+
# [
|
17699
|
+
# [
|
17700
|
+
# [
|
17701
|
+
# 5
|
17702
|
+
# ],
|
17703
|
+
# [
|
17704
|
+
# [
|
17705
|
+
# "_key",
|
17706
|
+
# "ShortText"
|
17707
|
+
# ],
|
17708
|
+
# [
|
17709
|
+
# "content",
|
17710
|
+
# "Text"
|
17711
|
+
# ],
|
17712
|
+
# [
|
17713
|
+
# "_score",
|
17714
|
+
# "Int32"
|
17715
|
+
# ]
|
17716
|
+
# ],
|
17717
|
+
# [
|
17718
|
+
# "The first post!",
|
17719
|
+
# "Welcome! This is my first post!",
|
17720
|
+
# 1
|
17721
|
+
# ],
|
17722
|
+
# [
|
17723
|
+
# "Groonga",
|
17724
|
+
# "I started to use groonga. It\(aqs very fast!",
|
17725
|
+
# 9
|
17726
|
+
# ],
|
17727
|
+
# [
|
17728
|
+
# "Mroonga",
|
17729
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
17730
|
+
# 4
|
17731
|
+
# ],
|
17732
|
+
# [
|
17733
|
+
# "Good\-bye Senna",
|
17734
|
+
# "I migrated all Senna system!",
|
17735
|
+
# 1
|
17736
|
+
# ],
|
17737
|
+
# [
|
17738
|
+
# "Good\-bye Tritonn",
|
17739
|
+
# "I also migrated all Tritonn system!",
|
17740
|
+
# 1
|
17741
|
+
# ]
|
17742
|
+
# ]
|
17743
|
+
# ]
|
17744
|
+
# ]
|
17745
|
+
.ft P
|
17746
|
+
.fi
|
17747
|
+
.UNINDENT
|
17748
|
+
.UNINDENT
|
17749
|
+
.sp
|
17750
|
+
The \fBadjuster\fP in the \fBselect\fP command has two
|
17751
|
+
\fBSCORE_ADJUST_EXPRESSION\fP s. The final increased score is sum of
|
17752
|
+
scores of these \fBSCORE_ADJUST_EXPRESSION\fP s. All
|
17753
|
+
\fBSCORE_ADJUST_EXPRESSION\fP s in the \fBselect\fP command are applied to
|
17754
|
+
a record that its key is \fB"Groonga"\fP\&. So the final increased score
|
17755
|
+
of the record is sum of scores of all \fBSCORE_ADJUST_EXPRESSION\fP s.
|
17756
|
+
.sp
|
17757
|
+
The first \fBSCORE_ADJUST_EXPRESSION\fP is \fBcontent @ "groonga" * 5\fP\&.
|
17758
|
+
It increases score by 5.
|
17759
|
+
.sp
|
17760
|
+
The second \fBSCORE_ADJUST_EXPRESSION\fP is \fBcontent @ "started" * 3\fP\&.
|
17761
|
+
It increases score by 3.
|
17762
|
+
.sp
|
17763
|
+
The final increased score is 9 (\fB= 1 + 5 + 3\fP).
|
17764
|
+
.sp
|
17765
|
+
A \fBSCORE_ADJUST_EXPRESSION\fP has a factor for \fB"KEYWORD"\fP\&. This
|
17766
|
+
means that increased scores of all records that has \fB"KEYWORD"\fP are
|
17767
|
+
the same value. You can change increase score for each record that has
|
17768
|
+
the same \fB"KEYWORD"\fP\&. It is useful to tune search score. See
|
17769
|
+
\fIweight\-vector\-column\fP for details.
|
17330
17770
|
.SS 返値
|
17331
17771
|
.sp
|
17332
17772
|
TODO: write in English and add example.
|
@@ -17574,14 +18014,14 @@ status
|
|
17574
18014
|
# 0.000355720520019531
|
17575
18015
|
# ],
|
17576
18016
|
# {
|
17577
|
-
# "uptime":
|
18017
|
+
# "uptime": 7,
|
17578
18018
|
# "max_command_version": 2,
|
17579
|
-
# "n_queries":
|
18019
|
+
# "n_queries": 39,
|
17580
18020
|
# "cache_hit_rate": 0.0,
|
17581
|
-
# "version": "
|
17582
|
-
# "alloc_count":
|
18021
|
+
# "version": "4.0.1",
|
18022
|
+
# "alloc_count": 309,
|
17583
18023
|
# "command_version": 1,
|
17584
|
-
# "starttime":
|
18024
|
+
# "starttime": 1395806014,
|
17585
18025
|
# "default_command_version": 1
|
17586
18026
|
# }
|
17587
18027
|
# ]
|
@@ -18390,7 +18830,7 @@ Array table.
|
|
18390
18830
|
T}
|
18391
18831
|
_
|
18392
18832
|
T{
|
18393
|
-
\
|
18833
|
+
\fBTABLE_HASH_KEY\fP
|
18394
18834
|
T} T{
|
18395
18835
|
Hash table.
|
18396
18836
|
T}
|
@@ -19644,8 +20084,7 @@ It specifies the name of table.
|
|
19644
20084
|
\fBHEADER\fP
|
19645
20085
|
.INDENT 0.0
|
19646
20086
|
.INDENT 3.5
|
19647
|
-
|
19648
|
-
See \fB/reference/command/output_format\fP about HEADER.
|
20087
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
19649
20088
|
.UNINDENT
|
19650
20089
|
.UNINDENT
|
19651
20090
|
.sp
|
@@ -20088,6 +20527,39 @@ more larger total key size.
|
|
20088
20527
|
.IP \(bu 2
|
20089
20528
|
\fB/reference/commands/table_create\fP
|
20090
20529
|
.UNINDENT
|
20530
|
+
.SS Column
|
20531
|
+
.sp
|
20532
|
+
Column is a data store object or an index object for fast search.
|
20533
|
+
.sp
|
20534
|
+
A column belongs to a table. Table has zero or more columns.
|
20535
|
+
.sp
|
20536
|
+
Both data store column and index column have type. Type of data store
|
20537
|
+
column specifies data range. In other words, it is "value type". Type
|
20538
|
+
of index column specifies set of documents to be indexed. A set of
|
20539
|
+
documents is a table in Groonga. In other words, type of index column
|
20540
|
+
must be a table.
|
20541
|
+
.sp
|
20542
|
+
Here are data store columns:
|
20543
|
+
.INDENT 0.0
|
20544
|
+
.INDENT 3.5
|
20545
|
+
.INDENT 0.0
|
20546
|
+
.IP \(bu 2
|
20547
|
+
\fBcolumns/scalar\fP
|
20548
|
+
.IP \(bu 2
|
20549
|
+
\fBcolumns/vector\fP
|
20550
|
+
.UNINDENT
|
20551
|
+
.UNINDENT
|
20552
|
+
.UNINDENT
|
20553
|
+
.sp
|
20554
|
+
Here is an index column:
|
20555
|
+
.INDENT 0.0
|
20556
|
+
.INDENT 3.5
|
20557
|
+
.INDENT 0.0
|
20558
|
+
.IP \(bu 2
|
20559
|
+
\fBcolumns/index\fP
|
20560
|
+
.UNINDENT
|
20561
|
+
.UNINDENT
|
20562
|
+
.UNINDENT
|
20091
20563
|
.SS Normalizers
|
20092
20564
|
.SS Summary
|
20093
20565
|
.sp
|