rroonga 4.0.8-x64-mingw32 → 5.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/doc/text/news.textile +19 -0
- data/ext/groonga/rb-grn-exception.c +35 -1
- data/ext/groonga/rb-grn-normalizer.c +37 -7
- data/ext/groonga/rb-grn-table.c +106 -35
- data/ext/groonga/rb-grn.h +3 -2
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/record.rb +45 -1
- data/rroonga-build.rb +6 -5
- data/test/groonga-test-utils.rb +9 -0
- data/test/test-array.rb +11 -0
- data/test/test-exception.rb +3 -1
- data/test/test-normalizer.rb +28 -0
- data/test/test-record.rb +34 -0
- data/test/test-table-group.rb +366 -0
- data/test/test-table.rb +0 -182
- data/vendor/local/bin/grndb.exe +0 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/lz4.exe +0 -0
- data/vendor/local/bin/lz4c.exe +0 -0
- data/vendor/local/bin/lz4cat +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +1 -1
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/include/groonga/groonga/command.h +79 -0
- data/vendor/local/include/groonga/groonga/groonga.h +32 -74
- data/vendor/local/include/groonga/groonga/output.h +108 -0
- data/vendor/local/include/groonga/groonga/plugin.h +18 -3
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- 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/eval.la +3 -3
- 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/ruby/load.la +3 -3
- data/vendor/local/lib/groonga/plugins/sharding.rb +3 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +157 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +170 -0
- data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +50 -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/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/command.rb +35 -0
- data/vendor/local/lib/groonga/scripts/ruby/{command → command_line}/grndb.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +29 -8
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +166 -76
- data/vendor/local/lib/groonga/scripts/ruby/database.rb +16 -4
- data/vendor/local/lib/groonga/scripts/ruby/error.rb +16 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_cursor.rb +18 -0
- data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +5 -1
- data/vendor/local/lib/groonga/scripts/ruby/plugin_loader.rb +14 -0
- data/vendor/local/lib/groonga/scripts/ruby/require.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +3 -3
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +4 -2
- data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +15 -0
- data/vendor/local/lib/groonga/scripts/ruby/writer.rb +21 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/liblz4.a +0 -0
- data/vendor/local/lib/liblz4.dll +0 -0
- data/vendor/local/lib/liblz4.dll.1 +0 -0
- data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +2 -2
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/lib/pkgconfig/liblz4.pc +5 -5
- data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
- data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
- data/vendor/local/lib/pkgconfig/zlib.pc +3 -3
- 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-restart +1 -1
- 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 +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
- 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 +16 -570
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +26 -1
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -2
- data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/index.html +86 -78
- data/vendor/local/share/doc/groonga/en/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +33 -30
- data/vendor/local/share/doc/groonga/en/html/install/others.html +90 -88
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +99 -641
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +103 -100
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/news/4.x.html +873 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +83 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +68 -66
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +66 -62
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +77 -75
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +152 -0
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +121 -94
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +56 -54
- data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +97 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +74 -72
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +3069 -567
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +123 -121
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +82 -80
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -29
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +49 -47
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +219 -216
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +430 -381
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +58 -56
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +46 -41
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/server/package.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +128 -126
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +37 -35
- 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 +4 -4
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
- 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 +16 -570
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/4.x.txt +686 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/index.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/pseudo.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/scalar.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +734 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +50 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +25 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +68 -6
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +26 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +15 -15
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/client.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/index.html +88 -80
- data/vendor/local/share/doc/groonga/ja/html/install.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +30 -29
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +81 -79
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +31 -30
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news.html +85 -677
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +94 -92
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +911 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +85 -77
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +78 -76
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +56 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +153 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +111 -84
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +100 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +66 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +38 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2832 -427
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +99 -97
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +67 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +50 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +58 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +70 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +119 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +341 -301
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +46 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +35 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/spec.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +50 -48
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +35 -33
- data/vendor/local/share/man/ja/man1/groonga.1 +6711 -3135
- data/vendor/local/share/man/man1/groonga.1 +7192 -3297
- metadata +33 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDUyMzM3YjUxYjllYjJmZjZiOTg3YTY3ZWIzYmYyYWE4ODU4MmMwNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWY0NzY2MTgxNjk2MGI4YWQ4MmUwYTUyYTk1ZDMzYjM0MTM1ZWMzYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWE5Y2NmN2IzN2Y0ODE4YzRlZDY2MjM2Y2I1NjI2ZjdlMzYwZmI5NDVlZjAx
|
10
|
+
ODBiODM3YzU3MmY2YjMwYWFhNTE3ZjBlZDE3MDU4ODNmMmYxZjNjOGUyODFk
|
11
|
+
M2FjY2IyMGZiMjM2NDJlNzZiYmNjMjE5MjgxMGRjYzU1YjMxMzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTZkNDc0M2ZmODZkN2FiYTc0NzE5NDk1MmZlZGQxMzYxYWNhMWEzMjVmYzU1
|
14
|
+
ZDY0ZjJjNGJmZDY4NDA3YzYyNWY2ZmMzNzlmNDBkNWZlYjMxZDBhNGE5MWYx
|
15
|
+
NTZlNWUyZDk3ZDA1OGFiN2U1NGY0NThjODRkMzIzNjUxYWU5Njg=
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ contributed patches.)
|
|
40
40
|
## Dependencies
|
41
41
|
|
42
42
|
* Ruby >= 1.9.3
|
43
|
-
* Groonga >=
|
43
|
+
* Groonga >= 5.0.0
|
44
44
|
|
45
45
|
## Install
|
46
46
|
|
@@ -59,7 +59,7 @@ contributed patches.)
|
|
59
59
|
## Thanks
|
60
60
|
|
61
61
|
* Daijiro MORI: sent patches to support the latest Groonga.
|
62
|
-
* Tasuku SUENAGA: sent bug reports.
|
62
|
+
* Tasuku SUENAGA: sent patches and bug reports.
|
63
63
|
* niku: sent bug reports.
|
64
64
|
* dara:
|
65
65
|
* wrote tests.
|
data/doc/text/news.textile
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
h1. NEWS
|
2
2
|
|
3
|
+
h2(#5-0-0). 5.0.0: 2014-02-16 (planned)
|
4
|
+
|
5
|
+
h3. Improvements
|
6
|
+
|
7
|
+
* Supported Groonga 5.0.0. Groonga 4.1.1 or older aren't supported.
|
8
|
+
* Added flags for {Groonga::Normalizer.normalize}.
|
9
|
+
[GitHub#44] [Patch by Tasuku SUENAGA a.k.a. gunyarakun]
|
10
|
+
<pre>
|
11
|
+
Groonga::Normalizer.normalize("AbC Def gh") #=> "abcdefgh"
|
12
|
+
Groonga::Normalizer.normalize("AbC Def gh", :remove_blank => true) #=> "abcdefgh"
|
13
|
+
Groonga::Normalizer.normalize("AbC Def gh", :remove_blank => false) #=> "abc def gh"
|
14
|
+
</pre>
|
15
|
+
* Supported drilldown by multiple keys in {Groonga::Table#group}.
|
16
|
+
* Supported calculation for drilldown in {Groonga::Table#group}.
|
17
|
+
|
18
|
+
h3. Thanks
|
19
|
+
|
20
|
+
* Tasuku SUENAGA a.k.a. gunyarakun
|
21
|
+
|
3
22
|
h2(#4-0-8). 4.0.8: 2014-01-08
|
4
23
|
|
5
24
|
h3. Improvements
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
+
Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
3
4
|
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
7
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -97,6 +97,8 @@ static VALUE eGrnCASError;
|
|
97
97
|
static VALUE eGrnUnsupportedCommandVersion;
|
98
98
|
static VALUE eGrnNormalizerError;
|
99
99
|
static VALUE eGrnTokenFilterError;
|
100
|
+
static VALUE eGrnCommandError;
|
101
|
+
static VALUE eGrnPluginError;
|
100
102
|
|
101
103
|
VALUE
|
102
104
|
rb_grn_rc_to_exception (grn_rc rc)
|
@@ -329,6 +331,12 @@ rb_grn_rc_to_exception (grn_rc rc)
|
|
329
331
|
case GRN_TOKEN_FILTER_ERROR:
|
330
332
|
exception = eGrnTokenFilterError;
|
331
333
|
break;
|
334
|
+
case GRN_COMMAND_ERROR:
|
335
|
+
exception = eGrnCommandError;
|
336
|
+
break;
|
337
|
+
case GRN_PLUGIN_ERROR:
|
338
|
+
exception = eGrnPluginError;
|
339
|
+
break;
|
332
340
|
}
|
333
341
|
|
334
342
|
if (NIL_P(exception))
|
@@ -568,6 +576,12 @@ rb_grn_rc_to_message (grn_rc rc)
|
|
568
576
|
case GRN_TOKEN_FILTER_ERROR:
|
569
577
|
message = "token filter error";
|
570
578
|
break;
|
579
|
+
case GRN_COMMAND_ERROR:
|
580
|
+
message = "command error";
|
581
|
+
break;
|
582
|
+
case GRN_PLUGIN_ERROR:
|
583
|
+
message = "plugin error";
|
584
|
+
break;
|
571
585
|
}
|
572
586
|
|
573
587
|
if (!message)
|
@@ -1227,4 +1241,24 @@ rb_grn_init_exception (VALUE mGrn)
|
|
1227
1241
|
*/
|
1228
1242
|
eGrnTokenFilterError =
|
1229
1243
|
rb_define_class_under(mGrn, "TokenFilterError", rb_eGrnError);
|
1244
|
+
|
1245
|
+
/*
|
1246
|
+
* Document-class: Groonga::CommandError
|
1247
|
+
*
|
1248
|
+
* It is used when a command causes an error.
|
1249
|
+
*
|
1250
|
+
* @since 5.0.0
|
1251
|
+
*/
|
1252
|
+
eGrnCommandError =
|
1253
|
+
rb_define_class_under(mGrn, "CommandError", rb_eGrnError);
|
1254
|
+
|
1255
|
+
/*
|
1256
|
+
* Document-class: Groonga::PluginError
|
1257
|
+
*
|
1258
|
+
* It is used when a plugin causes an error.
|
1259
|
+
*
|
1260
|
+
* @since 5.0.0
|
1261
|
+
*/
|
1262
|
+
eGrnPluginError =
|
1263
|
+
rb_define_class_under(mGrn, "PluginError", rb_eGrnError);
|
1230
1264
|
}
|
@@ -35,32 +35,62 @@ VALUE rb_cGrnNormalizer;
|
|
35
35
|
* # Normalizes "ABC" with the default normalizer
|
36
36
|
* Groonga::Normalizer.normalize("AbC") # => "abc"
|
37
37
|
*
|
38
|
-
* @overload normalize(string)
|
39
|
-
* @return [String] The normalized string
|
38
|
+
* @overload normalize(string, options={:remove_blank => true})
|
40
39
|
* @param [String] string The original string
|
40
|
+
*
|
41
|
+
* @param [::Hash] options The optional parameters.
|
42
|
+
* @option options :remove_blank (true)
|
43
|
+
* If it's `true`, all blank characters are removed.
|
44
|
+
* @option options :remove_tokenized_delimiter (false)
|
45
|
+
* If it's `true`, all tokenized delimiter characters are removed.
|
46
|
+
* The character is `U+FFFE`.
|
47
|
+
*
|
48
|
+
* @return [String] The normalized string
|
41
49
|
*/
|
42
50
|
static VALUE
|
43
|
-
rb_grn_normalizer_s_normalize (VALUE
|
51
|
+
rb_grn_normalizer_s_normalize (int argc, VALUE *argv, VALUE klass)
|
44
52
|
{
|
45
53
|
VALUE rb_context = Qnil;
|
54
|
+
VALUE rb_string;
|
55
|
+
VALUE rb_options;
|
56
|
+
VALUE rb_remove_blank_p;
|
57
|
+
VALUE rb_remove_tokenized_delimiter_p;
|
46
58
|
VALUE rb_encoded_string;
|
47
59
|
VALUE rb_normalized_string;
|
48
60
|
grn_ctx *context = NULL;
|
49
61
|
grn_obj *grn_string;
|
50
62
|
grn_obj *normalizer = GRN_NORMALIZER_AUTO;
|
51
|
-
|
52
|
-
int flags = GRN_STRING_REMOVE_BLANK;
|
63
|
+
int flags = 0;
|
53
64
|
const char *normalized_string;
|
54
65
|
unsigned int normalized_string_length;
|
55
66
|
|
67
|
+
rb_scan_args(argc, argv, "11", &rb_string, &rb_options);
|
68
|
+
rb_grn_scan_options(rb_options,
|
69
|
+
"remove_blank", &rb_remove_blank_p,
|
70
|
+
"remove_tokenized_delimiter_p",
|
71
|
+
&rb_remove_tokenized_delimiter_p,
|
72
|
+
NULL);
|
73
|
+
|
56
74
|
context = rb_grn_context_ensure(&rb_context);
|
57
75
|
rb_encoded_string = rb_grn_context_rb_string_encode(context, rb_string);
|
76
|
+
if (NIL_P(rb_remove_blank_p)) {
|
77
|
+
rb_remove_blank_p = Qtrue;
|
78
|
+
}
|
79
|
+
if (RVAL2CBOOL(rb_remove_blank_p)) {
|
80
|
+
flags |= GRN_STRING_REMOVE_BLANK;
|
81
|
+
}
|
82
|
+
if (NIL_P(rb_remove_tokenized_delimiter_p)) {
|
83
|
+
rb_remove_tokenized_delimiter_p = Qfalse;
|
84
|
+
}
|
85
|
+
if (RVAL2CBOOL(rb_remove_tokenized_delimiter_p)) {
|
86
|
+
flags |= GRN_STRING_REMOVE_TOKENIZED_DELIMITER;
|
87
|
+
}
|
58
88
|
grn_string = grn_string_open(context,
|
59
89
|
RSTRING_PTR(rb_encoded_string),
|
60
90
|
RSTRING_LEN(rb_encoded_string),
|
61
91
|
normalizer,
|
62
92
|
flags);
|
63
|
-
rb_grn_context_check(context,
|
93
|
+
rb_grn_context_check(context, argv[0]);
|
64
94
|
grn_string_get_normalized(context, grn_string,
|
65
95
|
&normalized_string, &normalized_string_length,
|
66
96
|
NULL);
|
@@ -79,5 +109,5 @@ rb_grn_init_normalizer (VALUE mGrn)
|
|
79
109
|
rb_cGrnNormalizer = rb_define_class_under(mGrn, "Normalizer", rb_cObject);
|
80
110
|
|
81
111
|
rb_define_singleton_method(rb_cGrnNormalizer, "normalize",
|
82
|
-
rb_grn_normalizer_s_normalize, 1);
|
112
|
+
rb_grn_normalizer_s_normalize, -1);
|
83
113
|
}
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
+
Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
3
4
|
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
5
5
|
|
6
6
|
This library is free software; you can redistribute it and/or
|
7
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -35,7 +35,7 @@ static ID id_array_set;
|
|
35
35
|
/*
|
36
36
|
* Document-class: Groonga::Table < Groonga::Object
|
37
37
|
*
|
38
|
-
*
|
38
|
+
* Rroongaが提供するテーブルのベースとなるクラス。このクラス
|
39
39
|
* から {Groonga::Array} , {Groonga::Hash} , {Groonga::PatriciaTrie}
|
40
40
|
* が継承されている。
|
41
41
|
*/
|
@@ -1289,7 +1289,7 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
|
1289
1289
|
result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_NO_KEY,
|
1290
1290
|
NULL, table);
|
1291
1291
|
/* use n_records that is return value from
|
1292
|
-
grn_table_sort() when
|
1292
|
+
grn_table_sort() when Rroonga user become specifying
|
1293
1293
|
output table. */
|
1294
1294
|
grn_table_sort(context, table, offset, limit, result, keys, n_keys);
|
1295
1295
|
exception = rb_grn_context_to_exception(context, self);
|
@@ -1306,13 +1306,55 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
|
1306
1306
|
* 値でグループ化する。多くの場合、キーにはカラムを指定する。
|
1307
1307
|
* カラムはカラム名(文字列)でも指定可能。
|
1308
1308
|
*
|
1309
|
+
* If one key is specified, you can get the grouping key by {Groonga::Record#key}:
|
1310
|
+
*
|
1311
|
+
* <pre>
|
1312
|
+
* !!!ruby
|
1313
|
+
* grouped_records = table.group("key1").collect do |group|
|
1314
|
+
* [group.key, group.n_sub_records]
|
1315
|
+
* end
|
1316
|
+
* </pre>
|
1317
|
+
*
|
1318
|
+
* If two or more keys are specified, the default value of _:max_n_sub_records_
|
1319
|
+
* is _1_ (When one key is specified, the value is _0_.). You can get the grouping
|
1320
|
+
* keys by {Groonga::Record#sub_records}:
|
1321
|
+
*
|
1322
|
+
* <pre>
|
1323
|
+
* !!!ruby
|
1324
|
+
* grouped_records = table.group(["key1", "key2"]).collect do |group|
|
1325
|
+
* sub_record = group.sub_records.first
|
1326
|
+
* [
|
1327
|
+
* sub_record.key1,
|
1328
|
+
* sub_record.key2,
|
1329
|
+
* group.n_sub_records,
|
1330
|
+
* ]
|
1331
|
+
* end
|
1332
|
+
* </pre>
|
1333
|
+
*
|
1309
1334
|
* @overload group([key1, key2, ...], options={})
|
1310
|
-
* @return [
|
1335
|
+
* @return [Groonga::Hash]
|
1336
|
+
*
|
1337
|
+
* @!macro [new] table.group.options
|
1338
|
+
* @option options :max_n_sub_records
|
1339
|
+
* グループ化した後のレコードのそれぞれについて最大 _:max_n_sub_records_ 件まで
|
1340
|
+
* そのグループに含まれる _table_ のレコードをサブレコードとして格納する。
|
1341
|
+
* @option options [String or Symbol] :calc_target
|
1342
|
+
* The target column name for _:calc_types_.
|
1343
|
+
* @option options [::Array] :calc_types
|
1344
|
+
* It specifies how to calculate (aggregate) values in grouped records by
|
1345
|
+
* a drilldown. You can specify multiple calculation types.
|
1346
|
+
*
|
1347
|
+
* - +:max+ := Finding the maximum integer value from integer values in grouped records.
|
1348
|
+
* - +:min+ := Finding the minimum integer value from integer values in grouped records.
|
1349
|
+
* - +:sum+ := Summing integer values in grouped records.
|
1350
|
+
* - +:average+ := Averaging integer/float values in grouped records.
|
1351
|
+
*
|
1352
|
+
* @!macro table.group.options
|
1353
|
+
*
|
1311
1354
|
* @overload group(key, options={})
|
1312
1355
|
* @return [Groonga::Hash]
|
1313
|
-
*
|
1314
|
-
*
|
1315
|
-
* そのグループに含まれる _table_ のレコードをサブレコードとして格納する。
|
1356
|
+
*
|
1357
|
+
* @!macro table.group.options
|
1316
1358
|
*/
|
1317
1359
|
static VALUE
|
1318
1360
|
rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
@@ -1320,13 +1362,13 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
|
1320
1362
|
grn_ctx *context = NULL;
|
1321
1363
|
grn_obj *table;
|
1322
1364
|
grn_table_sort_key *keys;
|
1323
|
-
grn_table_group_result
|
1324
|
-
int i, n_keys
|
1365
|
+
grn_table_group_result result;
|
1366
|
+
int i, n_keys;
|
1325
1367
|
unsigned int max_n_sub_records = 0;
|
1326
1368
|
grn_rc rc;
|
1327
1369
|
VALUE rb_keys, rb_options, rb_max_n_sub_records;
|
1370
|
+
VALUE rb_calc_target, rb_calc_types;
|
1328
1371
|
VALUE *rb_group_keys;
|
1329
|
-
VALUE rb_results;
|
1330
1372
|
|
1331
1373
|
rb_grn_table_deconstruct(SELF(self), &table, &context,
|
1332
1374
|
NULL, NULL,
|
@@ -1345,10 +1387,19 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
|
1345
1387
|
|
1346
1388
|
rb_grn_scan_options(rb_options,
|
1347
1389
|
"max_n_sub_records", &rb_max_n_sub_records,
|
1390
|
+
"calc_target", &rb_calc_target,
|
1391
|
+
"calc_types", &rb_calc_types,
|
1348
1392
|
NULL);
|
1349
1393
|
|
1350
|
-
if (
|
1394
|
+
if (NIL_P(rb_max_n_sub_records)) {
|
1395
|
+
if (n_keys > 1) {
|
1396
|
+
max_n_sub_records = 1;
|
1397
|
+
} else {
|
1398
|
+
max_n_sub_records = 0;
|
1399
|
+
}
|
1400
|
+
} else {
|
1351
1401
|
max_n_sub_records = NUM2UINT(rb_max_n_sub_records);
|
1402
|
+
}
|
1352
1403
|
|
1353
1404
|
keys = ALLOCA_N(grn_table_sort_key, n_keys);
|
1354
1405
|
for (i = 0; i < n_keys; i++) {
|
@@ -1380,34 +1431,54 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
|
1380
1431
|
keys[i].flags = 0;
|
1381
1432
|
}
|
1382
1433
|
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1434
|
+
result.table = NULL;
|
1435
|
+
result.key_begin = 0;
|
1436
|
+
result.key_end = n_keys - 1;
|
1437
|
+
result.limit = 1;
|
1438
|
+
result.flags = GRN_TABLE_GROUP_CALC_COUNT;
|
1439
|
+
result.op = GRN_OP_OR;
|
1440
|
+
result.max_n_subrecs = max_n_sub_records;
|
1441
|
+
result.calc_target = NULL;
|
1442
|
+
|
1443
|
+
if (!NIL_P(rb_calc_target)) {
|
1444
|
+
const char *name = NULL;
|
1445
|
+
unsigned name_size = 0;
|
1446
|
+
ruby_object_to_column_name(rb_calc_target, &name, &name_size);
|
1447
|
+
result.calc_target = grn_obj_column(context, table, name, name_size);
|
1448
|
+
}
|
1449
|
+
if (result.calc_target) {
|
1450
|
+
int i, n_calc_types;
|
1451
|
+
VALUE *raw_calc_types;
|
1452
|
+
raw_calc_types = RARRAY_PTR(rb_calc_types);
|
1453
|
+
n_calc_types = RARRAY_LEN(rb_calc_types);
|
1454
|
+
for (i = 0; i < n_calc_types; i++) {
|
1455
|
+
VALUE rb_calc_type = raw_calc_types[i];
|
1456
|
+
if (rb_grn_equal_option(rb_calc_type, "max")) {
|
1457
|
+
result.flags |= GRN_TABLE_GROUP_CALC_MAX;
|
1458
|
+
} else if (rb_grn_equal_option(rb_calc_type, "min")) {
|
1459
|
+
result.flags |= GRN_TABLE_GROUP_CALC_MIN;
|
1460
|
+
} else if (rb_grn_equal_option(rb_calc_type, "sum")) {
|
1461
|
+
result.flags |= GRN_TABLE_GROUP_CALC_SUM;
|
1462
|
+
} else if (rb_grn_equal_option(rb_calc_type, "average")) {
|
1463
|
+
result.flags |= GRN_TABLE_GROUP_CALC_AVG;
|
1464
|
+
} else {
|
1465
|
+
grn_obj_unlink(context, result.calc_target);
|
1466
|
+
rb_raise(rb_eArgError,
|
1467
|
+
"invalid calculation type: %s: "
|
1468
|
+
"available types: [:max, :min, :sum, :average]",
|
1469
|
+
rb_grn_inspect(rb_calc_type));
|
1470
|
+
}
|
1471
|
+
}
|
1401
1472
|
}
|
1402
1473
|
|
1403
|
-
rc = grn_table_group(context, table, keys, n_keys,
|
1474
|
+
rc = grn_table_group(context, table, keys, n_keys, &result, 1);
|
1475
|
+
if (result.calc_target) {
|
1476
|
+
grn_obj_unlink(context, result.calc_target);
|
1477
|
+
}
|
1404
1478
|
rb_grn_context_check(context, self);
|
1405
1479
|
rb_grn_rc_check(rc, self);
|
1406
1480
|
|
1407
|
-
|
1408
|
-
return rb_ary_pop(rb_results);
|
1409
|
-
else
|
1410
|
-
return rb_results;
|
1481
|
+
return GRNOBJECT2RVAL(Qnil, context, result.table, GRN_TRUE);
|
1411
1482
|
}
|
1412
1483
|
|
1413
1484
|
/*
|
@@ -2380,7 +2451,7 @@ rb_grn_table_support_sub_records_p (VALUE self)
|
|
2380
2451
|
* records for each group, the number of records is stored to
|
2381
2452
|
* it. Records for each group are called as "sub records".
|
2382
2453
|
*
|
2383
|
-
* Normally, you don't need to care about the space because
|
2454
|
+
* Normally, you don't need to care about the space because Rroonga
|
2384
2455
|
* creates a table with the space automatically. Normal tables
|
2385
2456
|
* (persistent tables) don't have the space because they don't need
|
2386
2457
|
* it.
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
+
Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
3
4
|
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
5
|
|
5
6
|
This library is free software; you can redistribute it and/or
|
@@ -90,9 +91,9 @@ RB_GRN_BEGIN_DECLS
|
|
90
91
|
# define debug(...)
|
91
92
|
#endif
|
92
93
|
|
93
|
-
#define RB_GRN_MAJOR_VERSION
|
94
|
+
#define RB_GRN_MAJOR_VERSION 5
|
94
95
|
#define RB_GRN_MINOR_VERSION 0
|
95
|
-
#define RB_GRN_MICRO_VERSION
|
96
|
+
#define RB_GRN_MICRO_VERSION 0
|
96
97
|
|
97
98
|
#define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
|
98
99
|
|
data/lib/1.9/groonga.so
CHANGED
Binary file
|
data/lib/2.0/groonga.so
CHANGED
Binary file
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/groonga/record.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014 Masafumi Yokoyama <
|
3
|
+
# Copyright (C) 2014-2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
4
|
# Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
@@ -226,6 +226,50 @@ module Groonga
|
|
226
226
|
@table.support_sub_records?
|
227
227
|
end
|
228
228
|
|
229
|
+
# The maximum integer value from integer values in grouped records.
|
230
|
+
# It can be used when specifying _:calc_target_ and _:calc_types_
|
231
|
+
# to {Groonga::Table#group}.
|
232
|
+
#
|
233
|
+
# @return [Integer] The maximum integer value from integer values in grouped records.
|
234
|
+
#
|
235
|
+
# @since 5.0.0
|
236
|
+
def max
|
237
|
+
self["_max"]
|
238
|
+
end
|
239
|
+
|
240
|
+
# The minimum integer value from integer values in grouped records.
|
241
|
+
# It can be used when specifying _:calc_target_ and _:calc_types_
|
242
|
+
# to {Groonga::Table#group}.
|
243
|
+
#
|
244
|
+
# @return [Integer] The minimum integer value from integer values in grouped records.
|
245
|
+
#
|
246
|
+
# @since 5.0.0
|
247
|
+
def min
|
248
|
+
self["_min"]
|
249
|
+
end
|
250
|
+
|
251
|
+
# The sum of integer values in grouped records.
|
252
|
+
# It can be used when specifying _:calc_target_ and _:calc_types_
|
253
|
+
# to {Groonga::Table#group}.
|
254
|
+
#
|
255
|
+
# @return [Integer] The sum of integer values in grouped records.
|
256
|
+
#
|
257
|
+
# @since 5.0.0
|
258
|
+
def sum
|
259
|
+
self["_sum"]
|
260
|
+
end
|
261
|
+
|
262
|
+
# The average of integer/float values in grouped records.
|
263
|
+
# It can be used when specifying _:calc_target_ and _:calc_types_
|
264
|
+
# to {Groonga::Table#group}.
|
265
|
+
#
|
266
|
+
# @return [Float] The average of integer/float values in grouped records.
|
267
|
+
#
|
268
|
+
# @since 5.0.0
|
269
|
+
def average
|
270
|
+
self["_avg"]
|
271
|
+
end
|
272
|
+
|
229
273
|
# レコードの値を返す。
|
230
274
|
def value
|
231
275
|
@table.value(@id, :id => true)
|