rroonga 3.0.2-x86-mingw32 → 3.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +30 -1
- data/ext/groonga/extconf.rb +49 -26
- data/ext/groonga/rb-grn-array.c +56 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +3 -3
- data/ext/groonga/rb-grn-expression.c +14 -9
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-operator.c +10 -3
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-table.c +71 -25
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable.c +17 -4
- data/ext/groonga/rb-grn.h +2 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/record.rb +9 -2
- data/lib/groonga/sub-records.rb +62 -0
- data/rroonga-build.rb +2 -1
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +35 -0
- data/test/test-context.rb +2 -1
- data/test/test-database.rb +2 -1
- data/test/test-expression.rb +14 -4
- data/test/test-sub-records.rb +109 -0
- data/test/test-table.rb +104 -0
- 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/include/groonga/groonga.h +20 -2
- 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/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- 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 +11 -10
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +187 -137
- 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 +11 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.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 +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/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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +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 +16 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +514 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- 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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +11 -10
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -49
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +53 -44
- 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 +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- 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 +10 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +29 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -12
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +5 -1
- 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 +11 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- 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 +25 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +21 -13
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +38 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -10
- data/vendor/local/share/doc/groonga/ja/html/news.html +885 -481
- 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 +280 -146
- 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 +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +17 -11
- 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 +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 +9 -7
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +9 -7
- 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 +17 -11
- 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 +20 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +43 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +558 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +9 -7
- 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 +10 -9
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +11 -10
- 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 +11 -8
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +53 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -8
- 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 +15 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +41 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- 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 +83 -46
- 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 +41 -23
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +71 -38
- 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 +55 -30
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +19 -12
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +27 -16
- 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 +17 -11
- 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 +24 -16
- 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 +31 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -12
- 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/man/ja/man1/groonga.1 +847 -160
- data/vendor/local/share/man/man1/groonga.1 +826 -97
- metadata +10 -2
@@ -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.11.
|
10
|
+
<title>8.11.6. now — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.11. 関数" href="../function.html" />
|
31
|
-
<link rel="next" title="8.11.
|
32
|
-
<link rel="prev" title="8.11.
|
31
|
+
<link rel="next" title="8.11.7. query" href="query.html" />
|
32
|
+
<link rel="prev" title="8.11.5. html_untag" href="html_untag.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="query.html" title="8.11.
|
59
|
+
<a href="query.html" title="8.11.7. query"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="
|
62
|
+
<a href="html_untag.html" title="8.11.5. html_untag"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">8.11. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -73,28 +73,28 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="now">
|
76
|
-
<h1>8.11.
|
76
|
+
<h1>8.11.6. now<a class="headerlink" href="#now" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>8.11.
|
78
|
+
<h2>8.11.6.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>now - 現在時刻を返す</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>8.11.
|
82
|
+
<h2>8.11.6.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>now()
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>8.11.
|
88
|
+
<h2>8.11.6.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>groonga組込関数の一つであるnowについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>now() 関数は現在時刻に対応するTime型の値を返します。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>8.11.
|
93
|
+
<h2>8.11.6.4. 返値<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
94
|
<p>現在時刻に対応するTime型のオブジェクトを返します。</p>
|
95
95
|
</div>
|
96
96
|
<div class="section" id="id5">
|
97
|
-
<h2>8.11.
|
97
|
+
<h2>8.11.6.5. 例<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
98
98
|
<div class="highlight-none"><div class="highlight"><pre>now()
|
99
99
|
1256791194.55541
|
100
100
|
</pre></div>
|
@@ -110,22 +110,22 @@
|
|
110
110
|
<div class="sphinxsidebarwrapper">
|
111
111
|
<h3><a href="../../index.html">目次</a></h3>
|
112
112
|
<ul>
|
113
|
-
<li><a class="reference internal" href="#">8.11.
|
114
|
-
<li><a class="reference internal" href="#id1">8.11.
|
115
|
-
<li><a class="reference internal" href="#id2">8.11.
|
116
|
-
<li><a class="reference internal" href="#id3">8.11.
|
117
|
-
<li><a class="reference internal" href="#id4">8.11.
|
118
|
-
<li><a class="reference internal" href="#id5">8.11.
|
113
|
+
<li><a class="reference internal" href="#">8.11.6. now</a><ul>
|
114
|
+
<li><a class="reference internal" href="#id1">8.11.6.1. 名前</a></li>
|
115
|
+
<li><a class="reference internal" href="#id2">8.11.6.2. 書式</a></li>
|
116
|
+
<li><a class="reference internal" href="#id3">8.11.6.3. 説明</a></li>
|
117
|
+
<li><a class="reference internal" href="#id4">8.11.6.4. 返値</a></li>
|
118
|
+
<li><a class="reference internal" href="#id5">8.11.6.5. 例</a></li>
|
119
119
|
</ul>
|
120
120
|
</li>
|
121
121
|
</ul>
|
122
122
|
|
123
123
|
<h4>前のトピックへ</h4>
|
124
|
-
<p class="topless"><a href="
|
125
|
-
title="前の章へ">8.11.
|
124
|
+
<p class="topless"><a href="html_untag.html"
|
125
|
+
title="前の章へ">8.11.5. html_untag</a></p>
|
126
126
|
<h4>次のトピックへ</h4>
|
127
127
|
<p class="topless"><a href="query.html"
|
128
|
-
title="次の章へ">8.11.
|
128
|
+
title="次の章へ">8.11.7. query</a></p>
|
129
129
|
<h3>このページ</h3>
|
130
130
|
<ul class="this-page-menu">
|
131
131
|
<li><a href="../../_sources/reference/functions/now.txt"
|
@@ -155,12 +155,12 @@
|
|
155
155
|
<a href="../../genindex.html" title="総合索引"
|
156
156
|
>索引</a></li>
|
157
157
|
<li class="right" >
|
158
|
-
<a href="query.html" title="8.11.
|
158
|
+
<a href="query.html" title="8.11.7. query"
|
159
159
|
>次へ</a> |</li>
|
160
160
|
<li class="right" >
|
161
|
-
<a href="
|
161
|
+
<a href="html_untag.html" title="8.11.5. html_untag"
|
162
162
|
>前へ</a> |</li>
|
163
|
-
<li><a href="../../index.html">groonga v3.0.
|
163
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
164
164
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
165
165
|
<li><a href="../function.html" >8.11. 関数</a> »</li>
|
166
166
|
</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.11.
|
10
|
+
<title>8.11.7. query — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.11. 関数" href="../function.html" />
|
31
|
-
<link rel="next" title="8.11.
|
32
|
-
<link rel="prev" title="8.11.
|
31
|
+
<link rel="next" title="8.11.8. rand" href="rand.html" />
|
32
|
+
<link rel="prev" title="8.11.6. now" href="now.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="rand.html" title="8.11.
|
59
|
+
<a href="rand.html" title="8.11.8. rand"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="now.html" title="8.11.
|
62
|
+
<a href="now.html" title="8.11.6. now"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">8.11. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -73,16 +73,16 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="query">
|
76
|
-
<h1>8.11.
|
76
|
+
<h1>8.11.7. query<a class="headerlink" href="#query" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="summary">
|
78
|
-
<h2>8.11.
|
78
|
+
<h2>8.11.7.1. 概要<a class="headerlink" href="#summary" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> は <tt class="docutils literal"><span class="pre">--match_columns</span></tt> と <tt class="docutils literal"><span class="pre">--query</span></tt> のパラメータを関数の引数として指定することを可能にします。</p>
|
80
80
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> はgroongaの組み込み関数の1つで、複数の <tt class="docutils literal"><span class="pre">query</span></tt> 関数を <tt class="docutils literal"><span class="pre">--filter</span></tt> オプションのパラメータとして指定することができます。</p>
|
81
81
|
<p>そのような柔軟性があるので、 複数の <tt class="docutils literal"><span class="pre">query</span></tt> 関数を組合せることで全文検索の振舞いを制御することができます。</p>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> は <a class="reference internal" href="../commands/select.html"><em>select</em></a> コマンドの <tt class="docutils literal"><span class="pre">--filter</span></tt> 内でのみ指定できます。</p>
|
83
83
|
</div>
|
84
84
|
<div class="section" id="syntax">
|
85
|
-
<h2>8.11.
|
85
|
+
<h2>8.11.7.2. 構文<a class="headerlink" href="#syntax" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
86
86
|
<p><tt class="docutils literal"><span class="pre">query</span></tt> は2つの引数が必要です。 <tt class="docutils literal"><span class="pre">match_column</span></tt> と <tt class="docutils literal"><span class="pre">query_string</span></tt> です。</p>
|
87
87
|
<p>引数の <tt class="docutils literal"><span class="pre">query_expander</span></tt> や <tt class="docutils literal"><span class="pre">substitution_table</span></tt> は省略可能です。</p>
|
88
88
|
<div class="highlight-none"><div class="highlight"><pre>query(match_column, query_string)
|
@@ -92,7 +92,7 @@ query(match_column, query_string, substitution_table)
|
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="usage">
|
95
|
-
<h2>8.11.
|
95
|
+
<h2>8.11.7.3. 使い方<a class="headerlink" href="#usage" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
96
96
|
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
97
97
|
<p>サンプルスキーマ:</p>
|
98
98
|
<p>実行例:</p>
|
@@ -287,51 +287,56 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
287
287
|
<p>結果として、意図した様に異なる重みづけを行いつつ全文検索の振舞いを制御することができます。</p>
|
288
288
|
</div>
|
289
289
|
<div class="section" id="parameters">
|
290
|
-
<h2>8.11.
|
290
|
+
<h2>8.11.7.4. 引数<a class="headerlink" href="#parameters" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
291
291
|
<div class="section" id="required-parameter">
|
292
|
-
<h3>8.11.
|
292
|
+
<h3>8.11.7.4.1. 必須引数<a class="headerlink" href="#required-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
293
293
|
<p>必須引数は二つあります。 <tt class="docutils literal"><span class="pre">match_column</span></tt> と <tt class="docutils literal"><span class="pre">query_string</span></tt> です。</p>
|
294
294
|
<div class="section" id="match-column">
|
295
|
-
<h4>8.11.
|
296
|
-
<
|
297
|
-
<
|
298
|
-
<
|
295
|
+
<h4>8.11.7.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt><a class="headerlink" href="#match-column" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
296
|
+
<p>It specifies the default target column for fulltext search by
|
297
|
+
<tt class="docutils literal"><span class="pre">query_string</span></tt> parameter value. It is the same role as
|
298
|
+
<tt class="docutils literal"><span class="pre">match_column</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
299
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">match_column</span></tt> については <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> を参照してください。</p>
|
299
300
|
</div>
|
300
301
|
<div class="section" id="query-string">
|
301
|
-
<h4>8.11.
|
302
|
-
<
|
303
|
-
<
|
304
|
-
<
|
302
|
+
<h4>8.11.7.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt><a class="headerlink" href="#query-string" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
303
|
+
<p>It specifies the search condition in
|
304
|
+
<a class="reference internal" href="../grn_expr/query_syntax.html"><em>クエリー構文</em></a>. It is the same role as
|
305
|
+
<tt class="docutils literal"><span class="pre">query</span></tt> parameter in <tt class="docutils literal"><span class="pre">select</span></tt>.</p>
|
306
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">query</span></tt> については <a class="reference internal" href="../commands/select.html#select-match-columns"><em>match_columns</em></a> を参照してください。</p>
|
305
307
|
</div>
|
306
308
|
</div>
|
307
309
|
<div class="section" id="optional-parameter">
|
308
|
-
<h3>8.11.
|
309
|
-
<p
|
310
|
+
<h3>8.11.7.4.2. 省略可能引数<a class="headerlink" href="#optional-parameter" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
311
|
+
<p>いくつか省略可能な引数があります。</p>
|
310
312
|
<div class="section" id="query-expander">
|
311
|
-
<h4>8.11.
|
313
|
+
<h4>8.11.7.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt><a class="headerlink" href="#query-expander" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
312
314
|
<p>クエリ展開に使うプラグイン名を指定します。</p>
|
313
315
|
<p><a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> は公式リリースに含まれているプラグインの1つです。</p>
|
314
316
|
<p>詳細については <a class="reference internal" href="../query_expanders/tsv.html"><em>QueryExpanderTSV</em></a> を参照してください。</p>
|
315
317
|
</div>
|
316
318
|
<div class="section" id="substitution-table">
|
317
|
-
<h4>8.11.
|
319
|
+
<h4>8.11.7.4.2.2. <tt class="docutils literal"><span class="pre">置換テーブル</span></tt><a class="headerlink" href="#substitution-table" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
318
320
|
<p>置換テーブルとカラム名を <tt class="docutils literal"><span class="pre">${TABLE}.${COLUMN}</span></tt> という書式でクエリ展開のために指定します。</p>
|
319
321
|
<p>詳細については <a class="reference internal" href="../commands/select.html#query-expander"><em>query_expander</em></a> を参照してください。</p>
|
320
322
|
</div>
|
321
323
|
</div>
|
322
324
|
</div>
|
323
325
|
<div class="section" id="return-value">
|
324
|
-
<h2>8.11.
|
325
|
-
<p><tt class="docutils literal"><span class="pre">query</span></tt>
|
326
|
+
<h2>8.11.7.5. 戻り値<a class="headerlink" href="#return-value" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
327
|
+
<p><tt class="docutils literal"><span class="pre">query</span></tt> returns whether any record is matched or not. If one or more
|
328
|
+
records are matched, it returns <tt class="docutils literal"><span class="pre">true</span></tt>. Otherwise, it returns
|
329
|
+
<tt class="docutils literal"><span class="pre">false</span></tt>.</p>
|
326
330
|
</div>
|
327
331
|
<div class="section" id="todo">
|
328
|
-
<h2>8.11.
|
332
|
+
<h2>8.11.7.6. TODO<a class="headerlink" href="#todo" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
329
333
|
<ul class="simple">
|
330
|
-
<li>query_flagsのサポート</
|
334
|
+
<li><p class="first">query_flagsのサポート</p>
|
335
|
+
</li>
|
331
336
|
</ul>
|
332
337
|
</div>
|
333
338
|
<div class="section" id="see-also">
|
334
|
-
<h2>8.11.
|
339
|
+
<h2>8.11.7.7. 参考<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
335
340
|
<ul class="simple">
|
336
341
|
<li><a class="reference internal" href="../commands/select.html"><em>select</em></a></li>
|
337
342
|
</ul>
|
@@ -346,36 +351,36 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
346
351
|
<div class="sphinxsidebarwrapper">
|
347
352
|
<h3><a href="../../index.html">目次</a></h3>
|
348
353
|
<ul>
|
349
|
-
<li><a class="reference internal" href="#">8.11.
|
350
|
-
<li><a class="reference internal" href="#summary">8.11.
|
351
|
-
<li><a class="reference internal" href="#syntax">8.11.
|
352
|
-
<li><a class="reference internal" href="#usage">8.11.
|
353
|
-
<li><a class="reference internal" href="#parameters">8.11.
|
354
|
-
<li><a class="reference internal" href="#required-parameter">8.11.
|
355
|
-
<li><a class="reference internal" href="#match-column">8.11.
|
356
|
-
<li><a class="reference internal" href="#query-string">8.11.
|
354
|
+
<li><a class="reference internal" href="#">8.11.7. query</a><ul>
|
355
|
+
<li><a class="reference internal" href="#summary">8.11.7.1. 概要</a></li>
|
356
|
+
<li><a class="reference internal" href="#syntax">8.11.7.2. 構文</a></li>
|
357
|
+
<li><a class="reference internal" href="#usage">8.11.7.3. 使い方</a></li>
|
358
|
+
<li><a class="reference internal" href="#parameters">8.11.7.4. 引数</a><ul>
|
359
|
+
<li><a class="reference internal" href="#required-parameter">8.11.7.4.1. 必須引数</a><ul>
|
360
|
+
<li><a class="reference internal" href="#match-column">8.11.7.4.1.1. <tt class="docutils literal"><span class="pre">match_column</span></tt></a></li>
|
361
|
+
<li><a class="reference internal" href="#query-string">8.11.7.4.1.2. <tt class="docutils literal"><span class="pre">query_string</span></tt></a></li>
|
357
362
|
</ul>
|
358
363
|
</li>
|
359
|
-
<li><a class="reference internal" href="#optional-parameter">8.11.
|
360
|
-
<li><a class="reference internal" href="#query-expander">8.11.
|
361
|
-
<li><a class="reference internal" href="#substitution-table">8.11.
|
364
|
+
<li><a class="reference internal" href="#optional-parameter">8.11.7.4.2. 省略可能引数</a><ul>
|
365
|
+
<li><a class="reference internal" href="#query-expander">8.11.7.4.2.1. <tt class="docutils literal"><span class="pre">query_expander</span></tt></a></li>
|
366
|
+
<li><a class="reference internal" href="#substitution-table">8.11.7.4.2.2. <tt class="docutils literal"><span class="pre">置換テーブル</span></tt></a></li>
|
362
367
|
</ul>
|
363
368
|
</li>
|
364
369
|
</ul>
|
365
370
|
</li>
|
366
|
-
<li><a class="reference internal" href="#return-value">8.11.
|
367
|
-
<li><a class="reference internal" href="#todo">8.11.
|
368
|
-
<li><a class="reference internal" href="#see-also">8.11.
|
371
|
+
<li><a class="reference internal" href="#return-value">8.11.7.5. 戻り値</a></li>
|
372
|
+
<li><a class="reference internal" href="#todo">8.11.7.6. TODO</a></li>
|
373
|
+
<li><a class="reference internal" href="#see-also">8.11.7.7. 参考</a></li>
|
369
374
|
</ul>
|
370
375
|
</li>
|
371
376
|
</ul>
|
372
377
|
|
373
378
|
<h4>前のトピックへ</h4>
|
374
379
|
<p class="topless"><a href="now.html"
|
375
|
-
title="前の章へ">8.11.
|
380
|
+
title="前の章へ">8.11.6. now</a></p>
|
376
381
|
<h4>次のトピックへ</h4>
|
377
382
|
<p class="topless"><a href="rand.html"
|
378
|
-
title="次の章へ">8.11.
|
383
|
+
title="次の章へ">8.11.8. rand</a></p>
|
379
384
|
<h3>このページ</h3>
|
380
385
|
<ul class="this-page-menu">
|
381
386
|
<li><a href="../../_sources/reference/functions/query.txt"
|
@@ -405,12 +410,12 @@ column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
|
405
410
|
<a href="../../genindex.html" title="総合索引"
|
406
411
|
>索引</a></li>
|
407
412
|
<li class="right" >
|
408
|
-
<a href="rand.html" title="8.11.
|
413
|
+
<a href="rand.html" title="8.11.8. rand"
|
409
414
|
>次へ</a> |</li>
|
410
415
|
<li class="right" >
|
411
|
-
<a href="now.html" title="8.11.
|
416
|
+
<a href="now.html" title="8.11.6. now"
|
412
417
|
>前へ</a> |</li>
|
413
|
-
<li><a href="../../index.html">groonga v3.0.
|
418
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
414
419
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
415
420
|
<li><a href="../function.html" >8.11. 関数</a> »</li>
|
416
421
|
</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.11.
|
10
|
+
<title>8.11.8. rand — groonga v3.0.5ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.5',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="groonga v3.0.
|
29
|
+
<link rel="top" title="groonga v3.0.5ドキュメント" href="../../index.html" />
|
30
30
|
<link rel="up" title="8.11. 関数" href="../function.html" />
|
31
|
-
<link rel="next" title="8.11.
|
32
|
-
<link rel="prev" title="8.11.
|
31
|
+
<link rel="next" title="8.11.9. snippet_html" href="snippet_html.html" />
|
32
|
+
<link rel="prev" title="8.11.7. query" href="query.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,12 +56,12 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="snippet_html.html" title="8.11.
|
59
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="query.html" title="8.11.
|
62
|
+
<a href="query.html" title="8.11.7. query"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">groonga v3.0.
|
64
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
66
66
|
<li><a href="../function.html" accesskey="U">8.11. 関数</a> »</li>
|
67
67
|
</ul>
|
@@ -73,34 +73,34 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="rand">
|
76
|
-
<h1>8.11.
|
76
|
+
<h1>8.11.8. rand<a class="headerlink" href="#rand" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<div class="section" id="id1">
|
78
|
-
<h2>8.11.
|
78
|
+
<h2>8.11.8.1. 名前<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>rand - 乱数を生成する</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id2">
|
82
|
-
<h2>8.11.
|
82
|
+
<h2>8.11.8.2. 書式<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>rand([max])
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="id3">
|
88
|
-
<h2>8.11.
|
88
|
+
<h2>8.11.8.3. 説明<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
89
89
|
<p>groonga組込関数の一つであるrandについて説明します。組込関数は、script形式のgrn_expr中で呼び出すことができます。</p>
|
90
90
|
<p>rand() 関数は 0 から max の間の疑似乱数整数を返します。</p>
|
91
91
|
</div>
|
92
92
|
<div class="section" id="id4">
|
93
|
-
<h2>8.11.
|
93
|
+
<h2>8.11.8.4. 引数<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
94
94
|
<p><tt class="docutils literal"><span class="pre">max</span></tt></p>
|
95
95
|
<blockquote>
|
96
96
|
<div>返値の最大値を指定します。省略した場合は RAND_MAX が指定されたものとみなされます。</div></blockquote>
|
97
97
|
</div>
|
98
98
|
<div class="section" id="id5">
|
99
|
-
<h2>8.11.
|
99
|
+
<h2>8.11.8.5. 返値<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
100
100
|
<p>0 と max の間の数を表すInt32型の値を返します。</p>
|
101
101
|
</div>
|
102
102
|
<div class="section" id="id6">
|
103
|
-
<h2>8.11.
|
103
|
+
<h2>8.11.8.6. 例<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
104
104
|
<div class="highlight-none"><div class="highlight"><pre>rand(10)
|
105
105
|
3
|
106
106
|
</pre></div>
|
@@ -116,23 +116,23 @@
|
|
116
116
|
<div class="sphinxsidebarwrapper">
|
117
117
|
<h3><a href="../../index.html">目次</a></h3>
|
118
118
|
<ul>
|
119
|
-
<li><a class="reference internal" href="#">8.11.
|
120
|
-
<li><a class="reference internal" href="#id1">8.11.
|
121
|
-
<li><a class="reference internal" href="#id2">8.11.
|
122
|
-
<li><a class="reference internal" href="#id3">8.11.
|
123
|
-
<li><a class="reference internal" href="#id4">8.11.
|
124
|
-
<li><a class="reference internal" href="#id5">8.11.
|
125
|
-
<li><a class="reference internal" href="#id6">8.11.
|
119
|
+
<li><a class="reference internal" href="#">8.11.8. rand</a><ul>
|
120
|
+
<li><a class="reference internal" href="#id1">8.11.8.1. 名前</a></li>
|
121
|
+
<li><a class="reference internal" href="#id2">8.11.8.2. 書式</a></li>
|
122
|
+
<li><a class="reference internal" href="#id3">8.11.8.3. 説明</a></li>
|
123
|
+
<li><a class="reference internal" href="#id4">8.11.8.4. 引数</a></li>
|
124
|
+
<li><a class="reference internal" href="#id5">8.11.8.5. 返値</a></li>
|
125
|
+
<li><a class="reference internal" href="#id6">8.11.8.6. 例</a></li>
|
126
126
|
</ul>
|
127
127
|
</li>
|
128
128
|
</ul>
|
129
129
|
|
130
130
|
<h4>前のトピックへ</h4>
|
131
131
|
<p class="topless"><a href="query.html"
|
132
|
-
title="前の章へ">8.11.
|
132
|
+
title="前の章へ">8.11.7. query</a></p>
|
133
133
|
<h4>次のトピックへ</h4>
|
134
134
|
<p class="topless"><a href="snippet_html.html"
|
135
|
-
title="次の章へ">8.11.
|
135
|
+
title="次の章へ">8.11.9. snippet_html</a></p>
|
136
136
|
<h3>このページ</h3>
|
137
137
|
<ul class="this-page-menu">
|
138
138
|
<li><a href="../../_sources/reference/functions/rand.txt"
|
@@ -162,12 +162,12 @@
|
|
162
162
|
<a href="../../genindex.html" title="総合索引"
|
163
163
|
>索引</a></li>
|
164
164
|
<li class="right" >
|
165
|
-
<a href="snippet_html.html" title="8.11.
|
165
|
+
<a href="snippet_html.html" title="8.11.9. snippet_html"
|
166
166
|
>次へ</a> |</li>
|
167
167
|
<li class="right" >
|
168
|
-
<a href="query.html" title="8.11.
|
168
|
+
<a href="query.html" title="8.11.7. query"
|
169
169
|
>前へ</a> |</li>
|
170
|
-
<li><a href="../../index.html">groonga v3.0.
|
170
|
+
<li><a href="../../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
171
171
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
172
172
|
<li><a href="../function.html" >8.11. 関数</a> »</li>
|
173
173
|
</ul>
|