rroonga 4.0.7-x64-mingw32 → 4.0.8-x64-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 +13 -5
 - data/README.md +1 -1
 - data/doc/text/news.textile +17 -1
 - data/ext/groonga/extconf.rb +2 -1
 - data/ext/groonga/rb-grn-column.c +31 -0
 - data/ext/groonga/rb-grn-database.c +33 -1
 - data/ext/groonga/rb-grn-table.c +1 -1
 - data/ext/groonga/rb-grn.h +1 -1
 - 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/geo-point.rb +2 -1
 - data/rroonga-build.rb +3 -3
 - data/test/test-column.rb +68 -6
 - data/test/test-command-select.rb +0 -3
 - data/test/test-database.rb +28 -1
 - data/test/test-expression-builder.rb +1 -1
 - data/test/test-geo-point.rb +15 -0
 - data/test/test-variable-size-column.rb +2 -2
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-1.dll +0 -0
 - data/vendor/local/bin/libmsgpack-3.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libonig-5.dll +0 -0
 - data/vendor/local/bin/libstdc++-6.dll +0 -0
 - data/vendor/local/bin/libwinpthread-1.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 +1 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +4 -1
 - data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
 - data/vendor/local/include/lz4.h +21 -29
 - data/vendor/local/include/lz4frame.h +252 -0
 - data/vendor/local/include/lz4hc.h +14 -63
 - 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/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/grndb.rb +169 -0
 - data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
 - data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
 - data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -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 +3 -3
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.la +3 -3
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.la +3 -3
 - 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 +6 -6
 - 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/contribution/documentation/introduction.txt +9 -12
 - 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 +10 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
 - 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 +10 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
 - 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.js +2 -4
 - 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/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 +14 -14
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
 - data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
 - data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
 - 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 +10 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
 - 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 +10 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
 - 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.js +2 -4
 - 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/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 +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
 - data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
 - data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
 - data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
 - data/vendor/local/share/groonga/html/admin/index.html +1 -1
 - data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
 - data/vendor/local/share/license/mruby/AUTHORS +11 -0
 - data/vendor/local/share/license/mruby/README.md +32 -20
 - data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
 - data/vendor/local/share/man/man1/groonga.1 +930 -239
 - metadata +104 -81
 - data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
 - data/vendor/local/bin/lz4 +0 -0
 - data/vendor/local/bin/lz4c +0 -0
 - data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.2. Remote access — Groonga v4.0.8 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.2. Remote access — Groonga v4.0.8-168-gae696d7 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:     '4.0.8',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.8-168-gae696d7',
         
     | 
| 
       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 v4.0.8 documentation" href="../index.html" />
         
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="4. Tutorial" href="../tutorial.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="4.3. Various data types" href="data.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="4.1. Basic operations" href="introduction.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body 
     | 
| 
      
 33 
     | 
    
         
            +
              <body>
         
     | 
| 
       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">
         
     | 
| 
       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="introduction.html" title="4.1. Basic operations"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -68,7 +68,7 @@ 
     | 
|
| 
       68 
68 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       69 
69 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       70 
70 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       71 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="remote-access">
         
     | 
| 
       74 
74 
     | 
    
         
             
            <h1>4.2. Remote access<a class="headerlink" href="#remote-access" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
         @@ -292,7 +292,7 @@ select --table Site --query title:@this 
     | 
|
| 
       292 
292 
     | 
    
         
             
                      </div>
         
     | 
| 
       293 
293 
     | 
    
         
             
                    </div>
         
     | 
| 
       294 
294 
     | 
    
         
             
                  </div>
         
     | 
| 
       295 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 295 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       296 
296 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       297 
297 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       298 
298 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -322,14 +322,12 @@ select --table Site --query title:@this 
     | 
|
| 
       322 
322 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       323 
323 
     | 
    
         
             
              <p class="topless"><a href="data.html"
         
     | 
| 
       324 
324 
     | 
    
         
             
                                    title="next chapter">4.3. Various data types</a></p>
         
     | 
| 
       325 
     | 
    
         
            -
              < 
     | 
| 
       326 
     | 
    
         
            -
             
     | 
| 
       327 
     | 
    
         
            -
                < 
     | 
| 
       328 
     | 
    
         
            -
             
     | 
| 
       329 
     | 
    
         
            -
             
     | 
| 
       330 
     | 
    
         
            -
             
     | 
| 
       331 
     | 
    
         
            -
               </div>
         
     | 
| 
       332 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 325 
     | 
    
         
            +
              <h3>This Page</h3>
         
     | 
| 
      
 326 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 327 
     | 
    
         
            +
                <li><a href="../_sources/tutorial/network.txt"
         
     | 
| 
      
 328 
     | 
    
         
            +
                       rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 329 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 330 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       333 
331 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       334 
332 
     | 
    
         
             
                <form class="search" action="../search.html" method="get">
         
     | 
| 
       335 
333 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -346,7 +344,7 @@ select --table Site --query title:@this 
     | 
|
| 
       346 
344 
     | 
    
         
             
                  </div>
         
     | 
| 
       347 
345 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       348 
346 
     | 
    
         
             
                </div>
         
     | 
| 
       349 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 347 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       350 
348 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       351 
349 
     | 
    
         
             
                  <ul>
         
     | 
| 
       352 
350 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -358,11 +356,11 @@ select --table Site --query title:@this 
     | 
|
| 
       358 
356 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       359 
357 
     | 
    
         
             
                      <a href="introduction.html" title="4.1. Basic operations"
         
     | 
| 
       360 
358 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       361 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 359 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       362 
360 
     | 
    
         
             
                      <li><a href="../tutorial.html" >4. Tutorial</a> »</li> 
         
     | 
| 
       363 
361 
     | 
    
         
             
                  </ul>
         
     | 
| 
       364 
362 
     | 
    
         
             
                </div>
         
     | 
| 
       365 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 363 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       366 
364 
     | 
    
         
             
                    © Copyright 2009-2014, Brazil, Inc.
         
     | 
| 
       367 
365 
     | 
    
         
             
                </div>
         
     | 
| 
       368 
366 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.8. Prefix search with patricia trie — Groonga v4.0.8 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.8. Prefix search with patricia trie — Groonga v4.0.8-168-gae696d7 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:     '4.0.8',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.8-168-gae696d7',
         
     | 
| 
       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 v4.0.8 documentation" href="../index.html" />
         
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="4. Tutorial" href="../tutorial.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="4.9. Additional information about lexicon for full text search" href="lexicon.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="4.7. match_columns parameter" href="match_columns.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body 
     | 
| 
      
 33 
     | 
    
         
            +
              <body>
         
     | 
| 
       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">
         
     | 
| 
       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="match_columns.html" title="4.7. match_columns parameter"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -68,7 +68,7 @@ 
     | 
|
| 
       68 
68 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       69 
69 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       70 
70 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       71 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="prefix-search-with-patricia-trie">
         
     | 
| 
       74 
74 
     | 
    
         
             
            <h1>4.8. Prefix search with patricia trie<a class="headerlink" href="#prefix-search-with-patricia-trie" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
         @@ -131,7 +131,7 @@ select --table PatPrefix --query _key:^Je 
     | 
|
| 
       131 
131 
     | 
    
         
             
            <h2>4.8.2. 主キーによる後方一致検索<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       132 
132 
     | 
    
         
             
            <p>table_createコマンドのflagsオプションにTABLE_PAT_KEYとKEY_WITH_SISを指定することで、主キーによる前方一致検索・後方一致検索の両方が可能となります。</p>
         
     | 
| 
       133 
133 
     | 
    
         
             
            <p>KEY_WITH_SISフラグを付与すると、データを追加する際に後方一致用のレコードも追加されてしまいます。そのため、単純に検索すると、元のレコードに加えて自動的に追加されたレコードまでヒットしてしまいます。元のレコードのみ検索するために、一工夫必要になります。</p>
         
     | 
| 
       134 
     | 
    
         
            -
            <p>例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元のレコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが < 
     | 
| 
      
 134 
     | 
    
         
            +
            <p>例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元のレコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが <tt class="docutils literal"><span class="pre">true</span></tt> も検索条件に加えます。 <tt class="docutils literal"><span class="pre">--query</span></tt> オプションでは <tt class="docutils literal"><span class="pre">Bool</span></tt> 型の値を直感的に指定することができないので <tt class="docutils literal"><span class="pre">--filter</span></tt> オプションを使っていることに注意してください。</p>
         
     | 
| 
       135 
135 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       136 
136 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>table_create --name PatSuffix --flags TABLE_PAT_KEY|KEY_WITH_SIS --key_type ShortText
         
     | 
| 
       137 
137 
     | 
    
         
             
            # [[0, 1337566253.89858, 0.000355720520019531], true]
         
     | 
| 
         @@ -242,7 +242,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori 
     | 
|
| 
       242 
242 
     | 
    
         
             
                      </div>
         
     | 
| 
       243 
243 
     | 
    
         
             
                    </div>
         
     | 
| 
       244 
244 
     | 
    
         
             
                  </div>
         
     | 
| 
       245 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 245 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       246 
246 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       247 
247 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       248 
248 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -259,14 +259,12 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori 
     | 
|
| 
       259 
259 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       260 
260 
     | 
    
         
             
              <p class="topless"><a href="lexicon.html"
         
     | 
| 
       261 
261 
     | 
    
         
             
                                    title="next chapter">4.9. Additional information about lexicon for full text search</a></p>
         
     | 
| 
       262 
     | 
    
         
            -
              < 
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
                < 
     | 
| 
       265 
     | 
    
         
            -
             
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
     | 
    
         
            -
               </div>
         
     | 
| 
       269 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 262 
     | 
    
         
            +
              <h3>This Page</h3>
         
     | 
| 
      
 263 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 264 
     | 
    
         
            +
                <li><a href="../_sources/tutorial/patricia_trie.txt"
         
     | 
| 
      
 265 
     | 
    
         
            +
                       rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 266 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 267 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       270 
268 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       271 
269 
     | 
    
         
             
                <form class="search" action="../search.html" method="get">
         
     | 
| 
       272 
270 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -283,7 +281,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori 
     | 
|
| 
       283 
281 
     | 
    
         
             
                  </div>
         
     | 
| 
       284 
282 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       285 
283 
     | 
    
         
             
                </div>
         
     | 
| 
       286 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 284 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       287 
285 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       288 
286 
     | 
    
         
             
                  <ul>
         
     | 
| 
       289 
287 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -295,11 +293,11 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori 
     | 
|
| 
       295 
293 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       296 
294 
     | 
    
         
             
                      <a href="match_columns.html" title="4.7. match_columns parameter"
         
     | 
| 
       297 
295 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       298 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 296 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       299 
297 
     | 
    
         
             
                      <li><a href="../tutorial.html" >4. Tutorial</a> »</li> 
         
     | 
| 
       300 
298 
     | 
    
         
             
                  </ul>
         
     | 
| 
       301 
299 
     | 
    
         
             
                </div>
         
     | 
| 
       302 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 300 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       303 
301 
     | 
    
         
             
                    © Copyright 2009-2014, Brazil, Inc.
         
     | 
| 
       304 
302 
     | 
    
         
             
                </div>
         
     | 
| 
       305 
303 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.11. Query expansion — Groonga v4.0.8 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.11. Query expansion — Groonga v4.0.8-168-gae696d7 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:     '4.0.8',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.8-168-gae696d7',
         
     | 
| 
       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 v4.0.8 documentation" href="../index.html" />
         
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="4. Tutorial" href="../tutorial.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="5. Server" href="../server.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="4.10. Let's create micro-blog" href="micro_blog.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body 
     | 
| 
      
 33 
     | 
    
         
            +
              <body>
         
     | 
| 
       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">
         
     | 
| 
       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="micro_blog.html" title="4.10. Let's create micro-blog"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -68,11 +68,11 @@ 
     | 
|
| 
       68 
68 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       69 
69 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       70 
70 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       71 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="query-expansion">
         
     | 
| 
       74 
74 
     | 
    
         
             
            <h1>4.11. Query expansion<a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       75 
     | 
    
         
            -
            <p>Groonga accepts < 
     | 
| 
      
 75 
     | 
    
         
            +
            <p>Groonga accepts <tt class="docutils literal"><span class="pre">query_expander</span></tt> parameter for <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command.
         
     | 
| 
       76 
76 
     | 
    
         
             
            It enables you to extend your query string.</p>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>For example, if user searches "theatre" instead of "theater",
         
     | 
| 
       78 
78 
     | 
    
         
             
            query expansion enables to return search results of "theatre OR theater".
         
     | 
| 
         @@ -114,7 +114,7 @@ load --table Synonym 
     | 
|
| 
       114 
114 
     | 
    
         
             
            <div class="section" id="search">
         
     | 
| 
       115 
115 
     | 
    
         
             
            <h2>4.11.2. Search<a class="headerlink" href="#search" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       116 
116 
     | 
    
         
             
            <p>Then, let's use prepared synonym table.
         
     | 
| 
       117 
     | 
    
         
            -
            First, use select command without < 
     | 
| 
      
 117 
     | 
    
         
            +
            First, use select command without <tt class="docutils literal"><span class="pre">query_expander</span></tt> parameter.</p>
         
     | 
| 
       118 
118 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       119 
119 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query "theater"
         
     | 
| 
       120 
120 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -187,7 +187,7 @@ select Doc --match_columns body --query "theatre" 
     | 
|
| 
       187 
187 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       188 
188 
     | 
    
         
             
            </div>
         
     | 
| 
       189 
189 
     | 
    
         
             
            <p>Above query returns the record which completely equal to query string.</p>
         
     | 
| 
       190 
     | 
    
         
            -
            <p>Then, use < 
     | 
| 
      
 190 
     | 
    
         
            +
            <p>Then, use <tt class="docutils literal"><span class="pre">query_expander</span></tt> parameter against <tt class="docutils literal"><span class="pre">body</span></tt> column of <tt class="docutils literal"><span class="pre">Synonym</span></tt> table.</p>
         
     | 
| 
       191 
191 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       192 
192 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select Doc --match_columns body --query "theater" --query_expander Synonym.body
         
     | 
| 
       193 
193 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -277,7 +277,7 @@ select Doc --match_columns body --query "theatre" --query_expander Syn 
     | 
|
| 
       277 
277 
     | 
    
         
             
                      </div>
         
     | 
| 
       278 
278 
     | 
    
         
             
                    </div>
         
     | 
| 
       279 
279 
     | 
    
         
             
                  </div>
         
     | 
| 
       280 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 280 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       281 
281 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       282 
282 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       283 
283 
     | 
    
         
             
              <ul>
         
     | 
| 
         @@ -294,14 +294,12 @@ select Doc --match_columns body --query "theatre" --query_expander Syn 
     | 
|
| 
       294 
294 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       295 
295 
     | 
    
         
             
              <p class="topless"><a href="../server.html"
         
     | 
| 
       296 
296 
     | 
    
         
             
                                    title="next chapter">5. Server</a></p>
         
     | 
| 
       297 
     | 
    
         
            -
              < 
     | 
| 
       298 
     | 
    
         
            -
             
     | 
| 
       299 
     | 
    
         
            -
                < 
     | 
| 
       300 
     | 
    
         
            -
             
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
               </div>
         
     | 
| 
       304 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 297 
     | 
    
         
            +
              <h3>This Page</h3>
         
     | 
| 
      
 298 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 299 
     | 
    
         
            +
                <li><a href="../_sources/tutorial/query_expansion.txt"
         
     | 
| 
      
 300 
     | 
    
         
            +
                       rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 301 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 302 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       305 
303 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       306 
304 
     | 
    
         
             
                <form class="search" action="../search.html" method="get">
         
     | 
| 
       307 
305 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -318,7 +316,7 @@ select Doc --match_columns body --query "theatre" --query_expander Syn 
     | 
|
| 
       318 
316 
     | 
    
         
             
                  </div>
         
     | 
| 
       319 
317 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       320 
318 
     | 
    
         
             
                </div>
         
     | 
| 
       321 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 319 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       322 
320 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       323 
321 
     | 
    
         
             
                  <ul>
         
     | 
| 
       324 
322 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -330,11 +328,11 @@ select Doc --match_columns body --query "theatre" --query_expander Syn 
     | 
|
| 
       330 
328 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       331 
329 
     | 
    
         
             
                      <a href="micro_blog.html" title="4.10. Let's create micro-blog"
         
     | 
| 
       332 
330 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       333 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 331 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       334 
332 
     | 
    
         
             
                      <li><a href="../tutorial.html" >4. Tutorial</a> »</li> 
         
     | 
| 
       335 
333 
     | 
    
         
             
                  </ul>
         
     | 
| 
       336 
334 
     | 
    
         
             
                </div>
         
     | 
| 
       337 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 335 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       338 
336 
     | 
    
         
             
                    © Copyright 2009-2014, Brazil, Inc.
         
     | 
| 
       339 
337 
     | 
    
         
             
                </div>
         
     | 
| 
       340 
338 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>4.4. Various search conditions — Groonga v4.0.8 documentation</title>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <title>4.4. Various search conditions — Groonga v4.0.8-168-gae696d7 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:     '4.0.8',
         
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.8-168-gae696d7',
         
     | 
| 
       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 v4.0.8 documentation" href="../index.html" />
         
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.8-168-gae696d7 documentation" href="../index.html" />
         
     | 
| 
       29 
29 
     | 
    
         
             
                <link rel="up" title="4. Tutorial" href="../tutorial.html" />
         
     | 
| 
       30 
30 
     | 
    
         
             
                <link rel="next" title="4.5. Drilldown" href="drilldown.html" />
         
     | 
| 
       31 
31 
     | 
    
         
             
                <link rel="prev" title="4.3. Various data types" href="data.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
     | 
    
         
            -
              <body 
     | 
| 
      
 33 
     | 
    
         
            +
              <body>
         
     | 
| 
       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">
         
     | 
| 
       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="data.html" title="4.3. Various data types"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       64 
64 
     | 
    
         
             
                      <li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
         @@ -68,15 +68,15 @@ 
     | 
|
| 
       68 
68 
     | 
    
         
             
                <div class="document">
         
     | 
| 
       69 
69 
     | 
    
         
             
                  <div class="documentwrapper">
         
     | 
| 
       70 
70 
     | 
    
         
             
                    <div class="bodywrapper">
         
     | 
| 
       71 
     | 
    
         
            -
                      <div class="body" 
     | 
| 
      
 71 
     | 
    
         
            +
                      <div class="body">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="various-search-conditions">
         
     | 
| 
       74 
74 
     | 
    
         
             
            <h1>4.4. Various search conditions<a class="headerlink" href="#various-search-conditions" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       75 
75 
     | 
    
         
             
            <p>Groonga supports to narrow down by using syntax like JavaScript, sort by the calculated value. Additionally, Groonga also supports to narrow down & sort search results by using location information (latitude & longitude).</p>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <div class="section" id="narrow-down-full-text-search-by-using-syntax-like-javascript">
         
     | 
| 
       77 
77 
     | 
    
         
             
            <h2>4.4.1. Narrow down & Full-text search by using syntax like JavaScript<a class="headerlink" href="#narrow-down-full-text-search-by-using-syntax-like-javascript" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       78 
     | 
    
         
            -
            <p>The < 
     | 
| 
       79 
     | 
    
         
            -
            There is one difference between < 
     | 
| 
      
 78 
     | 
    
         
            +
            <p>The <tt class="docutils literal"><span class="pre">filter</span></tt> parameter of <tt class="docutils literal"><span class="pre">select</span></tt> command accepts the search condition.
         
     | 
| 
      
 79 
     | 
    
         
            +
            There is one difference between <tt class="docutils literal"><span class="pre">filter</span></tt> parameter and <tt class="docutils literal"><span class="pre">query</span></tt> parameter, you need to specify the condition by syntax like JavaScript for <tt class="docutils literal"><span class="pre">filter</span></tt> parameter.</p>
         
     | 
| 
       80 
80 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       81 
81 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "_id <= 1" --output_columns _id,_key
         
     | 
| 
       82 
82 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -109,12 +109,12 @@ There is one difference between <code class="docutils literal"><span class="pre" 
     | 
|
| 
       109 
109 
     | 
    
         
             
            # ]
         
     | 
| 
       110 
110 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       111 
111 
     | 
    
         
             
            </div>
         
     | 
| 
       112 
     | 
    
         
            -
            <p>See the detail of above query. Here is the condition which is specified as < 
     | 
| 
      
 112 
     | 
    
         
            +
            <p>See the detail of above query. Here is the condition which is specified as <tt class="docutils literal"><span class="pre">filter</span></tt> parameter:</p>
         
     | 
| 
       113 
113 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>_id <= 1
         
     | 
| 
       114 
114 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       115 
115 
     | 
    
         
             
            </div>
         
     | 
| 
       116 
     | 
    
         
            -
            <p>In this case, this query returns the records which meets the condition that the value of < 
     | 
| 
       117 
     | 
    
         
            -
            <p>Moreover, you can use < 
     | 
| 
      
 116 
     | 
    
         
            +
            <p>In this case, this query returns the records which meets the condition that the value of <tt class="docutils literal"><span class="pre">_id</span></tt> is equal to 1.</p>
         
     | 
| 
      
 117 
     | 
    
         
            +
            <p>Moreover, you can use <tt class="docutils literal"><span class="pre">&&</span></tt> for AND search, <tt class="docutils literal"><span class="pre">||</span></tt> for OR search.</p>
         
     | 
| 
       118 
118 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       119 
119 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "_id >= 4 && _id <= 6" --output_columns _id,_key
         
     | 
| 
       120 
120 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -200,12 +200,12 @@ select --table Site --filter "_id <= 2 || _id >= 7" --output_col 
     | 
|
| 
       200 
200 
     | 
    
         
             
            # ]
         
     | 
| 
       201 
201 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       202 
202 
     | 
    
         
             
            </div>
         
     | 
| 
       203 
     | 
    
         
            -
            <p>If you specify < 
     | 
| 
      
 203 
     | 
    
         
            +
            <p>If you specify <tt class="docutils literal"><span class="pre">query</span></tt> parameter and <tt class="docutils literal"><span class="pre">filter</span></tt> parameter at the same time, you can get the records which meets both of the condition as a result.</p>
         
     | 
| 
       204 
204 
     | 
    
         
             
            </div>
         
     | 
| 
       205 
205 
     | 
    
         
             
            <div class="section" id="sort-by-using-scorer">
         
     | 
| 
       206 
     | 
    
         
            -
            <h2>4.4.2. Sort by using < 
     | 
| 
       207 
     | 
    
         
            -
            <p>< 
     | 
| 
       208 
     | 
    
         
            -
            <p>This parameter accepts the conditions which is specified by syntax like JavaScript as same as < 
     | 
| 
      
 206 
     | 
    
         
            +
            <h2>4.4.2. Sort by using <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#sort-by-using-scorer" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
      
 207 
     | 
    
         
            +
            <p><tt class="docutils literal"><span class="pre">select</span></tt> command accepts <tt class="docutils literal"><span class="pre">scorer</span></tt> parameter which is used to process each record of full-text search results.</p>
         
     | 
| 
      
 208 
     | 
    
         
            +
            <p>This parameter accepts the conditions which is specified by syntax like JavaScript as same as <tt class="docutils literal"><span class="pre">filter</span></tt> parameter.</p>
         
     | 
| 
       209 
209 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       210 
210 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "true" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
         
     | 
| 
       211 
211 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -359,12 +359,12 @@ select --table Site --filter "true" --scorer "_score = rand()&quo 
     | 
|
| 
       359 
359 
     | 
    
         
             
            </div>
         
     | 
| 
       360 
360 
     | 
    
         
             
            <p>'_score' is one of a pseudo column. The score of full-text search is assigned to it.
         
     | 
| 
       361 
361 
     | 
    
         
             
            See <a class="reference internal" href="../reference/columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> about '_score' column.</p>
         
     | 
| 
       362 
     | 
    
         
            -
            <p>In the above query, the condition of < 
     | 
| 
      
 362 
     | 
    
         
            +
            <p>In the above query, the condition of <tt class="docutils literal"><span class="pre">scorer</span></tt> parameter is:</p>
         
     | 
| 
       363 
363 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>_score = rand()
         
     | 
| 
       364 
364 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       365 
365 
     | 
    
         
             
            </div>
         
     | 
| 
       366 
366 
     | 
    
         
             
            <p>In this case, the score of full-text search is overwritten by the value of rand() function.</p>
         
     | 
| 
       367 
     | 
    
         
            -
            <p>The condition of < 
     | 
| 
      
 367 
     | 
    
         
            +
            <p>The condition of <tt class="docutils literal"><span class="pre">sortby</span></tt> parameter is:</p>
         
     | 
| 
       368 
368 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>_score
         
     | 
| 
       369 
369 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       370 
370 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -374,7 +374,7 @@ See <a class="reference internal" href="../reference/columns/pseudo.html"><em> 
     | 
|
| 
       374 
374 
     | 
    
         
             
            <div class="section" id="narrow-down-sort-by-using-location-information">
         
     | 
| 
       375 
375 
     | 
    
         
             
            <h2>4.4.3. Narrow down & sort by using location information<a class="headerlink" href="#narrow-down-sort-by-using-location-information" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       376 
376 
     | 
    
         
             
            <p>Groonga supports to store location information (Longitude & Latitude) and not only narrow down but also sort by using it.</p>
         
     | 
| 
       377 
     | 
    
         
            -
            <p>Groonga supports two kind of column types to store location information. One is < 
     | 
| 
      
 377 
     | 
    
         
            +
            <p>Groonga supports two kind of column types to store location information. One is <tt class="docutils literal"><span class="pre">TokyoGeoPoint</span></tt>, the other is <tt class="docutils literal"><span class="pre">WGS84GeoPoint</span></tt>. <tt class="docutils literal"><span class="pre">TokyoGeoPoint</span></tt> is used for Japan geodetic system. <tt class="docutils literal"><span class="pre">WGS84GeoPoint</span></tt> is used for world geodetic system.</p>
         
     | 
| 
       378 
378 
     | 
    
         
             
            <p>Specify longitude and latitude as follows:</p>
         
     | 
| 
       379 
379 
     | 
    
         
             
            <ul class="simple">
         
     | 
| 
       380 
380 
     | 
    
         
             
            <li>"[latitude in milliseconds]x[longitude in milliseconds]"(e.g.: "128452975x503157902")</li>
         
     | 
| 
         @@ -428,7 +428,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       428 
428 
     | 
    
         
             
            # ]
         
     | 
| 
       429 
429 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       430 
430 
     | 
    
         
             
            </div>
         
     | 
| 
       431 
     | 
    
         
            -
            <p>Then assign the value of geo distance which is calculated by <a class="reference internal" href="../reference/functions/geo_distance.html"><em>geo_distance</em></a> function to < 
     | 
| 
      
 431 
     | 
    
         
            +
            <p>Then assign the value of geo distance which is calculated by <a class="reference internal" href="../reference/functions/geo_distance.html"><em>geo_distance</em></a> function to <tt class="docutils literal"><span class="pre">scorer</span></tt> parameter.</p>
         
     | 
| 
       432 
432 
     | 
    
         
             
            <p>Let's show geo distance from Akihabara station in Japan. In world geodetic system, the latitude of Akihabara station is  35 degrees 41 minutes 55.259 seconds, the longitude of Akihabara station is 139 degrees 46 minutes 27.188 seconds. Specify "128515259x503187188" for geo_distance function.</p>
         
     | 
| 
       433 
433 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       434 
434 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")'
         
     | 
| 
         @@ -473,7 +473,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       473 
473 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       474 
474 
     | 
    
         
             
            </div>
         
     | 
| 
       475 
475 
     | 
    
         
             
            <p>As you can see, the geo distance between Tokyo station and Akihabara station is 2054 meters, the geo distance between Akihabara station and Shinjyuku station is 6720 meters.</p>
         
     | 
| 
       476 
     | 
    
         
            -
            <p>The return value of geo_distance function is also used for sorting by specifying pseudo < 
     | 
| 
      
 476 
     | 
    
         
            +
            <p>The return value of geo_distance function is also used for sorting by specifying pseudo <tt class="docutils literal"><span class="pre">_score</span></tt> column to <tt class="docutils literal"><span class="pre">sortby</span></tt> parameter.</p>
         
     | 
| 
       477 
477 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       478 
478 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sortby -_score
         
     | 
| 
       479 
479 
     | 
    
         
             
            # [
         
     | 
| 
         @@ -517,7 +517,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       517 
517 
     | 
    
         
             
            </pre></div>
         
     | 
| 
       518 
518 
     | 
    
         
             
            </div>
         
     | 
| 
       519 
519 
     | 
    
         
             
            <p>Groonga also supports to narrow down by "a certain point within specified meters".</p>
         
     | 
| 
       520 
     | 
    
         
            -
            <p>In such a case, use <a class="reference internal" href="../reference/functions/geo_in_circle.html"><em>geo_in_circle</em></a> function in < 
     | 
| 
      
 520 
     | 
    
         
            +
            <p>In such a case, use <a class="reference internal" href="../reference/functions/geo_in_circle.html"><em>geo_in_circle</em></a> function in <tt class="docutils literal"><span class="pre">filter</span></tt> parameter.</p>
         
     | 
| 
       521 
521 
     | 
    
         
             
            <p>For example, search the records which exists within 5000 meters from Akihabara station.</p>
         
     | 
| 
       522 
522 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       523 
523 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>select --table Site --output_columns _key,location --filter 'geo_in_circle(location, "128515259x503187188", 5000)'
         
     | 
| 
         @@ -559,13 +559,13 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       559 
559 
     | 
    
         
             
                      </div>
         
     | 
| 
       560 
560 
     | 
    
         
             
                    </div>
         
     | 
| 
       561 
561 
     | 
    
         
             
                  </div>
         
     | 
| 
       562 
     | 
    
         
            -
                  <div class="sphinxsidebar" 
     | 
| 
      
 562 
     | 
    
         
            +
                  <div class="sphinxsidebar">
         
     | 
| 
       563 
563 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       564 
564 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       565 
565 
     | 
    
         
             
              <ul>
         
     | 
| 
       566 
566 
     | 
    
         
             
            <li><a class="reference internal" href="#">4.4. Various search conditions</a><ul>
         
     | 
| 
       567 
567 
     | 
    
         
             
            <li><a class="reference internal" href="#narrow-down-full-text-search-by-using-syntax-like-javascript">4.4.1. Narrow down & Full-text search by using syntax like JavaScript</a></li>
         
     | 
| 
       568 
     | 
    
         
            -
            <li><a class="reference internal" href="#sort-by-using-scorer">4.4.2. Sort by using < 
     | 
| 
      
 568 
     | 
    
         
            +
            <li><a class="reference internal" href="#sort-by-using-scorer">4.4.2. Sort by using <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
         
     | 
| 
       569 
569 
     | 
    
         
             
            <li><a class="reference internal" href="#narrow-down-sort-by-using-location-information">4.4.3. Narrow down & sort by using location information</a></li>
         
     | 
| 
       570 
570 
     | 
    
         
             
            </ul>
         
     | 
| 
       571 
571 
     | 
    
         
             
            </li>
         
     | 
| 
         @@ -577,14 +577,12 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       577 
577 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       578 
578 
     | 
    
         
             
              <p class="topless"><a href="drilldown.html"
         
     | 
| 
       579 
579 
     | 
    
         
             
                                    title="next chapter">4.5. Drilldown</a></p>
         
     | 
| 
       580 
     | 
    
         
            -
              < 
     | 
| 
       581 
     | 
    
         
            -
             
     | 
| 
       582 
     | 
    
         
            -
                < 
     | 
| 
       583 
     | 
    
         
            -
             
     | 
| 
       584 
     | 
    
         
            -
             
     | 
| 
       585 
     | 
    
         
            -
             
     | 
| 
       586 
     | 
    
         
            -
               </div>
         
     | 
| 
       587 
     | 
    
         
            -
            <div id="searchbox" style="display: none" role="search">
         
     | 
| 
      
 580 
     | 
    
         
            +
              <h3>This Page</h3>
         
     | 
| 
      
 581 
     | 
    
         
            +
              <ul class="this-page-menu">
         
     | 
| 
      
 582 
     | 
    
         
            +
                <li><a href="../_sources/tutorial/search.txt"
         
     | 
| 
      
 583 
     | 
    
         
            +
                       rel="nofollow">Show Source</a></li>
         
     | 
| 
      
 584 
     | 
    
         
            +
              </ul>
         
     | 
| 
      
 585 
     | 
    
         
            +
            <div id="searchbox" style="display: none">
         
     | 
| 
       588 
586 
     | 
    
         
             
              <h3>Quick search</h3>
         
     | 
| 
       589 
587 
     | 
    
         
             
                <form class="search" action="../search.html" method="get">
         
     | 
| 
       590 
588 
     | 
    
         
             
                  <input type="text" name="q" />
         
     | 
| 
         @@ -601,7 +599,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       601 
599 
     | 
    
         
             
                  </div>
         
     | 
| 
       602 
600 
     | 
    
         
             
                  <div class="clearer"></div>
         
     | 
| 
       603 
601 
     | 
    
         
             
                </div>
         
     | 
| 
       604 
     | 
    
         
            -
                <div class="related" 
     | 
| 
      
 602 
     | 
    
         
            +
                <div class="related">
         
     | 
| 
       605 
603 
     | 
    
         
             
                  <h3>Navigation</h3>
         
     | 
| 
       606 
604 
     | 
    
         
             
                  <ul>
         
     | 
| 
       607 
605 
     | 
    
         
             
                    <li class="right" style="margin-right: 10px">
         
     | 
| 
         @@ -613,11 +611,11 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc 
     | 
|
| 
       613 
611 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       614 
612 
     | 
    
         
             
                      <a href="data.html" title="4.3. Various data types"
         
     | 
| 
       615 
613 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       616 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
         
     | 
| 
      
 614 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
         
     | 
| 
       617 
615 
     | 
    
         
             
                      <li><a href="../tutorial.html" >4. Tutorial</a> »</li> 
         
     | 
| 
       618 
616 
     | 
    
         
             
                  </ul>
         
     | 
| 
       619 
617 
     | 
    
         
             
                </div>
         
     | 
| 
       620 
     | 
    
         
            -
                <div class="footer" 
     | 
| 
      
 618 
     | 
    
         
            +
                <div class="footer">
         
     | 
| 
       621 
619 
     | 
    
         
             
                    © Copyright 2009-2014, Brazil, Inc.
         
     | 
| 
       622 
620 
     | 
    
         
             
                </div>
         
     | 
| 
       623 
621 
     | 
    
         
             
              </body>
         
     |