rroonga 4.0.4-x86-mingw32 → 4.0.5-x86-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
@@ -52,90 +52,6 @@ There is a package that provides MySQL compatible normalizer as
|
|
52
52
|
groonga plugins.
|
53
53
|
If you want to use that one, install groonga-normalizer-mysql package.
|
54
54
|
|
55
|
-
Install groonga-normalizer-mysql package::
|
56
|
-
|
57
|
-
% sudo apt-get install -y -V groonga-normalizer-mysql
|
58
|
-
|
59
|
-
jessie
|
60
|
-
------
|
61
|
-
|
62
|
-
Add the groonga apt repository.
|
63
|
-
|
64
|
-
/etc/apt/sources.list.d/groonga.list::
|
65
|
-
|
66
|
-
deb http://packages.groonga.org/debian/ jessie main
|
67
|
-
deb-src http://packages.groonga.org/debian/ jessie main
|
68
|
-
|
69
|
-
Install::
|
70
|
-
|
71
|
-
% sudo apt-get update
|
72
|
-
% sudo apt-get install -y --allow-unauthenticated groonga-keyring
|
73
|
-
% sudo apt-get update
|
74
|
-
% sudo apt-get install -y groonga
|
75
|
-
|
76
|
-
.. include:: server-use.inc
|
77
|
-
|
78
|
-
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
79
|
-
tokenizer, install groonga-tokenizer-mecab package.
|
80
|
-
|
81
|
-
Install groonga-tokenizer-mecab package::
|
82
|
-
|
83
|
-
% sudo apt-get install -y -V groonga-tokenizer-mecab
|
84
|
-
|
85
|
-
There is a package that provides `Munin
|
86
|
-
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
|
87
|
-
groonga status by Munin, install groonga-munin-plugins package.
|
88
|
-
|
89
|
-
Install groonga-munin-plugins package::
|
90
|
-
|
91
|
-
% sudo apt-get install -y -V groonga-munin-plugins
|
92
|
-
|
93
|
-
There is a package that provides MySQL compatible normalizer as
|
94
|
-
Groonga plugins.
|
95
|
-
If you want to use that one, install groonga-normalizer-mysql package.
|
96
|
-
|
97
|
-
Install groonga-normalizer-mysql package::
|
98
|
-
|
99
|
-
% sudo apt-get install -y -V groonga-normalizer-mysql
|
100
|
-
|
101
|
-
sid
|
102
|
-
---
|
103
|
-
|
104
|
-
Add the groonga apt repository.
|
105
|
-
|
106
|
-
/etc/apt/sources.list.d/groonga.list::
|
107
|
-
|
108
|
-
deb http://packages.groonga.org/debian/ unstable main
|
109
|
-
deb-src http://packages.groonga.org/debian/ unstable main
|
110
|
-
|
111
|
-
Install::
|
112
|
-
|
113
|
-
% sudo apt-get update
|
114
|
-
% sudo apt-get install -y --allow-unauthenticated groonga-keyring
|
115
|
-
% sudo apt-get update
|
116
|
-
% sudo apt-get install -y -V groonga
|
117
|
-
|
118
|
-
.. include:: server-use.inc
|
119
|
-
|
120
|
-
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
121
|
-
tokenizer, install groonga-tokenizer-mecab package.
|
122
|
-
|
123
|
-
Install groonga-tokenizer-mecab package::
|
124
|
-
|
125
|
-
% sudo apt-get install -y -V groonga-tokenizer-mecab
|
126
|
-
|
127
|
-
There is a package that provides `Munin
|
128
|
-
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
|
129
|
-
groonga status by Munin, install groonga-munin-plugins package.
|
130
|
-
|
131
|
-
Install groonga-munin-plugins package::
|
132
|
-
|
133
|
-
% sudo apt-get install -y -V groonga-munin-plugins
|
134
|
-
|
135
|
-
There is a package that provides MySQL compatible normalizer as
|
136
|
-
groonga plugins.
|
137
|
-
If you want to use that one, install groonga-normalizer-mysql package.
|
138
|
-
|
139
55
|
Install groonga-normalizer-mysql package::
|
140
56
|
|
141
57
|
% sudo apt-get install -y -V groonga-normalizer-mysql
|
@@ -149,9 +65,9 @@ Install required packages to build Groonga::
|
|
149
65
|
|
150
66
|
Download source::
|
151
67
|
|
152
|
-
% wget http://packages.groonga.org/source/groonga/groonga-4.0.
|
153
|
-
% tar xvzf groonga-4.0.
|
154
|
-
% cd groonga-4.0.
|
68
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
69
|
+
% tar xvzf groonga-4.0.6.tar.gz
|
70
|
+
% cd groonga-4.0.6
|
155
71
|
|
156
72
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
157
73
|
|
@@ -80,9 +80,9 @@ Install required packages to build Groonga::
|
|
80
80
|
|
81
81
|
Download source::
|
82
82
|
|
83
|
-
% wget http://packages.groonga.org/source/groonga/groonga-4.0.
|
84
|
-
% tar xvzf groonga-4.0.
|
85
|
-
% cd groonga-4.0.
|
83
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
84
|
+
% tar xvzf groonga-4.0.6.tar.gz
|
85
|
+
% cd groonga-4.0.6
|
86
86
|
|
87
87
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
88
88
|
|
@@ -39,9 +39,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
|
|
39
39
|
|
40
40
|
Download source::
|
41
41
|
|
42
|
-
% curl -O http://packages.groonga.org/source/groonga/groonga-4.0.
|
43
|
-
% tar xvzf groonga-4.0.
|
44
|
-
% cd groonga-4.0.
|
42
|
+
% curl -O http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
43
|
+
% tar xvzf groonga-4.0.6.tar.gz
|
44
|
+
% cd groonga-4.0.6
|
45
45
|
|
46
46
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
47
47
|
|
@@ -74,9 +74,9 @@ Build from source
|
|
74
74
|
Groonga uses GNU build system. So the following is the simplest build
|
75
75
|
steps::
|
76
76
|
|
77
|
-
% wget http://packages.groonga.org/source/groonga/groonga-4.0.
|
78
|
-
% tar xvzf groonga-4.0.
|
79
|
-
% cd groonga-4.0.
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
78
|
+
% tar xvzf groonga-4.0.6.tar.gz
|
79
|
+
% cd groonga-4.0.6
|
80
80
|
% ./configure
|
81
81
|
% make
|
82
82
|
% sudo make install
|
@@ -17,9 +17,9 @@ Install required packages to build Groonga::
|
|
17
17
|
|
18
18
|
Download source::
|
19
19
|
|
20
|
-
% wget http://packages.groonga.org/source/groonga/groonga-4.0.
|
21
|
-
% gtar xvzf groonga-4.0.
|
22
|
-
% cd groonga-4.0.
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
21
|
+
% gtar xvzf groonga-4.0.6.tar.gz
|
22
|
+
% cd groonga-4.0.6
|
23
23
|
|
24
24
|
Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
|
25
25
|
needed for building 64-bit version. To build 32-bit version, just
|
@@ -74,9 +74,9 @@ Install required packages to build Groonga::
|
|
74
74
|
|
75
75
|
Download source::
|
76
76
|
|
77
|
-
% wget http://packages.groonga.org/source/groonga/groonga-4.0.
|
78
|
-
% tar xvzf groonga-4.0.
|
79
|
-
% cd groonga-4.0.
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.6.tar.gz
|
78
|
+
% tar xvzf groonga-4.0.6.tar.gz
|
79
|
+
% cd groonga-4.0.6
|
80
80
|
|
81
81
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
82
82
|
|
@@ -21,14 +21,14 @@ Installer
|
|
21
21
|
For 32-bit environment, download x86 executable binary from
|
22
22
|
packages.groonga.org:
|
23
23
|
|
24
|
-
* http://packages.groonga.org/windows/groonga/groonga-4.0.
|
24
|
+
* http://packages.groonga.org/windows/groonga/groonga-4.0.6-x86.exe
|
25
25
|
|
26
26
|
Then run it.
|
27
27
|
|
28
28
|
For 64-bit environment, download x64 executable binary from
|
29
29
|
packages.goronga.org:
|
30
30
|
|
31
|
-
* http://packages.groonga.org/windows/groonga/groonga-4.0.
|
31
|
+
* http://packages.groonga.org/windows/groonga/groonga-4.0.6-x64.exe
|
32
32
|
|
33
33
|
Then run it.
|
34
34
|
|
@@ -41,14 +41,14 @@ zip
|
|
41
41
|
For 32-bit environment, download x86 zip archive from
|
42
42
|
packages.groonga.org:
|
43
43
|
|
44
|
-
* http://packages.groonga.org/windows/groonga/groonga-4.0.
|
44
|
+
* http://packages.groonga.org/windows/groonga/groonga-4.0.6-x86.zip
|
45
45
|
|
46
46
|
Then extract it.
|
47
47
|
|
48
48
|
For 64-bit environment, download x64 zip archive from
|
49
49
|
packages.groonga.org:
|
50
50
|
|
51
|
-
* http://packages.groonga.org/windows/groonga/groonga-4.0.
|
51
|
+
* http://packages.groonga.org/windows/groonga/groonga-4.0.6-x64.zip
|
52
52
|
|
53
53
|
Then extract it.
|
54
54
|
|
@@ -66,27 +66,27 @@ Windows. Here are required tools:
|
|
66
66
|
|
67
67
|
Download zipped source from packages.groonga.org:
|
68
68
|
|
69
|
-
* http://packages.groonga.org/source/groonga/groonga-4.0.
|
69
|
+
* http://packages.groonga.org/source/groonga/groonga-4.0.6.zip
|
70
70
|
|
71
71
|
Then extract it.
|
72
72
|
|
73
73
|
Move to the Groonga's source folder::
|
74
74
|
|
75
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-4.0.
|
75
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-4.0.6
|
76
76
|
|
77
77
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
78
78
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
79
79
|
parameter instead::
|
80
80
|
|
81
|
-
groonga-4.0.
|
81
|
+
groonga-4.0.6> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
82
82
|
|
83
83
|
Build::
|
84
84
|
|
85
|
-
groonga-4.0.
|
85
|
+
groonga-4.0.6> cmake --build . --config Release
|
86
86
|
|
87
87
|
Install::
|
88
88
|
|
89
|
-
groonga-4.0.
|
89
|
+
groonga-4.0.6> cmake --build . --config Release --target Install
|
90
90
|
|
91
91
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
92
92
|
``c:\groonga\bin\groonga.exe``.
|
@@ -7,6 +7,73 @@
|
|
7
7
|
News
|
8
8
|
====
|
9
9
|
|
10
|
+
.. _release-4-0-6:
|
11
|
+
|
12
|
+
Release 4.0.6 - 2014/09/29
|
13
|
+
--------------------------
|
14
|
+
|
15
|
+
Improvements
|
16
|
+
^^^^^^^^^^^^
|
17
|
+
|
18
|
+
* [deb] Updated to follow the rule about machine-readable
|
19
|
+
debian/copyright file. [Reported by Hideki Yamane]
|
20
|
+
* [deb][rpm] Changed to use signal instead of HTTP to control nginx.
|
21
|
+
This way meets nginx style init script.
|
22
|
+
* [doc] Updated English documentation about [ :doc:`/reference/executables` ].
|
23
|
+
[GitHub#196] [Patch by Masafumi Yokoyama]
|
24
|
+
* [OS X] Added missing sphinx error message for Homebrew users.
|
25
|
+
[GitHub#198] [Patch by cosmo0920]
|
26
|
+
* Exported :c:func:`grn_expr_alloc_const` which allocates constant object.
|
27
|
+
It is exported for mruby.
|
28
|
+
* [mruby] Query optimizer by mruby became a practical for some range select query.
|
29
|
+
For example, mruby optimizer overhead is negligible enough for query such as
|
30
|
+
"between(X, 0, 'exclude', 100, 'include')" - "X > 0 && X <= 100".
|
31
|
+
* [doc] Changed to recommend GitHub for reporting issues.
|
32
|
+
Until now, Redmine account must be approved by administrator, so you can not
|
33
|
+
report at feel free. [GitHub#202] [Patch by cosmo0920]
|
34
|
+
* [doc] Translated C API document. [GitHub#203] [Patch by NOKUBI Takatsugu]
|
35
|
+
* Supported to customize similarity threshold by ``'*S10"..."'`` syntax.
|
36
|
+
* Added source column validation to
|
37
|
+
:doc:`/reference/commands/column_create`. If source column doesn't
|
38
|
+
exist, :doc:`/reference/commands/column_create` returns ``false`` and
|
39
|
+
column isn't created.
|
40
|
+
* [windows] Enabled mruby.
|
41
|
+
* [debian] Dropped Debian jessie and sid support.
|
42
|
+
|
43
|
+
Fixes
|
44
|
+
^^^^^
|
45
|
+
|
46
|
+
* [windows] Disabled KyTea by default because of redistribution license issue.
|
47
|
+
* [windows] Disabled libedit support by default.
|
48
|
+
* Fixed a bug that similar search doesn't use IDF (Inverse Document Frequency)
|
49
|
+
for choosing target tokens.
|
50
|
+
In the previous versions, it used token ID instead of IDF.
|
51
|
+
[groonga-dev,02731] [groonga-dev,02754] [Reported by Satoshi Mitani, warp kawada]
|
52
|
+
* Fixed a crash bug when deleting a record.
|
53
|
+
If the table of the record has ``_key`` and ``_key`` is
|
54
|
+
indexed from two or more index columns, deleting causes a crash.
|
55
|
+
* Fixed compiler warning about unused variable 'e'. [GitHub#197] [Patch by cosmo0920]
|
56
|
+
* [fedora][httpd] Fixed service start failure without log directory.
|
57
|
+
* [mruby] Fixed build error with ``--disable-mruby``.
|
58
|
+
[GitHub#200] [Patch by cosmo0920]
|
59
|
+
* Fixed build warning about CMP0014 for MariaDB bundled Mroonga package.
|
60
|
+
[GitHub#201] [Patch by cosmo0920]
|
61
|
+
* Fixed a bug that "*" is parsed as prefix search with empty string.
|
62
|
+
[groonga-dev,02796] [Reported by Kazuhiko]
|
63
|
+
* [httpd] Updated bundled nginx version to the latest mainline (1.7.5).
|
64
|
+
This update contains vulnerability fix (CVE-2014-3616).
|
65
|
+
|
66
|
+
Thanks
|
67
|
+
^^^^^^
|
68
|
+
|
69
|
+
* Hideki Yamane
|
70
|
+
* Masafumi Yokoyama
|
71
|
+
* cosmo0920
|
72
|
+
* NOKUBI Takatsugu
|
73
|
+
* Satoshi Mitani
|
74
|
+
* warp kawada
|
75
|
+
* Kazuhiko
|
76
|
+
|
10
77
|
.. _release-4-0-5:
|
11
78
|
|
12
79
|
Release 4.0.5 - 2014/08/29
|
@@ -18,6 +85,7 @@ Improvements
|
|
18
85
|
* Dropped Ubuntu 13.10 (Saucy Salamander).
|
19
86
|
* Supported to show weight vector element as XML.
|
20
87
|
* [ :doc:`/reference/functions/between` ] Supported outside of key range.
|
88
|
+
[GitHub#183] [Patch by Naoya Murakami]
|
21
89
|
* [mruby] Changed to use Onigmo as regexp implementation.
|
22
90
|
* Added :doc:`/reference/functions/highlight_full` and
|
23
91
|
:doc:`/reference/functions/highlight_html` which tags
|
@@ -120,7 +120,7 @@ Use ``--drilldown_sortby`` if you want to sort the result of drilldown. For exam
|
|
120
120
|
limits drildown results
|
121
121
|
------------------------
|
122
122
|
|
123
|
-
The number of drilldown results is limited to 10 as a default. Use ``
|
123
|
+
The number of drilldown results is limited to 10 as a default. Use ``drilldown_limit`` and ``drilldown_offset`` parameter to customize orilldown results.
|
124
124
|
|
125
125
|
.. groonga-command
|
126
126
|
.. include:: ../example/tutorial/drilldown-limit.log
|
@@ -2,10 +2,11 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
Additional information about lexicon for full text search
|
6
|
+
=========================================================
|
7
7
|
|
8
|
-
Groonga
|
8
|
+
Groonga uses lexicon for full text search as a table. Thus, Groonga can hold multiple information each lexicon.
|
9
|
+
For example, Groonga holds frequency of word, flags for stop word, importance of word and so on.
|
9
10
|
|
10
|
-
|
11
|
+
TODO: Write document.
|
11
12
|
|
@@ -5,15 +5,16 @@
|
|
5
5
|
.. groonga-command
|
6
6
|
.. database: tutorial-micro-blog
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
Let's create micro-blog
|
9
|
+
=======================
|
10
10
|
|
11
|
-
|
11
|
+
Let's create micro-blog with full text search by Groonga.
|
12
|
+
Micro-blog is one of the broadcast medium in the forms of blog. It is mainly used to post small messages like a Twitter.
|
12
13
|
|
13
|
-
|
14
|
+
Create a table
|
14
15
|
--------------
|
15
16
|
|
16
|
-
|
17
|
+
Let's create table.
|
17
18
|
|
18
19
|
::
|
19
20
|
|
@@ -48,95 +49,97 @@
|
|
48
49
|
column_create --table GeoIndex --name users_location --type Users --flags COLUMN_INDEX --source location
|
49
50
|
column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location
|
50
51
|
|
51
|
-
Users
|
52
|
-
|
52
|
+
Users table
|
53
|
+
^^^^^^^^^^^
|
53
54
|
|
54
|
-
|
55
|
+
This is the table which stores user information.
|
56
|
+
It stores name of user, profile, list of follower and so on.
|
55
57
|
|
56
58
|
``_key``
|
57
|
-
|
59
|
+
User ID
|
58
60
|
|
59
61
|
``name``
|
60
|
-
|
62
|
+
User name
|
61
63
|
|
62
64
|
``follower``
|
63
|
-
|
65
|
+
List of following users
|
64
66
|
|
65
67
|
``favorites``
|
66
|
-
|
68
|
+
List of favorite comments
|
67
69
|
|
68
70
|
``location``
|
69
|
-
|
71
|
+
Current location of user (geolocation)
|
70
72
|
|
71
73
|
``location_str``
|
72
|
-
|
74
|
+
Current location of user (string)
|
73
75
|
|
74
76
|
``description``
|
75
|
-
|
77
|
+
User profile
|
76
78
|
|
77
79
|
``followee``
|
78
|
-
Users
|
79
|
-
|
80
|
+
Indexes for ``follower`` column in ``Users`` table.
|
81
|
+
With this indexes, you can search users who follows the person.
|
80
82
|
|
81
|
-
Comments
|
82
|
-
|
83
|
+
Comments table
|
84
|
+
^^^^^^^^^^^^^^
|
83
85
|
|
84
|
-
|
86
|
+
This is the table which stores comments and its metadata.
|
87
|
+
It stores content of comment, posted date, comment which reply to, and so on.
|
85
88
|
|
86
89
|
``_key``
|
87
|
-
|
90
|
+
Comment ID
|
88
91
|
|
89
92
|
``comment``
|
90
|
-
|
93
|
+
Content of comment
|
91
94
|
|
92
95
|
``last_modified``
|
93
|
-
|
96
|
+
Posted date
|
94
97
|
|
95
98
|
``replied_to``
|
96
|
-
|
99
|
+
Comment which you reply to someone
|
97
100
|
|
98
101
|
``replied_users``
|
99
|
-
|
102
|
+
List of users who you reply to
|
100
103
|
|
101
104
|
``hash_tags``
|
102
|
-
|
105
|
+
List of hash tags about comment
|
103
106
|
|
104
107
|
``location``
|
105
|
-
|
108
|
+
Posted place (for geolocation)
|
106
109
|
|
107
110
|
``posted_by``
|
108
|
-
|
111
|
+
Person who write comment
|
109
112
|
|
110
113
|
``favorited_by``
|
111
|
-
Users
|
112
|
-
|
114
|
+
Indexes for ``favorites`` column in ``Users`` table.
|
115
|
+
With this indexes, you can search the person who mark comment as favorite one.
|
113
116
|
|
114
|
-
HashTags
|
115
|
-
|
117
|
+
HashTags table
|
118
|
+
^^^^^^^^^^^^^^
|
116
119
|
|
117
|
-
|
120
|
+
This is the table which stores hash tags for comments.
|
118
121
|
|
119
122
|
``_key``
|
120
|
-
|
123
|
+
Hash tag
|
121
124
|
|
122
125
|
``hash_index``
|
123
|
-
|
124
|
-
|
126
|
+
Indexes for ``Comments.hash_tags``.
|
127
|
+
With this indexes, you can search list of comments with specified hash tags.
|
125
128
|
|
126
|
-
Bigram
|
127
|
-
|
129
|
+
Bigram table
|
130
|
+
^^^^^^^^^^^^
|
128
131
|
|
129
|
-
|
132
|
+
This is the table which stores indexes for full text search by user information or comments.
|
130
133
|
|
131
134
|
``_key``
|
132
|
-
|
135
|
+
Word
|
133
136
|
|
134
137
|
``users_index``
|
135
|
-
|
136
|
-
|
138
|
+
Indexes of user information.
|
139
|
+
This column contains indexes of user name (``Users.name``), current location (``Users.location_str``), profile (``Users.description``).
|
137
140
|
|
138
141
|
``comment_index``
|
139
|
-
|
142
|
+
Indexes about content of comments (``Comments.comment``).
|
140
143
|
|
141
144
|
GeoIndex table
|
142
145
|
^^^^^^^^^^^^^^
|
@@ -149,114 +152,118 @@ This is the table which stores indexes of location column to search geo location
|
|
149
152
|
``comments_location``
|
150
153
|
Indexes of location column for Comments table
|
151
154
|
|
152
|
-
|
153
|
-
|
155
|
+
Loading data
|
156
|
+
------------
|
154
157
|
|
155
|
-
|
158
|
+
Then, load example data.
|
156
159
|
|
157
160
|
::
|
158
161
|
|
159
162
|
load --table Users
|
160
163
|
[
|
161
164
|
{
|
162
|
-
"_key": "
|
163
|
-
"name": "
|
164
|
-
"follower": ["
|
165
|
+
"_key": "alice",
|
166
|
+
"name": "Alice",
|
167
|
+
"follower": ["bob"],
|
165
168
|
"favorites": [],
|
166
|
-
"location": "
|
167
|
-
"location_str": "
|
168
|
-
"description": "
|
169
|
+
"location": "152489000x-255829000",
|
170
|
+
"location_str": "Boston, Massachusetts",
|
171
|
+
"description": "Groonga developer"
|
169
172
|
},
|
170
173
|
{
|
171
|
-
"_key": "
|
172
|
-
"name": "
|
173
|
-
"follower": ["
|
174
|
-
"favorites": ["
|
175
|
-
"location": "
|
176
|
-
"location_str": "
|
177
|
-
"description": "
|
174
|
+
"_key": "bob",
|
175
|
+
"name": "Bob",
|
176
|
+
"follower": ["alice","charlie"],
|
177
|
+
"favorites": ["alice:1","charlie:1"],
|
178
|
+
"location": "146249000x-266228000",
|
179
|
+
"location_str": "Brooklyn, New York City",
|
180
|
+
"description": ""
|
178
181
|
},
|
179
182
|
{
|
180
|
-
"_key": "
|
181
|
-
"name": "
|
182
|
-
"follower": ["
|
183
|
-
"favorites": ["
|
184
|
-
"location": "
|
185
|
-
"location_str": "
|
186
|
-
"description": "
|
183
|
+
"_key": "charlie",
|
184
|
+
"name": "Charlie",
|
185
|
+
"follower": ["alice","bob"],
|
186
|
+
"favorites": ["alice:1","bob:1"],
|
187
|
+
"location": "146607190x-267021260",
|
188
|
+
"location_str": "Newark, New Jersey",
|
189
|
+
"description": "Hmm,Hmm"
|
187
190
|
}
|
188
191
|
]
|
189
192
|
|
190
193
|
load --table Comments
|
191
194
|
[
|
192
195
|
{
|
193
|
-
"_key": "
|
194
|
-
"comment": "
|
196
|
+
"_key": "alice:1",
|
197
|
+
"comment": "I've created micro-blog!",
|
195
198
|
"last_modified": "2010/03/17 12:05:00",
|
196
|
-
"posted_by": "
|
199
|
+
"posted_by": "alice",
|
197
200
|
},
|
198
201
|
{
|
199
|
-
"_key": "
|
200
|
-
"comment": "
|
202
|
+
"_key": "bob:1",
|
203
|
+
"comment": "First post. test,test...",
|
201
204
|
"last_modified": "2010/03/17 12:00:00",
|
202
|
-
"posted_by": "
|
205
|
+
"posted_by": "bob",
|
203
206
|
},
|
204
207
|
{
|
205
|
-
"_key": "
|
206
|
-
"comment": "@
|
208
|
+
"_key": "alice:2",
|
209
|
+
"comment": "@bob Welcome!!!",
|
207
210
|
"last_modified": "2010/03/17 12:05:00",
|
208
|
-
"replied_to": "
|
209
|
-
"replied_users": ["
|
210
|
-
"posted_by": "
|
211
|
+
"replied_to": "bob:1",
|
212
|
+
"replied_users": ["bob"],
|
213
|
+
"posted_by": "alice",
|
211
214
|
},
|
212
215
|
{
|
213
|
-
"_key": "
|
214
|
-
"comment": "@
|
216
|
+
"_key": "bob:2",
|
217
|
+
"comment": "@alice Thanks!",
|
215
218
|
"last_modified": "2010/03/17 13:00:00",
|
216
|
-
"replied_to": "
|
217
|
-
"replied_users": ["
|
218
|
-
"posted_by": "
|
219
|
+
"replied_to": "alice:2",
|
220
|
+
"replied_users": ["alice"],
|
221
|
+
"posted_by": "bob",
|
219
222
|
},
|
220
223
|
{
|
221
|
-
"_key": "
|
222
|
-
"comment": "
|
224
|
+
"_key": "bob:3",
|
225
|
+
"comment": "I've just used 'Try-Groonga' now! #groonga",
|
223
226
|
"last_modified": "2010/03/17 14:00:00",
|
224
227
|
"hash_tags": ["groonga"],
|
225
|
-
"location": "
|
226
|
-
"posted_by": "
|
228
|
+
"location": "146566000x-266422000",
|
229
|
+
"posted_by": "bob",
|
227
230
|
},
|
228
231
|
{
|
229
|
-
"_key": "
|
230
|
-
"comment": "
|
232
|
+
"_key": "bob:4",
|
233
|
+
"comment": "I'm come at city of New York for development camp! #groonga #travel",
|
231
234
|
"last_modified": "2010/03/17 14:05:00",
|
232
235
|
"hash_tags": ["groonga", "travel"],
|
233
|
-
"location": "
|
234
|
-
"posted_by": "
|
236
|
+
"location": "146566000x-266422000",
|
237
|
+
"posted_by": "bob",
|
235
238
|
},
|
236
239
|
{
|
237
|
-
"_key": "
|
238
|
-
"comment": "@
|
240
|
+
"_key": "charlie:1",
|
241
|
+
"comment": "@alice @bob I've tried to register!",
|
239
242
|
"last_modified": "2010/03/17 15:00:00",
|
240
|
-
"replied_users": ["
|
241
|
-
"location": "
|
242
|
-
"posted_by": "
|
243
|
+
"replied_users": ["alice", "bob"],
|
244
|
+
"location": "146607190x-267021260",
|
245
|
+
"posted_by": "charlie",
|
243
246
|
}
|
244
247
|
{
|
245
|
-
"_key": "
|
246
|
-
"comment": "
|
248
|
+
"_key": "charlie:2",
|
249
|
+
"comment": "I'm at the Museum of Modern Art in NY now!",
|
247
250
|
"last_modified": "2010/03/17 15:05:00",
|
248
|
-
"location": "
|
249
|
-
"posted_by": "
|
251
|
+
"location": "146741340x-266319590",
|
252
|
+
"posted_by": "charlie",
|
250
253
|
}
|
251
254
|
]
|
252
255
|
|
253
|
-
|
256
|
+
``follower`` column and ``favorites`` column in ``Users`` table and ``replied_users`` column in ``Comments`` table are vector column, so specify the value as an array.
|
254
257
|
|
255
|
-
Users
|
258
|
+
``location`` column in ``Users`` table, ``location`` column in ``Comments`` table use GeoPoint type. This type accepts "[latitude]x[longitude]".
|
256
259
|
|
257
|
-
Comments
|
258
|
-
|
259
|
-
|
260
|
+
``last_modified`` column in ``Comments`` table use Time type.
|
261
|
+
|
262
|
+
There are two way to specify the value.
|
263
|
+
First, specify epoch (seconds since Jan, 1, 1970 AM 00:00:00) directly. In this case, you can specify micro seconds as fractional part.
|
264
|
+
The value is converted from factional part to the time which is micro seconds based one when data is loaded.
|
265
|
+
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
|
266
|
+
when data is loaded.
|
260
267
|
|
261
268
|
.. groonga-command
|
262
269
|
..
|
@@ -265,7 +272,7 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
265
272
|
table_create --name HashTags --flags TABLE_HASH_KEY --key_type ShortText
|
266
273
|
table_create --name Bigram --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
267
274
|
table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint
|
268
|
-
|
275
|
+
|
269
276
|
column_create --table Users --name name --flags COLUMN_SCALAR --type ShortText
|
270
277
|
column_create --table Users --name follower --flags COLUMN_VECTOR --type Users
|
271
278
|
column_create --table Users --name favorites --flags COLUMN_VECTOR --type Comments
|
@@ -273,7 +280,7 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
273
280
|
column_create --table Users --name location_str --flags COLUMN_SCALAR --type ShortText
|
274
281
|
column_create --table Users --name description --flags COLUMN_SCALAR --type ShortText
|
275
282
|
column_create --table Users --name followee --flags COLUMN_INDEX --type Users --source follower
|
276
|
-
|
283
|
+
|
277
284
|
column_create --table Comments --name comment --flags COLUMN_SCALAR --type ShortText
|
278
285
|
column_create --table Comments --name last_modified --flags COLUMN_SCALAR --type Time
|
279
286
|
column_create --table Comments --name replied_to --flags COLUMN_SCALAR --type Comments
|
@@ -282,224 +289,250 @@ Commentsテーブルのlast_modifiedカラムは、Time型です。この型で
|
|
282
289
|
column_create --table Comments --name location --flags COLUMN_SCALAR --type WGS84GeoPoint
|
283
290
|
column_create --table Comments --name posted_by --flags COLUMN_SCALAR --type Users
|
284
291
|
column_create --table Comments --name favorited_by --flags COLUMN_INDEX --type Users --source favorites
|
285
|
-
|
292
|
+
|
286
293
|
column_create --table HashTags --name hash_index --flags COLUMN_INDEX --type Comments --source hash_tags
|
287
|
-
|
294
|
+
|
288
295
|
column_create --table Bigram --name users_index --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --type Users --source name,location_str,description
|
289
296
|
column_create --table Bigram --name comment_index --flags COLUMN_INDEX|WITH_POSITION --type Comments --source comment
|
290
|
-
|
297
|
+
|
291
298
|
column_create --table GeoIndex --name users_location --type Users --flags COLUMN_INDEX --source location
|
292
299
|
column_create --table GeoIndex --name comments_location --type Comments --flags COLUMN_INDEX --source location
|
293
|
-
|
300
|
+
|
294
301
|
load --table Users
|
295
302
|
[
|
296
303
|
{
|
297
|
-
"_key": "
|
298
|
-
"name": "
|
299
|
-
"follower": ["
|
304
|
+
"_key": "alice",
|
305
|
+
"name": "Alice",
|
306
|
+
"follower": ["bob"],
|
300
307
|
"favorites": [],
|
301
|
-
"location": "
|
302
|
-
"location_str": "
|
303
|
-
"description": "
|
308
|
+
"location": "152489000x-255829000",
|
309
|
+
"location_str": "Boston, Massachusetts",
|
310
|
+
"description": "Groonga developer"
|
304
311
|
},
|
305
312
|
{
|
306
|
-
"_key": "
|
307
|
-
"name": "
|
308
|
-
"follower": ["
|
309
|
-
"favorites": ["
|
310
|
-
"location": "
|
311
|
-
"location_str": "
|
312
|
-
"description": "
|
313
|
+
"_key": "bob",
|
314
|
+
"name": "Bob",
|
315
|
+
"follower": ["alice","charlie"],
|
316
|
+
"favorites": ["alice:1","charlie:1"],
|
317
|
+
"location": "146249000x-266228000",
|
318
|
+
"location_str": "Brooklyn, New York City",
|
319
|
+
"description": ""
|
313
320
|
},
|
314
321
|
{
|
315
|
-
"_key": "
|
316
|
-
"name": "
|
317
|
-
"follower": ["
|
318
|
-
"favorites": ["
|
319
|
-
"location": "
|
320
|
-
"location_str": "
|
321
|
-
"description": "
|
322
|
+
"_key": "charlie",
|
323
|
+
"name": "Charlie",
|
324
|
+
"follower": ["alice","bob"],
|
325
|
+
"favorites": ["alice:1","bob:1"],
|
326
|
+
"location": "146607190x-267021260",
|
327
|
+
"location_str": "Newark, New Jersey",
|
328
|
+
"description": "Hmm,Hmm"
|
322
329
|
}
|
323
330
|
]
|
324
|
-
|
331
|
+
|
325
332
|
load --table Comments
|
326
333
|
[
|
327
334
|
{
|
328
|
-
"_key": "
|
329
|
-
"comment": "
|
335
|
+
"_key": "alice:1",
|
336
|
+
"comment": "I've created micro-blog!",
|
330
337
|
"last_modified": "2010/03/17 12:05:00",
|
331
|
-
"posted_by": "
|
338
|
+
"posted_by": "alice",
|
332
339
|
},
|
333
340
|
{
|
334
|
-
"_key": "
|
335
|
-
"comment": "
|
341
|
+
"_key": "bob:1",
|
342
|
+
"comment": "First post. test,test...",
|
336
343
|
"last_modified": "2010/03/17 12:00:00",
|
337
|
-
"posted_by": "
|
344
|
+
"posted_by": "bob",
|
338
345
|
},
|
339
346
|
{
|
340
|
-
"_key": "
|
341
|
-
"comment": "@
|
347
|
+
"_key": "alice:2",
|
348
|
+
"comment": "@bob Welcome!!!",
|
342
349
|
"last_modified": "2010/03/17 12:05:00",
|
343
|
-
"replied_to": "
|
344
|
-
"replied_users": ["
|
345
|
-
"posted_by": "
|
350
|
+
"replied_to": "bob:1",
|
351
|
+
"replied_users": ["bob"],
|
352
|
+
"posted_by": "alice",
|
346
353
|
},
|
347
354
|
{
|
348
|
-
"_key": "
|
349
|
-
"comment": "@
|
355
|
+
"_key": "bob:2",
|
356
|
+
"comment": "@alice Thanks!",
|
350
357
|
"last_modified": "2010/03/17 13:00:00",
|
351
|
-
"replied_to": "
|
352
|
-
"replied_users": ["
|
353
|
-
"posted_by": "
|
358
|
+
"replied_to": "alice:2",
|
359
|
+
"replied_users": ["alice"],
|
360
|
+
"posted_by": "bob",
|
354
361
|
},
|
355
362
|
{
|
356
|
-
"_key": "
|
357
|
-
"comment": "
|
363
|
+
"_key": "bob:3",
|
364
|
+
"comment": "I've just used 'Try-Groonga' now! #groonga",
|
358
365
|
"last_modified": "2010/03/17 14:00:00",
|
359
366
|
"hash_tags": ["groonga"],
|
360
|
-
"location": "
|
361
|
-
"posted_by": "
|
367
|
+
"location": "146566000x-266422000",
|
368
|
+
"posted_by": "bob",
|
362
369
|
},
|
363
370
|
{
|
364
|
-
"_key": "
|
365
|
-
"comment": "
|
371
|
+
"_key": "bob:4",
|
372
|
+
"comment": "I'm come at city of New York for development camp! #groonga #travel",
|
366
373
|
"last_modified": "2010/03/17 14:05:00",
|
367
374
|
"hash_tags": ["groonga", "travel"],
|
368
|
-
"location": "
|
369
|
-
"posted_by": "
|
375
|
+
"location": "146566000x-266422000",
|
376
|
+
"posted_by": "bob",
|
370
377
|
},
|
371
378
|
{
|
372
|
-
"_key": "
|
373
|
-
"comment": "@
|
379
|
+
"_key": "charlie:1",
|
380
|
+
"comment": "@alice @bob I've tried to register!",
|
374
381
|
"last_modified": "2010/03/17 15:00:00",
|
375
|
-
"replied_users": ["
|
376
|
-
"location": "
|
377
|
-
"posted_by": "
|
382
|
+
"replied_users": ["alice", "bob"],
|
383
|
+
"location": "146607190x-267021260",
|
384
|
+
"posted_by": "charlie",
|
378
385
|
}
|
379
386
|
{
|
380
|
-
"_key": "
|
381
|
-
"comment": "
|
387
|
+
"_key": "charlie:2",
|
388
|
+
"comment": "I'm at the Museum of Modern Art in NY now!",
|
382
389
|
"last_modified": "2010/03/17 15:05:00",
|
383
|
-
"location": "
|
384
|
-
"posted_by": "
|
390
|
+
"location": "146741340x-266319590",
|
391
|
+
"posted_by": "charlie",
|
385
392
|
}
|
386
393
|
]
|
387
394
|
|
388
395
|
|
389
396
|
|
390
|
-
|
391
|
-
|
397
|
+
Search
|
398
|
+
------
|
392
399
|
|
393
|
-
|
400
|
+
Let's search micro-blog.
|
394
401
|
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
402
|
+
Search users by keyword
|
403
|
+
^^^^^^^^^^^^^^^^^^^^^^^
|
404
|
+
|
405
|
+
In this section, we search micro-blog against multiple column by keyword.
|
406
|
+
See :doc:`match_columns` to search multiple column at once.
|
407
|
+
|
408
|
+
Let's search user from micro-blog's user name, location, description entries.
|
399
409
|
|
400
410
|
.. groonga-command
|
401
|
-
.. include:: ../example/tutorial/
|
402
|
-
.. select --table Users --match_columns name,location_str,description --query
|
411
|
+
.. include:: ../example/tutorial/micro_blog_keyword.log
|
412
|
+
.. select --table Users --match_columns name,location_str,description --query "New York" --output_columns _key,name
|
413
|
+
|
414
|
+
By using "New York" as searching keyword for user, "Bob" who lives in "New York" is listed in search result.
|
403
415
|
|
404
|
-
|
416
|
+
Search users by geolocation data (GeoPoint)
|
417
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
405
418
|
|
406
|
-
GeoPoint
|
407
|
-
|
419
|
+
In this section, we search users by column data which use type of GeoPoint.
|
420
|
+
See :doc:`search` about GeoPoint column.
|
408
421
|
|
409
|
-
|
410
|
-
以下の例では、指定された位置から5000m以内にいるユーザーを検索しています。
|
422
|
+
Following example searches users who live in within 20km from specified location.
|
411
423
|
|
412
424
|
.. groonga-command
|
413
|
-
.. include:: ../example/tutorial/
|
414
|
-
.. select --table Users --filter 'geo_in_circle(location,"
|
425
|
+
.. include:: ../example/tutorial/micro_blog_user.log
|
426
|
+
.. select --table Users --filter 'geo_in_circle(location,"146710080x-266315480",20000)' --output_columns _key,name
|
415
427
|
|
416
|
-
|
428
|
+
It shows that "Bob" and "Charlie" lives in within 20 km from station of "Grand Central Terminal".
|
417
429
|
|
418
|
-
|
419
|
-
|
430
|
+
Search users who follows specific user
|
431
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
420
432
|
|
421
|
-
|
422
|
-
|
433
|
+
In this section, we do reverse resolution of reference relationships which is described at :doc:`index`.
|
434
|
+
|
435
|
+
Following examples shows reverse resolution about ``follower`` column of ``Users`` table.
|
423
436
|
|
424
437
|
.. groonga-command
|
425
|
-
.. include:: ../example/tutorial/
|
426
|
-
.. select --table Users --query follower:@
|
438
|
+
.. include:: ../example/tutorial/micro_blog_follower.log
|
439
|
+
.. select --table Users --query follower:@bob --output_columns _key,name
|
440
|
+
|
441
|
+
It shows that "Alice" and "Charlie" follows "Bob".
|
427
442
|
|
428
|
-
|
443
|
+
Search comments by using the value of GeoPoint type
|
444
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
429
445
|
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
446
|
+
In this section, we search comments which are written within specific location.
|
447
|
+
|
448
|
+
Then, we also use drill down which is described at :doc:`drilldown`.
|
449
|
+
Following example shows how to drill down against search results.
|
450
|
+
As a result, we get the value of count which is grouped by user, and hash tags respectively.
|
434
451
|
|
435
452
|
.. groonga-command
|
436
|
-
.. include:: ../example/tutorial/
|
437
|
-
.. select --table Comments --filter 'geo_in_circle(location,"
|
453
|
+
.. include:: ../example/tutorial/micro_blog_drilldown.log
|
454
|
+
.. select --table Comments --filter 'geo_in_circle(location,"146867000x-266280000",20000)' --output_columns posted_by.name,comment --drilldown hash_tags,posted_by
|
438
455
|
|
439
|
-
|
456
|
+
Above query searches comments which are posted within 20 km from Central Park in city of New York.
|
440
457
|
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
458
|
+
As specified range is 20 km, all comments with location are collected.
|
459
|
+
You know that search results contain 2 #groonga hash tags and one #travel hash tag, and bob and charlie posted 2 comments.
|
460
|
+
|
461
|
+
Search comments by keyword
|
462
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
463
|
+
|
464
|
+
In this section, we search comments which contains specific keyword.
|
465
|
+
And more, Let's calculate the value of `_score` which is described at :doc:`search`.
|
445
466
|
|
446
467
|
.. groonga-command
|
447
|
-
.. include:: ../example/tutorial/
|
448
|
-
.. select --table Comments --query comment
|
468
|
+
.. include:: ../example/tutorial/micro_blog_score.log
|
469
|
+
.. select --table Comments --query comment:@Now --output_columns comment,_score
|
470
|
+
|
471
|
+
By using 'Now' as a keyword, above query returns 2 comments. It also contains count of 'Now' as the value of `_score`.
|
449
472
|
|
450
|
-
|
473
|
+
Search comments by keyword and geolocation
|
474
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
451
475
|
|
452
|
-
|
453
|
-
|
454
|
-
今度は、キーワードとGeoPointの両方を条件に検索をしてみます。--queryと--filterの両方を使用した場合、両方の条件に一致するレコードがヒットします。
|
476
|
+
In this section, we search comments by specific keyword and geolocation.
|
477
|
+
By using `--query` and `--filter` option, following query returns records which are matched to both conditions.
|
455
478
|
|
456
479
|
.. groonga-command
|
457
|
-
.. include:: ../example/tutorial/
|
458
|
-
.. select --table Comments --query comment
|
480
|
+
.. include:: ../example/tutorial/micro_blog_keyword_and_location.log
|
481
|
+
.. 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
|
459
482
|
|
460
|
-
|
483
|
+
It returns 1 comment which meets both condition.
|
484
|
+
It also returns result of drilldown. There is 1 comment which is commented by Bob.
|
461
485
|
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
486
|
+
Search comments by hash tags
|
487
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
488
|
+
|
489
|
+
In this section, we search comments which contains specific hash tags.
|
490
|
+
Let's use reverse resolution of reference relationships.
|
466
491
|
|
467
492
|
.. groonga-command
|
468
|
-
.. include:: ../example/tutorial/
|
493
|
+
.. include:: ../example/tutorial/micro_blog_hash_tag.log
|
469
494
|
.. select --table Comments --query hash_tags:@groonga --output_columns posted_by.name,comment --drilldown posted_by
|
470
495
|
|
471
|
-
#groonga
|
496
|
+
Above query returns 2 comments which contains #groonga hash tag.
|
497
|
+
It also returns result of drilldown grouped by person who posted it. It shows that there are 2 comments. Bob commented it.
|
498
|
+
|
499
|
+
Search comments by user id
|
500
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
472
501
|
|
473
|
-
|
474
|
-
^^^^^^^^^^^^^^^^^^^^^^^^
|
475
|
-
あるユーザーが投稿したコメントを検索します。
|
502
|
+
In this section, we search comments which are posted by specific user.
|
476
503
|
|
477
504
|
.. groonga-command
|
478
|
-
.. include:: ../example/tutorial/
|
479
|
-
.. select --table Comments --query posted_by:
|
505
|
+
.. include:: ../example/tutorial/micro_blog_posted_by.log
|
506
|
+
.. select --table Comments --query posted_by:bob --output_columns comment --drilldown hash_tags
|
480
507
|
|
481
|
-
|
508
|
+
Above query returns 4 comments which are posted by Bob.
|
509
|
+
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.
|
482
510
|
|
483
|
-
|
484
|
-
|
485
|
-
|
511
|
+
Search user's favorite comments
|
512
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
513
|
+
|
514
|
+
In this section, we search user's favorite comments.
|
486
515
|
|
487
516
|
.. groonga-command
|
488
|
-
.. include:: ../example/tutorial/
|
489
|
-
.. select --table Users --query _key:
|
517
|
+
.. include:: ../example/tutorial/micro_blog_favorite.log
|
518
|
+
.. select --table Users --query _key:bob --output_columns favorites.posted_by,favorites.comment
|
519
|
+
|
520
|
+
Above query returns Bob's favorite comments.
|
521
|
+
|
522
|
+
Search comments by posted time
|
523
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
490
524
|
|
491
|
-
|
525
|
+
In this section, we search comments by posted time.
|
526
|
+
See type of `Time` in :doc:`data`.
|
492
527
|
|
493
|
-
|
494
|
-
^^^^^^^^^^^^^^^^^^^^^^
|
495
|
-
コメントの投稿時間で検索をします。Time型については :doc:`data` で扱っています。
|
496
|
-
この例では、指定した時間よりも前に投稿されているコメントを検索します。
|
528
|
+
Let's search comments that posted time are older than specified time.
|
497
529
|
|
498
530
|
.. groonga-command
|
499
|
-
.. include:: ../example/tutorial/
|
531
|
+
.. include:: ../example/tutorial/micro_blog_last_modified.log
|
500
532
|
.. select Comments --filter 'last_modified<=1268802000' --output_columns posted_by.name,comment,last_modified --drilldown hash_tags,posted_by
|
501
533
|
|
502
|
-
2010/03/17 14:00:00
|
534
|
+
Above query returns 5 comments which are older than 2010/03/17 14:00:00.
|
535
|
+
It also returns result of drilldown by posted person. There are 2 comments by Alice, 3 comments by Bob.
|
503
536
|
|
504
537
|
.. TODO: 以下の機能はgroonga本体での支援が必要。
|
505
538
|
.. タイムライン表示: あるユーザがfollowしているユーザの発言を、時系列順の逆順で並べて10件のみ表示。
|