rroonga 5.0.8-x64-mingw32 → 5.0.9-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 +18 -6
- data/ext/groonga/rb-grn-conf.c +145 -0
- data/ext/groonga/rb-grn-expression.c +34 -0
- data/ext/groonga/rb-grn-table.c +113 -0
- data/ext/groonga/rb-grn-utils.c +5 -1
- data/ext/groonga/rb-grn.h +2 -1
- data/ext/groonga/rb-groonga.c +1 -0
- 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/groonga/context.rb +9 -1
- data/lib/groonga/expression-builder.rb +0 -1
- data/rroonga-build.rb +3 -3
- data/test/test-conf.rb +31 -0
- data/test/test-table.rb +36 -0
- 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/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/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/include/groonga/groonga/conf.h +42 -0
- data/vendor/local/include/groonga/groonga/expr.h +2 -1
- data/vendor/local/include/groonga/groonga/geo.h +39 -0
- data/vendor/local/include/groonga/groonga/groonga.h +7 -0
- data/vendor/local/include/groonga/groonga/obj.h +50 -0
- data/vendor/local/include/groonga/groonga/output.h +3 -1
- data/vendor/local/include/groonga/groonga/plugin.h +2 -0
- data/vendor/local/include/groonga/groonga/windows.h +34 -0
- data/vendor/local/include/groonga/groonga.h +3 -0
- data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +38 -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/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/expression.rb +31 -3
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriter.rb +22 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +31 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/record.rb +26 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +6 -6
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +5 -5
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.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.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.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.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/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 +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +16 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +131 -0
- 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 +5 -5
- 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 +9 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +156 -68
- 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 +25 -10
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +5 -5
- 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 +14 -14
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference.html +5 -5
- 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/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 +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +16 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +131 -0
- 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 +5 -5
- 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 +9 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +159 -69
- 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 +25 -10
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +5 -5
- 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 +14 -14
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/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/mruby/LEGAL +136 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +59 -45
- data/vendor/local/share/man/man1/groonga.1 +59 -45
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d3c018ff61acda6b39082a9dbfc5e2887888046
|
4
|
+
data.tar.gz: 03379c5e5e1df1c459ec5469eeecbb0cd33fa6c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494ad4a1389a7bba5c32d708dfbe1d5c6b6db9e28cffef4758265cdc18a179facb9f26a6960e44551ad79dddc95f039326f2f300bf73b87b1e5cfede131a5fae
|
7
|
+
data.tar.gz: 917dc9d24a83cd51d6ea1d8cbcc18269432552653fc390f35d9862e29212b6d750f747fd0dc6a53072815db34e97db48d078821ae338620b6657e516921ff54d
|
data/Rakefile
CHANGED
@@ -88,6 +88,10 @@ def collect_binary_files(binary_dir)
|
|
88
88
|
binary_files
|
89
89
|
end
|
90
90
|
|
91
|
+
def windows_gem_name(spec, architecture)
|
92
|
+
"#{spec.name}-#{spec.version}-#{architecture}-mingw32.gem"
|
93
|
+
end
|
94
|
+
|
91
95
|
relative_vendor_dir = "vendor"
|
92
96
|
relative_binary_dir = File.join("vendor", "local")
|
93
97
|
vendor_dir = File.join(base_dir, relative_vendor_dir)
|
@@ -149,13 +153,13 @@ namespace :clean do
|
|
149
153
|
end
|
150
154
|
end
|
151
155
|
|
152
|
-
|
153
|
-
architectures = [:x86, :x64]
|
156
|
+
windows_architectures = [:x86, :x64]
|
154
157
|
|
158
|
+
namespace :build do
|
155
159
|
namespace :windows do
|
156
160
|
ruby_versions = "2.0.0:2.1.6:2.2.2"
|
157
161
|
|
158
|
-
|
162
|
+
windows_architectures.each do |architecture|
|
159
163
|
desc "Build gem for Windows #{architecture}"
|
160
164
|
task architecture do
|
161
165
|
build_dir = "tmp/windows"
|
@@ -179,18 +183,26 @@ namespace :build do
|
|
179
183
|
require "rake_compiler_dock"
|
180
184
|
RakeCompilerDock.sh(raw_command_line)
|
181
185
|
|
182
|
-
|
183
|
-
cp("#{build_dir}/pkg/rroonga-#{version}-#{architecture}-mingw32.gem",
|
186
|
+
cp("#{build_dir}/pkg/#{windows_gem_name(spec, architecture)}",
|
184
187
|
"pkg/")
|
185
188
|
end
|
186
189
|
end
|
187
190
|
end
|
188
191
|
|
189
192
|
desc "Build gems for Windows"
|
190
|
-
build_tasks =
|
193
|
+
build_tasks = windows_architectures.collect do |architecture|
|
191
194
|
"windows:#{architecture}"
|
192
195
|
end
|
193
196
|
task :windows => build_tasks
|
194
197
|
end
|
195
198
|
|
199
|
+
namespace :release do
|
200
|
+
desc "Push gems for Windows to RubyGems.org"
|
201
|
+
task :windows do
|
202
|
+
windows_architectures.each do |architecture|
|
203
|
+
ruby("-S", "gem", "push", "pkg/#{windows_gem_name(spec, architecture)}")
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
196
208
|
task :default => :test
|
@@ -0,0 +1,145 @@
|
|
1
|
+
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
|
+
/*
|
3
|
+
Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
|
5
|
+
This library is free software; you can redistribute it and/or
|
6
|
+
modify it under the terms of the GNU Lesser General Public
|
7
|
+
License version 2.1 as published by the Free Software Foundation.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#include "rb-grn.h"
|
20
|
+
|
21
|
+
#define SELF(object) (RVAL2GRNCONTEXT(object))
|
22
|
+
|
23
|
+
/*
|
24
|
+
* Document-class: Groonga::Conf
|
25
|
+
*
|
26
|
+
* This class manages database global configurations. Each
|
27
|
+
* configuration is key and value pair.
|
28
|
+
*/
|
29
|
+
|
30
|
+
/*
|
31
|
+
* Creates a new configuration set for `context`.
|
32
|
+
*
|
33
|
+
* @overload initialize(context=nil)
|
34
|
+
* @param [Groonga::Context, nil] context The context to be configured.
|
35
|
+
* If `context` is `nil`, {Groonga::Context.default} is used.
|
36
|
+
*
|
37
|
+
* @since 5.0.9
|
38
|
+
*/
|
39
|
+
static VALUE
|
40
|
+
rb_grn_conf_initialize (VALUE self, VALUE rb_context)
|
41
|
+
{
|
42
|
+
rb_iv_set(self, "@context", rb_context);
|
43
|
+
|
44
|
+
return Qnil;
|
45
|
+
}
|
46
|
+
|
47
|
+
/*
|
48
|
+
* Gets a configuration value for key.
|
49
|
+
*
|
50
|
+
* @overload conf[](key)
|
51
|
+
* @param [String] key The key.
|
52
|
+
* @return [String, nil] The value associated with `key`.
|
53
|
+
*
|
54
|
+
* @since 5.0.9
|
55
|
+
*/
|
56
|
+
static VALUE
|
57
|
+
rb_grn_conf_get (VALUE self, VALUE rb_key)
|
58
|
+
{
|
59
|
+
VALUE rb_context;
|
60
|
+
VALUE rb_value;
|
61
|
+
grn_ctx *context;
|
62
|
+
const char *key;
|
63
|
+
int key_size;
|
64
|
+
const char *value;
|
65
|
+
uint32_t value_size;
|
66
|
+
|
67
|
+
rb_context = rb_iv_get(self, "@context");
|
68
|
+
context = rb_grn_context_ensure(&rb_context);
|
69
|
+
|
70
|
+
rb_key = rb_grn_convert_to_string(rb_key);
|
71
|
+
key = RSTRING_PTR(rb_key);
|
72
|
+
key_size = RSTRING_LEN(rb_key);
|
73
|
+
|
74
|
+
{
|
75
|
+
grn_rc rc;
|
76
|
+
rc = grn_conf_get(context,
|
77
|
+
key, key_size,
|
78
|
+
&value, &value_size);
|
79
|
+
rb_grn_context_check(context, self);
|
80
|
+
rb_grn_rc_check(rc, self);
|
81
|
+
}
|
82
|
+
|
83
|
+
if (value_size == 0) {
|
84
|
+
rb_value = Qnil;
|
85
|
+
} else {
|
86
|
+
rb_value = rb_grn_context_rb_string_new(context, value, value_size);
|
87
|
+
}
|
88
|
+
|
89
|
+
return rb_value;
|
90
|
+
}
|
91
|
+
|
92
|
+
/*
|
93
|
+
* Sets a configuration key and value pair.
|
94
|
+
*
|
95
|
+
* @overload conf[]=(key, value)
|
96
|
+
* @param [String] key The key.
|
97
|
+
* @param [String] value The value to be assigned.
|
98
|
+
* @return [String] `value`.
|
99
|
+
*/
|
100
|
+
static VALUE
|
101
|
+
rb_grn_conf_set (VALUE self, VALUE rb_key, VALUE rb_value)
|
102
|
+
{
|
103
|
+
VALUE rb_value_original = rb_value;
|
104
|
+
VALUE rb_context;
|
105
|
+
grn_ctx *context;
|
106
|
+
const char *key;
|
107
|
+
int key_size;
|
108
|
+
const char *value;
|
109
|
+
int value_size;
|
110
|
+
|
111
|
+
rb_context = rb_iv_get(self, "@context");
|
112
|
+
context = rb_grn_context_ensure(&rb_context);
|
113
|
+
|
114
|
+
rb_key = rb_grn_convert_to_string(rb_key);
|
115
|
+
key = RSTRING_PTR(rb_key);
|
116
|
+
key_size = RSTRING_LEN(rb_key);
|
117
|
+
|
118
|
+
rb_value = rb_grn_convert_to_string(rb_value);
|
119
|
+
value = RSTRING_PTR(rb_value);
|
120
|
+
value_size = RSTRING_LEN(rb_value);
|
121
|
+
|
122
|
+
{
|
123
|
+
grn_rc rc;
|
124
|
+
rc = grn_conf_set(context,
|
125
|
+
key, key_size,
|
126
|
+
value, value_size);
|
127
|
+
rb_grn_context_check(context, self);
|
128
|
+
rb_grn_rc_check(rc, self);
|
129
|
+
}
|
130
|
+
|
131
|
+
return rb_value_original;
|
132
|
+
}
|
133
|
+
|
134
|
+
void
|
135
|
+
rb_grn_init_conf (VALUE mGrn)
|
136
|
+
{
|
137
|
+
VALUE cGrnConf;
|
138
|
+
|
139
|
+
cGrnConf = rb_define_class_under(mGrn, "Conf", rb_cObject);
|
140
|
+
|
141
|
+
rb_define_method(cGrnConf, "initialize", rb_grn_conf_initialize, 1);
|
142
|
+
|
143
|
+
rb_define_method(cGrnConf, "[]", rb_grn_conf_get, 1);
|
144
|
+
rb_define_method(cGrnConf, "[]=", rb_grn_conf_set, 2);
|
145
|
+
}
|
@@ -824,6 +824,37 @@ rb_grn_expression_estimate_size (VALUE self)
|
|
824
824
|
return UINT2NUM(size);
|
825
825
|
}
|
826
826
|
|
827
|
+
/*
|
828
|
+
* Rewrites expression.
|
829
|
+
*
|
830
|
+
* @example
|
831
|
+
* expression.parse("age >= 10 AND age < 20",
|
832
|
+
* :syntax => :script)
|
833
|
+
* expression.rewrite # => New rewritten expression.
|
834
|
+
* # It'll use between(age, 10, "include", 20, "exclude")
|
835
|
+
*
|
836
|
+
* @overload rewrite
|
837
|
+
* @return [Groonga::Expression, nil] new rewritten expression when
|
838
|
+
* the expression is rewritten, `nil` otherwise.
|
839
|
+
*
|
840
|
+
* @since 5.1.0
|
841
|
+
*/
|
842
|
+
static VALUE
|
843
|
+
rb_grn_expression_rewrite (VALUE self)
|
844
|
+
{
|
845
|
+
grn_ctx *context = NULL;
|
846
|
+
grn_obj *expression;
|
847
|
+
grn_obj *rewritten_expression;
|
848
|
+
|
849
|
+
rb_grn_expression_deconstruct(SELF(self), &expression, &context,
|
850
|
+
NULL, NULL,
|
851
|
+
NULL, NULL, NULL);
|
852
|
+
|
853
|
+
rewritten_expression = grn_expr_rewrite(context, expression);
|
854
|
+
|
855
|
+
return GRNOBJECT2RVAL(Qnil, context, rewritten_expression, GRN_TRUE);
|
856
|
+
}
|
857
|
+
|
827
858
|
void
|
828
859
|
rb_grn_init_expression (VALUE mGrn)
|
829
860
|
{
|
@@ -865,4 +896,7 @@ rb_grn_init_expression (VALUE mGrn)
|
|
865
896
|
|
866
897
|
rb_define_method(rb_cGrnExpression, "estimate_size",
|
867
898
|
rb_grn_expression_estimate_size, 0);
|
899
|
+
|
900
|
+
rb_define_method(rb_cGrnExpression, "rewrite",
|
901
|
+
rb_grn_expression_rewrite, 0);
|
868
902
|
}
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1313,6 +1313,118 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
|
1313
1313
|
return GRNOBJECT2RVAL(Qnil, context, result, GRN_TRUE);
|
1314
1314
|
}
|
1315
1315
|
|
1316
|
+
/*
|
1317
|
+
* Sorts records in the table by `TokyoGeoPoint` or `WGS84GeoPoint`
|
1318
|
+
* type column value. Order is near to far from base geo point.
|
1319
|
+
*
|
1320
|
+
* @overload geo_sort(column, base_geo_point, options={})
|
1321
|
+
* @param options [::Hash] The name and value
|
1322
|
+
* pairs. Omitted names are initialized as the default value.
|
1323
|
+
*
|
1324
|
+
* @option options :offset (0)
|
1325
|
+
*
|
1326
|
+
* It specifies what number record should be the first record in
|
1327
|
+
* returned table. It's 0-based.
|
1328
|
+
*
|
1329
|
+
* If you specify `0`, the 0th record, the 1st record, the 2nd
|
1330
|
+
* record, ... are returned.
|
1331
|
+
*
|
1332
|
+
* If you specify `0`, the 1st record, the 2nd record, ... are
|
1333
|
+
* returned. The 0th record isn't returned.
|
1334
|
+
*
|
1335
|
+
* The default is `0`.
|
1336
|
+
*
|
1337
|
+
* @option options :limit (-1)
|
1338
|
+
*
|
1339
|
+
* It specifies up to how many records are returned. If `-1` is
|
1340
|
+
* specified, all records are returned.
|
1341
|
+
*
|
1342
|
+
* The default is `-1`.
|
1343
|
+
*
|
1344
|
+
* @return [Groonga::Array] The sorted result. You can get the
|
1345
|
+
* original record by {#value} method of a record in the sorted
|
1346
|
+
* result. Normally, you doesn't need to get the original record
|
1347
|
+
* because you can access via column name method:
|
1348
|
+
*
|
1349
|
+
* If you want to access the key of the original record, you need to
|
1350
|
+
* get the original record.
|
1351
|
+
*
|
1352
|
+
* @since 5.0.9
|
1353
|
+
*/
|
1354
|
+
static VALUE
|
1355
|
+
rb_grn_table_geo_sort (int argc, VALUE *argv, VALUE self)
|
1356
|
+
{
|
1357
|
+
grn_ctx *context = NULL;
|
1358
|
+
grn_obj *table;
|
1359
|
+
VALUE rb_column;
|
1360
|
+
VALUE rb_base_geo_point;
|
1361
|
+
VALUE rb_options;
|
1362
|
+
VALUE rb_offset;
|
1363
|
+
VALUE rb_limit;
|
1364
|
+
grn_obj *column;
|
1365
|
+
grn_id column_range_id;
|
1366
|
+
grn_obj base_geo_point;
|
1367
|
+
int offset = 0;
|
1368
|
+
int limit = -1;
|
1369
|
+
grn_obj *result;
|
1370
|
+
VALUE exception;
|
1371
|
+
|
1372
|
+
rb_grn_table_deconstruct(SELF(self), &table, &context,
|
1373
|
+
NULL, NULL,
|
1374
|
+
NULL, NULL, NULL,
|
1375
|
+
NULL);
|
1376
|
+
|
1377
|
+
rb_scan_args(argc, argv, "21", &rb_column, &rb_base_geo_point, &rb_options);
|
1378
|
+
|
1379
|
+
column = RVAL2GRNCOLUMN(rb_column, &context);
|
1380
|
+
column_range_id = grn_obj_get_range(context, column);
|
1381
|
+
switch (column_range_id) {
|
1382
|
+
case GRN_DB_TOKYO_GEO_POINT:
|
1383
|
+
GRN_TOKYO_GEO_POINT_INIT(&base_geo_point, 0);
|
1384
|
+
break;
|
1385
|
+
case GRN_DB_WGS84_GEO_POINT:
|
1386
|
+
GRN_WGS84_GEO_POINT_INIT(&base_geo_point, 0);
|
1387
|
+
break;
|
1388
|
+
default:
|
1389
|
+
rb_raise(rb_eArgError,
|
1390
|
+
"column's range must be TokyoGeoPoint or WGS84GeoPoint: %s",
|
1391
|
+
rb_grn_inspect(rb_column));
|
1392
|
+
break;
|
1393
|
+
}
|
1394
|
+
RVAL2GRNBULK_WITH_TYPE(rb_base_geo_point,
|
1395
|
+
context,
|
1396
|
+
&base_geo_point,
|
1397
|
+
column_range_id,
|
1398
|
+
grn_ctx_at(context, column_range_id));
|
1399
|
+
|
1400
|
+
rb_grn_scan_options(rb_options,
|
1401
|
+
"offset", &rb_offset,
|
1402
|
+
"limit", &rb_limit,
|
1403
|
+
NULL);
|
1404
|
+
|
1405
|
+
if (!NIL_P(rb_offset))
|
1406
|
+
offset = NUM2INT(rb_offset);
|
1407
|
+
if (!NIL_P(rb_limit))
|
1408
|
+
limit = NUM2INT(rb_limit);
|
1409
|
+
/* TODO: Remove me when Groonga 5.1.0 is released. */
|
1410
|
+
if (limit < 0)
|
1411
|
+
limit = grn_table_size(context, table) + limit + 1;
|
1412
|
+
|
1413
|
+
result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_NO_KEY,
|
1414
|
+
NULL, table);
|
1415
|
+
grn_geo_table_sort(context, table, offset, limit,
|
1416
|
+
result, column, &base_geo_point);
|
1417
|
+
exception = rb_grn_context_to_exception(context, self);
|
1418
|
+
if (!NIL_P(exception)) {
|
1419
|
+
grn_obj_unlink(context, &base_geo_point);
|
1420
|
+
grn_obj_unlink(context, result);
|
1421
|
+
rb_exc_raise(exception);
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
grn_obj_unlink(context, &base_geo_point);
|
1425
|
+
return GRNOBJECT2RVAL(Qnil, context, result, GRN_TRUE);
|
1426
|
+
}
|
1427
|
+
|
1316
1428
|
/*
|
1317
1429
|
* _table_ のレコードを _key1_ , _key2_ , _..._ で指定したキーの
|
1318
1430
|
* 値でグループ化する。多くの場合、キーにはカラムを指定する。
|
@@ -2608,6 +2720,7 @@ rb_grn_init_table (VALUE mGrn)
|
|
2608
2720
|
rb_define_method(rb_cGrnTable, "delete", rb_grn_table_delete, -1);
|
2609
2721
|
|
2610
2722
|
rb_define_method(rb_cGrnTable, "sort", rb_grn_table_sort, -1);
|
2723
|
+
rb_define_method(rb_cGrnTable, "geo_sort", rb_grn_table_geo_sort, -1);
|
2611
2724
|
rb_define_method(rb_cGrnTable, "group", rb_grn_table_group, -1);
|
2612
2725
|
|
2613
2726
|
rb_define_method(rb_cGrnTable, "[]", rb_grn_table_array_reference, 1);
|
data/ext/groonga/rb-grn-utils.c
CHANGED
@@ -174,7 +174,11 @@ rb_grn_equal_string (const char *string1, const char *string2)
|
|
174
174
|
VALUE
|
175
175
|
rb_grn_convert_to_string (VALUE object)
|
176
176
|
{
|
177
|
-
|
177
|
+
if (rb_type(object) == T_SYMBOL) {
|
178
|
+
return rb_sym2str(object);
|
179
|
+
} else {
|
180
|
+
return rb_convert_type(object, RUBY_T_STRING, "String", "to_str");
|
181
|
+
}
|
178
182
|
}
|
179
183
|
|
180
184
|
VALUE
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -101,7 +101,7 @@ RB_GRN_BEGIN_DECLS
|
|
101
101
|
|
102
102
|
#define RB_GRN_MAJOR_VERSION 5
|
103
103
|
#define RB_GRN_MINOR_VERSION 0
|
104
|
-
#define RB_GRN_MICRO_VERSION
|
104
|
+
#define RB_GRN_MICRO_VERSION 9
|
105
105
|
|
106
106
|
#define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
|
107
107
|
|
@@ -354,6 +354,7 @@ void rb_grn_init_snippet (VALUE mGrn);
|
|
354
354
|
void rb_grn_init_plugin (VALUE mGrn);
|
355
355
|
void rb_grn_init_normalizer (VALUE mGrn);
|
356
356
|
void rb_grn_init_thread (VALUE mGrn);
|
357
|
+
void rb_grn_init_conf (VALUE mGrn);
|
357
358
|
|
358
359
|
VALUE rb_grn_rc_to_exception (grn_rc rc);
|
359
360
|
const char *rb_grn_rc_to_message (grn_rc rc);
|
data/ext/groonga/rb-groonga.c
CHANGED
data/lib/2.0/groonga.so
CHANGED
Binary file
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/2.2/groonga.so
CHANGED
Binary file
|
data/lib/groonga/context.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2010-
|
3
|
+
# Copyright (C) 2010-2015 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
|
@@ -346,5 +346,13 @@ module Groonga
|
|
346
346
|
memory_pool = @memory_pools.last
|
347
347
|
memory_pool.register(object)
|
348
348
|
end
|
349
|
+
|
350
|
+
# @return [Groonga::Conf] The database level configuration sets of
|
351
|
+
# this context.
|
352
|
+
#
|
353
|
+
# @since 5.0.9
|
354
|
+
def conf
|
355
|
+
@conf ||= Conf.new(self)
|
356
|
+
end
|
349
357
|
end
|
350
358
|
end
|
data/rroonga-build.rb
CHANGED
@@ -20,15 +20,15 @@ module RroongaBuild
|
|
20
20
|
module RequiredGroongaVersion
|
21
21
|
MAJOR = 5
|
22
22
|
MINOR = 0
|
23
|
-
MICRO =
|
23
|
+
MICRO = 9
|
24
24
|
VERSION = [MAJOR, MINOR, MICRO]
|
25
|
-
RELEASED_DATE = Time.utc(2015,
|
25
|
+
RELEASED_DATE = Time.utc(2015, 10, 29)
|
26
26
|
end
|
27
27
|
|
28
28
|
module LatestGroongaVersion
|
29
29
|
MAJOR = 5
|
30
30
|
MINOR = 0
|
31
|
-
MICRO =
|
31
|
+
MICRO = 9
|
32
32
|
VERSION = [MAJOR, MINOR, MICRO]
|
33
33
|
end
|
34
34
|
|
data/test/test-conf.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class ConfTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
setup :setup_database
|
20
|
+
|
21
|
+
sub_test_case "#[]" do
|
22
|
+
test "existent" do
|
23
|
+
context.conf["rroonga.key"] = "value"
|
24
|
+
assert_equal("value", context.conf["rroonga.key"])
|
25
|
+
end
|
26
|
+
|
27
|
+
test "nonexistent" do
|
28
|
+
assert_nil(context.conf["nonexistent"])
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
data/test/test-table.rb
CHANGED
@@ -421,6 +421,42 @@ class TableTest < Test::Unit::TestCase
|
|
421
421
|
sorted_bookmarks.collect(&:value))
|
422
422
|
end
|
423
423
|
|
424
|
+
sub_test_case "#geo_sort" do
|
425
|
+
setup
|
426
|
+
def setup_schema
|
427
|
+
Groonga::Schema.define do |schema|
|
428
|
+
schema.create_table("Posts") do |table|
|
429
|
+
table.wgs84_geo_point("location")
|
430
|
+
end
|
431
|
+
|
432
|
+
schema.create_table("Locations",
|
433
|
+
:type => :patricia_trie,
|
434
|
+
:key_type => "WGS84GeoPoint") do |table|
|
435
|
+
table.index("Posts.location")
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
@posts = Groonga["Posts"]
|
440
|
+
end
|
441
|
+
|
442
|
+
setup
|
443
|
+
def setup_data
|
444
|
+
@posts.add(:location => "35.720253x139.762573")
|
445
|
+
@posts.add(:location => "35.730061x139.796234")
|
446
|
+
@posts.add(:location => "35.685341x139.783981")
|
447
|
+
end
|
448
|
+
|
449
|
+
test "default" do
|
450
|
+
results = @posts.geo_sort(@posts.column("location"), "35.7119x139.7983")
|
451
|
+
assert_equal([
|
452
|
+
Groonga::WGS84GeoPoint.new("35.730061x139.796234"),
|
453
|
+
Groonga::WGS84GeoPoint.new("35.685341x139.783981"),
|
454
|
+
Groonga::WGS84GeoPoint.new("35.720253x139.762573"),
|
455
|
+
],
|
456
|
+
results.collect(&:location))
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
424
460
|
def test_union!
|
425
461
|
bookmarks = Groonga::Hash.create(:name => "Bookmarks")
|
426
462
|
bookmarks.define_column("title", "ShortText")
|
data/vendor/local/bin/grndb.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/lz4.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4c.exe
CHANGED
Binary file
|
data/vendor/local/bin/lz4cat
CHANGED
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
data/vendor/local/bin/zlib1.dll
CHANGED
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/* -*- c-basic-offset: 2 -*- */
|
2
|
+
/*
|
3
|
+
Copyright(C) 2015 Brazil
|
4
|
+
|
5
|
+
This library is free software; you can redistribute it and/or
|
6
|
+
modify it under the terms of the GNU Lesser General Public
|
7
|
+
License version 2.1 as published by the Free Software Foundation.
|
8
|
+
|
9
|
+
This library is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
Lesser General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU Lesser General Public
|
15
|
+
License along with this library; if not, write to the Free Software
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
|
+
*/
|
18
|
+
|
19
|
+
#ifndef GRN_CONF_H
|
20
|
+
#define GRN_CONF_H
|
21
|
+
|
22
|
+
#ifdef __cplusplus
|
23
|
+
extern "C" {
|
24
|
+
#endif
|
25
|
+
|
26
|
+
#define GRN_CONF_MAX_KEY_SIZE GRN_TABLE_MAX_KEY_SIZE
|
27
|
+
#define GRN_CONF_MAX_VALUE_SIZE \
|
28
|
+
(GRN_CONF_VALUE_SPACE_SIZE - sizeof(uint32_t) - 1) /* 1 is for '\0' */
|
29
|
+
#define GRN_CONF_VALUE_SPACE_SIZE (4 * 1024)
|
30
|
+
|
31
|
+
GRN_API grn_rc grn_conf_set(grn_ctx *ctx,
|
32
|
+
const char *key, int key_size,
|
33
|
+
const char *value, int value_size);
|
34
|
+
GRN_API grn_rc grn_conf_get(grn_ctx *ctx,
|
35
|
+
const char *key, int key_size,
|
36
|
+
const char **value, uint32_t *value_size);
|
37
|
+
|
38
|
+
#ifdef __cplusplus
|
39
|
+
}
|
40
|
+
#endif
|
41
|
+
|
42
|
+
#endif /* GRN_CONF_H */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright(C) 2009-
|
2
|
+
Copyright(C) 2009-2015 Brazil
|
3
3
|
|
4
4
|
This library is free software; you can redistribute it and/or
|
5
5
|
modify it under the terms of the GNU Lesser General Public
|
@@ -55,6 +55,7 @@ GRN_API grn_rc grn_expr_syntax_escape_query(grn_ctx *ctx,
|
|
55
55
|
grn_obj *escaped_query);
|
56
56
|
|
57
57
|
GRN_API grn_rc grn_expr_compile(grn_ctx *ctx, grn_obj *expr);
|
58
|
+
GRN_API grn_obj *grn_expr_rewrite(grn_ctx *ctx, grn_obj *expr);
|
58
59
|
GRN_API grn_rc grn_expr_dump_plan(grn_ctx *ctx, grn_obj *expr, grn_obj *buffer);
|
59
60
|
GRN_API grn_obj *grn_expr_exec(grn_ctx *ctx, grn_obj *expr, int nargs);
|
60
61
|
|