rroonga 4.0.6-x64-mingw32 → 4.0.7-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/doc/text/news.textile +14 -2
- data/ext/groonga/extconf.rb +0 -3
- data/ext/groonga/rb-grn-expression.c +1 -6
- data/ext/groonga/rb-grn-index-column.c +96 -0
- data/ext/groonga/rb-grn-index-cursor.c +32 -8
- data/ext/groonga/rb-grn-posting.c +26 -6
- data/ext/groonga/rb-grn-utils.c +27 -0
- data/ext/groonga/rb-grn.h +4 -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/rroonga-build.rb +3 -3
- data/test/test-column.rb +50 -12
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +80 -25
- data/test/test-index-column.rb +41 -0
- data/test/test-index-cursor.rb +21 -1
- data/test/test-table-key-support.rb +59 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/lz4 +0 -0
- data/vendor/local/bin/lz4c +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/groonga.conf +1 -1
- data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
- data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
- data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
- data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
- data/vendor/local/etc/groonga/httpd/koi-win +103 -0
- data/vendor/local/etc/groonga/httpd/mime.types +89 -0
- data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
- data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
- data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
- data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
- data/vendor/local/etc/groonga/httpd/win-utf +126 -0
- data/vendor/local/include/groonga/groonga.h +5 -2095
- data/vendor/local/include/groonga/groonga/expr.h +108 -0
- data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
- data/vendor/local/include/groonga/groonga/ii.h +46 -0
- data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
- data/vendor/local/include/groonga/groonga/plugin.h +5 -3
- data/vendor/local/include/groonga/groonga/token.h +136 -0
- data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
- data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
- data/vendor/local/include/groonga/groonga/util.h +40 -0
- data/vendor/local/include/lz4.h +323 -0
- data/vendor/local/include/lz4hc.h +223 -0
- data/vendor/local/include/zconf.h +511 -0
- data/vendor/local/include/zlib.h +1768 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/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/scan_info_builder.rb +22 -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.4.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 +14 -0
- 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 +13 -0
- 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/development/release.txt +3 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +7 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
- 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/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
- 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 +19 -17
- data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
- data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
- data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
- data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
- 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 +21 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
- data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +7 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +88 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +10308 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
- 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/underscore-1.3.1.js +999 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
- 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 +19 -17
- data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
- data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
- 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 +21 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
- data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +2 -2
- data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
- data/vendor/local/share/license/lz4/LICENSE +24 -0
- data/vendor/local/share/license/zlib/README +115 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
- data/vendor/local/share/man/man1/groonga.1 +188 -227
- data/vendor/local/share/man/man1/lz4.1 +88 -0
- data/vendor/local/share/man/man1/lz4c.1 +33 -0
- data/vendor/local/share/man/man1/lz4cat.1 +32 -0
- metadata +118 -51
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
- data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
- data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
@@ -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.
|
10
|
+
<title>4.8. Prefix search with patricia trie — Groonga v4.0.8 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.
|
18
|
+
VERSION: '4.0.8',
|
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.
|
28
|
+
<link rel="top" title="Groonga v4.0.8 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 role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="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.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.8 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" role="main">
|
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カラムが <code class="docutils literal"><span class="pre">true</span></code> も検索条件に加えます。 <code class="docutils literal"><span class="pre">--query</span></code> オプションでは <code class="docutils literal"><span class="pre">Bool</span></code> 型の値を直感的に指定することができないので <code class="docutils literal"><span class="pre">--filter</span></code> オプションを使っていることに注意してください。</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" role="navigation" aria-label="main navigation">
|
246
246
|
<div class="sphinxsidebarwrapper">
|
247
247
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
248
248
|
<ul>
|
@@ -259,12 +259,14 @@ 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
|
-
|
262
|
+
<div role="note" aria-label="source link">
|
263
|
+
<h3>This Page</h3>
|
264
|
+
<ul class="this-page-menu">
|
265
|
+
<li><a href="../_sources/tutorial/patricia_trie.txt"
|
266
|
+
rel="nofollow">Show Source</a></li>
|
267
|
+
</ul>
|
268
|
+
</div>
|
269
|
+
<div id="searchbox" style="display: none" role="search">
|
268
270
|
<h3>Quick search</h3>
|
269
271
|
<form class="search" action="../search.html" method="get">
|
270
272
|
<input type="text" name="q" />
|
@@ -281,7 +283,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
281
283
|
</div>
|
282
284
|
<div class="clearer"></div>
|
283
285
|
</div>
|
284
|
-
<div class="related">
|
286
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
285
287
|
<h3>Navigation</h3>
|
286
288
|
<ul>
|
287
289
|
<li class="right" style="margin-right: 10px">
|
@@ -293,11 +295,11 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
293
295
|
<li class="right" >
|
294
296
|
<a href="match_columns.html" title="4.7. match_columns parameter"
|
295
297
|
>previous</a> |</li>
|
296
|
-
<li><a href="../index.html">Groonga v4.0.
|
298
|
+
<li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
|
297
299
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
298
300
|
</ul>
|
299
301
|
</div>
|
300
|
-
<div class="footer">
|
302
|
+
<div class="footer" role="contentinfo">
|
301
303
|
© Copyright 2009-2014, Brazil, Inc.
|
302
304
|
</div>
|
303
305
|
</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.
|
10
|
+
<title>4.11. Query expansion — Groonga v4.0.8 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.
|
18
|
+
VERSION: '4.0.8',
|
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.
|
28
|
+
<link rel="top" title="Groonga v4.0.8 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 role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="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.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.8 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" role="main">
|
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 <code class="docutils literal"><span class="pre">query_expander</span></code> 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 <code class="docutils literal"><span class="pre">query_expander</span></code> 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 <code class="docutils literal"><span class="pre">query_expander</span></code> parameter against <code class="docutils literal"><span class="pre">body</span></code> column of <code class="docutils literal"><span class="pre">Synonym</span></code> 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" role="navigation" aria-label="main navigation">
|
281
281
|
<div class="sphinxsidebarwrapper">
|
282
282
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
283
283
|
<ul>
|
@@ -294,12 +294,14 @@ 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
|
-
|
297
|
+
<div role="note" aria-label="source link">
|
298
|
+
<h3>This Page</h3>
|
299
|
+
<ul class="this-page-menu">
|
300
|
+
<li><a href="../_sources/tutorial/query_expansion.txt"
|
301
|
+
rel="nofollow">Show Source</a></li>
|
302
|
+
</ul>
|
303
|
+
</div>
|
304
|
+
<div id="searchbox" style="display: none" role="search">
|
303
305
|
<h3>Quick search</h3>
|
304
306
|
<form class="search" action="../search.html" method="get">
|
305
307
|
<input type="text" name="q" />
|
@@ -316,7 +318,7 @@ select Doc --match_columns body --query "theatre" --query_expander Syn
|
|
316
318
|
</div>
|
317
319
|
<div class="clearer"></div>
|
318
320
|
</div>
|
319
|
-
<div class="related">
|
321
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
320
322
|
<h3>Navigation</h3>
|
321
323
|
<ul>
|
322
324
|
<li class="right" style="margin-right: 10px">
|
@@ -328,11 +330,11 @@ select Doc --match_columns body --query "theatre" --query_expander Syn
|
|
328
330
|
<li class="right" >
|
329
331
|
<a href="micro_blog.html" title="4.10. Let's create micro-blog"
|
330
332
|
>previous</a> |</li>
|
331
|
-
<li><a href="../index.html">Groonga v4.0.
|
333
|
+
<li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
|
332
334
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
333
335
|
</ul>
|
334
336
|
</div>
|
335
|
-
<div class="footer">
|
337
|
+
<div class="footer" role="contentinfo">
|
336
338
|
© Copyright 2009-2014, Brazil, Inc.
|
337
339
|
</div>
|
338
340
|
</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.
|
10
|
+
<title>4.4. Various search conditions — Groonga v4.0.8 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.
|
18
|
+
VERSION: '4.0.8',
|
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.
|
28
|
+
<link rel="top" title="Groonga v4.0.8 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 role="document">
|
34
34
|
<div class="header">
|
35
35
|
<h1 class="title">
|
36
36
|
<a id="top-link" href="../index.html">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
</div>
|
49
49
|
|
50
50
|
|
51
|
-
<div class="related">
|
51
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
52
52
|
<h3>Navigation</h3>
|
53
53
|
<ul>
|
54
54
|
<li class="right" style="margin-right: 10px">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="data.html" title="4.3. Various data types"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.8 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" role="main">
|
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 <code class="docutils literal"><span class="pre">filter</span></code> parameter of <code class="docutils literal"><span class="pre">select</span></code> command accepts the search condition.
|
79
|
+
There is one difference between <code class="docutils literal"><span class="pre">filter</span></code> parameter and <code class="docutils literal"><span class="pre">query</span></code> parameter, you need to specify the condition by syntax like JavaScript for <code class="docutils literal"><span class="pre">filter</span></code> 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 <tt class="docutils literal"><span class="pre">f
|
|
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 <code class="docutils literal"><span class="pre">filter</span></code> 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 <code class="docutils literal"><span class="pre">_id</span></code> is equal to 1.</p>
|
117
|
+
<p>Moreover, you can use <code class="docutils literal"><span class="pre">&&</span></code> for AND search, <code class="docutils literal"><span class="pre">||</span></code> 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 <code class="docutils literal"><span class="pre">query</span></code> parameter and <code class="docutils literal"><span class="pre">filter</span></code> 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 <code class="docutils literal"><span class="pre">scorer</span></code><a class="headerlink" href="#sort-by-using-scorer" title="Permalink to this headline">¶</a></h2>
|
207
|
+
<p><code class="docutils literal"><span class="pre">select</span></code> command accepts <code class="docutils literal"><span class="pre">scorer</span></code> 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 <code class="docutils literal"><span class="pre">filter</span></code> 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 <code class="docutils literal"><span class="pre">scorer</span></code> 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 <code class="docutils literal"><span class="pre">sortby</span></code> 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 <code class="docutils literal"><span class="pre">TokyoGeoPoint</span></code>, the other is <code class="docutils literal"><span class="pre">WGS84GeoPoint</span></code>. <code class="docutils literal"><span class="pre">TokyoGeoPoint</span></code> is used for Japan geodetic system. <code class="docutils literal"><span class="pre">WGS84GeoPoint</span></code> 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 <code class="docutils literal"><span class="pre">scorer</span></code> 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 <code class="docutils literal"><span class="pre">_score</span></code> column to <code class="docutils literal"><span class="pre">sortby</span></code> 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 <code class="docutils literal"><span class="pre">filter</span></code> 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" role="navigation" aria-label="main navigation">
|
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 <code class="docutils literal"><span class="pre">scorer</span></code></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,12 +577,14 @@ 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
|
-
|
580
|
+
<div role="note" aria-label="source link">
|
581
|
+
<h3>This Page</h3>
|
582
|
+
<ul class="this-page-menu">
|
583
|
+
<li><a href="../_sources/tutorial/search.txt"
|
584
|
+
rel="nofollow">Show Source</a></li>
|
585
|
+
</ul>
|
586
|
+
</div>
|
587
|
+
<div id="searchbox" style="display: none" role="search">
|
586
588
|
<h3>Quick search</h3>
|
587
589
|
<form class="search" action="../search.html" method="get">
|
588
590
|
<input type="text" name="q" />
|
@@ -599,7 +601,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
599
601
|
</div>
|
600
602
|
<div class="clearer"></div>
|
601
603
|
</div>
|
602
|
-
<div class="related">
|
604
|
+
<div class="related" role="navigation" aria-label="related navigation">
|
603
605
|
<h3>Navigation</h3>
|
604
606
|
<ul>
|
605
607
|
<li class="right" style="margin-right: 10px">
|
@@ -611,11 +613,11 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
611
613
|
<li class="right" >
|
612
614
|
<a href="data.html" title="4.3. Various data types"
|
613
615
|
>previous</a> |</li>
|
614
|
-
<li><a href="../index.html">Groonga v4.0.
|
616
|
+
<li><a href="../index.html">Groonga v4.0.8 documentation</a> »</li>
|
615
617
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
616
618
|
</ul>
|
617
619
|
</div>
|
618
|
-
<div class="footer">
|
620
|
+
<div class="footer" role="contentinfo">
|
619
621
|
© Copyright 2009-2014, Brazil, Inc.
|
620
622
|
</div>
|
621
623
|
</body>
|