rroonga 4.0.1-x86-mingw32 → 4.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.textile +25 -0
- data/ext/groonga/extconf.rb +2 -0
- data/ext/groonga/rb-grn-index-column.c +91 -0
- data/ext/groonga/rb-grn-object.c +3 -9
- data/ext/groonga/rb-grn-table.c +18 -24
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/patricia-trie.rb +4 -1
- data/lib/groonga/schema.rb +10 -4
- data/rroonga-build.rb +1 -1
- data/test/test-context.rb +8 -8
- data/test/test-database-dumper.rb +6 -6
- data/test/test-index-column.rb +9 -4
- data/test/test-schema-dumper.rb +6 -6
- data/test/test-schema.rb +32 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga/plugin.h +19 -1
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- 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/news.html +286 -209
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- 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/command.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -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/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
- 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 +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.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-suggest-httpd.html +43 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.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/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
- 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/gqtp.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/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.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/spec.html +10 -10
- 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 +19 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -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/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.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 +6 -6
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
- 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 +27 -137
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- 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/command.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -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/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
- 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 +29 -29
- 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 +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
- 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-suggest-httpd.html +55 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.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/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
- 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/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- 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/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.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/spec.html +10 -10
- 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 +19 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -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/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +0 -1
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
- data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
- data/vendor/local/share/man/man1/groonga.1 +1051 -607
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +289 -278
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
- data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
@@ -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.25. select — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
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 v4.0.1 documentation" href="../../index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 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.26. shutdown" href="shutdown.html" />
|
31
|
+
<link rel="prev" title="8.3.24. ruby_load" href="ruby_load.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
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.26. shutdown"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="ruby_load.html" title="8.3.
|
61
|
+
<a href="ruby_load.html" title="8.3.24. ruby_load"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. Reference manual</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" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="select">
|
75
|
-
<h1>8.3.
|
75
|
+
<h1>8.3.25. <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.25.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.25.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
|
@@ -95,7 +95,7 @@ understand <tt class="docutils literal"><span class="pre">select</span></tt> to
|
|
95
95
|
[limit=10]
|
96
96
|
[drilldown=null]
|
97
97
|
[drilldown_sortby=null]
|
98
|
-
[drilldown_output_columns
|
98
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
99
99
|
[drilldown_offset=0]
|
100
100
|
[drilldown_limit=10]
|
101
101
|
[cache=yes]
|
@@ -108,7 +108,7 @@ understand <tt class="docutils literal"><span class="pre">select</span></tt> to
|
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
<div class="section" id="usage">
|
111
|
-
<h2>8.3.
|
111
|
+
<h2>8.3.25.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
112
112
|
<p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
|
113
113
|
many popular usages.</p>
|
114
114
|
<p>Here are a schema definition and sample data to show usage.</p>
|
@@ -155,7 +155,7 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok
|
|
155
155
|
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
156
156
|
<p>OK. The schema and data for examples are ready.</p>
|
157
157
|
<div class="section" id="simple-usage">
|
158
|
-
<h3>8.3.
|
158
|
+
<h3>8.3.25.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
159
159
|
<p>Here is the most simple usage with the above schema and data. It outputs
|
160
160
|
all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
161
161
|
<p>Execution example:</p>
|
@@ -232,12 +232,12 @@ command outputs 10 records at a maximum by default. There are only 5
|
|
232
232
|
records. It is less than 10. So the command outputs all records.</p>
|
233
233
|
</div>
|
234
234
|
<div class="section" id="search-conditions">
|
235
|
-
<h3>8.3.
|
235
|
+
<h3>8.3.25.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
|
236
236
|
<p>Search conditions are specified by <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. You can
|
237
237
|
also specify both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. It means that selected
|
238
238
|
records must be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>.</p>
|
239
239
|
<div class="section" id="search-condition-query">
|
240
|
-
<h4>8.3.
|
240
|
+
<h4>8.3.25.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="Permalink to this headline">¶</a></h4>
|
241
241
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
|
242
242
|
in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
|
243
243
|
separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
|
@@ -304,7 +304,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
304
304
|
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
|
305
305
|
</div>
|
306
306
|
<div class="section" id="search-condition-filter">
|
307
|
-
<h4>8.3.
|
307
|
+
<h4>8.3.25.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="Permalink to this headline">¶</a></h4>
|
308
308
|
<p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
|
309
309
|
search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
|
310
310
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
|
@@ -362,7 +362,7 @@ datails.</p>
|
|
362
362
|
</div>
|
363
363
|
</div>
|
364
364
|
<div class="section" id="paging">
|
365
|
-
<h3>8.3.
|
365
|
+
<h3>8.3.25.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
|
366
366
|
<p>You can specify range of outputted records by <tt class="docutils literal"><span class="pre">offset</span></tt> and <tt class="docutils literal"><span class="pre">limit</span></tt>.
|
367
367
|
Here is an example to output only the 2nd record.</p>
|
368
368
|
<p>Execution example:</p>
|
@@ -414,7 +414,7 @@ means the number of output records is 1 at a maximium. If no records
|
|
414
414
|
are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
|
415
415
|
</div>
|
416
416
|
<div class="section" id="the-total-number-of-records">
|
417
|
-
<h3>8.3.
|
417
|
+
<h3>8.3.25.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
|
418
418
|
<p>You can use <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> to retrieve the total number of recrods
|
419
419
|
without any contents of records.</p>
|
420
420
|
<p>Execution example:</p>
|
@@ -458,13 +458,13 @@ records.</p>
|
|
458
458
|
</div>
|
459
459
|
</div>
|
460
460
|
<div class="section" id="parameters">
|
461
|
-
<h2>8.3.
|
461
|
+
<h2>8.3.25.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
462
462
|
<p>This section describes all parameters. Parameters are categorized.</p>
|
463
463
|
<div class="section" id="required-parameter">
|
464
|
-
<h3>8.3.
|
464
|
+
<h3>8.3.25.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
465
465
|
<p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
|
466
466
|
<div class="section" id="table">
|
467
|
-
<span id="select-table"></span><h4>8.3.
|
467
|
+
<span id="select-table"></span><h4>8.3.25.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
|
468
468
|
<p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
|
469
469
|
<p>If nonexistent table is specified, an error is returned.</p>
|
470
470
|
<p>Execution example:</p>
|
@@ -489,7 +489,7 @@ records.</p>
|
|
489
489
|
</div>
|
490
490
|
</div>
|
491
491
|
<div class="section" id="search-related-parameters">
|
492
|
-
<h3>8.3.
|
492
|
+
<h3>8.3.25.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
|
493
493
|
<p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
|
494
494
|
<tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
|
495
495
|
box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
|
@@ -498,7 +498,7 @@ feature.</p>
|
|
498
498
|
be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. If both <tt class="docutils literal"><span class="pre">query</span></tt>
|
499
499
|
and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
|
500
500
|
<div class="section" id="match-columns">
|
501
|
-
<span id="select-match-columns"></span><h4>8.3.
|
501
|
+
<span id="select-match-columns"></span><h4>8.3.25.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
502
502
|
<p>It specifies the default target column for fulltext search by
|
503
503
|
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
|
504
504
|
specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
|
@@ -646,7 +646,7 @@ important rather than <tt class="docutils literal"><span class="pre">content</sp
|
|
646
646
|
of blog entry is more important rather thatn content of blog entry.</p>
|
647
647
|
</div>
|
648
648
|
<div class="section" id="query">
|
649
|
-
<span id="select-query"></span><h4>8.3.
|
649
|
+
<span id="select-query"></span><h4>8.3.25.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
|
650
650
|
<p>It specifies the query text. Normally, it is used for fulltext search
|
651
651
|
with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter. <tt class="docutils literal"><span class="pre">query</span></tt> parameter is designed for
|
652
652
|
a fulltext search form in a Web page. A query text should be formatted
|
@@ -869,7 +869,7 @@ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from
|
|
869
869
|
<p>See <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a> for other operations.</p>
|
870
870
|
</div>
|
871
871
|
<div class="section" id="filter">
|
872
|
-
<span id="select-filter"></span><h4>8.3.
|
872
|
+
<span id="select-filter"></span><h4>8.3.25.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
|
873
873
|
<p>It specifies the filter text. Normally, it is used for complex search
|
874
874
|
conditions. <tt class="docutils literal"><span class="pre">filter</span></tt> can be used with <tt class="docutils literal"><span class="pre">query</span></tt> parameter. If both
|
875
875
|
<tt class="docutils literal"><span class="pre">filter</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> are specified, there are conbined with
|
@@ -993,9 +993,9 @@ is less than <tt class="docutils literal"><span class="pre">11</span></tt> from
|
|
993
993
|
</div>
|
994
994
|
</div>
|
995
995
|
<div class="section" id="advanced-search-parameters">
|
996
|
-
<h3>8.3.
|
996
|
+
<h3>8.3.25.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
997
997
|
<div class="section" id="match-escalation-threshold">
|
998
|
-
<span id="id1"></span><h4>8.3.
|
998
|
+
<span id="id1"></span><h4>8.3.25.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
|
999
999
|
<p>It specifies threshold to determine whether search storategy
|
1000
1000
|
escalation is used or not. The threshold is compared against the
|
1001
1001
|
number of matched records. If the number of matched records is equal
|
@@ -1110,11 +1110,11 @@ records (0) is larger than <tt class="docutils literal"><span class="pre">match_
|
|
1110
1110
|
more searches aren't executed. And no records are matched.</p>
|
1111
1111
|
</div>
|
1112
1112
|
<div class="section" id="query-expansion">
|
1113
|
-
<span id="id2"></span><h4>8.3.
|
1113
|
+
<span id="id2"></span><h4>8.3.25.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h4>
|
1114
1114
|
<p>Deprecated. Use <a class="reference internal" href="#query-expander"><em>query_expander</em></a> instead.</p>
|
1115
1115
|
</div>
|
1116
1116
|
<div class="section" id="query-flags">
|
1117
|
-
<span id="id3"></span><h4>8.3.
|
1117
|
+
<span id="id3"></span><h4>8.3.25.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt><a class="headerlink" href="#query-flags" title="Permalink to this headline">¶</a></h4>
|
1118
1118
|
<p>It customs <tt class="docutils literal"><span class="pre">query</span></tt> parameter syntax. You cannot update column value
|
1119
1119
|
by <tt class="docutils literal"><span class="pre">query</span></tt> parameter by default. But if you specify
|
1120
1120
|
<tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as <tt class="docutils literal"><span class="pre">query_flags</span></tt>, you can update
|
@@ -1398,7 +1398,7 @@ specified.</p>
|
|
1398
1398
|
<p>See also <a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a>.</p>
|
1399
1399
|
</div>
|
1400
1400
|
<div class="section" id="query-expander">
|
1401
|
-
<span id="id4"></span><h4>8.3.
|
1401
|
+
<span id="id4"></span><h4>8.3.25.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="Permalink to this headline">¶</a></h4>
|
1402
1402
|
<p>It's for query expansion. Query expansion substitutes specific words
|
1403
1403
|
to another words in query. Nomally, it's used for synonym search.</p>
|
1404
1404
|
<p>It specifies a column that is used to substitute <tt class="docutils literal"><span class="pre">query</span></tt> parameter
|
@@ -1652,9 +1652,9 @@ is equal to or more than <tt class="docutils literal"><span class="pre">10</span
|
|
1652
1652
|
</div>
|
1653
1653
|
</div>
|
1654
1654
|
<div class="section" id="output-related-parameters">
|
1655
|
-
<h3>8.3.
|
1655
|
+
<h3>8.3.25.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
1656
1656
|
<div class="section" id="output-columns">
|
1657
|
-
<span id="id5"></span><h4>8.3.
|
1657
|
+
<span id="id5"></span><h4>8.3.25.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
|
1658
1658
|
<p>It specifies output columns separated by <tt class="docutils literal"><span class="pre">,</span></tt>.</p>
|
1659
1659
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">output_columns</span></tt> usage example.</p>
|
1660
1660
|
<p>Execution example:</p>
|
@@ -1692,7 +1692,7 @@ is equal to or more than <tt class="docutils literal"><span class="pre">10</span
|
|
1692
1692
|
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command just outputs <tt class="docutils literal"><span class="pre">_id</span></tt> and <tt class="docutils literal"><span class="pre">_key</span></tt> column
|
1693
1693
|
values.</p>
|
1694
1694
|
<p><tt class="docutils literal"><span class="pre">*</span></tt> is a special value. It means that all columns that are not
|
1695
|
-
<a class="reference internal" href="../
|
1695
|
+
<a class="reference internal" href="../columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a>.</p>
|
1696
1696
|
<p>Here is a <tt class="docutils literal"><span class="pre">*</span></tt> usage example.</p>
|
1697
1697
|
<p>Execution example:</p>
|
1698
1698
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --output_columns '_key, *' --limit 1
|
@@ -1738,7 +1738,7 @@ column value.</p>
|
|
1738
1738
|
values except <tt class="docutils literal"><span class="pre">_score</span></tt> are outputted.</p>
|
1739
1739
|
</div>
|
1740
1740
|
<div class="section" id="sortby">
|
1741
|
-
<h4>8.3.
|
1741
|
+
<h4>8.3.25.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
|
1742
1742
|
<p>It specifies sort keys separated by <tt class="docutils literal"><span class="pre">,</span></tt>. Each sort key is column
|
1743
1743
|
name.</p>
|
1744
1744
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">sortby</span></tt> usage example.</p>
|
@@ -1926,7 +1926,7 @@ descending order and outputs record key and hit score.</p>
|
|
1926
1926
|
it's just ignored but get a warning in log file.</p>
|
1927
1927
|
</div>
|
1928
1928
|
<div class="section" id="offset">
|
1929
|
-
<h4>8.3.
|
1929
|
+
<h4>8.3.25.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
|
1930
1930
|
<p>It specifies offset to determine output records range. Offset is
|
1931
1931
|
zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is started from the 2nd
|
1932
1932
|
record.</p>
|
@@ -2000,7 +2000,7 @@ number of records is <tt class="docutils literal"><span class="pre">5</span></tt
|
|
2000
2000
|
<p>The default value is <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
|
2001
2001
|
</div>
|
2002
2002
|
<div class="section" id="limit">
|
2003
|
-
<h4>8.3.
|
2003
|
+
<h4>8.3.25.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
|
2004
2004
|
<p>It specifies the max number of output records. If the number of
|
2005
2005
|
matched records is less than <tt class="docutils literal"><span class="pre">limit</span></tt>, all records are outputted.</p>
|
2006
2006
|
<p>Here is a simple <tt class="docutils literal"><span class="pre">limit</span></tt> usage example.</p>
|
@@ -2112,44 +2112,44 @@ records. It's very useful value to show all records.</p>
|
|
2112
2112
|
<p>The default value is <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
2113
2113
|
</div>
|
2114
2114
|
<div class="section" id="scorer">
|
2115
|
-
<h4>8.3.
|
2115
|
+
<h4>8.3.25.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
|
2116
2116
|
<p>TODO: write in English and add example.</p>
|
2117
2117
|
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
2118
2118
|
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
2119
2119
|
</div>
|
2120
2120
|
</div>
|
2121
2121
|
<div class="section" id="facet-related-parameters">
|
2122
|
-
<h3>8.3.
|
2122
|
+
<h3>8.3.25.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2123
2123
|
<div class="section" id="drilldown">
|
2124
|
-
<h4>8.3.
|
2124
|
+
<h4>8.3.25.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
|
2125
2125
|
<p>TODO: write in English and add example.</p>
|
2126
2126
|
<p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
|
2127
2127
|
</div>
|
2128
2128
|
<div class="section" id="drilldown-sortby">
|
2129
|
-
<h4>8.3.
|
2129
|
+
<h4>8.3.25.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
|
2130
2130
|
<p>TODO: write in English and add example.</p>
|
2131
2131
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
|
2132
2132
|
</div>
|
2133
2133
|
<div class="section" id="drilldown-output-columns">
|
2134
|
-
<h4>8.3.
|
2134
|
+
<h4>8.3.25.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
|
2135
2135
|
<p>TODO: write in English and add example.</p>
|
2136
2136
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
2137
2137
|
</div>
|
2138
2138
|
<div class="section" id="drilldown-offset">
|
2139
|
-
<h4>8.3.
|
2139
|
+
<h4>8.3.25.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
|
2140
2140
|
<p>TODO: write in English and add example.</p>
|
2141
2141
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
|
2142
2142
|
</div>
|
2143
2143
|
<div class="section" id="drilldown-limit">
|
2144
|
-
<h4>8.3.
|
2144
|
+
<h4>8.3.25.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
|
2145
2145
|
<p>TODO: write in English and add example.</p>
|
2146
2146
|
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
2147
2147
|
</div>
|
2148
2148
|
</div>
|
2149
2149
|
<div class="section" id="cache-related-parameter">
|
2150
|
-
<h3>8.3.
|
2150
|
+
<h3>8.3.25.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
2151
2151
|
<div class="section" id="cache">
|
2152
|
-
<h4>8.3.
|
2152
|
+
<h4>8.3.25.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
|
2153
2153
|
<p>TODO: write in English and add example.</p>
|
2154
2154
|
<p>クエリキャッシュに関する動作を設定します。</p>
|
2155
2155
|
<p><tt class="docutils literal"><span class="pre">no</span></tt></p>
|
@@ -2158,10 +2158,10 @@ records. It's very useful value to show all records.</p>
|
|
2158
2158
|
</div>
|
2159
2159
|
</div>
|
2160
2160
|
<div class="section" id="score-related-parameters">
|
2161
|
-
<h3>8.3.
|
2161
|
+
<h3>8.3.25.4.7. Score related parameters<a class="headerlink" href="#score-related-parameters" title="Permalink to this headline">¶</a></h3>
|
2162
2162
|
<p>There is a score related parameter, <tt class="docutils literal"><span class="pre">adjuster</span></tt>.</p>
|
2163
2163
|
<div class="section" id="adjuster">
|
2164
|
-
<span id="select-adjuster"></span><h4>8.3.
|
2164
|
+
<span id="select-adjuster"></span><h4>8.3.25.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt><a class="headerlink" href="#adjuster" title="Permalink to this headline">¶</a></h4>
|
2165
2165
|
<p>It specifies one or more score adjust expressions. You need to use
|
2166
2166
|
<tt class="docutils literal"><span class="pre">adjuster</span></tt> with <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. <tt class="docutils literal"><span class="pre">adjuster</span></tt> doesn't work
|
2167
2167
|
with not searched request.</p>
|
@@ -2254,6 +2254,66 @@ record that has <tt class="docutils literal"><span class="pre">"groonga&quo
|
|
2254
2254
|
record that its key is <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> has score 6 (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">1</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
|
2255
2255
|
<p>You can omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. If you omit <tt class="docutils literal"><span class="pre">FACTOR</span></tt>, it is treated as 1.</p>
|
2256
2256
|
<p>Here is a sample <tt class="docutils literal"><span class="pre">adjuster</span></tt> usage example that omits <tt class="docutils literal"><span class="pre">FACTOR</span></tt>:</p>
|
2257
|
+
<p>Execution example:</p>
|
2258
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries \
|
2259
|
+
--filter true \
|
2260
|
+
--adjuster 'content @ "groonga"' \
|
2261
|
+
--output_columns _key,content,_score
|
2262
|
+
# [
|
2263
|
+
# [
|
2264
|
+
# 0,
|
2265
|
+
# 1337566253.89858,
|
2266
|
+
# 0.000355720520019531
|
2267
|
+
# ],
|
2268
|
+
# [
|
2269
|
+
# [
|
2270
|
+
# [
|
2271
|
+
# 5
|
2272
|
+
# ],
|
2273
|
+
# [
|
2274
|
+
# [
|
2275
|
+
# "_key",
|
2276
|
+
# "ShortText"
|
2277
|
+
# ],
|
2278
|
+
# [
|
2279
|
+
# "content",
|
2280
|
+
# "Text"
|
2281
|
+
# ],
|
2282
|
+
# [
|
2283
|
+
# "_score",
|
2284
|
+
# "Int32"
|
2285
|
+
# ]
|
2286
|
+
# ],
|
2287
|
+
# [
|
2288
|
+
# "The first post!",
|
2289
|
+
# "Welcome! This is my first post!",
|
2290
|
+
# 1
|
2291
|
+
# ],
|
2292
|
+
# [
|
2293
|
+
# "Groonga",
|
2294
|
+
# "I started to use groonga. It's very fast!",
|
2295
|
+
# 2
|
2296
|
+
# ],
|
2297
|
+
# [
|
2298
|
+
# "Mroonga",
|
2299
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
2300
|
+
# 1
|
2301
|
+
# ],
|
2302
|
+
# [
|
2303
|
+
# "Good-bye Senna",
|
2304
|
+
# "I migrated all Senna system!",
|
2305
|
+
# 1
|
2306
|
+
# ],
|
2307
|
+
# [
|
2308
|
+
# "Good-bye Tritonn",
|
2309
|
+
# "I also migrated all Tritonn system!",
|
2310
|
+
# 1
|
2311
|
+
# ]
|
2312
|
+
# ]
|
2313
|
+
# ]
|
2314
|
+
# ]
|
2315
|
+
</pre></div>
|
2316
|
+
</div>
|
2257
2317
|
<p>The <tt class="docutils literal"><span class="pre">adjuster</span></tt> in the <tt class="docutils literal"><span class="pre">select</span></tt> command doesn't have <tt class="docutils literal"><span class="pre">FACTOR</span></tt>. So
|
2258
2318
|
the factor is treated as 1. There is only one record that has
|
2259
2319
|
<tt class="docutils literal"><span class="pre">"groonga"</span></tt> in <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. So the record that its
|
@@ -2340,7 +2400,7 @@ the same <tt class="docutils literal"><span class="pre">"KEYWORD"</spa
|
|
2340
2400
|
</div>
|
2341
2401
|
</div>
|
2342
2402
|
<div class="section" id="id6">
|
2343
|
-
<h2>8.3.
|
2403
|
+
<h2>8.3.25.5. 返値<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
2344
2404
|
<p>TODO: write in English and add example.</p>
|
2345
2405
|
<p>以下のようなjson形式で値が返却されます。</p>
|
2346
2406
|
<div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
@@ -2396,7 +2456,7 @@ the same <tt class="docutils literal"><span class="pre">"KEYWORD"</spa
|
|
2396
2456
|
</div></blockquote>
|
2397
2457
|
</div>
|
2398
2458
|
<div class="section" id="see-also">
|
2399
|
-
<h2>8.3.
|
2459
|
+
<h2>8.3.25.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
2400
2460
|
<blockquote>
|
2401
2461
|
<div><ul class="simple">
|
2402
2462
|
<li><a class="reference internal" href="../grn_expr/query_syntax.html"><em>Query syntax</em></a></li>
|
@@ -2414,76 +2474,76 @@ the same <tt class="docutils literal"><span class="pre">"KEYWORD"</spa
|
|
2414
2474
|
<div class="sphinxsidebarwrapper">
|
2415
2475
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
2416
2476
|
<ul>
|
2417
|
-
<li><a class="reference internal" href="#">8.3.
|
2418
|
-
<li><a class="reference internal" href="#summary">8.3.
|
2419
|
-
<li><a class="reference internal" href="#syntax">8.3.
|
2420
|
-
<li><a class="reference internal" href="#usage">8.3.
|
2421
|
-
<li><a class="reference internal" href="#simple-usage">8.3.
|
2422
|
-
<li><a class="reference internal" href="#search-conditions">8.3.
|
2423
|
-
<li><a class="reference internal" href="#search-condition-query">8.3.
|
2424
|
-
<li><a class="reference internal" href="#search-condition-filter">8.3.
|
2477
|
+
<li><a class="reference internal" href="#">8.3.25. <tt class="docutils literal"><span class="pre">select</span></tt></a><ul>
|
2478
|
+
<li><a class="reference internal" href="#summary">8.3.25.1. Summary</a></li>
|
2479
|
+
<li><a class="reference internal" href="#syntax">8.3.25.2. Syntax</a></li>
|
2480
|
+
<li><a class="reference internal" href="#usage">8.3.25.3. Usage</a><ul>
|
2481
|
+
<li><a class="reference internal" href="#simple-usage">8.3.25.3.1. Simple usage</a></li>
|
2482
|
+
<li><a class="reference internal" href="#search-conditions">8.3.25.3.2. Search conditions</a><ul>
|
2483
|
+
<li><a class="reference internal" href="#search-condition-query">8.3.25.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2484
|
+
<li><a class="reference internal" href="#search-condition-filter">8.3.25.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2425
2485
|
</ul>
|
2426
2486
|
</li>
|
2427
|
-
<li><a class="reference internal" href="#paging">8.3.
|
2428
|
-
<li><a class="reference internal" href="#the-total-number-of-records">8.3.
|
2487
|
+
<li><a class="reference internal" href="#paging">8.3.25.3.3. Paging</a></li>
|
2488
|
+
<li><a class="reference internal" href="#the-total-number-of-records">8.3.25.3.4. The total number of records</a></li>
|
2429
2489
|
</ul>
|
2430
2490
|
</li>
|
2431
|
-
<li><a class="reference internal" href="#parameters">8.3.
|
2432
|
-
<li><a class="reference internal" href="#required-parameter">8.3.
|
2433
|
-
<li><a class="reference internal" href="#table">8.3.
|
2491
|
+
<li><a class="reference internal" href="#parameters">8.3.25.4. Parameters</a><ul>
|
2492
|
+
<li><a class="reference internal" href="#required-parameter">8.3.25.4.1. Required parameter</a><ul>
|
2493
|
+
<li><a class="reference internal" href="#table">8.3.25.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
|
2434
2494
|
</ul>
|
2435
2495
|
</li>
|
2436
|
-
<li><a class="reference internal" href="#search-related-parameters">8.3.
|
2437
|
-
<li><a class="reference internal" href="#match-columns">8.3.
|
2438
|
-
<li><a class="reference internal" href="#query">8.3.
|
2439
|
-
<li><a class="reference internal" href="#filter">8.3.
|
2496
|
+
<li><a class="reference internal" href="#search-related-parameters">8.3.25.4.2. Search related parameters</a><ul>
|
2497
|
+
<li><a class="reference internal" href="#match-columns">8.3.25.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
2498
|
+
<li><a class="reference internal" href="#query">8.3.25.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
2499
|
+
<li><a class="reference internal" href="#filter">8.3.25.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
2440
2500
|
</ul>
|
2441
2501
|
</li>
|
2442
|
-
<li><a class="reference internal" href="#advanced-search-parameters">8.3.
|
2443
|
-
<li><a class="reference internal" href="#match-escalation-threshold">8.3.
|
2444
|
-
<li><a class="reference internal" href="#query-expansion">8.3.
|
2445
|
-
<li><a class="reference internal" href="#query-flags">8.3.
|
2446
|
-
<li><a class="reference internal" href="#query-expander">8.3.
|
2502
|
+
<li><a class="reference internal" href="#advanced-search-parameters">8.3.25.4.3. Advanced search parameters</a><ul>
|
2503
|
+
<li><a class="reference internal" href="#match-escalation-threshold">8.3.25.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
|
2504
|
+
<li><a class="reference internal" href="#query-expansion">8.3.25.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
|
2505
|
+
<li><a class="reference internal" href="#query-flags">8.3.25.4.3.3. <tt class="docutils literal"><span class="pre">query_flags</span></tt></a></li>
|
2506
|
+
<li><a class="reference internal" href="#query-expander">8.3.25.4.3.4. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
2447
2507
|
</ul>
|
2448
2508
|
</li>
|
2449
|
-
<li><a class="reference internal" href="#output-related-parameters">8.3.
|
2450
|
-
<li><a class="reference internal" href="#output-columns">8.3.
|
2451
|
-
<li><a class="reference internal" href="#sortby">8.3.
|
2452
|
-
<li><a class="reference internal" href="#offset">8.3.
|
2453
|
-
<li><a class="reference internal" href="#limit">8.3.
|
2454
|
-
<li><a class="reference internal" href="#scorer">8.3.
|
2509
|
+
<li><a class="reference internal" href="#output-related-parameters">8.3.25.4.4. Output related parameters</a><ul>
|
2510
|
+
<li><a class="reference internal" href="#output-columns">8.3.25.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
|
2511
|
+
<li><a class="reference internal" href="#sortby">8.3.25.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
|
2512
|
+
<li><a class="reference internal" href="#offset">8.3.25.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
|
2513
|
+
<li><a class="reference internal" href="#limit">8.3.25.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
|
2514
|
+
<li><a class="reference internal" href="#scorer">8.3.25.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
|
2455
2515
|
</ul>
|
2456
2516
|
</li>
|
2457
|
-
<li><a class="reference internal" href="#facet-related-parameters">8.3.
|
2458
|
-
<li><a class="reference internal" href="#drilldown">8.3.
|
2459
|
-
<li><a class="reference internal" href="#drilldown-sortby">8.3.
|
2460
|
-
<li><a class="reference internal" href="#drilldown-output-columns">8.3.
|
2461
|
-
<li><a class="reference internal" href="#drilldown-offset">8.3.
|
2462
|
-
<li><a class="reference internal" href="#drilldown-limit">8.3.
|
2517
|
+
<li><a class="reference internal" href="#facet-related-parameters">8.3.25.4.5. Facet related parameters</a><ul>
|
2518
|
+
<li><a class="reference internal" href="#drilldown">8.3.25.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
|
2519
|
+
<li><a class="reference internal" href="#drilldown-sortby">8.3.25.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
|
2520
|
+
<li><a class="reference internal" href="#drilldown-output-columns">8.3.25.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
|
2521
|
+
<li><a class="reference internal" href="#drilldown-offset">8.3.25.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
|
2522
|
+
<li><a class="reference internal" href="#drilldown-limit">8.3.25.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
|
2463
2523
|
</ul>
|
2464
2524
|
</li>
|
2465
|
-
<li><a class="reference internal" href="#cache-related-parameter">8.3.
|
2466
|
-
<li><a class="reference internal" href="#cache">8.3.
|
2525
|
+
<li><a class="reference internal" href="#cache-related-parameter">8.3.25.4.6. Cache related parameter</a><ul>
|
2526
|
+
<li><a class="reference internal" href="#cache">8.3.25.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
2467
2527
|
</ul>
|
2468
2528
|
</li>
|
2469
|
-
<li><a class="reference internal" href="#score-related-parameters">8.3.
|
2470
|
-
<li><a class="reference internal" href="#adjuster">8.3.
|
2529
|
+
<li><a class="reference internal" href="#score-related-parameters">8.3.25.4.7. Score related parameters</a><ul>
|
2530
|
+
<li><a class="reference internal" href="#adjuster">8.3.25.4.7.1. <tt class="docutils literal"><span class="pre">adjuster</span></tt></a></li>
|
2471
2531
|
</ul>
|
2472
2532
|
</li>
|
2473
2533
|
</ul>
|
2474
2534
|
</li>
|
2475
|
-
<li><a class="reference internal" href="#id6">8.3.
|
2476
|
-
<li><a class="reference internal" href="#see-also">8.3.
|
2535
|
+
<li><a class="reference internal" href="#id6">8.3.25.5. 返値</a></li>
|
2536
|
+
<li><a class="reference internal" href="#see-also">8.3.25.6. See also</a></li>
|
2477
2537
|
</ul>
|
2478
2538
|
</li>
|
2479
2539
|
</ul>
|
2480
2540
|
|
2481
2541
|
<h4>Previous topic</h4>
|
2482
2542
|
<p class="topless"><a href="ruby_load.html"
|
2483
|
-
title="previous chapter">8.3.
|
2543
|
+
title="previous chapter">8.3.24. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
|
2484
2544
|
<h4>Next topic</h4>
|
2485
2545
|
<p class="topless"><a href="shutdown.html"
|
2486
|
-
title="next chapter">8.3.
|
2546
|
+
title="next chapter">8.3.26. shutdown</a></p>
|
2487
2547
|
<div role="note" aria-label="source link">
|
2488
2548
|
<h3>This Page</h3>
|
2489
2549
|
<ul class="this-page-menu">
|
@@ -2515,12 +2575,12 @@ the same <tt class="docutils literal"><span class="pre">"KEYWORD"</spa
|
|
2515
2575
|
<a href="../../genindex.html" title="General Index"
|
2516
2576
|
>index</a></li>
|
2517
2577
|
<li class="right" >
|
2518
|
-
<a href="shutdown.html" title="8.3.
|
2578
|
+
<a href="shutdown.html" title="8.3.26. shutdown"
|
2519
2579
|
>next</a> |</li>
|
2520
2580
|
<li class="right" >
|
2521
|
-
<a href="ruby_load.html" title="8.3.
|
2581
|
+
<a href="ruby_load.html" title="8.3.24. ruby_load"
|
2522
2582
|
>previous</a> |</li>
|
2523
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
2583
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
2524
2584
|
<li><a href="../../reference.html" >8. Reference manual</a> »</li>
|
2525
2585
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
2526
2586
|
</ul>
|