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
 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>7.12.13. snippet_html — Groonga  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.12.13. snippet_html — Groonga v5.0.0 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.0',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,12 +25,12 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga  
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="7.12. Function" href="../function.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="7.12.14. sub_filter" href="sub_filter.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="7.12.12. rand" href="rand.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body>
         
     | 
| 
      
 33 
     | 
    
         
            +
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       35 
35 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       36 
36 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -48,7 +48,7 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
            </div>
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 51 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       52 
52 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <ul>
         
     | 
| 
       54 
54 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="rand.html" title="7.12.12. rand"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../function.html" accesskey="U">7.12. Function</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
         @@ -69,7 +69,7 @@ 
     | 
|
| 
       69 
69 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       70 
70 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       71 
71 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       72 
     | 
    
         
            -
                      <div class="body">
         
     | 
| 
      
 72 
     | 
    
         
            +
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="snippet-html">
         
     | 
| 
       75 
75 
     | 
    
         
             
            <h1>7.12.13. snippet_html<a class="headerlink" href="#snippet-html" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
         @@ -79,21 +79,21 @@ 
     | 
|
| 
       79 
79 
     | 
    
         
             
            </div>
         
     | 
| 
       80 
80 
     | 
    
         
             
            <div class="section" id="summary">
         
     | 
| 
       81 
81 
     | 
    
         
             
            <h2>7.12.13.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       82 
     | 
    
         
            -
            <p>< 
     | 
| 
       83 
     | 
    
         
            -
            keywords (< 
     | 
| 
       84 
     | 
    
         
            -
            for embedding HTML. Special characters such as < 
     | 
| 
       85 
     | 
    
         
            -
            escapsed as < 
     | 
| 
       86 
     | 
    
         
            -
            <span class="pre">class="keyword"></span></ 
     | 
| 
       87 
     | 
    
         
            -
            <span class="pre">groonga</span> <span class="pre">user.</span> <span class="pre"><3</span></ 
     | 
| 
       88 
     | 
    
         
            -
            <span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></ 
     | 
| 
      
 82 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">snippet_html</span></code> extracts snippets of target text around search
         
     | 
| 
      
 83 
     | 
    
         
            +
            keywords (<code class="docutils literal"><span class="pre">KWIC</span></code>. <code class="docutils literal"><span class="pre">KeyWord</span> <span class="pre">In</span> <span class="pre">Context</span></code>). The snippets are prepared
         
     | 
| 
      
 84 
     | 
    
         
            +
            for embedding HTML. Special characters such as <code class="docutils literal"><span class="pre"><</span></code> and <code class="docutils literal"><span class="pre">></span></code> are
         
     | 
| 
      
 85 
     | 
    
         
            +
            escapsed as <code class="docutils literal"><span class="pre">&lt;</span></code> and <code class="docutils literal"><span class="pre">&gt;</span></code>. Keyword is surrounded with <code class="docutils literal"><span class="pre"><span</span>
         
     | 
| 
      
 86 
     | 
    
         
            +
            <span class="pre">class="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code>. For example, a snippet of <code class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span>
         
     | 
| 
      
 87 
     | 
    
         
            +
            <span class="pre">groonga</span> <span class="pre">user.</span> <span class="pre"><3</span></code> for keyword <code class="docutils literal"><span class="pre">groonga</span></code> is <code class="docutils literal"><span class="pre">I</span> <span class="pre">am</span> <span class="pre">a</span> <span class="pre"><span</span>
         
     | 
| 
      
 88 
     | 
    
         
            +
            <span class="pre">class="keyword">groonga</span></span> <span class="pre">user.</span> <span class="pre">&lt;3</span></code>.</p>
         
     | 
| 
       89 
89 
     | 
    
         
             
            </div>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <div class="section" id="syntax">
         
     | 
| 
       91 
91 
     | 
    
         
             
            <h2>7.12.13.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       92 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 92 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">snippet_html</span></code> has only one parameter:</p>
         
     | 
| 
       93 
93 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>snippet_html(column)
         
     | 
| 
       94 
94 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       95 
95 
     | 
    
         
             
            </div>
         
     | 
| 
       96 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 96 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">snippet_html</span></code> has many parameters internally but they can't be
         
     | 
| 
       97 
97 
     | 
    
         
             
            specified for now. You will be able to custom those parameters soon.</p>
         
     | 
| 
       98 
98 
     | 
    
         
             
            </div>
         
     | 
| 
       99 
99 
     | 
    
         
             
            <div class="section" id="usage">
         
     | 
| 
         @@ -117,15 +117,15 @@ load --table Documents 
     | 
|
| 
       117 
117 
     | 
    
         
             
            # [[0, 1337566253.89858, 0.000355720520019531], 2]
         
     | 
| 
       118 
118 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       119 
119 
     | 
    
         
             
            </div>
         
     | 
| 
       120 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 120 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">snippet_html</span></code> can be used in only <code class="docutils literal"><span class="pre">--output_columns</span></code> in
         
     | 
| 
       121 
121 
     | 
    
         
             
            <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
         
     | 
| 
       122 
     | 
    
         
            -
            <p>You need to specify < 
     | 
| 
       123 
     | 
    
         
            -
            because function call in < 
     | 
| 
      
 122 
     | 
    
         
            +
            <p>You need to specify <code class="docutils literal"><span class="pre">--command_version</span> <span class="pre">2</span></code> argument explicitly
         
     | 
| 
      
 123 
     | 
    
         
            +
            because function call in <code class="docutils literal"><span class="pre">--output_columns</span></code> is experimental feature
         
     | 
| 
       124 
124 
     | 
    
         
             
            in Groonga 2.0.9. It will be enabled by default soon.</p>
         
     | 
| 
       125 
     | 
    
         
            -
            <p>You also need to specify < 
     | 
| 
       126 
     | 
    
         
            -
            extracted from < 
     | 
| 
       127 
     | 
    
         
            -
            <p>The following example uses < 
     | 
| 
       128 
     | 
    
         
            -
            case, < 
     | 
| 
      
 125 
     | 
    
         
            +
            <p>You also need to specify <code class="docutils literal"><span class="pre">--query</span></code> and/or <code class="docutils literal"><span class="pre">--filter</span></code>. Keywords are
         
     | 
| 
      
 126 
     | 
    
         
            +
            extracted from <code class="docutils literal"><span class="pre">--query</span></code> and <code class="docutils literal"><span class="pre">--filter</span></code> arguments.</p>
         
     | 
| 
      
 127 
     | 
    
         
            +
            <p>The following example uses <code class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></code>. In this
         
     | 
| 
      
 128 
     | 
    
         
            +
            case, <code class="docutils literal"><span class="pre">fast</span></code> and <code class="docutils literal"><span class="pre">performance</span></code> are used as keywords.</p>
         
     | 
| 
       129 
129 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       130 
130 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Documents --output_columns "snippet_html(content)" --command_version 2 --match_columns content --query "fast performance"
         
     | 
| 
       131 
131 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -156,15 +156,15 @@ case, <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt cl 
     | 
|
| 
       156 
156 
     | 
    
         
             
            # ]
         
     | 
| 
       157 
157 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       158 
158 
     | 
    
         
             
            </div>
         
     | 
| 
       159 
     | 
    
         
            -
            <p>< 
     | 
| 
       160 
     | 
    
         
            -
            content. < 
     | 
| 
       161 
     | 
    
         
            -
            include the keywords < 
     | 
| 
       162 
     | 
    
         
            -
            keywords with < 
     | 
| 
      
 159 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">--query</span> <span class="pre">"fast</span> <span class="pre">performance"</span></code> matches to only the first record's
         
     | 
| 
      
 160 
     | 
    
         
            +
            content. <code class="docutils literal"><span class="pre">snippet_html(content)</span></code> extracts two text parts that
         
     | 
| 
      
 161 
     | 
    
         
            +
            include the keywords <code class="docutils literal"><span class="pre">fast</span></code> or <code class="docutils literal"><span class="pre">performance</span></code> and surrounds the
         
     | 
| 
      
 162 
     | 
    
         
            +
            keywords with <code class="docutils literal"><span class="pre"><span</span> <span class="pre">class="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code>.</p>
         
     | 
| 
       163 
163 
     | 
    
         
             
            <p>The max number of text parts is 3. If there are 4 or more text parts
         
     | 
| 
       164 
164 
     | 
    
         
             
            that include the keywords, only the leading 3 parts are only used.</p>
         
     | 
| 
       165 
165 
     | 
    
         
             
            <p>The max size of a text part is 200byte. The unit is bytes not
         
     | 
| 
       166 
     | 
    
         
            -
            chracters. The size doesn't include inserted < 
     | 
| 
       167 
     | 
    
         
            -
            and < 
     | 
| 
      
 166 
     | 
    
         
            +
            chracters. The size doesn't include inserted <code class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></code>
         
     | 
| 
      
 167 
     | 
    
         
            +
            and <code class="docutils literal"><span class="pre"></span></span></code>.</p>
         
     | 
| 
       168 
168 
     | 
    
         
             
            <p>Both the max number of text parts and the max size of a text part
         
     | 
| 
       169 
169 
     | 
    
         
             
            aren't customizable.</p>
         
     | 
| 
       170 
170 
     | 
    
         
             
            <p>You can specify string literal instead of column.</p>
         
     | 
| 
         @@ -200,14 +200,14 @@ aren't customizable.</p> 
     | 
|
| 
       200 
200 
     | 
    
         
             
            </div>
         
     | 
| 
       201 
201 
     | 
    
         
             
            <div class="section" id="return-value">
         
     | 
| 
       202 
202 
     | 
    
         
             
            <h2>7.12.13.4. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       203 
     | 
    
         
            -
            <p>< 
     | 
| 
       204 
     | 
    
         
            -
            < 
     | 
| 
      
 203 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">snippet_html</span></code> returns an array of string or <code class="docutils literal"><span class="pre">null</span></code>. If
         
     | 
| 
      
 204 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">snippet_html</span></code> can't find any snippets, it returns <code class="docutils literal"><span class="pre">null</span></code>.</p>
         
     | 
| 
       205 
205 
     | 
    
         
             
            <p>An element of array is a snippet:</p>
         
     | 
| 
       206 
206 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>[SNIPPET1, SNIPPET2, SNIPPET3]
         
     | 
| 
       207 
207 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       208 
208 
     | 
    
         
             
            </div>
         
     | 
| 
       209 
209 
     | 
    
         
             
            <p>A snippet includes one or more keywords. The max byte size of a
         
     | 
| 
       210 
     | 
    
         
            -
            snippet except < 
     | 
| 
      
 210 
     | 
    
         
            +
            snippet except <code class="docutils literal"><span class="pre"><span</span> <span class="pre">keyword="keyword"></span></code> and <code class="docutils literal"><span class="pre"></span></span></code> is
         
     | 
| 
       211 
211 
     | 
    
         
             
            200byte. The unit isn't the number of chracters.</p>
         
     | 
| 
       212 
212 
     | 
    
         
             
            <p>The array size is larger than or equal to 0 and less than or equal
         
     | 
| 
       213 
213 
     | 
    
         
             
            to 3. The max size 3 will be customizable soon.</p>
         
     | 
| 
         @@ -235,7 +235,7 @@ to 3. The max size 3 will be customizable soon.</p> 
     | 
|
| 
       235 
235 
     | 
    
         
             
                      </div>
         
     | 
| 
       236 
236 
     | 
    
         
             
                    </div>
         
     | 
| 
       237 
237 
     | 
    
         
             
                  </div>
         
     | 
| 
       238 
     | 
    
         
            -
                  <div class="sphinxsidebar">
         
     | 
| 
      
 238 
     | 
    
         
            +
                  <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         
     | 
| 
       239 
239 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       240 
240 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       241 
241 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -256,12 +256,14 @@ to 3. The max size 3 will be customizable soon.</p> 
     | 
|
| 
       256 
256 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       257 
257 
     | 
    
         
             
              <p class="topless"><a href="sub_filter.html"
         
     | 
| 
       258 
258 
     | 
    
         
             
                                    title="next chapter">7.12.14. sub_filter</a></p>
         
     | 
| 
       259 
     | 
    
         
            -
              < 
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
                < 
     | 
| 
       262 
     | 
    
         
            -
             
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
             
     | 
| 
      
 259 
     | 
    
         
            +
              <div role="note" aria-label="source link">
         
     | 
| 
      
 260 
     | 
    
         
            +
                <h3>This Page</h3>
         
     | 
| 
      
 261 
     | 
    
         
            +
                <ul class="this-page-menu">
         
     | 
| 
      
 262 
     | 
    
         
            +
                  <li><a href="../../_sources/reference/functions/snippet_html.txt"
         
     | 
| 
      
 263 
     | 
    
         
            +
                        rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 264 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 265 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 266 
     | 
    
         
            +
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
       265 
267 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       266 
268 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       267 
269 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -278,7 +280,7 @@ to 3. The max size 3 will be customizable soon.</p> 
     | 
|
| 
       278 
280 
     | 
    
         
             
                  </div>
         
     | 
| 
       279 
281 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       280 
282 
     | 
    
         
             
                </div>
         
     | 
| 
       281 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 283 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       282 
284 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       283 
285 
     | 
    
         
             
                  <ul>
         
     | 
| 
       284 
286 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -290,13 +292,13 @@ to 3. The max size 3 will be customizable soon.</p> 
     | 
|
| 
       290 
292 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       291 
293 
     | 
    
         
             
                      <a href="rand.html" title="7.12.12. rand"
         
     | 
| 
       292 
294 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       293 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
      
 295 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       294 
296 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       295 
297 
     | 
    
         
             
                      <li><a href="../function.html" >7.12. Function</a> »</li> 
         
     | 
| 
       296 
298 
     | 
    
         
             
                  </ul>
         
     | 
| 
       297 
299 
     | 
    
         
             
                </div>
         
     | 
| 
       298 
     | 
    
         
            -
                <div class="footer">
         
     | 
| 
       299 
     | 
    
         
            -
                    © Copyright 2009- 
     | 
| 
      
 300 
     | 
    
         
            +
                <div class="footer" role="contentinfo">
         
     | 
| 
      
 301 
     | 
    
         
            +
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       300 
302 
     | 
    
         
             
                </div>
         
     | 
| 
       301 
303 
     | 
    
         
             
              </body>
         
     | 
| 
       302 
304 
     | 
    
         
             
            </html>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>7.12.14. sub_filter — Groonga  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.12.14. sub_filter — Groonga v5.0.0 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.0',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,12 +25,12 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga  
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.0 documentation" href="../../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="7.12. Function" href="../function.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="7.13. Operations" href="../operations.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="7.12.13. snippet_html" href="snippet_html.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body>
         
     | 
| 
      
 33 
     | 
    
         
            +
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       35 
35 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       36 
36 
     | 
    
         
             
                <a id="top-link" href="../../index.html">
         
     | 
| 
         @@ -48,7 +48,7 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
            </div>
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 51 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       52 
52 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <ul>
         
     | 
| 
       54 
54 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="snippet_html.html" title="7.12.13. snippet_html"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       65 
65 
     | 
    
         
             
                      <li><a href="../function.html" accesskey="U">7.12. Function</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
         @@ -69,20 +69,20 @@ 
     | 
|
| 
       69 
69 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       70 
70 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       71 
71 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       72 
     | 
    
         
            -
                      <div class="body">
         
     | 
| 
      
 72 
     | 
    
         
            +
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="sub-filter">
         
     | 
| 
       75 
75 
     | 
    
         
             
            <h1>7.12.14. sub_filter<a class="headerlink" href="#sub-filter" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <div class="section" id="summary">
         
     | 
| 
       77 
77 
     | 
    
         
             
            <h2>7.12.14.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       78 
     | 
    
         
            -
            <p>< 
     | 
| 
       79 
     | 
    
         
            -
            <p>< 
     | 
| 
      
 78 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">sub_filter</span></code> evaluates <code class="docutils literal"><span class="pre">filter_string</span></code> in <code class="docutils literal"><span class="pre">scope</span></code> context.</p>
         
     | 
| 
      
 79 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">sub_filter</span></code> can be used in only <code class="docutils literal"><span class="pre">--filter</span></code> in
         
     | 
| 
       80 
80 
     | 
    
         
             
            <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
         
     | 
| 
       81 
81 
     | 
    
         
             
            </div>
         
     | 
| 
       82 
82 
     | 
    
         
             
            <div class="section" id="syntax">
         
     | 
| 
       83 
83 
     | 
    
         
             
            <h2>7.12.14.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       84 
     | 
    
         
            -
            <p>< 
     | 
| 
       85 
     | 
    
         
            -
            < 
     | 
| 
      
 84 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">sub_filter</span></code> requires two arguments. They are <code class="docutils literal"><span class="pre">scope</span></code> and
         
     | 
| 
      
 85 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">filter_string</span></code>.</p>
         
     | 
| 
       86 
86 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>sub_filter(scope, filter_string)
         
     | 
| 
       87 
87 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       88 
88 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -138,7 +138,7 @@ load --table Blog 
     | 
|
| 
       138 
138 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       139 
139 
     | 
    
         
             
            </div>
         
     | 
| 
       140 
140 
     | 
    
         
             
            <dl class="docutils">
         
     | 
| 
       141 
     | 
    
         
            -
            <dt>Here is the simple usage of < 
     | 
| 
      
 141 
     | 
    
         
            +
            <dt>Here is the simple usage of <code class="docutils literal"><span class="pre">sub_filter</span></code> function which extracts the blog entry</dt>
         
     | 
| 
       142 
142 
     | 
    
         
             
            <dd>user 'A' commented out.</dd>
         
     | 
| 
       143 
143 
     | 
    
         
             
            </dl>
         
     | 
| 
       144 
144 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -214,32 +214,32 @@ Because the arguments of sub_filter is evaluated in comments column's context.</ 
     | 
|
| 
       214 
214 
     | 
    
         
             
            </div>
         
     | 
| 
       215 
215 
     | 
    
         
             
            <div class="section" id="parameters">
         
     | 
| 
       216 
216 
     | 
    
         
             
            <h2>7.12.14.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       217 
     | 
    
         
            -
            <p>There are two required parameter, < 
     | 
| 
      
 217 
     | 
    
         
            +
            <p>There are two required parameter, <code class="docutils literal"><span class="pre">scope</span></code> and <code class="docutils literal"><span class="pre">filter_string</span></code>.</p>
         
     | 
| 
       218 
218 
     | 
    
         
             
            <div class="section" id="scope">
         
     | 
| 
       219 
     | 
    
         
            -
            <h3>7.12.14.4.1. < 
     | 
| 
       220 
     | 
    
         
            -
            <p>It specifies a column of the table that is specified by < 
     | 
| 
       221 
     | 
    
         
            -
            parameter in < 
     | 
| 
       222 
     | 
    
         
            -
            is described later. < 
     | 
| 
       223 
     | 
    
         
            -
            context. It means that < 
     | 
| 
       224 
     | 
    
         
            -
            < 
     | 
| 
      
 219 
     | 
    
         
            +
            <h3>7.12.14.4.1. <code class="docutils literal"><span class="pre">scope</span></code><a class="headerlink" href="#scope" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
      
 220 
     | 
    
         
            +
            <p>It specifies a column of the table that is specified by <code class="docutils literal"><span class="pre">table</span></code>
         
     | 
| 
      
 221 
     | 
    
         
            +
            parameter in <code class="docutils literal"><span class="pre">select</span></code>. The column has a limitation. The limitation
         
     | 
| 
      
 222 
     | 
    
         
            +
            is described later. <code class="docutils literal"><span class="pre">filter_string</span></code> is evaluated in the column
         
     | 
| 
      
 223 
     | 
    
         
            +
            context. It means that <code class="docutils literal"><span class="pre">filter_string</span></code> is evaluated like
         
     | 
| 
      
 224 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">select</span> <span class="pre">--table</span> <span class="pre">TYPE_OF_THE_COLUMN</span> <span class="pre">--filter</span> <span class="pre">FILTER_STRING</span></code>.</p>
         
     | 
| 
       225 
225 
     | 
    
         
             
            <p>The specified column type must be a table. In other words, the column
         
     | 
| 
       226 
226 
     | 
    
         
             
            type must be reference type.</p>
         
     | 
| 
       227 
     | 
    
         
            -
            <p>You can chain columns by < 
     | 
| 
       228 
     | 
    
         
            -
            syntax. For example, < 
     | 
| 
       229 
     | 
    
         
            -
            <p>See <a class="reference internal" href="../commands/select.html#select-table"><em>table</em></a> about < 
     | 
| 
      
 227 
     | 
    
         
            +
            <p>You can chain columns by <code class="docutils literal"><span class="pre">COLUMN_1.COLUMN_2.COLUMN_3...COLUMN_N</span></code>
         
     | 
| 
      
 228 
     | 
    
         
            +
            syntax. For example, <code class="docutils literal"><span class="pre">user.group.name</span></code>.</p>
         
     | 
| 
      
 229 
     | 
    
         
            +
            <p>See <a class="reference internal" href="../commands/select.html#select-table"><em>table</em></a> about <code class="docutils literal"><span class="pre">table</span></code> parameter in <code class="docutils literal"><span class="pre">select</span></code>.</p>
         
     | 
| 
       230 
230 
     | 
    
         
             
            </div>
         
     | 
| 
       231 
231 
     | 
    
         
             
            <div class="section" id="filter-string">
         
     | 
| 
       232 
     | 
    
         
            -
            <h3>7.12.14.4.2. < 
     | 
| 
      
 232 
     | 
    
         
            +
            <h3>7.12.14.4.2. <code class="docutils literal"><span class="pre">filter_string</span></code><a class="headerlink" href="#filter-string" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       233 
233 
     | 
    
         
             
            <p>It specifies a search condition in
         
     | 
| 
       234 
     | 
    
         
            -
            <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. It is evaluated in < 
     | 
| 
      
 234 
     | 
    
         
            +
            <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. It is evaluated in <code class="docutils literal"><span class="pre">scope</span></code>
         
     | 
| 
       235 
235 
     | 
    
         
             
            context.</p>
         
     | 
| 
       236 
236 
     | 
    
         
             
            </div>
         
     | 
| 
       237 
237 
     | 
    
         
             
            </div>
         
     | 
| 
       238 
238 
     | 
    
         
             
            <div class="section" id="return-value">
         
     | 
| 
       239 
239 
     | 
    
         
             
            <h2>7.12.14.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       240 
     | 
    
         
            -
            <p>< 
     | 
| 
       241 
     | 
    
         
            -
            more records are matched, it returns < 
     | 
| 
       242 
     | 
    
         
            -
            < 
     | 
| 
      
 240 
     | 
    
         
            +
            <p><code class="docutils literal"><span class="pre">sub_filter</span></code> returns whether any record is matched or not. If one or
         
     | 
| 
      
 241 
     | 
    
         
            +
            more records are matched, it returns <code class="docutils literal"><span class="pre">true</span></code>. Otherwise, it returns
         
     | 
| 
      
 242 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">false</span></code>.</p>
         
     | 
| 
       243 
243 
     | 
    
         
             
            </div>
         
     | 
| 
       244 
244 
     | 
    
         
             
            <div class="section" id="see-also">
         
     | 
| 
       245 
245 
     | 
    
         
             
            <h2>7.12.14.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
         @@ -254,7 +254,7 @@ more records are matched, it returns <tt class="docutils literal"><span class="p 
     | 
|
| 
       254 
254 
     | 
    
         
             
                      </div>
         
     | 
| 
       255 
255 
     | 
    
         
             
                    </div>
         
     | 
| 
       256 
256 
     | 
    
         
             
                  </div>
         
     | 
| 
       257 
     | 
    
         
            -
                  <div class="sphinxsidebar">
         
     | 
| 
      
 257 
     | 
    
         
            +
                  <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         
     | 
| 
       258 
258 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       259 
259 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       260 
260 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -263,8 +263,8 @@ more records are matched, it returns <tt class="docutils literal"><span class="p 
     | 
|
| 
       263 
263 
     | 
    
         
             
            <li><a class="reference internal" href="#syntax">7.12.14.2. Syntax</a></li>
         
     | 
| 
       264 
264 
     | 
    
         
             
            <li><a class="reference internal" href="#usage">7.12.14.3. Usage</a></li>
         
     | 
| 
       265 
265 
     | 
    
         
             
            <li><a class="reference internal" href="#parameters">7.12.14.4. Parameters</a><ul>
         
     | 
| 
       266 
     | 
    
         
            -
            <li><a class="reference internal" href="#scope">7.12.14.4.1. < 
     | 
| 
       267 
     | 
    
         
            -
            <li><a class="reference internal" href="#filter-string">7.12.14.4.2. < 
     | 
| 
      
 266 
     | 
    
         
            +
            <li><a class="reference internal" href="#scope">7.12.14.4.1. <code class="docutils literal"><span class="pre">scope</span></code></a></li>
         
     | 
| 
      
 267 
     | 
    
         
            +
            <li><a class="reference internal" href="#filter-string">7.12.14.4.2. <code class="docutils literal"><span class="pre">filter_string</span></code></a></li>
         
     | 
| 
       268 
268 
     | 
    
         
             
            </ul>
         
     | 
| 
       269 
269 
     | 
    
         
             
            </li>
         
     | 
| 
       270 
270 
     | 
    
         
             
            <li><a class="reference internal" href="#return-value">7.12.14.5. Return value</a></li>
         
     | 
| 
         @@ -279,12 +279,14 @@ more records are matched, it returns <tt class="docutils literal"><span class="p 
     | 
|
| 
       279 
279 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       280 
280 
     | 
    
         
             
              <p class="topless"><a href="../operations.html"
         
     | 
| 
       281 
281 
     | 
    
         
             
                                    title="next chapter">7.13. Operations</a></p>
         
     | 
| 
       282 
     | 
    
         
            -
              < 
     | 
| 
       283 
     | 
    
         
            -
             
     | 
| 
       284 
     | 
    
         
            -
                < 
     | 
| 
       285 
     | 
    
         
            -
             
     | 
| 
       286 
     | 
    
         
            -
             
     | 
| 
       287 
     | 
    
         
            -
             
     | 
| 
      
 282 
     | 
    
         
            +
              <div role="note" aria-label="source link">
         
     | 
| 
      
 283 
     | 
    
         
            +
                <h3>This Page</h3>
         
     | 
| 
      
 284 
     | 
    
         
            +
                <ul class="this-page-menu">
         
     | 
| 
      
 285 
     | 
    
         
            +
                  <li><a href="../../_sources/reference/functions/sub_filter.txt"
         
     | 
| 
      
 286 
     | 
    
         
            +
                        rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 287 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 288 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 289 
     | 
    
         
            +
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
       288 
290 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       289 
291 
     | 
    
         
             
                <form class="search" action="../../search.html" method="get">
         
     | 
| 
       290 
292 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -301,7 +303,7 @@ more records are matched, it returns <tt class="docutils literal"><span class="p 
     | 
|
| 
       301 
303 
     | 
    
         
             
                  </div>
         
     | 
| 
       302 
304 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       303 
305 
     | 
    
         
             
                </div>
         
     | 
| 
       304 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 306 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       305 
307 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       306 
308 
     | 
    
         
             
                  <ul>
         
     | 
| 
       307 
309 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -313,13 +315,13 @@ more records are matched, it returns <tt class="docutils literal"><span class="p 
     | 
|
| 
       313 
315 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       314 
316 
     | 
    
         
             
                      <a href="snippet_html.html" title="7.12.13. snippet_html"
         
     | 
| 
       315 
317 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       316 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
      
 318 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       317 
319 
     | 
    
         
             
                      <li><a href="../../reference.html" >7. Reference manual</a> »</li>
         
     | 
| 
       318 
320 
     | 
    
         
             
                      <li><a href="../function.html" >7.12. Function</a> »</li> 
         
     | 
| 
       319 
321 
     | 
    
         
             
                  </ul>
         
     | 
| 
       320 
322 
     | 
    
         
             
                </div>
         
     | 
| 
       321 
     | 
    
         
            -
                <div class="footer">
         
     | 
| 
       322 
     | 
    
         
            -
                    © Copyright 2009- 
     | 
| 
      
 323 
     | 
    
         
            +
                <div class="footer" role="contentinfo">
         
     | 
| 
      
 324 
     | 
    
         
            +
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       323 
325 
     | 
    
         
             
                </div>
         
     | 
| 
       324 
326 
     | 
    
         
             
              </body>
         
     | 
| 
       325 
327 
     | 
    
         
             
            </html>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>7.11. grn_expr — Groonga  
     | 
| 
      
 10 
     | 
    
         
            +
                <title>7.11. grn_expr — Groonga v5.0.0 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '5.0.0',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,12 +25,12 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
                <script type="text/javascript" src="../_static/underscore.js"></script>
         
     | 
| 
       26 
26 
     | 
    
         
             
                <script type="text/javascript" src="../_static/doctools.js"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
                <link rel="shortcut icon" href="../_static/favicon.ico"/>
         
     | 
| 
       28 
     | 
    
         
            -
                <link rel="top" title="Groonga  
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v5.0.0 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="7. Reference manual" href="../reference.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="7.11.1. Query syntax" href="grn_expr/query_syntax.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="7.10.1. QueryExpanderTSV" href="query_expanders/tsv.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body>
         
     | 
| 
      
 33 
     | 
    
         
            +
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
       35 
35 
     | 
    
         
             
              <h1 class="title">
         
     | 
| 
       36 
36 
     | 
    
         
             
                <a id="top-link" href="../index.html">
         
     | 
| 
         @@ -48,7 +48,7 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
            </div>
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 51 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       52 
52 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       53 
53 
     | 
    
         
             
                  <ul>
         
     | 
| 
       54 
54 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -60,7 +60,7 @@ 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
61 
     | 
    
         
             
                      <a href="query_expanders/tsv.html" title="7.10.1. QueryExpanderTSV"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga  
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../reference.html" accesskey="U">7. Reference manual</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -68,16 +68,16 @@ 
     | 
|
| 
       68 
68 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       69 
69 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       70 
70 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       71 
     | 
    
         
            -
                      <div class="body">
         
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body" role="main">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="grn-expr">
         
     | 
| 
       74 
74 
     | 
    
         
             
            <h1>7.11. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       75 
75 
     | 
    
         
             
            <p>Grn_expr is an object that searches records with specified conditions
         
     | 
| 
       76 
     | 
    
         
            -
            and manipulates a database. It's pronounced as < 
     | 
| 
      
 76 
     | 
    
         
            +
            and manipulates a database. It's pronounced as <code class="docutils literal"><span class="pre">gurun</span> <span class="pre">expression</span></code>.</p>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>Conditions for searching records from a database can be represented by
         
     | 
| 
       78 
     | 
    
         
            -
            conbining condition expressions such as < 
     | 
| 
       79 
     | 
    
         
            -
            and < 
     | 
| 
       80 
     | 
    
         
            -
            < 
     | 
| 
      
 78 
     | 
    
         
            +
            conbining condition expressions such as <code class="docutils literal"><span class="pre">equal</span> <span class="pre">condition</span> <span class="pre">expression</span></code>
         
     | 
| 
      
 79 
     | 
    
         
            +
            and <code class="docutils literal"><span class="pre">less</span> <span class="pre">than</span> <span class="pre">condition</span> <span class="pre">expression</span></code> with set operations such as
         
     | 
| 
      
 80 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">AND</span></code>, <code class="docutils literal"><span class="pre">OR</span></code> and <code class="docutils literal"><span class="pre">NOT</span></code>. Grn_expr executes those conditions to
         
     | 
| 
       81 
81 
     | 
    
         
             
            search records. You can also use advanced searches such as similar
         
     | 
| 
       82 
82 
     | 
    
         
             
            search and near search by grn_expr. You can also use flexible full
         
     | 
| 
       83 
83 
     | 
    
         
             
            text search. For example, you can control hit scores for specified
         
     | 
| 
         @@ -96,13 +96,13 @@ matched rescords is used.</p> 
     | 
|
| 
       96 
96 
     | 
    
         
             
            Internet search site. It's simple and easy to use but it has a
         
     | 
| 
       97 
97 
     | 
    
         
             
            limitation. You can not use all condition expressions and set
         
     | 
| 
       98 
98 
     | 
    
         
             
            operations in <a class="reference internal" href="grn_expr/query_syntax.html"><em>Query syntax</em></a>. You can use
         
     | 
| 
       99 
     | 
    
         
            -
            <a class="reference internal" href="grn_expr/query_syntax.html"><em>Query syntax</em></a> with < 
     | 
| 
      
 99 
     | 
    
         
            +
            <a class="reference internal" href="grn_expr/query_syntax.html"><em>Query syntax</em></a> with <code class="docutils literal"><span class="pre">query</span></code> option in
         
     | 
| 
       100 
100 
     | 
    
         
             
            <a class="reference internal" href="commands/select.html"><em>select</em></a>.</p>
         
     | 
| 
       101 
101 
     | 
    
         
             
            <p><a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a> is ECMAScript like
         
     | 
| 
       102 
102 
     | 
    
         
             
            syntax. You can use all condition expresssions and set operations in
         
     | 
| 
       103 
103 
     | 
    
         
             
            <a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a>. You can use
         
     | 
| 
       104 
     | 
    
         
            -
            <a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a> with < 
     | 
| 
       105 
     | 
    
         
            -
            < 
     | 
| 
      
 104 
     | 
    
         
            +
            <a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a> with <code class="docutils literal"><span class="pre">filter</span></code> option and
         
     | 
| 
      
 105 
     | 
    
         
            +
            <code class="docutils literal"><span class="pre">scorer</span></code> option in <a class="reference internal" href="commands/select.html"><em>select</em></a>.</p>
         
     | 
| 
       106 
106 
     | 
    
         
             
            <p>You can use groonga as a library and create a grn_expr by calling
         
     | 
| 
       107 
107 
     | 
    
         
             
            grn_expr related APIs. You can use full features with calling APIs
         
     | 
| 
       108 
108 
     | 
    
         
             
            like <a class="reference internal" href="grn_expr/script_syntax.html"><em>Script syntax</em></a>. Calling APIs is useful
         
     | 
| 
         @@ -129,7 +129,7 @@ parsing string.</p> 
     | 
|
| 
       129 
129 
     | 
    
         
             
                      </div>
         
     | 
| 
       130 
130 
     | 
    
         
             
                    </div>
         
     | 
| 
       131 
131 
     | 
    
         
             
                  </div>
         
     | 
| 
       132 
     | 
    
         
            -
                  <div class="sphinxsidebar">
         
     | 
| 
      
 132 
     | 
    
         
            +
                  <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         
     | 
| 
       133 
133 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       134 
134 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       135 
135 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -145,12 +145,14 @@ parsing string.</p> 
     | 
|
| 
       145 
145 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       146 
146 
     | 
    
         
             
              <p class="topless"><a href="grn_expr/query_syntax.html"
         
     | 
| 
       147 
147 
     | 
    
         
             
                                    title="next chapter">7.11.1. Query syntax</a></p>
         
     | 
| 
       148 
     | 
    
         
            -
              < 
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
       150 
     | 
    
         
            -
                < 
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
      
 148 
     | 
    
         
            +
              <div role="note" aria-label="source link">
         
     | 
| 
      
 149 
     | 
    
         
            +
                <h3>This Page</h3>
         
     | 
| 
      
 150 
     | 
    
         
            +
                <ul class="this-page-menu">
         
     | 
| 
      
 151 
     | 
    
         
            +
                  <li><a href="../_sources/reference/grn_expr.txt"
         
     | 
| 
      
 152 
     | 
    
         
            +
                        rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 153 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 154 
     | 
    
         
            +
               </div>
         
     | 
| 
      
 155 
     | 
    
         
            +
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
       154 
156 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       155 
157 
     | 
    
         
             
                <form class="search" action="../search.html" method="get">
         
     | 
| 
       156 
158 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -167,7 +169,7 @@ parsing string.</p> 
     | 
|
| 
       167 
169 
     | 
    
         
             
                  </div>
         
     | 
| 
       168 
170 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       169 
171 
     | 
    
         
             
                </div>
         
     | 
| 
       170 
     | 
    
         
            -
                <div class="related">
         
     | 
| 
      
 172 
     | 
    
         
            +
                <div class="related" role="navigation" aria-label="related navigation">
         
     | 
| 
       171 
173 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       172 
174 
     | 
    
         
             
                  <ul>
         
     | 
| 
       173 
175 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -179,12 +181,12 @@ parsing string.</p> 
     | 
|
| 
       179 
181 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       180 
182 
     | 
    
         
             
                      <a href="query_expanders/tsv.html" title="7.10.1. QueryExpanderTSV"
         
     | 
| 
       181 
183 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       182 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga  
     | 
| 
      
 184 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v5.0.0 documentation</a> »</li>
         
     | 
| 
       183 
185 
     | 
    
         
             
                      <li><a href="../reference.html" >7. Reference manual</a> »</li> 
         
     | 
| 
       184 
186 
     | 
    
         
             
                  </ul>
         
     | 
| 
       185 
187 
     | 
    
         
             
                </div>
         
     | 
| 
       186 
     | 
    
         
            -
                <div class="footer">
         
     | 
| 
       187 
     | 
    
         
            -
                    © Copyright 2009- 
     | 
| 
      
 188 
     | 
    
         
            +
                <div class="footer" role="contentinfo">
         
     | 
| 
      
 189 
     | 
    
         
            +
                    © Copyright 2009-2015, Brazil, Inc.
         
     | 
| 
       188 
190 
     | 
    
         
             
                </div>
         
     | 
| 
       189 
191 
     | 
    
         
             
              </body>
         
     | 
| 
       190 
192 
     | 
    
         
             
            </html>
         
     |