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>4.4. さまざまな検索条件の指定 — groonga v3.0.
|
10
|
+
<title>4.4. さまざまな検索条件の指定 — 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,7 +26,7 @@
|
|
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="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.5. ドリルダウン" href="drilldown.html" />
|
32
32
|
<link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
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="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -608,7 +608,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
608
608
|
<li class="right" >
|
609
609
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
610
610
|
>前へ</a> |</li>
|
611
|
-
<li><a href="../index.html">groonga v3.0.
|
611
|
+
<li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li>
|
612
612
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
613
613
|
</ul>
|
614
614
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH "GROONGA" "1" "2013 年
|
1
|
+
.TH "GROONGA" "1" "2013 年 06 月 27 日" "3.0.5" "groonga"
|
2
2
|
.SH NAME
|
3
3
|
groonga \- groongaのドキュメント
|
4
4
|
.
|
@@ -102,7 +102,7 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
102
102
|
.sp
|
103
103
|
.nf
|
104
104
|
.ft C
|
105
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
105
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.5\-x86.exe
|
106
106
|
.ft P
|
107
107
|
.fi
|
108
108
|
.UNINDENT
|
@@ -118,7 +118,7 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
118
118
|
.sp
|
119
119
|
.nf
|
120
120
|
.ft C
|
121
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
121
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.5\-x64.exe
|
122
122
|
.ft P
|
123
123
|
.fi
|
124
124
|
.UNINDENT
|
@@ -139,7 +139,7 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
139
139
|
.sp
|
140
140
|
.nf
|
141
141
|
.ft C
|
142
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
142
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.5\-x86.zip
|
143
143
|
.ft P
|
144
144
|
.fi
|
145
145
|
.UNINDENT
|
@@ -155,7 +155,7 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
155
155
|
.sp
|
156
156
|
.nf
|
157
157
|
.ft C
|
158
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.
|
158
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-3.0.5\-x64.zip
|
159
159
|
.ft P
|
160
160
|
.fi
|
161
161
|
.UNINDENT
|
@@ -189,7 +189,7 @@ Microsoft Visual Studio 2010 Expressがインストールする \fBVisual Studio
|
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
191
|
> cd c:\eUsers\e%USERNAME%\eDownloads
|
192
|
-
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/source/groonga/groonga\-3.0.
|
192
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/source/groonga/groonga\-3.0.5.zip
|
193
193
|
.ft P
|
194
194
|
.fi
|
195
195
|
.UNINDENT
|
@@ -203,7 +203,7 @@ groongaのソースフォルダへと移動します:
|
|
203
203
|
.sp
|
204
204
|
.nf
|
205
205
|
.ft C
|
206
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-3.0.
|
206
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-3.0.5
|
207
207
|
.ft P
|
208
208
|
.fi
|
209
209
|
.UNINDENT
|
@@ -215,7 +215,7 @@ groongaのソースフォルダへと移動します:
|
|
215
215
|
.sp
|
216
216
|
.nf
|
217
217
|
.ft C
|
218
|
-
groonga\-3.0.
|
218
|
+
groonga\-3.0.5> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
219
219
|
.ft P
|
220
220
|
.fi
|
221
221
|
.UNINDENT
|
@@ -227,7 +227,7 @@ groonga\-3.0.4> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\
|
|
227
227
|
.sp
|
228
228
|
.nf
|
229
229
|
.ft C
|
230
|
-
groonga\-3.0.
|
230
|
+
groonga\-3.0.5> cmake \-\-build . \-\-config Release
|
231
231
|
.ft P
|
232
232
|
.fi
|
233
233
|
.UNINDENT
|
@@ -239,7 +239,7 @@ groonga\-3.0.4> cmake \-\-build . \-\-config Release
|
|
239
239
|
.sp
|
240
240
|
.nf
|
241
241
|
.ft C
|
242
|
-
groonga\-3.0.
|
242
|
+
groonga\-3.0.5> cmake \-\-build . \-\-config Release \-\-target Install
|
243
243
|
.ft P
|
244
244
|
.fi
|
245
245
|
.UNINDENT
|
@@ -287,9 +287,9 @@ groonga\-3.0.4> cmake \-\-build . \-\-config Release \-\-target Install
|
|
287
287
|
.sp
|
288
288
|
.nf
|
289
289
|
.ft C
|
290
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-3.0.
|
291
|
-
% tar xvzf groonga\-3.0.
|
292
|
-
% cd groonga\-3.0.
|
290
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
291
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
292
|
+
% cd groonga\-3.0.5
|
293
293
|
.ft P
|
294
294
|
.fi
|
295
295
|
.UNINDENT
|
@@ -666,9 +666,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
666
666
|
.sp
|
667
667
|
.nf
|
668
668
|
.ft C
|
669
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
670
|
-
% tar xvzf groonga\-3.0.
|
671
|
-
% cd groonga\-3.0.
|
669
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
670
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
671
|
+
% cd groonga\-3.0.5
|
672
672
|
.ft P
|
673
673
|
.fi
|
674
674
|
.UNINDENT
|
@@ -1117,9 +1117,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
1117
1117
|
.sp
|
1118
1118
|
.nf
|
1119
1119
|
.ft C
|
1120
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1121
|
-
% tar xvzf groonga\-3.0.
|
1122
|
-
% cd groonga\-3.0.
|
1120
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
1121
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
1122
|
+
% cd groonga\-3.0.5
|
1123
1123
|
.ft P
|
1124
1124
|
.fi
|
1125
1125
|
.UNINDENT
|
@@ -1435,9 +1435,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
1435
1435
|
.sp
|
1436
1436
|
.nf
|
1437
1437
|
.ft C
|
1438
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1439
|
-
% tar xvzf groonga\-3.0.
|
1440
|
-
% cd groonga\-3.0.
|
1438
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
1439
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
1440
|
+
% cd groonga\-3.0.5
|
1441
1441
|
.ft P
|
1442
1442
|
.fi
|
1443
1443
|
.UNINDENT
|
@@ -1623,9 +1623,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
1623
1623
|
.sp
|
1624
1624
|
.nf
|
1625
1625
|
.ft C
|
1626
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1627
|
-
% tar xvzf groonga\-3.0.
|
1628
|
-
% cd groonga\-3.0.
|
1626
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
1627
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
1628
|
+
% cd groonga\-3.0.5
|
1629
1629
|
.ft P
|
1630
1630
|
.fi
|
1631
1631
|
.UNINDENT
|
@@ -1689,9 +1689,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
1689
1689
|
.sp
|
1690
1690
|
.nf
|
1691
1691
|
.ft C
|
1692
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1693
|
-
% gtar xvzf groonga\-3.0.
|
1694
|
-
% cd groonga\-3.0.
|
1692
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
1693
|
+
% gtar xvzf groonga\-3.0.5.tar.gz
|
1694
|
+
% cd groonga\-3.0.5
|
1695
1695
|
.ft P
|
1696
1696
|
.fi
|
1697
1697
|
.UNINDENT
|
@@ -1812,9 +1812,9 @@ groongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1812
1812
|
.sp
|
1813
1813
|
.nf
|
1814
1814
|
.ft C
|
1815
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.
|
1816
|
-
% tar xvzf groonga\-3.0.
|
1817
|
-
% cd groonga\-3.0.
|
1815
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-3.0.5.tar.gz
|
1816
|
+
% tar xvzf groonga\-3.0.5.tar.gz
|
1817
|
+
% cd groonga\-3.0.5
|
1818
1818
|
% ./configure
|
1819
1819
|
% make
|
1820
1820
|
% sudo make install
|
@@ -2160,10 +2160,10 @@ status
|
|
2160
2160
|
# "max_command_version": 2,
|
2161
2161
|
# "n_queries": 0,
|
2162
2162
|
# "cache_hit_rate": 0.0,
|
2163
|
-
# "version": "
|
2164
|
-
# "alloc_count":
|
2163
|
+
# "version": "3.0.5",
|
2164
|
+
# "alloc_count": 157,
|
2165
2165
|
# "command_version": 1,
|
2166
|
-
# "starttime":
|
2166
|
+
# "starttime": 1372040812,
|
2167
2167
|
# "default_command_version": 1
|
2168
2168
|
# }
|
2169
2169
|
# ]
|
@@ -3314,10 +3314,10 @@ status
|
|
3314
3314
|
# "max_command_version": 2,
|
3315
3315
|
# "n_queries": 0,
|
3316
3316
|
# "cache_hit_rate": 0.0,
|
3317
|
-
# "version": "3.0.
|
3318
|
-
# "alloc_count":
|
3317
|
+
# "version": "3.0.5",
|
3318
|
+
# "alloc_count": 136,
|
3319
3319
|
# "command_version": 1,
|
3320
|
-
# "starttime":
|
3320
|
+
# "starttime": 1372040831,
|
3321
3321
|
# "default_command_version": 1
|
3322
3322
|
# }
|
3323
3323
|
# ]
|
@@ -3390,12 +3390,19 @@ groonga [\-p PORT_NUMBER] \-d \-\-protocol http DB_PATH
|
|
3390
3390
|
.sp
|
3391
3391
|
.nf
|
3392
3392
|
.ft C
|
3393
|
-
% groonga \-p 80 \-d \-\-protocol http /tmp/groonga\-databases/introduction.db
|
3393
|
+
% sudo groonga \-p 80 \-d \-\-protocol http /tmp/groonga\-databases/introduction.db
|
3394
3394
|
%
|
3395
3395
|
.ft P
|
3396
3396
|
.fi
|
3397
3397
|
.UNINDENT
|
3398
3398
|
.UNINDENT
|
3399
|
+
.sp
|
3400
|
+
\fBノート:\fP
|
3401
|
+
.INDENT 0.0
|
3402
|
+
.INDENT 3.5
|
3403
|
+
80番ポートで待ち受けるにはroot権限が必須です。1024番以降のポート番号にはそのような制限はありません。
|
3404
|
+
.UNINDENT
|
3405
|
+
.UNINDENT
|
3399
3406
|
.SS HTTPサーバへのコマンド送信
|
3400
3407
|
.sp
|
3401
3408
|
groongaがHTTPサーバとして起動されているときは、/d/COMMAND_NAME というURLにアクセスすることにより、コマンドを実行することができます。コマンドの引数は、HTTPのGETパラメータとして渡します。引数の書式は "?NAME_1=VALUE_1&NAME_2=VALUE_2&..." となります。
|
@@ -3422,10 +3429,10 @@ status
|
|
3422
3429
|
# "max_command_version": 2,
|
3423
3430
|
# "n_queries": 0,
|
3424
3431
|
# "cache_hit_rate": 0.0,
|
3425
|
-
# "version": "3.0.
|
3426
|
-
# "alloc_count":
|
3432
|
+
# "version": "3.0.5",
|
3433
|
+
# "alloc_count": 137,
|
3427
3434
|
# "command_version": 1,
|
3428
|
-
# "starttime":
|
3435
|
+
# "starttime": 1372040831,
|
3429
3436
|
# "default_command_version": 1
|
3430
3437
|
# }
|
3431
3438
|
# ]
|
@@ -3726,6 +3733,13 @@ select \-\-table ToyBox \-\-output_columns _key,name
|
|
3726
3733
|
.sp
|
3727
3734
|
日時を表現するための型はTimeです。内部では1970年1月1日0時0分0秒を基準とする経過時間をマイクロ秒単位で表現します。符号付きの整数を用いるため、1970年以前の日時も表現することができます。内部表現はマイクロ秒単位の整数ですが、 \fB/reference/commands/load\fP コマンドおよび \fB/reference/commands/select\fP コマンドでは、経過秒数による指定・表示となります。デフォルト値は1970年1月1日0時0分0秒のことを表す0.0です。
|
3728
3735
|
.sp
|
3736
|
+
\fBノート:\fP
|
3737
|
+
.INDENT 0.0
|
3738
|
+
.INDENT 3.5
|
3739
|
+
groonga内部では経過秒数を整数のペアで保持しています。最初の整数で秒を表現し、もう一方でマイクロ秒を表現します。それゆえgroongaでは小数で経過秒数を表示します。整数部が秒数で、小数部はマイクロ秒の値です。
|
3740
|
+
.UNINDENT
|
3741
|
+
.UNINDENT
|
3742
|
+
.sp
|
3729
3743
|
以下の例では、Time型のカラムを作成し、IDが2と3のレコードを更新します。更新しないレコードについては、デフォルト値のままとなります。
|
3730
3744
|
.sp
|
3731
3745
|
実行例:
|
@@ -6481,6 +6495,7 @@ table_create \-\-name Users \-\-flags TABLE_HASH_KEY \-\-key_type ShortText
|
|
6481
6495
|
table_create \-\-name Comments \-\-flags TABLE_HASH_KEY \-\-key_type ShortText
|
6482
6496
|
table_create \-\-name HashTags \-\-flags TABLE_HASH_KEY \-\-key_type ShortText
|
6483
6497
|
table_create \-\-name Bigram \-\-flags TABLE_PAT_KEY|KEY_NORMALIZE \-\-key_type ShortText \-\-default_tokenizer TokenBigram
|
6498
|
+
table_create \-\-name GeoIndex \-\-flags TABLE_PAT_KEY \-\-key_type WGS84GeoPoint
|
6484
6499
|
|
6485
6500
|
column_create \-\-table Users \-\-name name \-\-flags COLUMN_SCALAR \-\-type ShortText
|
6486
6501
|
column_create \-\-table Users \-\-name follower \-\-flags COLUMN_VECTOR \-\-type Users
|
@@ -6503,6 +6518,9 @@ column_create \-\-table HashTags \-\-name hash_index \-\-flags COLUMN_INDEX \-\-
|
|
6503
6518
|
|
6504
6519
|
column_create \-\-table Bigram \-\-name users_index \-\-flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION \-\-type Users \-\-source name,location_str,description
|
6505
6520
|
column_create \-\-table Bigram \-\-name comment_index \-\-flags COLUMN_INDEX|WITH_POSITION \-\-type Comments \-\-source comment
|
6521
|
+
|
6522
|
+
column_create \-\-table GeoIndex \-\-name users_location \-\-type Users \-\-flags COLUMN_INDEX \-\-source location
|
6523
|
+
column_create \-\-table GeoIndex \-\-name comments_location \-\-type Comments \-\-flags COLUMN_INDEX \-\-source location
|
6506
6524
|
.ft P
|
6507
6525
|
.fi
|
6508
6526
|
.UNINDENT
|
@@ -6597,6 +6615,17 @@ Usersテーブルのfavoritesカラムに対するインデックス。
|
|
6597
6615
|
.B \fBcomment_index\fP
|
6598
6616
|
コメント内容「Comments.comment」のインデックス
|
6599
6617
|
.UNINDENT
|
6618
|
+
.SS GeoIndexテーブル
|
6619
|
+
.sp
|
6620
|
+
位置情報検索を効果的に行うための locationカラムのインデックスを保持するテーブルです。
|
6621
|
+
.INDENT 0.0
|
6622
|
+
.TP
|
6623
|
+
.B \fBusers_location\fP
|
6624
|
+
Usersテーブルのlocationカラムに対するインデックス
|
6625
|
+
.TP
|
6626
|
+
.B \fBcomments_location\fP
|
6627
|
+
Commentsテーブルのlocationカラムに対するインデックス
|
6628
|
+
.UNINDENT
|
6600
6629
|
.SS データのロード
|
6601
6630
|
.sp
|
6602
6631
|
つづいて、テスト用データをロードします。
|
@@ -6747,6 +6776,9 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
|
|
6747
6776
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6748
6777
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6749
6778
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6779
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6780
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6781
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6750
6782
|
# [[0, 1337566253.89858, 0.000355720520019531], 3]
|
6751
6783
|
# [[0, 1337566253.89858, 0.000355720520019531], 8]
|
6752
6784
|
# [
|
@@ -6921,16 +6953,16 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
|
|
6921
6953
|
# ]
|
6922
6954
|
# ],
|
6923
6955
|
# [
|
6924
|
-
# "
|
6925
|
-
# "
|
6956
|
+
# "グニャラくん",
|
6957
|
+
# "groonga開発合宿のため羽田空港に来ました! #groonga #travel"
|
6926
6958
|
# ],
|
6927
6959
|
# [
|
6928
6960
|
# "グニャラくん",
|
6929
6961
|
# "groongaなう #groonga"
|
6930
6962
|
# ],
|
6931
6963
|
# [
|
6932
|
-
# "
|
6933
|
-
# "
|
6964
|
+
# "OffGao",
|
6965
|
+
# "@daijiro @tasukuchan 登録してみましたよー!"
|
6934
6966
|
# ],
|
6935
6967
|
# [
|
6936
6968
|
# "OffGao",
|
@@ -6975,11 +7007,11 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
|
|
6975
7007
|
# ]
|
6976
7008
|
# ],
|
6977
7009
|
# [
|
6978
|
-
# "
|
7010
|
+
# "tasukuchan",
|
6979
7011
|
# 2
|
6980
7012
|
# ],
|
6981
7013
|
# [
|
6982
|
-
# "
|
7014
|
+
# "OffGao",
|
6983
7015
|
# 2
|
6984
7016
|
# ]
|
6985
7017
|
# ]
|
@@ -10129,10 +10161,10 @@ http {
|
|
10129
10161
|
"max_command_version": 2,
|
10130
10162
|
"n_queries": 0,
|
10131
10163
|
"cache_hit_rate": 0.0,
|
10132
|
-
"version": "3.0.
|
10133
|
-
"alloc_count":
|
10164
|
+
"version": "3.0.5",
|
10165
|
+
"alloc_count": 157,
|
10134
10166
|
"command_version": 1,
|
10135
|
-
"starttime":
|
10167
|
+
"starttime": 1372040796,
|
10136
10168
|
"default_command_version": 1
|
10137
10169
|
}
|
10138
10170
|
]
|
@@ -12856,7 +12888,17 @@ normalize normalizer string
|
|
12856
12888
|
.nf
|
12857
12889
|
.ft C
|
12858
12890
|
normalize NormalizerAuto "aBcDe 123"
|
12859
|
-
# [
|
12891
|
+
# [
|
12892
|
+
# [
|
12893
|
+
# 0,
|
12894
|
+
# 1337566253.89858,
|
12895
|
+
# 0.000355720520019531
|
12896
|
+
# ],
|
12897
|
+
# {
|
12898
|
+
# "normalized": "abcde 123",
|
12899
|
+
# "types": []
|
12900
|
+
# }
|
12901
|
+
# ]
|
12860
12902
|
.ft P
|
12861
12903
|
.fi
|
12862
12904
|
.UNINDENT
|
@@ -13438,7 +13480,7 @@ select Nonexistent
|
|
13438
13480
|
# [
|
13439
13481
|
# "grn_select",
|
13440
13482
|
# "proc.c",
|
13441
|
-
#
|
13483
|
+
# 778
|
13442
13484
|
# ]
|
13443
13485
|
# ]
|
13444
13486
|
# ]
|
@@ -15487,14 +15529,14 @@ status
|
|
15487
15529
|
# 0.000355720520019531
|
15488
15530
|
# ],
|
15489
15531
|
# {
|
15490
|
-
# "uptime":
|
15532
|
+
# "uptime": 6,
|
15491
15533
|
# "max_command_version": 2,
|
15492
|
-
# "n_queries":
|
15534
|
+
# "n_queries": 39,
|
15493
15535
|
# "cache_hit_rate": 0.0,
|
15494
|
-
# "version": "3.0.
|
15495
|
-
# "alloc_count":
|
15536
|
+
# "version": "3.0.5",
|
15537
|
+
# "alloc_count": 303,
|
15496
15538
|
# "command_version": 1,
|
15497
|
-
# "starttime":
|
15539
|
+
# "starttime": 1372040777,
|
15498
15540
|
# "default_command_version": 1
|
15499
15541
|
# }
|
15500
15542
|
# ]
|
@@ -16604,13 +16646,10 @@ table_remove Entry
|
|
16604
16646
|
.SS \fBtokenize\fP
|
16605
16647
|
.SS 概要
|
16606
16648
|
.sp
|
16607
|
-
\fBtokenize\fP
|
16608
|
-
It is useful to debug tokenization.
|
16649
|
+
\fBtokenize\fP コマンドは指定したトークナイザーでテキストをトークナイズします。これはトークナイズ処理のデバッグに便利です。
|
16609
16650
|
.SS 構文
|
16610
16651
|
.sp
|
16611
|
-
\fBtokenize\fP
|
16612
|
-
\fBtokenizer\fP and \fBstring\fP are required parameters. Others are
|
16613
|
-
optional:
|
16652
|
+
\fBtokenize\fP コマンドには必須の引数と省略可能な引数があります。 \fBtokenizer\fP と \fBstring\fP が必須の引数で、他の引数はすべて省略可能です。
|
16614
16653
|
.INDENT 0.0
|
16615
16654
|
.INDENT 3.5
|
16616
16655
|
.sp
|
@@ -16628,111 +16667,645 @@ tokenize tokenizer
|
|
16628
16667
|
.sp
|
16629
16668
|
以下は簡単な使用例です。
|
16630
16669
|
.sp
|
16631
|
-
|
16632
|
-
|
16633
|
-
|
16634
|
-
|
16670
|
+
実行例:
|
16671
|
+
.INDENT 0.0
|
16672
|
+
.INDENT 3.5
|
16673
|
+
.sp
|
16674
|
+
.nf
|
16675
|
+
.ft C
|
16676
|
+
tokenize TokenBigram "Fulltext Search"
|
16677
|
+
# [
|
16678
|
+
# [
|
16679
|
+
# 0,
|
16680
|
+
# 1337566253.89858,
|
16681
|
+
# 0.000355720520019531
|
16682
|
+
# ],
|
16683
|
+
# [
|
16684
|
+
# {
|
16685
|
+
# "position": 0,
|
16686
|
+
# "value": "Fu"
|
16687
|
+
# },
|
16688
|
+
# {
|
16689
|
+
# "position": 1,
|
16690
|
+
# "value": "ul"
|
16691
|
+
# },
|
16692
|
+
# {
|
16693
|
+
# "position": 2,
|
16694
|
+
# "value": "ll"
|
16695
|
+
# },
|
16696
|
+
# {
|
16697
|
+
# "position": 3,
|
16698
|
+
# "value": "lt"
|
16699
|
+
# },
|
16700
|
+
# {
|
16701
|
+
# "position": 4,
|
16702
|
+
# "value": "te"
|
16703
|
+
# },
|
16704
|
+
# {
|
16705
|
+
# "position": 5,
|
16706
|
+
# "value": "ex"
|
16707
|
+
# },
|
16708
|
+
# {
|
16709
|
+
# "position": 6,
|
16710
|
+
# "value": "xt"
|
16711
|
+
# },
|
16712
|
+
# {
|
16713
|
+
# "position": 7,
|
16714
|
+
# "value": "t "
|
16715
|
+
# },
|
16716
|
+
# {
|
16717
|
+
# "position": 8,
|
16718
|
+
# "value": " S"
|
16719
|
+
# },
|
16720
|
+
# {
|
16721
|
+
# "position": 9,
|
16722
|
+
# "value": "Se"
|
16723
|
+
# },
|
16724
|
+
# {
|
16725
|
+
# "position": 10,
|
16726
|
+
# "value": "ea"
|
16727
|
+
# },
|
16728
|
+
# {
|
16729
|
+
# "position": 11,
|
16730
|
+
# "value": "ar"
|
16731
|
+
# },
|
16732
|
+
# {
|
16733
|
+
# "position": 12,
|
16734
|
+
# "value": "rc"
|
16735
|
+
# },
|
16736
|
+
# {
|
16737
|
+
# "position": 13,
|
16738
|
+
# "value": "ch"
|
16739
|
+
# },
|
16740
|
+
# {
|
16741
|
+
# "position": 14,
|
16742
|
+
# "value": "h"
|
16743
|
+
# }
|
16744
|
+
# ]
|
16745
|
+
# ]
|
16746
|
+
.ft P
|
16747
|
+
.fi
|
16748
|
+
.UNINDENT
|
16749
|
+
.UNINDENT
|
16750
|
+
.sp
|
16751
|
+
この例では必須のパラメーターだけ使っています。 \fBtokenizer\fP には \fBTokenBigram\fP を、 \fBstring\fP には \fB"Fulltext Search"\fP を指定しています。この例は \fBTokenBigram\fP トークナイザーで \fB"Fulltext Search"\fP をトークナイズしたトークンを返します。この例では \fB"Fulltext Search"\fP を正規化していません。
|
16635
16752
|
.SS 引数
|
16636
16753
|
.sp
|
16637
16754
|
このセクションではすべての引数について説明します。引数はカテゴリわけしています。
|
16638
|
-
.SS
|
16755
|
+
.SS 必須引数
|
16639
16756
|
.sp
|
16640
16757
|
必須引数は二つあります。 \fBtokenizer\fP と \fBstring\fP です。
|
16641
16758
|
.SS \fBtokenizer\fP
|
16642
16759
|
.sp
|
16643
|
-
|
16644
|
-
tokenizer that is named \fBtokenizer\fP.
|
16760
|
+
トークナイザー名を指定します。 \fBtokenize\fP コマンドは \fBtokenizer\fP で指定された名前のトークナイザーを使います。
|
16645
16761
|
.sp
|
16646
|
-
|
16762
|
+
組み込みのトークナイザーについては \fB/reference/tokenizers\fP を参照してください。
|
16647
16763
|
.sp
|
16648
|
-
|
16764
|
+
以下は \fBTokenTrigram\fP トークナイザーを使う例です。
|
16649
16765
|
.sp
|
16650
|
-
|
16651
|
-
|
16652
|
-
|
16766
|
+
実行例:
|
16767
|
+
.INDENT 0.0
|
16768
|
+
.INDENT 3.5
|
16769
|
+
.sp
|
16770
|
+
.nf
|
16771
|
+
.ft C
|
16772
|
+
tokenize TokenTrigram "Fulltext Search"
|
16773
|
+
# [
|
16774
|
+
# [
|
16775
|
+
# 0,
|
16776
|
+
# 1337566253.89858,
|
16777
|
+
# 0.000355720520019531
|
16778
|
+
# ],
|
16779
|
+
# [
|
16780
|
+
# {
|
16781
|
+
# "position": 0,
|
16782
|
+
# "value": "Ful"
|
16783
|
+
# },
|
16784
|
+
# {
|
16785
|
+
# "position": 1,
|
16786
|
+
# "value": "ull"
|
16787
|
+
# },
|
16788
|
+
# {
|
16789
|
+
# "position": 2,
|
16790
|
+
# "value": "llt"
|
16791
|
+
# },
|
16792
|
+
# {
|
16793
|
+
# "position": 3,
|
16794
|
+
# "value": "lte"
|
16795
|
+
# },
|
16796
|
+
# {
|
16797
|
+
# "position": 4,
|
16798
|
+
# "value": "tex"
|
16799
|
+
# },
|
16800
|
+
# {
|
16801
|
+
# "position": 5,
|
16802
|
+
# "value": "ext"
|
16803
|
+
# },
|
16804
|
+
# {
|
16805
|
+
# "position": 6,
|
16806
|
+
# "value": "xt "
|
16807
|
+
# },
|
16808
|
+
# {
|
16809
|
+
# "position": 7,
|
16810
|
+
# "value": "t S"
|
16811
|
+
# },
|
16812
|
+
# {
|
16813
|
+
# "position": 8,
|
16814
|
+
# "value": " Se"
|
16815
|
+
# },
|
16816
|
+
# {
|
16817
|
+
# "position": 9,
|
16818
|
+
# "value": "Sea"
|
16819
|
+
# },
|
16820
|
+
# {
|
16821
|
+
# "position": 10,
|
16822
|
+
# "value": "ear"
|
16823
|
+
# },
|
16824
|
+
# {
|
16825
|
+
# "position": 11,
|
16826
|
+
# "value": "arc"
|
16827
|
+
# },
|
16828
|
+
# {
|
16829
|
+
# "position": 12,
|
16830
|
+
# "value": "rch"
|
16831
|
+
# },
|
16832
|
+
# {
|
16833
|
+
# "position": 13,
|
16834
|
+
# "value": "ch"
|
16835
|
+
# },
|
16836
|
+
# {
|
16837
|
+
# "position": 14,
|
16838
|
+
# "value": "h"
|
16839
|
+
# }
|
16840
|
+
# ]
|
16841
|
+
# ]
|
16842
|
+
.ft P
|
16843
|
+
.fi
|
16844
|
+
.UNINDENT
|
16845
|
+
.UNINDENT
|
16846
|
+
.sp
|
16847
|
+
他のトークナイザーを使いたい場合は、 \fBregister\fP コマンドでトークナイザープラグインを登録する必要があります。例えば、 \fI\%groonga-normalizer-mysql\fP を登録することでMySQL互換の正規化方法を使うことができます。
|
16653
16848
|
.SS \fBstring\fP
|
16654
16849
|
.sp
|
16655
|
-
|
16656
|
-
|
16657
|
-
|
16850
|
+
トークナイズしたい文字列を指定します。 \fBstring\fP の中に文字列を含める場合は、シングルクォート( \fB\(aq\fP )またはダブルクォート( \fB"\fP )で \fBstring\fP をクォートする必要があります。
|
16851
|
+
.sp
|
16852
|
+
\fBstring\fP の中で空白を使う例です。
|
16658
16853
|
.sp
|
16659
|
-
|
16660
|
-
.
|
16854
|
+
実行例:
|
16855
|
+
.INDENT 0.0
|
16856
|
+
.INDENT 3.5
|
16661
16857
|
.sp
|
16662
|
-
|
16858
|
+
.nf
|
16859
|
+
.ft C
|
16860
|
+
tokenize TokenBigram "Groonga is a fast fulltext earch engine!"
|
16861
|
+
# [
|
16862
|
+
# [
|
16863
|
+
# 0,
|
16864
|
+
# 1337566253.89858,
|
16865
|
+
# 0.000355720520019531
|
16866
|
+
# ],
|
16867
|
+
# [
|
16868
|
+
# {
|
16869
|
+
# "position": 0,
|
16870
|
+
# "value": "Gr"
|
16871
|
+
# },
|
16872
|
+
# {
|
16873
|
+
# "position": 1,
|
16874
|
+
# "value": "ro"
|
16875
|
+
# },
|
16876
|
+
# {
|
16877
|
+
# "position": 2,
|
16878
|
+
# "value": "oo"
|
16879
|
+
# },
|
16880
|
+
# {
|
16881
|
+
# "position": 3,
|
16882
|
+
# "value": "on"
|
16883
|
+
# },
|
16884
|
+
# {
|
16885
|
+
# "position": 4,
|
16886
|
+
# "value": "ng"
|
16887
|
+
# },
|
16888
|
+
# {
|
16889
|
+
# "position": 5,
|
16890
|
+
# "value": "ga"
|
16891
|
+
# },
|
16892
|
+
# {
|
16893
|
+
# "position": 6,
|
16894
|
+
# "value": "a "
|
16895
|
+
# },
|
16896
|
+
# {
|
16897
|
+
# "position": 7,
|
16898
|
+
# "value": " i"
|
16899
|
+
# },
|
16900
|
+
# {
|
16901
|
+
# "position": 8,
|
16902
|
+
# "value": "is"
|
16903
|
+
# },
|
16904
|
+
# {
|
16905
|
+
# "position": 9,
|
16906
|
+
# "value": "s "
|
16907
|
+
# },
|
16908
|
+
# {
|
16909
|
+
# "position": 10,
|
16910
|
+
# "value": " a"
|
16911
|
+
# },
|
16912
|
+
# {
|
16913
|
+
# "position": 11,
|
16914
|
+
# "value": "a "
|
16915
|
+
# },
|
16916
|
+
# {
|
16917
|
+
# "position": 12,
|
16918
|
+
# "value": " f"
|
16919
|
+
# },
|
16920
|
+
# {
|
16921
|
+
# "position": 13,
|
16922
|
+
# "value": "fa"
|
16923
|
+
# },
|
16924
|
+
# {
|
16925
|
+
# "position": 14,
|
16926
|
+
# "value": "as"
|
16927
|
+
# },
|
16928
|
+
# {
|
16929
|
+
# "position": 15,
|
16930
|
+
# "value": "st"
|
16931
|
+
# },
|
16932
|
+
# {
|
16933
|
+
# "position": 16,
|
16934
|
+
# "value": "t "
|
16935
|
+
# },
|
16936
|
+
# {
|
16937
|
+
# "position": 17,
|
16938
|
+
# "value": " f"
|
16939
|
+
# },
|
16940
|
+
# {
|
16941
|
+
# "position": 18,
|
16942
|
+
# "value": "fu"
|
16943
|
+
# },
|
16944
|
+
# {
|
16945
|
+
# "position": 19,
|
16946
|
+
# "value": "ul"
|
16947
|
+
# },
|
16948
|
+
# {
|
16949
|
+
# "position": 20,
|
16950
|
+
# "value": "ll"
|
16951
|
+
# },
|
16952
|
+
# {
|
16953
|
+
# "position": 21,
|
16954
|
+
# "value": "lt"
|
16955
|
+
# },
|
16956
|
+
# {
|
16957
|
+
# "position": 22,
|
16958
|
+
# "value": "te"
|
16959
|
+
# },
|
16960
|
+
# {
|
16961
|
+
# "position": 23,
|
16962
|
+
# "value": "ex"
|
16963
|
+
# },
|
16964
|
+
# {
|
16965
|
+
# "position": 24,
|
16966
|
+
# "value": "xt"
|
16967
|
+
# },
|
16968
|
+
# {
|
16969
|
+
# "position": 25,
|
16970
|
+
# "value": "t "
|
16971
|
+
# },
|
16972
|
+
# {
|
16973
|
+
# "position": 26,
|
16974
|
+
# "value": " e"
|
16975
|
+
# },
|
16976
|
+
# {
|
16977
|
+
# "position": 27,
|
16978
|
+
# "value": "ea"
|
16979
|
+
# },
|
16980
|
+
# {
|
16981
|
+
# "position": 28,
|
16982
|
+
# "value": "ar"
|
16983
|
+
# },
|
16984
|
+
# {
|
16985
|
+
# "position": 29,
|
16986
|
+
# "value": "rc"
|
16987
|
+
# },
|
16988
|
+
# {
|
16989
|
+
# "position": 30,
|
16990
|
+
# "value": "ch"
|
16991
|
+
# },
|
16992
|
+
# {
|
16993
|
+
# "position": 31,
|
16994
|
+
# "value": "h "
|
16995
|
+
# },
|
16996
|
+
# {
|
16997
|
+
# "position": 32,
|
16998
|
+
# "value": " e"
|
16999
|
+
# },
|
17000
|
+
# {
|
17001
|
+
# "position": 33,
|
17002
|
+
# "value": "en"
|
17003
|
+
# },
|
17004
|
+
# {
|
17005
|
+
# "position": 34,
|
17006
|
+
# "value": "ng"
|
17007
|
+
# },
|
17008
|
+
# {
|
17009
|
+
# "position": 35,
|
17010
|
+
# "value": "gi"
|
17011
|
+
# },
|
17012
|
+
# {
|
17013
|
+
# "position": 36,
|
17014
|
+
# "value": "in"
|
17015
|
+
# },
|
17016
|
+
# {
|
17017
|
+
# "position": 37,
|
17018
|
+
# "value": "ne"
|
17019
|
+
# },
|
17020
|
+
# {
|
17021
|
+
# "position": 38,
|
17022
|
+
# "value": "e!"
|
17023
|
+
# },
|
17024
|
+
# {
|
17025
|
+
# "position": 39,
|
17026
|
+
# "value": "!"
|
17027
|
+
# }
|
17028
|
+
# ]
|
17029
|
+
# ]
|
17030
|
+
.ft P
|
17031
|
+
.fi
|
17032
|
+
.UNINDENT
|
17033
|
+
.UNINDENT
|
17034
|
+
.SS 省略可能引数
|
17035
|
+
.sp
|
17036
|
+
いくつか省略可能な引数があります。
|
16663
17037
|
.SS \fBnormalizer\fP
|
16664
17038
|
.sp
|
16665
|
-
|
16666
|
-
normalizer that is named \fBnormalizer\fP. Normalizer is important for
|
16667
|
-
N\-gram family tokenizers such as \fBTokenBigram\fP.
|
17039
|
+
ノーマライザー名を指定します。 \fBtokenize\fP コマンドは \fBnormalizer\fP という名前のノーまライザーを使います。ノーまライザーは \fBTokenBigrma\fP など、N\-gram関連のトークナイザーにとってとても重要です。
|
16668
17040
|
.sp
|
16669
|
-
|
16670
|
-
normalizing. N\-gram family tokenizers use character types while
|
16671
|
-
tokenizing.
|
17041
|
+
ノーマライザーはノーマライズ中にそれぞれの文字の種類を検出します。N\-gram系のトークナイザーはトークナイズ中に文字の種類を利用します。
|
16672
17042
|
.sp
|
16673
|
-
|
17043
|
+
以下はノーマライザーを使わない例です。
|
16674
17044
|
.sp
|
16675
|
-
|
16676
|
-
|
17045
|
+
実行例:
|
17046
|
+
.INDENT 0.0
|
17047
|
+
.INDENT 3.5
|
16677
17048
|
.sp
|
16678
|
-
|
17049
|
+
.nf
|
17050
|
+
.ft C
|
17051
|
+
tokenize TokenBigram "Fulltext Search"
|
17052
|
+
# [
|
17053
|
+
# [
|
17054
|
+
# 0,
|
17055
|
+
# 1337566253.89858,
|
17056
|
+
# 0.000355720520019531
|
17057
|
+
# ],
|
17058
|
+
# [
|
17059
|
+
# {
|
17060
|
+
# "position": 0,
|
17061
|
+
# "value": "Fu"
|
17062
|
+
# },
|
17063
|
+
# {
|
17064
|
+
# "position": 1,
|
17065
|
+
# "value": "ul"
|
17066
|
+
# },
|
17067
|
+
# {
|
17068
|
+
# "position": 2,
|
17069
|
+
# "value": "ll"
|
17070
|
+
# },
|
17071
|
+
# {
|
17072
|
+
# "position": 3,
|
17073
|
+
# "value": "lt"
|
17074
|
+
# },
|
17075
|
+
# {
|
17076
|
+
# "position": 4,
|
17077
|
+
# "value": "te"
|
17078
|
+
# },
|
17079
|
+
# {
|
17080
|
+
# "position": 5,
|
17081
|
+
# "value": "ex"
|
17082
|
+
# },
|
17083
|
+
# {
|
17084
|
+
# "position": 6,
|
17085
|
+
# "value": "xt"
|
17086
|
+
# },
|
17087
|
+
# {
|
17088
|
+
# "position": 7,
|
17089
|
+
# "value": "t "
|
17090
|
+
# },
|
17091
|
+
# {
|
17092
|
+
# "position": 8,
|
17093
|
+
# "value": " S"
|
17094
|
+
# },
|
17095
|
+
# {
|
17096
|
+
# "position": 9,
|
17097
|
+
# "value": "Se"
|
17098
|
+
# },
|
17099
|
+
# {
|
17100
|
+
# "position": 10,
|
17101
|
+
# "value": "ea"
|
17102
|
+
# },
|
17103
|
+
# {
|
17104
|
+
# "position": 11,
|
17105
|
+
# "value": "ar"
|
17106
|
+
# },
|
17107
|
+
# {
|
17108
|
+
# "position": 12,
|
17109
|
+
# "value": "rc"
|
17110
|
+
# },
|
17111
|
+
# {
|
17112
|
+
# "position": 13,
|
17113
|
+
# "value": "ch"
|
17114
|
+
# },
|
17115
|
+
# {
|
17116
|
+
# "position": 14,
|
17117
|
+
# "value": "h"
|
17118
|
+
# }
|
17119
|
+
# ]
|
17120
|
+
# ]
|
17121
|
+
.ft P
|
17122
|
+
.fi
|
17123
|
+
.UNINDENT
|
17124
|
+
.UNINDENT
|
17125
|
+
.sp
|
17126
|
+
すべてのアルファベットが2文字ごとトークナイズされています。例えば、 \fBFu\fP で1つのトークンになっています。
|
17127
|
+
.sp
|
17128
|
+
以下はノーマライザーを使う例です。
|
17129
|
+
.sp
|
17130
|
+
実行例:
|
17131
|
+
.INDENT 0.0
|
17132
|
+
.INDENT 3.5
|
17133
|
+
.sp
|
17134
|
+
.nf
|
17135
|
+
.ft C
|
17136
|
+
tokenize TokenBigram "Fulltext Search" NormalizerAuto
|
17137
|
+
# [
|
17138
|
+
# [
|
17139
|
+
# 0,
|
17140
|
+
# 1337566253.89858,
|
17141
|
+
# 0.000355720520019531
|
17142
|
+
# ],
|
17143
|
+
# [
|
17144
|
+
# {
|
17145
|
+
# "position": 0,
|
17146
|
+
# "value": "fulltext"
|
17147
|
+
# },
|
17148
|
+
# {
|
17149
|
+
# "position": 1,
|
17150
|
+
# "value": "search"
|
17151
|
+
# }
|
17152
|
+
# ]
|
17153
|
+
# ]
|
17154
|
+
.ft P
|
17155
|
+
.fi
|
17156
|
+
.UNINDENT
|
17157
|
+
.UNINDENT
|
16679
17158
|
.sp
|
16680
|
-
|
16681
|
-
\fBfulltext\fP is a token.
|
17159
|
+
連続するアルファベットが1つのトークンにトークナイズされています。例えば、 \fBfulltext\fP で1つのトークンになっています。
|
16682
17160
|
.sp
|
16683
|
-
|
16684
|
-
\fBTokenBigramSplitSymbolAlpha\fP.
|
17161
|
+
ノーマライザーを使いながら2文字でトークナイズしたい場合は \fBTokenBigramSplitSymbolAlpha\fP を使って下さい。
|
16685
17162
|
.sp
|
16686
|
-
|
16687
|
-
|
17163
|
+
実行例:
|
17164
|
+
.INDENT 0.0
|
17165
|
+
.INDENT 3.5
|
17166
|
+
.sp
|
17167
|
+
.nf
|
17168
|
+
.ft C
|
17169
|
+
tokenize TokenBigramSplitSymbolAlpha "Fulltext Search" NormalizerAuto
|
17170
|
+
# [
|
17171
|
+
# [
|
17172
|
+
# 0,
|
17173
|
+
# 1337566253.89858,
|
17174
|
+
# 0.000355720520019531
|
17175
|
+
# ],
|
17176
|
+
# [
|
17177
|
+
# {
|
17178
|
+
# "position": 0,
|
17179
|
+
# "value": "fu"
|
17180
|
+
# },
|
17181
|
+
# {
|
17182
|
+
# "position": 1,
|
17183
|
+
# "value": "ul"
|
17184
|
+
# },
|
17185
|
+
# {
|
17186
|
+
# "position": 2,
|
17187
|
+
# "value": "ll"
|
17188
|
+
# },
|
17189
|
+
# {
|
17190
|
+
# "position": 3,
|
17191
|
+
# "value": "lt"
|
17192
|
+
# },
|
17193
|
+
# {
|
17194
|
+
# "position": 4,
|
17195
|
+
# "value": "te"
|
17196
|
+
# },
|
17197
|
+
# {
|
17198
|
+
# "position": 5,
|
17199
|
+
# "value": "ex"
|
17200
|
+
# },
|
17201
|
+
# {
|
17202
|
+
# "position": 6,
|
17203
|
+
# "value": "xt"
|
17204
|
+
# },
|
17205
|
+
# {
|
17206
|
+
# "position": 7,
|
17207
|
+
# "value": "t"
|
17208
|
+
# },
|
17209
|
+
# {
|
17210
|
+
# "position": 8,
|
17211
|
+
# "value": "se"
|
17212
|
+
# },
|
17213
|
+
# {
|
17214
|
+
# "position": 9,
|
17215
|
+
# "value": "ea"
|
17216
|
+
# },
|
17217
|
+
# {
|
17218
|
+
# "position": 10,
|
17219
|
+
# "value": "ar"
|
17220
|
+
# },
|
17221
|
+
# {
|
17222
|
+
# "position": 11,
|
17223
|
+
# "value": "rc"
|
17224
|
+
# },
|
17225
|
+
# {
|
17226
|
+
# "position": 12,
|
17227
|
+
# "value": "ch"
|
17228
|
+
# },
|
17229
|
+
# {
|
17230
|
+
# "position": 13,
|
17231
|
+
# "value": "h"
|
17232
|
+
# }
|
17233
|
+
# ]
|
17234
|
+
# ]
|
17235
|
+
.ft P
|
17236
|
+
.fi
|
17237
|
+
.UNINDENT
|
17238
|
+
.UNINDENT
|
17239
|
+
.sp
|
17240
|
+
すべてのアルファベットが2文字ごとにトークナイズされています。そして、すべての文字が小文字にノーマライズされています。例えば、 \fBfu\fP で1つのトークンになっています。
|
16688
17241
|
.SS \fBflags\fP
|
16689
17242
|
.sp
|
16690
|
-
|
16691
|
-
multiple options separated by "\fB|\fP". For example,
|
16692
|
-
\fBNONE|ENABLE_TOKENIZED_DELIMITER\fP.
|
17243
|
+
トークナイズ処理をカスタマイズするオプションを指定します。「 \fB|\fP 」で区切って複数のオプションを指定することができます。例えば、 \fBNONE|ENABLE_TOKENIZED_DELIMITER\fP というように指定できます。
|
16693
17244
|
.sp
|
16694
|
-
|
17245
|
+
指定可能なフラグは以下の通りです。
|
16695
17246
|
.TS
|
16696
17247
|
center;
|
16697
17248
|
|l|l|.
|
16698
17249
|
_
|
16699
17250
|
T{
|
16700
|
-
|
17251
|
+
フラグ
|
16701
17252
|
T} T{
|
16702
|
-
|
17253
|
+
説明
|
16703
17254
|
T}
|
16704
17255
|
_
|
16705
17256
|
T{
|
16706
17257
|
\fBNONE\fP
|
16707
17258
|
T} T{
|
16708
|
-
|
17259
|
+
無視されます。
|
16709
17260
|
T}
|
16710
17261
|
_
|
16711
17262
|
T{
|
16712
17263
|
\fBENABLE_TOKENIZED_DELIMITER\fP
|
16713
17264
|
T} T{
|
16714
|
-
|
16715
|
-
tokenized delimiter details.
|
17265
|
+
トークナイズ済み区切り文字を有効にします。トークナイズ済み区切り文字の詳細は \fB/reference/tokenizers\fP を参照してください。
|
16716
17266
|
T}
|
16717
17267
|
_
|
16718
17268
|
.TE
|
16719
17269
|
.sp
|
16720
|
-
|
16721
|
-
.sp
|
16722
|
-
|
16723
|
-
|
16724
|
-
|
16725
|
-
|
16726
|
-
|
16727
|
-
|
16728
|
-
|
16729
|
-
|
16730
|
-
|
17270
|
+
以下は \fBENABLE_TOKENIZED_DELIMITER\fP を使った例です。
|
17271
|
+
.sp
|
17272
|
+
実行例:
|
17273
|
+
.INDENT 0.0
|
17274
|
+
.INDENT 3.5
|
17275
|
+
.sp
|
17276
|
+
.nf
|
17277
|
+
.ft C
|
17278
|
+
tokenize TokenDelimit "Fulltext Seacrch" NormalizerAuto ENABLE_TOKENIZED_DELIMITER
|
17279
|
+
# [
|
17280
|
+
# [
|
17281
|
+
# 0,
|
17282
|
+
# 1337566253.89858,
|
17283
|
+
# 0.000355720520019531
|
17284
|
+
# ],
|
17285
|
+
# [
|
17286
|
+
# {
|
17287
|
+
# "position": 0,
|
17288
|
+
# "value": "full"
|
17289
|
+
# },
|
17290
|
+
# {
|
17291
|
+
# "position": 1,
|
17292
|
+
# "value": "text sea"
|
17293
|
+
# },
|
17294
|
+
# {
|
17295
|
+
# "position": 2,
|
17296
|
+
# "value": "crch"
|
17297
|
+
# }
|
17298
|
+
# ]
|
17299
|
+
# ]
|
17300
|
+
.ft P
|
17301
|
+
.fi
|
17302
|
+
.UNINDENT
|
17303
|
+
.UNINDENT
|
17304
|
+
.sp
|
17305
|
+
\fBTokenDelimit\fP トークナイザーはトークナイズ済み区切り文字をサポートしているトークナイザーの1つです。 \fBENABLE_TOKENIZED_DELIMITER\fP でトークナイズ済み区切り文字を有効に出来ます。トークナイズ済み区切り文字はトークンの区切りを表す特別な文字です。この文字は \fBU+FFFE\fP です。この文字コードはどの文字にも割り当てられていません。つまり、通常の文字列にはこの文字は現れません。よって、トークンの区切りを表すという目的には適切な文字です。 \fBENABLE_TOKENIZED_DELIMITER\fP が有効のときは、対象文字列はすでにトークナイズ済みであると扱われます。トークナイザーは単にトークナイズ済み区切り文字で区切ってトークナイズします。
|
16731
17306
|
.SS 戻り値
|
16732
17307
|
.sp
|
16733
|
-
\fBtokenize\fP
|
16734
|
-
attributes except token itself. The attributes will be increased in
|
16735
|
-
the feature:
|
17308
|
+
\fBtokenize\fP コマンドはトークナイズしたトークンをすべて返します。各トークンはトークン自身の文字列情報以外にいくつかの属性を持ちます。属性は今後増えていく可能性があります:
|
16736
17309
|
.INDENT 0.0
|
16737
17310
|
.INDENT 3.5
|
16738
17311
|
.sp
|
@@ -16747,35 +17320,34 @@ the feature:
|
|
16747
17320
|
\fBHEADER\fP
|
16748
17321
|
.INDENT 0.0
|
16749
17322
|
.INDENT 3.5
|
16750
|
-
|
17323
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
16751
17324
|
.UNINDENT
|
16752
17325
|
.UNINDENT
|
16753
17326
|
.sp
|
16754
17327
|
\fBtokens\fP
|
16755
17328
|
.INDENT 0.0
|
16756
17329
|
.INDENT 3.5
|
16757
|
-
|
16758
|
-
attributes.
|
17330
|
+
\fBtokens\fP はトークンの配列です。トークンは以下の属性を持ったオブジェクトです。
|
16759
17331
|
.TS
|
16760
17332
|
center;
|
16761
17333
|
|l|l|.
|
16762
17334
|
_
|
16763
17335
|
T{
|
16764
|
-
|
17336
|
+
名前
|
16765
17337
|
T} T{
|
16766
|
-
|
17338
|
+
説明
|
16767
17339
|
T}
|
16768
17340
|
_
|
16769
17341
|
T{
|
16770
17342
|
\fBvalue\fP
|
16771
17343
|
T} T{
|
16772
|
-
|
17344
|
+
トークン自身
|
16773
17345
|
T}
|
16774
17346
|
_
|
16775
17347
|
T{
|
16776
17348
|
\fBposition\fP
|
16777
17349
|
T} T{
|
16778
|
-
|
17350
|
+
N番目のトークン。
|
16779
17351
|
T}
|
16780
17352
|
_
|
16781
17353
|
.TE
|
@@ -22483,6 +23055,119 @@ true
|
|
22483
23055
|
脚注
|
22484
23056
|
.IP [1] 5
|
22485
23057
|
TokyoGeoPoint(日本測地系座標)かWGS84GeoPoint(世界測地系座標)のいずれかを指定できます。
|
23058
|
+
.SS html_untag
|
23059
|
+
.SS 概要
|
23060
|
+
.sp
|
23061
|
+
\fBhtml_untag\fP はHTMLタグをHTMLから除去したテキストを出力します。
|
23062
|
+
.sp
|
23063
|
+
\fBhtml_untag\fP は \fB/reference/commands/select\fP で記載されている \fB\-\-output_columns\fP で使います。
|
23064
|
+
.SS 構文
|
23065
|
+
.sp
|
23066
|
+
\fBhtml_untag\fP は引数を一つだけとります。 それは \fBcolumn\fP です。
|
23067
|
+
.INDENT 0.0
|
23068
|
+
.INDENT 3.5
|
23069
|
+
.sp
|
23070
|
+
.nf
|
23071
|
+
.ft C
|
23072
|
+
html_untag(column)
|
23073
|
+
.ft P
|
23074
|
+
.fi
|
23075
|
+
.UNINDENT
|
23076
|
+
.UNINDENT
|
23077
|
+
.SS 使い方
|
23078
|
+
.sp
|
23079
|
+
使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。
|
23080
|
+
.sp
|
23081
|
+
サンプルスキーマ:
|
23082
|
+
.sp
|
23083
|
+
実行例:
|
23084
|
+
.INDENT 0.0
|
23085
|
+
.INDENT 3.5
|
23086
|
+
.sp
|
23087
|
+
.nf
|
23088
|
+
.ft C
|
23089
|
+
table_create WebClips TABLE_NO_KEY
|
23090
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
23091
|
+
column_create WebClips url COLUMN_SCALAR ShortText
|
23092
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
23093
|
+
column_create WebClips content COLUMN_SCALAR ShortText
|
23094
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
23095
|
+
column_create WebClips tag COLUMN_VECTOR ShortText
|
23096
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
23097
|
+
.ft P
|
23098
|
+
.fi
|
23099
|
+
.UNINDENT
|
23100
|
+
.UNINDENT
|
23101
|
+
.sp
|
23102
|
+
サンプルデータ:
|
23103
|
+
.sp
|
23104
|
+
実行例:
|
23105
|
+
.INDENT 0.0
|
23106
|
+
.INDENT 3.5
|
23107
|
+
.sp
|
23108
|
+
.nf
|
23109
|
+
.ft C
|
23110
|
+
load \-\-table WebClips
|
23111
|
+
[
|
23112
|
+
{"_key": 1, "url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class=\(aqemphasize\(aq>fast</span>"},
|
23113
|
+
{"_key": 2, "url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\e"emphasize\e">fast</span>"},
|
23114
|
+
]
|
23115
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
23116
|
+
.ft P
|
23117
|
+
.fi
|
23118
|
+
.UNINDENT
|
23119
|
+
.UNINDENT
|
23120
|
+
.sp
|
23121
|
+
カラムの本文からHTMLタグを除去する \fBhtml_untag\fP 関数の簡単な例はこちらです。
|
23122
|
+
.sp
|
23123
|
+
実行例:
|
23124
|
+
.INDENT 0.0
|
23125
|
+
.INDENT 3.5
|
23126
|
+
.sp
|
23127
|
+
.nf
|
23128
|
+
.ft C
|
23129
|
+
select WebClips \-\-output_columns "_key, html_untag(content)" \-\-command_version 2
|
23130
|
+
# [
|
23131
|
+
# [
|
23132
|
+
# 0,
|
23133
|
+
# 1337566253.89858,
|
23134
|
+
# 0.000355720520019531
|
23135
|
+
# ],
|
23136
|
+
# [
|
23137
|
+
# [
|
23138
|
+
# [
|
23139
|
+
# 2
|
23140
|
+
# ],
|
23141
|
+
# [
|
23142
|
+
# [
|
23143
|
+
# "html_untag",
|
23144
|
+
# "null"
|
23145
|
+
# ]
|
23146
|
+
# ],
|
23147
|
+
# [
|
23148
|
+
# "groonga is fast"
|
23149
|
+
# ],
|
23150
|
+
# [
|
23151
|
+
# "mroonga is fast"
|
23152
|
+
# ]
|
23153
|
+
# ]
|
23154
|
+
# ]
|
23155
|
+
# ]
|
23156
|
+
.ft P
|
23157
|
+
.fi
|
23158
|
+
.UNINDENT
|
23159
|
+
.UNINDENT
|
23160
|
+
.sp
|
23161
|
+
上記クエリを実行すると、"class" 属性つきの "span" タグが除去されているのがわかります。\fBhtml_untag\fP 関数を使うのには \fB\-\-command_vesion 2\fP を指定しなければならないことに注意してください。
|
23162
|
+
.SS 引数
|
23163
|
+
.sp
|
23164
|
+
必須引数が一つあり、それは \fBcolumn\fP です。
|
23165
|
+
.SS \fBcolumn\fP
|
23166
|
+
.sp
|
23167
|
+
テーブルのカラムを指定します。
|
23168
|
+
.SS 戻り値
|
23169
|
+
.sp
|
23170
|
+
\fBhtml_untag\fP はカラムの本文からHTMLタグを除去したテキストを返します。
|
22486
23171
|
.SS now
|
22487
23172
|
.SS 名前
|
22488
23173
|
.sp
|
@@ -22792,24 +23477,22 @@ select Users \-\-output_columns name,memo,_score \-\-filter \(aqquery("memo * 10
|
|
22792
23477
|
.sp
|
22793
23478
|
必須引数は二つあります。 \fBmatch_column\fP と \fBquery_string\fP です。
|
22794
23479
|
.SS \fBmatch_column\fP
|
22795
|
-
.INDENT 0.0
|
22796
|
-
.INDENT 3.5
|
22797
|
-
\fBmatch_columns\fP と同様のパラメータを指定します。
|
22798
|
-
.UNINDENT
|
22799
|
-
.UNINDENT
|
22800
23480
|
.sp
|
22801
|
-
|
23481
|
+
It specifies the default target column for fulltext search by
|
23482
|
+
\fBquery_string\fP parameter value. It is the same role as
|
23483
|
+
\fBmatch_column\fP parameter in \fBselect\fP.
|
23484
|
+
.sp
|
23485
|
+
\fBselect\fP コマンドの \fBmatch_column\fP については \fIselect\-match\-columns\fP を参照してください。
|
22802
23486
|
.SS \fBquery_string\fP
|
22803
|
-
.INDENT 0.0
|
22804
|
-
.INDENT 3.5
|
22805
|
-
\fBquery\fP と同様のパラメータを指定します。
|
22806
|
-
.UNINDENT
|
22807
|
-
.UNINDENT
|
22808
23487
|
.sp
|
22809
|
-
|
23488
|
+
It specifies the search condition in
|
23489
|
+
\fB/reference/grn_expr/query_syntax\fP. It is the same role as
|
23490
|
+
\fBquery\fP parameter in \fBselect\fP.
|
23491
|
+
.sp
|
23492
|
+
\fBselect\fP コマンドの \fBquery\fP については \fIselect\-match\-columns\fP を参照してください。
|
22810
23493
|
.SS 省略可能引数
|
22811
23494
|
.sp
|
22812
|
-
|
23495
|
+
いくつか省略可能な引数があります。
|
22813
23496
|
.SS \fBquery_expander\fP
|
22814
23497
|
.sp
|
22815
23498
|
クエリ展開に使うプラグイン名を指定します。
|
@@ -22824,7 +23507,9 @@ query stringについては \fIselect\-query\fP を参照してください。
|
|
22824
23507
|
詳細については \fIquery\-expander\fP を参照してください。
|
22825
23508
|
.SS 戻り値
|
22826
23509
|
.sp
|
22827
|
-
\fBquery\fP
|
23510
|
+
\fBquery\fP returns whether any record is matched or not. If one or more
|
23511
|
+
records are matched, it returns \fBtrue\fP. Otherwise, it returns
|
23512
|
+
\fBfalse\fP.
|
22828
23513
|
.SS TODO
|
22829
23514
|
.INDENT 0.0
|
22830
23515
|
.IP \(bu 2
|
@@ -23066,18 +23751,18 @@ select Documents \-\-output_columns \(aqsnippet_html("Groonga is very fast fullt
|
|
23066
23751
|
.SS sub_filter
|
23067
23752
|
.SS 概要
|
23068
23753
|
.sp
|
23069
|
-
\fBsub_filter\fP は \
|
23754
|
+
\fBsub_filter\fP は \fBfilter_string\fP を \fBscope\fP のコンテキストで評価します。
|
23070
23755
|
.sp
|
23071
23756
|
\fBsub_filter\fP は \fB/reference/commands/select\fP コマンドの \fB\-\-filter\fP 内でのみ指定できます。
|
23072
23757
|
.SS 構文
|
23073
23758
|
.sp
|
23074
|
-
\fBsub_filter\fP は2つの引数が必要です。 \
|
23759
|
+
\fBsub_filter\fP は2つの引数が必要です。 \fBscope\fP と \fBfilter_string\fP です。
|
23075
23760
|
.INDENT 0.0
|
23076
23761
|
.INDENT 3.5
|
23077
23762
|
.sp
|
23078
23763
|
.nf
|
23079
23764
|
.ft C
|
23080
|
-
sub_filter(
|
23765
|
+
sub_filter(scope, filter_string)
|
23081
23766
|
.ft P
|
23082
23767
|
.fi
|
23083
23768
|
.UNINDENT
|
@@ -23248,30 +23933,32 @@ sub_filterは以下の条件が満たされていることを要求します。
|
|
23248
23933
|
.UNINDENT
|
23249
23934
|
.SS 引数
|
23250
23935
|
.sp
|
23251
|
-
必須引数は二つあります。 \
|
23252
|
-
.SS \
|
23253
|
-
.INDENT 0.0
|
23254
|
-
.INDENT 3.5
|
23255
|
-
\fBmatch_columns\fP と同様のパラメータを指定します。
|
23256
|
-
.UNINDENT
|
23257
|
-
.UNINDENT
|
23936
|
+
必須引数は二つあります。 \fBscope\fP と \fBfilter_string\fP です。
|
23937
|
+
.SS \fBscope\fP
|
23258
23938
|
.sp
|
23259
|
-
|
23260
|
-
.
|
23261
|
-
.
|
23262
|
-
|
23263
|
-
\fBquery\fP と同様のパラメータを指定します。
|
23264
|
-
.UNINDENT
|
23265
|
-
.UNINDENT
|
23939
|
+
It specifies a column of the table that is specified by \fBtable\fP
|
23940
|
+
parameter in \fBselect\fP. \fBfilter_string\fP is evaluated in the column
|
23941
|
+
context. It means that \fBfilter_string\fP is evaluated like
|
23942
|
+
\fBselect \-\-table TYPE_OF_THE_COLUMN \-\-filter FILTER_STRING\fP.
|
23266
23943
|
.sp
|
23267
|
-
|
23944
|
+
The specified column type must be a table. In other words, the column
|
23945
|
+
type must be reference type.
|
23946
|
+
.sp
|
23947
|
+
\fBselect\fP コマンドの \fBtable\fP 引数については \fIselect\-table\fP を参照してください。
|
23948
|
+
.SS \fBfilter_string\fP
|
23949
|
+
.sp
|
23950
|
+
\fB/reference/grn_expr/script_syntax\fP の検索条件を指定します。これは \fBscope\fP のコンテキストで評価されます。
|
23268
23951
|
.SS 戻り値
|
23269
23952
|
.sp
|
23270
|
-
\fBsub_filter\fP
|
23953
|
+
\fBsub_filter\fP returns whether any record is matched or not. If one or
|
23954
|
+
more records are matched, it returns \fBtrue\fP. Otherwise, it returns
|
23955
|
+
\fBfalse\fP.
|
23271
23956
|
.SS 参考
|
23272
23957
|
.INDENT 0.0
|
23273
23958
|
.IP \(bu 2
|
23274
23959
|
\fB/reference/commands/select\fP
|
23960
|
+
.IP \(bu 2
|
23961
|
+
\fB/reference/grn_expr/script_syntax\fP
|
23275
23962
|
.UNINDENT
|
23276
23963
|
.SS インデックス構築
|
23277
23964
|
.sp
|
@@ -25999,7 +26686,7 @@ jekyllのインストールを行ったら、以下のコマンドでローカ
|
|
25999
26686
|
.sp
|
26000
26687
|
.nf
|
26001
26688
|
.ft C
|
26002
|
-
% jekyll
|
26689
|
+
% jekyll serve \-\-watch
|
26003
26690
|
.ft P
|
26004
26691
|
.fi
|
26005
26692
|
.UNINDENT
|