rroonga 6.0.9-x64-mingw32 → 6.1.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +8 -0
- data/ext/groonga/rb-grn-index-column.c +54 -0
- data/ext/groonga/rb-grn-object.c +4 -0
- data/ext/groonga/rb-grn-table.c +18 -0
- data/ext/groonga/rb-grn.h +2 -2
- data/lib/2.1/groonga.so +0 -0
- data/lib/2.2/groonga.so +0 -0
- data/lib/2.3/groonga.so +0 -0
- data/lib/groonga/dumper.rb +8 -1
- data/lib/groonga/schema.rb +2 -1
- data/rroonga-build.rb +2 -2
- data/test/test-index-column.rb +124 -1
- data/test/test-schema-dumper.rb +82 -4
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga-suggest-create-dataset.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-2.dll +0 -0
- data/vendor/local/bin/libmsgpackc.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
- data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -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/query_expanders/tsv.la +1 -1
- data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +9 -4
- 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/suggest/suggest.la +1 -1
- 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/table/table.la +1 -1
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
- 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/groonga/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +1 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.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/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +1 -1
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.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 +61 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +741 -42
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +47 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +7 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/client.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/development.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/genindex.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/index.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/others.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/limitations.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +128 -72
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/5.x.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/reference/alias.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +983 -66
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +66 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/record_number.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/search.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/en/html/server/memcached.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/server/package.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +8 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +10 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -8
- 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 +61 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +741 -42
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +47 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +7 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/client.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +14 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/development.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +130 -72
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +823 -69
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +13 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/record_number.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +11 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/search.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +12 -10
- data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/spec.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -8
- data/vendor/local/share/groonga/html/admin/index.html +3 -3
- data/vendor/local/share/groonga/html/admin/scripts/{scripts.a1c295fa.js → scripts.d3e19381.js} +207 -148
- data/vendor/local/share/groonga/html/admin/scripts/{vendor.2c228d46.js → vendor.6c1a277a.js} +3854 -2816
- data/vendor/local/share/groonga/html/admin/styles/{main.d9de008c.css → main.db676f1c.css} +156 -137
- metadata +62 -129
- data/vendor/local/etc/groonga/httpd/fastcgi.conf +0 -26
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +0 -26
- data/vendor/local/etc/groonga/httpd/fastcgi_params +0 -25
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +0 -25
- data/vendor/local/etc/groonga/httpd/html/50x.html +0 -21
- data/vendor/local/etc/groonga/httpd/html/index.html +0 -25
- data/vendor/local/etc/groonga/httpd/koi-utf +0 -109
- data/vendor/local/etc/groonga/httpd/koi-win +0 -103
- data/vendor/local/etc/groonga/httpd/mime.types +0 -89
- data/vendor/local/etc/groonga/httpd/mime.types.default +0 -89
- data/vendor/local/etc/groonga/httpd/nginx.conf.default +0 -117
- data/vendor/local/etc/groonga/httpd/scgi_params +0 -17
- data/vendor/local/etc/groonga/httpd/scgi_params.default +0 -17
- data/vendor/local/etc/groonga/httpd/uwsgi_params +0 -17
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +0 -17
- data/vendor/local/etc/groonga/httpd/win-utf +0 -126
- data/vendor/local/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-foreground-white.svg +0 -118
- data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon-full-size.svg +0 -97
- data/vendor/local/share/groonga/images/logo/groonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-logo-foreground-white.svg +0 -108
- data/vendor/local/share/groonga/images/logo/groonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-logo.svg +0 -118
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar-foreground-white.svg +0 -170
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-bar.svg +0 -186
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-foreground-white.svg +0 -183
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner-large.svg +0 -179
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.png +0 -0
- data/vendor/local/share/groonga/images/logo/groonga-powered-by-banner.svg +0 -201
- data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon-full-size.svg +0 -97
- data/vendor/local/share/groonga/images/logo/mroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/mroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/mroonga-logo.svg +0 -106
- data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon-full-size.svg +0 -107
- data/vendor/local/share/groonga/images/logo/nroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/nroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/nroonga-logo.svg +0 -117
- data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon-foreground-white.svg +0 -106
- data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon-full-size.svg +0 -107
- data/vendor/local/share/groonga/images/logo/rroonga-icon.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-icon.svg +0 -93
- data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-logo-foreground-white.svg +0 -122
- data/vendor/local/share/groonga/images/logo/rroonga-logo.png +0 -0
- data/vendor/local/share/groonga/images/logo/rroonga-logo.svg +0 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ba8f0618180f91ec69f92d63c05490c07b32a8d
|
4
|
+
data.tar.gz: eb12dbfcba81f4bf01dd887d405cf0919368ac92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d5552a974fdce23a480927c463cb993d0aa77e5b864545ae2173f8d203089a598b9788c9a72a7c1dce007ed150912f05167af6955483fc05cb82ef71d6a3500
|
7
|
+
data.tar.gz: d2682fd2bacc6944ea3d3c2ca21d718eb28ddbe67e5f17cf64b6e86c25704f3fd9bb437022b3ec92273796881fb9a22bc8340262f976db1a81760473e6e56823
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# NEWS
|
2
2
|
|
3
|
+
## 6.1.0: 2016-11-07 {#version-6-1-0}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* {Groonga::Table#define_index_column}: Added `:size` option to
|
8
|
+
support small or medium size of index column. Specify `:small` or
|
9
|
+
`:medium` to customize it.
|
10
|
+
|
3
11
|
## 6.0.9: 2016-10-07 {#version-6-0-9}
|
4
12
|
|
5
13
|
### Improvements
|
@@ -883,6 +883,56 @@ rb_grn_index_column_with_position_p (VALUE self)
|
|
883
883
|
return CBOOL2RVAL(flags & GRN_OBJ_WITH_POSITION);
|
884
884
|
}
|
885
885
|
|
886
|
+
/*
|
887
|
+
* Checks whether the index column is small or not.
|
888
|
+
*
|
889
|
+
* @overload small?
|
890
|
+
* @return [Boolean] `true` if the index column is small,
|
891
|
+
* `false` otherwise.
|
892
|
+
*
|
893
|
+
* @since 6.1.0
|
894
|
+
*/
|
895
|
+
static VALUE
|
896
|
+
rb_grn_index_column_small_p (VALUE self)
|
897
|
+
{
|
898
|
+
grn_obj *column;
|
899
|
+
grn_ctx *context;
|
900
|
+
grn_column_flags flags;
|
901
|
+
|
902
|
+
rb_grn_index_column_deconstruct(SELF(self), &column, &context,
|
903
|
+
NULL, NULL,
|
904
|
+
NULL, NULL, NULL, NULL, NULL,
|
905
|
+
NULL, NULL);
|
906
|
+
|
907
|
+
flags = grn_column_get_flags(context, column);
|
908
|
+
return CBOOL2RVAL(flags & GRN_OBJ_INDEX_SMALL);
|
909
|
+
}
|
910
|
+
|
911
|
+
/*
|
912
|
+
* Checks whether the index column is medium or not.
|
913
|
+
*
|
914
|
+
* @overload medium?
|
915
|
+
* @return [Boolean] `true` if the index column is medium,
|
916
|
+
* `false` otherwise.
|
917
|
+
*
|
918
|
+
* @since 6.1.0
|
919
|
+
*/
|
920
|
+
static VALUE
|
921
|
+
rb_grn_index_column_medium_p (VALUE self)
|
922
|
+
{
|
923
|
+
grn_obj *column;
|
924
|
+
grn_ctx *context;
|
925
|
+
grn_column_flags flags;
|
926
|
+
|
927
|
+
rb_grn_index_column_deconstruct(SELF(self), &column, &context,
|
928
|
+
NULL, NULL,
|
929
|
+
NULL, NULL, NULL, NULL, NULL,
|
930
|
+
NULL, NULL);
|
931
|
+
|
932
|
+
flags = grn_column_get_flags(context, column);
|
933
|
+
return CBOOL2RVAL(flags & GRN_OBJ_INDEX_MEDIUM);
|
934
|
+
}
|
935
|
+
|
886
936
|
/*
|
887
937
|
* Opens cursor to iterate posting in the index column.
|
888
938
|
*
|
@@ -1310,6 +1360,10 @@ rb_grn_init_index_column (VALUE mGrn)
|
|
1310
1360
|
rb_grn_index_column_with_weight_p, 0);
|
1311
1361
|
rb_define_method(rb_cGrnIndexColumn, "with_position?",
|
1312
1362
|
rb_grn_index_column_with_position_p, 0);
|
1363
|
+
rb_define_method(rb_cGrnIndexColumn, "small?",
|
1364
|
+
rb_grn_index_column_small_p, 0);
|
1365
|
+
rb_define_method(rb_cGrnIndexColumn, "medium?",
|
1366
|
+
rb_grn_index_column_medium_p, 0);
|
1313
1367
|
|
1314
1368
|
rb_define_method(rb_cGrnIndexColumn, "open_cursor",
|
1315
1369
|
rb_grn_index_column_open_cursor, -1);
|
data/ext/groonga/rb-grn-object.c
CHANGED
@@ -927,6 +927,10 @@ rb_grn_object_inspect_content_flags_with_label (VALUE inspected,
|
|
927
927
|
rb_ary_push(inspected_flags, rb_str_new_cstr("WITH_WEIGHT"));
|
928
928
|
if (column_flags & GRN_OBJ_WITH_POSITION)
|
929
929
|
rb_ary_push(inspected_flags, rb_str_new_cstr("WITH_POSITION"));
|
930
|
+
if (column_flags & GRN_OBJ_INDEX_SMALL)
|
931
|
+
rb_ary_push(inspected_flags, rb_str_new_cstr("SMALL"));
|
932
|
+
if (column_flags & GRN_OBJ_INDEX_MEDIUM)
|
933
|
+
rb_ary_push(inspected_flags, rb_str_new_cstr("MEDIUM"));
|
930
934
|
break;
|
931
935
|
default:
|
932
936
|
break;
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -357,6 +357,10 @@ rb_grn_table_define_column (int argc, VALUE *argv, VALUE self)
|
|
357
357
|
* 転置索引にweight情報を合わせて格納する。
|
358
358
|
* @option options :with_position
|
359
359
|
* 転置索引に出現位置情報を合わせて格納する。
|
360
|
+
* @option options :size (nil)
|
361
|
+
* The size of index column. It must be `nil`, `:small` or
|
362
|
+
* `:medium`. `nil` means full size. `:small` means small
|
363
|
+
* size. `:medium` means medium size.
|
360
364
|
* @option options :source
|
361
365
|
* インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
|
362
366
|
* @option options :sources
|
@@ -376,6 +380,7 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
|
|
376
380
|
VALUE rb_name, rb_value_type;
|
377
381
|
VALUE options, rb_path, rb_persistent;
|
378
382
|
VALUE rb_with_section, rb_with_weight, rb_with_position;
|
383
|
+
VALUE rb_size;
|
379
384
|
VALUE rb_column, rb_source, rb_sources;
|
380
385
|
VALUE columns;
|
381
386
|
|
@@ -395,6 +400,7 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
|
|
395
400
|
"with_section", &rb_with_section,
|
396
401
|
"with_weight", &rb_with_weight,
|
397
402
|
"with_position", &rb_with_position,
|
403
|
+
"size", &rb_size,
|
398
404
|
"source", &rb_source,
|
399
405
|
"sources", &rb_sources,
|
400
406
|
NULL);
|
@@ -443,6 +449,18 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
|
|
443
449
|
if (RVAL2CBOOL(rb_with_position))
|
444
450
|
flags |= GRN_OBJ_WITH_POSITION;
|
445
451
|
|
452
|
+
if (NIL_P(rb_size)) {
|
453
|
+
/* do nothing */
|
454
|
+
} else if (rb_grn_equal_option(rb_size, "small")) {
|
455
|
+
flags |= GRN_OBJ_INDEX_SMALL;
|
456
|
+
} else if (rb_grn_equal_option(rb_size, "medium")) {
|
457
|
+
flags |= GRN_OBJ_INDEX_MEDIUM;
|
458
|
+
} else {
|
459
|
+
rb_raise(rb_eArgError,
|
460
|
+
":size must be nil, :small or :medium: <%" PRIsVALUE ">",
|
461
|
+
rb_size);
|
462
|
+
}
|
463
|
+
|
446
464
|
if (!NIL_P(rb_source) && !NIL_P(rb_sources))
|
447
465
|
rb_raise(rb_eArgError, "should not pass both of :source and :sources.");
|
448
466
|
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -98,8 +98,8 @@ RB_GRN_BEGIN_DECLS
|
|
98
98
|
#endif
|
99
99
|
|
100
100
|
#define RB_GRN_MAJOR_VERSION 6
|
101
|
-
#define RB_GRN_MINOR_VERSION
|
102
|
-
#define RB_GRN_MICRO_VERSION
|
101
|
+
#define RB_GRN_MINOR_VERSION 1
|
102
|
+
#define RB_GRN_MICRO_VERSION 0
|
103
103
|
|
104
104
|
#define RB_GRN_OBJECT(object) ((RbGrnObject *)(object))
|
105
105
|
#define RB_GRN_NAMED_OBJECT(object) ((RbGrnNamedObject *)(object))
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/2.2/groonga.so
CHANGED
Binary file
|
data/lib/2.3/groonga.so
CHANGED
Binary file
|
data/lib/groonga/dumper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2011-
|
3
|
+
# Copyright (C) 2011-2016 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
# Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
@@ -487,6 +487,11 @@ module Groonga
|
|
487
487
|
options[:with_section] = true if column.with_section?
|
488
488
|
options[:with_weight] = true if column.with_weight?
|
489
489
|
options[:with_position] = true if column.with_position?
|
490
|
+
if column.small?
|
491
|
+
options[:size] = :small
|
492
|
+
elsif column.medium?
|
493
|
+
options[:size] = :medium
|
494
|
+
end
|
490
495
|
arguments = [
|
491
496
|
dump_object(target_table_name),
|
492
497
|
sources.size == 1 ? source_names : "[#{source_names}]",
|
@@ -643,6 +648,8 @@ module Groonga
|
|
643
648
|
flags << "WITH_SECTION" if column.with_section?
|
644
649
|
flags << "WITH_WEIGHT" if column.with_weight?
|
645
650
|
flags << "WITH_POSITION" if column.with_position?
|
651
|
+
flags << "INDEX_SMALL" if column.small?
|
652
|
+
flags << "INDEX_MEDIUM" if column.medium?
|
646
653
|
parameters << "#{flags.join('|')}"
|
647
654
|
parameters << "#{column.range.name}"
|
648
655
|
source_names = column.sources.collect do |source|
|
data/lib/groonga/schema.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2009-
|
3
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
# Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
@@ -1697,6 +1697,7 @@ module Groonga
|
|
1697
1697
|
:with_section => @options[:with_section],
|
1698
1698
|
:with_weight => @options[:with_weight],
|
1699
1699
|
:with_position => @options[:with_position],
|
1700
|
+
:size => @options[:size],
|
1700
1701
|
}
|
1701
1702
|
end
|
1702
1703
|
|
data/rroonga-build.rb
CHANGED
data/test/test-index-column.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2009-
|
3
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
# Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
@@ -378,6 +378,67 @@ class IndexColumnTest < Test::Unit::TestCase
|
|
378
378
|
context["Tags.default"].with_position?,
|
379
379
|
])
|
380
380
|
end
|
381
|
+
|
382
|
+
class SizeTest < self
|
383
|
+
def test_small
|
384
|
+
Groonga::Schema.define do |schema|
|
385
|
+
schema.create_table("Tags",
|
386
|
+
:type => :patricia_trie,
|
387
|
+
:key_type => "ShortText") do |table|
|
388
|
+
table.index("Articles.tags",
|
389
|
+
:name => "small",
|
390
|
+
:size => :small)
|
391
|
+
table.index("Articles.tags",
|
392
|
+
:name => "default")
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
assert_equal([
|
397
|
+
true,
|
398
|
+
false,
|
399
|
+
],
|
400
|
+
[
|
401
|
+
context["Tags.small"].small?,
|
402
|
+
context["Tags.default"].small?,
|
403
|
+
])
|
404
|
+
end
|
405
|
+
|
406
|
+
def test_medium
|
407
|
+
Groonga::Schema.define do |schema|
|
408
|
+
schema.create_table("Tags",
|
409
|
+
:type => :patricia_trie,
|
410
|
+
:key_type => "ShortText") do |table|
|
411
|
+
table.index("Articles.tags",
|
412
|
+
:name => "medium",
|
413
|
+
:size => :medium)
|
414
|
+
table.index("Articles.tags",
|
415
|
+
:name => "default")
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
assert_equal([
|
420
|
+
true,
|
421
|
+
false,
|
422
|
+
],
|
423
|
+
[
|
424
|
+
context["Tags.medium"].medium?,
|
425
|
+
context["Tags.default"].medium?,
|
426
|
+
])
|
427
|
+
end
|
428
|
+
|
429
|
+
def test_invalid
|
430
|
+
Groonga::Schema.create_table("Tags",
|
431
|
+
:type => :patricia_trie,
|
432
|
+
:key_type => "ShortText")
|
433
|
+
message = ":size must be nil, :small or :medium: <invalid>"
|
434
|
+
assert_raise(ArgumentError.new(message)) do
|
435
|
+
tags = context["Tags"]
|
436
|
+
tags.define_index_column("small",
|
437
|
+
context["Articles"],
|
438
|
+
:size => "invalid")
|
439
|
+
end
|
440
|
+
end
|
441
|
+
end
|
381
442
|
end
|
382
443
|
|
383
444
|
class SourceTest < self
|
@@ -684,4 +745,66 @@ class IndexColumnTest < Test::Unit::TestCase
|
|
684
745
|
end
|
685
746
|
end
|
686
747
|
end
|
748
|
+
|
749
|
+
class InspectTest < self
|
750
|
+
def setup
|
751
|
+
super
|
752
|
+
setup_source
|
753
|
+
end
|
754
|
+
|
755
|
+
def setup_source
|
756
|
+
Groonga::Schema.define do |schema|
|
757
|
+
schema.create_table("Articles") do |article|
|
758
|
+
article.text(:content)
|
759
|
+
article.short_text(:tag)
|
760
|
+
end
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
def test_small_size
|
765
|
+
Groonga::Schema.define do |schema|
|
766
|
+
schema.create_table("Tags",
|
767
|
+
:type => :hash,
|
768
|
+
:key_type => "ShortText") do |tags|
|
769
|
+
tags.index("Articles.tag", :size => :small)
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
index = context["Tags.Articles_tag"]
|
774
|
+
source_column_names = index.sources.collect(&:local_name).join(",")
|
775
|
+
assert_equal("\#<Groonga::IndexColumn " +
|
776
|
+
"id: <#{index.id}>, " +
|
777
|
+
"name: <#{index.name}>, " +
|
778
|
+
"path: <#{index.path}>, " +
|
779
|
+
"domain: <#{index.domain.name}>, " +
|
780
|
+
"range: <#{index.range.name}>, " +
|
781
|
+
"flags: <SMALL>, " +
|
782
|
+
"sources: <#{source_column_names}>" +
|
783
|
+
">",
|
784
|
+
index.inspect)
|
785
|
+
end
|
786
|
+
|
787
|
+
def test_medium_size
|
788
|
+
Groonga::Schema.define do |schema|
|
789
|
+
schema.create_table("Tags",
|
790
|
+
:type => :hash,
|
791
|
+
:key_type => "ShortText") do |tags|
|
792
|
+
tags.index("Articles.tag", :size => :medium)
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
index = context["Tags.Articles_tag"]
|
797
|
+
source_column_names = index.sources.collect(&:local_name).join(",")
|
798
|
+
assert_equal("\#<Groonga::IndexColumn " +
|
799
|
+
"id: <#{index.id}>, " +
|
800
|
+
"name: <#{index.name}>, " +
|
801
|
+
"path: <#{index.path}>, " +
|
802
|
+
"domain: <#{index.domain.name}>, " +
|
803
|
+
"range: <#{index.range.name}>, " +
|
804
|
+
"flags: <MEDIUM>, " +
|
805
|
+
"sources: <#{source_column_names}>" +
|
806
|
+
">",
|
807
|
+
index.inspect)
|
808
|
+
end
|
809
|
+
end
|
687
810
|
end
|
data/test/test-schema-dumper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2016 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
# Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
3
3
|
#
|
4
4
|
# This library is free software; you can redistribute it and/or
|
@@ -86,7 +86,7 @@ class SchemaDumperTest < Test::Unit::TestCase
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
def define_index_schema
|
89
|
+
def define_index_schema(options={})
|
90
90
|
context.register_plugin("token_filters/stop_word")
|
91
91
|
Groonga::Schema.define do |schema|
|
92
92
|
schema.create_table("Items",
|
@@ -101,8 +101,8 @@ class SchemaDumperTest < Test::Unit::TestCase
|
|
101
101
|
:default_tokenizer => "TokenBigram",
|
102
102
|
:token_filters => ["TokenFilterStopWord"],
|
103
103
|
:normalizer => "NormalizerAuto") do |table|
|
104
|
-
table.index("Items", "_key")
|
105
|
-
table.index("Items", "title")
|
104
|
+
table.index("Items", "_key", options[:key_index_options] || {})
|
105
|
+
table.index("Items", "title", options[:title_index_options] || {})
|
106
106
|
end
|
107
107
|
end
|
108
108
|
end
|
@@ -236,6 +236,58 @@ end
|
|
236
236
|
SCHEMA
|
237
237
|
end
|
238
238
|
|
239
|
+
def test_small_index
|
240
|
+
define_index_schema(:title_index_options => {:size => :small})
|
241
|
+
assert_equal(<<-SCHEMA, dump)
|
242
|
+
create_table("Items",
|
243
|
+
:type => :hash,
|
244
|
+
:key_type => "ShortText",
|
245
|
+
:force => true) do |table|
|
246
|
+
table.short_text("title")
|
247
|
+
end
|
248
|
+
|
249
|
+
create_table("Terms",
|
250
|
+
:type => :patricia_trie,
|
251
|
+
:key_type => "ShortText",
|
252
|
+
:default_tokenizer => "TokenBigram",
|
253
|
+
:token_filters => ["TokenFilterStopWord"],
|
254
|
+
:normalizer => "NormalizerAuto",
|
255
|
+
:force => true) do |table|
|
256
|
+
end
|
257
|
+
|
258
|
+
change_table("Terms") do |table|
|
259
|
+
table.index("Items", "_key", :name => "Items__key", :with_position => true)
|
260
|
+
table.index("Items", "title", :name => "Items_title", :with_position => true, :size => :small)
|
261
|
+
end
|
262
|
+
SCHEMA
|
263
|
+
end
|
264
|
+
|
265
|
+
def test_medium_index
|
266
|
+
define_index_schema(:title_index_options => {:size => :medium})
|
267
|
+
assert_equal(<<-SCHEMA, dump)
|
268
|
+
create_table("Items",
|
269
|
+
:type => :hash,
|
270
|
+
:key_type => "ShortText",
|
271
|
+
:force => true) do |table|
|
272
|
+
table.short_text("title")
|
273
|
+
end
|
274
|
+
|
275
|
+
create_table("Terms",
|
276
|
+
:type => :patricia_trie,
|
277
|
+
:key_type => "ShortText",
|
278
|
+
:default_tokenizer => "TokenBigram",
|
279
|
+
:token_filters => ["TokenFilterStopWord"],
|
280
|
+
:normalizer => "NormalizerAuto",
|
281
|
+
:force => true) do |table|
|
282
|
+
end
|
283
|
+
|
284
|
+
change_table("Terms") do |table|
|
285
|
+
table.index("Items", "_key", :name => "Items__key", :with_position => true)
|
286
|
+
table.index("Items", "title", :name => "Items_title", :with_position => true, :size => :medium)
|
287
|
+
end
|
288
|
+
SCHEMA
|
289
|
+
end
|
290
|
+
|
239
291
|
def test_weight_vector
|
240
292
|
define_weight_vector_schema
|
241
293
|
assert_equal(<<-SCHEMA, dump)
|
@@ -317,6 +369,32 @@ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
|
|
317
369
|
SCHEMA
|
318
370
|
end
|
319
371
|
|
372
|
+
def test_small_index
|
373
|
+
define_index_schema(:title_index_options => {:size => :small})
|
374
|
+
assert_equal(<<-SCHEMA, dump)
|
375
|
+
table_create Items TABLE_HASH_KEY ShortText
|
376
|
+
column_create Items title COLUMN_SCALAR ShortText
|
377
|
+
|
378
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --token_filters TokenFilterStopWord --normalizer NormalizerAuto
|
379
|
+
|
380
|
+
column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
|
381
|
+
column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_SMALL Items title
|
382
|
+
SCHEMA
|
383
|
+
end
|
384
|
+
|
385
|
+
def test_medium_index
|
386
|
+
define_index_schema(:title_index_options => {:size => :medium})
|
387
|
+
assert_equal(<<-SCHEMA, dump)
|
388
|
+
table_create Items TABLE_HASH_KEY ShortText
|
389
|
+
column_create Items title COLUMN_SCALAR ShortText
|
390
|
+
|
391
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --token_filters TokenFilterStopWord --normalizer NormalizerAuto
|
392
|
+
|
393
|
+
column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
|
394
|
+
column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_MEDIUM Items title
|
395
|
+
SCHEMA
|
396
|
+
end
|
397
|
+
|
320
398
|
def test_weight_vector
|
321
399
|
define_weight_vector_schema
|
322
400
|
assert_equal(<<-SCHEMA, dump)
|