rroonga 4.0.8-x86-mingw32 → 5.0.0-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 +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_sjlj-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
 
    
        data/test/test-table.rb
    CHANGED
    
    | 
         @@ -630,188 +630,6 @@ class TableTest < Test::Unit::TestCase 
     | 
|
| 
       630 
630 
     | 
    
         
             
                assert_not_predicate(bookmarks, :builtin?)
         
     | 
| 
       631 
631 
     | 
    
         
             
              end
         
     | 
| 
       632 
632 
     | 
    
         | 
| 
       633 
     | 
    
         
            -
              class GroupTest < self
         
     | 
| 
       634 
     | 
    
         
            -
                class MaxNSubRecordsTest < self
         
     | 
| 
       635 
     | 
    
         
            -
                  setup
         
     | 
| 
       636 
     | 
    
         
            -
                  def setup_schema
         
     | 
| 
       637 
     | 
    
         
            -
                    Groonga::Schema.define do |schema|
         
     | 
| 
       638 
     | 
    
         
            -
                      schema.create_table("Bookmarks", :type => :hash) do |table|
         
     | 
| 
       639 
     | 
    
         
            -
                        table.text("title")
         
     | 
| 
       640 
     | 
    
         
            -
                      end
         
     | 
| 
       641 
     | 
    
         
            -
             
     | 
| 
       642 
     | 
    
         
            -
                      schema.create_table("Comments", :type => :array) do |table|
         
     | 
| 
       643 
     | 
    
         
            -
                        table.reference("bookmark")
         
     | 
| 
       644 
     | 
    
         
            -
                        table.text("content")
         
     | 
| 
       645 
     | 
    
         
            -
                        table.int32("rank")
         
     | 
| 
       646 
     | 
    
         
            -
                      end
         
     | 
| 
       647 
     | 
    
         
            -
                    end
         
     | 
| 
       648 
     | 
    
         
            -
                  end
         
     | 
| 
       649 
     | 
    
         
            -
             
     | 
| 
       650 
     | 
    
         
            -
                  setup
         
     | 
| 
       651 
     | 
    
         
            -
                  def setup_data
         
     | 
| 
       652 
     | 
    
         
            -
                    setup_bookmarks
         
     | 
| 
       653 
     | 
    
         
            -
                    setup_comments
         
     | 
| 
       654 
     | 
    
         
            -
                  end
         
     | 
| 
       655 
     | 
    
         
            -
             
     | 
| 
       656 
     | 
    
         
            -
                  def setup_bookmarks
         
     | 
| 
       657 
     | 
    
         
            -
                    @bookmarks = Groonga["Bookmarks"]
         
     | 
| 
       658 
     | 
    
         
            -
                    @groonga = @bookmarks.add("http://groonga.org/", :title => "groonga")
         
     | 
| 
       659 
     | 
    
         
            -
                    @ruby = @bookmarks.add("http://ruby-lang.org/", :title => "Ruby")
         
     | 
| 
       660 
     | 
    
         
            -
                  end
         
     | 
| 
       661 
     | 
    
         
            -
             
     | 
| 
       662 
     | 
    
         
            -
                  def setup_comments
         
     | 
| 
       663 
     | 
    
         
            -
                    @comments = Groonga["Comments"]
         
     | 
| 
       664 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       665 
     | 
    
         
            -
                                  :content => "garbage comment1",
         
     | 
| 
       666 
     | 
    
         
            -
                                  :rank => 0)
         
     | 
| 
       667 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       668 
     | 
    
         
            -
                                  :content => "garbage comment2",
         
     | 
| 
       669 
     | 
    
         
            -
                                  :rank => 0)
         
     | 
| 
       670 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       671 
     | 
    
         
            -
                                  :content => "full-text search",
         
     | 
| 
       672 
     | 
    
         
            -
                                  :rank => 1)
         
     | 
| 
       673 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       674 
     | 
    
         
            -
                                  :content => "column store",
         
     | 
| 
       675 
     | 
    
         
            -
                                  :rank => 5)
         
     | 
| 
       676 
     | 
    
         
            -
                    @comments.add(:bookmark => @ruby,
         
     | 
| 
       677 
     | 
    
         
            -
                                  :content => "object oriented script language",
         
     | 
| 
       678 
     | 
    
         
            -
                                  :rank => 100)
         
     | 
| 
       679 
     | 
    
         
            -
                    @comments.add(:bookmark => @ruby,
         
     | 
| 
       680 
     | 
    
         
            -
                                  :content => "multi paradigm programming language",
         
     | 
| 
       681 
     | 
    
         
            -
                                  :rank => 80)
         
     | 
| 
       682 
     | 
    
         
            -
                  end
         
     | 
| 
       683 
     | 
    
         
            -
             
     | 
| 
       684 
     | 
    
         
            -
                  setup
         
     | 
| 
       685 
     | 
    
         
            -
                  def setup_searched
         
     | 
| 
       686 
     | 
    
         
            -
                    @records = @comments.select do |record|
         
     | 
| 
       687 
     | 
    
         
            -
                      record.rank > 0
         
     | 
| 
       688 
     | 
    
         
            -
                    end
         
     | 
| 
       689 
     | 
    
         
            -
                  end
         
     | 
| 
       690 
     | 
    
         
            -
             
     | 
| 
       691 
     | 
    
         
            -
                  def test_upper_limit
         
     | 
| 
       692 
     | 
    
         
            -
                    grouped_records = @records.group("bookmark", :max_n_sub_records => 2)
         
     | 
| 
       693 
     | 
    
         
            -
                    groups = grouped_records.collect do |record|
         
     | 
| 
       694 
     | 
    
         
            -
                      sub_record_contents = record.sub_records.collect do |sub_record|
         
     | 
| 
       695 
     | 
    
         
            -
                        sub_record.content
         
     | 
| 
       696 
     | 
    
         
            -
                      end
         
     | 
| 
       697 
     | 
    
         
            -
                      [record.title, sub_record_contents]
         
     | 
| 
       698 
     | 
    
         
            -
                    end
         
     | 
| 
       699 
     | 
    
         
            -
                    assert_equal([
         
     | 
| 
       700 
     | 
    
         
            -
                                   [
         
     | 
| 
       701 
     | 
    
         
            -
                                     "groonga",
         
     | 
| 
       702 
     | 
    
         
            -
                                     [
         
     | 
| 
       703 
     | 
    
         
            -
                                       "full-text search",
         
     | 
| 
       704 
     | 
    
         
            -
                                       "column store",
         
     | 
| 
       705 
     | 
    
         
            -
                                     ],
         
     | 
| 
       706 
     | 
    
         
            -
                                   ],
         
     | 
| 
       707 
     | 
    
         
            -
                                   [
         
     | 
| 
       708 
     | 
    
         
            -
                                     "Ruby",
         
     | 
| 
       709 
     | 
    
         
            -
                                     [
         
     | 
| 
       710 
     | 
    
         
            -
                                       "object oriented script language",
         
     | 
| 
       711 
     | 
    
         
            -
                                       "multi paradigm programming language",
         
     | 
| 
       712 
     | 
    
         
            -
                                     ],
         
     | 
| 
       713 
     | 
    
         
            -
                                   ],
         
     | 
| 
       714 
     | 
    
         
            -
                                 ],
         
     | 
| 
       715 
     | 
    
         
            -
                                 groups)
         
     | 
| 
       716 
     | 
    
         
            -
                  end
         
     | 
| 
       717 
     | 
    
         
            -
             
     | 
| 
       718 
     | 
    
         
            -
                  def test_less_than_limit
         
     | 
| 
       719 
     | 
    
         
            -
                    sorted = @records.sort([{:key => "rank", :order => :descending}],
         
     | 
| 
       720 
     | 
    
         
            -
                                           :limit => 3, :offset => 0)
         
     | 
| 
       721 
     | 
    
         
            -
                    grouped_records = sorted.group("bookmark", :max_n_sub_records => 2)
         
     | 
| 
       722 
     | 
    
         
            -
                    groups = grouped_records.collect do |record|
         
     | 
| 
       723 
     | 
    
         
            -
                      sub_record_ranks = record.sub_records.collect do |sub_record|
         
     | 
| 
       724 
     | 
    
         
            -
                        sub_record.rank
         
     | 
| 
       725 
     | 
    
         
            -
                      end
         
     | 
| 
       726 
     | 
    
         
            -
                      [record.title, sub_record_ranks]
         
     | 
| 
       727 
     | 
    
         
            -
                    end
         
     | 
| 
       728 
     | 
    
         
            -
                    assert_equal([
         
     | 
| 
       729 
     | 
    
         
            -
                                   ["Ruby", [100, 80]],
         
     | 
| 
       730 
     | 
    
         
            -
                                   ["groonga", [5]]
         
     | 
| 
       731 
     | 
    
         
            -
                                 ],
         
     | 
| 
       732 
     | 
    
         
            -
                                 groups)
         
     | 
| 
       733 
     | 
    
         
            -
                  end
         
     | 
| 
       734 
     | 
    
         
            -
                end
         
     | 
| 
       735 
     | 
    
         
            -
             
     | 
| 
       736 
     | 
    
         
            -
                class KeyTest < self
         
     | 
| 
       737 
     | 
    
         
            -
                  setup
         
     | 
| 
       738 
     | 
    
         
            -
                  def setup_schema
         
     | 
| 
       739 
     | 
    
         
            -
                    Groonga::Schema.define do |schema|
         
     | 
| 
       740 
     | 
    
         
            -
                      schema.create_table("Bookmarks", :type => :hash) do |table|
         
     | 
| 
       741 
     | 
    
         
            -
                        table.text("title")
         
     | 
| 
       742 
     | 
    
         
            -
                      end
         
     | 
| 
       743 
     | 
    
         
            -
             
     | 
| 
       744 
     | 
    
         
            -
                      schema.create_table("Comments", :type => :array) do |table|
         
     | 
| 
       745 
     | 
    
         
            -
                        table.reference("bookmark")
         
     | 
| 
       746 
     | 
    
         
            -
                        table.text("content")
         
     | 
| 
       747 
     | 
    
         
            -
                        table.int32("rank")
         
     | 
| 
       748 
     | 
    
         
            -
                      end
         
     | 
| 
       749 
     | 
    
         
            -
                    end
         
     | 
| 
       750 
     | 
    
         
            -
                  end
         
     | 
| 
       751 
     | 
    
         
            -
             
     | 
| 
       752 
     | 
    
         
            -
                  setup
         
     | 
| 
       753 
     | 
    
         
            -
                  def setup_data
         
     | 
| 
       754 
     | 
    
         
            -
                    setup_bookmarks
         
     | 
| 
       755 
     | 
    
         
            -
                    setup_comments
         
     | 
| 
       756 
     | 
    
         
            -
                  end
         
     | 
| 
       757 
     | 
    
         
            -
             
     | 
| 
       758 
     | 
    
         
            -
                  def setup_bookmarks
         
     | 
| 
       759 
     | 
    
         
            -
                    @bookmarks = Groonga["Bookmarks"]
         
     | 
| 
       760 
     | 
    
         
            -
                    @groonga = @bookmarks.add("http://groonga.org/", :title => "groonga")
         
     | 
| 
       761 
     | 
    
         
            -
                    @ruby = @bookmarks.add("http://ruby-lang.org/", :title => "Ruby")
         
     | 
| 
       762 
     | 
    
         
            -
                  end
         
     | 
| 
       763 
     | 
    
         
            -
             
     | 
| 
       764 
     | 
    
         
            -
                  def setup_comments
         
     | 
| 
       765 
     | 
    
         
            -
                    @comments = Groonga["Comments"]
         
     | 
| 
       766 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       767 
     | 
    
         
            -
                                  :content => "full-text search")
         
     | 
| 
       768 
     | 
    
         
            -
                    @comments.add(:bookmark => @groonga,
         
     | 
| 
       769 
     | 
    
         
            -
                                  :content => "column store")
         
     | 
| 
       770 
     | 
    
         
            -
                    @comments.add(:bookmark => @ruby,
         
     | 
| 
       771 
     | 
    
         
            -
                                  :content => "object oriented script language")
         
     | 
| 
       772 
     | 
    
         
            -
                  end
         
     | 
| 
       773 
     | 
    
         
            -
             
     | 
| 
       774 
     | 
    
         
            -
                  def test_string
         
     | 
| 
       775 
     | 
    
         
            -
                    grouped_records = @comments.group("bookmark").collect do |record|
         
     | 
| 
       776 
     | 
    
         
            -
                      bookmark = record.key
         
     | 
| 
       777 
     | 
    
         
            -
                      [
         
     | 
| 
       778 
     | 
    
         
            -
                        record.n_sub_records,
         
     | 
| 
       779 
     | 
    
         
            -
                        bookmark["title"],
         
     | 
| 
       780 
     | 
    
         
            -
                        bookmark.key,
         
     | 
| 
       781 
     | 
    
         
            -
                      ]
         
     | 
| 
       782 
     | 
    
         
            -
                    end
         
     | 
| 
       783 
     | 
    
         
            -
                    assert_equal([
         
     | 
| 
       784 
     | 
    
         
            -
                                   [2, "groonga", "http://groonga.org/"],
         
     | 
| 
       785 
     | 
    
         
            -
                                   [1, "Ruby", "http://ruby-lang.org/"],
         
     | 
| 
       786 
     | 
    
         
            -
                                 ],
         
     | 
| 
       787 
     | 
    
         
            -
                                 grouped_records)
         
     | 
| 
       788 
     | 
    
         
            -
                  end
         
     | 
| 
       789 
     | 
    
         
            -
             
     | 
| 
       790 
     | 
    
         
            -
                  def test_array
         
     | 
| 
       791 
     | 
    
         
            -
                    grouped_records = @comments.group(["bookmark"]).collect do |record|
         
     | 
| 
       792 
     | 
    
         
            -
                      bookmark = record.key
         
     | 
| 
       793 
     | 
    
         
            -
                      [
         
     | 
| 
       794 
     | 
    
         
            -
                        record.n_sub_records,
         
     | 
| 
       795 
     | 
    
         
            -
                        bookmark["title"],
         
     | 
| 
       796 
     | 
    
         
            -
                        bookmark.key,
         
     | 
| 
       797 
     | 
    
         
            -
                      ]
         
     | 
| 
       798 
     | 
    
         
            -
                    end
         
     | 
| 
       799 
     | 
    
         
            -
                    assert_equal([
         
     | 
| 
       800 
     | 
    
         
            -
                                   [2, "groonga", "http://groonga.org/"],
         
     | 
| 
       801 
     | 
    
         
            -
                                   [1, "Ruby", "http://ruby-lang.org/"],
         
     | 
| 
       802 
     | 
    
         
            -
                                 ],
         
     | 
| 
       803 
     | 
    
         
            -
                                 grouped_records)
         
     | 
| 
       804 
     | 
    
         
            -
                  end
         
     | 
| 
       805 
     | 
    
         
            -
             
     | 
| 
       806 
     | 
    
         
            -
                  def test_nonexistent
         
     | 
| 
       807 
     | 
    
         
            -
                    message = "unknown group key: <\"nonexistent\">: <#{@comments.inspect}>"
         
     | 
| 
       808 
     | 
    
         
            -
                    assert_raise(ArgumentError.new(message)) do
         
     | 
| 
       809 
     | 
    
         
            -
                      @comments.group("nonexistent")
         
     | 
| 
       810 
     | 
    
         
            -
                    end
         
     | 
| 
       811 
     | 
    
         
            -
                  end
         
     | 
| 
       812 
     | 
    
         
            -
                end
         
     | 
| 
       813 
     | 
    
         
            -
              end
         
     | 
| 
       814 
     | 
    
         
            -
             
     | 
| 
       815 
633 
     | 
    
         
             
              class OtherProcessTest < self
         
     | 
| 
       816 
634 
     | 
    
         
             
                def test_create
         
     | 
| 
       817 
635 
     | 
    
         
             
                  by_other_process do
         
     | 
    
        data/vendor/local/bin/grndb.exe
    CHANGED
    
    | 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         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 
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/bin/sh
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            prefix=/home/ 
     | 
| 
      
 3 
     | 
    
         
            +
            prefix=/home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86
         
     | 
| 
       4 
4 
     | 
    
         
             
            exec_prefix=${prefix}
         
     | 
| 
       5 
5 
     | 
    
         
             
            exec_prefix_set=no
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
         @@ -107,7 +107,7 @@ while test $# -gt 0; do 
     | 
|
| 
       107 
107 
     | 
    
         
             
            	;;
         
     | 
| 
       108 
108 
     | 
    
         | 
| 
       109 
109 
     | 
    
         
             
                --libexecdir)
         
     | 
| 
       110 
     | 
    
         
            -
                   	echo /home/ 
     | 
| 
      
 110 
     | 
    
         
            +
                   	echo /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/libexec/mecab
         
     | 
| 
       111 
111 
     | 
    
         
             
                   	;;
         
     | 
| 
       112 
112 
     | 
    
         | 
| 
       113 
113 
     | 
    
         
             
                --sysconfdir)
         
     | 
    
        data/vendor/local/bin/mecab.exe
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/vendor/local/bin/zlib1.dll
    CHANGED
    
    | 
         Binary file 
     | 
| 
         @@ -15,7 +15,7 @@ http { 
     | 
|
| 
       15 
15 
     | 
    
         
             
              keepalive_timeout 65;
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
              # The default groonga database path.
         
     | 
| 
       18 
     | 
    
         
            -
              groonga_database /home/ 
     | 
| 
      
 18 
     | 
    
         
            +
              groonga_database /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/var/lib/groonga/db/db;
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
              # Create a groonga database automatically if the groonga database doesn't
         
     | 
| 
       21 
21 
     | 
    
         
             
              # exist.
         
     | 
| 
         @@ -45,7 +45,7 @@ http { 
     | 
|
| 
       45 
45 
     | 
    
         
             
                }
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
47 
     | 
    
         
             
                location / {
         
     | 
| 
       48 
     | 
    
         
            -
                  root /home/ 
     | 
| 
      
 48 
     | 
    
         
            +
                  root /home/kenhys/work/groonga/groonga.clean/packages/windows/dist-x86/share/groonga/html/admin;
         
     | 
| 
       49 
49 
     | 
    
         
             
                  index index.html;
         
     | 
| 
       50 
50 
     | 
    
         
             
                }
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            /*
         
     | 
| 
       2 
     | 
    
         
            -
              Copyright(C) 2014 Brazil
         
     | 
| 
      
 2 
     | 
    
         
            +
              Copyright(C) 2014-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
         
     | 
| 
         @@ -21,6 +21,7 @@ 
     | 
|
| 
       21 
21 
     | 
    
         
             
            #include "groonga/groonga.h"
         
     | 
| 
       22 
22 
     | 
    
         
             
            #include "groonga/ii.h"
         
     | 
| 
       23 
23 
     | 
    
         
             
            #include "groonga/expr.h"
         
     | 
| 
      
 24 
     | 
    
         
            +
            #include "groonga/output.h"
         
     | 
| 
       24 
25 
     | 
    
         
             
            #include "groonga/util.h"
         
     | 
| 
       25 
26 
     | 
    
         
             
            #include "groonga/request_canceler.h"
         
     | 
| 
       26 
27 
     | 
    
         | 
| 
         @@ -0,0 +1,79 @@ 
     | 
|
| 
      
 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 
     | 
    
         
            +
            #ifndef GROONGA_COMMAND_H
         
     | 
| 
      
 19 
     | 
    
         
            +
            #define GROONGA_COMMAND_H
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            #include <groonga/plugin.h>
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            #ifdef __cplusplus
         
     | 
| 
      
 24 
     | 
    
         
            +
            extern "C" {
         
     | 
| 
      
 25 
     | 
    
         
            +
            #endif  /* __cplusplus */
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            typedef struct _grn_command_input grn_command_input;
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_command_input *grn_command_input_open(grn_ctx *ctx,
         
     | 
| 
      
 30 
     | 
    
         
            +
                                                                        grn_obj *command);
         
     | 
| 
      
 31 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_rc grn_command_input_close(grn_ctx *ctx,
         
     | 
| 
      
 32 
     | 
    
         
            +
                                                             grn_command_input *input);
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_obj *grn_command_input_add(grn_ctx *ctx,
         
     | 
| 
      
 35 
     | 
    
         
            +
                                                             grn_command_input *input,
         
     | 
| 
      
 36 
     | 
    
         
            +
                                                             const char *name,
         
     | 
| 
      
 37 
     | 
    
         
            +
                                                             int name_size,
         
     | 
| 
      
 38 
     | 
    
         
            +
                                                             grn_bool *added);
         
     | 
| 
      
 39 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_obj *grn_command_input_get(grn_ctx *ctx,
         
     | 
| 
      
 40 
     | 
    
         
            +
                                                             grn_command_input *input,
         
     | 
| 
      
 41 
     | 
    
         
            +
                                                             const char *name,
         
     | 
| 
      
 42 
     | 
    
         
            +
                                                             int name_size);
         
     | 
| 
      
 43 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_obj *grn_command_input_at(grn_ctx *ctx,
         
     | 
| 
      
 44 
     | 
    
         
            +
                                                            grn_command_input *input,
         
     | 
| 
      
 45 
     | 
    
         
            +
                                                            unsigned int offset);
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            typedef void grn_command_run_func(grn_ctx *ctx,
         
     | 
| 
      
 48 
     | 
    
         
            +
                                              grn_obj *command,
         
     | 
| 
      
 49 
     | 
    
         
            +
                                              grn_command_input *input,
         
     | 
| 
      
 50 
     | 
    
         
            +
                                              void *user_data);
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
            /*
         
     | 
| 
      
 53 
     | 
    
         
            +
              grn_command_register() registers a command to the database which is
         
     | 
| 
      
 54 
     | 
    
         
            +
              associated with `ctx'. `command_name' and `command_name_size'
         
     | 
| 
      
 55 
     | 
    
         
            +
              specify the command name. Alphabetic letters ('A'-'Z' and 'a'-'z'),
         
     | 
| 
      
 56 
     | 
    
         
            +
              digits ('0'-'9') and an underscore ('_') are capable characters.
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
              `run' is called for running the command.
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
              grn_command_register() returns GRN_SUCCESS on success, an error
         
     | 
| 
      
 61 
     | 
    
         
            +
              code on failure.
         
     | 
| 
      
 62 
     | 
    
         
            +
             */
         
     | 
| 
      
 63 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_rc grn_command_register(grn_ctx *ctx,
         
     | 
| 
      
 64 
     | 
    
         
            +
                                                          const char *command_name,
         
     | 
| 
      
 65 
     | 
    
         
            +
                                                          int command_name_size,
         
     | 
| 
      
 66 
     | 
    
         
            +
                                                          grn_command_run_func *run,
         
     | 
| 
      
 67 
     | 
    
         
            +
                                                          grn_expr_var *vars,
         
     | 
| 
      
 68 
     | 
    
         
            +
                                                          unsigned int n_vars,
         
     | 
| 
      
 69 
     | 
    
         
            +
                                                          void *user_data);
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
            GRN_PLUGIN_EXPORT grn_rc grn_command_run(grn_ctx *ctx,
         
     | 
| 
      
 72 
     | 
    
         
            +
                                                     grn_obj *command,
         
     | 
| 
      
 73 
     | 
    
         
            +
                                                     grn_command_input *input);
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
            #ifdef __cplusplus
         
     | 
| 
      
 76 
     | 
    
         
            +
            }  /* extern "C" */
         
     | 
| 
      
 77 
     | 
    
         
            +
            #endif  /* __cplusplus */
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
            #endif  /* GROONGA_COMMAND_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
         
     | 
| 
         @@ -119,6 +119,8 @@ typedef enum { 
     | 
|
| 
       119 
119 
     | 
    
         
             
              GRN_UNSUPPORTED_COMMAND_VERSION = -71,
         
     | 
| 
       120 
120 
     | 
    
         
             
              GRN_NORMALIZER_ERROR = -72,
         
     | 
| 
       121 
121 
     | 
    
         
             
              GRN_TOKEN_FILTER_ERROR = -73,
         
     | 
| 
      
 122 
     | 
    
         
            +
              GRN_COMMAND_ERROR = -74,
         
     | 
| 
      
 123 
     | 
    
         
            +
              GRN_PLUGIN_ERROR = -75,
         
     | 
| 
       122 
124 
     | 
    
         
             
            } grn_rc;
         
     | 
| 
       123 
125 
     | 
    
         | 
| 
       124 
126 
     | 
    
         
             
            GRN_API grn_rc grn_init(void);
         
     | 
| 
         @@ -709,6 +711,15 @@ typedef enum { 
     | 
|
| 
       709 
711 
     | 
    
         
             
            } grn_operator;
         
     | 
| 
       710 
712 
     | 
    
         | 
| 
       711 
713 
     | 
    
         
             
            GRN_API const char *grn_operator_to_string(grn_operator op);
         
     | 
| 
      
 714 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_equal(grn_ctx *ctx, grn_obj *x, grn_obj *y);
         
     | 
| 
      
 715 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_not_equal(grn_ctx *ctx,
         
     | 
| 
      
 716 
     | 
    
         
            +
                                                         grn_obj *x, grn_obj *y);
         
     | 
| 
      
 717 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_less(grn_ctx *ctx, grn_obj *x, grn_obj *y);
         
     | 
| 
      
 718 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_greater(grn_ctx *ctx, grn_obj *x, grn_obj *y);
         
     | 
| 
      
 719 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_less_equal(grn_ctx *ctx,
         
     | 
| 
      
 720 
     | 
    
         
            +
                                                          grn_obj *x, grn_obj *y);
         
     | 
| 
      
 721 
     | 
    
         
            +
            GRN_API grn_bool grn_operator_exec_greater_equal(grn_ctx *ctx,
         
     | 
| 
      
 722 
     | 
    
         
            +
                                                             grn_obj *x, grn_obj *y);
         
     | 
| 
       712 
723 
     | 
    
         | 
| 
       713 
724 
     | 
    
         
             
            struct _grn_table_group_result {
         
     | 
| 
       714 
725 
     | 
    
         
             
              grn_obj *table;
         
     | 
| 
         @@ -717,6 +728,8 @@ struct _grn_table_group_result { 
     | 
|
| 
       717 
728 
     | 
    
         
             
              int limit;
         
     | 
| 
       718 
729 
     | 
    
         
             
              grn_table_group_flags flags;
         
     | 
| 
       719 
730 
     | 
    
         
             
              grn_operator op;
         
     | 
| 
      
 731 
     | 
    
         
            +
              unsigned int max_n_subrecs;
         
     | 
| 
      
 732 
     | 
    
         
            +
              grn_obj *calc_target;
         
     | 
| 
       720 
733 
     | 
    
         
             
            };
         
     | 
| 
       721 
734 
     | 
    
         | 
| 
       722 
735 
     | 
    
         
             
            GRN_API grn_rc grn_table_group(grn_ctx *ctx, grn_obj *table,
         
     | 
| 
         @@ -749,6 +762,14 @@ GRN_API unsigned int grn_table_size(grn_ctx *ctx, grn_obj *table); 
     | 
|
| 
       749 
762 
     | 
    
         
             
            #define GRN_COLUMN_NAME_SCORE_LEN     (sizeof(GRN_COLUMN_NAME_SCORE) - 1)
         
     | 
| 
       750 
763 
     | 
    
         
             
            #define GRN_COLUMN_NAME_NSUBRECS      "_nsubrecs"
         
     | 
| 
       751 
764 
     | 
    
         
             
            #define GRN_COLUMN_NAME_NSUBRECS_LEN  (sizeof(GRN_COLUMN_NAME_NSUBRECS) - 1)
         
     | 
| 
      
 765 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_MAX           "_max"
         
     | 
| 
      
 766 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_MAX_LEN       (sizeof(GRN_COLUMN_NAME_MAX) - 1)
         
     | 
| 
      
 767 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_MIN           "_min"
         
     | 
| 
      
 768 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_MIN_LEN       (sizeof(GRN_COLUMN_NAME_MIN) - 1)
         
     | 
| 
      
 769 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_SUM           "_sum"
         
     | 
| 
      
 770 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_SUM_LEN       (sizeof(GRN_COLUMN_NAME_SUM) - 1)
         
     | 
| 
      
 771 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_AVG           "_avg"
         
     | 
| 
      
 772 
     | 
    
         
            +
            #define GRN_COLUMN_NAME_AVG_LEN       (sizeof(GRN_COLUMN_NAME_AVG) - 1)
         
     | 
| 
       752 
773 
     | 
    
         | 
| 
       753 
774 
     | 
    
         
             
            GRN_API grn_obj *grn_column_create(grn_ctx *ctx, grn_obj *table,
         
     | 
| 
       754 
775 
     | 
    
         
             
                                               const char *name, unsigned int name_size,
         
     | 
| 
         @@ -1253,81 +1274,10 @@ GRN_API grn_rc grn_text_printf(grn_ctx *ctx, grn_obj *bulk, 
     | 
|
| 
       1253 
1274 
     | 
    
         
             
            GRN_API grn_rc grn_text_vprintf(grn_ctx *ctx, grn_obj *bulk,
         
     | 
| 
       1254 
1275 
     | 
    
         
             
                                            const char *format, va_list args);
         
     | 
| 
       1255 
1276 
     | 
    
         | 
| 
       1256 
     | 
    
         
            -
            typedef struct _grn_obj_format grn_obj_format;
         
     | 
| 
       1257 
     | 
    
         
            -
             
     | 
| 
       1258 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_WITH_COLUMN_NAMES   (0x01<<0)
         
     | 
| 
       1259 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_AS_ARRAY            (0x01<<3)
         
     | 
| 
       1260 
     | 
    
         
            -
            /* Deprecated since 4.0.1. It will be removed at 5.0.0.
         
     | 
| 
       1261 
     | 
    
         
            -
               Use GRN_OBJ_FORMAT_AS_ARRAY instead.*/
         
     | 
| 
       1262 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_ASARRAY             GRN_OBJ_FORMAT_AS_ARRAY
         
     | 
| 
       1263 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_WITH_WEIGHT         (0x01<<4)
         
     | 
| 
       1264 
     | 
    
         
            -
             
     | 
| 
       1265 
     | 
    
         
            -
            struct _grn_obj_format {
         
     | 
| 
       1266 
     | 
    
         
            -
              grn_obj columns;
         
     | 
| 
       1267 
     | 
    
         
            -
              const void *min;
         
     | 
| 
       1268 
     | 
    
         
            -
              const void *max;
         
     | 
| 
       1269 
     | 
    
         
            -
              unsigned int min_size;
         
     | 
| 
       1270 
     | 
    
         
            -
              unsigned int max_size;
         
     | 
| 
       1271 
     | 
    
         
            -
              int nhits;
         
     | 
| 
       1272 
     | 
    
         
            -
              int offset;
         
     | 
| 
       1273 
     | 
    
         
            -
              int limit;
         
     | 
| 
       1274 
     | 
    
         
            -
              int hits_offset;
         
     | 
| 
       1275 
     | 
    
         
            -
              int flags;
         
     | 
| 
       1276 
     | 
    
         
            -
              grn_obj *expression;
         
     | 
| 
       1277 
     | 
    
         
            -
            };
         
     | 
| 
       1278 
     | 
    
         
            -
             
     | 
| 
       1279 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_INIT(format,format_nhits,format_offset,format_limit,format_hits_offset) do { \
         
     | 
| 
       1280 
     | 
    
         
            -
              GRN_PTR_INIT(&(format)->columns, GRN_OBJ_VECTOR, GRN_ID_NIL);\
         
     | 
| 
       1281 
     | 
    
         
            -
              (format)->nhits = (format_nhits);\
         
     | 
| 
       1282 
     | 
    
         
            -
              (format)->offset = (format_offset);\
         
     | 
| 
       1283 
     | 
    
         
            -
              (format)->limit = (format_limit);\
         
     | 
| 
       1284 
     | 
    
         
            -
              (format)->hits_offset = (format_hits_offset);\
         
     | 
| 
       1285 
     | 
    
         
            -
              (format)->flags = 0;\
         
     | 
| 
       1286 
     | 
    
         
            -
              (format)->expression = NULL;\
         
     | 
| 
       1287 
     | 
    
         
            -
            } while (0)
         
     | 
| 
       1288 
     | 
    
         
            -
             
     | 
| 
       1289 
     | 
    
         
            -
            #define GRN_OBJ_FORMAT_FIN(ctx,format) do {\
         
     | 
| 
       1290 
     | 
    
         
            -
              int ncolumns = GRN_BULK_VSIZE(&(format)->columns) / sizeof(grn_obj *);\
         
     | 
| 
       1291 
     | 
    
         
            -
              grn_obj **columns = (grn_obj **)GRN_BULK_HEAD(&(format)->columns);\
         
     | 
| 
       1292 
     | 
    
         
            -
              while (ncolumns--) { grn_obj_unlink((ctx), *columns++); }\
         
     | 
| 
       1293 
     | 
    
         
            -
              GRN_OBJ_FIN((ctx), &(format)->columns);\
         
     | 
| 
       1294 
     | 
    
         
            -
              if ((format)->expression) { GRN_OBJ_FIN((ctx), (format)->expression); } \
         
     | 
| 
       1295 
     | 
    
         
            -
            } while (0)
         
     | 
| 
       1296 
     | 
    
         
            -
             
     | 
| 
       1297 
     | 
    
         
            -
            GRN_API void grn_output_obj(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
         
     | 
| 
       1298 
     | 
    
         
            -
                                        grn_obj *obj, grn_obj_format *format);
         
     | 
| 
       1299 
     | 
    
         
            -
            GRN_API void grn_output_envelope(grn_ctx *ctx, grn_rc rc,
         
     | 
| 
       1300 
     | 
    
         
            -
                                             grn_obj *head, grn_obj *body, grn_obj *foot,
         
     | 
| 
       1301 
     | 
    
         
            -
                                             const char *file, int line);
         
     | 
| 
       1302 
     | 
    
         
            -
             
     | 
| 
       1303 
     | 
    
         
            -
            GRN_API void grn_ctx_output_array_open(grn_ctx *ctx,
         
     | 
| 
       1304 
     | 
    
         
            -
                                                   const char *name, int nelements);
         
     | 
| 
       1305 
     | 
    
         
            -
            GRN_API void grn_ctx_output_array_close(grn_ctx *ctx);
         
     | 
| 
       1306 
     | 
    
         
            -
            GRN_API void grn_ctx_output_map_open(grn_ctx *ctx,
         
     | 
| 
       1307 
     | 
    
         
            -
                                                 const char *name, int nelements);
         
     | 
| 
       1308 
     | 
    
         
            -
            GRN_API void grn_ctx_output_map_close(grn_ctx *ctx);
         
     | 
| 
       1309 
     | 
    
         
            -
            GRN_API void grn_ctx_output_int32(grn_ctx *ctx, int value);
         
     | 
| 
       1310 
     | 
    
         
            -
            GRN_API void grn_ctx_output_int64(grn_ctx *ctx, long long int value);
         
     | 
| 
       1311 
     | 
    
         
            -
            GRN_API void grn_ctx_output_float(grn_ctx *ctx, double value);
         
     | 
| 
       1312 
     | 
    
         
            -
            GRN_API void grn_ctx_output_cstr(grn_ctx *ctx, const char *value);
         
     | 
| 
       1313 
     | 
    
         
            -
            GRN_API void grn_ctx_output_str(grn_ctx *ctx,
         
     | 
| 
       1314 
     | 
    
         
            -
                                            const char *value, unsigned int value_len);
         
     | 
| 
       1315 
     | 
    
         
            -
            GRN_API void grn_ctx_output_bool(grn_ctx *ctx, grn_bool value);
         
     | 
| 
       1316 
     | 
    
         
            -
            GRN_API void grn_ctx_output_obj(grn_ctx *ctx,
         
     | 
| 
       1317 
     | 
    
         
            -
                                            grn_obj *value, grn_obj_format *format);
         
     | 
| 
       1318 
     | 
    
         
            -
             
     | 
| 
       1319 
     | 
    
         
            -
             
     | 
| 
       1320 
     | 
    
         
            -
            GRN_API grn_content_type grn_ctx_get_output_type(grn_ctx *ctx);
         
     | 
| 
       1321 
     | 
    
         
            -
            GRN_API grn_rc grn_ctx_set_output_type(grn_ctx *ctx, grn_content_type type);
         
     | 
| 
       1322 
     | 
    
         
            -
            GRN_API const char *grn_ctx_get_mime_type(grn_ctx *ctx);
         
     | 
| 
       1323 
1277 
     | 
    
         
             
            GRN_API void grn_ctx_recv_handler_set(grn_ctx *,
         
     | 
| 
       1324 
1278 
     | 
    
         
             
                                                  void (*func)(grn_ctx *, int, void *),
         
     | 
| 
       1325 
1279 
     | 
    
         
             
                                                  void *func_arg);
         
     | 
| 
       1326 
1280 
     | 
    
         | 
| 
       1327 
     | 
    
         
            -
            /* obsolete */
         
     | 
| 
       1328 
     | 
    
         
            -
            GRN_API grn_rc grn_text_otoj(grn_ctx *ctx, grn_obj *bulk, grn_obj *obj,
         
     | 
| 
       1329 
     | 
    
         
            -
                                         grn_obj_format *format);
         
     | 
| 
       1330 
     | 
    
         
            -
             
     | 
| 
       1331 
1281 
     | 
    
         
             
            /* various values exchanged via grn_obj */
         
     | 
| 
       1332 
1282 
     | 
    
         | 
| 
       1333 
1283 
     | 
    
         
             
            #define GRN_OBJ_DO_SHALLOW_COPY        (GRN_OBJ_REFER|GRN_OBJ_OUTPLACE)
         
     | 
| 
         @@ -1910,9 +1860,10 @@ GRN_API grn_rc grn_pat_delete(grn_ctx *ctx, grn_pat *pat, const void *key, unsig 
     | 
|
| 
       1910 
1860 
     | 
    
         
             
            GRN_API int grn_pat_delete_with_sis(grn_ctx *ctx, grn_pat *pat, grn_id id,
         
     | 
| 
       1911 
1861 
     | 
    
         
             
                                                grn_table_delete_optarg *optarg);
         
     | 
| 
       1912 
1862 
     | 
    
         | 
| 
       1913 
     | 
    
         
            -
            typedef struct  
     | 
| 
      
 1863 
     | 
    
         
            +
            typedef struct _grn_table_scan_hit grn_pat_scan_hit;
         
     | 
| 
      
 1864 
     | 
    
         
            +
            typedef struct _grn_table_scan_hit grn_dat_scan_hit;
         
     | 
| 
       1914 
1865 
     | 
    
         | 
| 
       1915 
     | 
    
         
            -
            struct  
     | 
| 
      
 1866 
     | 
    
         
            +
            struct _grn_table_scan_hit {
         
     | 
| 
       1916 
1867 
     | 
    
         
             
              grn_id id;
         
     | 
| 
       1917 
1868 
     | 
    
         
             
              unsigned int offset;
         
     | 
| 
       1918 
1869 
     | 
    
         
             
              unsigned int length;
         
     | 
| 
         @@ -1965,6 +1916,13 @@ GRN_API grn_rc grn_pat_cursor_delete(grn_ctx *ctx, grn_pat_cursor *c, 
     | 
|
| 
       1965 
1916 
     | 
    
         
             
            typedef struct _grn_dat grn_dat;
         
     | 
| 
       1966 
1917 
     | 
    
         
             
            typedef struct _grn_dat_cursor grn_dat_cursor;
         
     | 
| 
       1967 
1918 
     | 
    
         | 
| 
      
 1919 
     | 
    
         
            +
            GRN_API int grn_dat_scan(grn_ctx *ctx, grn_dat *dat, const char *str,
         
     | 
| 
      
 1920 
     | 
    
         
            +
                                     unsigned int str_size, grn_dat_scan_hit *scan_hits,
         
     | 
| 
      
 1921 
     | 
    
         
            +
                                     unsigned int max_num_scan_hits, const char **str_rest);
         
     | 
| 
      
 1922 
     | 
    
         
            +
             
     | 
| 
      
 1923 
     | 
    
         
            +
            GRN_API grn_id grn_dat_lcp_search(grn_ctx *ctx, grn_dat *dat,
         
     | 
| 
      
 1924 
     | 
    
         
            +
                                      const void *key, unsigned int key_size);
         
     | 
| 
      
 1925 
     | 
    
         
            +
             
     | 
| 
       1968 
1926 
     | 
    
         
             
            GRN_API grn_dat *grn_dat_create(grn_ctx *ctx, const char *path, unsigned int key_size,
         
     | 
| 
       1969 
1927 
     | 
    
         
             
                                            unsigned int value_size, unsigned int flags);
         
     | 
| 
       1970 
1928 
     | 
    
         |