rroonga 5.0.9-x64-mingw32 → 5.1.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -1
- data/ext/groonga/{rb-grn-conf.c → rb-grn-config.c} +18 -13
- data/ext/groonga/rb-grn-database.c +83 -0
- data/ext/groonga/rb-grn-fix-size-column.c +85 -0
- data/ext/groonga/rb-grn-index-column.c +82 -0
- data/ext/groonga/rb-grn-object.c +67 -1
- data/ext/groonga/rb-grn-table-key-support.c +87 -1
- data/ext/groonga/rb-grn-table.c +2 -2
- data/ext/groonga/rb-grn-variable-size-column.c +84 -1
- data/ext/groonga/rb-grn.h +5 -5
- data/ext/groonga/rb-groonga.c +27 -1
- data/lib/2.0/groonga.so +0 -0
- 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/context.rb +12 -3
- data/lib/groonga/expression-builder.rb +2 -1
- data/rroonga-build.rb +6 -6
- data/test/test-accessor.rb +30 -0
- data/test/{test-conf.rb → test-config.rb} +5 -5
- data/test/test-database.rb +41 -0
- data/test/test-fix-size-column.rb +84 -0
- data/test/test-index-column.rb +71 -1
- data/test/test-package-label.rb +20 -0
- data/test/test-table-key-support.rb +42 -0
- data/test/test-table.rb +13 -0
- data/test/test-variable-size-column.rb +71 -1
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +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-4.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.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/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +9 -9
- data/vendor/local/include/groonga/groonga/file_reader.h +40 -0
- data/vendor/local/include/groonga/groonga/groonga.h +1 -0
- data/vendor/local/include/groonga/groonga/obj.h +7 -42
- data/vendor/local/include/groonga/groonga/portability.h +4 -4
- data/vendor/local/include/groonga/groonga.h +1 -0
- 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/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/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +70 -38
- 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/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/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/scripts/ruby/command_line/grndb.rb +21 -0
- data/vendor/local/lib/groonga/scripts/ruby/id.rb +12 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +3 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +6 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- 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/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/libonig.a +0 -0
- data/vendor/local/lib/libonig.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/sbin/groonga-httpd.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +7 -2
- 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 +4 -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/4.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +122 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/pretty_print.txt +45 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/reindex.txt +142 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/between.txt +10 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/vector_size.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +37 -8
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +12 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/build.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/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/introduction.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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +72 -68
- 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 +9 -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/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +187 -76
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +183 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +57 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +279 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +107 -107
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +49 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -17
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +14 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +434 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +203 -0
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +15 -17
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +7 -11
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -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 +5 -5
- 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/memcached.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 +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 +5 -5
- 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 +5 -5
- 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/community.txt +7 -2
- 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 +4 -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/4.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +122 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/pretty_print.txt +45 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/reindex.txt +142 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/between.txt +10 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +158 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/vector_size.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/prefix_rk_search.txt +76 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +37 -8
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +14 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.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/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/introduction.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +71 -67
- 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 +9 -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/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +188 -76
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +28 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +33 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +57 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +105 -105
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +267 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +5 -5
- 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 +18 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +13 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +422 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +6 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +71 -67
- 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/memcached.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 +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 +5 -5
- 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 +5 -5
- 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/groonga/html/admin/404.html +26 -2
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +272 -213
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/local/share/groonga/html/admin/bower_components/bootstrap-sass-official/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +39 -5
- data/vendor/local/share/groonga/html/admin/scripts/oldieshim.572be7b4.js +2337 -0
- data/vendor/local/share/groonga/html/admin/scripts/scripts.a1c295fa.js +1749 -0
- data/vendor/local/share/groonga/html/admin/scripts/vendor.2c228d46.js +50748 -0
- data/vendor/local/share/groonga/html/admin/styles/main.d9de008c.css +12602 -0
- data/vendor/local/share/groonga/html/admin/styles/vendor.7f75f6e0.css +130 -0
- data/vendor/local/share/groonga/html/admin/views/columns/new.html +64 -1
- data/vendor/local/share/groonga/html/admin/views/columns/show.html +70 -1
- data/vendor/local/share/groonga/html/admin/views/tables/index.html +53 -1
- data/vendor/local/share/groonga/html/admin/views/tables/new.html +54 -2
- data/vendor/local/share/groonga/html/admin/views/tables/search.html +236 -1
- data/vendor/local/share/groonga/html/admin/views/tables/show.html +111 -1
- data/vendor/local/share/groonga/html/admin/views/top.html +20 -1
- data/vendor/local/share/license/groonga-admin/README.md +2 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +955 -3334
- data/vendor/local/share/man/man1/groonga.1 +937 -3373
- metadata +78 -57
- data/vendor/local/share/groonga/html/admin/images/yeoman.d2754b85.png +0 -0
- data/vendor/local/share/groonga/html/admin/scripts/oldieshim.a466b7b1.js +0 -1
- data/vendor/local/share/groonga/html/admin/scripts/scripts.87083bfd.js +0 -1
- data/vendor/local/share/groonga/html/admin/scripts/vendor.fa48c0ac.js +0 -13
- data/vendor/local/share/groonga/html/admin/styles/main.0390285b.css +0 -1
- data/vendor/local/share/groonga/html/admin/styles/vendor.f4ae649a.css +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2853910e14a5b91522747333b75e391a07b5d012
|
4
|
+
data.tar.gz: 3d486dd1b109767ed3b1633ce26706630e17b9cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311ae9df8025eda4d69d9c88b1ab06eea4130d18295ecaae9b61a5c29de98038d5d2e26eabaf05730021511e33a61deee682a72c4c19dd55e1ae18ba6766913d
|
7
|
+
data.tar.gz: 24b8d64bafc620c67055bc0e8f84c120ac9be386f366a754093652f3334a2288f9c9b0cbec6fae67169f5131640075f4dc0638915ce29d06b4d921c7b6aaaee6
|
data/Rakefile
CHANGED
@@ -157,7 +157,7 @@ windows_architectures = [:x86, :x64]
|
|
157
157
|
|
158
158
|
namespace :build do
|
159
159
|
namespace :windows do
|
160
|
-
ruby_versions = "2.0.0:2.1.6:2.2.2"
|
160
|
+
ruby_versions = "2.0.0:2.1.6:2.2.2:2.3.0"
|
161
161
|
|
162
162
|
windows_architectures.each do |architecture|
|
163
163
|
desc "Build gem for Windows #{architecture}"
|
@@ -169,6 +169,7 @@ namespace :build do
|
|
169
169
|
commands = [
|
170
170
|
["git", "clone", "file://#{Dir.pwd}/.git", build_dir],
|
171
171
|
["cd", build_dir],
|
172
|
+
["gem", "install", "json"],
|
172
173
|
["bundle"],
|
173
174
|
["rake", "cross", "native", "gem", "RUBY_CC_VERSION=#{ruby_versions}"],
|
174
175
|
]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
Copyright (C) 2015-2016 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -21,7 +21,7 @@
|
|
21
21
|
#define SELF(object) (RVAL2GRNCONTEXT(object))
|
22
22
|
|
23
23
|
/*
|
24
|
-
* Document-class: Groonga::
|
24
|
+
* Document-class: Groonga::Config
|
25
25
|
*
|
26
26
|
* This class manages database global configurations. Each
|
27
27
|
* configuration is key and value pair.
|
@@ -37,7 +37,7 @@
|
|
37
37
|
* @since 5.0.9
|
38
38
|
*/
|
39
39
|
static VALUE
|
40
|
-
|
40
|
+
rb_grn_config_initialize (VALUE self, VALUE rb_context)
|
41
41
|
{
|
42
42
|
rb_iv_set(self, "@context", rb_context);
|
43
43
|
|
@@ -47,14 +47,14 @@ rb_grn_conf_initialize (VALUE self, VALUE rb_context)
|
|
47
47
|
/*
|
48
48
|
* Gets a configuration value for key.
|
49
49
|
*
|
50
|
-
* @overload
|
50
|
+
* @overload config[](key)
|
51
51
|
* @param [String] key The key.
|
52
52
|
* @return [String, nil] The value associated with `key`.
|
53
53
|
*
|
54
54
|
* @since 5.0.9
|
55
55
|
*/
|
56
56
|
static VALUE
|
57
|
-
|
57
|
+
rb_grn_config_get (VALUE self, VALUE rb_key)
|
58
58
|
{
|
59
59
|
VALUE rb_context;
|
60
60
|
VALUE rb_value;
|
@@ -73,6 +73,8 @@ rb_grn_conf_get (VALUE self, VALUE rb_key)
|
|
73
73
|
|
74
74
|
{
|
75
75
|
grn_rc rc;
|
76
|
+
/* TODO: Replace it with grn_config_get() after Groonga 5.1.2
|
77
|
+
* is released.*/
|
76
78
|
rc = grn_conf_get(context,
|
77
79
|
key, key_size,
|
78
80
|
&value, &value_size);
|
@@ -92,13 +94,13 @@ rb_grn_conf_get (VALUE self, VALUE rb_key)
|
|
92
94
|
/*
|
93
95
|
* Sets a configuration key and value pair.
|
94
96
|
*
|
95
|
-
* @overload
|
97
|
+
* @overload config[]=(key, value)
|
96
98
|
* @param [String] key The key.
|
97
99
|
* @param [String] value The value to be assigned.
|
98
100
|
* @return [String] `value`.
|
99
101
|
*/
|
100
102
|
static VALUE
|
101
|
-
|
103
|
+
rb_grn_config_set (VALUE self, VALUE rb_key, VALUE rb_value)
|
102
104
|
{
|
103
105
|
VALUE rb_value_original = rb_value;
|
104
106
|
VALUE rb_context;
|
@@ -121,6 +123,8 @@ rb_grn_conf_set (VALUE self, VALUE rb_key, VALUE rb_value)
|
|
121
123
|
|
122
124
|
{
|
123
125
|
grn_rc rc;
|
126
|
+
/* TODO: Replace it with grn_config_set() after Groonga 5.1.2
|
127
|
+
* is released.*/
|
124
128
|
rc = grn_conf_set(context,
|
125
129
|
key, key_size,
|
126
130
|
value, value_size);
|
@@ -132,14 +136,15 @@ rb_grn_conf_set (VALUE self, VALUE rb_key, VALUE rb_value)
|
|
132
136
|
}
|
133
137
|
|
134
138
|
void
|
135
|
-
|
139
|
+
rb_grn_init_config (VALUE mGrn)
|
136
140
|
{
|
137
|
-
VALUE
|
141
|
+
VALUE cGrnConfig;
|
138
142
|
|
139
|
-
|
143
|
+
cGrnConfig = rb_define_class_under(mGrn, "Config", rb_cObject);
|
144
|
+
rb_define_const(mGrn, "Conf", cGrnConfig);
|
140
145
|
|
141
|
-
rb_define_method(
|
146
|
+
rb_define_method(cGrnConfig, "initialize", rb_grn_config_initialize, 1);
|
142
147
|
|
143
|
-
rb_define_method(
|
144
|
-
rb_define_method(
|
148
|
+
rb_define_method(cGrnConfig, "[]", rb_grn_config_get, 1);
|
149
|
+
rb_define_method(cGrnConfig, "[]=", rb_grn_config_set, 2);
|
145
150
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
5
|
|
5
6
|
This library is free software; you can redistribute it and/or
|
6
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -623,6 +624,87 @@ rb_grn_database_unmap (VALUE self)
|
|
623
624
|
return Qnil;
|
624
625
|
}
|
625
626
|
|
627
|
+
/*
|
628
|
+
* Recreates all index columns in the database.
|
629
|
+
*
|
630
|
+
* This method is useful when you have any broken index columns in
|
631
|
+
* the database. You don't need to specify each index column. But
|
632
|
+
* this method spends more time rather than you specify only reindex
|
633
|
+
* needed index columns.
|
634
|
+
*
|
635
|
+
* You can use {Groonga::TableKeySupport#reindex} to specify reindex
|
636
|
+
* target index columns in a table.
|
637
|
+
*
|
638
|
+
* You can use {Groonga::FixSizeColumn#reindex} or
|
639
|
+
* {Groonga::VariableSizeColumn#reindex} to specify reindex target
|
640
|
+
* index columns. They use index columns of the data column as
|
641
|
+
* reindex target index columns.
|
642
|
+
*
|
643
|
+
* You can use {Groonga::IndexColumn#reindex} to specify the reindex
|
644
|
+
* target index column.
|
645
|
+
*
|
646
|
+
* @example How to recreate all index columns in the database
|
647
|
+
* database = Groonga::Database.create(:path => "/tmp/db")
|
648
|
+
*
|
649
|
+
* Groonga::Schema.define do |schema|
|
650
|
+
* schema.create_table("Memos") do |table|
|
651
|
+
* table.short_text("title")
|
652
|
+
* table.text("content")
|
653
|
+
* end
|
654
|
+
*
|
655
|
+
* schema.create_table("BigramTerms",
|
656
|
+
* :type => :patricia_trie,
|
657
|
+
* :key_type => :short_text,
|
658
|
+
* :normalizer => "NormalizerAuto",
|
659
|
+
* :default_tokenizer => "TokenBigram") do |table|
|
660
|
+
* table.index("Memos.title")
|
661
|
+
* table.index("Memos.content")
|
662
|
+
* end
|
663
|
+
*
|
664
|
+
* schema.create_table("MeCabTerms",
|
665
|
+
* :type => :patricia_trie,
|
666
|
+
* :key_type => :short_text,
|
667
|
+
* :normalizer => "NormalizerAuto",
|
668
|
+
* :default_tokenizer => "TokenMecab") do |table|
|
669
|
+
* table.index("Memos.title")
|
670
|
+
* table.index("Memos.content")
|
671
|
+
* end
|
672
|
+
* end
|
673
|
+
*
|
674
|
+
* database.reindex
|
675
|
+
* # They are called:
|
676
|
+
* # Groonga["BigramTerms.Memos_title"].reindex
|
677
|
+
* # Groonga["BigramTerms.Memos_content"].reindex
|
678
|
+
* # Groonga["MeCabTerms.Memos_title"].reindex
|
679
|
+
* # Groonga["MeCabTerms.Memos_content"].reindex
|
680
|
+
*
|
681
|
+
* @overload reindex
|
682
|
+
* @return [void]
|
683
|
+
*
|
684
|
+
* @see Groonga::TableKeySupport#reindex
|
685
|
+
* @see Groonga::FixSizeColumn#reindex
|
686
|
+
* @see Groonga::VariableSizeColumn#reindex
|
687
|
+
* @see Groonga::IndexColumn#reindex
|
688
|
+
*
|
689
|
+
* @since 5.1.1
|
690
|
+
*/
|
691
|
+
static VALUE
|
692
|
+
rb_grn_database_reindex (VALUE self)
|
693
|
+
{
|
694
|
+
grn_rc rc;
|
695
|
+
grn_ctx *context;
|
696
|
+
grn_obj *database;
|
697
|
+
|
698
|
+
rb_grn_database_deconstruct(SELF(self), &database, &context,
|
699
|
+
NULL, NULL, NULL, NULL);
|
700
|
+
|
701
|
+
rc = grn_obj_reindex(context, database);
|
702
|
+
rb_grn_context_check(context, self);
|
703
|
+
rb_grn_rc_check(rc, self);
|
704
|
+
|
705
|
+
return Qnil;
|
706
|
+
}
|
707
|
+
|
626
708
|
void
|
627
709
|
rb_grn_init_database (VALUE mGrn)
|
628
710
|
{
|
@@ -657,4 +739,5 @@ rb_grn_init_database (VALUE mGrn)
|
|
657
739
|
rb_define_method(rb_cGrnDatabase, "defrag", rb_grn_database_defrag, -1);
|
658
740
|
rb_define_method(rb_cGrnDatabase, "recover", rb_grn_database_recover, 0);
|
659
741
|
rb_define_method(rb_cGrnDatabase, "unmap", rb_grn_database_unmap, 0);
|
742
|
+
rb_define_method(rb_cGrnDatabase, "reindex", rb_grn_database_reindex, 0);
|
660
743
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
5
|
|
5
6
|
This library is free software; you can redistribute it and/or
|
6
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -141,6 +142,87 @@ rb_grn_fix_size_column_decrement (int argc, VALUE *argv, VALUE self)
|
|
141
142
|
return rb_grn_fix_size_column_integer_set(argc, argv, self, GRN_OBJ_DECR);
|
142
143
|
}
|
143
144
|
|
145
|
+
/*
|
146
|
+
* Recreates all index columns for the column.
|
147
|
+
*
|
148
|
+
* This method is useful when you have any broken index columns for
|
149
|
+
* the column. You don't need to specify each index column. But this
|
150
|
+
* method spends more time rather than you specify only reindex
|
151
|
+
* needed index columns.
|
152
|
+
*
|
153
|
+
* You can use {Groonga::Database#reindex} to recreate all index
|
154
|
+
* columns in a database.
|
155
|
+
*
|
156
|
+
* You can use {Groonga::TableKeySupport#reindex} to recreate all
|
157
|
+
* index columns in a table.
|
158
|
+
*
|
159
|
+
* You can use {Groonga::IndexColumn#reindex} to specify the reindex
|
160
|
+
* target index column.
|
161
|
+
*
|
162
|
+
* @example How to recreate all index columns for the column
|
163
|
+
* Groonga::Schema.define do |schema|
|
164
|
+
* schema.create_table("Users") do |table|
|
165
|
+
* table.integer32("age")
|
166
|
+
* table.integer32("score")
|
167
|
+
* end
|
168
|
+
*
|
169
|
+
* schema.create_table("Numbers",
|
170
|
+
* :type => :patricia_trie,
|
171
|
+
* :key_type => :integer32) do |table|
|
172
|
+
* table.index("Users.age")
|
173
|
+
* table.index("Users.score")
|
174
|
+
* end
|
175
|
+
*
|
176
|
+
* schema.create_table("Ages",
|
177
|
+
* :type => :patricia_trie,
|
178
|
+
* :key_type => :integer32) do |table|
|
179
|
+
* table.index("Users.age")
|
180
|
+
* end
|
181
|
+
*
|
182
|
+
* schema.create_table("Scores",
|
183
|
+
* :type => :patricia_trie,
|
184
|
+
* :key_type => :integer32) do |table|
|
185
|
+
* table.index("Users.score")
|
186
|
+
* end
|
187
|
+
* end
|
188
|
+
*
|
189
|
+
* Groonga["Users.age"].reindex
|
190
|
+
* # They are called:
|
191
|
+
* # Groonga["Numbers.Users_age"].reindex
|
192
|
+
* # Groonga["Ages.Users_age"].reindex
|
193
|
+
* #
|
194
|
+
* # They aren't called:
|
195
|
+
* # Groonga["Numbers.Users_score"].reindex
|
196
|
+
* # Groonga["Scores.Users_score"].reindex
|
197
|
+
*
|
198
|
+
* @overload reindex
|
199
|
+
* @return [void]
|
200
|
+
*
|
201
|
+
* @see Groonga::Database#reindex
|
202
|
+
* @see Groonga::TableKeySupport#reindex
|
203
|
+
* @see Groonga::VariableSizeColumn#reindex
|
204
|
+
* @see Groonga::IndexColumn#reindex
|
205
|
+
*
|
206
|
+
* @since 5.1.1
|
207
|
+
*/
|
208
|
+
static VALUE
|
209
|
+
rb_grn_fix_size_column_reindex (VALUE self)
|
210
|
+
{
|
211
|
+
grn_rc rc;
|
212
|
+
grn_ctx *context;
|
213
|
+
grn_obj *column;
|
214
|
+
|
215
|
+
rb_grn_column_deconstruct(SELF(self), &column, &context,
|
216
|
+
NULL, NULL,
|
217
|
+
NULL, NULL, NULL);
|
218
|
+
|
219
|
+
rc = grn_obj_reindex(context, column);
|
220
|
+
rb_grn_context_check(context, self);
|
221
|
+
rb_grn_rc_check(rc, self);
|
222
|
+
|
223
|
+
return Qnil;
|
224
|
+
}
|
225
|
+
|
144
226
|
void
|
145
227
|
rb_grn_init_fix_size_column (VALUE mGrn)
|
146
228
|
{
|
@@ -156,4 +238,7 @@ rb_grn_init_fix_size_column (VALUE mGrn)
|
|
156
238
|
rb_grn_fix_size_column_increment, -1);
|
157
239
|
rb_define_method(rb_cGrnFixSizeColumn, "decrement!",
|
158
240
|
rb_grn_fix_size_column_decrement, -1);
|
241
|
+
|
242
|
+
rb_define_method(rb_cGrnFixSizeColumn, "reindex",
|
243
|
+
rb_grn_fix_size_column_reindex, 0);
|
159
244
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
5
|
|
5
6
|
This library is free software; you can redistribute it and/or
|
6
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -1187,6 +1188,84 @@ rb_grn_index_column_estimate_size (int argc, VALUE *argv, VALUE self)
|
|
1187
1188
|
return UINT2NUM(size);
|
1188
1189
|
}
|
1189
1190
|
|
1191
|
+
/*
|
1192
|
+
* Recreates the index column.
|
1193
|
+
*
|
1194
|
+
* This method is useful when you have a broken index column.
|
1195
|
+
*
|
1196
|
+
* You can use {Groonga::Database#reindex} to recreate all index
|
1197
|
+
* columns in a database.
|
1198
|
+
*
|
1199
|
+
* You can use {Groonga::TableKeySupport#reindex} to recreate all
|
1200
|
+
* index columns in a table.
|
1201
|
+
*
|
1202
|
+
* You can use {Groonga::FixSizeColumn#reindex} or
|
1203
|
+
* {Groonga::VariableSizeColumn#reindex} to recreate all index
|
1204
|
+
* columns. They use index columns of the data column as
|
1205
|
+
* reindex target index columns.
|
1206
|
+
*
|
1207
|
+
* @example How to recreate the index column.
|
1208
|
+
* Groonga::Schema.define do |schema|
|
1209
|
+
* schema.create_table("Memos") do |table|
|
1210
|
+
* table.short_text("title")
|
1211
|
+
* table.text("content")
|
1212
|
+
* end
|
1213
|
+
*
|
1214
|
+
* schema.create_table("BigramTerms",
|
1215
|
+
* :type => :patricia_trie,
|
1216
|
+
* :key_type => :short_text,
|
1217
|
+
* :normalizer => "NormalizerAuto",
|
1218
|
+
* :default_tokenizer => "TokenBigram") do |table|
|
1219
|
+
* table.index("Memos.title")
|
1220
|
+
* table.index("Memos.content")
|
1221
|
+
* end
|
1222
|
+
*
|
1223
|
+
* schema.create_table("MeCabTerms",
|
1224
|
+
* :type => :patricia_trie,
|
1225
|
+
* :key_type => :short_text,
|
1226
|
+
* :normalizer => "NormalizerAuto",
|
1227
|
+
* :default_tokenizer => "TokenMecab") do |table|
|
1228
|
+
* table.index("Memos.title")
|
1229
|
+
* table.index("Memos.content")
|
1230
|
+
* end
|
1231
|
+
* end
|
1232
|
+
*
|
1233
|
+
* Groonga["MeCabTerms.Memos_content"].reindex
|
1234
|
+
* # They aren't called:
|
1235
|
+
* # Groonga["BigramTerms.Memos_title"].reindex
|
1236
|
+
* # Groonga["BigramTerms.Memos_content"].reindex
|
1237
|
+
* # Groonga["MeCabTerms.Memos_title"].reindex
|
1238
|
+
*
|
1239
|
+
* @overload reindex
|
1240
|
+
* @return [void]
|
1241
|
+
*
|
1242
|
+
* @see Groonga::Database#reindex
|
1243
|
+
* @see Groonga::TableKeySupport#reindex
|
1244
|
+
* @see Groonga::FixSizeColumn#reindex
|
1245
|
+
* @see Groonga::VariableSizeColumn#reindex
|
1246
|
+
*
|
1247
|
+
* @since 5.1.1
|
1248
|
+
*/
|
1249
|
+
static VALUE
|
1250
|
+
rb_grn_index_column_reindex (VALUE self)
|
1251
|
+
{
|
1252
|
+
grn_rc rc;
|
1253
|
+
grn_ctx *context;
|
1254
|
+
grn_obj *column;
|
1255
|
+
|
1256
|
+
rb_grn_index_column_deconstruct(SELF(self), &column, &context,
|
1257
|
+
NULL, NULL,
|
1258
|
+
NULL, NULL, NULL,
|
1259
|
+
NULL, NULL,
|
1260
|
+
NULL, NULL);
|
1261
|
+
|
1262
|
+
rc = grn_obj_reindex(context, column);
|
1263
|
+
rb_grn_context_check(context, self);
|
1264
|
+
rb_grn_rc_check(rc, self);
|
1265
|
+
|
1266
|
+
return Qnil;
|
1267
|
+
}
|
1268
|
+
|
1190
1269
|
void
|
1191
1270
|
rb_grn_init_index_column (VALUE mGrn)
|
1192
1271
|
{
|
@@ -1225,4 +1304,7 @@ rb_grn_init_index_column (VALUE mGrn)
|
|
1225
1304
|
|
1226
1305
|
rb_define_method(rb_cGrnIndexColumn, "estimate_size",
|
1227
1306
|
rb_grn_index_column_estimate_size, -1);
|
1307
|
+
|
1308
|
+
rb_define_method(rb_cGrnIndexColumn, "reindex",
|
1309
|
+
rb_grn_index_column_reindex, 0);
|
1228
1310
|
}
|
data/ext/groonga/rb-grn-object.c
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
Copyright (C) 2014-
|
4
|
+
Copyright (C) 2014-2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
7
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -1656,6 +1656,68 @@ rb_grn_object_scorer_procedure_p (VALUE self)
|
|
1656
1656
|
return CBOOL2RVAL(scorer_procedure_p);
|
1657
1657
|
}
|
1658
1658
|
|
1659
|
+
/*
|
1660
|
+
* Checks whether the object is accessor or not.
|
1661
|
+
*
|
1662
|
+
* @overload accessor?
|
1663
|
+
* @return [Boolean] `true` if the object is accessor,
|
1664
|
+
* `false` otherwise.
|
1665
|
+
*
|
1666
|
+
* @since 5.1.1
|
1667
|
+
*/
|
1668
|
+
static VALUE
|
1669
|
+
rb_grn_object_accessor_p (VALUE self)
|
1670
|
+
{
|
1671
|
+
grn_ctx *context;
|
1672
|
+
grn_obj *object;
|
1673
|
+
grn_bool accessor_p = GRN_FALSE;
|
1674
|
+
|
1675
|
+
rb_grn_object_deconstruct(SELF(self), &object, &context,
|
1676
|
+
NULL, NULL, NULL, NULL);
|
1677
|
+
|
1678
|
+
if (context && object) {
|
1679
|
+
accessor_p = grn_obj_is_accessor(context, object);
|
1680
|
+
}
|
1681
|
+
|
1682
|
+
return CBOOL2RVAL(accessor_p);
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
/*
|
1686
|
+
* Checks whether the object is key accessor or not.
|
1687
|
+
*
|
1688
|
+
* @example `true` case: `column("_key")` is an accessor and it's an accessor for `_key`
|
1689
|
+
* Groonga::Schema.create_table("Users", :key_type => :short_text)
|
1690
|
+
* users = Groonga["Users"]
|
1691
|
+
* users.column("_key").key_accessor? # => true
|
1692
|
+
*
|
1693
|
+
* @example `false` case: `column("_id")` is an accessor but it's not an accessor for `_key`
|
1694
|
+
* Groonga::Schema.create_table("Users", :key_type => :short_text)
|
1695
|
+
* users = Groonga["Users"]
|
1696
|
+
* users.column("_id").key_accessor? # => false
|
1697
|
+
*
|
1698
|
+
* @overload key_accessor?
|
1699
|
+
* @return [Boolean] `true` if the object is key accessor,
|
1700
|
+
* `false` otherwise.
|
1701
|
+
*
|
1702
|
+
* @since 5.1.1
|
1703
|
+
*/
|
1704
|
+
static VALUE
|
1705
|
+
rb_grn_object_key_accessor_p (VALUE self)
|
1706
|
+
{
|
1707
|
+
grn_ctx *context;
|
1708
|
+
grn_obj *object;
|
1709
|
+
grn_bool key_accessor_p = GRN_FALSE;
|
1710
|
+
|
1711
|
+
rb_grn_object_deconstruct(SELF(self), &object, &context,
|
1712
|
+
NULL, NULL, NULL, NULL);
|
1713
|
+
|
1714
|
+
if (context && object) {
|
1715
|
+
key_accessor_p = grn_obj_is_key_accessor(context, object);
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
return CBOOL2RVAL(key_accessor_p);
|
1719
|
+
}
|
1720
|
+
|
1659
1721
|
void
|
1660
1722
|
rb_grn_init_object (VALUE mGrn)
|
1661
1723
|
{
|
@@ -1701,4 +1763,8 @@ rb_grn_init_object (VALUE mGrn)
|
|
1701
1763
|
rb_grn_object_selector_only_procedure_p, 0);
|
1702
1764
|
rb_define_method(rb_cGrnObject, "scorer_procedure?",
|
1703
1765
|
rb_grn_object_scorer_procedure_p, 0);
|
1766
|
+
rb_define_method(rb_cGrnObject, "accessor?",
|
1767
|
+
rb_grn_object_accessor_p, 0);
|
1768
|
+
rb_define_method(rb_cGrnObject, "key_accessor?",
|
1769
|
+
rb_grn_object_key_accessor_p, 0);
|
1704
1770
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
4
3
|
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
Copyright (C) 2014-2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
7
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -1025,6 +1025,89 @@ rb_grn_table_key_support_tokenize (int argc, VALUE *argv, VALUE self)
|
|
1025
1025
|
return rb_tokens;
|
1026
1026
|
}
|
1027
1027
|
|
1028
|
+
/*
|
1029
|
+
* Recreates all index columns in the table.
|
1030
|
+
*
|
1031
|
+
* This method is useful when you have any broken index columns in
|
1032
|
+
* the table. You don't need to specify each index column. But this
|
1033
|
+
* method spends more time rather than you specify only reindex
|
1034
|
+
* needed index columns.
|
1035
|
+
*
|
1036
|
+
* You can use {Groonga::Database#reindex} to recreate all index
|
1037
|
+
* columns in a database.
|
1038
|
+
*
|
1039
|
+
* You can use {Groonga::FixSizeColumn#reindex} or
|
1040
|
+
* {Groonga::VariableSizeColumn#reindex} to specify reindex target
|
1041
|
+
* index columns. They use index columns of the data column as
|
1042
|
+
* reindex target index columns.
|
1043
|
+
*
|
1044
|
+
* You can use {Groonga::IndexColumn#reindex} to specify the reindex
|
1045
|
+
* target index column.
|
1046
|
+
*
|
1047
|
+
* @example How to recreate all index columns in the table
|
1048
|
+
* Groonga::Schema.define do |schema|
|
1049
|
+
* schema.create_table("Memos") do |table|
|
1050
|
+
* table.short_text("title")
|
1051
|
+
* table.text("content")
|
1052
|
+
* end
|
1053
|
+
*
|
1054
|
+
* schema.create_table("BigramTerms",
|
1055
|
+
* :type => :patricia_trie,
|
1056
|
+
* :key_type => :short_text,
|
1057
|
+
* :normalizer => "NormalizerAuto",
|
1058
|
+
* :default_tokenizer => "TokenBigram") do |table|
|
1059
|
+
* table.index("Memos.title")
|
1060
|
+
* table.index("Memos.content")
|
1061
|
+
* end
|
1062
|
+
*
|
1063
|
+
* schema.create_table("MeCabTerms",
|
1064
|
+
* :type => :patricia_trie,
|
1065
|
+
* :key_type => :short_text,
|
1066
|
+
* :normalizer => "NormalizerAuto",
|
1067
|
+
* :default_tokenizer => "TokenMecab") do |table|
|
1068
|
+
* table.index("Memos.title")
|
1069
|
+
* table.index("Memos.content")
|
1070
|
+
* end
|
1071
|
+
* end
|
1072
|
+
*
|
1073
|
+
* Groonga["BigramTerms"].reindex
|
1074
|
+
* # They are called:
|
1075
|
+
* # Groonga["BigramTerms.Memos_title"].reindex
|
1076
|
+
* # Groonga["BigramTerms.Memos_content"].reindex
|
1077
|
+
* #
|
1078
|
+
* # They aren't called:
|
1079
|
+
* # Groonga["MeCabTerms.Memos_title"].reindex
|
1080
|
+
* # Groonga["MeCabTerms.Memos_content"].reindex
|
1081
|
+
*
|
1082
|
+
* @overload reindex
|
1083
|
+
* @return [void]
|
1084
|
+
*
|
1085
|
+
* @see Groonga::Database#reindex
|
1086
|
+
* @see Groonga::FixSizeColumn#reindex
|
1087
|
+
* @see Groonga::VariableSizeColumn#reindex
|
1088
|
+
* @see Groonga::IndexColumn#reindex
|
1089
|
+
*
|
1090
|
+
* @since 5.1.1
|
1091
|
+
*/
|
1092
|
+
static VALUE
|
1093
|
+
rb_grn_table_key_support_reindex (VALUE self)
|
1094
|
+
{
|
1095
|
+
grn_rc rc;
|
1096
|
+
grn_ctx *context;
|
1097
|
+
grn_obj *table;
|
1098
|
+
|
1099
|
+
rb_grn_table_key_support_deconstruct(SELF(self), &table, &context,
|
1100
|
+
NULL, NULL, NULL,
|
1101
|
+
NULL, NULL, NULL,
|
1102
|
+
NULL);
|
1103
|
+
|
1104
|
+
rc = grn_obj_reindex(context, table);
|
1105
|
+
rb_grn_context_check(context, self);
|
1106
|
+
rb_grn_rc_check(rc, self);
|
1107
|
+
|
1108
|
+
return Qnil;
|
1109
|
+
}
|
1110
|
+
|
1028
1111
|
void
|
1029
1112
|
rb_grn_init_table_key_support (VALUE mGrn)
|
1030
1113
|
{
|
@@ -1084,4 +1167,7 @@ rb_grn_init_table_key_support (VALUE mGrn)
|
|
1084
1167
|
|
1085
1168
|
rb_define_method(rb_mGrnTableKeySupport, "tokenize",
|
1086
1169
|
rb_grn_table_key_support_tokenize, -1);
|
1170
|
+
|
1171
|
+
rb_define_method(rb_mGrnTableKeySupport, "reindex",
|
1172
|
+
rb_grn_table_key_support_reindex, 0);
|
1087
1173
|
}
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
3
|
Copyright (C) 2009-2015 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
Copyright (C) 2014-2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
7
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -1376,7 +1376,7 @@ rb_grn_table_geo_sort (int argc, VALUE *argv, VALUE self)
|
|
1376
1376
|
|
1377
1377
|
rb_scan_args(argc, argv, "21", &rb_column, &rb_base_geo_point, &rb_options);
|
1378
1378
|
|
1379
|
-
column =
|
1379
|
+
column = RVAL2GRNOBJECT(rb_column, &context);
|
1380
1380
|
column_range_id = grn_obj_get_range(context, column);
|
1381
1381
|
switch (column_range_id) {
|
1382
1382
|
case GRN_DB_TOKYO_GEO_POINT:
|