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.3. Various data types — Groonga v4.0.
|
10
|
+
<title>4.3. Various data types — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.4. Various search conditions" href="search.html" />
|
31
31
|
<link rel="prev" title="4.2. Remote access" href="network.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="network.html" title="4.2. Remote access"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -548,7 +548,7 @@ select --table Site --output_columns _key,title,links._key,links.title --query t
|
|
548
548
|
<li class="right" >
|
549
549
|
<a href="network.html" title="4.2. Remote access"
|
550
550
|
>previous</a> |</li>
|
551
|
-
<li><a href="../index.html">Groonga v4.0.
|
551
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
552
552
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
553
553
|
</ul>
|
554
554
|
</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.5. Drilldown — Groonga v4.0.
|
10
|
+
<title>4.5. Drilldown — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.6. Tag search and reverse resolution of reference relationships" href="index.html" />
|
31
31
|
<link rel="prev" title="4.4. Various search conditions" href="search.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="search.html" title="4.4. Various search conditions"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -611,7 +611,7 @@ You can get the each result of drilldown at once.</p>
|
|
611
611
|
</div>
|
612
612
|
<div class="section" id="limits-drildown-results">
|
613
613
|
<h2>4.5.3. limits drildown results<a class="headerlink" href="#limits-drildown-results" title="Permalink to this headline">¶</a></h2>
|
614
|
-
<p>The number of drilldown results is limited to 10 as a default. Use <tt class="docutils literal"><span class="pre">
|
614
|
+
<p>The number of drilldown results is limited to 10 as a default. Use <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt> and <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt> parameter to customize orilldown results.</p>
|
615
615
|
<p>Execution example:</p>
|
616
616
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs --drilldown_limit 2 --drilldown_offset 2
|
617
617
|
# [
|
@@ -748,7 +748,7 @@ If you drilldown to string type of column, create the table that type of primary
|
|
748
748
|
<li class="right" >
|
749
749
|
<a href="search.html" title="4.4. Various search conditions"
|
750
750
|
>previous</a> |</li>
|
751
|
-
<li><a href="../index.html">Groonga v4.0.
|
751
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
752
752
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
753
753
|
</ul>
|
754
754
|
</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.6. Tag search and reverse resolution of reference relationships — Groonga v4.0.
|
10
|
+
<title>4.6. Tag search and reverse resolution of reference relationships — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.7. match_columns parameter" href="match_columns.html" />
|
31
31
|
<link rel="prev" title="4.5. Drilldown" href="drilldown.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="drilldown.html" title="4.5. Drilldown"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -558,7 +558,7 @@ select --table Site --filter 'geo_in_circle(location, "128515259x503187
|
|
558
558
|
<li class="right" >
|
559
559
|
<a href="drilldown.html" title="4.5. Drilldown"
|
560
560
|
>previous</a> |</li>
|
561
|
-
<li><a href="../index.html">Groonga v4.0.
|
561
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
562
562
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
563
563
|
</ul>
|
564
564
|
</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.1. Basic operations — Groonga v4.0.
|
10
|
+
<title>4.1. Basic operations — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.2. Remote access" href="network.html" />
|
31
31
|
<link rel="prev" title="4. Tutorial" href="../tutorial.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="../tutorial.html" title="4. Tutorial"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -1067,7 +1067,7 @@ select --table Site --offset 7 --limit 3
|
|
1067
1067
|
<li class="right" >
|
1068
1068
|
<a href="../tutorial.html" title="4. Tutorial"
|
1069
1069
|
>previous</a> |</li>
|
1070
|
-
<li><a href="../index.html">Groonga v4.0.
|
1070
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
1071
1071
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
1072
1072
|
</ul>
|
1073
1073
|
</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. Additional information about lexicon for full text search — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,9 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
|
-
<link rel="next" title="4.10.
|
30
|
+
<link rel="next" title="4.10. Let's create micro-blog" href="micro_blog.html" />
|
31
31
|
<link rel="prev" title="4.8. Prefix search with patricia trie" href="patricia_trie.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="micro_blog.html" title="4.10.
|
58
|
+
<a href="micro_blog.html" title="4.10. Let's create micro-blog"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
61
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -70,10 +70,11 @@
|
|
70
70
|
<div class="bodywrapper">
|
71
71
|
<div class="body">
|
72
72
|
|
73
|
-
<div class="section" id="
|
74
|
-
<h1>4.9.
|
75
|
-
<p>Groonga
|
76
|
-
|
73
|
+
<div class="section" id="additional-information-about-lexicon-for-full-text-search">
|
74
|
+
<h1>4.9. Additional information about lexicon for full text search<a class="headerlink" href="#additional-information-about-lexicon-for-full-text-search" title="Permalink to this headline">¶</a></h1>
|
75
|
+
<p>Groonga uses lexicon for full text search as a table. Thus, Groonga can hold multiple information each lexicon.
|
76
|
+
For example, Groonga holds frequency of word, flags for stop word, importance of word and so on.</p>
|
77
|
+
<p>TODO: Write document.</p>
|
77
78
|
</div>
|
78
79
|
|
79
80
|
|
@@ -87,7 +88,7 @@
|
|
87
88
|
title="previous chapter">4.8. Prefix search with patricia trie</a></p>
|
88
89
|
<h4>Next topic</h4>
|
89
90
|
<p class="topless"><a href="micro_blog.html"
|
90
|
-
title="next chapter">4.10.
|
91
|
+
title="next chapter">4.10. Let's create micro-blog</a></p>
|
91
92
|
<h3>This Page</h3>
|
92
93
|
<ul class="this-page-menu">
|
93
94
|
<li><a href="../_sources/tutorial/lexicon.txt"
|
@@ -117,12 +118,12 @@
|
|
117
118
|
<a href="../genindex.html" title="General Index"
|
118
119
|
>index</a></li>
|
119
120
|
<li class="right" >
|
120
|
-
<a href="micro_blog.html" title="4.10.
|
121
|
+
<a href="micro_blog.html" title="4.10. Let's create micro-blog"
|
121
122
|
>next</a> |</li>
|
122
123
|
<li class="right" >
|
123
124
|
<a href="patricia_trie.html" title="4.8. Prefix search with patricia trie"
|
124
125
|
>previous</a> |</li>
|
125
|
-
<li><a href="../index.html">Groonga v4.0.
|
126
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
126
127
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
127
128
|
</ul>
|
128
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 parameter — Groonga v4.0.
|
10
|
+
<title>4.7. match_columns parameter — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
30
|
<link rel="next" title="4.8. Prefix search with patricia trie" href="patricia_trie.html" />
|
31
31
|
<link rel="prev" title="4.6. Tag search and reverse resolution of reference relationships" href="index.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="index.html" title="4.6. Tag search and reverse resolution of reference relationships"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -748,7 +748,7 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
748
748
|
<li class="right" >
|
749
749
|
<a href="index.html" title="4.6. Tag search and reverse resolution of reference relationships"
|
750
750
|
>previous</a> |</li>
|
751
|
-
<li><a href="../index.html">Groonga v4.0.
|
751
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
752
752
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
753
753
|
</ul>
|
754
754
|
</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.
|
10
|
+
<title>4.10. Let's create micro-blog — Groonga v4.0.5-143-g3391c1d documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.5-143-g3391c1d',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
28
|
+
<link rel="top" title="Groonga v4.0.5-143-g3391c1d documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
30
|
-
<link rel="next" title="4.11.
|
31
|
-
<link rel="prev" title="4.9.
|
30
|
+
<link rel="next" title="4.11. Query expansion" href="query_expansion.html" />
|
31
|
+
<link rel="prev" title="4.9. Additional information about lexicon for full text search" href="lexicon.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="query_expansion.html" title="4.11.
|
58
|
+
<a href="query_expansion.html" title="4.11. Query expansion"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="lexicon.html" title="4.9.
|
61
|
+
<a href="lexicon.html" title="4.9. Additional information about lexicon for full text search"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
63
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
64
64
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -70,12 +70,13 @@
|
|
70
70
|
<div class="bodywrapper">
|
71
71
|
<div class="body">
|
72
72
|
|
73
|
-
<div class="section" id="
|
74
|
-
<h1>4.10.
|
75
|
-
<p
|
76
|
-
|
77
|
-
<
|
78
|
-
<
|
73
|
+
<div class="section" id="let-s-create-micro-blog">
|
74
|
+
<h1>4.10. Let's create micro-blog<a class="headerlink" href="#let-s-create-micro-blog" title="Permalink to this headline">¶</a></h1>
|
75
|
+
<p>Let's create micro-blog with full text search by Groonga.
|
76
|
+
Micro-blog is one of the broadcast medium in the forms of blog. It is mainly used to post small messages like a Twitter.</p>
|
77
|
+
<div class="section" id="create-a-table">
|
78
|
+
<h2>4.10.1. Create a table<a class="headerlink" href="#create-a-table" title="Permalink to this headline">¶</a></h2>
|
79
|
+
<p>Let's create table.</p>
|
79
80
|
<div class="highlight-none"><div class="highlight"><pre>table_create --name Users --flags TABLE_HASH_KEY --key_type ShortText
|
80
81
|
table_create --name Comments --flags TABLE_HASH_KEY --key_type ShortText
|
81
82
|
table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText
|
@@ -108,76 +109,78 @@ column_create --table GeoIndex --name users_location --type Users --flags COLUMN
|
|
108
109
|
column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location
|
109
110
|
</pre></div>
|
110
111
|
</div>
|
111
|
-
<div class="section" id="users">
|
112
|
-
<h3>4.10.1.1. Users
|
113
|
-
<p
|
112
|
+
<div class="section" id="users-table">
|
113
|
+
<h3>4.10.1.1. Users table<a class="headerlink" href="#users-table" title="Permalink to this headline">¶</a></h3>
|
114
|
+
<p>This is the table which stores user information.
|
115
|
+
It stores name of user, profile, list of follower and so on.</p>
|
114
116
|
<dl class="docutils">
|
115
117
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
116
|
-
<dd
|
118
|
+
<dd>User ID</dd>
|
117
119
|
<dt><tt class="docutils literal"><span class="pre">name</span></tt></dt>
|
118
|
-
<dd
|
120
|
+
<dd>User name</dd>
|
119
121
|
<dt><tt class="docutils literal"><span class="pre">follower</span></tt></dt>
|
120
|
-
<dd
|
122
|
+
<dd>List of following users</dd>
|
121
123
|
<dt><tt class="docutils literal"><span class="pre">favorites</span></tt></dt>
|
122
|
-
<dd
|
124
|
+
<dd>List of favorite comments</dd>
|
123
125
|
<dt><tt class="docutils literal"><span class="pre">location</span></tt></dt>
|
124
|
-
<dd
|
126
|
+
<dd>Current location of user (geolocation)</dd>
|
125
127
|
<dt><tt class="docutils literal"><span class="pre">location_str</span></tt></dt>
|
126
|
-
<dd
|
128
|
+
<dd>Current location of user (string)</dd>
|
127
129
|
<dt><tt class="docutils literal"><span class="pre">description</span></tt></dt>
|
128
|
-
<dd
|
130
|
+
<dd>User profile</dd>
|
129
131
|
<dt><tt class="docutils literal"><span class="pre">followee</span></tt></dt>
|
130
|
-
<dd>Users
|
131
|
-
|
132
|
+
<dd>Indexes for <tt class="docutils literal"><span class="pre">follower</span></tt> column in <tt class="docutils literal"><span class="pre">Users</span></tt> table.
|
133
|
+
With this indexes, you can search users who follows the person.</dd>
|
132
134
|
</dl>
|
133
135
|
</div>
|
134
|
-
<div class="section" id="comments">
|
135
|
-
<h3>4.10.1.2. Comments
|
136
|
-
<p
|
136
|
+
<div class="section" id="comments-table">
|
137
|
+
<h3>4.10.1.2. Comments table<a class="headerlink" href="#comments-table" title="Permalink to this headline">¶</a></h3>
|
138
|
+
<p>This is the table which stores comments and its metadata.
|
139
|
+
It stores content of comment, posted date, comment which reply to, and so on.</p>
|
137
140
|
<dl class="docutils">
|
138
141
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
139
|
-
<dd
|
142
|
+
<dd>Comment ID</dd>
|
140
143
|
<dt><tt class="docutils literal"><span class="pre">comment</span></tt></dt>
|
141
|
-
<dd
|
144
|
+
<dd>Content of comment</dd>
|
142
145
|
<dt><tt class="docutils literal"><span class="pre">last_modified</span></tt></dt>
|
143
|
-
<dd
|
146
|
+
<dd>Posted date</dd>
|
144
147
|
<dt><tt class="docutils literal"><span class="pre">replied_to</span></tt></dt>
|
145
|
-
<dd
|
148
|
+
<dd>Comment which you reply to someone</dd>
|
146
149
|
<dt><tt class="docutils literal"><span class="pre">replied_users</span></tt></dt>
|
147
|
-
<dd
|
150
|
+
<dd>List of users who you reply to</dd>
|
148
151
|
<dt><tt class="docutils literal"><span class="pre">hash_tags</span></tt></dt>
|
149
|
-
<dd
|
152
|
+
<dd>List of hash tags about comment</dd>
|
150
153
|
<dt><tt class="docutils literal"><span class="pre">location</span></tt></dt>
|
151
|
-
<dd
|
154
|
+
<dd>Posted place (for geolocation)</dd>
|
152
155
|
<dt><tt class="docutils literal"><span class="pre">posted_by</span></tt></dt>
|
153
|
-
<dd
|
156
|
+
<dd>Person who write comment</dd>
|
154
157
|
<dt><tt class="docutils literal"><span class="pre">favorited_by</span></tt></dt>
|
155
|
-
<dd>Users
|
156
|
-
|
158
|
+
<dd>Indexes for <tt class="docutils literal"><span class="pre">favorites</span></tt> column in <tt class="docutils literal"><span class="pre">Users</span></tt> table.
|
159
|
+
With this indexes, you can search the person who mark comment as favorite one.</dd>
|
157
160
|
</dl>
|
158
161
|
</div>
|
159
|
-
<div class="section" id="hashtags">
|
160
|
-
<h3>4.10.1.3. HashTags
|
161
|
-
<p
|
162
|
+
<div class="section" id="hashtags-table">
|
163
|
+
<h3>4.10.1.3. HashTags table<a class="headerlink" href="#hashtags-table" title="Permalink to this headline">¶</a></h3>
|
164
|
+
<p>This is the table which stores hash tags for comments.</p>
|
162
165
|
<dl class="docutils">
|
163
166
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
164
|
-
<dd
|
167
|
+
<dd>Hash tag</dd>
|
165
168
|
<dt><tt class="docutils literal"><span class="pre">hash_index</span></tt></dt>
|
166
|
-
<dd
|
167
|
-
|
169
|
+
<dd>Indexes for <tt class="docutils literal"><span class="pre">Comments.hash_tags</span></tt>.
|
170
|
+
With this indexes, you can search list of comments with specified hash tags.</dd>
|
168
171
|
</dl>
|
169
172
|
</div>
|
170
|
-
<div class="section" id="bigram">
|
171
|
-
<h3>4.10.1.4. Bigram
|
172
|
-
<p
|
173
|
+
<div class="section" id="bigram-table">
|
174
|
+
<h3>4.10.1.4. Bigram table<a class="headerlink" href="#bigram-table" title="Permalink to this headline">¶</a></h3>
|
175
|
+
<p>This is the table which stores indexes for full text search by user information or comments.</p>
|
173
176
|
<dl class="docutils">
|
174
177
|
<dt><tt class="docutils literal"><span class="pre">_key</span></tt></dt>
|
175
|
-
<dd
|
178
|
+
<dd>Word</dd>
|
176
179
|
<dt><tt class="docutils literal"><span class="pre">users_index</span></tt></dt>
|
177
|
-
<dd
|
178
|
-
|
180
|
+
<dd>Indexes of user information.
|
181
|
+
This column contains indexes of user name (<tt class="docutils literal"><span class="pre">Users.name</span></tt>), current location (<tt class="docutils literal"><span class="pre">Users.location_str</span></tt>), profile (<tt class="docutils literal"><span class="pre">Users.description</span></tt>).</dd>
|
179
182
|
<dt><tt class="docutils literal"><span class="pre">comment_index</span></tt></dt>
|
180
|
-
<dd
|
183
|
+
<dd>Indexes about content of comments (<tt class="docutils literal"><span class="pre">Comments.comment</span></tt>).</dd>
|
181
184
|
</dl>
|
182
185
|
</div>
|
183
186
|
<div class="section" id="geoindex-table">
|
@@ -191,119 +194,123 @@ column_create --table GeoIndex --name comments_location --type Comments --flags
|
|
191
194
|
</dl>
|
192
195
|
</div>
|
193
196
|
</div>
|
194
|
-
<div class="section" id="
|
195
|
-
<h2>4.10.2.
|
196
|
-
<p
|
197
|
+
<div class="section" id="loading-data">
|
198
|
+
<h2>4.10.2. Loading data<a class="headerlink" href="#loading-data" title="Permalink to this headline">¶</a></h2>
|
199
|
+
<p>Then, load example data.</p>
|
197
200
|
<div class="highlight-none"><div class="highlight"><pre>load --table Users
|
198
201
|
[
|
199
202
|
{
|
200
|
-
"_key": "
|
201
|
-
"name": "
|
202
|
-
"follower": ["
|
203
|
+
"_key": "alice",
|
204
|
+
"name": "Alice",
|
205
|
+
"follower": ["bob"],
|
203
206
|
"favorites": [],
|
204
|
-
"location": "
|
205
|
-
"location_str": "
|
206
|
-
"description": "
|
207
|
+
"location": "152489000x-255829000",
|
208
|
+
"location_str": "Boston, Massachusetts",
|
209
|
+
"description": "Groonga developer"
|
207
210
|
},
|
208
211
|
{
|
209
|
-
"_key": "
|
210
|
-
"name": "
|
211
|
-
"follower": ["
|
212
|
-
"favorites": ["
|
213
|
-
"location": "
|
214
|
-
"location_str": "
|
215
|
-
"description": "
|
212
|
+
"_key": "bob",
|
213
|
+
"name": "Bob",
|
214
|
+
"follower": ["alice","charlie"],
|
215
|
+
"favorites": ["alice:1","charlie:1"],
|
216
|
+
"location": "146249000x-266228000",
|
217
|
+
"location_str": "Brooklyn, New York City",
|
218
|
+
"description": ""
|
216
219
|
},
|
217
220
|
{
|
218
|
-
"_key": "
|
219
|
-
"name": "
|
220
|
-
"follower": ["
|
221
|
-
"favorites": ["
|
222
|
-
"location": "
|
223
|
-
"location_str": "
|
224
|
-
"description": "
|
221
|
+
"_key": "charlie",
|
222
|
+
"name": "Charlie",
|
223
|
+
"follower": ["alice","bob"],
|
224
|
+
"favorites": ["alice:1","bob:1"],
|
225
|
+
"location": "146607190x-267021260",
|
226
|
+
"location_str": "Newark, New Jersey",
|
227
|
+
"description": "Hmm,Hmm"
|
225
228
|
}
|
226
229
|
]
|
227
230
|
|
228
231
|
load --table Comments
|
229
232
|
[
|
230
233
|
{
|
231
|
-
"_key": "
|
232
|
-
"comment": "
|
234
|
+
"_key": "alice:1",
|
235
|
+
"comment": "I've created micro-blog!",
|
233
236
|
"last_modified": "2010/03/17 12:05:00",
|
234
|
-
"posted_by": "
|
237
|
+
"posted_by": "alice",
|
235
238
|
},
|
236
239
|
{
|
237
|
-
"_key": "
|
238
|
-
"comment": "
|
240
|
+
"_key": "bob:1",
|
241
|
+
"comment": "First post. test,test...",
|
239
242
|
"last_modified": "2010/03/17 12:00:00",
|
240
|
-
"posted_by": "
|
243
|
+
"posted_by": "bob",
|
241
244
|
},
|
242
245
|
{
|
243
|
-
"_key": "
|
244
|
-
"comment": "@
|
246
|
+
"_key": "alice:2",
|
247
|
+
"comment": "@bob Welcome!!!",
|
245
248
|
"last_modified": "2010/03/17 12:05:00",
|
246
|
-
"replied_to": "
|
247
|
-
"replied_users": ["
|
248
|
-
"posted_by": "
|
249
|
+
"replied_to": "bob:1",
|
250
|
+
"replied_users": ["bob"],
|
251
|
+
"posted_by": "alice",
|
249
252
|
},
|
250
253
|
{
|
251
|
-
"_key": "
|
252
|
-
"comment": "@
|
254
|
+
"_key": "bob:2",
|
255
|
+
"comment": "@alice Thanks!",
|
253
256
|
"last_modified": "2010/03/17 13:00:00",
|
254
|
-
"replied_to": "
|
255
|
-
"replied_users": ["
|
256
|
-
"posted_by": "
|
257
|
+
"replied_to": "alice:2",
|
258
|
+
"replied_users": ["alice"],
|
259
|
+
"posted_by": "bob",
|
257
260
|
},
|
258
261
|
{
|
259
|
-
"_key": "
|
260
|
-
"comment": "
|
262
|
+
"_key": "bob:3",
|
263
|
+
"comment": "I've just used 'Try-Groonga' now! #groonga",
|
261
264
|
"last_modified": "2010/03/17 14:00:00",
|
262
265
|
"hash_tags": ["groonga"],
|
263
|
-
"location": "
|
264
|
-
"posted_by": "
|
266
|
+
"location": "146566000x-266422000",
|
267
|
+
"posted_by": "bob",
|
265
268
|
},
|
266
269
|
{
|
267
|
-
"_key": "
|
268
|
-
"comment": "
|
270
|
+
"_key": "bob:4",
|
271
|
+
"comment": "I'm come at city of New York for development camp! #groonga #travel",
|
269
272
|
"last_modified": "2010/03/17 14:05:00",
|
270
273
|
"hash_tags": ["groonga", "travel"],
|
271
|
-
"location": "
|
272
|
-
"posted_by": "
|
274
|
+
"location": "146566000x-266422000",
|
275
|
+
"posted_by": "bob",
|
273
276
|
},
|
274
277
|
{
|
275
|
-
"_key": "
|
276
|
-
"comment": "@
|
278
|
+
"_key": "charlie:1",
|
279
|
+
"comment": "@alice @bob I've tried to register!",
|
277
280
|
"last_modified": "2010/03/17 15:00:00",
|
278
|
-
"replied_users": ["
|
279
|
-
"location": "
|
280
|
-
"posted_by": "
|
281
|
+
"replied_users": ["alice", "bob"],
|
282
|
+
"location": "146607190x-267021260",
|
283
|
+
"posted_by": "charlie",
|
281
284
|
}
|
282
285
|
{
|
283
|
-
"_key": "
|
284
|
-
"comment": "
|
286
|
+
"_key": "charlie:2",
|
287
|
+
"comment": "I'm at the Museum of Modern Art in NY now!",
|
285
288
|
"last_modified": "2010/03/17 15:05:00",
|
286
|
-
"location": "
|
287
|
-
"posted_by": "
|
289
|
+
"location": "146741340x-266319590",
|
290
|
+
"posted_by": "charlie",
|
288
291
|
}
|
289
292
|
]
|
290
293
|
</pre></div>
|
291
294
|
</div>
|
292
|
-
<p>
|
293
|
-
<p>Users
|
294
|
-
<p>Comments
|
295
|
-
|
296
|
-
|
295
|
+
<p><tt class="docutils literal"><span class="pre">follower</span></tt> column and <tt class="docutils literal"><span class="pre">favorites</span></tt> column in <tt class="docutils literal"><span class="pre">Users</span></tt> table and <tt class="docutils literal"><span class="pre">replied_users</span></tt> column in <tt class="docutils literal"><span class="pre">Comments</span></tt> table are vector column, so specify the value as an array.</p>
|
296
|
+
<p><tt class="docutils literal"><span class="pre">location</span></tt> column in <tt class="docutils literal"><span class="pre">Users</span></tt> table, <tt class="docutils literal"><span class="pre">location</span></tt> column in <tt class="docutils literal"><span class="pre">Comments</span></tt> table use GeoPoint type. This type accepts "[latitude]x[longitude]".</p>
|
297
|
+
<p><tt class="docutils literal"><span class="pre">last_modified</span></tt> column in <tt class="docutils literal"><span class="pre">Comments</span></tt> table use Time type.</p>
|
298
|
+
<p>There are two way to specify the value.
|
299
|
+
First, specify epoch (seconds since Jan, 1, 1970 AM 00:00:00) directly. In this case, you can specify micro seconds as fractional part.
|
300
|
+
The value is converted from factional part to the time which is micro seconds based one when data is loaded.
|
301
|
+
The second, specify the timestamp as string in following format: "(YEAR)/(MONTH)/(DAY) (HOUR):(MINUTE):(SECOND)". In this way, the string is casted to proper micro seconds
|
302
|
+
when data is loaded.</p>
|
297
303
|
</div>
|
298
|
-
<div class="section" id="
|
299
|
-
<h2>4.10.3.
|
300
|
-
<p
|
301
|
-
<div class="section" id="
|
302
|
-
<h3>4.10.3.1.
|
303
|
-
<p
|
304
|
-
|
304
|
+
<div class="section" id="search">
|
305
|
+
<h2>4.10.3. Search<a class="headerlink" href="#search" title="Permalink to this headline">¶</a></h2>
|
306
|
+
<p>Let's search micro-blog.</p>
|
307
|
+
<div class="section" id="search-users-by-keyword">
|
308
|
+
<h3>4.10.3.1. Search users by keyword<a class="headerlink" href="#search-users-by-keyword" title="Permalink to this headline">¶</a></h3>
|
309
|
+
<p>In this section, we search micro-blog against multiple column by keyword.
|
310
|
+
See <a class="reference internal" href="match_columns.html"><em>match_columns parameter</em></a> to search multiple column at once.</p>
|
311
|
+
<p>Let's search user from micro-blog's user name, location, description entries.</p>
|
305
312
|
<p>Execution example:</p>
|
306
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --match_columns name,location_str,description --query
|
313
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --match_columns name,location_str,description --query "New York" --output_columns _key,name
|
307
314
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
308
315
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
309
316
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -340,7 +347,7 @@ load --table Comments
|
|
340
347
|
# [
|
341
348
|
# [
|
342
349
|
# [
|
343
|
-
#
|
350
|
+
# 1
|
344
351
|
# ],
|
345
352
|
# [
|
346
353
|
# [
|
@@ -353,26 +360,23 @@ load --table Comments
|
|
353
360
|
# ]
|
354
361
|
# ],
|
355
362
|
# [
|
356
|
-
# "
|
357
|
-
# "
|
358
|
-
# ],
|
359
|
-
# [
|
360
|
-
# "OffGao",
|
361
|
-
# "OffGao"
|
363
|
+
# "bob",
|
364
|
+
# "Bob"
|
362
365
|
# ]
|
363
366
|
# ]
|
364
367
|
# ]
|
365
368
|
# ]
|
366
369
|
</pre></div>
|
367
370
|
</div>
|
368
|
-
<p
|
371
|
+
<p>By using "New York" as searching keyword for user, "Bob" who lives in "New York" is listed in search result.</p>
|
369
372
|
</div>
|
370
|
-
<div class="section" id="geopoint">
|
371
|
-
<h3>4.10.3.2. GeoPoint
|
372
|
-
<p
|
373
|
-
|
373
|
+
<div class="section" id="search-users-by-geolocation-data-geopoint">
|
374
|
+
<h3>4.10.3.2. Search users by geolocation data (GeoPoint)<a class="headerlink" href="#search-users-by-geolocation-data-geopoint" title="Permalink to this headline">¶</a></h3>
|
375
|
+
<p>In this section, we search users by column data which use type of GeoPoint.
|
376
|
+
See <a class="reference internal" href="search.html"><em>Various search conditions</em></a> about GeoPoint column.</p>
|
377
|
+
<p>Following example searches users who live in within 20km from specified location.</p>
|
374
378
|
<p>Execution example:</p>
|
375
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --filter 'geo_in_circle(location,"
|
379
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --filter 'geo_in_circle(location,"146710080x-266315480",20000)' --output_columns _key,name
|
376
380
|
# [
|
377
381
|
# [
|
378
382
|
# 0,
|
@@ -395,26 +399,26 @@ load --table Comments
|
|
395
399
|
# ]
|
396
400
|
# ],
|
397
401
|
# [
|
398
|
-
# "
|
399
|
-
# "
|
402
|
+
# "charlie",
|
403
|
+
# "Charlie"
|
400
404
|
# ],
|
401
405
|
# [
|
402
|
-
# "
|
403
|
-
# "
|
406
|
+
# "bob",
|
407
|
+
# "Bob"
|
404
408
|
# ]
|
405
409
|
# ]
|
406
410
|
# ]
|
407
411
|
# ]
|
408
412
|
</pre></div>
|
409
413
|
</div>
|
410
|
-
<p
|
414
|
+
<p>It shows that "Bob" and "Charlie" lives in within 20 km from station of "Grand Central Terminal".</p>
|
411
415
|
</div>
|
412
|
-
<div class="section" id="
|
413
|
-
<h3>4.10.3.3.
|
414
|
-
<p
|
415
|
-
|
416
|
+
<div class="section" id="search-users-who-follows-specific-user">
|
417
|
+
<h3>4.10.3.3. Search users who follows specific user<a class="headerlink" href="#search-users-who-follows-specific-user" title="Permalink to this headline">¶</a></h3>
|
418
|
+
<p>In this section, we do reverse resolution of reference relationships which is described at <a class="reference internal" href="index.html"><em>Tag search and reverse resolution of reference relationships</em></a>.</p>
|
419
|
+
<p>Following examples shows reverse resolution about <tt class="docutils literal"><span class="pre">follower</span></tt> column of <tt class="docutils literal"><span class="pre">Users</span></tt> table.</p>
|
416
420
|
<p>Execution example:</p>
|
417
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query follower:@
|
421
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query follower:@bob --output_columns _key,name
|
418
422
|
# [
|
419
423
|
# [
|
420
424
|
# 0,
|
@@ -437,26 +441,28 @@ load --table Comments
|
|
437
441
|
# ]
|
438
442
|
# ],
|
439
443
|
# [
|
440
|
-
# "
|
441
|
-
# "
|
444
|
+
# "alice",
|
445
|
+
# "Alice"
|
442
446
|
# ],
|
443
447
|
# [
|
444
|
-
# "
|
445
|
-
# "
|
448
|
+
# "charlie",
|
449
|
+
# "Charlie"
|
446
450
|
# ]
|
447
451
|
# ]
|
448
452
|
# ]
|
449
453
|
# ]
|
450
454
|
</pre></div>
|
451
455
|
</div>
|
452
|
-
<p
|
456
|
+
<p>It shows that "Alice" and "Charlie" follows "Bob".</p>
|
453
457
|
</div>
|
454
|
-
<div class="section" id="
|
455
|
-
<h3>4.10.3.4. GeoPoint
|
456
|
-
<p
|
457
|
-
|
458
|
+
<div class="section" id="search-comments-by-using-the-value-of-geopoint-type">
|
459
|
+
<h3>4.10.3.4. Search comments by using the value of GeoPoint type<a class="headerlink" href="#search-comments-by-using-the-value-of-geopoint-type" title="Permalink to this headline">¶</a></h3>
|
460
|
+
<p>In this section, we search comments which are written within specific location.</p>
|
461
|
+
<p>Then, we also use drill down which is described at <a class="reference internal" href="drilldown.html"><em>Drilldown</em></a>.
|
462
|
+
Following example shows how to drill down against search results.
|
463
|
+
As a result, we get the value of count which is grouped by user, and hash tags respectively.</p>
|
458
464
|
<p>Execution example:</p>
|
459
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --filter 'geo_in_circle(location,"
|
465
|
+
<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
|
460
466
|
# [
|
461
467
|
# [
|
462
468
|
# 0,
|
@@ -479,20 +485,20 @@ load --table Comments
|
|
479
485
|
# ]
|
480
486
|
# ],
|
481
487
|
# [
|
482
|
-
# "
|
483
|
-
# "
|
488
|
+
# "Charlie",
|
489
|
+
# "I'm at the Museum of Modern Art in NY now!"
|
484
490
|
# ],
|
485
491
|
# [
|
486
|
-
# "
|
487
|
-
# "
|
492
|
+
# "Bob",
|
493
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
488
494
|
# ],
|
489
495
|
# [
|
490
|
-
# "
|
491
|
-
# "
|
496
|
+
# "Bob",
|
497
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
492
498
|
# ],
|
493
499
|
# [
|
494
|
-
# "
|
495
|
-
# "
|
500
|
+
# "Charlie",
|
501
|
+
# "@alice @bob I've tried to register!"
|
496
502
|
# ]
|
497
503
|
# ],
|
498
504
|
# [
|
@@ -533,11 +539,11 @@ load --table Comments
|
|
533
539
|
# ]
|
534
540
|
# ],
|
535
541
|
# [
|
536
|
-
# "
|
542
|
+
# "charlie",
|
537
543
|
# 2
|
538
544
|
# ],
|
539
545
|
# [
|
540
|
-
# "
|
546
|
+
# "bob",
|
541
547
|
# 2
|
542
548
|
# ]
|
543
549
|
# ]
|
@@ -545,14 +551,16 @@ load --table Comments
|
|
545
551
|
# ]
|
546
552
|
</pre></div>
|
547
553
|
</div>
|
548
|
-
<p
|
554
|
+
<p>Above query searches comments which are posted within 20 km from Central Park in city of New York.</p>
|
555
|
+
<p>As specified range is 20 km, all comments with location are collected.
|
556
|
+
You know that search results contain 2 #groonga hash tags and one #travel hash tag, and bob and charlie posted 2 comments.</p>
|
549
557
|
</div>
|
550
|
-
<div class="section" id="
|
551
|
-
<h3>4.10.3.5.
|
552
|
-
<p
|
553
|
-
|
558
|
+
<div class="section" id="search-comments-by-keyword">
|
559
|
+
<h3>4.10.3.5. Search comments by keyword<a class="headerlink" href="#search-comments-by-keyword" title="Permalink to this headline">¶</a></h3>
|
560
|
+
<p>In this section, we search comments which contains specific keyword.
|
561
|
+
And more, Let's calculate the value of <cite>_score</cite> which is described at <a class="reference internal" href="search.html"><em>Various search conditions</em></a>.</p>
|
554
562
|
<p>Execution example:</p>
|
555
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment
|
563
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment:@Now --output_columns comment,_score
|
556
564
|
# [
|
557
565
|
# [
|
558
566
|
# 0,
|
@@ -575,25 +583,26 @@ load --table Comments
|
|
575
583
|
# ]
|
576
584
|
# ],
|
577
585
|
# [
|
578
|
-
# "
|
586
|
+
# "I've just used 'Try-Groonga' now! #groonga",
|
579
587
|
# 1
|
580
588
|
# ],
|
581
589
|
# [
|
582
|
-
# "
|
583
|
-
#
|
590
|
+
# "I'm at the Museum of Modern Art in NY now!",
|
591
|
+
# 1
|
584
592
|
# ]
|
585
593
|
# ]
|
586
594
|
# ]
|
587
595
|
# ]
|
588
596
|
</pre></div>
|
589
597
|
</div>
|
590
|
-
<p
|
598
|
+
<p>By using 'Now' as a keyword, above query returns 2 comments. It also contains count of 'Now' as the value of <cite>_score</cite>.</p>
|
591
599
|
</div>
|
592
|
-
<div class="section" id="
|
593
|
-
<h3>4.10.3.6.
|
594
|
-
<p
|
600
|
+
<div class="section" id="search-comments-by-keyword-and-geolocation">
|
601
|
+
<h3>4.10.3.6. Search comments by keyword and geolocation<a class="headerlink" href="#search-comments-by-keyword-and-geolocation" title="Permalink to this headline">¶</a></h3>
|
602
|
+
<p>In this section, we search comments by specific keyword and geolocation.
|
603
|
+
By using <cite>--query</cite> and <cite>--filter</cite> option, following query returns records which are matched to both conditions.</p>
|
595
604
|
<p>Execution example:</p>
|
596
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query comment
|
605
|
+
<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
|
597
606
|
# [
|
598
607
|
# [
|
599
608
|
# 0,
|
@@ -616,8 +625,8 @@ load --table Comments
|
|
616
625
|
# ]
|
617
626
|
# ],
|
618
627
|
# [
|
619
|
-
# "
|
620
|
-
# "
|
628
|
+
# "Bob",
|
629
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
621
630
|
# ]
|
622
631
|
# ],
|
623
632
|
# [
|
@@ -658,7 +667,7 @@ load --table Comments
|
|
658
667
|
# ]
|
659
668
|
# ],
|
660
669
|
# [
|
661
|
-
# "
|
670
|
+
# "bob",
|
662
671
|
# 1
|
663
672
|
# ]
|
664
673
|
# ]
|
@@ -666,12 +675,13 @@ load --table Comments
|
|
666
675
|
# ]
|
667
676
|
</pre></div>
|
668
677
|
</div>
|
669
|
-
<p
|
678
|
+
<p>It returns 1 comment which meets both condition.
|
679
|
+
It also returns result of drilldown. There is 1 comment which is commented by Bob.</p>
|
670
680
|
</div>
|
671
|
-
<div class="section" id="
|
672
|
-
<h3>4.10.3.7.
|
673
|
-
<p
|
674
|
-
|
681
|
+
<div class="section" id="search-comments-by-hash-tags">
|
682
|
+
<h3>4.10.3.7. Search comments by hash tags<a class="headerlink" href="#search-comments-by-hash-tags" title="Permalink to this headline">¶</a></h3>
|
683
|
+
<p>In this section, we search comments which contains specific hash tags.
|
684
|
+
Let's use reverse resolution of reference relationships.</p>
|
675
685
|
<p>Execution example:</p>
|
676
686
|
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
677
687
|
# [
|
@@ -696,12 +706,12 @@ load --table Comments
|
|
696
706
|
# ]
|
697
707
|
# ],
|
698
708
|
# [
|
699
|
-
# "
|
700
|
-
# "
|
709
|
+
# "Bob",
|
710
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
701
711
|
# ],
|
702
712
|
# [
|
703
|
-
# "
|
704
|
-
# "
|
713
|
+
# "Bob",
|
714
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
705
715
|
# ]
|
706
716
|
# ],
|
707
717
|
# [
|
@@ -719,7 +729,7 @@ load --table Comments
|
|
719
729
|
# ]
|
720
730
|
# ],
|
721
731
|
# [
|
722
|
-
# "
|
732
|
+
# "bob",
|
723
733
|
# 2
|
724
734
|
# ]
|
725
735
|
# ]
|
@@ -727,13 +737,14 @@ load --table Comments
|
|
727
737
|
# ]
|
728
738
|
</pre></div>
|
729
739
|
</div>
|
730
|
-
<p
|
740
|
+
<p>Above query returns 2 comments which contains #groonga hash tag.
|
741
|
+
It also returns result of drilldown grouped by person who posted it. It shows that there are 2 comments. Bob commented it.</p>
|
731
742
|
</div>
|
732
|
-
<div class="section" id="id">
|
733
|
-
<h3>4.10.3.8.
|
734
|
-
<p
|
743
|
+
<div class="section" id="search-comments-by-user-id">
|
744
|
+
<h3>4.10.3.8. Search comments by user id<a class="headerlink" href="#search-comments-by-user-id" title="Permalink to this headline">¶</a></h3>
|
745
|
+
<p>In this section, we search comments which are posted by specific user.</p>
|
735
746
|
<p>Execution example:</p>
|
736
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query posted_by:
|
747
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Comments --query posted_by:bob --output_columns comment --drilldown hash_tags
|
737
748
|
# [
|
738
749
|
# [
|
739
750
|
# 0,
|
@@ -752,16 +763,16 @@ load --table Comments
|
|
752
763
|
# ]
|
753
764
|
# ],
|
754
765
|
# [
|
755
|
-
# "
|
766
|
+
# "First post. test,test..."
|
756
767
|
# ],
|
757
768
|
# [
|
758
|
-
# "@
|
769
|
+
# "@alice Thanks!"
|
759
770
|
# ],
|
760
771
|
# [
|
761
|
-
# "
|
772
|
+
# "I've just used 'Try-Groonga' now! #groonga"
|
762
773
|
# ],
|
763
774
|
# [
|
764
|
-
# "
|
775
|
+
# "I'm come at city of New York for development camp! #groonga #travel"
|
765
776
|
# ]
|
766
777
|
# ],
|
767
778
|
# [
|
@@ -791,13 +802,14 @@ load --table Comments
|
|
791
802
|
# ]
|
792
803
|
</pre></div>
|
793
804
|
</div>
|
794
|
-
<p
|
805
|
+
<p>Above query returns 4 comments which are posted by Bob.
|
806
|
+
It also returns result of drilldown by hash tags. There are 2 comments which contains #groonga, and 1 comment which contains #travel as hash tag.</p>
|
795
807
|
</div>
|
796
|
-
<div class="section" id="
|
797
|
-
<h3>4.10.3.9.
|
798
|
-
<p
|
808
|
+
<div class="section" id="search-user-s-favorite-comments">
|
809
|
+
<h3>4.10.3.9. Search user's favorite comments<a class="headerlink" href="#search-user-s-favorite-comments" title="Permalink to this headline">¶</a></h3>
|
810
|
+
<p>In this section, we search user's favorite comments.</p>
|
799
811
|
<p>Execution example:</p>
|
800
|
-
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query _key:
|
812
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Users --query _key:bob --output_columns favorites.posted_by,favorites.comment
|
801
813
|
# [
|
802
814
|
# [
|
803
815
|
# 0,
|
@@ -821,12 +833,12 @@ load --table Comments
|
|
821
833
|
# ],
|
822
834
|
# [
|
823
835
|
# [
|
824
|
-
# "
|
825
|
-
# "
|
836
|
+
# "alice",
|
837
|
+
# "charlie"
|
826
838
|
# ],
|
827
839
|
# [
|
828
|
-
# "
|
829
|
-
# "@
|
840
|
+
# "I've created micro-blog!",
|
841
|
+
# "@alice @bob I've tried to register!"
|
830
842
|
# ]
|
831
843
|
# ]
|
832
844
|
# ]
|
@@ -834,12 +846,13 @@ load --table Comments
|
|
834
846
|
# ]
|
835
847
|
</pre></div>
|
836
848
|
</div>
|
837
|
-
<p
|
849
|
+
<p>Above query returns Bob's favorite comments.</p>
|
838
850
|
</div>
|
839
|
-
<div class="section" id="
|
840
|
-
<h3>4.10.3.10.
|
841
|
-
<p
|
842
|
-
|
851
|
+
<div class="section" id="search-comments-by-posted-time">
|
852
|
+
<h3>4.10.3.10. Search comments by posted time<a class="headerlink" href="#search-comments-by-posted-time" title="Permalink to this headline">¶</a></h3>
|
853
|
+
<p>In this section, we search comments by posted time.
|
854
|
+
See type of <cite>Time</cite> in <a class="reference internal" href="data.html"><em>Various data types</em></a>.</p>
|
855
|
+
<p>Let's search comments that posted time are older than specified time.</p>
|
843
856
|
<p>Execution example:</p>
|
844
857
|
<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
|
845
858
|
# [
|
@@ -868,28 +881,28 @@ load --table Comments
|
|
868
881
|
# ]
|
869
882
|
# ],
|
870
883
|
# [
|
871
|
-
# "
|
872
|
-
# "
|
884
|
+
# "Alice",
|
885
|
+
# "I've created micro-blog!",
|
873
886
|
# 1268795100.0
|
874
887
|
# ],
|
875
888
|
# [
|
876
|
-
# "
|
877
|
-
# "
|
889
|
+
# "Bob",
|
890
|
+
# "First post. test,test...",
|
878
891
|
# 1268794800.0
|
879
892
|
# ],
|
880
893
|
# [
|
881
|
-
# "
|
882
|
-
# "@
|
894
|
+
# "Alice",
|
895
|
+
# "@bob Welcome!!!",
|
883
896
|
# 1268795100.0
|
884
897
|
# ],
|
885
898
|
# [
|
886
|
-
# "
|
887
|
-
# "@
|
899
|
+
# "Bob",
|
900
|
+
# "@alice Thanks!",
|
888
901
|
# 1268798400.0
|
889
902
|
# ],
|
890
903
|
# [
|
891
|
-
# "
|
892
|
-
# "
|
904
|
+
# "Bob",
|
905
|
+
# "I've just used 'Try-Groonga' now! #groonga",
|
893
906
|
# 1268802000.0
|
894
907
|
# ]
|
895
908
|
# ],
|
@@ -927,11 +940,11 @@ load --table Comments
|
|
927
940
|
# ]
|
928
941
|
# ],
|
929
942
|
# [
|
930
|
-
# "
|
943
|
+
# "alice",
|
931
944
|
# 2
|
932
945
|
# ],
|
933
946
|
# [
|
934
|
-
# "
|
947
|
+
# "bob",
|
935
948
|
# 3
|
936
949
|
# ]
|
937
950
|
# ]
|
@@ -939,7 +952,8 @@ load --table Comments
|
|
939
952
|
# ]
|
940
953
|
</pre></div>
|
941
954
|
</div>
|
942
|
-
<p>2010/03/17 14:00:00
|
955
|
+
<p>Above query returns 5 comments which are older than 2010/03/17 14:00:00.
|
956
|
+
It also returns result of drilldown by posted person. There are 2 comments by Alice, 3 comments by Bob.</p>
|
943
957
|
</div>
|
944
958
|
</div>
|
945
959
|
</div>
|
@@ -952,27 +966,27 @@ load --table Comments
|
|
952
966
|
<div class="sphinxsidebarwrapper">
|
953
967
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
954
968
|
<ul>
|
955
|
-
<li><a class="reference internal" href="#">4.10.
|
956
|
-
<li><a class="reference internal" href="#
|
957
|
-
<li><a class="reference internal" href="#users">4.10.1.1. Users
|
958
|
-
<li><a class="reference internal" href="#comments">4.10.1.2. Comments
|
959
|
-
<li><a class="reference internal" href="#hashtags">4.10.1.3. HashTags
|
960
|
-
<li><a class="reference internal" href="#bigram">4.10.1.4. Bigram
|
969
|
+
<li><a class="reference internal" href="#">4.10. Let's create micro-blog</a><ul>
|
970
|
+
<li><a class="reference internal" href="#create-a-table">4.10.1. Create a table</a><ul>
|
971
|
+
<li><a class="reference internal" href="#users-table">4.10.1.1. Users table</a></li>
|
972
|
+
<li><a class="reference internal" href="#comments-table">4.10.1.2. Comments table</a></li>
|
973
|
+
<li><a class="reference internal" href="#hashtags-table">4.10.1.3. HashTags table</a></li>
|
974
|
+
<li><a class="reference internal" href="#bigram-table">4.10.1.4. Bigram table</a></li>
|
961
975
|
<li><a class="reference internal" href="#geoindex-table">4.10.1.5. GeoIndex table</a></li>
|
962
976
|
</ul>
|
963
977
|
</li>
|
964
|
-
<li><a class="reference internal" href="#
|
965
|
-
<li><a class="reference internal" href="#
|
966
|
-
<li><a class="reference internal" href="#
|
967
|
-
<li><a class="reference internal" href="#geopoint">4.10.3.2. GeoPoint
|
968
|
-
<li><a class="reference internal" href="#
|
969
|
-
<li><a class="reference internal" href="#
|
970
|
-
<li><a class="reference internal" href="#
|
971
|
-
<li><a class="reference internal" href="#
|
972
|
-
<li><a class="reference internal" href="#
|
973
|
-
<li><a class="reference internal" href="#id">4.10.3.8.
|
974
|
-
<li><a class="reference internal" href="#
|
975
|
-
<li><a class="reference internal" href="#
|
978
|
+
<li><a class="reference internal" href="#loading-data">4.10.2. Loading data</a></li>
|
979
|
+
<li><a class="reference internal" href="#search">4.10.3. Search</a><ul>
|
980
|
+
<li><a class="reference internal" href="#search-users-by-keyword">4.10.3.1. Search users by keyword</a></li>
|
981
|
+
<li><a class="reference internal" href="#search-users-by-geolocation-data-geopoint">4.10.3.2. Search users by geolocation data (GeoPoint)</a></li>
|
982
|
+
<li><a class="reference internal" href="#search-users-who-follows-specific-user">4.10.3.3. Search users who follows specific user</a></li>
|
983
|
+
<li><a class="reference internal" href="#search-comments-by-using-the-value-of-geopoint-type">4.10.3.4. Search comments by using the value of GeoPoint type</a></li>
|
984
|
+
<li><a class="reference internal" href="#search-comments-by-keyword">4.10.3.5. Search comments by keyword</a></li>
|
985
|
+
<li><a class="reference internal" href="#search-comments-by-keyword-and-geolocation">4.10.3.6. Search comments by keyword and geolocation</a></li>
|
986
|
+
<li><a class="reference internal" href="#search-comments-by-hash-tags">4.10.3.7. Search comments by hash tags</a></li>
|
987
|
+
<li><a class="reference internal" href="#search-comments-by-user-id">4.10.3.8. Search comments by user id</a></li>
|
988
|
+
<li><a class="reference internal" href="#search-user-s-favorite-comments">4.10.3.9. Search user's favorite comments</a></li>
|
989
|
+
<li><a class="reference internal" href="#search-comments-by-posted-time">4.10.3.10. Search comments by posted time</a></li>
|
976
990
|
</ul>
|
977
991
|
</li>
|
978
992
|
</ul>
|
@@ -981,10 +995,10 @@ load --table Comments
|
|
981
995
|
|
982
996
|
<h4>Previous topic</h4>
|
983
997
|
<p class="topless"><a href="lexicon.html"
|
984
|
-
title="previous chapter">4.9.
|
998
|
+
title="previous chapter">4.9. Additional information about lexicon for full text search</a></p>
|
985
999
|
<h4>Next topic</h4>
|
986
1000
|
<p class="topless"><a href="query_expansion.html"
|
987
|
-
title="next chapter">4.11.
|
1001
|
+
title="next chapter">4.11. Query expansion</a></p>
|
988
1002
|
<h3>This Page</h3>
|
989
1003
|
<ul class="this-page-menu">
|
990
1004
|
<li><a href="../_sources/tutorial/micro_blog.txt"
|
@@ -1014,12 +1028,12 @@ load --table Comments
|
|
1014
1028
|
<a href="../genindex.html" title="General Index"
|
1015
1029
|
>index</a></li>
|
1016
1030
|
<li class="right" >
|
1017
|
-
<a href="query_expansion.html" title="4.11.
|
1031
|
+
<a href="query_expansion.html" title="4.11. Query expansion"
|
1018
1032
|
>next</a> |</li>
|
1019
1033
|
<li class="right" >
|
1020
|
-
<a href="lexicon.html" title="4.9.
|
1034
|
+
<a href="lexicon.html" title="4.9. Additional information about lexicon for full text search"
|
1021
1035
|
>previous</a> |</li>
|
1022
|
-
<li><a href="../index.html">Groonga v4.0.
|
1036
|
+
<li><a href="../index.html">Groonga v4.0.5-143-g3391c1d documentation</a> »</li>
|
1023
1037
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
1024
1038
|
</ul>
|
1025
1039
|
</div>
|