rroonga 4.0.4-x64-mingw32 → 4.0.5-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +73 -0
- data/Rakefile +13 -0
- data/doc/text/news.textile +26 -2
- data/ext/groonga/extconf.rb +3 -1
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +160 -4
- data/ext/groonga/rb-grn-object.c +10 -1
- data/ext/groonga/rb-grn-posting.c +4 -4
- data/ext/groonga/rb-grn-table-key-support.c +9 -4
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn-utils.c +2 -6
- data/ext/groonga/rb-grn-variable-size-column.c +2 -2
- data/ext/groonga/rb-grn.h +27 -2
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/record.rb +19 -2
- data/lib/groonga/schema.rb +2 -2
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +5 -5
- data/test/test-column.rb +6 -6
- data/test/test-database.rb +6 -2
- data/test/test-double-array-trie.rb +18 -0
- data/test/test-expression-builder.rb +3 -2
- data/test/test-hash.rb +13 -1
- data/test/test-plugin.rb +3 -1
- data/test/test-record.rb +10 -0
- data/test/test-variable-size-column.rb +4 -4
- 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/libonig-5.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +78 -0
- data/vendor/local/include/oniggnu.h +85 -0
- data/vendor/local/include/onigposix.h +169 -0
- data/vendor/local/include/oniguruma.h +870 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +41 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +41 -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/groonga/scripts/ruby/backtrace_entry.rb +20 -0
- data/vendor/local/lib/groonga/scripts/ruby/context.rb +31 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/error_level.rb +30 -0
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +99 -0
- data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +13 -0
- data/vendor/local/lib/groonga/scripts/ruby/expression.rb +13 -0
- data/vendor/local/lib/groonga/scripts/ruby/index_info.rb +10 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger.rb +27 -0
- data/vendor/local/lib/groonga/scripts/ruby/logger/level.rb +32 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info.rb +30 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +342 -0
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +198 -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/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +41 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/oniguruma.pc +14 -0
- 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/report.txt +4 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +46 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -87
- 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 +68 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/lexicon.txt +5 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +265 -232
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +30 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +2 -2
- 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/cooperation.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 +5 -5
- 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/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +8 -9
- 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 +17 -18
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +63 -10
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +10 -108
- 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 +123 -48
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.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_db.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.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/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.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/column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +8 -8
- 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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/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/tuning.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 +9 -9
- 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/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +14 -13
- 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 +264 -250
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +46 -41
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +4 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +46 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -87
- 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 +68 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/lexicon.txt +5 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +265 -232
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +30 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +2 -2
- 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 +5 -5
- 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/cooperation.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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +14 -15
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +57 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +10 -102
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +130 -48
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +17 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +5 -5
- 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/ruby_eval.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +9 -9
- 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 +249 -237
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/license/mruby/AUTHORS +22 -0
- data/vendor/local/share/license/mruby/LEGAL +6 -0
- data/vendor/local/share/license/mruby/MITL +20 -0
- data/vendor/local/share/license/mruby/README.md +111 -0
- data/vendor/local/share/license/onigmo/AUTHORS +2 -0
- data/vendor/local/share/license/onigmo/COPYING +87 -0
- data/vendor/local/share/license/onigmo/README +249 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +471 -485
- data/vendor/local/share/man/man1/groonga.1 +389 -454
- metadata +82 -46
- data/README.textile +0 -73
@@ -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.1. 基本的な操作 — Groonga v4.0.
|
10
|
+
<title>4.1. 基本的な操作 — Groonga v4.0.5-143-g3391c1dドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.2. リモートアクセス" href="network.html" />
|
32
32
|
<link rel="prev" title="4. チュートリアル" href="../tutorial.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="../tutorial.html" title="4. チュートリアル"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -1076,7 +1076,7 @@ select --table Site --offset 7 --limit 3
|
|
1076
1076
|
<li class="right" >
|
1077
1077
|
<a href="../tutorial.html" title="4. チュートリアル"
|
1078
1078
|
>前へ</a> |</li>
|
1079
|
-
<li><a href="../index.html">Groonga v4.0.
|
1079
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
1080
1080
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
1081
1081
|
</ul>
|
1082
1082
|
</div>
|
@@ -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.9.
|
10
|
+
<title>4.9. 全文検索用の語彙表の作成 — Groonga v4.0.5-143-g3391c1dドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
32
32
|
<link rel="prev" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -71,10 +71,10 @@
|
|
71
71
|
<div class="bodywrapper">
|
72
72
|
<div class="body">
|
73
73
|
|
74
|
-
<div class="section" id="
|
75
|
-
<h1>4.9.
|
76
|
-
<p>Groonga
|
77
|
-
<p
|
74
|
+
<div class="section" id="additional-information-about-lexicon-for-full-text-search">
|
75
|
+
<h1>4.9. 全文検索用の語彙表の作成<a class="headerlink" href="#additional-information-about-lexicon-for-full-text-search" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
|
+
<p>Groongaでは、全文検索に用いるための語彙表がテーブルとして扱えます。よって、語彙ごとに複数の情報を保持することができます。例えば、語彙の出現数や検索ストップワードのフラグ、単語の重要度などを保持することができます。</p>
|
77
|
+
<p>TODO: この項目については、現在執筆中です。</p>
|
78
78
|
</div>
|
79
79
|
|
80
80
|
|
@@ -123,7 +123,7 @@
|
|
123
123
|
<li class="right" >
|
124
124
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
125
125
|
>前へ</a> |</li>
|
126
|
-
<li><a href="../index.html">Groonga v4.0.
|
126
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
127
127
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
128
128
|
</ul>
|
129
129
|
</div>
|
@@ -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.7. match_columnsパラメータ — Groonga v4.0.
|
10
|
+
<title>4.7. match_columnsパラメータ — Groonga v4.0.5-143-g3391c1dドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
32
32
|
<link rel="prev" title="4.6. タグ検索・参照関係の逆引き" href="index.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -743,7 +743,7 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
743
743
|
<li class="right" >
|
744
744
|
<a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
|
745
745
|
>前へ</a> |</li>
|
746
|
-
<li><a href="../index.html">Groonga v4.0.
|
746
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
747
747
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
748
748
|
</ul>
|
749
749
|
</div>
|
@@ -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.10. マイクロブログ検索システムの作成 — Groonga v4.0.
|
10
|
+
<title>4.10. マイクロブログ検索システムの作成 — Groonga v4.0.5-143-g3391c1dドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
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 v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1dドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.11. クエリ拡張" href="query_expansion.html" />
|
32
|
-
<link rel="prev" title="4.9.
|
32
|
+
<link rel="prev" title="4.9. 全文検索用の語彙表の作成" href="lexicon.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -59,9 +59,9 @@
|
|
59
59
|
<a href="query_expansion.html" title="4.11. クエリ拡張"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="lexicon.html" title="4.9.
|
62
|
+
<a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -71,11 +71,11 @@
|
|
71
71
|
<div class="bodywrapper">
|
72
72
|
<div class="body">
|
73
73
|
|
74
|
-
<div class="section" id="
|
75
|
-
<h1>4.10. マイクロブログ検索システムの作成<a class="headerlink" href="#
|
74
|
+
<div class="section" id="let-s-create-micro-blog">
|
75
|
+
<h1>4.10. マイクロブログ検索システムの作成<a class="headerlink" href="#let-s-create-micro-blog" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p>これまで学んだGroongaの機能を用いて、マイクロブログの検索システムを作成してみましょう。マイクロブログとは、Twitterのような短いメッセージを投稿するブログです。</p>
|
77
|
-
<div class="section" id="
|
78
|
-
<h2>4.10.1. テーブルの作成<a class="headerlink" href="#
|
77
|
+
<div class="section" id="create-a-table">
|
78
|
+
<h2>4.10.1. テーブルの作成<a class="headerlink" href="#create-a-table" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>まずは、テーブルを作成します。</p>
|
80
80
|
<div class="highlight-none"><div class="highlight"><pre>table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText
|
81
81
|
table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText
|
@@ -109,76 +109,94 @@ column_create --table GeoIndex --name users_location --type Users --flags COLUMN
|
|
109
109
|
column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location
|
110
110
|
</pre></div>
|
111
111
|
</div>
|
112
|
-
<div class="section" id="users">
|
113
|
-
<h3>4.10.1.1. Usersテーブル<a class="headerlink" href="#users" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
112
|
+
<div class="section" id="users-table">
|
113
|
+
<h3>4.10.1.1. Usersテーブル<a class="headerlink" href="#users-table" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
114
114
|
<p>ユーザーの名前や自己紹介文、フォローしているユーザー一覧など、ユーザー情報を格納するためのテーブルです。</p>
|
115
115
|
<dl class="docutils">
|
116
116
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
117
|
-
<dd>ユーザーID</
|
117
|
+
<dd><p class="first last">ユーザーID</p>
|
118
|
+
</dd>
|
118
119
|
<dt><tt class="docutils literal"><span class="pre">name</span></tt></dt>
|
119
|
-
<dd>ユーザー名</
|
120
|
+
<dd><p class="first last">ユーザー名</p>
|
121
|
+
</dd>
|
120
122
|
<dt><tt class="docutils literal"><span class="pre">follower</span></tt></dt>
|
121
|
-
<dd>フォローしているユーザーの一覧</
|
123
|
+
<dd><p class="first last">フォローしているユーザーの一覧</p>
|
124
|
+
</dd>
|
122
125
|
<dt><tt class="docutils literal"><span class="pre">favorites</span></tt></dt>
|
123
|
-
<dd>お気に入りのコメント一覧</
|
126
|
+
<dd><p class="first last">お気に入りのコメント一覧</p>
|
127
|
+
</dd>
|
124
128
|
<dt><tt class="docutils literal"><span class="pre">location</span></tt></dt>
|
125
|
-
<dd>ユーザーの現在地(緯度経度座標)</
|
129
|
+
<dd><p class="first last">ユーザーの現在地(緯度経度座標)</p>
|
130
|
+
</dd>
|
126
131
|
<dt><tt class="docutils literal"><span class="pre">location_str</span></tt></dt>
|
127
|
-
<dd>ユーザーの現在地(文字列)</
|
132
|
+
<dd><p class="first last">ユーザーの現在地(文字列)</p>
|
133
|
+
</dd>
|
128
134
|
<dt><tt class="docutils literal"><span class="pre">description</span></tt></dt>
|
129
|
-
<dd>ユーザーの自己紹介</
|
135
|
+
<dd><p class="first last">ユーザーの自己紹介</p>
|
136
|
+
</dd>
|
130
137
|
<dt><tt class="docutils literal"><span class="pre">followee</span></tt></dt>
|
131
|
-
<dd>Usersテーブルのfollowerカラムに対するインデックス。
|
132
|
-
|
138
|
+
<dd><p class="first last"><tt class="docutils literal"><span class="pre">Users</span></tt> テーブルの <tt class="docutils literal"><span class="pre">follower</span></tt> カラムに対するインデックス。 このインデックスを作ることで、あるユーザーをフォローしているユーザーを検索できるようになります。</p>
|
139
|
+
</dd>
|
133
140
|
</dl>
|
134
141
|
</div>
|
135
|
-
<div class="section" id="comments">
|
136
|
-
<h3>4.10.1.2. Commentsテーブル<a class="headerlink" href="#comments" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
142
|
+
<div class="section" id="comments-table">
|
143
|
+
<h3>4.10.1.2. Commentsテーブル<a class="headerlink" href="#comments-table" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
137
144
|
<p>コメント内容や投稿日時、返信先情報など、コメントに関する内容を格納するテーブルです。</p>
|
138
145
|
<dl class="docutils">
|
139
146
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
140
|
-
<dd>コメントID</
|
147
|
+
<dd><p class="first last">コメントID</p>
|
148
|
+
</dd>
|
141
149
|
<dt><tt class="docutils literal"><span class="pre">comment</span></tt></dt>
|
142
|
-
<dd>コメント内容</
|
150
|
+
<dd><p class="first last">コメント内容</p>
|
151
|
+
</dd>
|
143
152
|
<dt><tt class="docutils literal"><span class="pre">last_modified</span></tt></dt>
|
144
|
-
<dd>投稿日時</
|
153
|
+
<dd><p class="first last">投稿日時</p>
|
154
|
+
</dd>
|
145
155
|
<dt><tt class="docutils literal"><span class="pre">replied_to</span></tt></dt>
|
146
|
-
<dd>返信元のコメント内容</
|
156
|
+
<dd><p class="first last">返信元のコメント内容</p>
|
157
|
+
</dd>
|
147
158
|
<dt><tt class="docutils literal"><span class="pre">replied_users</span></tt></dt>
|
148
|
-
<dd>返信先のユーザーの一覧</
|
159
|
+
<dd><p class="first last">返信先のユーザーの一覧</p>
|
160
|
+
</dd>
|
149
161
|
<dt><tt class="docutils literal"><span class="pre">hash_tags</span></tt></dt>
|
150
|
-
<dd>コメントのハッシュタグの一覧</
|
162
|
+
<dd><p class="first last">コメントのハッシュタグの一覧</p>
|
163
|
+
</dd>
|
151
164
|
<dt><tt class="docutils literal"><span class="pre">location</span></tt></dt>
|
152
|
-
<dd>投稿場所(緯度経度座標のため)</
|
165
|
+
<dd><p class="first last">投稿場所(緯度経度座標のため)</p>
|
166
|
+
</dd>
|
153
167
|
<dt><tt class="docutils literal"><span class="pre">posted_by</span></tt></dt>
|
154
|
-
<dd>コメントを書いたユーザー</
|
168
|
+
<dd><p class="first last">コメントを書いたユーザー</p>
|
169
|
+
</dd>
|
155
170
|
<dt><tt class="docutils literal"><span class="pre">favorited_by</span></tt></dt>
|
156
|
-
<dd>Usersテーブルのfavoritesカラムに対するインデックス。
|
157
|
-
|
171
|
+
<dd><p class="first last"><tt class="docutils literal"><span class="pre">Users</span></tt> テーブルの <tt class="docutils literal"><span class="pre">favorites</span></tt> カラムに対するインデックス。 このインデックスを作ることで、指定したコメントを誰がお気に入りに入れているのかを検索できるようになります。</p>
|
172
|
+
</dd>
|
158
173
|
</dl>
|
159
174
|
</div>
|
160
|
-
<div class="section" id="hashtags">
|
161
|
-
<h3>4.10.1.3. HashTagsテーブル<a class="headerlink" href="#hashtags" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
175
|
+
<div class="section" id="hashtags-table">
|
176
|
+
<h3>4.10.1.3. HashTagsテーブル<a class="headerlink" href="#hashtags-table" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
162
177
|
<p>コメントのハッシュタグを一覧で保存するためのテーブルです。</p>
|
163
178
|
<dl class="docutils">
|
164
179
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
165
|
-
<dd>ハッシュタグ</
|
180
|
+
<dd><p class="first last">ハッシュタグ</p>
|
181
|
+
</dd>
|
166
182
|
<dt><tt class="docutils literal"><span class="pre">hash_index</span></tt></dt>
|
167
|
-
<dd>「Comments.hash_tags」のインデックス。
|
168
|
-
|
183
|
+
<dd><p class="first last">「Comments.hash_tags」のインデックス。 このインデックスを作ることで、指定したハッシュタグのついているコメントの一覧を出すことが出来るようになります。</p>
|
184
|
+
</dd>
|
169
185
|
</dl>
|
170
186
|
</div>
|
171
|
-
<div class="section" id="bigram">
|
172
|
-
<h3>4.10.1.4. Bigramテーブル<a class="headerlink" href="#bigram" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
187
|
+
<div class="section" id="bigram-table">
|
188
|
+
<h3>4.10.1.4. Bigramテーブル<a class="headerlink" href="#bigram-table" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
173
189
|
<p>ユーザー情報・コメントで全文検索が出来るようにするためのインデックスを格納するテーブルです。</p>
|
174
190
|
<dl class="docutils">
|
175
191
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
176
|
-
<dd>単語</
|
192
|
+
<dd><p class="first last">単語</p>
|
193
|
+
</dd>
|
177
194
|
<dt><tt class="docutils literal"><span class="pre">users_index</span></tt></dt>
|
178
|
-
<dd>ユーザー情報のインデックス。
|
179
|
-
|
195
|
+
<dd><p class="first last">ユーザー情報のインデックス。 このカラムは、ユーザー名「Users.name」、現在地「Users.location_str」、自己紹介文「Users.description」のインデックスになっています。</p>
|
196
|
+
</dd>
|
180
197
|
<dt><tt class="docutils literal"><span class="pre">comment_index</span></tt></dt>
|
181
|
-
<dd>コメント内容「Comments.comment」のインデックス</
|
198
|
+
<dd><p class="first last">コメント内容「Comments.comment」のインデックス</p>
|
199
|
+
</dd>
|
182
200
|
</dl>
|
183
201
|
</div>
|
184
202
|
<div class="section" id="geoindex-table">
|
@@ -194,119 +212,118 @@ column_create --table GeoIndex --name comments_location --type Comments --flags
|
|
194
212
|
</dl>
|
195
213
|
</div>
|
196
214
|
</div>
|
197
|
-
<div class="section" id="
|
198
|
-
<h2>4.10.2. データのロード<a class="headerlink" href="#
|
215
|
+
<div class="section" id="loading-data">
|
216
|
+
<h2>4.10.2. データのロード<a class="headerlink" href="#loading-data" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
199
217
|
<p>つづいて、テスト用データをロードします。</p>
|
200
218
|
<div class="highlight-none"><div class="highlight"><pre>load --table Users
|
201
219
|
[
|
202
220
|
{
|
203
|
-
"_key": "
|
204
|
-
"name": "
|
205
|
-
"follower": ["
|
221
|
+
"_key": "alice",
|
222
|
+
"name": "Alice",
|
223
|
+
"follower": ["bob"],
|
206
224
|
"favorites": [],
|
207
|
-
"location": "
|
208
|
-
"location_str": "
|
209
|
-
"description": "
|
225
|
+
"location": "152489000x-255829000",
|
226
|
+
"location_str": "Boston, Massachusetts",
|
227
|
+
"description": "Groonga developer"
|
210
228
|
},
|
211
229
|
{
|
212
|
-
"_key": "
|
213
|
-
"name": "
|
214
|
-
"follower": ["
|
215
|
-
"favorites": ["
|
216
|
-
"location": "
|
217
|
-
"location_str": "
|
218
|
-
"description": "
|
230
|
+
"_key": "bob",
|
231
|
+
"name": "Bob",
|
232
|
+
"follower": ["alice","charlie"],
|
233
|
+
"favorites": ["alice:1","charlie:1"],
|
234
|
+
"location": "146249000x-266228000",
|
235
|
+
"location_str": "Brooklyn, New York City",
|
236
|
+
"description": ""
|
219
237
|
},
|
220
238
|
{
|
221
|
-
"_key": "
|
222
|
-
"name": "
|
223
|
-
"follower": ["
|
224
|
-
"favorites": ["
|
225
|
-
"location": "
|
226
|
-
"location_str": "
|
227
|
-
"description": "
|
239
|
+
"_key": "charlie",
|
240
|
+
"name": "Charlie",
|
241
|
+
"follower": ["alice","bob"],
|
242
|
+
"favorites": ["alice:1","bob:1"],
|
243
|
+
"location": "146607190x-267021260",
|
244
|
+
"location_str": "Newark, New Jersey",
|
245
|
+
"description": "Hmm,Hmm"
|
228
246
|
}
|
229
247
|
]
|
230
248
|
|
231
249
|
load --table Comments
|
232
250
|
[
|
233
251
|
{
|
234
|
-
"_key": "
|
235
|
-
"comment": "
|
252
|
+
"_key": "alice:1",
|
253
|
+
"comment": "I've created micro-blog!",
|
236
254
|
"last_modified": "2010/03/17 12:05:00",
|
237
|
-
"posted_by": "
|
255
|
+
"posted_by": "alice",
|
238
256
|
},
|
239
257
|
{
|
240
|
-
"_key": "
|
241
|
-
"comment": "
|
258
|
+
"_key": "bob:1",
|
259
|
+
"comment": "First post. test,test...",
|
242
260
|
"last_modified": "2010/03/17 12:00:00",
|
243
|
-
"posted_by": "
|
261
|
+
"posted_by": "bob",
|
244
262
|
},
|
245
263
|
{
|
246
|
-
"_key": "
|
247
|
-
"comment": "@
|
264
|
+
"_key": "alice:2",
|
265
|
+
"comment": "@bob Welcome!!!",
|
248
266
|
"last_modified": "2010/03/17 12:05:00",
|
249
|
-
"replied_to": "
|
250
|
-
"replied_users": ["
|
251
|
-
"posted_by": "
|
267
|
+
"replied_to": "bob:1",
|
268
|
+
"replied_users": ["bob"],
|
269
|
+
"posted_by": "alice",
|
252
270
|
},
|
253
271
|
{
|
254
|
-
"_key": "
|
255
|
-
"comment": "@
|
272
|
+
"_key": "bob:2",
|
273
|
+
"comment": "@alice Thanks!",
|
256
274
|
"last_modified": "2010/03/17 13:00:00",
|
257
|
-
"replied_to": "
|
258
|
-
"replied_users": ["
|
259
|
-
"posted_by": "
|
275
|
+
"replied_to": "alice:2",
|
276
|
+
"replied_users": ["alice"],
|
277
|
+
"posted_by": "bob",
|
260
278
|
},
|
261
279
|
{
|
262
|
-
"_key": "
|
263
|
-
"comment": "
|
280
|
+
"_key": "bob:3",
|
281
|
+
"comment": "I've just used 'Try-Groonga' now! #groonga",
|
264
282
|
"last_modified": "2010/03/17 14:00:00",
|
265
283
|
"hash_tags": ["groonga"],
|
266
|
-
"location": "
|
267
|
-
"posted_by": "
|
284
|
+
"location": "146566000x-266422000",
|
285
|
+
"posted_by": "bob",
|
268
286
|
},
|
269
287
|
{
|
270
|
-
"_key": "
|
271
|
-
"comment": "
|
288
|
+
"_key": "bob:4",
|
289
|
+
"comment": "I'm come at city of New York for development camp! #groonga #travel",
|
272
290
|
"last_modified": "2010/03/17 14:05:00",
|
273
291
|
"hash_tags": ["groonga", "travel"],
|
274
|
-
"location": "
|
275
|
-
"posted_by": "
|
292
|
+
"location": "146566000x-266422000",
|
293
|
+
"posted_by": "bob",
|
276
294
|
},
|
277
295
|
{
|
278
|
-
"_key": "
|
279
|
-
"comment": "@
|
296
|
+
"_key": "charlie:1",
|
297
|
+
"comment": "@alice @bob I've tried to register!",
|
280
298
|
"last_modified": "2010/03/17 15:00:00",
|
281
|
-
"replied_users": ["
|
282
|
-
"location": "
|
283
|
-
"posted_by": "
|
299
|
+
"replied_users": ["alice", "bob"],
|
300
|
+
"location": "146607190x-267021260",
|
301
|
+
"posted_by": "charlie",
|
284
302
|
}
|
285
303
|
{
|
286
|
-
"_key": "
|
287
|
-
"comment": "
|
304
|
+
"_key": "charlie:2",
|
305
|
+
"comment": "I'm at the Museum of Modern Art in NY now!",
|
288
306
|
"last_modified": "2010/03/17 15:05:00",
|
289
|
-
"location": "
|
290
|
-
"posted_by": "
|
307
|
+
"location": "146741340x-266319590",
|
308
|
+
"posted_by": "charlie",
|
291
309
|
}
|
292
310
|
]
|
293
311
|
</pre></div>
|
294
312
|
</div>
|
295
|
-
<p>Usersテーブルのfollowerカラムとfavoritesカラム、そしてCommentsテーブルのreplied_usersカラムは、ベクターカラムです。そのため、これらのカラムは配列で値を指定します。</p>
|
296
|
-
<p>Usersテーブルのlocation
|
297
|
-
<p>Commentsテーブルのlast_modifiedカラムは、Time
|
298
|
-
1つ目の方法は、1970年1月1日0時0分0秒からの経過秒数の値を直接指定する方法です。このとき、小数部分を指定することでマイクロ秒数での指定が可能です。指定した値は、データのロードの際にマイクロ秒を単位とする整数値に変換後、格納されます。
|
299
|
-
2つ目の方法は、文字列で日時と時刻を指定する方法です。"年/月/日 時:分:秒"というフォーマットで記述することで、データロードの際に文字列からキャストされ、マイクロ秒数の値が格納されます。</p>
|
313
|
+
<p><tt class="docutils literal"><span class="pre">Users</span></tt> テーブルの <tt class="docutils literal"><span class="pre">follower</span></tt> カラムと <tt class="docutils literal"><span class="pre">favorites</span></tt> カラム、そして <tt class="docutils literal"><span class="pre">Comments</span></tt> テーブルの <tt class="docutils literal"><span class="pre">replied_users</span></tt> カラムは、ベクターカラムです。そのため、これらのカラムは配列で値を指定します。</p>
|
314
|
+
<p><tt class="docutils literal"><span class="pre">Users</span></tt> テーブルの <tt class="docutils literal"><span class="pre">location</span></tt> カラムと、<tt class="docutils literal"><span class="pre">Comments</span></tt> テーブルの <tt class="docutils literal"><span class="pre">location</span></tt> カラムは、 <tt class="docutils literal"><span class="pre">GeoPoint</span></tt> 型です。この型での値の指定は、"[緯度]x[経度]"と記述して指定します。</p>
|
315
|
+
<p><tt class="docutils literal"><span class="pre">Comments</span></tt> テーブルの <tt class="docutils literal"><span class="pre">last_modified</span></tt> カラムは、Time型です。</p>
|
316
|
+
<p>この型での値を指定する方法は2つあります。1つ目の方法は、1970年1月1日0時0分0秒からの経過秒数の値を直接指定する方法です。このとき、小数部分を指定することでマイクロ秒数での指定が可能です。指定した値は、データのロードの際にマイクロ秒を単位とする整数値に変換後、格納されます。 2つ目の方法は、文字列で日時と時刻を指定する方法です。"年/月/日 時:分:秒"というフォーマットで記述することで、データロードの際に文字列からキャストされ、マイクロ秒数の値が格納されます。</p>
|
300
317
|
</div>
|
301
|
-
<div class="section" id="
|
302
|
-
<h2>4.10.3. 検索<a class="headerlink" href="#
|
303
|
-
<p
|
304
|
-
<div class="section" id="
|
305
|
-
<h3>4.10.3.1. キーワードでユーザー検索<a class="headerlink" href="#
|
306
|
-
<p>ここでは、 <a class="reference internal" href="match_columns.html"><em>match_columnsパラメータ</em></a>
|
307
|
-
|
318
|
+
<div class="section" id="search">
|
319
|
+
<h2>4.10.3. 検索<a class="headerlink" href="#search" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
320
|
+
<p>マイクロブログを検索してみましょう。</p>
|
321
|
+
<div class="section" id="search-users-by-keyword">
|
322
|
+
<h3>4.10.3.1. キーワードでユーザー検索<a class="headerlink" href="#search-users-by-keyword" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
323
|
+
<p>ここでは、 <a class="reference internal" href="match_columns.html"><em>match_columnsパラメータ</em></a> で扱った、複数カラムを対象とした検索を行います。</p>
|
324
|
+
<p>指定された文字列で、ユーザー名・現在地・自己紹介文を対象に検索をします。</p>
|
308
325
|
<p>実行例:</p>
|
309
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --match_columns name,location_str,description --query
|
326
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --match_columns name,location_str,description --query "New York" --output_columns _key,name
|
310
327
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
311
328
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
312
329
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -343,7 +360,7 @@ load --table Comments
|
|
343
360
|
# [
|
344
361
|
# [
|
345
362
|
# [
|
346
|
-
#
|
363
|
+
# 1
|
347
364
|
# ],
|
348
365
|
# [
|
349
366
|
# [
|
@@ -356,26 +373,22 @@ load --table Comments
|
|
356
373
|
# ]
|
357
374
|
# ],
|
358
375
|
# [
|
359
|
-
# "
|
360
|
-
# "
|
361
|
-
# ],
|
362
|
-
# [
|
363
|
-
# "OffGao",
|
364
|
-
# "OffGao"
|
376
|
+
# "bob",
|
377
|
+
# "Bob"
|
365
378
|
# ]
|
366
379
|
# ]
|
367
380
|
# ]
|
368
381
|
# ]
|
369
382
|
</pre></div>
|
370
383
|
</div>
|
371
|
-
<p
|
384
|
+
<p>「New York」をキーワードにユーザー検索した結果、New Yorkに住んでいる「Bob」がヒットしました。</p>
|
372
385
|
</div>
|
373
|
-
<div class="section" id="geopoint">
|
374
|
-
<h3>4.10.3.2. GeoPointでユーザー検索<a class="headerlink" href="#geopoint" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
375
|
-
<p>ここでは、 <a class="reference internal" href="search.html"><em>さまざまな検索条件</em></a>
|
376
|
-
|
386
|
+
<div class="section" id="search-users-by-geolocation-data-geopoint">
|
387
|
+
<h3>4.10.3.2. 位置情報(GeoPoint)でユーザー検索<a class="headerlink" href="#search-users-by-geolocation-data-geopoint" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
388
|
+
<p>ここでは、GeoPoint型のカラムで検索をします。GeoPoint型については <a class="reference internal" href="search.html"><em>さまざまな検索条件</em></a> を参照してください。</p>
|
389
|
+
<p>次の例では、特定の場所から20km以内に住んでいる人を検索します。</p>
|
377
390
|
<p>実行例:</p>
|
378
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --filter 'geo_in_circle(location,"
|
391
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --filter 'geo_in_circle(location,"146710080x-266315480",20000)' --output_columns _key,name
|
379
392
|
# [
|
380
393
|
# [
|
381
394
|
# 0,
|
@@ -398,26 +411,26 @@ load --table Comments
|
|
398
411
|
# ]
|
399
412
|
# ],
|
400
413
|
# [
|
401
|
-
# "
|
402
|
-
# "
|
414
|
+
# "charlie",
|
415
|
+
# "Charlie"
|
403
416
|
# ],
|
404
417
|
# [
|
405
|
-
# "
|
406
|
-
# "
|
418
|
+
# "bob",
|
419
|
+
# "Bob"
|
407
420
|
# ]
|
408
421
|
# ]
|
409
422
|
# ]
|
410
423
|
# ]
|
411
424
|
</pre></div>
|
412
425
|
</div>
|
413
|
-
<p
|
426
|
+
<p>「Bob」と「Charlie」が「Grand Central Terminal」から20km以内に住んでいることがわかります。</p>
|
414
427
|
</div>
|
415
|
-
<div class="section" id="
|
416
|
-
<h3>4.10.3.3.
|
417
|
-
<p>ここでは、 <a class="reference internal" href="index.html"><em>タグ検索・参照関係の逆引き</em></a>
|
418
|
-
|
428
|
+
<div class="section" id="search-users-who-follows-specific-user">
|
429
|
+
<h3>4.10.3.3. あるユーザーをフォローしてるユーザーの検索<a class="headerlink" href="#search-users-who-follows-specific-user" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
430
|
+
<p>ここでは、 <a class="reference internal" href="index.html"><em>タグ検索・参照関係の逆引き</em></a> の参照関係の逆引きをします。</p>
|
431
|
+
<p>次の例は、 <tt class="docutils literal"><span class="pre">Users</span></tt> テーブルの <tt class="docutils literal"><span class="pre">follower</span></tt> カラムにあるフォローリストを逆引きします。</p>
|
419
432
|
<p>実行例:</p>
|
420
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query follower:@
|
433
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query follower:@bob --output_columns _key,name
|
421
434
|
# [
|
422
435
|
# [
|
423
436
|
# 0,
|
@@ -440,26 +453,26 @@ load --table Comments
|
|
440
453
|
# ]
|
441
454
|
# ],
|
442
455
|
# [
|
443
|
-
# "
|
444
|
-
# "
|
456
|
+
# "alice",
|
457
|
+
# "Alice"
|
445
458
|
# ],
|
446
459
|
# [
|
447
|
-
# "
|
448
|
-
# "
|
460
|
+
# "charlie",
|
461
|
+
# "Charlie"
|
449
462
|
# ]
|
450
463
|
# ]
|
451
464
|
# ]
|
452
465
|
# ]
|
453
466
|
</pre></div>
|
454
467
|
</div>
|
455
|
-
<p
|
468
|
+
<p>「Alice」と「Charlie」が「Bob」をフォローしていることがわかります。</p>
|
456
469
|
</div>
|
457
|
-
<div class="section" id="
|
458
|
-
<h3>4.10.3.4. GeoPointでコメント検索<a class="headerlink" href="#
|
459
|
-
<p
|
460
|
-
|
470
|
+
<div class="section" id="search-comments-by-using-the-value-of-geopoint-type">
|
471
|
+
<h3>4.10.3.4. GeoPointでコメント検索<a class="headerlink" href="#search-comments-by-using-the-value-of-geopoint-type" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
472
|
+
<p>ある範囲内で書かれたコメントを検索します。</p>
|
473
|
+
<p>また、 <a class="reference internal" href="drilldown.html"><em>ドリルダウン</em></a> をおこないます。検索結果をハッシュタグとユーザーでドリルダウンし、ユーザー別・ハッシュタグ別のカウントを出します。</p>
|
461
474
|
<p>実行例:</p>
|
462
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --filter 'geo_in_circle(location,"
|
475
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
463
476
|
# [
|
464
477
|
# [
|
465
478
|
# 0,
|
@@ -482,20 +495,20 @@ load --table Comments
|
|
482
495
|
# ]
|
483
496
|
# ],
|
484
497
|
# [
|
485
|
-
# "
|
486
|
-
# "
|
498
|
+
# "Charlie",
|
499
|
+
# "I'm at the Museum of Modern Art in NY now!"
|
487
500
|
# ],
|
488
501
|
# [
|
489
|
-
# "
|
490
|
-
# "
|
502
|
+
# "Bob",
|
503
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
491
504
|
# ],
|
492
505
|
# [
|
493
|
-
# "
|
494
|
-
# "
|
506
|
+
# "Bob",
|
507
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
495
508
|
# ],
|
496
509
|
# [
|
497
|
-
# "
|
498
|
-
# "
|
510
|
+
# "Charlie",
|
511
|
+
# "@alice @bob I've tried to register!"
|
499
512
|
# ]
|
500
513
|
# ],
|
501
514
|
# [
|
@@ -536,11 +549,11 @@ load --table Comments
|
|
536
549
|
# ]
|
537
550
|
# ],
|
538
551
|
# [
|
539
|
-
# "
|
552
|
+
# "charlie",
|
540
553
|
# 2
|
541
554
|
# ],
|
542
555
|
# [
|
543
|
-
# "
|
556
|
+
# "bob",
|
544
557
|
# 2
|
545
558
|
# ]
|
546
559
|
# ]
|
@@ -548,14 +561,14 @@ load --table Comments
|
|
548
561
|
# ]
|
549
562
|
</pre></div>
|
550
563
|
</div>
|
551
|
-
<p
|
564
|
+
<p>このクエリは、ニューヨークのセントラルパークから20km圏内で投稿されたコメントを検索します。</p>
|
565
|
+
<p>指定した範囲が20kmなので、位置情報を含むすべてのコメントが検索されました。#groongaというハッシュタグが2件、#travelというハッシュタグが1件で、BobとCharlieがコメントしているのは2件あります。</p>
|
552
566
|
</div>
|
553
|
-
<div class="section" id="
|
554
|
-
<h3>4.10.3.5. キーワードでコメント検索<a class="headerlink" href="#
|
555
|
-
<p
|
556
|
-
さらに、 <a class="reference internal" href="search.html"><em>さまざまな検索条件</em></a> で扱った、スコア値_scoreも出してみましょう。</p>
|
567
|
+
<div class="section" id="search-comments-by-keyword">
|
568
|
+
<h3>4.10.3.5. キーワードでコメント検索<a class="headerlink" href="#search-comments-by-keyword" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
569
|
+
<p>あるキーワードを含むコメントを検索します。そして、 <a class="reference internal" href="search.html"><em>さまざまな検索条件</em></a> で言及している <cite>_score</cite> を出してみます。</p>
|
557
570
|
<p>実行例:</p>
|
558
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment
|
571
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment:@Now --output_columns comment,_score
|
559
572
|
# [
|
560
573
|
# [
|
561
574
|
# 0,
|
@@ -578,25 +591,25 @@ load --table Comments
|
|
578
591
|
# ]
|
579
592
|
# ],
|
580
593
|
# [
|
581
|
-
# "
|
594
|
+
# "I've just used 'Try-Groonga' now! #groonga",
|
582
595
|
# 1
|
583
596
|
# ],
|
584
597
|
# [
|
585
|
-
# "
|
586
|
-
#
|
598
|
+
# "I'm at the Museum of Modern Art in NY now!",
|
599
|
+
# 1
|
587
600
|
# ]
|
588
601
|
# ]
|
589
602
|
# ]
|
590
603
|
# ]
|
591
604
|
</pre></div>
|
592
605
|
</div>
|
593
|
-
<p
|
606
|
+
<p>'Now'をキーワードに使っているので、このクエリは2件のコメントを返します。 <cite>_score</cite> の値として 'Now'のカウントを含んでいます。</p>
|
594
607
|
</div>
|
595
|
-
<div class="section" id="
|
596
|
-
<h3>4.10.3.6.
|
597
|
-
<p
|
608
|
+
<div class="section" id="search-comments-by-keyword-and-geolocation">
|
609
|
+
<h3>4.10.3.6. キーワードと位置情報で検索<a class="headerlink" href="#search-comments-by-keyword-and-geolocation" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
610
|
+
<p>あるキーワードと位置情報の両方でコメントを検索します。 <cite>--query</cite> と <cite>--filter</cite> オプションの両方を使用した場合、両方の条件に一致するレコードを返します。</p>
|
598
611
|
<p>実行例:</p>
|
599
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment
|
612
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment:@New --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
600
613
|
# [
|
601
614
|
# [
|
602
615
|
# 0,
|
@@ -619,8 +632,8 @@ load --table Comments
|
|
619
632
|
# ]
|
620
633
|
# ],
|
621
634
|
# [
|
622
|
-
# "
|
623
|
-
# "
|
635
|
+
# "Bob",
|
636
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
624
637
|
# ]
|
625
638
|
# ],
|
626
639
|
# [
|
@@ -661,7 +674,7 @@ load --table Comments
|
|
661
674
|
# ]
|
662
675
|
# ],
|
663
676
|
# [
|
664
|
-
# "
|
677
|
+
# "bob",
|
665
678
|
# 1
|
666
679
|
# ]
|
667
680
|
# ]
|
@@ -669,12 +682,11 @@ load --table Comments
|
|
669
682
|
# ]
|
670
683
|
</pre></div>
|
671
684
|
</div>
|
672
|
-
<p
|
685
|
+
<p>両方の条件をみたすコメントが1件あります。ドリルダウンの結果も含まれ、Bobによるコメントであることがわかります。</p>
|
673
686
|
</div>
|
674
|
-
<div class="section" id="
|
675
|
-
<h3>4.10.3.7.
|
676
|
-
<p
|
677
|
-
これも、 <a class="reference internal" href="index.html"><em>タグ検索・参照関係の逆引き</em></a> で扱った、参照関係の逆引きを使います。</p>
|
687
|
+
<div class="section" id="search-comments-by-hash-tags">
|
688
|
+
<h3>4.10.3.7. ハッシュタグでコメントを検索<a class="headerlink" href="#search-comments-by-hash-tags" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
689
|
+
<p>あるハッシュタグのついているコメントを検索します。テーブルの参照関係を逆にたどってみましょう。</p>
|
678
690
|
<p>実行例:</p>
|
679
691
|
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
680
692
|
# [
|
@@ -699,12 +711,12 @@ load --table Comments
|
|
699
711
|
# ]
|
700
712
|
# ],
|
701
713
|
# [
|
702
|
-
# "
|
703
|
-
# "
|
714
|
+
# "Bob",
|
715
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
704
716
|
# ],
|
705
717
|
# [
|
706
|
-
# "
|
707
|
-
# "
|
718
|
+
# "Bob",
|
719
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
708
720
|
# ]
|
709
721
|
# ],
|
710
722
|
# [
|
@@ -722,7 +734,7 @@ load --table Comments
|
|
722
734
|
# ]
|
723
735
|
# ],
|
724
736
|
# [
|
725
|
-
# "
|
737
|
+
# "bob",
|
726
738
|
# 2
|
727
739
|
# ]
|
728
740
|
# ]
|
@@ -730,13 +742,13 @@ load --table Comments
|
|
730
742
|
# ]
|
731
743
|
</pre></div>
|
732
744
|
</div>
|
733
|
-
<p
|
745
|
+
<p>このクエリは#groongaハッシュタグを含む2件のコメントを返します。投稿者のドリルダウン結果を2件含んでいて、Bobが投稿したことがわかります。</p>
|
734
746
|
</div>
|
735
|
-
<div class="section" id="id">
|
736
|
-
<h3>4.10.3.8. ユーザーID
|
747
|
+
<div class="section" id="search-comments-by-user-id">
|
748
|
+
<h3>4.10.3.8. ユーザーIDでコメントを検索<a class="headerlink" href="#search-comments-by-user-id" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
737
749
|
<p>あるユーザーが投稿したコメントを検索します。</p>
|
738
750
|
<p>実行例:</p>
|
739
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query posted_by:
|
751
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query posted_by:bob --output_columns comment --drilldown hash_tags
|
740
752
|
# [
|
741
753
|
# [
|
742
754
|
# 0,
|
@@ -755,16 +767,16 @@ load --table Comments
|
|
755
767
|
# ]
|
756
768
|
# ],
|
757
769
|
# [
|
758
|
-
# "
|
770
|
+
# "First post. test,test..."
|
759
771
|
# ],
|
760
772
|
# [
|
761
|
-
# "@
|
773
|
+
# "@alice Thanks!"
|
762
774
|
# ],
|
763
775
|
# [
|
764
|
-
# "
|
776
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
765
777
|
# ],
|
766
778
|
# [
|
767
|
-
# "
|
779
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
768
780
|
# ]
|
769
781
|
# ],
|
770
782
|
# [
|
@@ -794,13 +806,13 @@ load --table Comments
|
|
794
806
|
# ]
|
795
807
|
</pre></div>
|
796
808
|
</div>
|
797
|
-
<p
|
809
|
+
<p>このクエリはBobによる4件のコメントを返します。ハッシュタグによるドリルダウン結果も含まれ、#groongaが2件、#travelが1件であることがわかります。</p>
|
798
810
|
</div>
|
799
|
-
<div class="section" id="
|
800
|
-
<h3>4.10.3.9.
|
801
|
-
<p
|
811
|
+
<div class="section" id="search-user-s-favorite-comments">
|
812
|
+
<h3>4.10.3.9. ユーザーのお気に入りのコメント一覧<a class="headerlink" href="#search-user-s-favorite-comments" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
813
|
+
<p>あるユーザーのお気に入りコメントを検索します。</p>
|
802
814
|
<p>実行例:</p>
|
803
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query _key:
|
815
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query _key:bob --output_columns favorites.posted_by,favorites.comment
|
804
816
|
# [
|
805
817
|
# [
|
806
818
|
# 0,
|
@@ -824,12 +836,12 @@ load --table Comments
|
|
824
836
|
# ],
|
825
837
|
# [
|
826
838
|
# [
|
827
|
-
# "
|
828
|
-
# "
|
839
|
+
# "alice",
|
840
|
+
# "charlie"
|
829
841
|
# ],
|
830
842
|
# [
|
831
|
-
# "
|
832
|
-
# "@
|
843
|
+
# "I've created micro-blog!",
|
844
|
+
# "@alice @bob I've tried to register!"
|
833
845
|
# ]
|
834
846
|
# ]
|
835
847
|
# ]
|
@@ -837,12 +849,12 @@ load --table Comments
|
|
837
849
|
# ]
|
838
850
|
</pre></div>
|
839
851
|
</div>
|
840
|
-
<p
|
852
|
+
<p>このクエリはBobのお気に入りのコメント一覧を返します。</p>
|
841
853
|
</div>
|
842
|
-
<div class="section" id="
|
843
|
-
<h3>4.10.3.10.
|
844
|
-
<p
|
845
|
-
|
854
|
+
<div class="section" id="search-comments-by-posted-time">
|
855
|
+
<h3>4.10.3.10. 投稿時間でコメントを検索<a class="headerlink" href="#search-comments-by-posted-time" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
856
|
+
<p>コメントの投稿時間で検索をします。<cite>Time</cite> 型については <a class="reference internal" href="data.html"><em>いろいろなデータの保存</em></a> を参照してください。</p>
|
857
|
+
<p>ある時刻よりも古いコメントを検索します。</p>
|
846
858
|
<p>実行例:</p>
|
847
859
|
<div class="highlight-none"><div class="highlight"><pre>select Comments --filter 'last_modified<=1268802000' --output_columns posted_by.name,comment,last_modified --drilldown hash_tags,posted_by
|
848
860
|
# [
|
@@ -871,28 +883,28 @@ load --table Comments
|
|
871
883
|
# ]
|
872
884
|
# ],
|
873
885
|
# [
|
874
|
-
# "
|
875
|
-
# "
|
886
|
+
# "Alice",
|
887
|
+
# "I've created micro-blog!",
|
876
888
|
# 1268795100.0
|
877
889
|
# ],
|
878
890
|
# [
|
879
|
-
# "
|
880
|
-
# "
|
891
|
+
# "Bob",
|
892
|
+
# "First post. test,test...",
|
881
893
|
# 1268794800.0
|
882
894
|
# ],
|
883
895
|
# [
|
884
|
-
# "
|
885
|
-
# "@
|
896
|
+
# "Alice",
|
897
|
+
# "@bob Welcome!!!",
|
886
898
|
# 1268795100.0
|
887
899
|
# ],
|
888
900
|
# [
|
889
|
-
# "
|
890
|
-
# "@
|
901
|
+
# "Bob",
|
902
|
+
# "@alice Thanks!",
|
891
903
|
# 1268798400.0
|
892
904
|
# ],
|
893
905
|
# [
|
894
|
-
# "
|
895
|
-
# "
|
906
|
+
# "Bob",
|
907
|
+
# "I've just used 'Try-Groonga' now! #groonga",
|
896
908
|
# 1268802000.0
|
897
909
|
# ]
|
898
910
|
# ],
|
@@ -930,11 +942,11 @@ load --table Comments
|
|
930
942
|
# ]
|
931
943
|
# ],
|
932
944
|
# [
|
933
|
-
# "
|
945
|
+
# "alice",
|
934
946
|
# 2
|
935
947
|
# ],
|
936
948
|
# [
|
937
|
-
# "
|
949
|
+
# "bob",
|
938
950
|
# 3
|
939
951
|
# ]
|
940
952
|
# ]
|
@@ -942,7 +954,7 @@ load --table Comments
|
|
942
954
|
# ]
|
943
955
|
</pre></div>
|
944
956
|
</div>
|
945
|
-
<p
|
957
|
+
<p>このクエリは2010/03/17 14:00:00以前の5件のコメントを返します。投稿者によるドリルダウン結果も含まれ、Aliceが2件、Bobが3件であることがわかります。</p>
|
946
958
|
</div>
|
947
959
|
</div>
|
948
960
|
</div>
|
@@ -956,26 +968,26 @@ load --table Comments
|
|
956
968
|
<h3><a href="../index.html">目次</a></h3>
|
957
969
|
<ul>
|
958
970
|
<li><a class="reference internal" href="#">4.10. マイクロブログ検索システムの作成</a><ul>
|
959
|
-
<li><a class="reference internal" href="#
|
960
|
-
<li><a class="reference internal" href="#users">4.10.1.1. Usersテーブル</a></li>
|
961
|
-
<li><a class="reference internal" href="#comments">4.10.1.2. Commentsテーブル</a></li>
|
962
|
-
<li><a class="reference internal" href="#hashtags">4.10.1.3. HashTagsテーブル</a></li>
|
963
|
-
<li><a class="reference internal" href="#bigram">4.10.1.4. Bigramテーブル</a></li>
|
971
|
+
<li><a class="reference internal" href="#create-a-table">4.10.1. テーブルの作成</a><ul>
|
972
|
+
<li><a class="reference internal" href="#users-table">4.10.1.1. Usersテーブル</a></li>
|
973
|
+
<li><a class="reference internal" href="#comments-table">4.10.1.2. Commentsテーブル</a></li>
|
974
|
+
<li><a class="reference internal" href="#hashtags-table">4.10.1.3. HashTagsテーブル</a></li>
|
975
|
+
<li><a class="reference internal" href="#bigram-table">4.10.1.4. Bigramテーブル</a></li>
|
964
976
|
<li><a class="reference internal" href="#geoindex-table">4.10.1.5. GeoIndexテーブル</a></li>
|
965
977
|
</ul>
|
966
978
|
</li>
|
967
|
-
<li><a class="reference internal" href="#
|
968
|
-
<li><a class="reference internal" href="#
|
969
|
-
<li><a class="reference internal" href="#
|
970
|
-
<li><a class="reference internal" href="#geopoint">4.10.3.2. GeoPointでユーザー検索</a></li>
|
971
|
-
<li><a class="reference internal" href="#
|
972
|
-
<li><a class="reference internal" href="#
|
973
|
-
<li><a class="reference internal" href="#
|
974
|
-
<li><a class="reference internal" href="#
|
975
|
-
<li><a class="reference internal" href="#
|
976
|
-
<li><a class="reference internal" href="#id">4.10.3.8. ユーザーID
|
977
|
-
<li><a class="reference internal" href="#
|
978
|
-
<li><a class="reference internal" href="#
|
979
|
+
<li><a class="reference internal" href="#loading-data">4.10.2. データのロード</a></li>
|
980
|
+
<li><a class="reference internal" href="#search">4.10.3. 検索</a><ul>
|
981
|
+
<li><a class="reference internal" href="#search-users-by-keyword">4.10.3.1. キーワードでユーザー検索</a></li>
|
982
|
+
<li><a class="reference internal" href="#search-users-by-geolocation-data-geopoint">4.10.3.2. 位置情報(GeoPoint)でユーザー検索</a></li>
|
983
|
+
<li><a class="reference internal" href="#search-users-who-follows-specific-user">4.10.3.3. あるユーザーをフォローしてるユーザーの検索</a></li>
|
984
|
+
<li><a class="reference internal" href="#search-comments-by-using-the-value-of-geopoint-type">4.10.3.4. GeoPointでコメント検索</a></li>
|
985
|
+
<li><a class="reference internal" href="#search-comments-by-keyword">4.10.3.5. キーワードでコメント検索</a></li>
|
986
|
+
<li><a class="reference internal" href="#search-comments-by-keyword-and-geolocation">4.10.3.6. キーワードと位置情報で検索</a></li>
|
987
|
+
<li><a class="reference internal" href="#search-comments-by-hash-tags">4.10.3.7. ハッシュタグでコメントを検索</a></li>
|
988
|
+
<li><a class="reference internal" href="#search-comments-by-user-id">4.10.3.8. ユーザーIDでコメントを検索</a></li>
|
989
|
+
<li><a class="reference internal" href="#search-user-s-favorite-comments">4.10.3.9. ユーザーのお気に入りのコメント一覧</a></li>
|
990
|
+
<li><a class="reference internal" href="#search-comments-by-posted-time">4.10.3.10. 投稿時間でコメントを検索</a></li>
|
979
991
|
</ul>
|
980
992
|
</li>
|
981
993
|
</ul>
|
@@ -984,7 +996,7 @@ load --table Comments
|
|
984
996
|
|
985
997
|
<h4>前のトピックへ</h4>
|
986
998
|
<p class="topless"><a href="lexicon.html"
|
987
|
-
title="前の章へ">4.9.
|
999
|
+
title="前の章へ">4.9. 全文検索用の語彙表の作成</a></p>
|
988
1000
|
<h4>次のトピックへ</h4>
|
989
1001
|
<p class="topless"><a href="query_expansion.html"
|
990
1002
|
title="次の章へ">4.11. クエリ拡張</a></p>
|
@@ -1020,9 +1032,9 @@ load --table Comments
|
|
1020
1032
|
<a href="query_expansion.html" title="4.11. クエリ拡張"
|
1021
1033
|
>次へ</a> |</li>
|
1022
1034
|
<li class="right" >
|
1023
|
-
<a href="lexicon.html" title="4.9.
|
1035
|
+
<a href="lexicon.html" title="4.9. 全文検索用の語彙表の作成"
|
1024
1036
|
>前へ</a> |</li>
|
1025
|
-
<li><a href="../index.html">Groonga v4.0.
|
1037
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1dドキュメント</a> »</li>
|
1026
1038
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
1027
1039
|
</ul>
|
1028
1040
|
</div>
|