rroonga 5.0.8-x86-mingw32 → 5.0.9-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.h +3 -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/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.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.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/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/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +9 -5
 - data/vendor/local/share/doc/groonga/en/html/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news.html +156 -68
 - 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/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.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/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/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.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/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.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/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.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/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.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/output.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/query_expanders/tsv.html +14 -14
 - 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.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/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/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +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/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/spec.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/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +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/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.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.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/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/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +9 -5
 - data/vendor/local/share/doc/groonga/ja/html/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news.html +159 -69
 - 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/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.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/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/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.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/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.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/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.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/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.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/output.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/query_expanders/tsv.html +14 -14
 - 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.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/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/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/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/spec.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/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +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/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
 
    
        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 
     | 
| 
         @@ -20,13 +20,16 @@ 
     | 
|
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
            #include "groonga/portability.h"
         
     | 
| 
       22 
22 
     | 
    
         
             
            #include "groonga/groonga.h"
         
     | 
| 
      
 23 
     | 
    
         
            +
            #include "groonga/conf.h"
         
     | 
| 
       23 
24 
     | 
    
         
             
            #include "groonga/obj.h"
         
     | 
| 
       24 
25 
     | 
    
         
             
            #include "groonga/ii.h"
         
     | 
| 
      
 26 
     | 
    
         
            +
            #include "groonga/geo.h"
         
     | 
| 
       25 
27 
     | 
    
         
             
            #include "groonga/expr.h"
         
     | 
| 
       26 
28 
     | 
    
         
             
            #include "groonga/output.h"
         
     | 
| 
       27 
29 
     | 
    
         
             
            #include "groonga/util.h"
         
     | 
| 
       28 
30 
     | 
    
         
             
            #include "groonga/request_canceler.h"
         
     | 
| 
       29 
31 
     | 
    
         
             
            #include "groonga/thread.h"
         
     | 
| 
      
 32 
     | 
    
         
            +
            #include "groonga/windows.h"
         
     | 
| 
       30 
33 
     | 
    
         
             
            #include "groonga/windows_event_logger.h"
         
     | 
| 
       31 
34 
     | 
    
         | 
| 
       32 
35 
     | 
    
         
             
            #endif /* GROONGA_H */
         
     | 
| 
         @@ -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 
     | 
    
         | 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 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 as published by the Free Software Foundation; either
         
     | 
| 
      
 8 
     | 
    
         
            +
              version 2.1 of the License, or (at your option) any later version.
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
              This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 11 
     | 
    
         
            +
              but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 12 
     | 
    
         
            +
              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 13 
     | 
    
         
            +
              Lesser General Public License for more details.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 16 
     | 
    
         
            +
              License along with this library; if not, write to the Free Software
         
     | 
| 
      
 17 
     | 
    
         
            +
              Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 18 
     | 
    
         
            +
            */
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            #ifndef GROONGA_GEO_H
         
     | 
| 
      
 21 
     | 
    
         
            +
            #define GROONGA_GEO_H
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            #ifdef  __cplusplus
         
     | 
| 
      
 24 
     | 
    
         
            +
            extern "C" {
         
     | 
| 
      
 25 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            GRN_API int grn_geo_table_sort(grn_ctx *ctx,
         
     | 
| 
      
 28 
     | 
    
         
            +
                                           grn_obj *table,
         
     | 
| 
      
 29 
     | 
    
         
            +
                                           int offset,
         
     | 
| 
      
 30 
     | 
    
         
            +
                                           int limit,
         
     | 
| 
      
 31 
     | 
    
         
            +
                                           grn_obj *result,
         
     | 
| 
      
 32 
     | 
    
         
            +
                                           grn_obj *column,
         
     | 
| 
      
 33 
     | 
    
         
            +
                                           grn_obj *geo_point);
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            #ifdef __cplusplus
         
     | 
| 
      
 36 
     | 
    
         
            +
            }
         
     | 
| 
      
 37 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
            #endif /* GROONGA_GEO_H */
         
     | 
| 
         @@ -441,6 +441,13 @@ GRN_API grn_rc grn_ctx_use(grn_ctx *ctx, grn_obj *db); 
     | 
|
| 
       441 
441 
     | 
    
         
             
            GRN_API grn_obj *grn_ctx_db(grn_ctx *ctx);
         
     | 
| 
       442 
442 
     | 
    
         
             
            GRN_API grn_obj *grn_ctx_get(grn_ctx *ctx, const char *name, int name_size);
         
     | 
| 
       443 
443 
     | 
    
         
             
            GRN_API grn_rc grn_ctx_get_all_tables(grn_ctx *ctx, grn_obj *tables_buffer);
         
     | 
| 
      
 444 
     | 
    
         
            +
            GRN_API grn_rc grn_ctx_get_all_types(grn_ctx *ctx, grn_obj *types_buffer);
         
     | 
| 
      
 445 
     | 
    
         
            +
            GRN_API grn_rc grn_ctx_get_all_tokenizers(grn_ctx *ctx,
         
     | 
| 
      
 446 
     | 
    
         
            +
                                                      grn_obj *tokenizers_buffer);
         
     | 
| 
      
 447 
     | 
    
         
            +
            GRN_API grn_rc grn_ctx_get_all_normalizers(grn_ctx *ctx,
         
     | 
| 
      
 448 
     | 
    
         
            +
                                                       grn_obj *normalizers_buffer);
         
     | 
| 
      
 449 
     | 
    
         
            +
            GRN_API grn_rc grn_ctx_get_all_token_filters(grn_ctx *ctx,
         
     | 
| 
      
 450 
     | 
    
         
            +
                                                         grn_obj *token_filters_buffer);
         
     | 
| 
       444 
451 
     | 
    
         | 
| 
       445 
452 
     | 
    
         
             
            typedef enum {
         
     | 
| 
       446 
453 
     | 
    
         
             
              GRN_DB_VOID = 0,
         
     | 
| 
         @@ -23,12 +23,62 @@ 
     | 
|
| 
       23 
23 
     | 
    
         
             
            extern "C" {
         
     | 
| 
       24 
24 
     | 
    
         
             
            #endif
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
      
 26 
     | 
    
         
            +
            #define GRN_OBJ_IS_TRUE(ctx, obj, result) do {  \
         
     | 
| 
      
 27 
     | 
    
         
            +
              grn_obj *obj_ = (obj);                        \
         
     | 
| 
      
 28 
     | 
    
         
            +
              if (obj_) {                                   \
         
     | 
| 
      
 29 
     | 
    
         
            +
                switch (obj_->header.type) {                \
         
     | 
| 
      
 30 
     | 
    
         
            +
                case GRN_BULK :                             \
         
     | 
| 
      
 31 
     | 
    
         
            +
                  switch (obj_->header.domain) {            \
         
     | 
| 
      
 32 
     | 
    
         
            +
                  case GRN_DB_BOOL :                        \
         
     | 
| 
      
 33 
     | 
    
         
            +
                    result = GRN_BOOL_VALUE(obj_);          \
         
     | 
| 
      
 34 
     | 
    
         
            +
                    break;                                  \
         
     | 
| 
      
 35 
     | 
    
         
            +
                  case GRN_DB_INT32 :                       \
         
     | 
| 
      
 36 
     | 
    
         
            +
                    result = GRN_INT32_VALUE(obj_) != 0;    \
         
     | 
| 
      
 37 
     | 
    
         
            +
                    break;                                  \
         
     | 
| 
      
 38 
     | 
    
         
            +
                  case GRN_DB_UINT32 :                      \
         
     | 
| 
      
 39 
     | 
    
         
            +
                    result = GRN_UINT32_VALUE(obj_) != 0;   \
         
     | 
| 
      
 40 
     | 
    
         
            +
                    break;                                  \
         
     | 
| 
      
 41 
     | 
    
         
            +
                  case GRN_DB_FLOAT :                       \
         
     | 
| 
      
 42 
     | 
    
         
            +
                  {                                         \
         
     | 
| 
      
 43 
     | 
    
         
            +
                    double float_value;                     \
         
     | 
| 
      
 44 
     | 
    
         
            +
                    float_value = GRN_FLOAT_VALUE(obj_);    \
         
     | 
| 
      
 45 
     | 
    
         
            +
                    result = (float_value < -DBL_EPSILON || \
         
     | 
| 
      
 46 
     | 
    
         
            +
                              DBL_EPSILON < float_value);   \
         
     | 
| 
      
 47 
     | 
    
         
            +
                  }                                         \
         
     | 
| 
      
 48 
     | 
    
         
            +
                  break;                                    \
         
     | 
| 
      
 49 
     | 
    
         
            +
                  case GRN_DB_SHORT_TEXT :                  \
         
     | 
| 
      
 50 
     | 
    
         
            +
                  case GRN_DB_TEXT :                        \
         
     | 
| 
      
 51 
     | 
    
         
            +
                  case GRN_DB_LONG_TEXT :                   \
         
     | 
| 
      
 52 
     | 
    
         
            +
                    result = GRN_TEXT_LEN(obj_) != 0;       \
         
     | 
| 
      
 53 
     | 
    
         
            +
                    break;                                  \
         
     | 
| 
      
 54 
     | 
    
         
            +
                  default :                                 \
         
     | 
| 
      
 55 
     | 
    
         
            +
                    result = GRN_FALSE;                     \
         
     | 
| 
      
 56 
     | 
    
         
            +
                    break;                                  \
         
     | 
| 
      
 57 
     | 
    
         
            +
                  }                                         \
         
     | 
| 
      
 58 
     | 
    
         
            +
                  break;                                    \
         
     | 
| 
      
 59 
     | 
    
         
            +
                case GRN_VECTOR :                           \
         
     | 
| 
      
 60 
     | 
    
         
            +
                  result = GRN_TRUE;                        \
         
     | 
| 
      
 61 
     | 
    
         
            +
                  break;                                    \
         
     | 
| 
      
 62 
     | 
    
         
            +
                default :                                   \
         
     | 
| 
      
 63 
     | 
    
         
            +
                  result = GRN_FALSE;                       \
         
     | 
| 
      
 64 
     | 
    
         
            +
                  break;                                    \
         
     | 
| 
      
 65 
     | 
    
         
            +
                }                                           \
         
     | 
| 
      
 66 
     | 
    
         
            +
              } else {                                      \
         
     | 
| 
      
 67 
     | 
    
         
            +
                result = GRN_FALSE;                         \
         
     | 
| 
      
 68 
     | 
    
         
            +
              }                                             \
         
     | 
| 
      
 69 
     | 
    
         
            +
            } while (0)
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
       26 
72 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_builtin(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       27 
73 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_table(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
      
 74 
     | 
    
         
            +
            GRN_API grn_bool grn_obj_is_type(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       28 
75 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
      
 76 
     | 
    
         
            +
            GRN_API grn_bool grn_obj_is_tokenizer_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       29 
77 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_function_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       30 
78 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_selector_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       31 
79 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_selector_only_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
      
 80 
     | 
    
         
            +
            GRN_API grn_bool grn_obj_is_normalizer_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
      
 81 
     | 
    
         
            +
            GRN_API grn_bool grn_obj_is_token_filter_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       32 
82 
     | 
    
         
             
            GRN_API grn_bool grn_obj_is_scorer_proc(grn_ctx *ctx, grn_obj *obj);
         
     | 
| 
       33 
83 
     | 
    
         | 
| 
       34 
84 
     | 
    
         
             
            GRN_API grn_rc grn_obj_cast(grn_ctx *ctx,
         
     | 
| 
         @@ -76,8 +76,10 @@ GRN_API void grn_ctx_output_array_close(grn_ctx *ctx); 
     | 
|
| 
       76 
76 
     | 
    
         
             
            GRN_API void grn_ctx_output_map_open(grn_ctx *ctx,
         
     | 
| 
       77 
77 
     | 
    
         
             
                                                 const char *name, int nelements);
         
     | 
| 
       78 
78 
     | 
    
         
             
            GRN_API void grn_ctx_output_map_close(grn_ctx *ctx);
         
     | 
| 
      
 79 
     | 
    
         
            +
            GRN_API void grn_ctx_output_null(grn_ctx *ctx);
         
     | 
| 
       79 
80 
     | 
    
         
             
            GRN_API void grn_ctx_output_int32(grn_ctx *ctx, int value);
         
     | 
| 
       80 
     | 
    
         
            -
            GRN_API void grn_ctx_output_int64(grn_ctx *ctx,  
     | 
| 
      
 81 
     | 
    
         
            +
            GRN_API void grn_ctx_output_int64(grn_ctx *ctx, int64_t value);
         
     | 
| 
      
 82 
     | 
    
         
            +
            GRN_API void grn_ctx_output_uint64(grn_ctx *ctx, uint64_t value);
         
     | 
| 
       81 
83 
     | 
    
         
             
            GRN_API void grn_ctx_output_float(grn_ctx *ctx, double value);
         
     | 
| 
       82 
84 
     | 
    
         
             
            GRN_API void grn_ctx_output_cstr(grn_ctx *ctx, const char *value);
         
     | 
| 
       83 
85 
     | 
    
         
             
            GRN_API void grn_ctx_output_str(grn_ctx *ctx,
         
     | 
| 
         @@ -146,7 +146,9 @@ GRN_API grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx, 
     | 
|
| 
       146 
146 
     | 
    
         
             
                                                               grn_user_data *user_data,
         
     | 
| 
       147 
147 
     | 
    
         
             
                                                               unsigned int offset);
         
     | 
| 
       148 
148 
     | 
    
         | 
| 
      
 149 
     | 
    
         
            +
            /* Deprecated since 5.0.9. Use grn_plugin_windows_base_dir() instead. */
         
     | 
| 
       149 
150 
     | 
    
         
             
            GRN_API const char *grn_plugin_win32_base_dir(void);
         
     | 
| 
      
 151 
     | 
    
         
            +
            GRN_API const char *grn_plugin_windows_base_dir(void);
         
     | 
| 
       150 
152 
     | 
    
         | 
| 
       151 
153 
     | 
    
         
             
            GRN_API int grn_plugin_charlen(grn_ctx *ctx, const char *str_ptr,
         
     | 
| 
       152 
154 
     | 
    
         
             
                                           unsigned int str_length, grn_encoding encoding);
         
     | 
| 
         @@ -0,0 +1,34 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /*
         
     | 
| 
      
 2 
     | 
    
         
            +
              Copyright(C) 2015 Brazil
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
              This library is free software; you can redistribute it and/or
         
     | 
| 
      
 5 
     | 
    
         
            +
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 6 
     | 
    
         
            +
              License as published by the Free Software Foundation; either
         
     | 
| 
      
 7 
     | 
    
         
            +
              version 2.1 of the License, or (at your option) any later version.
         
     | 
| 
      
 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 GROONGA_WINDOWS_H
         
     | 
| 
      
 20 
     | 
    
         
            +
            #define GROONGA_WINDOWS_H
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            #ifdef  __cplusplus
         
     | 
| 
      
 23 
     | 
    
         
            +
            extern "C" {
         
     | 
| 
      
 24 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            #ifdef WIN32
         
     | 
| 
      
 27 
     | 
    
         
            +
            GRN_API const char *grn_windows_base_dir(void);
         
     | 
| 
      
 28 
     | 
    
         
            +
            #endif /* WIN32 */
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            #ifdef __cplusplus
         
     | 
| 
      
 31 
     | 
    
         
            +
            }
         
     | 
| 
      
 32 
     | 
    
         
            +
            #endif
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            #endif /* GROONGA_WINDOWS_H */
         
     | 
| 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            module Groonga
         
     | 
| 
      
 2 
     | 
    
         
            +
              module ExpressionRewriters
         
     | 
| 
      
 3 
     | 
    
         
            +
                class Optimizer < ExpressionRewriter
         
     | 
| 
      
 4 
     | 
    
         
            +
                  register "optimizer"
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
                  def rewrite
         
     | 
| 
      
 7 
     | 
    
         
            +
                    codes = @expression.codes
         
     | 
| 
      
 8 
     | 
    
         
            +
                    n_codes = codes.size
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
                    # (A >= x && A < y) -> between(A, x, "include", y, "exclude")
         
     | 
| 
      
 11 
     | 
    
         
            +
                    return nil if n_codes != 7
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                    return nil if codes[6].op != Operator::AND
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                    return nil if codes[0].op != Operator::GET_VALUE
         
     | 
| 
      
 16 
     | 
    
         
            +
                    return nil if codes[1].op != Operator::PUSH
         
     | 
| 
      
 17 
     | 
    
         
            +
                    return nil if codes[2].op != Operator::GREATER_EQUAL
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                    return nil if codes[3].op != Operator::GET_VALUE
         
     | 
| 
      
 20 
     | 
    
         
            +
                    return nil if codes[4].op != Operator::PUSH
         
     | 
| 
      
 21 
     | 
    
         
            +
                    return nil if codes[5].op != Operator::LESS
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
                    return nil if codes[3].value != codes[0].value
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                    variable = @expression[0]
         
     | 
| 
      
 26 
     | 
    
         
            +
                    rewritten = Expression.create(context[variable.domain])
         
     | 
| 
      
 27 
     | 
    
         
            +
                    rewritten.append_object(Context.instance["between"], Operator::PUSH, 1)
         
     | 
| 
      
 28 
     | 
    
         
            +
                    rewritten.append_object(codes[0].value, Operator::GET_VALUE, 1)
         
     | 
| 
      
 29 
     | 
    
         
            +
                    rewritten.append_constant(codes[1].value.value, Operator::PUSH, 1)
         
     | 
| 
      
 30 
     | 
    
         
            +
                    rewritten.append_constant("include", Operator::PUSH, 1)
         
     | 
| 
      
 31 
     | 
    
         
            +
                    rewritten.append_constant(codes[4].value.value, Operator::PUSH, 1)
         
     | 
| 
      
 32 
     | 
    
         
            +
                    rewritten.append_constant("exclude", Operator::PUSH, 1)
         
     | 
| 
      
 33 
     | 
    
         
            +
                    rewritten.append_operator(Operator::CALL, 5)
         
     | 
| 
      
 34 
     | 
    
         
            +
                    rewritten
         
     | 
| 
      
 35 
     | 
    
         
            +
                  end
         
     | 
| 
      
 36 
     | 
    
         
            +
                end
         
     | 
| 
      
 37 
     | 
    
         
            +
              end
         
     | 
| 
      
 38 
     | 
    
         
            +
            end
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     |