rroonga 4.0.7-x86-mingw32 → 4.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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_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.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 +103 -80
- 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>7.3.
|
10
|
+
<title>7.3.28. ruby_load — 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="7.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="7.3.
|
31
|
-
<link rel="prev" title="7.3.
|
30
|
+
<link rel="next" title="7.3.29. select" href="select.html" />
|
31
|
+
<link rel="prev" title="7.3.27. ruby_eval" href="ruby_eval.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,19 +48,19 @@
|
|
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">
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="select.html" title="7.3.
|
58
|
+
<a href="select.html" title="7.3.29. select"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="ruby_eval.html" title="7.3.
|
61
|
+
<a href="ruby_eval.html" title="7.3.27. ruby_eval"
|
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="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -69,25 +69,25 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="ruby-load">
|
75
|
-
<h1>7.3.
|
75
|
+
<h1>7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt><a class="headerlink" href="#ruby-load" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>7.3.
|
78
|
-
<p><
|
77
|
+
<h2>7.3.28.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> command loads specified Ruby script.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="syntax">
|
81
|
-
<h2>7.3.
|
82
|
-
<p><
|
81
|
+
<h2>7.3.28.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
82
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> has one required parameter:</p>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>ruby_load path
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="usage">
|
88
|
-
<h2>7.3.
|
89
|
-
<p>You can load any script file which mruby supports by calling <
|
90
|
-
<p>Here is an example that just load <
|
88
|
+
<h2>7.3.28.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
89
|
+
<p>You can load any script file which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_load</span></tt>.</p>
|
90
|
+
<p>Here is an example that just load <tt class="docutils literal"><span class="pre">expression.rb</span></tt> as Ruby script.</p>
|
91
91
|
<p>Execution example:</p>
|
92
92
|
<div class="highlight-none"><div class="highlight"><pre>register ruby/load
|
93
93
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -95,36 +95,36 @@ ruby_load "expression.rb"
|
|
95
95
|
# [[0, 1337566253.89858, 0.000355720520019531], {"value": null}]
|
96
96
|
</pre></div>
|
97
97
|
</div>
|
98
|
-
<p>Register <
|
99
|
-
<p>Note that <
|
98
|
+
<p>Register <tt class="docutils literal"><span class="pre">ruby/load</span></tt> plugin to use <tt class="docutils literal"><span class="pre">ruby_load</span></tt> command in advance.</p>
|
99
|
+
<p>Note that <tt class="docutils literal"><span class="pre">ruby_load</span></tt> is implemented as an experimental plugin,
|
100
100
|
and the specification may be changed in the future.</p>
|
101
101
|
</div>
|
102
102
|
<div class="section" id="parameters">
|
103
|
-
<h2>7.3.
|
103
|
+
<h2>7.3.28.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
104
104
|
<p>This section describes all parameters.</p>
|
105
105
|
<div class="section" id="path">
|
106
|
-
<h3>7.3.
|
106
|
+
<h3>7.3.28.4.1. <tt class="docutils literal"><span class="pre">path</span></tt><a class="headerlink" href="#path" title="Permalink to this headline">¶</a></h3>
|
107
107
|
<p>It specifies the Ruby script path which you want to load.</p>
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
<div class="section" id="return-value">
|
111
|
-
<h2>7.3.
|
112
|
-
<p><
|
111
|
+
<h2>7.3.28.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
112
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> returns the loaded result with metadata such as
|
113
113
|
exception information (Including metadata isn't implemented yet):</p>
|
114
114
|
<div class="highlight-none"><div class="highlight"><pre>[HEADER, {"value": LOADED_VALUE}]
|
115
115
|
</pre></div>
|
116
116
|
</div>
|
117
|
-
<p><
|
117
|
+
<p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
|
118
118
|
<blockquote>
|
119
|
-
<div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <
|
120
|
-
<p><
|
119
|
+
<div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
|
120
|
+
<p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt></p>
|
121
121
|
<blockquote>
|
122
|
-
<div><p><
|
123
|
-
<p><
|
122
|
+
<div><p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> is the loaded value of ruby script.</p>
|
123
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> just return <tt class="docutils literal"><span class="pre">null</span></tt> as <tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> for now, it will be supported in the future.</p>
|
124
124
|
</div></blockquote>
|
125
125
|
</div>
|
126
126
|
<div class="section" id="see-also">
|
127
|
-
<h2>7.3.
|
127
|
+
<h2>7.3.28.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
128
128
|
<p><a class="reference internal" href="ruby_eval.html"><em>ruby_eval</em></a></p>
|
129
129
|
</div>
|
130
130
|
</div>
|
@@ -133,38 +133,36 @@ exception information (Including metadata isn't implemented yet):</p>
|
|
133
133
|
</div>
|
134
134
|
</div>
|
135
135
|
</div>
|
136
|
-
<div class="sphinxsidebar"
|
136
|
+
<div class="sphinxsidebar">
|
137
137
|
<div class="sphinxsidebarwrapper">
|
138
138
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
139
139
|
<ul>
|
140
|
-
<li><a class="reference internal" href="#">7.3.
|
141
|
-
<li><a class="reference internal" href="#summary">7.3.
|
142
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
143
|
-
<li><a class="reference internal" href="#usage">7.3.
|
144
|
-
<li><a class="reference internal" href="#parameters">7.3.
|
145
|
-
<li><a class="reference internal" href="#path">7.3.
|
140
|
+
<li><a class="reference internal" href="#">7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a><ul>
|
141
|
+
<li><a class="reference internal" href="#summary">7.3.28.1. Summary</a></li>
|
142
|
+
<li><a class="reference internal" href="#syntax">7.3.28.2. Syntax</a></li>
|
143
|
+
<li><a class="reference internal" href="#usage">7.3.28.3. Usage</a></li>
|
144
|
+
<li><a class="reference internal" href="#parameters">7.3.28.4. Parameters</a><ul>
|
145
|
+
<li><a class="reference internal" href="#path">7.3.28.4.1. <tt class="docutils literal"><span class="pre">path</span></tt></a></li>
|
146
146
|
</ul>
|
147
147
|
</li>
|
148
|
-
<li><a class="reference internal" href="#return-value">7.3.
|
149
|
-
<li><a class="reference internal" href="#see-also">7.3.
|
148
|
+
<li><a class="reference internal" href="#return-value">7.3.28.5. Return value</a></li>
|
149
|
+
<li><a class="reference internal" href="#see-also">7.3.28.6. See also</a></li>
|
150
150
|
</ul>
|
151
151
|
</li>
|
152
152
|
</ul>
|
153
153
|
|
154
154
|
<h4>Previous topic</h4>
|
155
155
|
<p class="topless"><a href="ruby_eval.html"
|
156
|
-
title="previous chapter">7.3.
|
156
|
+
title="previous chapter">7.3.27. <tt class="docutils literal"><span class="pre">ruby_eval</span></tt></a></p>
|
157
157
|
<h4>Next topic</h4>
|
158
158
|
<p class="topless"><a href="select.html"
|
159
|
-
title="next chapter">7.3.
|
160
|
-
<
|
161
|
-
|
162
|
-
<
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
</div>
|
167
|
-
<div id="searchbox" style="display: none" role="search">
|
159
|
+
title="next chapter">7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
|
160
|
+
<h3>This Page</h3>
|
161
|
+
<ul class="this-page-menu">
|
162
|
+
<li><a href="../../_sources/reference/commands/ruby_load.txt"
|
163
|
+
rel="nofollow">Show Source</a></li>
|
164
|
+
</ul>
|
165
|
+
<div id="searchbox" style="display: none">
|
168
166
|
<h3>Quick search</h3>
|
169
167
|
<form class="search" action="../../search.html" method="get">
|
170
168
|
<input type="text" name="q" />
|
@@ -181,24 +179,24 @@ exception information (Including metadata isn't implemented yet):</p>
|
|
181
179
|
</div>
|
182
180
|
<div class="clearer"></div>
|
183
181
|
</div>
|
184
|
-
<div class="related"
|
182
|
+
<div class="related">
|
185
183
|
<h3>Navigation</h3>
|
186
184
|
<ul>
|
187
185
|
<li class="right" style="margin-right: 10px">
|
188
186
|
<a href="../../genindex.html" title="General Index"
|
189
187
|
>index</a></li>
|
190
188
|
<li class="right" >
|
191
|
-
<a href="select.html" title="7.3.
|
189
|
+
<a href="select.html" title="7.3.29. select"
|
192
190
|
>next</a> |</li>
|
193
191
|
<li class="right" >
|
194
|
-
<a href="ruby_eval.html" title="7.3.
|
192
|
+
<a href="ruby_eval.html" title="7.3.27. ruby_eval"
|
195
193
|
>previous</a> |</li>
|
196
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
194
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
197
195
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
198
196
|
<li><a href="../command.html" >7.3. Command</a> »</li>
|
199
197
|
</ul>
|
200
198
|
</div>
|
201
|
-
<div class="footer"
|
199
|
+
<div class="footer">
|
202
200
|
© Copyright 2009-2014, Brazil, Inc.
|
203
201
|
</div>
|
204
202
|
</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>7.3.
|
10
|
+
<title>7.3.29. select — 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="7.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="7.3.
|
31
|
-
<link rel="prev" title="7.3.
|
30
|
+
<link rel="next" title="7.3.30. shutdown" href="shutdown.html" />
|
31
|
+
<link rel="prev" title="7.3.28. ruby_load" href="ruby_load.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,19 +48,19 @@
|
|
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">
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="shutdown.html" title="7.3.
|
58
|
+
<a href="shutdown.html" title="7.3.30. shutdown"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="ruby_load.html" title="7.3.
|
61
|
+
<a href="ruby_load.html" title="7.3.28. ruby_load"
|
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="../../reference.html" >7. Reference manual</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">7.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -69,21 +69,21 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="select">
|
75
|
-
<h1>7.3.
|
75
|
+
<h1>7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt><a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>7.3.
|
78
|
-
<p><
|
77
|
+
<h2>7.3.29.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> searches records that are matched to specified conditions
|
79
79
|
from a table and then outputs them.</p>
|
80
|
-
<p><
|
81
|
-
understand <
|
80
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> is the most important command in groonga. You need to
|
81
|
+
understand <tt class="docutils literal"><span class="pre">select</span></tt> to use the full power of groonga.</p>
|
82
82
|
</div>
|
83
83
|
<div class="section" id="syntax">
|
84
|
-
<h2>7.3.
|
85
|
-
<p><
|
86
|
-
<
|
84
|
+
<h2>7.3.29.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
85
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> has many parameters. The required parameter is only
|
86
|
+
<tt class="docutils literal"><span class="pre">table</span></tt> and others are optional:</p>
|
87
87
|
<div class="highlight-none"><div class="highlight"><pre>select table
|
88
88
|
[match_columns=null]
|
89
89
|
[query=null]
|
@@ -108,8 +108,8 @@ understand <code class="docutils literal"><span class="pre">select</span></code>
|
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
<div class="section" id="usage">
|
111
|
-
<h2>7.3.
|
112
|
-
<p>Let's learn about <
|
111
|
+
<h2>7.3.29.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
112
|
+
<p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
|
113
113
|
many popular usages.</p>
|
114
114
|
<p>Here are a schema definition and sample data to show usage.</p>
|
115
115
|
<p>Execution example:</p>
|
@@ -146,18 +146,18 @@ load --table Entries
|
|
146
146
|
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
147
147
|
</pre></div>
|
148
148
|
</div>
|
149
|
-
<p>There is a table, <
|
149
|
+
<p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
|
150
150
|
content and the number of likes for the entry. Title is key of
|
151
|
-
<
|
152
|
-
number of likes is value of <
|
153
|
-
<p><
|
154
|
-
using <
|
155
|
-
<
|
151
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
|
152
|
+
number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
|
153
|
+
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
|
154
|
+
using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
|
155
|
+
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
156
156
|
<p>OK. The schema and data for examples are ready.</p>
|
157
157
|
<div class="section" id="simple-usage">
|
158
|
-
<h3>7.3.
|
158
|
+
<h3>7.3.29.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
159
159
|
<p>Here is the most simple usage with the above schema and data. It outputs
|
160
|
-
all records in <
|
160
|
+
all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
161
161
|
<p>Execution example:</p>
|
162
162
|
<div class="highlight-none"><div class="highlight"><pre>select Entries
|
163
163
|
# [
|
@@ -227,29 +227,29 @@ all records in <code class="docutils literal"><span class="pre">Entries</span></
|
|
227
227
|
<p>Why does the command output all records? There are two reasons. The
|
228
228
|
first reason is that the command doesn't specify any search
|
229
229
|
conditions. No search condition means all records are matched. The
|
230
|
-
second reason is that the number of all records is 5. <
|
230
|
+
second reason is that the number of all records is 5. <tt class="docutils literal"><span class="pre">select</span></tt>
|
231
231
|
command outputs 10 records at a maximum by default. There are only 5
|
232
232
|
records. It is less than 10. So the command outputs all records.</p>
|
233
233
|
</div>
|
234
234
|
<div class="section" id="search-conditions">
|
235
|
-
<h3>7.3.
|
236
|
-
<p>Search conditions are specified by <
|
237
|
-
also specify both <
|
238
|
-
records must be matched against both <
|
235
|
+
<h3>7.3.29.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
|
236
|
+
<p>Search conditions are specified by <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. You can
|
237
|
+
also specify both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. It means that selected
|
238
|
+
records must be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>.</p>
|
239
239
|
<div class="section" id="search-condition-query">
|
240
|
-
<h4>7.3.
|
241
|
-
<p><
|
242
|
-
in google.com. You specify search conditions for <
|
243
|
-
separated keywords. For example, <
|
244
|
-
record should contain two words, <
|
245
|
-
<p>Normally, <
|
240
|
+
<h4>7.3.29.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="Permalink to this headline">¶</a></h4>
|
241
|
+
<p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
|
242
|
+
in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
|
243
|
+
separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
|
244
|
+
record should contain two words, <tt class="docutils literal"><span class="pre">search</span></tt> and <tt class="docutils literal"><span class="pre">engine</span></tt>.</p>
|
245
|
+
<p>Normally, <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
|
246
246
|
conditions. It can be used for non fulltext search conditions but
|
247
|
-
<
|
248
|
-
<p><
|
249
|
-
<
|
250
|
-
conditions. <
|
251
|
-
matched against <
|
252
|
-
<p>Here is a simple <
|
247
|
+
<tt class="docutils literal"><span class="pre">filter</span></tt> is used for the propose.</p>
|
248
|
+
<p><tt class="docutils literal"><span class="pre">query</span></tt> parameter is used with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter when
|
249
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
|
250
|
+
conditions. <tt class="docutils literal"><span class="pre">match_columns</span></tt> specifies which columnes and indexes are
|
251
|
+
matched against <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
252
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">query</span></tt> usage example.</p>
|
253
253
|
<p>Execution example:</p>
|
254
254
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
255
255
|
# [
|
@@ -298,16 +298,16 @@ matched against <code class="docutils literal"><span class="pre">query</span></c
|
|
298
298
|
# ]
|
299
299
|
</pre></div>
|
300
300
|
</div>
|
301
|
-
<p>The <
|
302
|
-
in <
|
303
|
-
<p><
|
301
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
|
302
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
303
|
+
<p><tt class="docutils literal"><span class="pre">query</span></tt> has query syntax but its deatils aren't described here. See
|
304
304
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
|
305
305
|
</div>
|
306
306
|
<div class="section" id="search-condition-filter">
|
307
|
-
<h4>7.3.
|
308
|
-
<p><
|
309
|
-
search conditions for <
|
310
|
-
<p>Here is a simple <
|
307
|
+
<h4>7.3.29.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="Permalink to this headline">¶</a></h4>
|
308
|
+
<p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
|
309
|
+
search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
|
310
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
|
311
311
|
<p>Execution example:</p>
|
312
312
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" && _key == "Groonga"'
|
313
313
|
# [
|
@@ -350,20 +350,20 @@ search conditions for <code class="docutils literal"><span class="pre">filter</s
|
|
350
350
|
# ]
|
351
351
|
</pre></div>
|
352
352
|
</div>
|
353
|
-
<p>The <
|
354
|
-
in <
|
355
|
-
<
|
356
|
-
<
|
357
|
-
<
|
358
|
-
<
|
359
|
-
<p><
|
353
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
|
354
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value and has <tt class="docutils literal"><span class="pre">Groonga</span></tt> as <tt class="docutils literal"><span class="pre">_key</span></tt> from
|
355
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt> table. There are three operators in the command, <tt class="docutils literal"><span class="pre">@</span></tt>,
|
356
|
+
<tt class="docutils literal"><span class="pre">&&</span></tt> and <tt class="docutils literal"><span class="pre">==</span></tt>. <tt class="docutils literal"><span class="pre">@</span></tt> is fulltext search operator. <tt class="docutils literal"><span class="pre">&&</span></tt> and
|
357
|
+
<tt class="docutils literal"><span class="pre">==</span></tt> are the same as ECMAScript. <tt class="docutils literal"><span class="pre">&&</span></tt> is logical AND operator and
|
358
|
+
<tt class="docutils literal"><span class="pre">==</span></tt> is equality operator.</p>
|
359
|
+
<p><tt class="docutils literal"><span class="pre">filter</span></tt> has more operators and syntax like grouping by <tt class="docutils literal"><span class="pre">(...)</span></tt>
|
360
360
|
its deatils aren't described here. See <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a> for
|
361
361
|
datails.</p>
|
362
362
|
</div>
|
363
363
|
</div>
|
364
364
|
<div class="section" id="paging">
|
365
|
-
<h3>7.3.
|
366
|
-
<p>You can specify range of outputted records by <
|
365
|
+
<h3>7.3.29.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
|
366
|
+
<p>You can specify range of outputted records by <tt class="docutils literal"><span class="pre">offset</span></tt> and <tt class="docutils literal"><span class="pre">limit</span></tt>.
|
367
367
|
Here is an example to output only the 2nd record.</p>
|
368
368
|
<p>Execution example:</p>
|
369
369
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --offset 1 --limit 1
|
@@ -407,15 +407,15 @@ Here is an example to output only the 2nd record.</p>
|
|
407
407
|
# ]
|
408
408
|
</pre></div>
|
409
409
|
</div>
|
410
|
-
<p><
|
410
|
+
<p><tt class="docutils literal"><span class="pre">offset</span></tt> is zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is
|
411
411
|
started from the 2nd record.</p>
|
412
|
-
<p><
|
412
|
+
<p><tt class="docutils literal"><span class="pre">limit</span></tt> specifies the max number of output records. <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt>
|
413
413
|
means the number of output records is 1 at a maximium. If no records
|
414
|
-
are matched, <
|
414
|
+
are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
|
415
415
|
</div>
|
416
416
|
<div class="section" id="the-total-number-of-records">
|
417
|
-
<h3>7.3.
|
418
|
-
<p>You can use <
|
417
|
+
<h3>7.3.29.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
|
418
|
+
<p>You can use <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> to retrieve the total number of recrods
|
419
419
|
without any contents of records.</p>
|
420
420
|
<p>Execution example:</p>
|
421
421
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --limit 0
|
@@ -453,19 +453,19 @@ without any contents of records.</p>
|
|
453
453
|
# ]
|
454
454
|
</pre></div>
|
455
455
|
</div>
|
456
|
-
<p><
|
456
|
+
<p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> is also useful for retrieving only the number of matched
|
457
457
|
records.</p>
|
458
458
|
</div>
|
459
459
|
</div>
|
460
460
|
<div class="section" id="parameters">
|
461
|
-
<h2>7.3.
|
461
|
+
<h2>7.3.29.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
462
462
|
<p>This section describes all parameters. Parameters are categorized.</p>
|
463
463
|
<div class="section" id="required-parameter">
|
464
|
-
<h3>7.3.
|
465
|
-
<p>There is a required parameter, <
|
464
|
+
<h3>7.3.29.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
465
|
+
<p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
|
466
466
|
<div class="section" id="table">
|
467
|
-
<span id="select-table"></span><h4>7.3.
|
468
|
-
<p>It specifies a table to be searched. <
|
467
|
+
<span id="select-table"></span><h4>7.3.29.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
|
468
|
+
<p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
|
469
469
|
<p>If nonexistent table is specified, an error is returned.</p>
|
470
470
|
<p>Execution example:</p>
|
471
471
|
<div class="highlight-none"><div class="highlight"><pre>select Nonexistent
|
@@ -479,7 +479,7 @@ records.</p>
|
|
479
479
|
# [
|
480
480
|
# "grn_select",
|
481
481
|
# "proc.c",
|
482
|
-
#
|
482
|
+
# 1108
|
483
483
|
# ]
|
484
484
|
# ]
|
485
485
|
# ]
|
@@ -489,25 +489,25 @@ records.</p>
|
|
489
489
|
</div>
|
490
490
|
</div>
|
491
491
|
<div class="section" id="search-related-parameters">
|
492
|
-
<h3>7.3.
|
493
|
-
<p>There are search related parameters. Typically, <
|
494
|
-
<
|
495
|
-
box. <
|
492
|
+
<h3>7.3.29.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
|
493
|
+
<p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
|
494
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
|
495
|
+
box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
|
496
496
|
feature.</p>
|
497
|
-
<p>If both <
|
498
|
-
be matched against both <
|
499
|
-
and <
|
497
|
+
<p>If both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt> are specified, selected records must
|
498
|
+
be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. If both <tt class="docutils literal"><span class="pre">query</span></tt>
|
499
|
+
and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
|
500
500
|
<div class="section" id="match-columns">
|
501
|
-
<span id="select-match-columns"></span><h4>7.3.
|
501
|
+
<span id="select-match-columns"></span><h4>7.3.29.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
502
502
|
<p>It specifies the default target column for fulltext search by
|
503
|
-
<
|
504
|
-
specified in <
|
505
|
-
<
|
506
|
-
not. <
|
503
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
|
504
|
+
specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
|
505
|
+
<tt class="docutils literal"><span class="pre">match_columns</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> is whether weight is supported or
|
506
|
+
not. <tt class="docutils literal"><span class="pre">match_columns</span></tt> supports weight but <tt class="docutils literal"><span class="pre">query</span></tt> doesn't.</p>
|
507
507
|
<p>Weight is relative importance of target column. A higher weight target
|
508
508
|
column gets more hit score rather than a lower weight target column
|
509
509
|
when a record is matched by fulltext search. The default weight is 1.</p>
|
510
|
-
<p>Here is a simple <
|
510
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">match_columns</span></tt> usage example.</p>
|
511
511
|
<p>Execution example:</p>
|
512
512
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --output_columns '_key, _score'
|
513
513
|
# [
|
@@ -544,18 +544,18 @@ when a record is matched by fulltext search. The default weight is 1.</p>
|
|
544
544
|
# ]
|
545
545
|
</pre></div>
|
546
546
|
</div>
|
547
|
-
<p><
|
548
|
-
fulltext search is <
|
549
|
-
is 1. <
|
550
|
-
command outputs <
|
547
|
+
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> means the default target column for
|
548
|
+
fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight
|
549
|
+
is 1. <tt class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></tt> means that the <tt class="docutils literal"><span class="pre">select</span></tt>
|
550
|
+
command outputs <tt class="docutils literal"><span class="pre">_key</span></tt> value and <tt class="docutils literal"><span class="pre">_score</span></tt> value for matched
|
551
551
|
records.</p>
|
552
|
-
<p>Pay attention to <
|
553
|
-
matched counts against <
|
554
|
-
<
|
555
|
-
is 1 means that <
|
556
|
-
fact that <
|
557
|
-
<
|
558
|
-
<p>To specify weight, <
|
552
|
+
<p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is the number of
|
553
|
+
matched counts against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. In the example,
|
554
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value is <tt class="docutils literal"><span class="pre">fast</span></tt>. The fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value
|
555
|
+
is 1 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appers in <tt class="docutils literal"><span class="pre">content</span></tt> column only once. The
|
556
|
+
fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value is 2 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appears in
|
557
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column twice.</p>
|
558
|
+
<p>To specify weight, <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></tt> syntax is used. Here is a
|
559
559
|
weight usage example.</p>
|
560
560
|
<p>Execution example:</p>
|
561
561
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
|
@@ -593,17 +593,17 @@ weight usage example.</p>
|
|
593
593
|
# ]
|
594
594
|
</pre></div>
|
595
595
|
</div>
|
596
|
-
<p><
|
597
|
-
fulltext search is <
|
598
|
-
<p>Pay attention to <
|
596
|
+
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'content</span> <span class="pre">*</span> <span class="pre">2'</span></tt> means the default target column for
|
597
|
+
fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight is 2.</p>
|
598
|
+
<p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is doubled because
|
599
599
|
weight is 2.</p>
|
600
600
|
<p>You can specify one or more columns as the default target columns for
|
601
601
|
fulltext search. If one or more columns are specified, fulltext search
|
602
602
|
is done for all columns and scores are accumulated. If one of the
|
603
|
-
columns is matched against <
|
603
|
+
columns is matched against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value, the record is
|
604
604
|
treated as matched.</p>
|
605
|
-
<p>To specify one or more columns, <
|
606
|
-
<span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></
|
605
|
+
<p>To specify one or more columns, <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span>
|
606
|
+
<span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></tt> syntax is used. <tt class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></tt> can be omitted. If it is
|
607
607
|
omitted, 1 is used for weight. Here is a one or more columns usage
|
608
608
|
example.</p>
|
609
609
|
<p>Execution example:</p>
|
@@ -638,23 +638,23 @@ example.</p>
|
|
638
638
|
# ]
|
639
639
|
</pre></div>
|
640
640
|
</div>
|
641
|
-
<p><
|
642
|
-
columns for fulltext search are <
|
643
|
-
<
|
644
|
-
is 1. This weight allocation means <
|
645
|
-
important rather than <
|
641
|
+
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'_key</span> <span class="pre">*</span> <span class="pre">10</span> <span class="pre">||</span> <span class="pre">content'</span></tt> means the default target
|
642
|
+
columns for fulltext search are <tt class="docutils literal"><span class="pre">_key</span></tt> and <tt class="docutils literal"><span class="pre">content</span></tt> columns and
|
643
|
+
<tt class="docutils literal"><span class="pre">_key</span></tt> column's weight is 10 and <tt class="docutils literal"><span class="pre">content</span></tt> column's weight
|
644
|
+
is 1. This weight allocation means <tt class="docutils literal"><span class="pre">_key</span></tt> column value is more
|
645
|
+
important rather than <tt class="docutils literal"><span class="pre">content</span></tt> column value. In this example, title
|
646
646
|
of blog entry is more important rather thatn content of blog entry.</p>
|
647
647
|
</div>
|
648
648
|
<div class="section" id="query">
|
649
|
-
<span id="select-query"></span><h4>7.3.
|
649
|
+
<span id="select-query"></span><h4>7.3.29.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
|
650
650
|
<p>It specifies the query text. Normally, it is used for fulltext search
|
651
|
-
with <
|
651
|
+
with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter. <tt class="docutils literal"><span class="pre">query</span></tt> parameter is designed for
|
652
652
|
a fulltext search form in a Web page. A query text should be formatted
|
653
653
|
in <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>. The syntax is similar to common search
|
654
|
-
form like Google's search form. For example, <
|
655
|
-
that groonga searches records that contain both <
|
656
|
-
<
|
657
|
-
contain either <
|
654
|
+
form like Google's search form. For example, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means
|
655
|
+
that groonga searches records that contain both <tt class="docutils literal"><span class="pre">word1</span></tt> and
|
656
|
+
<tt class="docutils literal"><span class="pre">word2</span></tt>. <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></tt> means that groogna searches records that
|
657
|
+
contain either <tt class="docutils literal"><span class="pre">word1</span></tt> or <tt class="docutils literal"><span class="pre">word2</span></tt>.</p>
|
658
658
|
<p>Here is a simple logical and search example.</p>
|
659
659
|
<p>Execution example:</p>
|
660
660
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "fast groonga"
|
@@ -698,8 +698,8 @@ contain either <code class="docutils literal"><span class="pre">word1</span></co
|
|
698
698
|
# ]
|
699
699
|
</pre></div>
|
700
700
|
</div>
|
701
|
-
<p>The <
|
702
|
-
<
|
701
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain two words
|
702
|
+
<tt class="docutils literal"><span class="pre">fast</span></tt> and <tt class="docutils literal"><span class="pre">groonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt>
|
703
703
|
table.</p>
|
704
704
|
<p>Here is a simple logical or search example.</p>
|
705
705
|
<p>Execution example:</p>
|
@@ -750,14 +750,14 @@ table.</p>
|
|
750
750
|
# ]
|
751
751
|
</pre></div>
|
752
752
|
</div>
|
753
|
-
<p>The <
|
754
|
-
<
|
755
|
-
<
|
753
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain one of two words
|
754
|
+
<tt class="docutils literal"><span class="pre">groonga</span></tt> or <tt class="docutils literal"><span class="pre">mroonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from
|
755
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
756
756
|
<p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other syntax.</p>
|
757
757
|
<p>It can be used for not only fulltext search but also other
|
758
|
-
conditions. For example, <
|
759
|
-
<
|
760
|
-
value of <
|
758
|
+
conditions. For example, <tt class="docutils literal"><span class="pre">column:value</span></tt> means the value of
|
759
|
+
<tt class="docutils literal"><span class="pre">column</span></tt> column is equal to <tt class="docutils literal"><span class="pre">value</span></tt>. <tt class="docutils literal"><span class="pre">column:<value</span></tt> means the
|
760
|
+
value of <tt class="docutils literal"><span class="pre">column</span></tt> column is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
761
761
|
<p>Here is a simple equality operator search example.</p>
|
762
762
|
<p>Execution example:</p>
|
763
763
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
@@ -801,8 +801,8 @@ value of <code class="docutils literal"><span class="pre">column</span></code> c
|
|
801
801
|
# ]
|
802
802
|
</pre></div>
|
803
803
|
</div>
|
804
|
-
<p>The <
|
805
|
-
<
|
804
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
|
805
|
+
<tt class="docutils literal"><span class="pre">Groonga</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
806
806
|
<p>Here is a simple less than operator search example.</p>
|
807
807
|
<p>Execution example:</p>
|
808
808
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<11
|
@@ -864,23 +864,23 @@ value of <code class="docutils literal"><span class="pre">column</span></code> c
|
|
864
864
|
# ]
|
865
865
|
</pre></div>
|
866
866
|
</div>
|
867
|
-
<p>The <
|
868
|
-
is less than <
|
867
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
|
868
|
+
is less than <tt class="docutils literal"><span class="pre">11</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
869
869
|
<p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other operations.</p>
|
870
870
|
</div>
|
871
871
|
<div class="section" id="filter">
|
872
|
-
<span id="select-filter"></span><h4>7.3.
|
872
|
+
<span id="select-filter"></span><h4>7.3.29.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
|
873
873
|
<p>It specifies the filter text. Normally, it is used for complex search
|
874
|
-
conditions. <
|
875
|
-
<
|
874
|
+
conditions. <tt class="docutils literal"><span class="pre">filter</span></tt> can be used with <tt class="docutils literal"><span class="pre">query</span></tt> parameter. If both
|
875
|
+
<tt class="docutils literal"><span class="pre">filter</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> are specified, there are conbined with
|
876
876
|
logical and. It means that matched records should be matched against
|
877
|
-
both <
|
878
|
-
<p><
|
877
|
+
both <tt class="docutils literal"><span class="pre">filter</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
878
|
+
<p><tt class="docutils literal"><span class="pre">filter</span></tt> parameter is designed for complex conditions. A filter text
|
879
879
|
should be formated in <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a>. The syntax is
|
880
|
-
similar to ECMAScript. For example, <
|
881
|
-
the value of <
|
882
|
-
<span class="pre">value</span></
|
883
|
-
<
|
880
|
+
similar to ECMAScript. For example, <tt class="docutils literal"><span class="pre">column</span> <span class="pre">==</span> <span class="pre">"value"</span></tt> means that
|
881
|
+
the value of <tt class="docutils literal"><span class="pre">column</span></tt> column is equal to <tt class="docutils literal"><span class="pre">"value"</span></tt>. <tt class="docutils literal"><span class="pre">column</span> <span class="pre"><</span>
|
882
|
+
<span class="pre">value</span></tt> means that the value of <tt class="docutils literal"><span class="pre">column</span></tt> column is less than
|
883
|
+
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
884
884
|
<p>Here is a simple equality operator search example.</p>
|
885
885
|
<p>Execution example:</p>
|
886
886
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '_key == "Groonga"'
|
@@ -924,8 +924,8 @@ the value of <code class="docutils literal"><span class="pre">column</span></cod
|
|
924
924
|
# ]
|
925
925
|
</pre></div>
|
926
926
|
</div>
|
927
|
-
<p>The <
|
928
|
-
<
|
927
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
|
928
|
+
<tt class="docutils literal"><span class="pre">Groonga</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
929
929
|
<p>Here is a simple less than operator search example.</p>
|
930
930
|
<p>Execution example:</p>
|
931
931
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes < 11'
|
@@ -987,15 +987,15 @@ the value of <code class="docutils literal"><span class="pre">column</span></cod
|
|
987
987
|
# ]
|
988
988
|
</pre></div>
|
989
989
|
</div>
|
990
|
-
<p>The <
|
991
|
-
is less than <
|
990
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
|
991
|
+
is less than <tt class="docutils literal"><span class="pre">11</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
992
992
|
<p>See <a class="reference internal" href="../grn_expr/script_syntax.html"><em>Script syntax</em></a> for other operators.</p>
|
993
993
|
</div>
|
994
994
|
</div>
|
995
995
|
<div class="section" id="advanced-search-parameters">
|
996
|
-
<h3>7.3.
|
996
|
+
<h3>7.3.29.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
997
997
|
<div class="section" id="match-escalation-threshold">
|
998
|
-
<span id="id1"></span><h4>7.3.
|
998
|
+
<span id="id1"></span><h4>7.3.29.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
|
999
999
|
<p>It specifies threshold to determine whether search storategy
|
1000
1000
|
escalation is used or not. The threshold is compared against the
|
1001
1001
|
number of matched records. If the number of matched records is equal
|
@@ -1006,15 +1006,15 @@ is used only when no records are matched.</p>
|
|
1006
1006
|
<p>The default threshold can be customized by one of the followings.</p>
|
1007
1007
|
<blockquote>
|
1008
1008
|
<div><ul class="simple">
|
1009
|
-
<li><
|
1010
|
-
<li><
|
1011
|
-
<li><
|
1009
|
+
<li><tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> option of configure</li>
|
1010
|
+
<li><tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> option of groogna command</li>
|
1011
|
+
<li><tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> configuration item in configuration
|
1012
1012
|
file</li>
|
1013
1013
|
</ul>
|
1014
1014
|
</div></blockquote>
|
1015
|
-
<p>Here is a simple <
|
1016
|
-
first <
|
1017
|
-
parameter. The second <
|
1015
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> usage example. The
|
1016
|
+
first <tt class="docutils literal"><span class="pre">select</span></tt> doesn't have <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt>
|
1017
|
+
parameter. The second <tt class="docutils literal"><span class="pre">select</span></tt> has <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt>
|
1018
1018
|
parameter.</p>
|
1019
1019
|
<p>Execution example:</p>
|
1020
1020
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query groo
|
@@ -1091,60 +1091,60 @@ select Entries --match_columns content --query groo --match_escalation_threshold
|
|
1091
1091
|
# ]
|
1092
1092
|
</pre></div>
|
1093
1093
|
</div>
|
1094
|
-
<p>The first <
|
1095
|
-
<
|
1096
|
-
records are matched because the <
|
1097
|
-
<
|
1098
|
-
<
|
1099
|
-
<
|
1100
|
-
It means that <
|
1101
|
-
records are matched against <
|
1094
|
+
<p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word
|
1095
|
+
<tt class="docutils literal"><span class="pre">groo</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table. But no
|
1096
|
+
records are matched because the <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer tokenizes
|
1097
|
+
<tt class="docutils literal"><span class="pre">groonga</span></tt> to <tt class="docutils literal"><span class="pre">groonga</span></tt> not <tt class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></tt>. (The
|
1098
|
+
<tt class="docutils literal"><span class="pre">TokenBigramSplitSymbolAlpha</span></tt> tokenizer tokenizes <tt class="docutils literal"><span class="pre">groonga</span></tt> to
|
1099
|
+
<tt class="docutils literal"><span class="pre">gr|ro|oo|on|ng|ga</span></tt>. See <a class="reference internal" href="../tokenizers.html"><em>Tokenizers</em></a> for details.)
|
1100
|
+
It means that <tt class="docutils literal"><span class="pre">groonga</span></tt> is indexed but <tt class="docutils literal"><span class="pre">groo</span></tt> isn't indexed. So no
|
1101
|
+
records are matched against <tt class="docutils literal"><span class="pre">groo</span></tt> by exact match. In the case, the
|
1102
1102
|
search storategy escalation is used because the number of matched
|
1103
|
-
records (0) is equal to <
|
1104
|
-
is matched against <
|
1105
|
-
<p>The second <
|
1106
|
-
word <
|
1103
|
+
records (0) is equal to <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (0). One record
|
1104
|
+
is matched against <tt class="docutils literal"><span class="pre">groo</span></tt> by unsplit search.</p>
|
1105
|
+
<p>The second <tt class="docutils literal"><span class="pre">select</span></tt> command also searches records that contain a
|
1106
|
+
word <tt class="docutils literal"><span class="pre">groo</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table. And
|
1107
1107
|
it also doesn't found matched records. In this case, the search
|
1108
1108
|
storategy escalation is not used because the number of matched
|
1109
|
-
records (0) is larger than <
|
1109
|
+
records (0) is larger than <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (-1). So no
|
1110
1110
|
more searches aren't executed. And no records are matched.</p>
|
1111
1111
|
</div>
|
1112
1112
|
<div class="section" id="query-expansion">
|
1113
|
-
<span id="id2"></span><h4>7.3.
|
1113
|
+
<span id="id2"></span><h4>7.3.29.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h4>
|
1114
1114
|
<p>Deprecated. Use <a class="reference internal" href="#query-expander"><em>query_expander</em></a> instead.</p>
|
1115
1115
|
</div>
|
1116
1116
|
<div class="section" id="query-flags">
|
1117
|
-
<span id="id3"></span><h4>7.3.
|
1118
|
-
<p>It customs <
|
1119
|
-
by <
|
1120
|
-
<
|
1121
|
-
column value by <
|
1117
|
+
<span id="id3"></span><h4>7.3.29.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
|
1118
|
+
<p>It customs <tt class="docutils literal"><span class="pre">query</span></tt> parameter syntax. You cannot update column value
|
1119
|
+
by <tt class="docutils literal"><span class="pre">query</span></tt> parameter by default. But if you specify
|
1120
|
+
<tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as <tt class="docutils literal"><span class="pre">query_flags</span></tt>, you can update
|
1121
|
+
column value by <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
1122
1122
|
<p>Here are available values:</p>
|
1123
1123
|
<ul class="simple">
|
1124
|
-
<li><
|
1125
|
-
<li><
|
1126
|
-
<li><
|
1127
|
-
<li><
|
1128
|
-
<li><
|
1124
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt></li>
|
1125
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt></li>
|
1126
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt></li>
|
1127
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt></li>
|
1128
|
+
<li><tt class="docutils literal"><span class="pre">NONE</span></tt></li>
|
1129
1129
|
</ul>
|
1130
|
-
<p><
|
1130
|
+
<p><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt> enables pragma at the head of <tt class="docutils literal"><span class="pre">query</span></tt>. This is not
|
1131
1131
|
implemented yet.</p>
|
1132
|
-
<p><
|
1133
|
-
in <
|
1132
|
+
<p><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> enables search againt columns that are not included
|
1133
|
+
in <tt class="docutils literal"><span class="pre">match_columns</span></tt>. To specify column, there are <tt class="docutils literal"><span class="pre">COLUMN:...</span></tt>
|
1134
1134
|
syntaxes.</p>
|
1135
|
-
<p><
|
1136
|
-
<
|
1135
|
+
<p><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt> enables column update by <tt class="docutils literal"><span class="pre">query</span></tt> with
|
1136
|
+
<tt class="docutils literal"><span class="pre">COLUMN:=NEW_VALUE</span></tt> syntax. <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> is also required to
|
1137
1137
|
update column because the column update syntax specifies column.</p>
|
1138
|
-
<p><
|
1138
|
+
<p><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt> enables leading NOT condition with <tt class="docutils literal"><span class="pre">-WORD</span></tt>
|
1139
1139
|
syntax. The query searches records that doesn't match
|
1140
|
-
<
|
1140
|
+
<tt class="docutils literal"><span class="pre">WORD</span></tt>. Leading NOT condition query is heavy query in many cases
|
1141
1141
|
because it matches many records. So this flag is disabled by
|
1142
1142
|
default. Be careful about it when you use the flag.</p>
|
1143
|
-
<p><
|
1144
|
-
<p>They can be combined by separated <
|
1145
|
-
<
|
1146
|
-
<p>The default value is <
|
1147
|
-
<p>Here is a usage example of <
|
1143
|
+
<p><tt class="docutils literal"><span class="pre">NONE</span></tt> is just ignores. You can use <tt class="docutils literal"><span class="pre">NONE</span></tt> for specifying no flags.</p>
|
1144
|
+
<p>They can be combined by separated <tt class="docutils literal"><span class="pre">|</span></tt> such as
|
1145
|
+
<tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt>.</p>
|
1146
|
+
<p>The default value is <tt class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></tt>.</p>
|
1147
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt>.</p>
|
1148
1148
|
<p>Execution example:</p>
|
1149
1149
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
|
1150
1150
|
# [
|
@@ -1187,9 +1187,9 @@ default. Be careful about it when you use the flag.</p>
|
|
1187
1187
|
# ]
|
1188
1188
|
</pre></div>
|
1189
1189
|
</div>
|
1190
|
-
<p>The <
|
1191
|
-
<
|
1192
|
-
<p>Here is a usage example of <
|
1190
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain <tt class="docutils literal"><span class="pre">mroonga</span></tt> in
|
1191
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
1192
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt>.</p>
|
1193
1193
|
<p>Execution example:</p>
|
1194
1194
|
<div class="highlight-none"><div class="highlight"><pre>table_create Users TABLE_HASH_KEY ShortText
|
1195
1195
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -1281,10 +1281,10 @@ select Users
|
|
1281
1281
|
# ]
|
1282
1282
|
</pre></div>
|
1283
1283
|
</div>
|
1284
|
-
<p>The first <
|
1285
|
-
to <
|
1284
|
+
<p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command sets <tt class="docutils literal"><span class="pre">age</span></tt> column value of all records
|
1285
|
+
to <tt class="docutils literal"><span class="pre">19</span></tt>. The second <tt class="docutils literal"><span class="pre">select</span></tt> command outputs updated <tt class="docutils literal"><span class="pre">age</span></tt>
|
1286
1286
|
column values.</p>
|
1287
|
-
<p>Here is a usage example of <
|
1287
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt>.</p>
|
1288
1288
|
<p>Execution example:</p>
|
1289
1289
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
1290
1290
|
# [
|
@@ -1345,9 +1345,9 @@ column values.</p>
|
|
1345
1345
|
# ]
|
1346
1346
|
</pre></div>
|
1347
1347
|
</div>
|
1348
|
-
<p>The <
|
1349
|
-
in <
|
1350
|
-
<p>Here is a usage example of <
|
1348
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that don't contain <tt class="docutils literal"><span class="pre">mroonga</span></tt>
|
1349
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
1350
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">NONE</span></tt>.</p>
|
1351
1351
|
<p>Execution example:</p>
|
1352
1352
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
|
1353
1353
|
# [
|
@@ -1390,36 +1390,36 @@ in <code class="docutils literal"><span class="pre">content</span></code> column
|
|
1390
1390
|
# ]
|
1391
1391
|
</pre></div>
|
1392
1392
|
</div>
|
1393
|
-
<p>The <
|
1394
|
-
<
|
1395
|
-
Note that <
|
1396
|
-
column is equal to <
|
1393
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain one of two words
|
1394
|
+
<tt class="docutils literal"><span class="pre">mroonga</span></tt> or <tt class="docutils literal"><span class="pre">_key:Groonga</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.
|
1395
|
+
Note that <tt class="docutils literal"><span class="pre">_key:Groonga</span></tt> doesn't mean that the value of <tt class="docutils literal"><span class="pre">_key</span></tt>
|
1396
|
+
column is equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>. Because <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> flag is not
|
1397
1397
|
specified.</p>
|
1398
1398
|
<p>See also <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</p>
|
1399
1399
|
</div>
|
1400
1400
|
<div class="section" id="query-expander">
|
1401
|
-
<span id="id4"></span><h4>7.3.
|
1401
|
+
<span id="id4"></span><h4>7.3.29.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
|
1402
1402
|
<p>It's for query expansion. Query expansion substitutes specific words
|
1403
1403
|
to another words in query. Nomally, it's used for synonym search.</p>
|
1404
|
-
<p>It specifies a column that is used to substitute <
|
1404
|
+
<p>It specifies a column that is used to substitute <tt class="docutils literal"><span class="pre">query</span></tt> parameter
|
1405
1405
|
value. The format of this parameter value is
|
1406
|
-
"<
|
1407
|
-
<
|
1406
|
+
"<tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt>". For example, "<tt class="docutils literal"><span class="pre">Terms.synonym</span></tt>" specifies
|
1407
|
+
<tt class="docutils literal"><span class="pre">synonym</span></tt> column in <tt class="docutils literal"><span class="pre">Terms</span></tt> table.</p>
|
1408
1408
|
<p>Table for query expansion is called "substitution table". Substitution
|
1409
|
-
table's key must be <
|
1409
|
+
table's key must be <tt class="docutils literal"><span class="pre">ShortText</span></tt>. So array table (<tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt>)
|
1410
1410
|
can't be used for query expansion. Because array table doesn't have
|
1411
1411
|
key.</p>
|
1412
1412
|
<p>Column for query expansion is called "substitution
|
1413
1413
|
column". Substitution column's value type must be
|
1414
|
-
<
|
1414
|
+
<tt class="docutils literal"><span class="pre">ShortText</span></tt>. Column type must be vector (<tt class="docutils literal"><span class="pre">COLUMN_VECTOR</span></tt>).</p>
|
1415
1415
|
<p>Query expansion substitutes key of substitution table in query with
|
1416
|
-
values in substitution column. If a word in <
|
1416
|
+
values in substitution column. If a word in <tt class="docutils literal"><span class="pre">query</span></tt> is a key of
|
1417
1417
|
substitution table, the word is substituted with substitution column
|
1418
1418
|
value that is associated with the key. Substition isn't performed
|
1419
1419
|
recursively. It means that substitution target words in substituted
|
1420
1420
|
query aren't substituted.</p>
|
1421
1421
|
<p>Here is a sample substitution table to show a simple
|
1422
|
-
<
|
1422
|
+
<tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
|
1423
1423
|
<p>Execution example:</p>
|
1424
1424
|
<div class="highlight-none"><div class="highlight"><pre>table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
1425
1425
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -1433,22 +1433,22 @@ load --table Thesaurus
|
|
1433
1433
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
1434
1434
|
</pre></div>
|
1435
1435
|
</div>
|
1436
|
-
<p><
|
1437
|
-
<
|
1438
|
-
searches with <
|
1439
|
-
user searches with <
|
1440
|
-
<span class="pre">OR</span> <span class="pre">(senna))"</span></
|
1441
|
-
<
|
1436
|
+
<p><tt class="docutils literal"><span class="pre">Thesaurus</span></tt> substitution table has two synonyms, <tt class="docutils literal"><span class="pre">"mroonga"</span></tt> and
|
1437
|
+
<tt class="docutils literal"><span class="pre">"groonga"</span></tt>. If an user searches with <tt class="docutils literal"><span class="pre">"mroonga"</span></tt>, groonga
|
1438
|
+
searches with <tt class="docutils literal"><span class="pre">"((mroonga)</span> <span class="pre">OR</span> <span class="pre">(tritonn)</span> <span class="pre">OR</span> <span class="pre">(groonga</span> <span class="pre">mysql))"</span></tt>. If an
|
1439
|
+
user searches with <tt class="docutils literal"><span class="pre">"groonga"</span></tt>, groonga searches with <tt class="docutils literal"><span class="pre">"((groonga)</span>
|
1440
|
+
<span class="pre">OR</span> <span class="pre">(senna))"</span></tt>. Nomrally, it's good idea that substitution table has
|
1441
|
+
<tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt> flag. If the flag is used, substitute target word is
|
1442
1442
|
matched in case insensitive manner.</p>
|
1443
1443
|
<p>Note that those synonym values include the key value such as
|
1444
|
-
<
|
1444
|
+
<tt class="docutils literal"><span class="pre">"mroonga"</span></tt> and <tt class="docutils literal"><span class="pre">"groonga"</span></tt>. It's recommended that you include the
|
1445
1445
|
key value. If you don't include key value, substituted value doesn't
|
1446
1446
|
include the original substitute target value. Normally, including the
|
1447
1447
|
original value is better search result. If you have a word that you
|
1448
1448
|
don't want to be searched, you should not include the original
|
1449
1449
|
word. For example, you can implement "stop words" by an empty vector
|
1450
1450
|
value.</p>
|
1451
|
-
<p>Here is a simple <
|
1451
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
|
1452
1452
|
<p>Execution example:</p>
|
1453
1453
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "mroonga"
|
1454
1454
|
# [
|
@@ -1581,13 +1581,13 @@ select Entries --match_columns content --query "((mroonga) OR (tritonn) OR
|
|
1581
1581
|
# ]
|
1582
1582
|
</pre></div>
|
1583
1583
|
</div>
|
1584
|
-
<p>The first <
|
1585
|
-
that has <
|
1586
|
-
query expansion. So a record that has <
|
1587
|
-
third <
|
1588
|
-
the second <
|
1584
|
+
<p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion. So a record
|
1585
|
+
that has <tt class="docutils literal"><span class="pre">"tritonn"</span></tt> isn't found. The second <tt class="docutils literal"><span class="pre">select</span></tt> command uses
|
1586
|
+
query expansion. So a record that has <tt class="docutils literal"><span class="pre">"tritonn"</span></tt> is found. The
|
1587
|
+
third <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion but it is same as
|
1588
|
+
the second <tt class="docutils literal"><span class="pre">select</span></tt> command. The third one uses expanded query.</p>
|
1589
1589
|
<p>Each substitute value can contain any <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> syntax
|
1590
|
-
such as <
|
1590
|
+
such as <tt class="docutils literal"><span class="pre">(...)</span></tt> and <tt class="docutils literal"><span class="pre">OR</span></tt>. You can use complex substitution by
|
1591
1591
|
using those syntax.</p>
|
1592
1592
|
<p>Here is a complex substitution usage example that uses query syntax.</p>
|
1593
1593
|
<p>Execution example:</p>
|
@@ -1643,20 +1643,20 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1643
1643
|
# ]
|
1644
1644
|
</pre></div>
|
1645
1645
|
</div>
|
1646
|
-
<p>The <
|
1647
|
-
substituted with <
|
1646
|
+
<p>The <tt class="docutils literal"><span class="pre">load</span></tt> command registers a new synonym <tt class="docutils literal"><span class="pre">"popular"</span></tt>. It is
|
1647
|
+
substituted with <tt class="docutils literal"><span class="pre">((popular)</span> <span class="pre">OR</span> <span class="pre">(n_likes:>=10))</span></tt>. The substituted
|
1648
1648
|
query means that "popular" is containing the word "popular" or 10 or
|
1649
1649
|
more liked entries.</p>
|
1650
|
-
<p>The <
|
1651
|
-
is equal to or more than <
|
1650
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value
|
1651
|
+
is equal to or more than <tt class="docutils literal"><span class="pre">10</span></tt> from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
1652
1652
|
</div>
|
1653
1653
|
</div>
|
1654
1654
|
<div class="section" id="output-related-parameters">
|
1655
|
-
<h3>7.3.
|
1655
|
+
<h3>7.3.29.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1656
1656
|
<div class="section" id="output-columns">
|
1657
|
-
<span id="id5"></span><h4>7.3.
|
1658
|
-
<p>It specifies output columns separated by <
|
1659
|
-
<p>Here is a simple <
|
1657
|
+
<span id="id5"></span><h4>7.3.29.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
|
1658
|
+
<p>It specifies output columns separated by <tt class="docutils literal"><span class="pre">,</span></tt>.</p>
|
1659
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">output_columns</span></tt> usage example.</p>
|
1660
1660
|
<p>Execution example:</p>
|
1661
1661
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns '_id, _key' --limit 1
|
1662
1662
|
# [
|
@@ -1689,11 +1689,11 @@ is equal to or more than <code class="docutils literal"><span class="pre">10</sp
|
|
1689
1689
|
# ]
|
1690
1690
|
</pre></div>
|
1691
1691
|
</div>
|
1692
|
-
<p>The <
|
1692
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command just outputs <tt class="docutils literal"><span class="pre">_id</span></tt> and <tt class="docutils literal"><span class="pre">_key</span></tt> column
|
1693
1693
|
values.</p>
|
1694
|
-
<p><
|
1694
|
+
<p><tt class="docutils literal"><span class="pre">*</span></tt> is a special value. It means that all columns that are not
|
1695
1695
|
<a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a>.</p>
|
1696
|
-
<p>Here is a <
|
1696
|
+
<p>Here is a <tt class="docutils literal"><span class="pre">*</span></tt> usage example.</p>
|
1697
1697
|
<p>Execution example:</p>
|
1698
1698
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns '_key, *' --limit 1
|
1699
1699
|
# [
|
@@ -1731,17 +1731,17 @@ values.</p>
|
|
1731
1731
|
# ]
|
1732
1732
|
</pre></div>
|
1733
1733
|
</div>
|
1734
|
-
<p>The <
|
1735
|
-
column and <
|
1734
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column, <tt class="docutils literal"><span class="pre">content</span></tt>
|
1735
|
+
column and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column values but doesn't output <tt class="docutils literal"><span class="pre">_id</span></tt> pseudo
|
1736
1736
|
column value.</p>
|
1737
|
-
<p>The default value is <
|
1738
|
-
values except <
|
1737
|
+
<p>The default value is <tt class="docutils literal"><span class="pre">_id,</span> <span class="pre">_key,</span> <span class="pre">*</span></tt>. It means that all column
|
1738
|
+
values except <tt class="docutils literal"><span class="pre">_score</span></tt> are outputted.</p>
|
1739
1739
|
</div>
|
1740
1740
|
<div class="section" id="sortby">
|
1741
|
-
<h4>7.3.
|
1742
|
-
<p>It specifies sort keys separated by <
|
1741
|
+
<h4>7.3.29.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
|
1742
|
+
<p>It specifies sort keys separated by <tt class="docutils literal"><span class="pre">,</span></tt>. Each sort key is column
|
1743
1743
|
name.</p>
|
1744
|
-
<p>Here is a simple <
|
1744
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
|
1745
1745
|
<p>Execution example:</p>
|
1746
1746
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby 'n_likes, _id'
|
1747
1747
|
# [
|
@@ -1808,12 +1808,12 @@ name.</p>
|
|
1808
1808
|
# ]
|
1809
1809
|
</pre></div>
|
1810
1810
|
</div>
|
1811
|
-
<p>The <
|
1812
|
-
order. For records that has the same <
|
1813
|
-
in ascending order. <
|
1811
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts by <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value in ascending
|
1812
|
+
order. For records that has the same <tt class="docutils literal"><span class="pre">n_likes</span></tt> are sorted by <tt class="docutils literal"><span class="pre">_id</span></tt>
|
1813
|
+
in ascending order. <tt class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Senna"</span></tt> and <tt class="docutils literal"><span class="pre">"Good-bye</span> <span class="pre">Tritonn"</span></tt>
|
1814
1814
|
are the case.</p>
|
1815
|
-
<p>If you want to sort in descending order, add <
|
1816
|
-
<p>Here is a descending order <
|
1815
|
+
<p>If you want to sort in descending order, add <tt class="docutils literal"><span class="pre">-</span></tt> before column name.</p>
|
1816
|
+
<p>Here is a descending order <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
|
1817
1817
|
<p>Execution example:</p>
|
1818
1818
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby '-n_likes, _id'
|
1819
1819
|
# [
|
@@ -1880,10 +1880,10 @@ are the case.</p>
|
|
1880
1880
|
# ]
|
1881
1881
|
</pre></div>
|
1882
1882
|
</div>
|
1883
|
-
<p>The <
|
1884
|
-
order. But ascending order is used for sorting by <
|
1885
|
-
<p>You can use <
|
1886
|
-
<
|
1883
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts by <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value in descending
|
1884
|
+
order. But ascending order is used for sorting by <tt class="docutils literal"><span class="pre">_id</span></tt>.</p>
|
1885
|
+
<p>You can use <tt class="docutils literal"><span class="pre">_score</span></tt> pseudo column in <tt class="docutils literal"><span class="pre">sortby</span></tt> if you use
|
1886
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt> parameter.</p>
|
1887
1887
|
<p>Execution example:</p>
|
1888
1888
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast --sortby -_score --output_columns '_key, _score'
|
1889
1889
|
# [
|
@@ -1920,15 +1920,15 @@ order. But ascending order is used for sorting by <code class="docutils literal"
|
|
1920
1920
|
# ]
|
1921
1921
|
</pre></div>
|
1922
1922
|
</div>
|
1923
|
-
<p>The <
|
1923
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command sorts matched records by hit score in
|
1924
1924
|
descending order and outputs record key and hit score.</p>
|
1925
|
-
<p>If you use <
|
1925
|
+
<p>If you use <tt class="docutils literal"><span class="pre">_score</span></tt> without <tt class="docutils literal"><span class="pre">query</span></tt> nor <tt class="docutils literal"><span class="pre">filter</span></tt> parameters,
|
1926
1926
|
it's just ignored but get a warning in log file.</p>
|
1927
1927
|
</div>
|
1928
1928
|
<div class="section" id="offset">
|
1929
|
-
<h4>7.3.
|
1929
|
+
<h4>7.3.29.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
|
1930
1930
|
<p>It specifies offset to determine output records range. Offset is
|
1931
|
-
zero-origin. <
|
1931
|
+
zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is started from the 2nd
|
1932
1932
|
record.</p>
|
1933
1933
|
<p>Execution example:</p>
|
1934
1934
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 3 --output_columns _key
|
@@ -1960,10 +1960,10 @@ record.</p>
|
|
1960
1960
|
# ]
|
1961
1961
|
</pre></div>
|
1962
1962
|
</div>
|
1963
|
-
<p>The <
|
1964
|
-
<p>You can specify negative value. It means that <
|
1965
|
-
<span class="pre">records</span> <span class="pre">+</span> <span class="pre">offset</span></
|
1966
|
-
<
|
1963
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs from the 4th record.</p>
|
1964
|
+
<p>You can specify negative value. It means that <tt class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
|
1965
|
+
<span class="pre">records</span> <span class="pre">+</span> <span class="pre">offset</span></tt>. If you have 3 matched records and specify
|
1966
|
+
<tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">-2</span></tt>, you get records from the 1st (<tt class="docutils literal"><span class="pre">3</span> <span class="pre">+</span> <span class="pre">-2</span> <span class="pre">=</span> <span class="pre">1</span></tt>) record
|
1967
1967
|
to the 3rd record.</p>
|
1968
1968
|
<p>Execution example:</p>
|
1969
1969
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset -2 --output_columns _key
|
@@ -1995,15 +1995,15 @@ to the 3rd record.</p>
|
|
1995
1995
|
# ]
|
1996
1996
|
</pre></div>
|
1997
1997
|
</div>
|
1998
|
-
<p>The <
|
1999
|
-
number of records is <
|
2000
|
-
<p>The default value is <
|
1998
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs from the 4th record because the total
|
1999
|
+
number of records is <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
2000
|
+
<p>The default value is <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
|
2001
2001
|
</div>
|
2002
2002
|
<div class="section" id="limit">
|
2003
|
-
<h4>7.3.
|
2003
|
+
<h4>7.3.29.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
|
2004
2004
|
<p>It specifies the max number of output records. If the number of
|
2005
|
-
matched records is less than <
|
2006
|
-
<p>Here is a simple <
|
2005
|
+
matched records is less than <tt class="docutils literal"><span class="pre">limit</span></tt>, all records are outputted.</p>
|
2006
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">limit</span></tt> usage example.</p>
|
2007
2007
|
<p>Execution example:</p>
|
2008
2008
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
|
2009
2009
|
# [
|
@@ -2037,11 +2037,11 @@ matched records is less than <code class="docutils literal"><span class="pre">li
|
|
2037
2037
|
# ]
|
2038
2038
|
</pre></div>
|
2039
2039
|
</div>
|
2040
|
-
<p>The <
|
2041
|
-
<p>You can specify negative value. It means that <
|
2042
|
-
<span class="pre">records</span> <span class="pre">+</span> <span class="pre">limit</span> <span class="pre">+</span> <span class="pre">1</span></
|
2040
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs the 3rd, the 4th and the 5th records.</p>
|
2041
|
+
<p>You can specify negative value. It means that <tt class="docutils literal"><span class="pre">the</span> <span class="pre">number</span> <span class="pre">of</span> <span class="pre">matched</span>
|
2042
|
+
<span class="pre">records</span> <span class="pre">+</span> <span class="pre">limit</span> <span class="pre">+</span> <span class="pre">1</span></tt>. For example, <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">-1</span></tt> outputs all
|
2043
2043
|
records. It's very useful value to show all records.</p>
|
2044
|
-
<p>Here is a simple negative <
|
2044
|
+
<p>Here is a simple negative <tt class="docutils literal"><span class="pre">limit</span></tt> value usage example.</p>
|
2045
2045
|
<p>Execution example:</p>
|
2046
2046
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --limit -1
|
2047
2047
|
# [
|
@@ -2108,85 +2108,85 @@ records. It's very useful value to show all records.</p>
|
|
2108
2108
|
# ]
|
2109
2109
|
</pre></div>
|
2110
2110
|
</div>
|
2111
|
-
<p>The <
|
2112
|
-
<p>The default value is <
|
2111
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command outputs all records.</p>
|
2112
|
+
<p>The default value is <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
2113
2113
|
</div>
|
2114
2114
|
<div class="section" id="scorer">
|
2115
|
-
<h4>7.3.
|
2115
|
+
<h4>7.3.29.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
|
2116
2116
|
<p>TODO: write in English and add example.</p>
|
2117
2117
|
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
2118
2118
|
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
2119
2119
|
</div>
|
2120
2120
|
</div>
|
2121
2121
|
<div class="section" id="facet-related-parameters">
|
2122
|
-
<h3>7.3.
|
2122
|
+
<h3>7.3.29.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2123
2123
|
<div class="section" id="drilldown">
|
2124
|
-
<h4>7.3.
|
2124
|
+
<h4>7.3.29.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
|
2125
2125
|
<p>TODO: write in English and add example.</p>
|
2126
2126
|
<p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
|
2127
2127
|
</div>
|
2128
2128
|
<div class="section" id="drilldown-sortby">
|
2129
|
-
<h4>7.3.
|
2129
|
+
<h4>7.3.29.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
|
2130
2130
|
<p>TODO: write in English and add example.</p>
|
2131
2131
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
|
2132
2132
|
</div>
|
2133
2133
|
<div class="section" id="drilldown-output-columns">
|
2134
|
-
<h4>7.3.
|
2134
|
+
<h4>7.3.29.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
|
2135
2135
|
<p>TODO: write in English and add example.</p>
|
2136
2136
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
2137
2137
|
</div>
|
2138
2138
|
<div class="section" id="drilldown-offset">
|
2139
|
-
<h4>7.3.
|
2139
|
+
<h4>7.3.29.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
|
2140
2140
|
<p>TODO: write in English and add example.</p>
|
2141
2141
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
|
2142
2142
|
</div>
|
2143
2143
|
<div class="section" id="drilldown-limit">
|
2144
|
-
<h4>7.3.
|
2144
|
+
<h4>7.3.29.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
|
2145
2145
|
<p>TODO: write in English and add example.</p>
|
2146
2146
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
2147
2147
|
</div>
|
2148
2148
|
</div>
|
2149
2149
|
<div class="section" id="cache-related-parameter">
|
2150
|
-
<h3>7.3.
|
2150
|
+
<h3>7.3.29.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
2151
2151
|
<div class="section" id="cache">
|
2152
|
-
<h4>7.3.
|
2152
|
+
<h4>7.3.29.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
|
2153
2153
|
<p>TODO: write in English and add example.</p>
|
2154
2154
|
<p>クエリキャッシュに関する動作を設定します。</p>
|
2155
|
-
<p><
|
2155
|
+
<p><tt class="docutils literal"><span class="pre">no</span></tt></p>
|
2156
2156
|
<blockquote>
|
2157
2157
|
<div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
|
2158
2158
|
</div>
|
2159
2159
|
</div>
|
2160
2160
|
<div class="section" id="score-related-parameters">
|
2161
|
-
<h3>7.3.
|
2162
|
-
<p>There is a score related parameter, <
|
2161
|
+
<h3>7.3.29.4.7. Score related parameters<a class="headerlink" href="#score-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2162
|
+
<p>There is a score related parameter, <tt class="docutils literal"><span class="pre">adjuster</span></tt>.</p>
|
2163
2163
|
<div class="section" id="adjuster">
|
2164
|
-
<span id="select-adjuster"></span><h4>7.3.
|
2164
|
+
<span id="select-adjuster"></span><h4>7.3.29.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt><a class="headerlink" href="#adjuster" title="Permalink to this headline">¶</a></h4>
|
2165
2165
|
<p>It specifies one or more score adjust expressions. You need to use
|
2166
|
-
<
|
2166
|
+
<tt class="docutils literal"><span class="pre">adjuster</span></tt> with <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. <tt class="docutils literal"><span class="pre">adjuster</span></tt> doesn't work
|
2167
2167
|
with not searched request.</p>
|
2168
|
-
<p>You can increase score of specific records by <
|
2169
|
-
use <
|
2170
|
-
<p>For example, you can use <
|
2171
|
-
that have <
|
2168
|
+
<p>You can increase score of specific records by <tt class="docutils literal"><span class="pre">adjuster</span></tt>. You can
|
2169
|
+
use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to set high score for important records.</p>
|
2170
|
+
<p>For example, you can use <tt class="docutils literal"><span class="pre">adjuster</span></tt> to increase score of records
|
2171
|
+
that have <tt class="docutils literal"><span class="pre">groonga</span></tt> tag.</p>
|
2172
2172
|
<p>Here is the syntax:</p>
|
2173
2173
|
<div class="highlight-none"><div class="highlight"><pre>--adjuster "SCORE_ADJUST_EXPRESSION1 + SCORE_ADJUST_EXPRESSION2 + ..."
|
2174
2174
|
</pre></div>
|
2175
2175
|
</div>
|
2176
|
-
<p>Here is the <
|
2176
|
+
<p>Here is the <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> syntax:</p>
|
2177
2177
|
<div class="highlight-none"><div class="highlight"><pre>COLUMN @ "KEYWORD" * FACTOR
|
2178
2178
|
</pre></div>
|
2179
2179
|
</div>
|
2180
2180
|
<p>Note the following:</p>
|
2181
2181
|
<blockquote>
|
2182
2182
|
<div><ul class="simple">
|
2183
|
-
<li><
|
2184
|
-
<li><
|
2185
|
-
<li><
|
2183
|
+
<li><tt class="docutils literal"><span class="pre">COLUMN</span></tt> must be indexed.</li>
|
2184
|
+
<li><tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt> must be a string.</li>
|
2185
|
+
<li><tt class="docutils literal"><span class="pre">FACTOR</span></tt> must be a positive integer.</li>
|
2186
2186
|
</ul>
|
2187
2187
|
</div></blockquote>
|
2188
|
-
<p>Here is a sample <
|
2189
|
-
<
|
2188
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses just one
|
2189
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
|
2190
2190
|
<p>Execution example:</p>
|
2191
2191
|
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2192
2192
|
--filter true \
|
@@ -2247,13 +2247,13 @@ that have <code class="docutils literal"><span class="pre">groonga</span></code>
|
|
2247
2247
|
# ]
|
2248
2248
|
</pre></div>
|
2249
2249
|
</div>
|
2250
|
-
<p>The <
|
2251
|
-
<
|
2252
|
-
<
|
2253
|
-
record that has <
|
2254
|
-
record that its key is <
|
2255
|
-
<p>You can omit <
|
2256
|
-
<p>Here is a sample <
|
2250
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command matches all records. Then it applies
|
2251
|
+
<tt class="docutils literal"><span class="pre">adjuster</span></tt>. The adjuster increases score of records that have
|
2252
|
+
<tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column by 5. There is only one
|
2253
|
+
record that has <tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the
|
2254
|
+
record that its key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> has score 6 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
|
2255
|
+
<p>You can omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. If you omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>, it is treated as 1.</p>
|
2256
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that omits <tt class="docutils literal"><span class="pre">FACTOR</span></tt>:</p>
|
2257
2257
|
<p>Execution example:</p>
|
2258
2258
|
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2259
2259
|
--filter true \
|
@@ -2314,12 +2314,12 @@ record that its key is <code class="docutils literal"><span class="pre">"Gr
|
|
2314
2314
|
# ]
|
2315
2315
|
</pre></div>
|
2316
2316
|
</div>
|
2317
|
-
<p>The <
|
2317
|
+
<p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't have <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. So
|
2318
2318
|
the factor is treated as 1. There is only one record that has
|
2319
|
-
<
|
2320
|
-
key is <
|
2321
|
-
<p>Here is a sample <
|
2322
|
-
<
|
2319
|
+
<tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the record that its
|
2320
|
+
key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> has score 2 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">1</span></tt>).</p>
|
2321
|
+
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that uses multiple
|
2322
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt>:</p>
|
2323
2323
|
<p>Execution example:</p>
|
2324
2324
|
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2325
2325
|
--filter true \
|
@@ -2380,83 +2380,83 @@ key is <code class="docutils literal"><span class="pre">"Groonga"</spa
|
|
2380
2380
|
# ]
|
2381
2381
|
</pre></div>
|
2382
2382
|
</div>
|
2383
|
-
<p>The <
|
2384
|
-
<
|
2385
|
-
scores of these <
|
2386
|
-
<
|
2387
|
-
a record that its key is <
|
2388
|
-
of the record is sum of scores of all <
|
2389
|
-
<p>The first <
|
2383
|
+
<p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command has two
|
2384
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. The final increased score is sum of
|
2385
|
+
scores of these <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s. All
|
2386
|
+
<tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s in the <tt class="docutils literal"><span class="pre">select</span></tt> command are applied to
|
2387
|
+
a record that its key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt>. So the final increased score
|
2388
|
+
of the record is sum of scores of all <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> s.</p>
|
2389
|
+
<p>The first <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"groonga"</span> <span class="pre">*</span> <span class="pre">5</span></tt>.
|
2390
2390
|
It increases score by 5.</p>
|
2391
|
-
<p>The second <
|
2391
|
+
<p>The second <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> is <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"started"</span> <span class="pre">*</span> <span class="pre">3</span></tt>.
|
2392
2392
|
It increases score by 3.</p>
|
2393
|
-
<p>The final increased score is 9 (<
|
2394
|
-
<p>A <
|
2395
|
-
means that increased scores of all records that has <
|
2393
|
+
<p>The final increased score is 9 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span> <span class="pre">+</span> <span class="pre">3</span></tt>).</p>
|
2394
|
+
<p>A <tt class="docutils literal"><span class="pre">SCORE_ADJUST_EXPRESSION</span></tt> has a factor for <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt>. This
|
2395
|
+
means that increased scores of all records that has <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt> are
|
2396
2396
|
the same value. You can change increase score for each record that has
|
2397
|
-
the same <
|
2397
|
+
the same <tt class="docutils literal"><span class="pre">"KEYWORD"</span></tt>. It is useful to tune search score. See
|
2398
2398
|
<a class="reference internal" href="../columns/vector.html#weight-vector-column"><em>Weight vector column</em></a> for details.</p>
|
2399
2399
|
</div>
|
2400
2400
|
</div>
|
2401
2401
|
</div>
|
2402
2402
|
<div class="section" id="id6">
|
2403
|
-
<h2>7.3.
|
2403
|
+
<h2>7.3.29.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
2404
2404
|
<p>TODO: write in English and add example.</p>
|
2405
2405
|
<p>以下のようなjson形式で値が返却されます。</p>
|
2406
2406
|
<div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
2407
2407
|
</pre></div>
|
2408
2408
|
</div>
|
2409
|
-
<p><
|
2409
|
+
<p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
|
2410
2410
|
<blockquote>
|
2411
2411
|
<div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
|
2412
2412
|
文字列が返されます。</div></blockquote>
|
2413
|
-
<p><
|
2413
|
+
<p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
|
2414
2414
|
<blockquote>
|
2415
2415
|
<div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
|
2416
|
-
<p><
|
2416
|
+
<p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
|
2417
2417
|
<blockquote>
|
2418
2418
|
<div>処理にかかった秒数を返します。</div></blockquote>
|
2419
|
-
<p><
|
2419
|
+
<p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
|
2420
2420
|
<blockquote>
|
2421
2421
|
<div><p>drilldown条件が実行される前の検索結果が以下のように出力されます。:</p>
|
2422
2422
|
<div class="highlight-none"><div class="highlight"><pre>[[ヒット数], [[カラム名1,カラム型1],..], 検索結果1,..]
|
2423
2423
|
</pre></div>
|
2424
2424
|
</div>
|
2425
|
-
<p><
|
2425
|
+
<p><tt class="docutils literal"><span class="pre">ヒット数</span></tt></p>
|
2426
2426
|
<blockquote>
|
2427
|
-
<div>検索条件にヒットしたレコードの数が出力されます。 <
|
2428
|
-
<p><
|
2427
|
+
<div>検索条件にヒットしたレコードの数が出力されます。 <tt class="docutils literal"><span class="pre">--limit</span></tt> オプションで出力件数を制限した場合は出力するレコード数と一致しません。 <tt class="docutils literal"><span class="pre">ヒット数</span></tt> は <tt class="docutils literal"><span class="pre">--limit</span></tt> オプションに関係なく常にヒットしたレコードの数になります。</div></blockquote>
|
2428
|
+
<p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
|
2429
2429
|
<blockquote>
|
2430
2430
|
<div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
|
2431
|
-
<p><
|
2431
|
+
<p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
|
2432
2432
|
<blockquote>
|
2433
2433
|
<div>output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
|
2434
|
-
<p><
|
2434
|
+
<p><tt class="docutils literal"><span class="pre">検索結果n</span></tt></p>
|
2435
2435
|
<blockquote>
|
2436
2436
|
<div>output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
|
2437
2437
|
</div></blockquote>
|
2438
|
-
<p><
|
2438
|
+
<p><tt class="docutils literal"><span class="pre">drilldown結果</span></tt></p>
|
2439
2439
|
<blockquote>
|
2440
2440
|
<div><p>drilldown処理の結果が以下のように出力されます。:</p>
|
2441
2441
|
<div class="highlight-none"><div class="highlight"><pre>[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
|
2442
2442
|
</pre></div>
|
2443
2443
|
</div>
|
2444
|
-
<p><
|
2444
|
+
<p><tt class="docutils literal"><span class="pre">件数</span></tt></p>
|
2445
2445
|
<blockquote>
|
2446
2446
|
<div>drilldownに指定されたカラムの値の異なり数が出力されます。</div></blockquote>
|
2447
|
-
<p><
|
2447
|
+
<p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
|
2448
2448
|
<blockquote>
|
2449
2449
|
<div>drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
|
2450
|
-
<p><
|
2450
|
+
<p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
|
2451
2451
|
<blockquote>
|
2452
2452
|
<div>drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
|
2453
|
-
<p><
|
2453
|
+
<p><tt class="docutils literal"><span class="pre">ドリルダウン結果n</span></tt></p>
|
2454
2454
|
<blockquote>
|
2455
2455
|
<div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
|
2456
2456
|
</div></blockquote>
|
2457
2457
|
</div>
|
2458
2458
|
<div class="section" id="see-also">
|
2459
|
-
<h2>7.3.
|
2459
|
+
<h2>7.3.29.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
2460
2460
|
<blockquote>
|
2461
2461
|
<div><ul class="simple">
|
2462
2462
|
<li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a></li>
|
@@ -2470,88 +2470,86 @@ the same <code class="docutils literal"><span class="pre">"KEYWORD"</s
|
|
2470
2470
|
</div>
|
2471
2471
|
</div>
|
2472
2472
|
</div>
|
2473
|
-
<div class="sphinxsidebar"
|
2473
|
+
<div class="sphinxsidebar">
|
2474
2474
|
<div class="sphinxsidebarwrapper">
|
2475
2475
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
2476
2476
|
<ul>
|
2477
|
-
<li><a class="reference internal" href="#">7.3.
|
2478
|
-
<li><a class="reference internal" href="#summary">7.3.
|
2479
|
-
<li><a class="reference internal" href="#syntax">7.3.
|
2480
|
-
<li><a class="reference internal" href="#usage">7.3.
|
2481
|
-
<li><a class="reference internal" href="#simple-usage">7.3.
|
2482
|
-
<li><a class="reference internal" href="#search-conditions">7.3.
|
2483
|
-
<li><a class="reference internal" href="#search-condition-query">7.3.
|
2484
|
-
<li><a class="reference internal" href="#search-condition-filter">7.3.
|
2477
|
+
<li><a class="reference internal" href="#">7.3.29. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
|
2478
|
+
<li><a class="reference internal" href="#summary">7.3.29.1. Summary</a></li>
|
2479
|
+
<li><a class="reference internal" href="#syntax">7.3.29.2. Syntax</a></li>
|
2480
|
+
<li><a class="reference internal" href="#usage">7.3.29.3. Usage</a><ul>
|
2481
|
+
<li><a class="reference internal" href="#simple-usage">7.3.29.3.1. Simple usage</a></li>
|
2482
|
+
<li><a class="reference internal" href="#search-conditions">7.3.29.3.2. Search conditions</a><ul>
|
2483
|
+
<li><a class="reference internal" href="#search-condition-query">7.3.29.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2484
|
+
<li><a class="reference internal" href="#search-condition-filter">7.3.29.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2485
2485
|
</ul>
|
2486
2486
|
</li>
|
2487
|
-
<li><a class="reference internal" href="#paging">7.3.
|
2488
|
-
<li><a class="reference internal" href="#the-total-number-of-records">7.3.
|
2487
|
+
<li><a class="reference internal" href="#paging">7.3.29.3.3. Paging</a></li>
|
2488
|
+
<li><a class="reference internal" href="#the-total-number-of-records">7.3.29.3.4. The total number of records</a></li>
|
2489
2489
|
</ul>
|
2490
2490
|
</li>
|
2491
|
-
<li><a class="reference internal" href="#parameters">7.3.
|
2492
|
-
<li><a class="reference internal" href="#required-parameter">7.3.
|
2493
|
-
<li><a class="reference internal" href="#table">7.3.
|
2491
|
+
<li><a class="reference internal" href="#parameters">7.3.29.4. Parameters</a><ul>
|
2492
|
+
<li><a class="reference internal" href="#required-parameter">7.3.29.4.1. Required parameter</a><ul>
|
2493
|
+
<li><a class="reference internal" href="#table">7.3.29.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
|
2494
2494
|
</ul>
|
2495
2495
|
</li>
|
2496
|
-
<li><a class="reference internal" href="#search-related-parameters">7.3.
|
2497
|
-
<li><a class="reference internal" href="#match-columns">7.3.
|
2498
|
-
<li><a class="reference internal" href="#query">7.3.
|
2499
|
-
<li><a class="reference internal" href="#filter">7.3.
|
2496
|
+
<li><a class="reference internal" href="#search-related-parameters">7.3.29.4.2. Search related parameters</a><ul>
|
2497
|
+
<li><a class="reference internal" href="#match-columns">7.3.29.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
2498
|
+
<li><a class="reference internal" href="#query">7.3.29.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2499
|
+
<li><a class="reference internal" href="#filter">7.3.29.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2500
2500
|
</ul>
|
2501
2501
|
</li>
|
2502
|
-
<li><a class="reference internal" href="#advanced-search-parameters">7.3.
|
2503
|
-
<li><a class="reference internal" href="#match-escalation-threshold">7.3.
|
2504
|
-
<li><a class="reference internal" href="#query-expansion">7.3.
|
2505
|
-
<li><a class="reference internal" href="#query-flags">7.3.
|
2506
|
-
<li><a class="reference internal" href="#query-expander">7.3.
|
2502
|
+
<li><a class="reference internal" href="#advanced-search-parameters">7.3.29.4.3. Advanced search parameters</a><ul>
|
2503
|
+
<li><a class="reference internal" href="#match-escalation-threshold">7.3.29.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
|
2504
|
+
<li><a class="reference internal" href="#query-expansion">7.3.29.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
|
2505
|
+
<li><a class="reference internal" href="#query-flags">7.3.29.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt></a></li>
|
2506
|
+
<li><a class="reference internal" href="#query-expander">7.3.29.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
2507
2507
|
</ul>
|
2508
2508
|
</li>
|
2509
|
-
<li><a class="reference internal" href="#output-related-parameters">7.3.
|
2510
|
-
<li><a class="reference internal" href="#output-columns">7.3.
|
2511
|
-
<li><a class="reference internal" href="#sortby">7.3.
|
2512
|
-
<li><a class="reference internal" href="#offset">7.3.
|
2513
|
-
<li><a class="reference internal" href="#limit">7.3.
|
2514
|
-
<li><a class="reference internal" href="#scorer">7.3.
|
2509
|
+
<li><a class="reference internal" href="#output-related-parameters">7.3.29.4.4. Output related parameters</a><ul>
|
2510
|
+
<li><a class="reference internal" href="#output-columns">7.3.29.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
|
2511
|
+
<li><a class="reference internal" href="#sortby">7.3.29.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
|
2512
|
+
<li><a class="reference internal" href="#offset">7.3.29.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
|
2513
|
+
<li><a class="reference internal" href="#limit">7.3.29.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
|
2514
|
+
<li><a class="reference internal" href="#scorer">7.3.29.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
|
2515
2515
|
</ul>
|
2516
2516
|
</li>
|
2517
|
-
<li><a class="reference internal" href="#facet-related-parameters">7.3.
|
2518
|
-
<li><a class="reference internal" href="#drilldown">7.3.
|
2519
|
-
<li><a class="reference internal" href="#drilldown-sortby">7.3.
|
2520
|
-
<li><a class="reference internal" href="#drilldown-output-columns">7.3.
|
2521
|
-
<li><a class="reference internal" href="#drilldown-offset">7.3.
|
2522
|
-
<li><a class="reference internal" href="#drilldown-limit">7.3.
|
2517
|
+
<li><a class="reference internal" href="#facet-related-parameters">7.3.29.4.5. Facet related parameters</a><ul>
|
2518
|
+
<li><a class="reference internal" href="#drilldown">7.3.29.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
|
2519
|
+
<li><a class="reference internal" href="#drilldown-sortby">7.3.29.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
|
2520
|
+
<li><a class="reference internal" href="#drilldown-output-columns">7.3.29.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
|
2521
|
+
<li><a class="reference internal" href="#drilldown-offset">7.3.29.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
|
2522
|
+
<li><a class="reference internal" href="#drilldown-limit">7.3.29.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
|
2523
2523
|
</ul>
|
2524
2524
|
</li>
|
2525
|
-
<li><a class="reference internal" href="#cache-related-parameter">7.3.
|
2526
|
-
<li><a class="reference internal" href="#cache">7.3.
|
2525
|
+
<li><a class="reference internal" href="#cache-related-parameter">7.3.29.4.6. Cache related parameter</a><ul>
|
2526
|
+
<li><a class="reference internal" href="#cache">7.3.29.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
2527
2527
|
</ul>
|
2528
2528
|
</li>
|
2529
|
-
<li><a class="reference internal" href="#score-related-parameters">7.3.
|
2530
|
-
<li><a class="reference internal" href="#adjuster">7.3.
|
2529
|
+
<li><a class="reference internal" href="#score-related-parameters">7.3.29.4.7. Score related parameters</a><ul>
|
2530
|
+
<li><a class="reference internal" href="#adjuster">7.3.29.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt></a></li>
|
2531
2531
|
</ul>
|
2532
2532
|
</li>
|
2533
2533
|
</ul>
|
2534
2534
|
</li>
|
2535
|
-
<li><a class="reference internal" href="#id6">7.3.
|
2536
|
-
<li><a class="reference internal" href="#see-also">7.3.
|
2535
|
+
<li><a class="reference internal" href="#id6">7.3.29.5. 返値</a></li>
|
2536
|
+
<li><a class="reference internal" href="#see-also">7.3.29.6. See also</a></li>
|
2537
2537
|
</ul>
|
2538
2538
|
</li>
|
2539
2539
|
</ul>
|
2540
2540
|
|
2541
2541
|
<h4>Previous topic</h4>
|
2542
2542
|
<p class="topless"><a href="ruby_load.html"
|
2543
|
-
title="previous chapter">7.3.
|
2543
|
+
title="previous chapter">7.3.28. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
|
2544
2544
|
<h4>Next topic</h4>
|
2545
2545
|
<p class="topless"><a href="shutdown.html"
|
2546
|
-
title="next chapter">7.3.
|
2547
|
-
<
|
2548
|
-
|
2549
|
-
<
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
</div>
|
2554
|
-
<div id="searchbox" style="display: none" role="search">
|
2546
|
+
title="next chapter">7.3.30. <tt class="docutils literal"><span class="pre">shutdown</span></tt></a></p>
|
2547
|
+
<h3>This Page</h3>
|
2548
|
+
<ul class="this-page-menu">
|
2549
|
+
<li><a href="../../_sources/reference/commands/select.txt"
|
2550
|
+
rel="nofollow">Show Source</a></li>
|
2551
|
+
</ul>
|
2552
|
+
<div id="searchbox" style="display: none">
|
2555
2553
|
<h3>Quick search</h3>
|
2556
2554
|
<form class="search" action="../../search.html" method="get">
|
2557
2555
|
<input type="text" name="q" />
|
@@ -2568,24 +2566,24 @@ the same <code class="docutils literal"><span class="pre">"KEYWORD"</s
|
|
2568
2566
|
</div>
|
2569
2567
|
<div class="clearer"></div>
|
2570
2568
|
</div>
|
2571
|
-
<div class="related"
|
2569
|
+
<div class="related">
|
2572
2570
|
<h3>Navigation</h3>
|
2573
2571
|
<ul>
|
2574
2572
|
<li class="right" style="margin-right: 10px">
|
2575
2573
|
<a href="../../genindex.html" title="General Index"
|
2576
2574
|
>index</a></li>
|
2577
2575
|
<li class="right" >
|
2578
|
-
<a href="shutdown.html" title="7.3.
|
2576
|
+
<a href="shutdown.html" title="7.3.30. shutdown"
|
2579
2577
|
>next</a> |</li>
|
2580
2578
|
<li class="right" >
|
2581
|
-
<a href="ruby_load.html" title="7.3.
|
2579
|
+
<a href="ruby_load.html" title="7.3.28. ruby_load"
|
2582
2580
|
>previous</a> |</li>
|
2583
|
-
<li><a href="../../index.html">Groonga v4.0.8 documentation</a> »</li>
|
2581
|
+
<li><a href="../../index.html">Groonga v4.0.8-168-gae696d7 documentation</a> »</li>
|
2584
2582
|
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
2585
2583
|
<li><a href="../command.html" >7.3. Command</a> »</li>
|
2586
2584
|
</ul>
|
2587
2585
|
</div>
|
2588
|
-
<div class="footer"
|
2586
|
+
<div class="footer">
|
2589
2587
|
© Copyright 2009-2014, Brazil, Inc.
|
2590
2588
|
</div>
|
2591
2589
|
</body>
|