rroonga 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +13 -3
- data/doc/text/news.textile +8 -0
- data/ext/groonga/extconf.rb +1 -3
- data/ext/groonga/rb-grn-table-key-support.c +0 -4
- 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/rroonga-build.rb +3 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +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/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +10 -2
- data/vendor/local/include/groonga/groonga.h +30 -1048
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.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 +85 -49
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/cooperation.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +4 -4
- 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 +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -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 +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +136 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_cache.txt +114 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +92 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_command_version.txt +37 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +70 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_encoding.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +83 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_geo.txt +55 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_hook.txt +67 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ii.txt +35 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_index_cursor.txt +44 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_info.txt +56 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_match_escalation.txt +39 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_obj.txt +246 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_proc.txt +56 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_search.txt +31 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table.txt +219 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_table_cursor.txt +109 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_type.txt +31 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_user_data.txt +29 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +63 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +85 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +218 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +19 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +16 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +18 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +60 -55
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +118 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +638 -6
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +50 -24
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +13 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +308 -152
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +37 -18
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +30 -12
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +322 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +284 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +197 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +190 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +173 -16
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +244 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +196 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +237 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +648 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +227 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +180 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +546 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +179 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +177 -0
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +17 -16
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +71 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +203 -48
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +219 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +94 -94
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +219 -12
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +31 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +22 -23
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +9 -6
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -7
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +22 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +14 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/cooperation.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +4 -4
- 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 +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -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 +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +136 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_cache.txt +114 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +92 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_command_version.txt +37 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +70 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_encoding.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +83 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_geo.txt +55 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_hook.txt +67 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ii.txt +35 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_index_cursor.txt +44 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_info.txt +56 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_match_escalation.txt +39 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_obj.txt +246 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_proc.txt +56 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_search.txt +31 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table.txt +219 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_table_cursor.txt +109 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_type.txt +31 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_user_data.txt +29 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +63 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +85 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +218 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +19 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +16 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +18 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -56
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +62 -62
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +119 -106
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +642 -10
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +50 -25
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +336 -154
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +38 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +31 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +319 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +285 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +198 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +191 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +255 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +220 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +172 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +238 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +245 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +197 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +238 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +201 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +649 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +228 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +181 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +547 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +322 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +178 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +18 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +64 -45
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +207 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +95 -95
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +194 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +31 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +10 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +11 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -10
- data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +16 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +4 -0
- data/vendor/local/share/groonga/html/admin/index.html +28 -26
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +13 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +3418 -350
- data/vendor/local/share/man/man1/groonga.1 +3485 -348
- metadata +116 -63
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.3.
|
10
|
+
<title>8.3.23. select — groonga v3.0.8ドキュメント</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: '3.0.
|
18
|
+
VERSION: '3.0.8',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.8ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.3. コマンド" href="../command.html" />
|
31
|
-
<link rel="next" title="8.3.
|
32
|
-
<link rel="prev" title="8.3.
|
31
|
+
<link rel="next" title="8.3.24. shutdown" href="shutdown.html" />
|
32
|
+
<link rel="prev" title="8.3.22. ruby_eval" href="ruby_eval.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="shutdown.html" title="8.3.
|
59
|
+
<a href="shutdown.html" title="8.3.24. shutdown"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="
|
62
|
+
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../command.html" accesskey="U">8.3. コマンド</a> »</li>
|
67
67
|
</ul>
|
@@ -73,14 +73,14 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="select">
|
76
|
-
<h1>8.3.
|
76
|
+
<h1>8.3.23. <tt class="docutils literal"><span class="pre">select</span></tt><a class="headerlink" href="#select" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>8.3.
|
78
|
+
<h2>8.3.23.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> はテーブルから指定された条件にマッチするレコードを検索し、見つかったレコードを出力します。</p>
|
80
80
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> は最も重要なgroongaのコマンドです。groongaの力を最大限に活かすためには <tt class="docutils literal"><span class="pre">select</span></tt> を理解する必要があります。</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="syntax">
|
83
|
-
<h2>8.3.
|
83
|
+
<h2>8.3.23.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
84
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> には多くの引数があります。必須の引数は <tt class="docutils literal"><span class="pre">table</span></tt> だけで、残りは省略できます。:</p>
|
85
85
|
<div class="highlight-none"><div class="highlight"><pre>select table
|
86
86
|
[match_columns=null]
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</div>
|
106
106
|
</div>
|
107
107
|
<div class="section" id="usage">
|
108
|
-
<h2>8.3.
|
108
|
+
<h2>8.3.23.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
109
109
|
<p>例を使いながら <tt class="docutils literal"><span class="pre">select</span></tt> の使い方を学びましょう。このセクションではよく使われる使い方を紹介します。</p>
|
110
110
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
111
111
|
<p>実行例:</p>
|
@@ -146,7 +146,7 @@ load --table Entries
|
|
146
146
|
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> カラムと <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムには <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> トークナイザーを使ったインデックスを作成します。そのため、 <tt class="docutils literal"><span class="pre">Entries._key</span></tt> と <tt class="docutils literal"><span class="pre">Entries.content</span></tt> は両方とも全文検索できます。</p>
|
147
147
|
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
148
148
|
<div class="section" id="simple-usage">
|
149
|
-
<h3>8.3.
|
149
|
+
<h3>8.3.23.3.1. 簡単な使い方<a class="headerlink" href="#simple-usage" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
150
150
|
<p>上記のスキーマとデータを使った一番簡単な使い方は以下の通りです。これは <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルのすべてのレコードを出力します。</p>
|
151
151
|
<p>実行例:</p>
|
152
152
|
<div class="highlight-none"><div class="highlight"><pre>select Entries
|
@@ -217,10 +217,10 @@ load --table Entries
|
|
217
217
|
<p>どうしてこのコマンドがすべてのレコードを出力するのでしょうか?理由は2つです。1つ目の理由はこのコマンドが検索条件を何も指定していないからです。検索条件を指定しないとすべてのレコードがマッチします。2つ目の理由は全レコード数が5だからです。 <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはデフォルトでは最大10レコードを出力します。この例では5レコードしかありません。これは10よりも少ないのですべてのレコードを出力します。</p>
|
218
218
|
</div>
|
219
219
|
<div class="section" id="search-conditions">
|
220
|
-
<h3>8.3.
|
220
|
+
<h3>8.3.23.3.2. 検索条件<a class="headerlink" href="#search-conditions" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
221
221
|
<p>検索条件は <tt class="docutils literal"><span class="pre">query</span></tt> または <tt class="docutils literal"><span class="pre">filter</span></tt> で指定します。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を両方指定することもできます。この場合は <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> の両方の条件にマッチしたレコードが出力されます。</p>
|
222
222
|
<div class="section" id="search-condition-query">
|
223
|
-
<h4>8.3.
|
223
|
+
<h4>8.3.23.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
224
224
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> はWebページの検索ボックス用に用意されています。例えば、google.co.jpにあるような検索ボックスです。 <tt class="docutils literal"><span class="pre">query</span></tt> の検索条件はスペース区切りでキーワードを指定します。例えば、 <tt class="docutils literal"><span class="pre">検索</span> <span class="pre">エンジン</span></tt> は <tt class="docutils literal"><span class="pre">検索</span></tt> と <tt class="docutils literal"><span class="pre">エンジン</span></tt> という2つのキーワードを含むレコードを検索します。</p>
|
225
225
|
<p>通常は <tt class="docutils literal"><span class="pre">query</span></tt> 引数は全文検索条件を指定するために使います。全文検索条件以外も指定できますが、その用途には <tt class="docutils literal"><span class="pre">filter</span></tt> 引数の方が向いています。</p>
|
226
226
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> 引数で全文検索条件を指定する場合は、 <tt class="docutils literal"><span class="pre">match_columns</span></tt> 引数と一緒に使います。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> はどのカラムまたはインデックスを使って <tt class="docutils literal"><span class="pre">query</span></tt> を検索するかを指定します。</p>
|
@@ -277,7 +277,7 @@ load --table Entries
|
|
277
277
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> はクエリー構文という構文を使いますが、詳細はここでは説明しません。詳細は <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> を参照してください。</p>
|
278
278
|
</div>
|
279
279
|
<div class="section" id="search-condition-filter">
|
280
|
-
<h4>8.3.
|
280
|
+
<h4>8.3.23.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
281
281
|
<p><tt class="docutils literal"><span class="pre">filter</span></tt> は複雑な検索条件を指定するために用意されています。ECMAScriptのような構文で <tt class="docutils literal"><span class="pre">filter</span></tt> に検索条件を指定します。</p>
|
282
282
|
<p>以下は簡単な <tt class="docutils literal"><span class="pre">filter</span></tt> の使用例です。</p>
|
283
283
|
<p>実行例:</p>
|
@@ -327,7 +327,7 @@ load --table Entries
|
|
327
327
|
</div>
|
328
328
|
</div>
|
329
329
|
<div class="section" id="paging">
|
330
|
-
<h3>8.3.
|
330
|
+
<h3>8.3.23.3.3. ページング<a class="headerlink" href="#paging" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
331
331
|
<p><tt class="docutils literal"><span class="pre">offset</span></tt> と <tt class="docutils literal"><span class="pre">limit</span></tt> を指定することで出力されるレコードの範囲を指定できます。以下は2番目のレコードだけを出力する例です。</p>
|
332
332
|
<p>実行例:</p>
|
333
333
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --offset 1 --limit 1
|
@@ -375,7 +375,7 @@ load --table Entries
|
|
375
375
|
<p><tt class="docutils literal"><span class="pre">limit</span></tt> は出力レコード数の最大値を指定します。 <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt> は多くても1レコードを出力するという意味になります。もし、1つもレコードがマッチしていなければ <tt class="docutils literal"><span class="pre">select</span></tt> コマンドはどのレコードも出力しません。</p>
|
376
376
|
</div>
|
377
377
|
<div class="section" id="the-total-number-of-records">
|
378
|
-
<h3>8.3.
|
378
|
+
<h3>8.3.23.3.4. 全レコード数<a class="headerlink" href="#the-total-number-of-records" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
379
379
|
<p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> を使うとレコードの内容は取得せずに全レコード数だけを取得できます。</p>
|
380
380
|
<p>実行例:</p>
|
381
381
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --limit 0
|
@@ -417,13 +417,13 @@ load --table Entries
|
|
417
417
|
</div>
|
418
418
|
</div>
|
419
419
|
<div class="section" id="parameters">
|
420
|
-
<h2>8.3.
|
420
|
+
<h2>8.3.23.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
421
421
|
<p>このセクションではすべての引数について説明します。引数はカテゴリわけしています。</p>
|
422
422
|
<div class="section" id="required-parameter">
|
423
|
-
<h3>8.3.
|
423
|
+
<h3>8.3.23.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
424
424
|
<p><tt class="docutils literal"><span class="pre">table</span></tt> だけが必須の引数です。</p>
|
425
425
|
<div class="section" id="table">
|
426
|
-
<h4>8.3.
|
426
|
+
<h4>8.3.23.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
427
427
|
<p>検索対象のテーブルを指定します。 <tt class="docutils literal"><span class="pre">table</span></tt> は必ず指定しなければいけません。</p>
|
428
428
|
<p>存在しないテーブルを指定するとエラーが返ります。</p>
|
429
429
|
<p>実行例:</p>
|
@@ -448,11 +448,11 @@ load --table Entries
|
|
448
448
|
</div>
|
449
449
|
</div>
|
450
450
|
<div class="section" id="search-related-parameters">
|
451
|
-
<h3>8.3.
|
451
|
+
<h3>8.3.23.4.2. 検索関係の引数<a class="headerlink" href="#search-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
452
452
|
<p>検索関係の引数がいくつかあります。一般的には、検索ボックスを実装するために <tt class="docutils literal"><span class="pre">match_columns</span></tt> と <tt class="docutils literal"><span class="pre">query</span></tt> 引数を使い、複雑な検索機能を実装するために <tt class="docutils literal"><span class="pre">filter</span></tt> 引数を使います。</p>
|
453
453
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> を指定した場合は、 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> にマッチしたレコードが選択されます。 <tt class="docutils literal"><span class="pre">query</span></tt> と <tt class="docutils literal"><span class="pre">filter</span></tt> のどちらも指定しなかった場合はすべてのレコードが選択されます。</p>
|
454
454
|
<div class="section" id="match-columns">
|
455
|
-
<span id="select-match-columns"></span><h4>8.3.
|
455
|
+
<span id="select-match-columns"></span><h4>8.3.23.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
456
456
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定します。全文検索対象のカラムは <tt class="docutils literal"><span class="pre">query</span></tt> 引数でも指定できます。検索対象カラムを <tt class="docutils literal"><span class="pre">match_columns</span></tt> で指定する場合と <tt class="docutils literal"><span class="pre">query</span></tt> で指定する場合の違いは重みを指定できるかどうかです。 <tt class="docutils literal"><span class="pre">match_columns</span></tt> では重みを指定できますが、 <tt class="docutils literal"><span class="pre">query</span></tt> では指定できません。</p>
|
457
457
|
<p>重みは検索対象カラムの相対的な重要度です。重みの大きい検索対象カラムでマッチした場合は小さい検索対象カラムでマッチした場合よりも多くのヒットスコアがつきます。デフォルトの重みは1です。</p>
|
458
458
|
<p>以下は簡単な <tt class="docutils literal"><span class="pre">match_columns</span></tt> の使用例です。</p>
|
@@ -570,7 +570,7 @@ load --table Entries
|
|
570
570
|
<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> はデフォルト検索対象カラムが <tt class="docutils literal"><span class="pre">_key</span></tt> カラムと <tt class="docutils literal"><span class="pre">content</span></tt> カラムで、 <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの重みは10、 <tt class="docutils literal"><span class="pre">content</span></tt> カラムの重みは1という意味です。この重み付けは <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値よりも重要だという意味になります。この例では、ブログエントリのタイトルはブログエントリの内容よりも重要だということです。</p>
|
571
571
|
</div>
|
572
572
|
<div class="section" id="query">
|
573
|
-
<span id="select-query"></span><h4>8.3.
|
573
|
+
<span id="select-query"></span><h4>8.3.23.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
574
574
|
<p>クエリーテキストを指定します。通常、全文検索をするために <tt class="docutils literal"><span class="pre">match_columns</span></tt> 引数と一緒に使います。 <tt class="docutils literal"><span class="pre">query</span></tt> 引数はWebページにある全文検索フォームで使いやすいように設計されています。クエリーテキストは <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> という書式を使います。この書式はGoogleの検索フォームのように一般的な検索フォームと似ています。例えば、 <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> は <tt class="docutils literal"><span class="pre">word1</span></tt> と <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> は <tt class="docutils literal"><span class="pre">word1</span></tt> または <tt class="docutils literal"><span class="pre">word2</span></tt> を含んでいるレコードを検索するという意味になります。</p>
|
575
575
|
<p>以下は論理積を使った検索の簡単な例です。</p>
|
576
576
|
<p>実行例:</p>
|
@@ -777,7 +777,7 @@ load --table Entries
|
|
777
777
|
<p>他の演算子は <a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> を参照してください。</p>
|
778
778
|
</div>
|
779
779
|
<div class="section" id="filter">
|
780
|
-
<h4>8.3.
|
780
|
+
<h4>8.3.23.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
781
781
|
<p>フィルターテキストを指定します。通常、 <tt class="docutils literal"><span class="pre">filter</span></tt> は複雑な条件を指定するために使います。 <tt class="docutils literal"><span class="pre">filter</span></tt> は <tt class="docutils literal"><span class="pre">query</span></tt> 引数と一緒に使うこともできます。 <tt class="docutils literal"><span class="pre">filter</span></tt> と <tt class="docutils literal"><span class="pre">query</span></tt> を両方指定した場合はそれらを論理積で組み合わせます。つまり、マッチするレコードは <tt class="docutils literal"><span class="pre">filter</span></tt> にも <tt class="docutils literal"><span class="pre">query</span></tt> にもマッチしなければいけないということです。</p>
|
782
782
|
<p><tt class="docutils literal"><span class="pre">filter</span></tt> 引数は複雑な条件用に設計されています。フィルターテキストは <a class="reference internal" href="../grn_expr/script_syntax.html"><em>スクリプト構文</em></a> 書式で指定します。この書式はECMAScriptに似ています。例えば、 <tt class="docutils literal"><span class="pre">column</span> <span class="pre">==</span> <span class="pre">"value"</span></tt> は <tt class="docutils literal"><span class="pre">column</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">"value"</span></tt> と等しいという意味です。 <tt class="docutils literal"><span class="pre">column</span> <span class="pre"><</span> <span class="pre">value</span></tt> は <tt class="docutils literal"><span class="pre">column</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">value</span></tt> よりも小さいという意味です。</p>
|
783
783
|
<p>以下は等価演算子を使った検索の簡単な例です。</p>
|
@@ -890,9 +890,9 @@ load --table Entries
|
|
890
890
|
</div>
|
891
891
|
</div>
|
892
892
|
<div class="section" id="advanced-search-parameters">
|
893
|
-
<h3>8.3.
|
893
|
+
<h3>8.3.23.4.3. 高度な検索のための引数<a class="headerlink" href="#advanced-search-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
894
894
|
<div class="section" id="match-escalation-threshold">
|
895
|
-
<span id="id1"></span><h4>8.3.
|
895
|
+
<span id="id1"></span><h4>8.3.23.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
896
896
|
<p>検索方法をエスカレーションするかどうかを決定するための閾値を指定します。この閾値はマッチしたレコード数との比較に使われます。マッチしたレコード数がこの閾値以下の場合は検索方法をエスカレーションします。検索方法のエスカレーションについては <a class="reference internal" href="../../spec/search.html"><em>検索</em></a> を参照してください。</p>
|
897
897
|
<p>デフォルトの閾値は0です。これは1つもレコードがマッチしなかったときだけ検索方法をエスカレーションするということです。</p>
|
898
898
|
<p>デフォルトの閾値は以下の方法でカスタマイズできます。</p>
|
@@ -986,11 +986,11 @@ select Entries --match_columns content --query groo --match_escalation_threshold
|
|
986
986
|
<p>2番目の <tt class="docutils literal"><span class="pre">select</span></tt> コマンドも <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルから <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">groo</span></tt> という単語を含むレコードを検索します。そして、この <tt class="docutils literal"><span class="pre">select</span></tt> コマンドもマッチしません。この場合、マッチしたレコード数(0)が <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt> (-1)より大きいので、検索方法をエスカレーションしません。そして、1つもレコードがマッチしません。</p>
|
987
987
|
</div>
|
988
988
|
<div class="section" id="query-expansion">
|
989
|
-
<span id="id2"></span><h4>8.3.
|
989
|
+
<span id="id2"></span><h4>8.3.23.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
990
990
|
<p>Deprecated. Use <a class="reference internal" href="#query-expander"><em>query_expander</em></a> instead.</p>
|
991
991
|
</div>
|
992
992
|
<div class="section" id="query-flags">
|
993
|
-
<span id="id3"></span><h4>8.3.
|
993
|
+
<span id="id3"></span><h4>8.3.23.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt><a class="headerlink" href="#query-flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
994
994
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> パラメーターの構文をカスタマイズします。デフォルトでは <tt class="docutils literal"><span class="pre">query</span></tt> パラメーターでカラムの値を更新することはできません。しかし、 <tt class="docutils literal"><span class="pre">query_flags</span></tt> に <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> を指定することで <tt class="docutils literal"><span class="pre">query</span></tt> でカラムの値を更新することができます。</p>
|
995
995
|
<p>指定可能な値は以下の通りです。</p>
|
996
996
|
<ul class="simple">
|
@@ -1253,7 +1253,7 @@ select Users
|
|
1253
1253
|
<p><a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a> も見てください。</p>
|
1254
1254
|
</div>
|
1255
1255
|
<div class="section" id="query-expander">
|
1256
|
-
<span id="id4"></span><h4>8.3.
|
1256
|
+
<span id="id4"></span><h4>8.3.23.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1257
1257
|
<p>クエリー展開用の引数です。クエリー展開はクエリー中の特定の単語を別の単語に置換します。通常は類義語検索に使います。</p>
|
1258
1258
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> 引数の値を置換するために使うカラムを指定します。この引数の値の書式は「 <tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt> 」です。例えば、 「 <tt class="docutils literal"><span class="pre">Terms.synonym</span></tt> 」は <tt class="docutils literal"><span class="pre">Terms</span></tt> テーブルの <tt class="docutils literal"><span class="pre">synonym</span></tt> カラムを指定しています。</p>
|
1259
1259
|
<p>クエリー展開用のテーブルを「置換テーブル」と呼びます。置換テーブルのキーは <tt class="docutils literal"><span class="pre">ShortText</span></tt> にしてください。そのため、配列テーブル( <tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt> )は置換テーブルに使うことはできません。なぜなら、配列テーブルにはキーがないからです。</p>
|
@@ -1469,9 +1469,9 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1469
1469
|
</div>
|
1470
1470
|
</div>
|
1471
1471
|
<div class="section" id="output-related-parameters">
|
1472
|
-
<h3>8.3.
|
1472
|
+
<h3>8.3.23.4.4. 出力関連の引数<a class="headerlink" href="#output-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1473
1473
|
<div class="section" id="output-columns">
|
1474
|
-
<h4>8.3.
|
1474
|
+
<span id="id5"></span><h4>8.3.23.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1475
1475
|
<p>出力するカラムを <tt class="docutils literal"><span class="pre">,</span></tt> 区切りで指定します。</p>
|
1476
1476
|
<p>以下は簡単な <tt class="docutils literal"><span class="pre">output_columns</span></tt> の使用例です。</p>
|
1477
1477
|
<p>実行例:</p>
|
@@ -1551,7 +1551,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1551
1551
|
<p>デフォルト値は <tt class="docutils literal"><span class="pre">_id,</span> <span class="pre">_key,</span> <span class="pre">*</span></tt> です。これは <tt class="docutils literal"><span class="pre">_score</span></tt> 以外の全てのカラムを出力するという意味です。</p>
|
1552
1552
|
</div>
|
1553
1553
|
<div class="section" id="sortby">
|
1554
|
-
<h4>8.3.
|
1554
|
+
<h4>8.3.23.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1555
1555
|
<p>ソートキーを <tt class="docutils literal"><span class="pre">,</span></tt> 区切りで指定します。それぞれのソートキーはカラム名を指定します。</p>
|
1556
1556
|
<p>以下は簡単な <tt class="docutils literal"><span class="pre">sortby</span></tt> の使用例です。</p>
|
1557
1557
|
<p>実行例:</p>
|
@@ -1731,7 +1731,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1731
1731
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> 引数も <tt class="docutils literal"><span class="pre">filter</span></tt> 引数も指定しないで <tt class="docutils literal"><span class="pre">_score</span></tt> を使った場合は、 <tt class="docutils literal"><span class="pre">_score</span></tt> を無視して、ログファイルに警告を出力します。</p>
|
1732
1732
|
</div>
|
1733
1733
|
<div class="section" id="offset">
|
1734
|
-
<h4>8.3.
|
1734
|
+
<h4>8.3.23.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1735
1735
|
<p>出力するレコードの範囲を決めるためのオフセットを指定します。オフセットは0基点です。 <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> は2番目以降のレコードを出力するという意味になります。</p>
|
1736
1736
|
<p>実行例:</p>
|
1737
1737
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --sortby _id --offset 3 --output_columns _key
|
@@ -1799,7 +1799,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1799
1799
|
<p>デフォルト値は <tt class="docutils literal"><span class="pre">0</span></tt> です。</p>
|
1800
1800
|
</div>
|
1801
1801
|
<div class="section" id="limit">
|
1802
|
-
<h4>8.3.
|
1802
|
+
<h4>8.3.23.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1803
1803
|
<p><tt class="docutils literal"><span class="pre">limit</span></tt> は出力レコード数の最大値を指定します。 もし、マッチしたレコード数が <tt class="docutils literal"><span class="pre">limit</span></tt> よりも小さい場合はすべてのレコードが出力されます。</p>
|
1804
1804
|
<p>以下は簡単な <tt class="docutils literal"><span class="pre">limit</span></tt> の使用例です。</p>
|
1805
1805
|
<p>実行例:</p>
|
@@ -1908,44 +1908,44 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1908
1908
|
<p>デフォルト値は <tt class="docutils literal"><span class="pre">10</span></tt> です。</p>
|
1909
1909
|
</div>
|
1910
1910
|
<div class="section" id="scorer">
|
1911
|
-
<h4>8.3.
|
1911
|
+
<h4>8.3.23.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1912
1912
|
<p>TODO: write in English and add example.</p>
|
1913
1913
|
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
1914
1914
|
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
1915
1915
|
</div>
|
1916
1916
|
</div>
|
1917
1917
|
<div class="section" id="facet-related-parameters">
|
1918
|
-
<h3>8.3.
|
1918
|
+
<h3>8.3.23.4.5. ファセット関連の引数<a class="headerlink" href="#facet-related-parameters" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1919
1919
|
<div class="section" id="drilldown">
|
1920
|
-
<h4>8.3.
|
1920
|
+
<h4>8.3.23.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1921
1921
|
<p>TODO: write in English and add example.</p>
|
1922
1922
|
<p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
|
1923
1923
|
</div>
|
1924
1924
|
<div class="section" id="drilldown-sortby">
|
1925
|
-
<h4>8.3.
|
1925
|
+
<h4>8.3.23.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1926
1926
|
<p>TODO: write in English and add example.</p>
|
1927
1927
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
|
1928
1928
|
</div>
|
1929
1929
|
<div class="section" id="drilldown-output-columns">
|
1930
|
-
<h4>8.3.
|
1930
|
+
<h4>8.3.23.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1931
1931
|
<p>TODO: write in English and add example.</p>
|
1932
1932
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
1933
1933
|
</div>
|
1934
1934
|
<div class="section" id="drilldown-offset">
|
1935
|
-
<h4>8.3.
|
1935
|
+
<h4>8.3.23.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1936
1936
|
<p>TODO: write in English and add example.</p>
|
1937
1937
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
|
1938
1938
|
</div>
|
1939
1939
|
<div class="section" id="drilldown-limit">
|
1940
|
-
<h4>8.3.
|
1940
|
+
<h4>8.3.23.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1941
1941
|
<p>TODO: write in English and add example.</p>
|
1942
1942
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
1943
1943
|
</div>
|
1944
1944
|
</div>
|
1945
1945
|
<div class="section" id="cache-related-parameter">
|
1946
|
-
<h3>8.3.
|
1946
|
+
<h3>8.3.23.4.6. キャッシュ関連の引数<a class="headerlink" href="#cache-related-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1947
1947
|
<div class="section" id="cache">
|
1948
|
-
<h4>8.3.
|
1948
|
+
<h4>8.3.23.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1949
1949
|
<p>TODO: write in English and add example.</p>
|
1950
1950
|
<p>クエリキャッシュに関する動作を設定します。</p>
|
1951
1951
|
<p><tt class="docutils literal"><span class="pre">no</span></tt></p>
|
@@ -1954,8 +1954,8 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1954
1954
|
</div>
|
1955
1955
|
</div>
|
1956
1956
|
</div>
|
1957
|
-
<div class="section" id="
|
1958
|
-
<h2>8.3.
|
1957
|
+
<div class="section" id="id6">
|
1958
|
+
<h2>8.3.23.5. 返値<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
1959
1959
|
<p>TODO: write in English and add example.</p>
|
1960
1960
|
<p>以下のようなjson形式で値が返却されます。</p>
|
1961
1961
|
<div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
@@ -1974,12 +1974,12 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1974
1974
|
<p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
|
1975
1975
|
<blockquote>
|
1976
1976
|
<div><p>drilldown条件が実行される前の検索結果が以下のように出力されます。:</p>
|
1977
|
-
<div class="highlight-none"><div class="highlight"><pre>[[
|
1977
|
+
<div class="highlight-none"><div class="highlight"><pre>[[ヒット数], [[カラム名1,カラム型1],..], 検索結果1,..]
|
1978
1978
|
</pre></div>
|
1979
1979
|
</div>
|
1980
|
-
<p><tt class="docutils literal"><span class="pre"
|
1980
|
+
<p><tt class="docutils literal"><span class="pre">ヒット数</span></tt></p>
|
1981
1981
|
<blockquote>
|
1982
|
-
<div
|
1982
|
+
<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>
|
1983
1983
|
<p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
|
1984
1984
|
<blockquote>
|
1985
1985
|
<div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
|
@@ -2011,7 +2011,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2011
2011
|
</div></blockquote>
|
2012
2012
|
</div>
|
2013
2013
|
<div class="section" id="see-also">
|
2014
|
-
<h2>8.3.
|
2014
|
+
<h2>8.3.23.6. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
2015
2015
|
<blockquote>
|
2016
2016
|
<div><ul class="simple">
|
2017
2017
|
<li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a></li>
|
@@ -2029,76 +2029,76 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2029
2029
|
<div class="sphinxsidebarwrapper">
|
2030
2030
|
<h3><a href="../../index.html">目次</a></h3>
|
2031
2031
|
<ul>
|
2032
|
-
<li><a class="reference internal" href="#">8.3.
|
2033
|
-
<li><a class="reference internal" href="#summary">8.3.
|
2034
|
-
<li><a class="reference internal" href="#syntax">8.3.
|
2035
|
-
<li><a class="reference internal" href="#usage">8.3.
|
2036
|
-
<li><a class="reference internal" href="#simple-usage">8.3.
|
2037
|
-
<li><a class="reference internal" href="#search-conditions">8.3.
|
2038
|
-
<li><a class="reference internal" href="#search-condition-query">8.3.
|
2039
|
-
<li><a class="reference internal" href="#search-condition-filter">8.3.
|
2032
|
+
<li><a class="reference internal" href="#">8.3.23. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
|
2033
|
+
<li><a class="reference internal" href="#summary">8.3.23.1. 概要</a></li>
|
2034
|
+
<li><a class="reference internal" href="#syntax">8.3.23.2. 構文</a></li>
|
2035
|
+
<li><a class="reference internal" href="#usage">8.3.23.3. 使い方</a><ul>
|
2036
|
+
<li><a class="reference internal" href="#simple-usage">8.3.23.3.1. 簡単な使い方</a></li>
|
2037
|
+
<li><a class="reference internal" href="#search-conditions">8.3.23.3.2. 検索条件</a><ul>
|
2038
|
+
<li><a class="reference internal" href="#search-condition-query">8.3.23.3.2.1. 検索条件: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2039
|
+
<li><a class="reference internal" href="#search-condition-filter">8.3.23.3.2.2. 検索条件: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2040
2040
|
</ul>
|
2041
2041
|
</li>
|
2042
|
-
<li><a class="reference internal" href="#paging">8.3.
|
2043
|
-
<li><a class="reference internal" href="#the-total-number-of-records">8.3.
|
2042
|
+
<li><a class="reference internal" href="#paging">8.3.23.3.3. ページング</a></li>
|
2043
|
+
<li><a class="reference internal" href="#the-total-number-of-records">8.3.23.3.4. 全レコード数</a></li>
|
2044
2044
|
</ul>
|
2045
2045
|
</li>
|
2046
|
-
<li><a class="reference internal" href="#parameters">8.3.
|
2047
|
-
<li><a class="reference internal" href="#required-parameter">8.3.
|
2048
|
-
<li><a class="reference internal" href="#table">8.3.
|
2046
|
+
<li><a class="reference internal" href="#parameters">8.3.23.4. 引数</a><ul>
|
2047
|
+
<li><a class="reference internal" href="#required-parameter">8.3.23.4.1. 必須引数</a><ul>
|
2048
|
+
<li><a class="reference internal" href="#table">8.3.23.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
|
2049
2049
|
</ul>
|
2050
2050
|
</li>
|
2051
|
-
<li><a class="reference internal" href="#search-related-parameters">8.3.
|
2052
|
-
<li><a class="reference internal" href="#match-columns">8.3.
|
2053
|
-
<li><a class="reference internal" href="#query">8.3.
|
2054
|
-
<li><a class="reference internal" href="#filter">8.3.
|
2051
|
+
<li><a class="reference internal" href="#search-related-parameters">8.3.23.4.2. 検索関係の引数</a><ul>
|
2052
|
+
<li><a class="reference internal" href="#match-columns">8.3.23.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
2053
|
+
<li><a class="reference internal" href="#query">8.3.23.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2054
|
+
<li><a class="reference internal" href="#filter">8.3.23.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2055
2055
|
</ul>
|
2056
2056
|
</li>
|
2057
|
-
<li><a class="reference internal" href="#advanced-search-parameters">8.3.
|
2058
|
-
<li><a class="reference internal" href="#match-escalation-threshold">8.3.
|
2059
|
-
<li><a class="reference internal" href="#query-expansion">8.3.
|
2060
|
-
<li><a class="reference internal" href="#query-flags">8.3.
|
2061
|
-
<li><a class="reference internal" href="#query-expander">8.3.
|
2057
|
+
<li><a class="reference internal" href="#advanced-search-parameters">8.3.23.4.3. 高度な検索のための引数</a><ul>
|
2058
|
+
<li><a class="reference internal" href="#match-escalation-threshold">8.3.23.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
|
2059
|
+
<li><a class="reference internal" href="#query-expansion">8.3.23.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
|
2060
|
+
<li><a class="reference internal" href="#query-flags">8.3.23.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt></a></li>
|
2061
|
+
<li><a class="reference internal" href="#query-expander">8.3.23.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
2062
2062
|
</ul>
|
2063
2063
|
</li>
|
2064
|
-
<li><a class="reference internal" href="#output-related-parameters">8.3.
|
2065
|
-
<li><a class="reference internal" href="#output-columns">8.3.
|
2066
|
-
<li><a class="reference internal" href="#sortby">8.3.
|
2067
|
-
<li><a class="reference internal" href="#offset">8.3.
|
2068
|
-
<li><a class="reference internal" href="#limit">8.3.
|
2069
|
-
<li><a class="reference internal" href="#scorer">8.3.
|
2064
|
+
<li><a class="reference internal" href="#output-related-parameters">8.3.23.4.4. 出力関連の引数</a><ul>
|
2065
|
+
<li><a class="reference internal" href="#output-columns">8.3.23.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
|
2066
|
+
<li><a class="reference internal" href="#sortby">8.3.23.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
|
2067
|
+
<li><a class="reference internal" href="#offset">8.3.23.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
|
2068
|
+
<li><a class="reference internal" href="#limit">8.3.23.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
|
2069
|
+
<li><a class="reference internal" href="#scorer">8.3.23.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
|
2070
2070
|
</ul>
|
2071
2071
|
</li>
|
2072
|
-
<li><a class="reference internal" href="#facet-related-parameters">8.3.
|
2073
|
-
<li><a class="reference internal" href="#drilldown">8.3.
|
2074
|
-
<li><a class="reference internal" href="#drilldown-sortby">8.3.
|
2075
|
-
<li><a class="reference internal" href="#drilldown-output-columns">8.3.
|
2076
|
-
<li><a class="reference internal" href="#drilldown-offset">8.3.
|
2077
|
-
<li><a class="reference internal" href="#drilldown-limit">8.3.
|
2072
|
+
<li><a class="reference internal" href="#facet-related-parameters">8.3.23.4.5. ファセット関連の引数</a><ul>
|
2073
|
+
<li><a class="reference internal" href="#drilldown">8.3.23.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
|
2074
|
+
<li><a class="reference internal" href="#drilldown-sortby">8.3.23.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
|
2075
|
+
<li><a class="reference internal" href="#drilldown-output-columns">8.3.23.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
|
2076
|
+
<li><a class="reference internal" href="#drilldown-offset">8.3.23.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
|
2077
|
+
<li><a class="reference internal" href="#drilldown-limit">8.3.23.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
|
2078
2078
|
</ul>
|
2079
2079
|
</li>
|
2080
|
-
<li><a class="reference internal" href="#cache-related-parameter">8.3.
|
2081
|
-
<li><a class="reference internal" href="#cache">8.3.
|
2080
|
+
<li><a class="reference internal" href="#cache-related-parameter">8.3.23.4.6. キャッシュ関連の引数</a><ul>
|
2081
|
+
<li><a class="reference internal" href="#cache">8.3.23.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
2082
2082
|
</ul>
|
2083
2083
|
</li>
|
2084
2084
|
</ul>
|
2085
2085
|
</li>
|
2086
|
-
<li><a class="reference internal" href="#
|
2087
|
-
<li><a class="reference internal" href="#see-also">8.3.
|
2086
|
+
<li><a class="reference internal" href="#id6">8.3.23.5. 返値</a></li>
|
2087
|
+
<li><a class="reference internal" href="#see-also">8.3.23.6. 参考</a></li>
|
2088
2088
|
</ul>
|
2089
2089
|
</li>
|
2090
2090
|
</ul>
|
2091
2091
|
|
2092
2092
|
<h4>前のトピックへ</h4>
|
2093
|
-
<p class="topless"><a href="
|
2094
|
-
title="前の章へ">8.3.
|
2093
|
+
<p class="topless"><a href="ruby_eval.html"
|
2094
|
+
title="前の章へ">8.3.22. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">ruby_eval</span></tt></a></p>
|
2095
2095
|
<h4>次のトピックへ</h4>
|
2096
2096
|
<p class="topless"><a href="shutdown.html"
|
2097
|
-
title="次の章へ">8.3.
|
2097
|
+
title="次の章へ">8.3.24. shutdown</a></p>
|
2098
2098
|
<h3>このページ</h3>
|
2099
2099
|
<ul class="this-page-menu">
|
2100
2100
|
<li><a href="../../_sources/reference/commands/select.txt"
|
2101
|
-
rel="nofollow"
|
2101
|
+
rel="nofollow">ソースコードを表示(英語)</a></li>
|
2102
2102
|
</ul>
|
2103
2103
|
<div id="searchbox" style="display: none">
|
2104
2104
|
<h3>クイック検索</h3>
|
@@ -2124,12 +2124,12 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
2124
2124
|
<a href="../../genindex.html" title="総合索引"
|
2125
2125
|
>索引</a></li>
|
2126
2126
|
<li class="right" >
|
2127
|
-
<a href="shutdown.html" title="8.3.
|
2127
|
+
<a href="shutdown.html" title="8.3.24. shutdown"
|
2128
2128
|
>次へ</a> |</li>
|
2129
2129
|
<li class="right" >
|
2130
|
-
<a href="
|
2130
|
+
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
2131
2131
|
>前へ</a> |</li>
|
2132
|
-
<li><a href="../../index.html">groonga v3.0.
|
2132
|
+
<li><a href="../../index.html">groonga v3.0.8ドキュメント</a> »</li>
|
2133
2133
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
2134
2134
|
<li><a href="../command.html" >8.3. コマンド</a> »</li>
|
2135
2135
|
</ul>
|