rroonga 4.0.0-x86-mingw32 → 4.0.1-x86-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/column.txt +25 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +333 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +68 -67
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +153 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +857 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +193 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +165 -13
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +25 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +333 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +37 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +99 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +67 -66
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +150 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +824 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +45 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +174 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +167 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +526 -73
- data/vendor/local/share/man/man1/groonga.1 +552 -80
- metadata +148 -139
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "2014 年
|
3
|
+
.TH "GROONGA" "1" "2014 年 03 月 28 日" "4.0.1" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
97
97
|
.INDENT 3.5
|
98
98
|
.INDENT 0.0
|
99
99
|
.IP \(bu 2
|
100
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
100
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x86.exe\fP
|
101
101
|
.UNINDENT
|
102
102
|
.UNINDENT
|
103
103
|
.UNINDENT
|
@@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
109
109
|
.INDENT 3.5
|
110
110
|
.INDENT 0.0
|
111
111
|
.IP \(bu 2
|
112
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
112
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x64.exe\fP
|
113
113
|
.UNINDENT
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
@@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
124
124
|
.INDENT 3.5
|
125
125
|
.INDENT 0.0
|
126
126
|
.IP \(bu 2
|
127
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
127
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x86.zip\fP
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
130
130
|
.UNINDENT
|
@@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
136
136
|
.INDENT 3.5
|
137
137
|
.INDENT 0.0
|
138
138
|
.IP \(bu 2
|
139
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
139
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.1\-x64.zip\fP
|
140
140
|
.UNINDENT
|
141
141
|
.UNINDENT
|
142
142
|
.UNINDENT
|
@@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ
|
|
163
163
|
.INDENT 3.5
|
164
164
|
.INDENT 0.0
|
165
165
|
.IP \(bu 2
|
166
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
166
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.1.zip\fP
|
167
167
|
.UNINDENT
|
168
168
|
.UNINDENT
|
169
169
|
.UNINDENT
|
@@ -176,7 +176,7 @@ Groongaのソースフォルダへと移動します:
|
|
176
176
|
.sp
|
177
177
|
.nf
|
178
178
|
.ft C
|
179
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
179
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.1
|
180
180
|
.ft P
|
181
181
|
.fi
|
182
182
|
.UNINDENT
|
@@ -188,7 +188,7 @@ Groongaのソースフォルダへと移動します:
|
|
188
188
|
.sp
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
|
-
groonga\-4.0.
|
191
|
+
groonga\-4.0.1> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
192
192
|
.ft P
|
193
193
|
.fi
|
194
194
|
.UNINDENT
|
@@ -200,7 +200,7 @@ groonga\-4.0.0> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\
|
|
200
200
|
.sp
|
201
201
|
.nf
|
202
202
|
.ft C
|
203
|
-
groonga\-4.0.
|
203
|
+
groonga\-4.0.1> cmake \-\-build . \-\-config Release
|
204
204
|
.ft P
|
205
205
|
.fi
|
206
206
|
.UNINDENT
|
@@ -212,7 +212,7 @@ groonga\-4.0.0> cmake \-\-build . \-\-config Release
|
|
212
212
|
.sp
|
213
213
|
.nf
|
214
214
|
.ft C
|
215
|
-
groonga\-4.0.
|
215
|
+
groonga\-4.0.1> cmake \-\-build . \-\-config Release \-\-target Install
|
216
216
|
.ft P
|
217
217
|
.fi
|
218
218
|
.UNINDENT
|
@@ -260,9 +260,9 @@ groonga\-4.0.0> cmake \-\-build . \-\-config Release \-\-target Install
|
|
260
260
|
.sp
|
261
261
|
.nf
|
262
262
|
.ft C
|
263
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
264
|
-
% tar xvzf groonga\-4.0.
|
265
|
-
% cd groonga\-4.0.
|
263
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
264
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
265
|
+
% cd groonga\-4.0.1
|
266
266
|
.ft P
|
267
267
|
.fi
|
268
268
|
.UNINDENT
|
@@ -566,9 +566,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
566
566
|
.sp
|
567
567
|
.nf
|
568
568
|
.ft C
|
569
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
570
|
-
% tar xvzf groonga\-4.0.
|
571
|
-
% cd groonga\-4.0.
|
569
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
570
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
571
|
+
% cd groonga\-4.0.1
|
572
572
|
.ft P
|
573
573
|
.fi
|
574
574
|
.UNINDENT
|
@@ -999,9 +999,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
999
999
|
.sp
|
1000
1000
|
.nf
|
1001
1001
|
.ft C
|
1002
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1003
|
-
% tar xvzf groonga\-4.0.
|
1004
|
-
% cd groonga\-4.0.
|
1002
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1003
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1004
|
+
% cd groonga\-4.0.1
|
1005
1005
|
.ft P
|
1006
1006
|
.fi
|
1007
1007
|
.UNINDENT
|
@@ -1317,9 +1317,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1317
1317
|
.sp
|
1318
1318
|
.nf
|
1319
1319
|
.ft C
|
1320
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1321
|
-
% tar xvzf groonga\-4.0.
|
1322
|
-
% cd groonga\-4.0.
|
1320
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1321
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1322
|
+
% cd groonga\-4.0.1
|
1323
1323
|
.ft P
|
1324
1324
|
.fi
|
1325
1325
|
.UNINDENT
|
@@ -1505,9 +1505,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1505
1505
|
.sp
|
1506
1506
|
.nf
|
1507
1507
|
.ft C
|
1508
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1509
|
-
% tar xvzf groonga\-4.0.
|
1510
|
-
% cd groonga\-4.0.
|
1508
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1509
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1510
|
+
% cd groonga\-4.0.1
|
1511
1511
|
.ft P
|
1512
1512
|
.fi
|
1513
1513
|
.UNINDENT
|
@@ -1571,9 +1571,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1571
1571
|
.sp
|
1572
1572
|
.nf
|
1573
1573
|
.ft C
|
1574
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1575
|
-
% gtar xvzf groonga\-4.0.
|
1576
|
-
% cd groonga\-4.0.
|
1574
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1575
|
+
% gtar xvzf groonga\-4.0.1.tar.gz
|
1576
|
+
% cd groonga\-4.0.1
|
1577
1577
|
.ft P
|
1578
1578
|
.fi
|
1579
1579
|
.UNINDENT
|
@@ -1694,9 +1694,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1694
1694
|
.sp
|
1695
1695
|
.nf
|
1696
1696
|
.ft C
|
1697
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1698
|
-
% tar xvzf groonga\-4.0.
|
1699
|
-
% cd groonga\-4.0.
|
1697
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.1.tar.gz
|
1698
|
+
% tar xvzf groonga\-4.0.1.tar.gz
|
1699
|
+
% cd groonga\-4.0.1
|
1700
1700
|
% ./configure
|
1701
1701
|
% make
|
1702
1702
|
% sudo make install
|
@@ -2056,10 +2056,10 @@ status
|
|
2056
2056
|
# "max_command_version": 2,
|
2057
2057
|
# "n_queries": 0,
|
2058
2058
|
# "cache_hit_rate": 0.0,
|
2059
|
-
# "version": "
|
2060
|
-
# "alloc_count":
|
2059
|
+
# "version": "4.0.1",
|
2060
|
+
# "alloc_count": 161,
|
2061
2061
|
# "command_version": 1,
|
2062
|
-
# "starttime":
|
2062
|
+
# "starttime": 1395806057,
|
2063
2063
|
# "default_command_version": 1
|
2064
2064
|
# }
|
2065
2065
|
# ]
|
@@ -3210,10 +3210,10 @@ status
|
|
3210
3210
|
# "max_command_version": 2,
|
3211
3211
|
# "n_queries": 0,
|
3212
3212
|
# "cache_hit_rate": 0.0,
|
3213
|
-
# "version": "
|
3214
|
-
# "alloc_count":
|
3213
|
+
# "version": "4.0.1",
|
3214
|
+
# "alloc_count": 140,
|
3215
3215
|
# "command_version": 1,
|
3216
|
-
# "starttime":
|
3216
|
+
# "starttime": 1395806078,
|
3217
3217
|
# "default_command_version": 1
|
3218
3218
|
# }
|
3219
3219
|
# ]
|
@@ -3321,14 +3321,14 @@ status
|
|
3321
3321
|
# 0.000355720520019531
|
3322
3322
|
# ],
|
3323
3323
|
# {
|
3324
|
-
# "uptime":
|
3324
|
+
# "uptime": 1,
|
3325
3325
|
# "max_command_version": 2,
|
3326
3326
|
# "n_queries": 0,
|
3327
3327
|
# "cache_hit_rate": 0.0,
|
3328
|
-
# "version": "
|
3329
|
-
# "alloc_count":
|
3328
|
+
# "version": "4.0.1",
|
3329
|
+
# "alloc_count": 141,
|
3330
3330
|
# "command_version": 1,
|
3331
|
-
# "starttime":
|
3331
|
+
# "starttime": 1395806078,
|
3332
3332
|
# "default_command_version": 1
|
3333
3333
|
# }
|
3334
3334
|
# ]
|
@@ -10501,10 +10501,10 @@ http {
|
|
10501
10501
|
"max_command_version": 2,
|
10502
10502
|
"n_queries": 0,
|
10503
10503
|
"cache_hit_rate": 0.0,
|
10504
|
-
"version": "
|
10505
|
-
"alloc_count":
|
10504
|
+
"version": "4.0.1",
|
10505
|
+
"alloc_count": 161,
|
10506
10506
|
"command_version": 1,
|
10507
|
-
"starttime":
|
10507
|
+
"starttime": 1395806036,
|
10508
10508
|
"default_command_version": 1
|
10509
10509
|
}
|
10510
10510
|
]
|
@@ -11182,7 +11182,8 @@ TODO
|
|
11182
11182
|
.SS groonga\-suggest\-httpd
|
11183
11183
|
.SS 概要
|
11184
11184
|
.sp
|
11185
|
-
|
11185
|
+
groonga\-suggest\-httpd is a program to provide interface which accepts HTTP request and returns suggestion dataset, then saves logs for learning.
|
11186
|
+
groonga\-suggest\-httpd behaves similar in point of view of suggestion functionality, but the name of parameter is different.
|
11186
11187
|
.SS 書式
|
11187
11188
|
.INDENT 0.0
|
11188
11189
|
.INDENT 3.5
|
@@ -11195,6 +11196,15 @@ groonga\-suggest\-httpd [options] database_path
|
|
11195
11196
|
.UNINDENT
|
11196
11197
|
.UNINDENT
|
11197
11198
|
.SS 使い方
|
11199
|
+
.SS 設定をする
|
11200
|
+
.sp
|
11201
|
+
First you need to set up database for suggestion.
|
11202
|
+
.SS Launch groonga\-suggest\-httpd
|
11203
|
+
.sp
|
11204
|
+
Execute groonga\-suggest\-httpd command:
|
11205
|
+
.sp
|
11206
|
+
After executing above command, groonga\-suggest\-httpd accepts HTTP request on 8080 port.
|
11207
|
+
.SS Request to groonga\-suggest\-httpd
|
11198
11208
|
.sp
|
11199
11209
|
TODO
|
11200
11210
|
.SS Options
|
@@ -11238,12 +11248,175 @@ Specify this option to daemonize.
|
|
11238
11248
|
.B \-\-disable\-max\-fd\-check
|
11239
11249
|
Specify this option to disable checking max fd on start.
|
11240
11250
|
.UNINDENT
|
11241
|
-
.SS
|
11251
|
+
.SS Command line Parameters
|
11242
11252
|
.sp
|
11243
11253
|
\fBdatabase_path\fP だけが必須の引数です。
|
11244
11254
|
.SS \fBdatabase_path\fP
|
11245
11255
|
.sp
|
11246
|
-
|
11256
|
+
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.
|
11257
|
+
.SS GET Parameters
|
11258
|
+
.sp
|
11259
|
+
groonga\-suggest\-httpd accepts following GET parameters.
|
11260
|
+
.sp
|
11261
|
+
There are required parameters which depends on type of query.
|
11262
|
+
.SS 必須引数
|
11263
|
+
.TS
|
11264
|
+
center;
|
11265
|
+
|l|l|l|.
|
11266
|
+
_
|
11267
|
+
T{
|
11268
|
+
Key
|
11269
|
+
T} T{
|
11270
|
+
説明
|
11271
|
+
T} T{
|
11272
|
+
Note
|
11273
|
+
T}
|
11274
|
+
_
|
11275
|
+
T{
|
11276
|
+
q
|
11277
|
+
T} T{
|
11278
|
+
UTF\-8 encoded string which user fills in form
|
11279
|
+
T} T{
|
11280
|
+
T}
|
11281
|
+
_
|
11282
|
+
T{
|
11283
|
+
t
|
11284
|
+
T} T{
|
11285
|
+
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.
|
11286
|
+
T} T{
|
11287
|
+
T}
|
11288
|
+
_
|
11289
|
+
.TE
|
11290
|
+
.SS Required parameters for learning
|
11291
|
+
.TS
|
11292
|
+
center;
|
11293
|
+
|l|l|l|.
|
11294
|
+
_
|
11295
|
+
T{
|
11296
|
+
Key
|
11297
|
+
T} T{
|
11298
|
+
説明
|
11299
|
+
T} T{
|
11300
|
+
Note
|
11301
|
+
T}
|
11302
|
+
_
|
11303
|
+
T{
|
11304
|
+
s
|
11305
|
+
T} T{
|
11306
|
+
Elapsed time from 0:00 January 1, 1970
|
11307
|
+
T} T{
|
11308
|
+
Note that you need specify the value of \(aqs\(aq in milliseconds
|
11309
|
+
T}
|
11310
|
+
_
|
11311
|
+
T{
|
11312
|
+
i
|
11313
|
+
T} T{
|
11314
|
+
Unique ID to distinct user
|
11315
|
+
T} T{
|
11316
|
+
Use session ID or IP address for example
|
11317
|
+
T}
|
11318
|
+
_
|
11319
|
+
T{
|
11320
|
+
l
|
11321
|
+
T} T{
|
11322
|
+
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \(aq|\(aq
|
11323
|
+
T} T{
|
11324
|
+
Note that dataset name must be matched to following regular expression \(aq[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\(aq
|
11325
|
+
T}
|
11326
|
+
_
|
11327
|
+
.TE
|
11328
|
+
.SS Required parameters for suggestion
|
11329
|
+
.TS
|
11330
|
+
center;
|
11331
|
+
|l|l|l|.
|
11332
|
+
_
|
11333
|
+
T{
|
11334
|
+
Key
|
11335
|
+
T} T{
|
11336
|
+
説明
|
11337
|
+
T} T{
|
11338
|
+
Note
|
11339
|
+
T}
|
11340
|
+
_
|
11341
|
+
T{
|
11342
|
+
n
|
11343
|
+
T} T{
|
11344
|
+
Specify the name of dataset for suggestion
|
11345
|
+
T} T{
|
11346
|
+
This dataset name is used to calculate suggestion results
|
11347
|
+
T}
|
11348
|
+
_
|
11349
|
+
.TE
|
11350
|
+
.SS 省略可能引数
|
11351
|
+
.TS
|
11352
|
+
center;
|
11353
|
+
|l|l|l|.
|
11354
|
+
_
|
11355
|
+
T{
|
11356
|
+
Key
|
11357
|
+
T} T{
|
11358
|
+
説明
|
11359
|
+
T} T{
|
11360
|
+
Note
|
11361
|
+
T}
|
11362
|
+
_
|
11363
|
+
T{
|
11364
|
+
callback
|
11365
|
+
T} T{
|
11366
|
+
Specify the name of function if you prefer JSONP as response format
|
11367
|
+
T} T{
|
11368
|
+
The name of function must be matched to reqular expression \(aq[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\(aq
|
11369
|
+
T}
|
11370
|
+
_
|
11371
|
+
.TE
|
11372
|
+
.SS 戻り値
|
11373
|
+
.sp
|
11374
|
+
\fBgroonga\-suggest\-httpd\fP command returns following response in JSON or JSONP format.
|
11375
|
+
.sp
|
11376
|
+
In JSON format:
|
11377
|
+
.INDENT 0.0
|
11378
|
+
.INDENT 3.5
|
11379
|
+
.sp
|
11380
|
+
.nf
|
11381
|
+
.ft C
|
11382
|
+
{TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]}
|
11383
|
+
.ft P
|
11384
|
+
.fi
|
11385
|
+
.UNINDENT
|
11386
|
+
.UNINDENT
|
11387
|
+
.sp
|
11388
|
+
In JSONP format:
|
11389
|
+
.INDENT 0.0
|
11390
|
+
.INDENT 3.5
|
11391
|
+
.sp
|
11392
|
+
.nf
|
11393
|
+
.ft C
|
11394
|
+
FUNCTION({TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_N, SCORE_N]]})
|
11395
|
+
.ft P
|
11396
|
+
.fi
|
11397
|
+
.UNINDENT
|
11398
|
+
.UNINDENT
|
11399
|
+
.sp
|
11400
|
+
\fBTYPE\fP
|
11401
|
+
.INDENT 0.0
|
11402
|
+
.INDENT 3.5
|
11403
|
+
\(aqcomplete\(aq, \(aqcorrect\(aq or \(aqsuggest\(aq.
|
11404
|
+
.UNINDENT
|
11405
|
+
.UNINDENT
|
11406
|
+
.sp
|
11407
|
+
\fBCANDIDATE_N\fP
|
11408
|
+
.INDENT 0.0
|
11409
|
+
.INDENT 3.5
|
11410
|
+
The string of candidate (UTF\-8).
|
11411
|
+
.UNINDENT
|
11412
|
+
.UNINDENT
|
11413
|
+
.sp
|
11414
|
+
\fBSCORE_N\fP
|
11415
|
+
.INDENT 0.0
|
11416
|
+
.INDENT 3.5
|
11417
|
+
The number of score.
|
11418
|
+
.UNINDENT
|
11419
|
+
.UNINDENT
|
11247
11420
|
.SS groonga\-suggest\-learner
|
11248
11421
|
.SS 概要
|
11249
11422
|
.sp
|
@@ -11263,8 +11436,21 @@ groonga\-suggest\-learner [options] database_path
|
|
11263
11436
|
.sp
|
11264
11437
|
TODO
|
11265
11438
|
.SS Options
|
11266
|
-
.
|
11267
|
-
|
11439
|
+
.INDENT 0.0
|
11440
|
+
.TP
|
11441
|
+
.B \-r, \-\-receive\-endpoint
|
11442
|
+
Specify endpoint for receiver.
|
11443
|
+
.UNINDENT
|
11444
|
+
.INDENT 0.0
|
11445
|
+
.TP
|
11446
|
+
.B \-s, \-\-send\-endpoint
|
11447
|
+
Specify endpoint for sender.
|
11448
|
+
.UNINDENT
|
11449
|
+
.INDENT 0.0
|
11450
|
+
.TP
|
11451
|
+
.B \-d, \-\-daemon
|
11452
|
+
Specify this option to daemonize.
|
11453
|
+
.UNINDENT
|
11268
11454
|
.SS 引数
|
11269
11455
|
.sp
|
11270
11456
|
\fBdatabase_path\fP だけが必須の引数です。
|
@@ -12082,7 +12268,7 @@ cache_limit
|
|
12082
12268
|
.sp
|
12083
12269
|
.nf
|
12084
12270
|
.ft C
|
12085
|
-
[
|
12271
|
+
[HEADER, N_ENTRIES]
|
12086
12272
|
.ft P
|
12087
12273
|
.fi
|
12088
12274
|
.UNINDENT
|
@@ -12556,7 +12742,7 @@ column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body
|
|
12556
12742
|
\fBHEADER\fP
|
12557
12743
|
.INDENT 0.0
|
12558
12744
|
.INDENT 3.5
|
12559
|
-
|
12745
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
12560
12746
|
.UNINDENT
|
12561
12747
|
.UNINDENT
|
12562
12748
|
.sp
|
@@ -12783,18 +12969,41 @@ column_remove Entry body
|
|
12783
12969
|
.SS \fBcolumn_rename\fP
|
12784
12970
|
.SS 概要
|
12785
12971
|
.sp
|
12786
|
-
\fBcolumn_rename\fP
|
12787
|
-
.
|
12972
|
+
\fBcolumn_rename\fP コマンドはカラム名を変更します。
|
12973
|
+
.sp
|
12974
|
+
It is a light operation. It just changes a relationship between name
|
12975
|
+
and the column object. It doesn\(aqt copy column values.
|
12788
12976
|
.sp
|
12789
|
-
|
12977
|
+
It is a dangerous operation. You must stop all operations including
|
12978
|
+
read operations while you run \fBcolumn_rename\fP\&. If the following case
|
12979
|
+
is occurred, Groonga process may be crashed:
|
12980
|
+
.INDENT 0.0
|
12981
|
+
.INDENT 3.5
|
12982
|
+
.INDENT 0.0
|
12983
|
+
.IP \(bu 2
|
12984
|
+
Starts an operation (like \fBselect\fP) that accesses the column to
|
12985
|
+
be renamed by the current column name. The current column name is
|
12986
|
+
called as \fBthe old column name\fP in the below because the column
|
12987
|
+
name is renamed.
|
12988
|
+
.IP \(bu 2
|
12989
|
+
Runs \fBcolumn_rename\fP\&. The \fBselect\fP is still running.
|
12990
|
+
.IP \(bu 2
|
12991
|
+
The \fBselect\fP accesses the column to be renamed by the old column
|
12992
|
+
name. But the \fBselect\fP can\(aqt find the column by the old name
|
12993
|
+
because the column has been renamed to the new column name. It may
|
12994
|
+
crash the Groonga process.
|
12995
|
+
.UNINDENT
|
12996
|
+
.UNINDENT
|
12997
|
+
.UNINDENT
|
12998
|
+
.SS 構文
|
12790
12999
|
.sp
|
12791
|
-
\
|
13000
|
+
\fBcolumn_rename\fP コマンドは引数を3つとります。すべて必須です:
|
12792
13001
|
.INDENT 0.0
|
12793
13002
|
.INDENT 3.5
|
12794
13003
|
.sp
|
12795
13004
|
.nf
|
12796
13005
|
.ft C
|
12797
|
-
column_rename table
|
13006
|
+
column_rename table name new_name
|
12798
13007
|
.ft P
|
12799
13008
|
.fi
|
12800
13009
|
.UNINDENT
|
@@ -12939,13 +13148,16 @@ select Users
|
|
12939
13148
|
このセクションでは \fBcolumn_rename\fP の引数について説明します。
|
12940
13149
|
.SS 必須引数
|
12941
13150
|
.sp
|
12942
|
-
|
12943
|
-
.SS \
|
13151
|
+
All parameters are required.
|
13152
|
+
.SS \fBtable\fP
|
12944
13153
|
.sp
|
12945
|
-
|
12946
|
-
.SS \
|
13154
|
+
It specifies the name of table that has the column to be renamed.
|
13155
|
+
.SS \fBname\fP
|
13156
|
+
.sp
|
13157
|
+
It specifies the column name to be renamed.
|
13158
|
+
.SS \fBnew_name\fP
|
12947
13159
|
.sp
|
12948
|
-
|
13160
|
+
It specifies the new column name.
|
12949
13161
|
.SS 戻り値
|
12950
13162
|
.INDENT 0.0
|
12951
13163
|
.INDENT 3.5
|
@@ -12961,14 +13173,14 @@ select Users
|
|
12961
13173
|
\fBHEADER\fP
|
12962
13174
|
.INDENT 0.0
|
12963
13175
|
.INDENT 3.5
|
12964
|
-
|
13176
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
12965
13177
|
.UNINDENT
|
12966
13178
|
.UNINDENT
|
12967
13179
|
.sp
|
12968
13180
|
\fBSUCCEEDED_OR_NOT\fP
|
12969
13181
|
.INDENT 0.0
|
12970
13182
|
.INDENT 3.5
|
12971
|
-
|
13183
|
+
It is \fBtrue\fP on success, \fBfalse\fP otherwise.
|
12972
13184
|
.UNINDENT
|
12973
13185
|
.UNINDENT
|
12974
13186
|
.SS define_selector
|
@@ -13452,7 +13664,7 @@ select Users
|
|
13452
13664
|
\fBHEADER\fP
|
13453
13665
|
.INDENT 0.0
|
13454
13666
|
.INDENT 3.5
|
13455
|
-
|
13667
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
13456
13668
|
.UNINDENT
|
13457
13669
|
.UNINDENT
|
13458
13670
|
.sp
|
@@ -13966,7 +14178,8 @@ normalize NormalizerAuto "aBcDe 123"
|
|
13966
14178
|
# ],
|
13967
14179
|
# {
|
13968
14180
|
# "normalized": "abcde 123",
|
13969
|
-
# "types": []
|
14181
|
+
# "types": [],
|
14182
|
+
# "checks": []
|
13970
14183
|
# }
|
13971
14184
|
# ]
|
13972
14185
|
.ft P
|
@@ -14075,7 +14288,7 @@ TODO
|
|
14075
14288
|
\fBHEADER\fP
|
14076
14289
|
.INDENT 0.0
|
14077
14290
|
.INDENT 3.5
|
14078
|
-
|
14291
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
14079
14292
|
.UNINDENT
|
14080
14293
|
.UNINDENT
|
14081
14294
|
.sp
|
@@ -14403,6 +14616,7 @@ select table
|
|
14403
14616
|
[query_expansion=null]
|
14404
14617
|
[query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
|
14405
14618
|
[query_expander=null]
|
14619
|
+
[adjuster=null]
|
14406
14620
|
.ft P
|
14407
14621
|
.fi
|
14408
14622
|
.UNINDENT
|
@@ -16607,6 +16821,216 @@ TODO: write in English and add example.
|
|
16607
16821
|
検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。
|
16608
16822
|
.UNINDENT
|
16609
16823
|
.UNINDENT
|
16824
|
+
.SS スコアー関連の引数
|
16825
|
+
.sp
|
16826
|
+
スコアー関連のパラメーターは \fBadjuster\fP だけです。
|
16827
|
+
.SS \fBadjuster\fP
|
16828
|
+
.sp
|
16829
|
+
1つ以上のスコアー調整式(score adjust expression)を指定します。 \fBadjuster\fP は \fBquery\fP または \fBfilter\fP と一緒に使います。検索しないリクエストでは \fBadjuster\fP は動きません。
|
16830
|
+
.sp
|
16831
|
+
\fBadjuster\fP を使うと特定のレコードのスコアーを増やすことができます。重要なレコードに高いスコアーをつけるために \fBadjuster\fP を使えます。
|
16832
|
+
.sp
|
16833
|
+
例えば、 \fBgroonga\fP タグがついたレコードのスコアーを増やすために \fBadjuster\fP を使えます。
|
16834
|
+
.sp
|
16835
|
+
以下が構文です:
|
16836
|
+
.INDENT 0.0
|
16837
|
+
.INDENT 3.5
|
16838
|
+
.sp
|
16839
|
+
.nf
|
16840
|
+
.ft C
|
16841
|
+
\-\-adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
16842
|
+
.ft P
|
16843
|
+
.fi
|
16844
|
+
.UNINDENT
|
16845
|
+
.UNINDENT
|
16846
|
+
.sp
|
16847
|
+
以下が \fBSCORE_ADJUST_EXPRESSION\fP の構文です:
|
16848
|
+
.INDENT 0.0
|
16849
|
+
.INDENT 3.5
|
16850
|
+
.sp
|
16851
|
+
.nf
|
16852
|
+
.ft C
|
16853
|
+
COLUMN @ "KEYWORD" * FACTOR
|
16854
|
+
.ft P
|
16855
|
+
.fi
|
16856
|
+
.UNINDENT
|
16857
|
+
.UNINDENT
|
16858
|
+
.sp
|
16859
|
+
以下のことに注意してください:
|
16860
|
+
.INDENT 0.0
|
16861
|
+
.INDENT 3.5
|
16862
|
+
.INDENT 0.0
|
16863
|
+
.IP \(bu 2
|
16864
|
+
\fBCOLUMN\fP にはインデックスが張っていないといけません。
|
16865
|
+
.IP \(bu 2
|
16866
|
+
\fB"KEYWORD"\fP は文字列でないといけません。
|
16867
|
+
.IP \(bu 2
|
16868
|
+
\fBFACTOR\fP は正の整数でないといけません。
|
16869
|
+
.UNINDENT
|
16870
|
+
.UNINDENT
|
16871
|
+
.UNINDENT
|
16872
|
+
.sp
|
16873
|
+
以下は1つだけ \fBSCORE_ADJUST_EXPRESSION\fP を使った \fBadjuster\fP の使用例です。
|
16874
|
+
.sp
|
16875
|
+
実行例:
|
16876
|
+
.INDENT 0.0
|
16877
|
+
.INDENT 3.5
|
16878
|
+
.sp
|
16879
|
+
.nf
|
16880
|
+
.ft C
|
16881
|
+
select Entries \e
|
16882
|
+
\-\-filter true \e
|
16883
|
+
\-\-adjuster \(aqcontent @ "groonga" * 5\(aq \e
|
16884
|
+
\-\-output_columns _key,content,_score
|
16885
|
+
# [
|
16886
|
+
# [
|
16887
|
+
# 0,
|
16888
|
+
# 1337566253.89858,
|
16889
|
+
# 0.000355720520019531
|
16890
|
+
# ],
|
16891
|
+
# [
|
16892
|
+
# [
|
16893
|
+
# [
|
16894
|
+
# 5
|
16895
|
+
# ],
|
16896
|
+
# [
|
16897
|
+
# [
|
16898
|
+
# "_key",
|
16899
|
+
# "ShortText"
|
16900
|
+
# ],
|
16901
|
+
# [
|
16902
|
+
# "content",
|
16903
|
+
# "Text"
|
16904
|
+
# ],
|
16905
|
+
# [
|
16906
|
+
# "_score",
|
16907
|
+
# "Int32"
|
16908
|
+
# ]
|
16909
|
+
# ],
|
16910
|
+
# [
|
16911
|
+
# "The first post!",
|
16912
|
+
# "Welcome! This is my first post!",
|
16913
|
+
# 1
|
16914
|
+
# ],
|
16915
|
+
# [
|
16916
|
+
# "Groonga",
|
16917
|
+
# "I started to use groonga. It\(aqs very fast!",
|
16918
|
+
# 6
|
16919
|
+
# ],
|
16920
|
+
# [
|
16921
|
+
# "Mroonga",
|
16922
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
16923
|
+
# 1
|
16924
|
+
# ],
|
16925
|
+
# [
|
16926
|
+
# "Good\-bye Senna",
|
16927
|
+
# "I migrated all Senna system!",
|
16928
|
+
# 1
|
16929
|
+
# ],
|
16930
|
+
# [
|
16931
|
+
# "Good\-bye Tritonn",
|
16932
|
+
# "I also migrated all Tritonn system!",
|
16933
|
+
# 1
|
16934
|
+
# ]
|
16935
|
+
# ]
|
16936
|
+
# ]
|
16937
|
+
# ]
|
16938
|
+
.ft P
|
16939
|
+
.fi
|
16940
|
+
.UNINDENT
|
16941
|
+
.UNINDENT
|
16942
|
+
.sp
|
16943
|
+
この \fBselect\fP コマンドはすべてのレコードにマッチします。それから、 \fBadjuster\fP を適用します。このアジャスターは \fBEntries.content\fP カラムの中に \fB"groonga"\fP を含むレコードのスコアーを5増やします。 \fBEntries.content\fP カラムに \fB"groonga"\fP が含まれているレコードは1つだけです。 \fB"Groonga"\fP というキーのレコードです。このレコードのスコアーは6( \fB= 1 + 5\fP )になります。
|
16944
|
+
.sp
|
16945
|
+
\fBFACTOR\fP は省略できます。 \fBFACTOR\fP を省略すると、1を指定したとみなします。
|
16946
|
+
.sp
|
16947
|
+
\fBFACTOR\fP を省略した \fBadjuster\fP の使用例です。
|
16948
|
+
.sp
|
16949
|
+
この \fBselect\fP コマンドの \fBadjuster\fP は \fBFACTOR\fP がありません。そのため、係数は1になります。 \fBEntries.content\fP カラムに \fB"groonga"\fP を含むレコードは1つだけです。キーが \fB"Groonga"\fP のレコードです。このレコードのスコアーは2( \fB= 1 + 1\fP )になります。
|
16950
|
+
.sp
|
16951
|
+
複数の \fBSCORE_ADJUST_EXPRESSION\fP を使った \fBadjuster\fP の使用例です。
|
16952
|
+
.sp
|
16953
|
+
実行例:
|
16954
|
+
.INDENT 0.0
|
16955
|
+
.INDENT 3.5
|
16956
|
+
.sp
|
16957
|
+
.nf
|
16958
|
+
.ft C
|
16959
|
+
select Entries \e
|
16960
|
+
\-\-filter true \e
|
16961
|
+
\-\-adjuster \(aqcontent @ "groonga" * 5 + content @ "started" * 3\(aq \e
|
16962
|
+
\-\-output_columns _key,content,_score
|
16963
|
+
# [
|
16964
|
+
# [
|
16965
|
+
# 0,
|
16966
|
+
# 1337566253.89858,
|
16967
|
+
# 0.000355720520019531
|
16968
|
+
# ],
|
16969
|
+
# [
|
16970
|
+
# [
|
16971
|
+
# [
|
16972
|
+
# 5
|
16973
|
+
# ],
|
16974
|
+
# [
|
16975
|
+
# [
|
16976
|
+
# "_key",
|
16977
|
+
# "ShortText"
|
16978
|
+
# ],
|
16979
|
+
# [
|
16980
|
+
# "content",
|
16981
|
+
# "Text"
|
16982
|
+
# ],
|
16983
|
+
# [
|
16984
|
+
# "_score",
|
16985
|
+
# "Int32"
|
16986
|
+
# ]
|
16987
|
+
# ],
|
16988
|
+
# [
|
16989
|
+
# "The first post!",
|
16990
|
+
# "Welcome! This is my first post!",
|
16991
|
+
# 1
|
16992
|
+
# ],
|
16993
|
+
# [
|
16994
|
+
# "Groonga",
|
16995
|
+
# "I started to use groonga. It\(aqs very fast!",
|
16996
|
+
# 9
|
16997
|
+
# ],
|
16998
|
+
# [
|
16999
|
+
# "Mroonga",
|
17000
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
17001
|
+
# 4
|
17002
|
+
# ],
|
17003
|
+
# [
|
17004
|
+
# "Good\-bye Senna",
|
17005
|
+
# "I migrated all Senna system!",
|
17006
|
+
# 1
|
17007
|
+
# ],
|
17008
|
+
# [
|
17009
|
+
# "Good\-bye Tritonn",
|
17010
|
+
# "I also migrated all Tritonn system!",
|
17011
|
+
# 1
|
17012
|
+
# ]
|
17013
|
+
# ]
|
17014
|
+
# ]
|
17015
|
+
# ]
|
17016
|
+
.ft P
|
17017
|
+
.fi
|
17018
|
+
.UNINDENT
|
17019
|
+
.UNINDENT
|
17020
|
+
.sp
|
17021
|
+
この \fBselect\fP コマンドの \fBadjuster\fP には2つの \fBSCORE_ADJUST_EXPRESSION\fP があります。最終的なスコアーの増分はすこれらの \fBSCORE_ADJUST_EXPRESSION\fP のスコアーの合計になります。この \fBselect\fP コマンドのすべての \fBSCORE_ADJUST_EXPRESSION\fP はキーが \fB"Groonga"\fP のレコードに適用されます。そのため、このレコードの最終的なスコアーの増分はすべての \fBSCORE_ADJUST_EXPRESSION\fP の合計になります。
|
17022
|
+
.sp
|
17023
|
+
最初の \fBSCORE_ADJUST_EXPRESSION\fP は \fBcontent @ "groonga" * 5\fP です。これは、スコアーを5増やします。
|
17024
|
+
.sp
|
17025
|
+
2番目の \fBSCORE_ADJUST_EXPRESSION\fP は \fBcontent @ "started" * 3\fP です。これはスコアーを3増やします。
|
17026
|
+
.sp
|
17027
|
+
最終的なスコアーの増分は9( \fB= 1 + 5 + 3\fP )です。
|
17028
|
+
.sp
|
17029
|
+
A \fBSCORE_ADJUST_EXPRESSION\fP has a factor for \fB"KEYWORD"\fP\&. This
|
17030
|
+
means that increased scores of all records that has \fB"KEYWORD"\fP are
|
17031
|
+
the same value. You can change increase score for each record that has
|
17032
|
+
the same \fB"KEYWORD"\fP\&. It is useful to tune search score. See
|
17033
|
+
\fIweight\-vector\-column\fP for details.
|
16610
17034
|
.SS 返値
|
16611
17035
|
.sp
|
16612
17036
|
TODO: write in English and add example.
|
@@ -16854,14 +17278,14 @@ status
|
|
16854
17278
|
# 0.000355720520019531
|
16855
17279
|
# ],
|
16856
17280
|
# {
|
16857
|
-
# "uptime":
|
17281
|
+
# "uptime": 7,
|
16858
17282
|
# "max_command_version": 2,
|
16859
|
-
# "n_queries":
|
17283
|
+
# "n_queries": 39,
|
16860
17284
|
# "cache_hit_rate": 0.0,
|
16861
|
-
# "version": "
|
16862
|
-
# "alloc_count":
|
17285
|
+
# "version": "4.0.1",
|
17286
|
+
# "alloc_count": 309,
|
16863
17287
|
# "command_version": 1,
|
16864
|
-
# "starttime":
|
17288
|
+
# "starttime": 1395806014,
|
16865
17289
|
# "default_command_version": 1
|
16866
17290
|
# }
|
16867
17291
|
# ]
|
@@ -17608,7 +18032,7 @@ T} T{
|
|
17608
18032
|
T}
|
17609
18033
|
_
|
17610
18034
|
T{
|
17611
|
-
\
|
18035
|
+
\fBTABLE_HASH_KEY\fP
|
17612
18036
|
T} T{
|
17613
18037
|
ハッシュテーブル。
|
17614
18038
|
T}
|
@@ -18815,7 +19239,7 @@ select Users
|
|
18815
19239
|
\fBHEADER\fP
|
18816
19240
|
.INDENT 0.0
|
18817
19241
|
.INDENT 3.5
|
18818
|
-
|
19242
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
18819
19243
|
.UNINDENT
|
18820
19244
|
.UNINDENT
|
18821
19245
|
.sp
|
@@ -19212,6 +19636,35 @@ _
|
|
19212
19636
|
.IP \(bu 2
|
19213
19637
|
\fB/reference/commands/table_create\fP
|
19214
19638
|
.UNINDENT
|
19639
|
+
.SS カラム
|
19640
|
+
.sp
|
19641
|
+
カラムはデータストアオブジェクトまたは高速な検索のための転置索引オブジェクトです。
|
19642
|
+
.sp
|
19643
|
+
カラムは必ず1つのテーブルに属します。テーブルは0個以上のカラムを持ちます。
|
19644
|
+
.sp
|
19645
|
+
データストアカラムもインデックスカラムもどちらも型を持ちます。データストアカラムの型は値域を指定します。言い換えると、データストアカラムの型は「値の型」です。インデックスカラムの型はインデックス対象のドキュメント集合を指定します。Groongaではテーブルがドキュメント集合になります。よって、インデックスカラムの型はテーブルにしなければいけません。
|
19646
|
+
.sp
|
19647
|
+
以下がデータストアカラムです。
|
19648
|
+
.INDENT 0.0
|
19649
|
+
.INDENT 3.5
|
19650
|
+
.INDENT 0.0
|
19651
|
+
.IP \(bu 2
|
19652
|
+
\fBcolumns/scalar\fP
|
19653
|
+
.IP \(bu 2
|
19654
|
+
\fBcolumns/vector\fP
|
19655
|
+
.UNINDENT
|
19656
|
+
.UNINDENT
|
19657
|
+
.UNINDENT
|
19658
|
+
.sp
|
19659
|
+
以下がインデックスカラムです。
|
19660
|
+
.INDENT 0.0
|
19661
|
+
.INDENT 3.5
|
19662
|
+
.INDENT 0.0
|
19663
|
+
.IP \(bu 2
|
19664
|
+
\fBcolumns/index\fP
|
19665
|
+
.UNINDENT
|
19666
|
+
.UNINDENT
|
19667
|
+
.UNINDENT
|
19215
19668
|
.SS ノーマライザー
|
19216
19669
|
.SS 概要
|
19217
19670
|
.sp
|