rroonga 2.1.3-x86-mingw32 → 3.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/grndump +1 -1
- data/doc/text/news.textile +22 -4
- data/ext/groonga/rb-grn-accessor.c +1 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +218 -2
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +7 -7
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +1 -1
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -4
- data/ext/groonga/rb-groonga.c +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/context.rb +93 -13
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +2 -1
- data/test/test-array.rb +86 -2
- data/test/test-context.rb +22 -2
- 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.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
- data/vendor/local/include/groonga/groonga.h +16 -8
- data/vendor/local/include/groonga/groonga/nfkc.h +32 -0
- data/vendor/local/include/groonga/groonga/plugin.h +39 -21
- data/vendor/local/include/groonga/groonga/tokenizer.h +4 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/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/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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +8 -4
- 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 +36 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -5
- 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 +58 -57
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +25 -25
- 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 +104 -95
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +138 -0
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +36 -30
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +23 -9
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +30 -9
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +16 -9
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -13
- 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 +37 -9
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +251 -120
- 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 +28 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +25 -22
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- 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 +13 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +70 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +218 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +294 -288
- 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 +38 -41
- 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 +33 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +268 -0
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- 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 +11 -9
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -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/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +292 -0
- 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 +5 -5
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +32 -7
- 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 +10 -10
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- 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 +5 -5
- 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 +5 -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 +5 -5
- 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 +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +8 -4
- 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 +36 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +58 -57
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +104 -95
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +139 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +36 -30
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +19 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +24 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +225 -124
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +28 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +25 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +13 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +56 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +213 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +235 -229
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +38 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +33 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +268 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +11 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +291 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +30 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +1231 -420
- data/vendor/local/share/man/man1/groonga.1 +1370 -521
- metadata +1025 -998
- data/lib/1.8/groonga.so +0 -0
@@ -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.20. quit — groonga v3.0.2 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '3.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="8.3.
|
31
|
-
<link rel="prev" title="8.3.
|
30
|
+
<link rel="next" title="8.3.21. register" href="register.html" />
|
31
|
+
<link rel="prev" title="8.3.19. normalize" href="normalize.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="register.html" title="8.3.
|
58
|
+
<a href="register.html" title="8.3.21. register"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="
|
61
|
+
<a href="normalize.html" title="8.3.19. normalize"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -72,32 +72,32 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="quit">
|
75
|
-
<h1>8.3.
|
75
|
+
<h1>8.3.20. quit<a class="headerlink" href="#quit" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="id1">
|
77
|
-
<h2>8.3.
|
77
|
+
<h2>8.3.20.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>quit - セッション終了</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="id2">
|
81
|
-
<h2>8.3.
|
81
|
+
<h2>8.3.20.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<div class="highlight-none"><div class="highlight"><pre>quit
|
83
83
|
</pre></div>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h2>8.3.
|
87
|
+
<h2>8.3.20.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
88
88
|
<p>groonga組込コマンドの一つであるquitについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
|
89
89
|
<p>quitは、groongaプロセスとのセッションを終了します。クライアントプロセスならばgroongaプロセスとの接続を切ります。</p>
|
90
90
|
</div>
|
91
91
|
<div class="section" id="id4">
|
92
|
-
<h2>8.3.
|
92
|
+
<h2>8.3.20.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p>ありません。</p>
|
94
94
|
</div>
|
95
95
|
<div class="section" id="id5">
|
96
|
-
<h2>8.3.
|
96
|
+
<h2>8.3.20.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
97
97
|
<p>ありません。</p>
|
98
98
|
</div>
|
99
99
|
<div class="section" id="id6">
|
100
|
-
<h2>8.3.
|
100
|
+
<h2>8.3.20.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
101
101
|
<div class="highlight-none"><div class="highlight"><pre>quit
|
102
102
|
</pre></div>
|
103
103
|
</div>
|
@@ -112,23 +112,23 @@
|
|
112
112
|
<div class="sphinxsidebarwrapper">
|
113
113
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
114
114
|
<ul>
|
115
|
-
<li><a class="reference internal" href="#">8.3.
|
116
|
-
<li><a class="reference internal" href="#id1">8.3.
|
117
|
-
<li><a class="reference internal" href="#id2">8.3.
|
118
|
-
<li><a class="reference internal" href="#id3">8.3.
|
119
|
-
<li><a class="reference internal" href="#id4">8.3.
|
120
|
-
<li><a class="reference internal" href="#id5">8.3.
|
121
|
-
<li><a class="reference internal" href="#id6">8.3.
|
115
|
+
<li><a class="reference internal" href="#">8.3.20. quit</a><ul>
|
116
|
+
<li><a class="reference internal" href="#id1">8.3.20.1. 名前</a></li>
|
117
|
+
<li><a class="reference internal" href="#id2">8.3.20.2. 書式</a></li>
|
118
|
+
<li><a class="reference internal" href="#id3">8.3.20.3. 説明</a></li>
|
119
|
+
<li><a class="reference internal" href="#id4">8.3.20.4. 引数</a></li>
|
120
|
+
<li><a class="reference internal" href="#id5">8.3.20.5. 返値</a></li>
|
121
|
+
<li><a class="reference internal" href="#id6">8.3.20.6. 例</a></li>
|
122
122
|
</ul>
|
123
123
|
</li>
|
124
124
|
</ul>
|
125
125
|
|
126
126
|
<h4>Previous topic</h4>
|
127
|
-
<p class="topless"><a href="
|
128
|
-
title="previous chapter">8.3.
|
127
|
+
<p class="topless"><a href="normalize.html"
|
128
|
+
title="previous chapter">8.3.19. <tt class="docutils literal docutils literal docutils literal"><span class="pre">normalize</span></tt></a></p>
|
129
129
|
<h4>Next topic</h4>
|
130
130
|
<p class="topless"><a href="register.html"
|
131
|
-
title="next chapter">8.3.
|
131
|
+
title="next chapter">8.3.21. register</a></p>
|
132
132
|
<h3>This Page</h3>
|
133
133
|
<ul class="this-page-menu">
|
134
134
|
<li><a href="../../_sources/reference/commands/quit.txt"
|
@@ -158,12 +158,12 @@
|
|
158
158
|
<a href="../../genindex.html" title="General Index"
|
159
159
|
>index</a></li>
|
160
160
|
<li class="right" >
|
161
|
-
<a href="register.html" title="8.3.
|
161
|
+
<a href="register.html" title="8.3.21. register"
|
162
162
|
>next</a> |</li>
|
163
163
|
<li class="right" >
|
164
|
-
<a href="
|
164
|
+
<a href="normalize.html" title="8.3.19. normalize"
|
165
165
|
>previous</a> |</li>
|
166
|
-
<li><a href="../../index.html">groonga
|
166
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
167
167
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
168
168
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
169
169
|
</ul>
|
@@ -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.21. register — groonga v3.0.2 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '3.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="8.3.
|
31
|
-
<link rel="prev" title="8.3.
|
30
|
+
<link rel="next" title="8.3.22. select" href="select.html" />
|
31
|
+
<link rel="prev" title="8.3.20. quit" href="quit.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
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="8.3.
|
58
|
+
<a href="select.html" title="8.3.22. select"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="quit.html" title="8.3.
|
61
|
+
<a href="quit.html" title="8.3.20. quit"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -72,9 +72,9 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="register">
|
75
|
-
<h1>8.3.
|
75
|
+
<h1>8.3.21. register<a class="headerlink" href="#register" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
|
-
<h2>8.3.
|
77
|
+
<h2>8.3.21.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p><tt class="docutils literal"><span class="pre">register</span></tt> command registers a plugin. You need to register a plugin
|
79
79
|
before you use a plugin.</p>
|
80
80
|
<p>You need just one <tt class="docutils literal"><span class="pre">register</span></tt> command for a plugin in the same
|
@@ -87,14 +87,14 @@ process loads all registered plugins without <tt class="docutils literal"><span
|
|
87
87
|
</div>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="syntax">
|
90
|
-
<h2>8.3.
|
90
|
+
<h2>8.3.21.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
91
91
|
<p><tt class="docutils literal"><span class="pre">register</span></tt> has a parameter <tt class="docutils literal"><span class="pre">path</span></tt>. It is required parameter:</p>
|
92
92
|
<div class="highlight-none"><div class="highlight"><pre>register path
|
93
93
|
</pre></div>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
<div class="section" id="usage">
|
97
|
-
<h2>8.3.
|
97
|
+
<h2>8.3.21.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
98
98
|
<p>Here is a sample that registers <tt class="docutils literal"><span class="pre">QueryExpanderTSV</span></tt> query expander
|
99
99
|
that is included in
|
100
100
|
<tt class="docutils literal"><span class="pre">${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so</span></tt>.</p>
|
@@ -109,7 +109,7 @@ They are completed automatically.</p>
|
|
109
109
|
<span class="pre">/usr/lib/groonga/plugins/query_expanders/tsv.so</span></tt>.</p>
|
110
110
|
</div>
|
111
111
|
<div class="section" id="return-value">
|
112
|
-
<h2>8.3.
|
112
|
+
<h2>8.3.21.4. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
113
113
|
<p><tt class="docutils literal"><span class="pre">register</span></tt> returns <tt class="docutils literal"><span class="pre">true</span></tt> as body on success such as:</p>
|
114
114
|
<div class="highlight-none"><div class="highlight"><pre>[HEADER, true]
|
115
115
|
</pre></div>
|
@@ -127,21 +127,21 @@ They are completed automatically.</p>
|
|
127
127
|
<div class="sphinxsidebarwrapper">
|
128
128
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
129
129
|
<ul>
|
130
|
-
<li><a class="reference internal" href="#">8.3.
|
131
|
-
<li><a class="reference internal" href="#summary">8.3.
|
132
|
-
<li><a class="reference internal" href="#syntax">8.3.
|
133
|
-
<li><a class="reference internal" href="#usage">8.3.
|
134
|
-
<li><a class="reference internal" href="#return-value">8.3.
|
130
|
+
<li><a class="reference internal" href="#">8.3.21. register</a><ul>
|
131
|
+
<li><a class="reference internal" href="#summary">8.3.21.1. Summary</a></li>
|
132
|
+
<li><a class="reference internal" href="#syntax">8.3.21.2. Syntax</a></li>
|
133
|
+
<li><a class="reference internal" href="#usage">8.3.21.3. Usage</a></li>
|
134
|
+
<li><a class="reference internal" href="#return-value">8.3.21.4. Return value</a></li>
|
135
135
|
</ul>
|
136
136
|
</li>
|
137
137
|
</ul>
|
138
138
|
|
139
139
|
<h4>Previous topic</h4>
|
140
140
|
<p class="topless"><a href="quit.html"
|
141
|
-
title="previous chapter">8.3.
|
141
|
+
title="previous chapter">8.3.20. quit</a></p>
|
142
142
|
<h4>Next topic</h4>
|
143
143
|
<p class="topless"><a href="select.html"
|
144
|
-
title="next chapter">8.3.
|
144
|
+
title="next chapter">8.3.22. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
|
145
145
|
<h3>This Page</h3>
|
146
146
|
<ul class="this-page-menu">
|
147
147
|
<li><a href="../../_sources/reference/commands/register.txt"
|
@@ -171,12 +171,12 @@ They are completed automatically.</p>
|
|
171
171
|
<a href="../../genindex.html" title="General Index"
|
172
172
|
>index</a></li>
|
173
173
|
<li class="right" >
|
174
|
-
<a href="select.html" title="8.3.
|
174
|
+
<a href="select.html" title="8.3.22. select"
|
175
175
|
>next</a> |</li>
|
176
176
|
<li class="right" >
|
177
|
-
<a href="quit.html" title="8.3.
|
177
|
+
<a href="quit.html" title="8.3.20. quit"
|
178
178
|
>previous</a> |</li>
|
179
|
-
<li><a href="../../index.html">groonga
|
179
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
180
180
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
181
181
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
182
182
|
</ul>
|
@@ -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.22. select — groonga v3.0.2 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '
|
18
|
+
VERSION: '3.0.2',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="groonga
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="8.3.
|
31
|
-
<link rel="prev" title="8.3.
|
30
|
+
<link rel="next" title="8.3.23. shutdown" href="shutdown.html" />
|
31
|
+
<link rel="prev" title="8.3.21. register" href="register.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
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="8.3.
|
58
|
+
<a href="shutdown.html" title="8.3.23. shutdown"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="register.html" title="8.3.
|
61
|
+
<a href="register.html" title="8.3.21. register"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -72,16 +72,16 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="select">
|
75
|
-
<h1>8.3.
|
75
|
+
<h1>8.3.22. <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>8.3.
|
77
|
+
<h2>8.3.22.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
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
80
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> is the most important command in groonga. You need to
|
81
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>8.3.
|
84
|
+
<h2>8.3.22.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
85
85
|
<p><tt class="docutils literal"><span class="pre">select</span></tt> has many parameters. The required parameter is only
|
86
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
|
@@ -102,11 +102,12 @@ understand <tt class="docutils literal"><span class="pre">select</span></tt> to
|
|
102
102
|
[match_escalation_threshold=0]
|
103
103
|
[query_expansion=null]
|
104
104
|
[query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
|
105
|
+
[query_expander=null]
|
105
106
|
</pre></div>
|
106
107
|
</div>
|
107
108
|
</div>
|
108
109
|
<div class="section" id="usage">
|
109
|
-
<h2>8.3.
|
110
|
+
<h2>8.3.22.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
110
111
|
<p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
|
111
112
|
many popular usages.</p>
|
112
113
|
<p>Here are a schema definition and sample data to show usage.</p>
|
@@ -153,7 +154,7 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok
|
|
153
154
|
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
154
155
|
<p>OK. The schema and data for examples are ready.</p>
|
155
156
|
<div class="section" id="simple-usage">
|
156
|
-
<h3>8.3.
|
157
|
+
<h3>8.3.22.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
157
158
|
<p>Here is the most simple usage with the above schema and data. It outputs
|
158
159
|
all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
159
160
|
<p>Execution example:</p>
|
@@ -230,12 +231,12 @@ command outputs 10 records at a maximum by default. There are only 5
|
|
230
231
|
records. It is less than 10. So the command outputs all records.</p>
|
231
232
|
</div>
|
232
233
|
<div class="section" id="search-conditions">
|
233
|
-
<h3>8.3.
|
234
|
+
<h3>8.3.22.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
|
234
235
|
<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
|
235
236
|
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
|
236
237
|
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>
|
237
238
|
<div class="section" id="search-condition-query">
|
238
|
-
<h4>8.3.
|
239
|
+
<h4>8.3.22.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>
|
239
240
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
|
240
241
|
in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
|
241
242
|
separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
|
@@ -302,7 +303,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
302
303
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
|
303
304
|
</div>
|
304
305
|
<div class="section" id="search-condition-filter">
|
305
|
-
<h4>8.3.
|
306
|
+
<h4>8.3.22.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>
|
306
307
|
<p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
|
307
308
|
search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
|
308
309
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
|
@@ -360,7 +361,7 @@ datails.</p>
|
|
360
361
|
</div>
|
361
362
|
</div>
|
362
363
|
<div class="section" id="paging">
|
363
|
-
<h3>8.3.
|
364
|
+
<h3>8.3.22.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
|
364
365
|
<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>.
|
365
366
|
Here is an example to output only the 2nd record.</p>
|
366
367
|
<p>Execution example:</p>
|
@@ -412,7 +413,7 @@ means the number of output records is 1 at a maximium. If no records
|
|
412
413
|
are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
|
413
414
|
</div>
|
414
415
|
<div class="section" id="the-total-number-of-records">
|
415
|
-
<h3>8.3.
|
416
|
+
<h3>8.3.22.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
|
416
417
|
<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
|
417
418
|
without any contents of records.</p>
|
418
419
|
<p>Execution example:</p>
|
@@ -456,13 +457,13 @@ records.</p>
|
|
456
457
|
</div>
|
457
458
|
</div>
|
458
459
|
<div class="section" id="parameters">
|
459
|
-
<h2>8.3.
|
460
|
+
<h2>8.3.22.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
460
461
|
<p>This section describes all parameters. Parameters are categorized.</p>
|
461
462
|
<div class="section" id="required-parameter">
|
462
|
-
<h3>8.3.
|
463
|
+
<h3>8.3.22.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
463
464
|
<p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
|
464
465
|
<div class="section" id="table">
|
465
|
-
<h4>8.3.
|
466
|
+
<h4>8.3.22.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>
|
466
467
|
<p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
|
467
468
|
<p>If nonexistent table is specified, an error is returned.</p>
|
468
469
|
<p>Execution example:</p>
|
@@ -487,7 +488,7 @@ records.</p>
|
|
487
488
|
</div>
|
488
489
|
</div>
|
489
490
|
<div class="section" id="search-related-parameters">
|
490
|
-
<h3>8.3.
|
491
|
+
<h3>8.3.22.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
|
491
492
|
<p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
|
492
493
|
<tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
|
493
494
|
box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
|
@@ -496,7 +497,7 @@ feature.</p>
|
|
496
497
|
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>
|
497
498
|
and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
|
498
499
|
<div class="section" id="match-columns">
|
499
|
-
<span id="select-match-columns"></span><h4>8.3.
|
500
|
+
<span id="select-match-columns"></span><h4>8.3.22.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>
|
500
501
|
<p>It specifies the default target column for fulltext search by
|
501
502
|
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
|
502
503
|
specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
|
@@ -644,7 +645,7 @@ important rather than <tt class="docutils literal"><span class="pre">content</sp
|
|
644
645
|
of blog entry is more important rather thatn content of blog entry.</p>
|
645
646
|
</div>
|
646
647
|
<div class="section" id="query">
|
647
|
-
<span id="select-query"></span><h4>8.3.
|
648
|
+
<span id="select-query"></span><h4>8.3.22.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>
|
648
649
|
<p>It specifies the query text. Normally, it is used for fulltext search
|
649
650
|
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
|
650
651
|
a fulltext search form in a Web page. A query text should be formatted
|
@@ -867,7 +868,7 @@ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from
|
|
867
868
|
<p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other operations.</p>
|
868
869
|
</div>
|
869
870
|
<div class="section" id="filter">
|
870
|
-
<h4>8.3.
|
871
|
+
<h4>8.3.22.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>
|
871
872
|
<p>It specifies the filter text. Normally, it is used for complex search
|
872
873
|
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
|
873
874
|
<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
|
@@ -991,9 +992,9 @@ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from
|
|
991
992
|
</div>
|
992
993
|
</div>
|
993
994
|
<div class="section" id="advanced-search-parameters">
|
994
|
-
<h3>8.3.
|
995
|
+
<h3>8.3.22.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
995
996
|
<div class="section" id="match-escalation-threshold">
|
996
|
-
<span id="id1"></span><h4>8.3.
|
997
|
+
<span id="id1"></span><h4>8.3.22.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>
|
997
998
|
<p>It specifies threshold to determine whether search storategy
|
998
999
|
escalation is used or not. The threshold is compared against the
|
999
1000
|
number of matched records. If the number of matched records is equal
|
@@ -1108,59 +1109,43 @@ records (0) is larger than <tt class="docutils literal"><span class="pre">match_
|
|
1108
1109
|
more searches aren't executed. And no records are matched.</p>
|
1109
1110
|
</div>
|
1110
1111
|
<div class="section" id="query-expansion">
|
1111
|
-
<span id="id2"></span><h4>8.3.
|
1112
|
-
<p>
|
1113
|
-
to another words in query. Nomally, it's used for synonym search.</p>
|
1114
|
-
<p>It specifies a column that is used to substitute <tt class="docutils literal"><span class="pre">query</span></tt> parameter
|
1115
|
-
value. The format of this parameter value is
|
1116
|
-
"<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
|
1117
|
-
<tt class="docutils literal"><span class="pre">synonym</span></tt> column in <tt class="docutils literal"><span class="pre">Terms</span></tt> table.</p>
|
1118
|
-
<p>Table for query expansion is called "substitution table". Substitution
|
1119
|
-
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>)
|
1120
|
-
can't be used for query expansion. Because array table doesn't have
|
1121
|
-
key.</p>
|
1122
|
-
<p>Column for query expansion is called "substitution
|
1123
|
-
column". Substitution column's value type must be
|
1124
|
-
<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>
|
1125
|
-
<p>Query expansion substitutes key of substitution table in query with
|
1126
|
-
values in substitution column. If a word in <tt class="docutils literal"><span class="pre">query</span></tt> is a key of
|
1127
|
-
substitution table, the word is substituted with substitution column
|
1128
|
-
value that is associated with the key. Substition isn't performed
|
1129
|
-
recursively. It means that substitution target words in substituted
|
1130
|
-
query aren't substituted.</p>
|
1131
|
-
<p>Here is a sample substitution table to show a simple
|
1132
|
-
<tt class="docutils literal"><span class="pre">query_expansion</span></tt> usage example.</p>
|
1133
|
-
<p>Execution example:</p>
|
1134
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
1135
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1136
|
-
column_create Thesaurus synonym COLUMN_VECTOR ShortText
|
1137
|
-
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1138
|
-
load --table Thesaurus
|
1139
|
-
[
|
1140
|
-
{"_key": "mroonga", "synonym": ["mroonga", "tritonn", "groonga mysql"]},
|
1141
|
-
{"_key": "groonga", "synonym": ["groonga", "senna"]}
|
1142
|
-
]
|
1143
|
-
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
1144
|
-
</pre></div>
|
1112
|
+
<span id="id2"></span><h4>8.3.22.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>
|
1113
|
+
<p>Deprecated. Use <a class="reference internal" href="#query-expander"><em>query_expander</em></a> instead.</p>
|
1145
1114
|
</div>
|
1146
|
-
<
|
1147
|
-
<tt class="docutils literal"><span class="pre"
|
1148
|
-
|
1149
|
-
|
1150
|
-
<span class="pre">
|
1151
|
-
<tt class="docutils literal"><span class="pre">
|
1152
|
-
|
1153
|
-
<
|
1154
|
-
<tt class="docutils literal"><span class="pre"
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1115
|
+
<div class="section" id="query-flags">
|
1116
|
+
<span id="id3"></span><h4>8.3.22.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>
|
1117
|
+
<p>It customs <tt class="docutils literal"><span class="pre">query</span></tt> parameter syntax. You cannot update column value
|
1118
|
+
by <tt class="docutils literal"><span class="pre">query</span></tt> parameter by default. But if you specify
|
1119
|
+
<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
|
1120
|
+
column value by <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
1121
|
+
<p>Here are available values:</p>
|
1122
|
+
<ul class="simple">
|
1123
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt></li>
|
1124
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt></li>
|
1125
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt></li>
|
1126
|
+
<li><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt></li>
|
1127
|
+
<li><tt class="docutils literal"><span class="pre">NONE</span></tt></li>
|
1128
|
+
</ul>
|
1129
|
+
<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
|
1130
|
+
implemented yet.</p>
|
1131
|
+
<p><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> enables search againt columns that are not included
|
1132
|
+
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>
|
1133
|
+
syntaxes.</p>
|
1134
|
+
<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
|
1135
|
+
<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
|
1136
|
+
update column because the column update syntax specifies column.</p>
|
1137
|
+
<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>
|
1138
|
+
syntax. The query searches records that doesn't match
|
1139
|
+
<tt class="docutils literal"><span class="pre">WORD</span></tt>. Leading NOT condition query is heavy query in many cases
|
1140
|
+
because it matches many records. So this flag is disabled by
|
1141
|
+
default. Be careful about it when you use the flag.</p>
|
1142
|
+
<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>
|
1143
|
+
<p>They can be combined by separated <tt class="docutils literal"><span class="pre">|</span></tt> such as
|
1144
|
+
<tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt>.</p>
|
1145
|
+
<p>The default value is <tt class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></tt>.</p>
|
1146
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt>.</p>
|
1162
1147
|
<p>Execution example:</p>
|
1163
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --
|
1148
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
|
1164
1149
|
# [
|
1165
1150
|
# [
|
1166
1151
|
# 0,
|
@@ -1199,7 +1184,23 @@ value.</p>
|
|
1199
1184
|
# ]
|
1200
1185
|
# ]
|
1201
1186
|
# ]
|
1202
|
-
|
1187
|
+
</pre></div>
|
1188
|
+
</div>
|
1189
|
+
<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
|
1190
|
+
<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>
|
1191
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt>.</p>
|
1192
|
+
<p>Execution example:</p>
|
1193
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Users TABLE_HASH_KEY ShortText
|
1194
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1195
|
+
column_create Users age COLUMN_SCALAR UInt32
|
1196
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1197
|
+
load --table Users
|
1198
|
+
[
|
1199
|
+
{"_key": "alice", "age": 18},
|
1200
|
+
{"_key": "bob", "age": 20}
|
1201
|
+
]
|
1202
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
1203
|
+
select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
|
1203
1204
|
# [
|
1204
1205
|
# [
|
1205
1206
|
# 0,
|
@@ -1221,30 +1222,24 @@ select Entries --match_columns content --query "mroonga" --query_expan
|
|
1221
1222
|
# "ShortText"
|
1222
1223
|
# ],
|
1223
1224
|
# [
|
1224
|
-
# "
|
1225
|
-
# "Text"
|
1226
|
-
# ],
|
1227
|
-
# [
|
1228
|
-
# "n_likes",
|
1225
|
+
# "age",
|
1229
1226
|
# "UInt32"
|
1230
1227
|
# ]
|
1231
1228
|
# ],
|
1232
1229
|
# [
|
1233
|
-
#
|
1234
|
-
# "
|
1235
|
-
#
|
1236
|
-
# 15
|
1230
|
+
# 1,
|
1231
|
+
# "alice",
|
1232
|
+
# 19
|
1237
1233
|
# ],
|
1238
1234
|
# [
|
1239
|
-
#
|
1240
|
-
# "
|
1241
|
-
#
|
1242
|
-
# 3
|
1235
|
+
# 2,
|
1236
|
+
# "bob",
|
1237
|
+
# 19
|
1243
1238
|
# ]
|
1244
1239
|
# ]
|
1245
1240
|
# ]
|
1246
1241
|
# ]
|
1247
|
-
select
|
1242
|
+
select Users
|
1248
1243
|
# [
|
1249
1244
|
# [
|
1250
1245
|
# 0,
|
@@ -1266,47 +1261,31 @@ select Entries --match_columns content --query "((mroonga) OR (tritonn) OR
|
|
1266
1261
|
# "ShortText"
|
1267
1262
|
# ],
|
1268
1263
|
# [
|
1269
|
-
# "
|
1270
|
-
# "Text"
|
1271
|
-
# ],
|
1272
|
-
# [
|
1273
|
-
# "n_likes",
|
1264
|
+
# "age",
|
1274
1265
|
# "UInt32"
|
1275
1266
|
# ]
|
1276
1267
|
# ],
|
1277
1268
|
# [
|
1278
|
-
#
|
1279
|
-
# "
|
1280
|
-
#
|
1281
|
-
# 15
|
1269
|
+
# 1,
|
1270
|
+
# "alice",
|
1271
|
+
# 19
|
1282
1272
|
# ],
|
1283
1273
|
# [
|
1284
|
-
#
|
1285
|
-
# "
|
1286
|
-
#
|
1287
|
-
# 3
|
1274
|
+
# 2,
|
1275
|
+
# "bob",
|
1276
|
+
# 19
|
1288
1277
|
# ]
|
1289
1278
|
# ]
|
1290
1279
|
# ]
|
1291
1280
|
# ]
|
1292
1281
|
</pre></div>
|
1293
1282
|
</div>
|
1294
|
-
<p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
the second <tt class="docutils literal"><span class="pre">select</span></tt> command. The third one uses expanded query.</p>
|
1299
|
-
<p>Each substitute value can contain any <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> syntax
|
1300
|
-
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
|
1301
|
-
using those syntax.</p>
|
1302
|
-
<p>Here is a complex substitution usage example that uses query syntax.</p>
|
1283
|
+
<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
|
1284
|
+
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>
|
1285
|
+
column values.</p>
|
1286
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt>.</p>
|
1303
1287
|
<p>Execution example:</p>
|
1304
|
-
<div class="highlight-none"><div class="highlight"><pre>
|
1305
|
-
[
|
1306
|
-
{"_key": "popular", "synonym": ["popular", "n_likes:>=10"]}
|
1307
|
-
]
|
1308
|
-
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
1309
|
-
select Entries --match_columns content --query "popular" --query_expansion Thesaurus.synonym
|
1288
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
1310
1289
|
# [
|
1311
1290
|
# [
|
1312
1291
|
# 0,
|
@@ -1316,7 +1295,7 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1316
1295
|
# [
|
1317
1296
|
# [
|
1318
1297
|
# [
|
1319
|
-
#
|
1298
|
+
# 4
|
1320
1299
|
# ],
|
1321
1300
|
# [
|
1322
1301
|
# [
|
@@ -1337,63 +1316,39 @@ select Entries --match_columns content --query "popular" --query_expan
|
|
1337
1316
|
# ]
|
1338
1317
|
# ],
|
1339
1318
|
# [
|
1319
|
+
# 1,
|
1320
|
+
# "The first post!",
|
1321
|
+
# "Welcome! This is my first post!",
|
1322
|
+
# 5
|
1323
|
+
# ],
|
1324
|
+
# [
|
1340
1325
|
# 2,
|
1341
1326
|
# "Groonga",
|
1342
1327
|
# "I started to use groonga. It's very fast!",
|
1343
1328
|
# 10
|
1344
1329
|
# ],
|
1345
1330
|
# [
|
1346
|
-
#
|
1347
|
-
# "
|
1348
|
-
# "I
|
1349
|
-
#
|
1331
|
+
# 4,
|
1332
|
+
# "Good-bye Senna",
|
1333
|
+
# "I migrated all Senna system!",
|
1334
|
+
# 3
|
1335
|
+
# ],
|
1336
|
+
# [
|
1337
|
+
# 5,
|
1338
|
+
# "Good-bye Tritonn",
|
1339
|
+
# "I also migrated all Tritonn system!",
|
1340
|
+
# 3
|
1350
1341
|
# ]
|
1351
1342
|
# ]
|
1352
1343
|
# ]
|
1353
1344
|
# ]
|
1354
1345
|
</pre></div>
|
1355
1346
|
</div>
|
1356
|
-
<p>The <tt class="docutils literal"><span class="pre">
|
1357
|
-
|
1358
|
-
|
1359
|
-
more liked entries.</p>
|
1360
|
-
<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
|
1361
|
-
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>
|
1362
|
-
</div>
|
1363
|
-
<div class="section" id="query-flags">
|
1364
|
-
<span id="id3"></span><h4>8.3.20.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>
|
1365
|
-
<p>It customs <tt class="docutils literal"><span class="pre">query</span></tt> parameter syntax. You cannot update column value
|
1366
|
-
by <tt class="docutils literal"><span class="pre">query</span></tt> parameter by default. But if you specify
|
1367
|
-
<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
|
1368
|
-
column value by <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
1369
|
-
<p>Here are available values:</p>
|
1370
|
-
<ul class="simple">
|
1371
|
-
<li><tt class="docutils literal"><span class="pre">ALLOW_PRAGMA</span></tt></li>
|
1372
|
-
<li><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt></li>
|
1373
|
-
<li><tt class="docutils literal"><span class="pre">ALLOW_UPDATE</span></tt></li>
|
1374
|
-
<li><tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt></li>
|
1375
|
-
<li><tt class="docutils literal"><span class="pre">NONE</span></tt></li>
|
1376
|
-
</ul>
|
1377
|
-
<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
|
1378
|
-
implemented yet.</p>
|
1379
|
-
<p><tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt> enables search againt columns that are not included
|
1380
|
-
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>
|
1381
|
-
syntaxes.</p>
|
1382
|
-
<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
|
1383
|
-
<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
|
1384
|
-
update column because the column update syntax specifies column.</p>
|
1385
|
-
<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>
|
1386
|
-
syntax. The query searches records that doesn't match
|
1387
|
-
<tt class="docutils literal"><span class="pre">WORD</span></tt>. Leading NOT condition query is heavy query in many cases
|
1388
|
-
because it matches many records. So this flag is disabled by
|
1389
|
-
default. Be careful about it when you use the flag.</p>
|
1390
|
-
<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>
|
1391
|
-
<p>They can be combined by separated <tt class="docutils literal"><span class="pre">|</span></tt> such as
|
1392
|
-
<tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt>.</p>
|
1393
|
-
<p>The default value is <tt class="docutils literal"><span class="pre">ALLOW_PRAGMA|ALLOW_COLUMN</span></tt>.</p>
|
1394
|
-
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_COLUMN</span></tt>.</p>
|
1347
|
+
<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>
|
1348
|
+
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>
|
1349
|
+
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">NONE</span></tt>.</p>
|
1395
1350
|
<p>Execution example:</p>
|
1396
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --query
|
1351
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
|
1397
1352
|
# [
|
1398
1353
|
# [
|
1399
1354
|
# 0,
|
@@ -1434,21 +1389,67 @@ default. Be careful about it when you use the flag.</p>
|
|
1434
1389
|
# ]
|
1435
1390
|
</pre></div>
|
1436
1391
|
</div>
|
1437
|
-
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain
|
1438
|
-
<tt class="docutils literal"><span class="pre">
|
1439
|
-
<
|
1392
|
+
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain one of two words
|
1393
|
+
<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.
|
1394
|
+
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>
|
1395
|
+
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
|
1396
|
+
specified.</p>
|
1397
|
+
<p>See also <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</p>
|
1398
|
+
</div>
|
1399
|
+
<div class="section" id="query-expander">
|
1400
|
+
<span id="id4"></span><h4>8.3.22.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>
|
1401
|
+
<p>It's for query expansion. Query expansion substitutes specific words
|
1402
|
+
to another words in query. Nomally, it's used for synonym search.</p>
|
1403
|
+
<p>It specifies a column that is used to substitute <tt class="docutils literal"><span class="pre">query</span></tt> parameter
|
1404
|
+
value. The format of this parameter value is
|
1405
|
+
"<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
|
1406
|
+
<tt class="docutils literal"><span class="pre">synonym</span></tt> column in <tt class="docutils literal"><span class="pre">Terms</span></tt> table.</p>
|
1407
|
+
<p>Table for query expansion is called "substitution table". Substitution
|
1408
|
+
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>)
|
1409
|
+
can't be used for query expansion. Because array table doesn't have
|
1410
|
+
key.</p>
|
1411
|
+
<p>Column for query expansion is called "substitution
|
1412
|
+
column". Substitution column's value type must be
|
1413
|
+
<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>
|
1414
|
+
<p>Query expansion substitutes key of substitution table in query with
|
1415
|
+
values in substitution column. If a word in <tt class="docutils literal"><span class="pre">query</span></tt> is a key of
|
1416
|
+
substitution table, the word is substituted with substitution column
|
1417
|
+
value that is associated with the key. Substition isn't performed
|
1418
|
+
recursively. It means that substitution target words in substituted
|
1419
|
+
query aren't substituted.</p>
|
1420
|
+
<p>Here is a sample substitution table to show a simple
|
1421
|
+
<tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
|
1440
1422
|
<p>Execution example:</p>
|
1441
|
-
<div class="highlight-none"><div class="highlight"><pre>table_create
|
1423
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
1442
1424
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1443
|
-
column_create
|
1425
|
+
column_create Thesaurus synonym COLUMN_VECTOR ShortText
|
1444
1426
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1445
|
-
load --table
|
1427
|
+
load --table Thesaurus
|
1446
1428
|
[
|
1447
|
-
{"_key": "
|
1448
|
-
{"_key": "
|
1429
|
+
{"_key": "mroonga", "synonym": ["mroonga", "tritonn", "groonga mysql"]},
|
1430
|
+
{"_key": "groonga", "synonym": ["groonga", "senna"]}
|
1449
1431
|
]
|
1450
1432
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
1451
|
-
|
1433
|
+
</pre></div>
|
1434
|
+
</div>
|
1435
|
+
<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
|
1436
|
+
<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
|
1437
|
+
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
|
1438
|
+
user searches with <tt class="docutils literal"><span class="pre">"groonga"</span></tt>, groonga searchs with <tt class="docutils literal"><span class="pre">"((groonga)</span>
|
1439
|
+
<span class="pre">OR</span> <span class="pre">(senna))"</span></tt>. Nomrally, it's good idea that substitution table has
|
1440
|
+
<tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt> flag. If the flag is used, substitute target word is
|
1441
|
+
matched in case insensitive manner.</p>
|
1442
|
+
<p>Note that those synonym values include the key value such as
|
1443
|
+
<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
|
1444
|
+
key value. If you don't include key value, substituted value doesn't
|
1445
|
+
include the original substitute target value. Normally, including the
|
1446
|
+
original value is better search result. If you have a word that you
|
1447
|
+
don't want to be searched, you should not include the original
|
1448
|
+
word. For example, you can implement "stop words" by an empty vector
|
1449
|
+
value.</p>
|
1450
|
+
<p>Here is a simple <tt class="docutils literal"><span class="pre">query_expander</span></tt> usage example.</p>
|
1451
|
+
<p>Execution example:</p>
|
1452
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query "mroonga"
|
1452
1453
|
# [
|
1453
1454
|
# [
|
1454
1455
|
# 0,
|
@@ -1458,7 +1459,7 @@ select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
|
|
1458
1459
|
# [
|
1459
1460
|
# [
|
1460
1461
|
# [
|
1461
|
-
#
|
1462
|
+
# 1
|
1462
1463
|
# ],
|
1463
1464
|
# [
|
1464
1465
|
# [
|
@@ -1470,24 +1471,24 @@ select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
|
|
1470
1471
|
# "ShortText"
|
1471
1472
|
# ],
|
1472
1473
|
# [
|
1473
|
-
# "
|
1474
|
+
# "content",
|
1475
|
+
# "Text"
|
1476
|
+
# ],
|
1477
|
+
# [
|
1478
|
+
# "n_likes",
|
1474
1479
|
# "UInt32"
|
1475
1480
|
# ]
|
1476
1481
|
# ],
|
1477
1482
|
# [
|
1478
|
-
#
|
1479
|
-
# "
|
1480
|
-
#
|
1481
|
-
#
|
1482
|
-
# [
|
1483
|
-
# 2,
|
1484
|
-
# "bob",
|
1485
|
-
# 19
|
1483
|
+
# 3,
|
1484
|
+
# "Mroonga",
|
1485
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1486
|
+
# 15
|
1486
1487
|
# ]
|
1487
1488
|
# ]
|
1488
1489
|
# ]
|
1489
1490
|
# ]
|
1490
|
-
select
|
1491
|
+
select Entries --match_columns content --query "mroonga" --query_expander Thesaurus.synonym
|
1491
1492
|
# [
|
1492
1493
|
# [
|
1493
1494
|
# 0,
|
@@ -1509,31 +1510,30 @@ select Users
|
|
1509
1510
|
# "ShortText"
|
1510
1511
|
# ],
|
1511
1512
|
# [
|
1512
|
-
# "
|
1513
|
+
# "content",
|
1514
|
+
# "Text"
|
1515
|
+
# ],
|
1516
|
+
# [
|
1517
|
+
# "n_likes",
|
1513
1518
|
# "UInt32"
|
1514
1519
|
# ]
|
1515
1520
|
# ],
|
1516
1521
|
# [
|
1517
|
-
#
|
1518
|
-
# "
|
1519
|
-
#
|
1522
|
+
# 3,
|
1523
|
+
# "Mroonga",
|
1524
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1525
|
+
# 15
|
1520
1526
|
# ],
|
1521
1527
|
# [
|
1522
|
-
#
|
1523
|
-
# "
|
1524
|
-
#
|
1528
|
+
# 5,
|
1529
|
+
# "Good-bye Tritonn",
|
1530
|
+
# "I also migrated all Tritonn system!",
|
1531
|
+
# 3
|
1525
1532
|
# ]
|
1526
1533
|
# ]
|
1527
1534
|
# ]
|
1528
1535
|
# ]
|
1529
|
-
|
1530
|
-
</div>
|
1531
|
-
<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
|
1532
|
-
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>
|
1533
|
-
column values.</p>
|
1534
|
-
<p>Here is a usage example of <tt class="docutils literal"><span class="pre">ALLOW_LEADING_NOT</span></tt>.</p>
|
1535
|
-
<p>Execution example:</p>
|
1536
|
-
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
1536
|
+
select Entries --match_columns content --query "((mroonga) OR (tritonn) OR (groonga mysql))"
|
1537
1537
|
# [
|
1538
1538
|
# [
|
1539
1539
|
# 0,
|
@@ -1543,7 +1543,7 @@ column values.</p>
|
|
1543
1543
|
# [
|
1544
1544
|
# [
|
1545
1545
|
# [
|
1546
|
-
#
|
1546
|
+
# 2
|
1547
1547
|
# ],
|
1548
1548
|
# [
|
1549
1549
|
# [
|
@@ -1564,22 +1564,10 @@ column values.</p>
|
|
1564
1564
|
# ]
|
1565
1565
|
# ],
|
1566
1566
|
# [
|
1567
|
-
#
|
1568
|
-
# "
|
1569
|
-
# "
|
1570
|
-
#
|
1571
|
-
# ],
|
1572
|
-
# [
|
1573
|
-
# 2,
|
1574
|
-
# "Groonga",
|
1575
|
-
# "I started to use groonga. It's very fast!",
|
1576
|
-
# 10
|
1577
|
-
# ],
|
1578
|
-
# [
|
1579
|
-
# 4,
|
1580
|
-
# "Good-bye Senna",
|
1581
|
-
# "I migrated all Senna system!",
|
1582
|
-
# 3
|
1567
|
+
# 3,
|
1568
|
+
# "Mroonga",
|
1569
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1570
|
+
# 15
|
1583
1571
|
# ],
|
1584
1572
|
# [
|
1585
1573
|
# 5,
|
@@ -1592,11 +1580,22 @@ column values.</p>
|
|
1592
1580
|
# ]
|
1593
1581
|
</pre></div>
|
1594
1582
|
</div>
|
1595
|
-
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command
|
1596
|
-
|
1597
|
-
|
1583
|
+
<p>The first <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion. So a record
|
1584
|
+
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
|
1585
|
+
query expansion. So a record that has <tt class="docutils literal"><span class="pre">"tritonn"</span></tt> is found. The
|
1586
|
+
third <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't use query expansion but it is same as
|
1587
|
+
the second <tt class="docutils literal"><span class="pre">select</span></tt> command. The third one uses expanded query.</p>
|
1588
|
+
<p>Each substitute value can contain any <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> syntax
|
1589
|
+
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
|
1590
|
+
using those syntax.</p>
|
1591
|
+
<p>Here is a complex substitution usage example that uses query syntax.</p>
|
1598
1592
|
<p>Execution example:</p>
|
1599
|
-
<div class="highlight-none"><div class="highlight"><pre>
|
1593
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table Thesaurus
|
1594
|
+
[
|
1595
|
+
{"_key": "popular", "synonym": ["popular", "n_likes:>=10"]}
|
1596
|
+
]
|
1597
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 1]
|
1598
|
+
select Entries --match_columns content --query "popular" --query_expander Thesaurus.synonym
|
1600
1599
|
# [
|
1601
1600
|
# [
|
1602
1601
|
# 0,
|
@@ -1606,7 +1605,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
1606
1605
|
# [
|
1607
1606
|
# [
|
1608
1607
|
# [
|
1609
|
-
#
|
1608
|
+
# 2
|
1610
1609
|
# ],
|
1611
1610
|
# [
|
1612
1611
|
# [
|
@@ -1627,6 +1626,12 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
1627
1626
|
# ]
|
1628
1627
|
# ],
|
1629
1628
|
# [
|
1629
|
+
# 2,
|
1630
|
+
# "Groonga",
|
1631
|
+
# "I started to use groonga. It's very fast!",
|
1632
|
+
# 10
|
1633
|
+
# ],
|
1634
|
+
# [
|
1630
1635
|
# 3,
|
1631
1636
|
# "Mroonga",
|
1632
1637
|
# "I also started to use mroonga. It's also very fast! Really fast!",
|
@@ -1637,18 +1642,18 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
1637
1642
|
# ]
|
1638
1643
|
</pre></div>
|
1639
1644
|
</div>
|
1640
|
-
<p>The <tt class="docutils literal"><span class="pre">
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
<
|
1645
|
+
<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
|
1646
|
+
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
|
1647
|
+
query means that "popular" is containing the word "popular" or 10 or
|
1648
|
+
more liked entries.</p>
|
1649
|
+
<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
|
1650
|
+
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>
|
1646
1651
|
</div>
|
1647
1652
|
</div>
|
1648
1653
|
<div class="section" id="output-related-parameters">
|
1649
|
-
<h3>8.3.
|
1654
|
+
<h3>8.3.22.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1650
1655
|
<div class="section" id="output-columns">
|
1651
|
-
<h4>8.3.
|
1656
|
+
<h4>8.3.22.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>
|
1652
1657
|
<p>It specifies output columns separated by <tt class="docutils literal"><span class="pre">,</span></tt>.</p>
|
1653
1658
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">output_columns</span></tt> usage example.</p>
|
1654
1659
|
<p>Execution example:</p>
|
@@ -1732,7 +1737,7 @@ column value.</p>
|
|
1732
1737
|
values except <tt class="docutils literal"><span class="pre">_score</span></tt> are outputted.</p>
|
1733
1738
|
</div>
|
1734
1739
|
<div class="section" id="sortby">
|
1735
|
-
<h4>8.3.
|
1740
|
+
<h4>8.3.22.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>
|
1736
1741
|
<p>It specifies sort keys separated by <tt class="docutils literal"><span class="pre">,</span></tt>. Each sort key is column
|
1737
1742
|
name.</p>
|
1738
1743
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
|
@@ -1920,7 +1925,7 @@ descending order and outputs record key and hit score.</p>
|
|
1920
1925
|
it's just ignored but get a warning in log file.</p>
|
1921
1926
|
</div>
|
1922
1927
|
<div class="section" id="offset">
|
1923
|
-
<h4>8.3.
|
1928
|
+
<h4>8.3.22.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>
|
1924
1929
|
<p>It specifies offset to determine output records range. Offset is
|
1925
1930
|
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
|
1926
1931
|
record.</p>
|
@@ -1994,7 +1999,7 @@ number of records is <tt class="docutils literal"><span class="pre">5</span></tt
|
|
1994
1999
|
<p>The default value is <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
|
1995
2000
|
</div>
|
1996
2001
|
<div class="section" id="limit">
|
1997
|
-
<h4>8.3.
|
2002
|
+
<h4>8.3.22.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>
|
1998
2003
|
<p>It specifies the max number of output records. If the number of
|
1999
2004
|
matched records is less than <tt class="docutils literal"><span class="pre">limit</span></tt>, all records are outputted.</p>
|
2000
2005
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">limit</span></tt> usage example.</p>
|
@@ -2106,44 +2111,44 @@ records. It's very useful value to show all records.</p>
|
|
2106
2111
|
<p>The default value is <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
2107
2112
|
</div>
|
2108
2113
|
<div class="section" id="scorer">
|
2109
|
-
<h4>8.3.
|
2114
|
+
<h4>8.3.22.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>
|
2110
2115
|
<p>TODO: write in English and add example.</p>
|
2111
2116
|
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
2112
2117
|
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
2113
2118
|
</div>
|
2114
2119
|
</div>
|
2115
2120
|
<div class="section" id="facet-related-parameters">
|
2116
|
-
<h3>8.3.
|
2121
|
+
<h3>8.3.22.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2117
2122
|
<div class="section" id="drilldown">
|
2118
|
-
<h4>8.3.
|
2123
|
+
<h4>8.3.22.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>
|
2119
2124
|
<p>TODO: write in English and add example.</p>
|
2120
2125
|
<p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
|
2121
2126
|
</div>
|
2122
2127
|
<div class="section" id="drilldown-sortby">
|
2123
|
-
<h4>8.3.
|
2128
|
+
<h4>8.3.22.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>
|
2124
2129
|
<p>TODO: write in English and add example.</p>
|
2125
2130
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
|
2126
2131
|
</div>
|
2127
2132
|
<div class="section" id="drilldown-output-columns">
|
2128
|
-
<h4>8.3.
|
2133
|
+
<h4>8.3.22.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>
|
2129
2134
|
<p>TODO: write in English and add example.</p>
|
2130
2135
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
2131
2136
|
</div>
|
2132
2137
|
<div class="section" id="drilldown-offset">
|
2133
|
-
<h4>8.3.
|
2138
|
+
<h4>8.3.22.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>
|
2134
2139
|
<p>TODO: write in English and add example.</p>
|
2135
2140
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
|
2136
2141
|
</div>
|
2137
2142
|
<div class="section" id="drilldown-limit">
|
2138
|
-
<h4>8.3.
|
2143
|
+
<h4>8.3.22.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>
|
2139
2144
|
<p>TODO: write in English and add example.</p>
|
2140
2145
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
2141
2146
|
</div>
|
2142
2147
|
</div>
|
2143
2148
|
<div class="section" id="cache-related-parameter">
|
2144
|
-
<h3>8.3.
|
2149
|
+
<h3>8.3.22.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
2145
2150
|
<div class="section" id="cache">
|
2146
|
-
<h4>8.3.
|
2151
|
+
<h4>8.3.22.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>
|
2147
2152
|
<p>TODO: write in English and add example.</p>
|
2148
2153
|
<p>クエリキャッシュに関する動作を設定します。</p>
|
2149
2154
|
<p><tt class="docutils literal"><span class="pre">no</span></tt></p>
|
@@ -2152,8 +2157,8 @@ records. It's very useful value to show all records.</p>
|
|
2152
2157
|
</div>
|
2153
2158
|
</div>
|
2154
2159
|
</div>
|
2155
|
-
<div class="section" id="
|
2156
|
-
<h2>8.3.
|
2160
|
+
<div class="section" id="id5">
|
2161
|
+
<h2>8.3.22.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
2157
2162
|
<p>TODO: write in English and add example.</p>
|
2158
2163
|
<p>以下のようなjson形式で値が返却されます。</p>
|
2159
2164
|
<div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
@@ -2209,7 +2214,7 @@ records. It's very useful value to show all records.</p>
|
|
2209
2214
|
</div></blockquote>
|
2210
2215
|
</div>
|
2211
2216
|
<div class="section" id="see-also">
|
2212
|
-
<h2>8.3.
|
2217
|
+
<h2>8.3.22.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
2213
2218
|
<blockquote>
|
2214
2219
|
<div><ul class="simple">
|
2215
2220
|
<li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a></li>
|
@@ -2227,71 +2232,72 @@ records. It's very useful value to show all records.</p>
|
|
2227
2232
|
<div class="sphinxsidebarwrapper">
|
2228
2233
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
2229
2234
|
<ul>
|
2230
|
-
<li><a class="reference internal" href="#">8.3.
|
2231
|
-
<li><a class="reference internal" href="#summary">8.3.
|
2232
|
-
<li><a class="reference internal" href="#syntax">8.3.
|
2233
|
-
<li><a class="reference internal" href="#usage">8.3.
|
2234
|
-
<li><a class="reference internal" href="#simple-usage">8.3.
|
2235
|
-
<li><a class="reference internal" href="#search-conditions">8.3.
|
2236
|
-
<li><a class="reference internal" href="#search-condition-query">8.3.
|
2237
|
-
<li><a class="reference internal" href="#search-condition-filter">8.3.
|
2235
|
+
<li><a class="reference internal" href="#">8.3.22. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
|
2236
|
+
<li><a class="reference internal" href="#summary">8.3.22.1. Summary</a></li>
|
2237
|
+
<li><a class="reference internal" href="#syntax">8.3.22.2. Syntax</a></li>
|
2238
|
+
<li><a class="reference internal" href="#usage">8.3.22.3. Usage</a><ul>
|
2239
|
+
<li><a class="reference internal" href="#simple-usage">8.3.22.3.1. Simple usage</a></li>
|
2240
|
+
<li><a class="reference internal" href="#search-conditions">8.3.22.3.2. Search conditions</a><ul>
|
2241
|
+
<li><a class="reference internal" href="#search-condition-query">8.3.22.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2242
|
+
<li><a class="reference internal" href="#search-condition-filter">8.3.22.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2238
2243
|
</ul>
|
2239
2244
|
</li>
|
2240
|
-
<li><a class="reference internal" href="#paging">8.3.
|
2241
|
-
<li><a class="reference internal" href="#the-total-number-of-records">8.3.
|
2245
|
+
<li><a class="reference internal" href="#paging">8.3.22.3.3. Paging</a></li>
|
2246
|
+
<li><a class="reference internal" href="#the-total-number-of-records">8.3.22.3.4. The total number of records</a></li>
|
2242
2247
|
</ul>
|
2243
2248
|
</li>
|
2244
|
-
<li><a class="reference internal" href="#parameters">8.3.
|
2245
|
-
<li><a class="reference internal" href="#required-parameter">8.3.
|
2246
|
-
<li><a class="reference internal" href="#table">8.3.
|
2249
|
+
<li><a class="reference internal" href="#parameters">8.3.22.4. Parameters</a><ul>
|
2250
|
+
<li><a class="reference internal" href="#required-parameter">8.3.22.4.1. Required parameter</a><ul>
|
2251
|
+
<li><a class="reference internal" href="#table">8.3.22.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
|
2247
2252
|
</ul>
|
2248
2253
|
</li>
|
2249
|
-
<li><a class="reference internal" href="#search-related-parameters">8.3.
|
2250
|
-
<li><a class="reference internal" href="#match-columns">8.3.
|
2251
|
-
<li><a class="reference internal" href="#query">8.3.
|
2252
|
-
<li><a class="reference internal" href="#filter">8.3.
|
2254
|
+
<li><a class="reference internal" href="#search-related-parameters">8.3.22.4.2. Search related parameters</a><ul>
|
2255
|
+
<li><a class="reference internal" href="#match-columns">8.3.22.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
2256
|
+
<li><a class="reference internal" href="#query">8.3.22.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2257
|
+
<li><a class="reference internal" href="#filter">8.3.22.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2253
2258
|
</ul>
|
2254
2259
|
</li>
|
2255
|
-
<li><a class="reference internal" href="#advanced-search-parameters">8.3.
|
2256
|
-
<li><a class="reference internal" href="#match-escalation-threshold">8.3.
|
2257
|
-
<li><a class="reference internal" href="#query-expansion">8.3.
|
2258
|
-
<li><a class="reference internal" href="#query-flags">8.3.
|
2260
|
+
<li><a class="reference internal" href="#advanced-search-parameters">8.3.22.4.3. Advanced search parameters</a><ul>
|
2261
|
+
<li><a class="reference internal" href="#match-escalation-threshold">8.3.22.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
|
2262
|
+
<li><a class="reference internal" href="#query-expansion">8.3.22.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
|
2263
|
+
<li><a class="reference internal" href="#query-flags">8.3.22.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt></a></li>
|
2264
|
+
<li><a class="reference internal" href="#query-expander">8.3.22.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
2259
2265
|
</ul>
|
2260
2266
|
</li>
|
2261
|
-
<li><a class="reference internal" href="#output-related-parameters">8.3.
|
2262
|
-
<li><a class="reference internal" href="#output-columns">8.3.
|
2263
|
-
<li><a class="reference internal" href="#sortby">8.3.
|
2264
|
-
<li><a class="reference internal" href="#offset">8.3.
|
2265
|
-
<li><a class="reference internal" href="#limit">8.3.
|
2266
|
-
<li><a class="reference internal" href="#scorer">8.3.
|
2267
|
+
<li><a class="reference internal" href="#output-related-parameters">8.3.22.4.4. Output related parameters</a><ul>
|
2268
|
+
<li><a class="reference internal" href="#output-columns">8.3.22.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
|
2269
|
+
<li><a class="reference internal" href="#sortby">8.3.22.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
|
2270
|
+
<li><a class="reference internal" href="#offset">8.3.22.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
|
2271
|
+
<li><a class="reference internal" href="#limit">8.3.22.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
|
2272
|
+
<li><a class="reference internal" href="#scorer">8.3.22.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
|
2267
2273
|
</ul>
|
2268
2274
|
</li>
|
2269
|
-
<li><a class="reference internal" href="#facet-related-parameters">8.3.
|
2270
|
-
<li><a class="reference internal" href="#drilldown">8.3.
|
2271
|
-
<li><a class="reference internal" href="#drilldown-sortby">8.3.
|
2272
|
-
<li><a class="reference internal" href="#drilldown-output-columns">8.3.
|
2273
|
-
<li><a class="reference internal" href="#drilldown-offset">8.3.
|
2274
|
-
<li><a class="reference internal" href="#drilldown-limit">8.3.
|
2275
|
+
<li><a class="reference internal" href="#facet-related-parameters">8.3.22.4.5. Facet related parameters</a><ul>
|
2276
|
+
<li><a class="reference internal" href="#drilldown">8.3.22.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
|
2277
|
+
<li><a class="reference internal" href="#drilldown-sortby">8.3.22.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
|
2278
|
+
<li><a class="reference internal" href="#drilldown-output-columns">8.3.22.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
|
2279
|
+
<li><a class="reference internal" href="#drilldown-offset">8.3.22.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
|
2280
|
+
<li><a class="reference internal" href="#drilldown-limit">8.3.22.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
|
2275
2281
|
</ul>
|
2276
2282
|
</li>
|
2277
|
-
<li><a class="reference internal" href="#cache-related-parameter">8.3.
|
2278
|
-
<li><a class="reference internal" href="#cache">8.3.
|
2283
|
+
<li><a class="reference internal" href="#cache-related-parameter">8.3.22.4.6. Cache related parameter</a><ul>
|
2284
|
+
<li><a class="reference internal" href="#cache">8.3.22.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
2279
2285
|
</ul>
|
2280
2286
|
</li>
|
2281
2287
|
</ul>
|
2282
2288
|
</li>
|
2283
|
-
<li><a class="reference internal" href="#
|
2284
|
-
<li><a class="reference internal" href="#see-also">8.3.
|
2289
|
+
<li><a class="reference internal" href="#id5">8.3.22.5. 返値</a></li>
|
2290
|
+
<li><a class="reference internal" href="#see-also">8.3.22.6. See also</a></li>
|
2285
2291
|
</ul>
|
2286
2292
|
</li>
|
2287
2293
|
</ul>
|
2288
2294
|
|
2289
2295
|
<h4>Previous topic</h4>
|
2290
2296
|
<p class="topless"><a href="register.html"
|
2291
|
-
title="previous chapter">8.3.
|
2297
|
+
title="previous chapter">8.3.21. register</a></p>
|
2292
2298
|
<h4>Next topic</h4>
|
2293
2299
|
<p class="topless"><a href="shutdown.html"
|
2294
|
-
title="next chapter">8.3.
|
2300
|
+
title="next chapter">8.3.23. shutdown</a></p>
|
2295
2301
|
<h3>This Page</h3>
|
2296
2302
|
<ul class="this-page-menu">
|
2297
2303
|
<li><a href="../../_sources/reference/commands/select.txt"
|
@@ -2321,12 +2327,12 @@ records. It's very useful value to show all records.</p>
|
|
2321
2327
|
<a href="../../genindex.html" title="General Index"
|
2322
2328
|
>index</a></li>
|
2323
2329
|
<li class="right" >
|
2324
|
-
<a href="shutdown.html" title="8.3.
|
2330
|
+
<a href="shutdown.html" title="8.3.23. shutdown"
|
2325
2331
|
>next</a> |</li>
|
2326
2332
|
<li class="right" >
|
2327
|
-
<a href="register.html" title="8.3.
|
2333
|
+
<a href="register.html" title="8.3.21. register"
|
2328
2334
|
>previous</a> |</li>
|
2329
|
-
<li><a href="../../index.html">groonga
|
2335
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
2330
2336
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
2331
2337
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
2332
2338
|
</ul>
|