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
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "September 28, 2014" "4.0.6" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -110,7 +110,7 @@ packages.groonga.org:
|
|
110
110
|
.INDENT 3.5
|
111
111
|
.INDENT 0.0
|
112
112
|
.IP \(bu 2
|
113
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
113
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x86.exe\fP
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
116
116
|
.UNINDENT
|
@@ -123,7 +123,7 @@ packages.goronga.org:
|
|
123
123
|
.INDENT 3.5
|
124
124
|
.INDENT 0.0
|
125
125
|
.IP \(bu 2
|
126
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
126
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x64.exe\fP
|
127
127
|
.UNINDENT
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
@@ -140,7 +140,7 @@ packages.groonga.org:
|
|
140
140
|
.INDENT 3.5
|
141
141
|
.INDENT 0.0
|
142
142
|
.IP \(bu 2
|
143
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
143
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x86.zip\fP
|
144
144
|
.UNINDENT
|
145
145
|
.UNINDENT
|
146
146
|
.UNINDENT
|
@@ -153,7 +153,7 @@ packages.groonga.org:
|
|
153
153
|
.INDENT 3.5
|
154
154
|
.INDENT 0.0
|
155
155
|
.IP \(bu 2
|
156
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
156
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.6\-x64.zip\fP
|
157
157
|
.UNINDENT
|
158
158
|
.UNINDENT
|
159
159
|
.UNINDENT
|
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
|
|
181
181
|
.INDENT 3.5
|
182
182
|
.INDENT 0.0
|
183
183
|
.IP \(bu 2
|
184
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
184
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.6.zip\fP
|
185
185
|
.UNINDENT
|
186
186
|
.UNINDENT
|
187
187
|
.UNINDENT
|
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
|
|
194
194
|
.sp
|
195
195
|
.nf
|
196
196
|
.ft C
|
197
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
197
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.6
|
198
198
|
.ft P
|
199
199
|
.fi
|
200
200
|
.UNINDENT
|
@@ -208,7 +208,7 @@ parameter instead:
|
|
208
208
|
.sp
|
209
209
|
.nf
|
210
210
|
.ft C
|
211
|
-
groonga\-4.0.
|
211
|
+
groonga\-4.0.6> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
212
212
|
.ft P
|
213
213
|
.fi
|
214
214
|
.UNINDENT
|
@@ -220,7 +220,7 @@ Build:
|
|
220
220
|
.sp
|
221
221
|
.nf
|
222
222
|
.ft C
|
223
|
-
groonga\-4.0.
|
223
|
+
groonga\-4.0.6> cmake \-\-build . \-\-config Release
|
224
224
|
.ft P
|
225
225
|
.fi
|
226
226
|
.UNINDENT
|
@@ -232,7 +232,7 @@ Install:
|
|
232
232
|
.sp
|
233
233
|
.nf
|
234
234
|
.ft C
|
235
|
-
groonga\-4.0.
|
235
|
+
groonga\-4.0.6> cmake \-\-build . \-\-config Release \-\-target Install
|
236
236
|
.ft P
|
237
237
|
.fi
|
238
238
|
.UNINDENT
|
@@ -293,9 +293,9 @@ Download source:
|
|
293
293
|
.sp
|
294
294
|
.nf
|
295
295
|
.ft C
|
296
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
297
|
-
% tar xvzf groonga\-4.0.
|
298
|
-
% cd groonga\-4.0.
|
296
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
297
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
298
|
+
% cd groonga\-4.0.6
|
299
299
|
.ft P
|
300
300
|
.fi
|
301
301
|
.UNINDENT
|
@@ -444,116 +444,119 @@ Install groonga\-normalizer\-mysql package:
|
|
444
444
|
.fi
|
445
445
|
.UNINDENT
|
446
446
|
.UNINDENT
|
447
|
-
.SS
|
448
|
-
.sp
|
449
|
-
Add the groonga apt repository.
|
447
|
+
.SS Build from source
|
450
448
|
.sp
|
451
|
-
|
449
|
+
Install required packages to build Groonga:
|
452
450
|
.INDENT 0.0
|
453
451
|
.INDENT 3.5
|
454
452
|
.sp
|
455
453
|
.nf
|
456
454
|
.ft C
|
457
|
-
|
458
|
-
deb\-src http://packages.groonga.org/debian/ jessie main
|
455
|
+
% sudo apt\-get install \-y \-V wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
|
459
456
|
.ft P
|
460
457
|
.fi
|
461
458
|
.UNINDENT
|
462
459
|
.UNINDENT
|
463
460
|
.sp
|
464
|
-
|
461
|
+
Download source:
|
465
462
|
.INDENT 0.0
|
466
463
|
.INDENT 3.5
|
467
464
|
.sp
|
468
465
|
.nf
|
469
466
|
.ft C
|
470
|
-
%
|
471
|
-
%
|
472
|
-
%
|
473
|
-
% sudo apt\-get install \-y groonga
|
467
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
468
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
469
|
+
% cd groonga\-4.0.6
|
474
470
|
.ft P
|
475
471
|
.fi
|
476
472
|
.UNINDENT
|
477
473
|
.UNINDENT
|
478
474
|
.sp
|
479
|
-
\
|
475
|
+
Configure (see \fIsource\-configure\fP about \fBconfigure\fP options):
|
480
476
|
.INDENT 0.0
|
481
477
|
.INDENT 3.5
|
482
|
-
\fBgroonga\fP package is the minimum set of fulltext search engine.
|
483
|
-
If you want to use Groonga for server use, you can install
|
484
|
-
additional preconfigured packages.
|
485
|
-
.sp
|
486
|
-
There are three packages for server use.
|
487
|
-
.INDENT 0.0
|
488
|
-
.IP \(bu 2
|
489
|
-
groonga\-server\-http (simple HTTP protocol based server package)
|
490
|
-
.IP \(bu 2
|
491
|
-
groonga\-httpd (nginx and HTTP protocol based server package)
|
492
|
-
.IP \(bu 2
|
493
|
-
groonga\-server\-gqtp (GQTP protocol based server package)
|
494
|
-
.UNINDENT
|
495
478
|
.sp
|
496
|
-
|
479
|
+
.nf
|
480
|
+
.ft C
|
481
|
+
% ./configure
|
482
|
+
.ft P
|
483
|
+
.fi
|
497
484
|
.UNINDENT
|
498
485
|
.UNINDENT
|
499
486
|
.sp
|
500
|
-
|
501
|
-
tokenizer, install groonga\-tokenizer\-mecab package.
|
502
|
-
.sp
|
503
|
-
Install groonga\-tokenizer\-mecab package:
|
487
|
+
Build:
|
504
488
|
.INDENT 0.0
|
505
489
|
.INDENT 3.5
|
506
490
|
.sp
|
507
491
|
.nf
|
508
492
|
.ft C
|
509
|
-
%
|
493
|
+
% make \-j$(grep \(aq^processor\(aq /proc/cpuinfo | wc \-l)
|
510
494
|
.ft P
|
511
495
|
.fi
|
512
496
|
.UNINDENT
|
513
497
|
.UNINDENT
|
514
498
|
.sp
|
515
|
-
|
516
|
-
groonga status by Munin, install groonga\-munin\-plugins package.
|
517
|
-
.sp
|
518
|
-
Install groonga\-munin\-plugins package:
|
499
|
+
Install:
|
519
500
|
.INDENT 0.0
|
520
501
|
.INDENT 3.5
|
521
502
|
.sp
|
522
503
|
.nf
|
523
504
|
.ft C
|
524
|
-
% sudo
|
505
|
+
% sudo make install
|
525
506
|
.ft P
|
526
507
|
.fi
|
527
508
|
.UNINDENT
|
528
509
|
.UNINDENT
|
510
|
+
.SS Ubuntu
|
529
511
|
.sp
|
530
|
-
|
531
|
-
|
532
|
-
If you want to use that one, install groonga\-normalizer\-mysql package.
|
512
|
+
This section describes how to install Groonga related deb packages on
|
513
|
+
Ubuntu. You can install them by \fBapt\fP\&.
|
533
514
|
.sp
|
534
|
-
|
515
|
+
We distribute both 32\-bit and 64\-bit packages but we strongly
|
516
|
+
recommend a 64\-bit package for server. You should use a 32\-bit package
|
517
|
+
just only for tests or development. You will encounter an out of
|
518
|
+
memory error with a 32\-bit package even if you just process medium
|
519
|
+
size data.
|
520
|
+
.SS PPA (Personal Package Archive)
|
521
|
+
.sp
|
522
|
+
The Groonga APT repository for Ubuntu uses PPA (Personal Package
|
523
|
+
Archive) on Launchpad. You can install Groonga by APT from the PPA.
|
524
|
+
.sp
|
525
|
+
Here are supported Ubuntu versions:
|
526
|
+
.INDENT 0.0
|
527
|
+
.INDENT 3.5
|
528
|
+
.INDENT 0.0
|
529
|
+
.IP \(bu 2
|
530
|
+
12.04 LTS Precise Pangolin
|
531
|
+
.IP \(bu 2
|
532
|
+
13.10 Saucy Salamander
|
533
|
+
.IP \(bu 2
|
534
|
+
14.04 LTS Trusty Tahr
|
535
|
+
.UNINDENT
|
536
|
+
.UNINDENT
|
537
|
+
.UNINDENT
|
538
|
+
.sp
|
539
|
+
Enable the universe repository to install Groonga:
|
535
540
|
.INDENT 0.0
|
536
541
|
.INDENT 3.5
|
537
542
|
.sp
|
538
543
|
.nf
|
539
544
|
.ft C
|
540
|
-
% sudo apt\-get
|
545
|
+
% sudo apt\-get \-y install software\-properties\-common
|
546
|
+
% sudo add\-apt\-repository \-y universe
|
541
547
|
.ft P
|
542
548
|
.fi
|
543
549
|
.UNINDENT
|
544
550
|
.UNINDENT
|
545
|
-
.SS sid
|
546
|
-
.sp
|
547
|
-
Add the groonga apt repository.
|
548
551
|
.sp
|
549
|
-
/
|
552
|
+
Add the \fBppa:groonga/ppa\fP PPA to your system:
|
550
553
|
.INDENT 0.0
|
551
554
|
.INDENT 3.5
|
552
555
|
.sp
|
553
556
|
.nf
|
554
557
|
.ft C
|
555
|
-
|
556
|
-
|
558
|
+
% sudo add\-apt\-repository \-y ppa:groonga/ppa
|
559
|
+
% sudo apt\-get update
|
557
560
|
.ft P
|
558
561
|
.fi
|
559
562
|
.UNINDENT
|
@@ -565,10 +568,7 @@ Install:
|
|
565
568
|
.sp
|
566
569
|
.nf
|
567
570
|
.ft C
|
568
|
-
% sudo apt\-get
|
569
|
-
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
570
|
-
% sudo apt\-get update
|
571
|
-
% sudo apt\-get install \-y \-V groonga
|
571
|
+
% sudo apt\-get \-y install groonga
|
572
572
|
.ft P
|
573
573
|
.fi
|
574
574
|
.UNINDENT
|
@@ -604,7 +604,7 @@ Install groonga\-tokenizer\-mecab package:
|
|
604
604
|
.sp
|
605
605
|
.nf
|
606
606
|
.ft C
|
607
|
-
% sudo apt\-get
|
607
|
+
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
608
608
|
.ft P
|
609
609
|
.fi
|
610
610
|
.UNINDENT
|
@@ -619,14 +619,14 @@ Install groonga\-munin\-plugins package:
|
|
619
619
|
.sp
|
620
620
|
.nf
|
621
621
|
.ft C
|
622
|
-
% sudo apt\-get
|
622
|
+
% sudo apt\-get \-y install groonga\-munin\-plugins
|
623
623
|
.ft P
|
624
624
|
.fi
|
625
625
|
.UNINDENT
|
626
626
|
.UNINDENT
|
627
627
|
.sp
|
628
628
|
There is a package that provides MySQL compatible normalizer as
|
629
|
-
|
629
|
+
Groonga plugins.
|
630
630
|
If you want to use that one, install groonga\-normalizer\-mysql package.
|
631
631
|
.sp
|
632
632
|
Install groonga\-normalizer\-mysql package:
|
@@ -635,7 +635,7 @@ Install groonga\-normalizer\-mysql package:
|
|
635
635
|
.sp
|
636
636
|
.nf
|
637
637
|
.ft C
|
638
|
-
% sudo apt\-get
|
638
|
+
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
639
639
|
.ft P
|
640
640
|
.fi
|
641
641
|
.UNINDENT
|
@@ -648,7 +648,7 @@ Install required packages to build Groonga:
|
|
648
648
|
.sp
|
649
649
|
.nf
|
650
650
|
.ft C
|
651
|
-
% sudo apt\-get
|
651
|
+
% sudo apt\-get \-V \-y install wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
|
652
652
|
.ft P
|
653
653
|
.fi
|
654
654
|
.UNINDENT
|
@@ -660,9 +660,9 @@ Download source:
|
|
660
660
|
.sp
|
661
661
|
.nf
|
662
662
|
.ft C
|
663
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
664
|
-
% tar xvzf groonga\-4.0.
|
665
|
-
% cd groonga\-4.0.
|
663
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
664
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
665
|
+
% cd groonga\-4.0.6
|
666
666
|
.ft P
|
667
667
|
.fi
|
668
668
|
.UNINDENT
|
@@ -703,60 +703,17 @@ Install:
|
|
703
703
|
.fi
|
704
704
|
.UNINDENT
|
705
705
|
.UNINDENT
|
706
|
-
.SS
|
706
|
+
.SS CentOS
|
707
707
|
.sp
|
708
|
-
This section describes how to install Groonga related
|
709
|
-
|
708
|
+
This section describes how to install Groonga related RPM packages on
|
709
|
+
CentOS. You can install them by \fByum\fP\&.
|
710
710
|
.sp
|
711
711
|
We distribute both 32\-bit and 64\-bit packages but we strongly
|
712
712
|
recommend a 64\-bit package for server. You should use a 32\-bit package
|
713
713
|
just only for tests or development. You will encounter an out of
|
714
714
|
memory error with a 32\-bit package even if you just process medium
|
715
715
|
size data.
|
716
|
-
.SS
|
717
|
-
.sp
|
718
|
-
The Groonga APT repository for Ubuntu uses PPA (Personal Package
|
719
|
-
Archive) on Launchpad. You can install Groonga by APT from the PPA.
|
720
|
-
.sp
|
721
|
-
Here are supported Ubuntu versions:
|
722
|
-
.INDENT 0.0
|
723
|
-
.INDENT 3.5
|
724
|
-
.INDENT 0.0
|
725
|
-
.IP \(bu 2
|
726
|
-
12.04 LTS Precise Pangolin
|
727
|
-
.IP \(bu 2
|
728
|
-
13.10 Saucy Salamander
|
729
|
-
.IP \(bu 2
|
730
|
-
14.04 LTS Trusty Tahr
|
731
|
-
.UNINDENT
|
732
|
-
.UNINDENT
|
733
|
-
.UNINDENT
|
734
|
-
.sp
|
735
|
-
Enable the universe repository to install Groonga:
|
736
|
-
.INDENT 0.0
|
737
|
-
.INDENT 3.5
|
738
|
-
.sp
|
739
|
-
.nf
|
740
|
-
.ft C
|
741
|
-
% sudo apt\-get \-y install software\-properties\-common
|
742
|
-
% sudo add\-apt\-repository \-y universe
|
743
|
-
.ft P
|
744
|
-
.fi
|
745
|
-
.UNINDENT
|
746
|
-
.UNINDENT
|
747
|
-
.sp
|
748
|
-
Add the \fBppa:groonga/ppa\fP PPA to your system:
|
749
|
-
.INDENT 0.0
|
750
|
-
.INDENT 3.5
|
751
|
-
.sp
|
752
|
-
.nf
|
753
|
-
.ft C
|
754
|
-
% sudo add\-apt\-repository \-y ppa:groonga/ppa
|
755
|
-
% sudo apt\-get update
|
756
|
-
.ft P
|
757
|
-
.fi
|
758
|
-
.UNINDENT
|
759
|
-
.UNINDENT
|
716
|
+
.SS CentOS 5
|
760
717
|
.sp
|
761
718
|
Install:
|
762
719
|
.INDENT 0.0
|
@@ -764,7 +721,9 @@ Install:
|
|
764
721
|
.sp
|
765
722
|
.nf
|
766
723
|
.ft C
|
767
|
-
% sudo
|
724
|
+
% sudo rpm \-ivh http://packages.groonga.org/centos/groonga\-release\-1.1.0\-1.noarch.rpm
|
725
|
+
% sudo yum makecache
|
726
|
+
% sudo yum install \-y groonga
|
768
727
|
.ft P
|
769
728
|
.fi
|
770
729
|
.UNINDENT
|
@@ -800,116 +759,93 @@ Install groonga\-tokenizer\-mecab package:
|
|
800
759
|
.sp
|
801
760
|
.nf
|
802
761
|
.ft C
|
803
|
-
% sudo
|
762
|
+
% sudo yum install \-y groonga\-tokenizer\-mecab
|
804
763
|
.ft P
|
805
764
|
.fi
|
806
765
|
.UNINDENT
|
807
766
|
.UNINDENT
|
808
767
|
.sp
|
809
768
|
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
810
|
-
|
769
|
+
Groonga status by Munin, install groonga\-munin\-plugins package.
|
811
770
|
.sp
|
812
|
-
|
771
|
+
\fBNOTE:\fP
|
813
772
|
.INDENT 0.0
|
814
773
|
.INDENT 3.5
|
774
|
+
Groonga\-munin\-plugins package requires munin\-node package that
|
775
|
+
isn\(aqt included in the official CentOS repository. You need to
|
776
|
+
enable \fI\%Repoforge (RPMforge)\fP repository
|
777
|
+
or \fI\%EPEL\fP repository to
|
778
|
+
install it by \fByum\fP\&.
|
815
779
|
.sp
|
816
|
-
|
817
|
-
.ft C
|
818
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
819
|
-
.ft P
|
820
|
-
.fi
|
821
|
-
.UNINDENT
|
822
|
-
.UNINDENT
|
823
|
-
.sp
|
824
|
-
There is a package that provides MySQL compatible normalizer as
|
825
|
-
Groonga plugins.
|
826
|
-
If you want to use that one, install groonga\-normalizer\-mysql package.
|
827
|
-
.sp
|
828
|
-
Install groonga\-normalizer\-mysql package:
|
780
|
+
Enable Repoforge (RPMforge) repository on i386 environment:
|
829
781
|
.INDENT 0.0
|
830
782
|
.INDENT 3.5
|
831
783
|
.sp
|
832
784
|
.nf
|
833
785
|
.ft C
|
834
|
-
%
|
786
|
+
% wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.i386.rpm
|
787
|
+
% sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.i386.rpm
|
835
788
|
.ft P
|
836
789
|
.fi
|
837
790
|
.UNINDENT
|
838
791
|
.UNINDENT
|
839
|
-
.SS Build from source
|
840
792
|
.sp
|
841
|
-
|
793
|
+
Enable Repoforge (RPMforge) repository on x86_64 environment:
|
842
794
|
.INDENT 0.0
|
843
795
|
.INDENT 3.5
|
844
796
|
.sp
|
845
797
|
.nf
|
846
798
|
.ft C
|
847
|
-
%
|
799
|
+
% wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.x86_64.rpm
|
800
|
+
% sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.x86_64.rpm
|
848
801
|
.ft P
|
849
802
|
.fi
|
850
803
|
.UNINDENT
|
851
804
|
.UNINDENT
|
852
805
|
.sp
|
853
|
-
|
806
|
+
Enable EPEL repository on any environment:
|
854
807
|
.INDENT 0.0
|
855
808
|
.INDENT 3.5
|
856
809
|
.sp
|
857
810
|
.nf
|
858
811
|
.ft C
|
859
|
-
% wget http://
|
860
|
-
%
|
861
|
-
% cd groonga\-4.0.5
|
812
|
+
% wget http://download.fedoraproject.org/pub/epel/5/i386/epel\-release\-5\-4.noarch.rpm
|
813
|
+
% sudo rpm \-ivh epel\-release\-5\-4.noarch.rpm
|
862
814
|
.ft P
|
863
815
|
.fi
|
864
816
|
.UNINDENT
|
865
817
|
.UNINDENT
|
866
|
-
.sp
|
867
|
-
Configure (see \fIsource\-configure\fP about \fBconfigure\fP options):
|
868
|
-
.INDENT 0.0
|
869
|
-
.INDENT 3.5
|
870
|
-
.sp
|
871
|
-
.nf
|
872
|
-
.ft C
|
873
|
-
% ./configure
|
874
|
-
.ft P
|
875
|
-
.fi
|
876
818
|
.UNINDENT
|
877
819
|
.UNINDENT
|
878
820
|
.sp
|
879
|
-
|
821
|
+
Install groonga\-munin\-plugins package:
|
880
822
|
.INDENT 0.0
|
881
823
|
.INDENT 3.5
|
882
824
|
.sp
|
883
825
|
.nf
|
884
826
|
.ft C
|
885
|
-
%
|
827
|
+
% sudo yum install \-y groonga\-munin\-plugins
|
886
828
|
.ft P
|
887
829
|
.fi
|
888
830
|
.UNINDENT
|
889
831
|
.UNINDENT
|
890
832
|
.sp
|
891
|
-
|
833
|
+
There is a package that provides MySQL compatible normalizer as
|
834
|
+
Groonga plugins.
|
835
|
+
If you want to use that one, install groonga\-normalizer\-mysql package.
|
836
|
+
.sp
|
837
|
+
Install groonga\-normalizer\-mysql package:
|
892
838
|
.INDENT 0.0
|
893
839
|
.INDENT 3.5
|
894
840
|
.sp
|
895
841
|
.nf
|
896
842
|
.ft C
|
897
|
-
% sudo
|
843
|
+
% sudo yum install \-y groonga\-normalizer\-mysql
|
898
844
|
.ft P
|
899
845
|
.fi
|
900
846
|
.UNINDENT
|
901
847
|
.UNINDENT
|
902
|
-
.SS CentOS
|
903
|
-
.sp
|
904
|
-
This section describes how to install Groonga related RPM packages on
|
905
|
-
CentOS. You can install them by \fByum\fP\&.
|
906
|
-
.sp
|
907
|
-
We distribute both 32\-bit and 64\-bit packages but we strongly
|
908
|
-
recommend a 64\-bit package for server. You should use a 32\-bit package
|
909
|
-
just only for tests or development. You will encounter an out of
|
910
|
-
memory error with a 32\-bit package even if you just process medium
|
911
|
-
size data.
|
912
|
-
.SS CentOS 5
|
848
|
+
.SS CentOS 6
|
913
849
|
.sp
|
914
850
|
Install:
|
915
851
|
.INDENT 0.0
|
@@ -969,44 +905,16 @@ Groonga status by Munin, install groonga\-munin\-plugins package.
|
|
969
905
|
.INDENT 3.5
|
970
906
|
Groonga\-munin\-plugins package requires munin\-node package that
|
971
907
|
isn\(aqt included in the official CentOS repository. You need to
|
972
|
-
enable \fI\%
|
973
|
-
or \fI\%EPEL\fP repository to
|
908
|
+
enable \fI\%EPEL\fP repository to
|
974
909
|
install it by \fByum\fP\&.
|
975
910
|
.sp
|
976
|
-
Enable Repoforge (RPMforge) repository on i386 environment:
|
977
|
-
.INDENT 0.0
|
978
|
-
.INDENT 3.5
|
979
|
-
.sp
|
980
|
-
.nf
|
981
|
-
.ft C
|
982
|
-
% wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.i386.rpm
|
983
|
-
% sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.i386.rpm
|
984
|
-
.ft P
|
985
|
-
.fi
|
986
|
-
.UNINDENT
|
987
|
-
.UNINDENT
|
988
|
-
.sp
|
989
|
-
Enable Repoforge (RPMforge) repository on x86_64 environment:
|
990
|
-
.INDENT 0.0
|
991
|
-
.INDENT 3.5
|
992
|
-
.sp
|
993
|
-
.nf
|
994
|
-
.ft C
|
995
|
-
% wget http://pkgs.repoforge.org/rpmforge\-release/rpmforge\-release\-0.5.3\-1.el5.rf.x86_64.rpm
|
996
|
-
% sudo rpm \-ivh rpmforge\-release\-0.5.2\-2.el5.rf.x86_64.rpm
|
997
|
-
.ft P
|
998
|
-
.fi
|
999
|
-
.UNINDENT
|
1000
|
-
.UNINDENT
|
1001
|
-
.sp
|
1002
911
|
Enable EPEL repository on any environment:
|
1003
912
|
.INDENT 0.0
|
1004
913
|
.INDENT 3.5
|
1005
914
|
.sp
|
1006
915
|
.nf
|
1007
916
|
.ft C
|
1008
|
-
%
|
1009
|
-
% sudo rpm \-ivh epel\-release\-5\-4.noarch.rpm
|
917
|
+
% sudo rpm \-ivh http://download.fedoraproject.org/pub/epel/6/i386/epel\-release\-6\-8.noarch.rpm
|
1010
918
|
.ft P
|
1011
919
|
.fi
|
1012
920
|
.UNINDENT
|
@@ -1041,7 +949,7 @@ Install groonga\-normalizer\-mysql package:
|
|
1041
949
|
.fi
|
1042
950
|
.UNINDENT
|
1043
951
|
.UNINDENT
|
1044
|
-
.SS CentOS
|
952
|
+
.SS CentOS 7
|
1045
953
|
.sp
|
1046
954
|
Install:
|
1047
955
|
.INDENT 0.0
|
@@ -1104,13 +1012,13 @@ isn\(aqt included in the official CentOS repository. You need to
|
|
1104
1012
|
enable \fI\%EPEL\fP repository to
|
1105
1013
|
install it by \fByum\fP\&.
|
1106
1014
|
.sp
|
1107
|
-
Enable EPEL repository
|
1015
|
+
Enable EPEL repository:
|
1108
1016
|
.INDENT 0.0
|
1109
1017
|
.INDENT 3.5
|
1110
1018
|
.sp
|
1111
1019
|
.nf
|
1112
1020
|
.ft C
|
1113
|
-
% sudo
|
1021
|
+
% sudo yum install \-y epel\-release
|
1114
1022
|
.ft P
|
1115
1023
|
.fi
|
1116
1024
|
.UNINDENT
|
@@ -1165,9 +1073,9 @@ Download source:
|
|
1165
1073
|
.sp
|
1166
1074
|
.nf
|
1167
1075
|
.ft C
|
1168
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1169
|
-
% tar xvzf groonga\-4.0.
|
1170
|
-
% cd groonga\-4.0.
|
1076
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
1077
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
1078
|
+
% cd groonga\-4.0.6
|
1171
1079
|
.ft P
|
1172
1080
|
.fi
|
1173
1081
|
.UNINDENT
|
@@ -1370,9 +1278,9 @@ Download source:
|
|
1370
1278
|
.sp
|
1371
1279
|
.nf
|
1372
1280
|
.ft C
|
1373
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1374
|
-
% tar xvzf groonga\-4.0.
|
1375
|
-
% cd groonga\-4.0.
|
1281
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
1282
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
1283
|
+
% cd groonga\-4.0.6
|
1376
1284
|
.ft P
|
1377
1285
|
.fi
|
1378
1286
|
.UNINDENT
|
@@ -1437,9 +1345,9 @@ Download source:
|
|
1437
1345
|
.sp
|
1438
1346
|
.nf
|
1439
1347
|
.ft C
|
1440
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1441
|
-
% gtar xvzf groonga\-4.0.
|
1442
|
-
% cd groonga\-4.0.
|
1348
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
1349
|
+
% gtar xvzf groonga\-4.0.6.tar.gz
|
1350
|
+
% cd groonga\-4.0.6
|
1443
1351
|
.ft P
|
1444
1352
|
.fi
|
1445
1353
|
.UNINDENT
|
@@ -1579,9 +1487,9 @@ steps:
|
|
1579
1487
|
.sp
|
1580
1488
|
.nf
|
1581
1489
|
.ft C
|
1582
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1583
|
-
% tar xvzf groonga\-4.0.
|
1584
|
-
% cd groonga\-4.0.
|
1490
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.6.tar.gz
|
1491
|
+
% tar xvzf groonga\-4.0.6.tar.gz
|
1492
|
+
% cd groonga\-4.0.6
|
1585
1493
|
% ./configure
|
1586
1494
|
% make
|
1587
1495
|
% sudo make install
|
@@ -3991,7 +3899,7 @@ Execution example:
|
|
3991
3899
|
.sp
|
3992
3900
|
.nf
|
3993
3901
|
.ft C
|
3994
|
-
select \-\-table Site \-\-filter "
|
3902
|
+
select \-\-table Site \-\-filter "true" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
|
3995
3903
|
# [
|
3996
3904
|
# [
|
3997
3905
|
# 0,
|
@@ -4065,7 +3973,7 @@ select \-\-table Site \-\-filter "1" \-\-scorer "_score = rand()" \-\-output_col
|
|
4065
3973
|
# ]
|
4066
3974
|
# ]
|
4067
3975
|
# ]
|
4068
|
-
select \-\-table Site \-\-filter "
|
3976
|
+
select \-\-table Site \-\-filter "true" \-\-scorer "_score = rand()" \-\-output_columns _id,_key,_score \-\-sortby _score
|
4069
3977
|
# [
|
4070
3978
|
# [
|
4071
3979
|
# 0,
|
@@ -5021,7 +4929,7 @@ select \-\-table Site \-\-limit 0 \-\-drilldown country \-\-drilldown_sortby _ns
|
|
5021
4929
|
.UNINDENT
|
5022
4930
|
.SS limits drildown results
|
5023
4931
|
.sp
|
5024
|
-
The number of drilldown results is limited to 10 as a default. Use \
|
4932
|
+
The number of drilldown results is limited to 10 as a default. Use \fBdrilldown_limit\fP and \fBdrilldown_offset\fP parameter to customize orilldown results.
|
5025
4933
|
.sp
|
5026
4934
|
Execution example:
|
5027
4935
|
.INDENT 0.0
|
@@ -6520,17 +6428,19 @@ select \-\-table PatSuffix \-\-filter \(aq_key @$ "ゆき" && original == true\(
|
|
6520
6428
|
.fi
|
6521
6429
|
.UNINDENT
|
6522
6430
|
.UNINDENT
|
6523
|
-
.SS
|
6431
|
+
.SS Additional information about lexicon for full text search
|
6524
6432
|
.sp
|
6525
|
-
Groonga
|
6433
|
+
Groonga uses lexicon for full text search as a table. Thus, Groonga can hold multiple information each lexicon.
|
6434
|
+
For example, Groonga holds frequency of word, flags for stop word, importance of word and so on.
|
6526
6435
|
.sp
|
6527
|
-
|
6528
|
-
.SS
|
6436
|
+
TODO: Write document.
|
6437
|
+
.SS Let\(aqs create micro\-blog
|
6529
6438
|
.sp
|
6530
|
-
|
6531
|
-
.
|
6439
|
+
Let\(aqs create micro\-blog with full text search by Groonga.
|
6440
|
+
Micro\-blog is one of the broadcast medium in the forms of blog. It is mainly used to post small messages like a Twitter.
|
6441
|
+
.SS Create a table
|
6532
6442
|
.sp
|
6533
|
-
|
6443
|
+
Let\(aqs create table.
|
6534
6444
|
.INDENT 0.0
|
6535
6445
|
.INDENT 3.5
|
6536
6446
|
.sp
|
@@ -6570,95 +6480,97 @@ column_create \-\-table GeoIndex \-\-name comments_location \-\-type Comments \-
|
|
6570
6480
|
.fi
|
6571
6481
|
.UNINDENT
|
6572
6482
|
.UNINDENT
|
6573
|
-
.SS Users
|
6483
|
+
.SS Users table
|
6574
6484
|
.sp
|
6575
|
-
|
6485
|
+
This is the table which stores user information.
|
6486
|
+
It stores name of user, profile, list of follower and so on.
|
6576
6487
|
.INDENT 0.0
|
6577
6488
|
.TP
|
6578
6489
|
.B \fB_key\fP
|
6579
|
-
|
6490
|
+
User ID
|
6580
6491
|
.TP
|
6581
6492
|
.B \fBname\fP
|
6582
|
-
|
6493
|
+
User name
|
6583
6494
|
.TP
|
6584
6495
|
.B \fBfollower\fP
|
6585
|
-
|
6496
|
+
List of following users
|
6586
6497
|
.TP
|
6587
6498
|
.B \fBfavorites\fP
|
6588
|
-
|
6499
|
+
List of favorite comments
|
6589
6500
|
.TP
|
6590
6501
|
.B \fBlocation\fP
|
6591
|
-
|
6502
|
+
Current location of user (geolocation)
|
6592
6503
|
.TP
|
6593
6504
|
.B \fBlocation_str\fP
|
6594
|
-
|
6505
|
+
Current location of user (string)
|
6595
6506
|
.TP
|
6596
6507
|
.B \fBdescription\fP
|
6597
|
-
|
6508
|
+
User profile
|
6598
6509
|
.TP
|
6599
6510
|
.B \fBfollowee\fP
|
6600
|
-
|
6601
|
-
|
6511
|
+
Indexes for \fBfollower\fP column in \fBUsers\fP table.
|
6512
|
+
With this indexes, you can search users who follows the person.
|
6602
6513
|
.UNINDENT
|
6603
|
-
.SS Comments
|
6514
|
+
.SS Comments table
|
6604
6515
|
.sp
|
6605
|
-
|
6516
|
+
This is the table which stores comments and its metadata.
|
6517
|
+
It stores content of comment, posted date, comment which reply to, and so on.
|
6606
6518
|
.INDENT 0.0
|
6607
6519
|
.TP
|
6608
6520
|
.B \fB_key\fP
|
6609
|
-
|
6521
|
+
Comment ID
|
6610
6522
|
.TP
|
6611
6523
|
.B \fBcomment\fP
|
6612
|
-
|
6524
|
+
Content of comment
|
6613
6525
|
.TP
|
6614
6526
|
.B \fBlast_modified\fP
|
6615
|
-
|
6527
|
+
Posted date
|
6616
6528
|
.TP
|
6617
6529
|
.B \fBreplied_to\fP
|
6618
|
-
|
6530
|
+
Comment which you reply to someone
|
6619
6531
|
.TP
|
6620
6532
|
.B \fBreplied_users\fP
|
6621
|
-
|
6533
|
+
List of users who you reply to
|
6622
6534
|
.TP
|
6623
6535
|
.B \fBhash_tags\fP
|
6624
|
-
|
6536
|
+
List of hash tags about comment
|
6625
6537
|
.TP
|
6626
6538
|
.B \fBlocation\fP
|
6627
|
-
|
6539
|
+
Posted place (for geolocation)
|
6628
6540
|
.TP
|
6629
6541
|
.B \fBposted_by\fP
|
6630
|
-
|
6542
|
+
Person who write comment
|
6631
6543
|
.TP
|
6632
6544
|
.B \fBfavorited_by\fP
|
6633
|
-
|
6634
|
-
|
6545
|
+
Indexes for \fBfavorites\fP column in \fBUsers\fP table.
|
6546
|
+
With this indexes, you can search the person who mark comment as favorite one.
|
6635
6547
|
.UNINDENT
|
6636
|
-
.SS HashTags
|
6548
|
+
.SS HashTags table
|
6637
6549
|
.sp
|
6638
|
-
|
6550
|
+
This is the table which stores hash tags for comments.
|
6639
6551
|
.INDENT 0.0
|
6640
6552
|
.TP
|
6641
6553
|
.B \fB_key\fP
|
6642
|
-
|
6554
|
+
Hash tag
|
6643
6555
|
.TP
|
6644
6556
|
.B \fBhash_index\fP
|
6645
|
-
|
6646
|
-
|
6557
|
+
Indexes for \fBComments.hash_tags\fP\&.
|
6558
|
+
With this indexes, you can search list of comments with specified hash tags.
|
6647
6559
|
.UNINDENT
|
6648
|
-
.SS Bigram
|
6560
|
+
.SS Bigram table
|
6649
6561
|
.sp
|
6650
|
-
|
6562
|
+
This is the table which stores indexes for full text search by user information or comments.
|
6651
6563
|
.INDENT 0.0
|
6652
6564
|
.TP
|
6653
6565
|
.B \fB_key\fP
|
6654
|
-
|
6566
|
+
Word
|
6655
6567
|
.TP
|
6656
6568
|
.B \fBusers_index\fP
|
6657
|
-
|
6658
|
-
|
6569
|
+
Indexes of user information.
|
6570
|
+
This column contains indexes of user name (\fBUsers.name\fP), current location (\fBUsers.location_str\fP), profile (\fBUsers.description\fP).
|
6659
6571
|
.TP
|
6660
6572
|
.B \fBcomment_index\fP
|
6661
|
-
|
6573
|
+
Indexes about content of comments (\fBComments.comment\fP).
|
6662
6574
|
.UNINDENT
|
6663
6575
|
.SS GeoIndex table
|
6664
6576
|
.sp
|
@@ -6671,9 +6583,9 @@ Indexes of location column for Users table
|
|
6671
6583
|
.B \fBcomments_location\fP
|
6672
6584
|
Indexes of location column for Comments table
|
6673
6585
|
.UNINDENT
|
6674
|
-
.SS
|
6586
|
+
.SS Loading data
|
6675
6587
|
.sp
|
6676
|
-
|
6588
|
+
Then, load example data.
|
6677
6589
|
.INDENT 0.0
|
6678
6590
|
.INDENT 3.5
|
6679
6591
|
.sp
|
@@ -6682,94 +6594,94 @@ Indexes of location column for Comments table
|
|
6682
6594
|
load \-\-table Users
|
6683
6595
|
[
|
6684
6596
|
{
|
6685
|
-
"_key": "
|
6686
|
-
"name": "
|
6687
|
-
"follower": ["
|
6597
|
+
"_key": "alice",
|
6598
|
+
"name": "Alice",
|
6599
|
+
"follower": ["bob"],
|
6688
6600
|
"favorites": [],
|
6689
|
-
"location": "
|
6690
|
-
"location_str": "
|
6691
|
-
"description": "
|
6601
|
+
"location": "152489000x\-255829000",
|
6602
|
+
"location_str": "Boston, Massachusetts",
|
6603
|
+
"description": "Groonga developer"
|
6692
6604
|
},
|
6693
6605
|
{
|
6694
|
-
"_key": "
|
6695
|
-
"name": "
|
6696
|
-
"follower": ["
|
6697
|
-
"favorites": ["
|
6698
|
-
"location": "
|
6699
|
-
"location_str": "
|
6700
|
-
"description": "
|
6606
|
+
"_key": "bob",
|
6607
|
+
"name": "Bob",
|
6608
|
+
"follower": ["alice","charlie"],
|
6609
|
+
"favorites": ["alice:1","charlie:1"],
|
6610
|
+
"location": "146249000x\-266228000",
|
6611
|
+
"location_str": "Brooklyn, New York City",
|
6612
|
+
"description": ""
|
6701
6613
|
},
|
6702
6614
|
{
|
6703
|
-
"_key": "
|
6704
|
-
"name": "
|
6705
|
-
"follower": ["
|
6706
|
-
"favorites": ["
|
6707
|
-
"location": "
|
6708
|
-
"location_str": "
|
6709
|
-
"description": "
|
6615
|
+
"_key": "charlie",
|
6616
|
+
"name": "Charlie",
|
6617
|
+
"follower": ["alice","bob"],
|
6618
|
+
"favorites": ["alice:1","bob:1"],
|
6619
|
+
"location": "146607190x\-267021260",
|
6620
|
+
"location_str": "Newark, New Jersey",
|
6621
|
+
"description": "Hmm,Hmm"
|
6710
6622
|
}
|
6711
6623
|
]
|
6712
6624
|
|
6713
6625
|
load \-\-table Comments
|
6714
6626
|
[
|
6715
6627
|
{
|
6716
|
-
"_key": "
|
6717
|
-
"comment": "
|
6628
|
+
"_key": "alice:1",
|
6629
|
+
"comment": "I\(aqve created micro\-blog!",
|
6718
6630
|
"last_modified": "2010/03/17 12:05:00",
|
6719
|
-
"posted_by": "
|
6631
|
+
"posted_by": "alice",
|
6720
6632
|
},
|
6721
6633
|
{
|
6722
|
-
"_key": "
|
6723
|
-
"comment": "
|
6634
|
+
"_key": "bob:1",
|
6635
|
+
"comment": "First post. test,test...",
|
6724
6636
|
"last_modified": "2010/03/17 12:00:00",
|
6725
|
-
"posted_by": "
|
6637
|
+
"posted_by": "bob",
|
6726
6638
|
},
|
6727
6639
|
{
|
6728
|
-
"_key": "
|
6729
|
-
"comment": "@
|
6640
|
+
"_key": "alice:2",
|
6641
|
+
"comment": "@bob Welcome!!!",
|
6730
6642
|
"last_modified": "2010/03/17 12:05:00",
|
6731
|
-
"replied_to": "
|
6732
|
-
"replied_users": ["
|
6733
|
-
"posted_by": "
|
6643
|
+
"replied_to": "bob:1",
|
6644
|
+
"replied_users": ["bob"],
|
6645
|
+
"posted_by": "alice",
|
6734
6646
|
},
|
6735
6647
|
{
|
6736
|
-
"_key": "
|
6737
|
-
"comment": "@
|
6648
|
+
"_key": "bob:2",
|
6649
|
+
"comment": "@alice Thanks!",
|
6738
6650
|
"last_modified": "2010/03/17 13:00:00",
|
6739
|
-
"replied_to": "
|
6740
|
-
"replied_users": ["
|
6741
|
-
"posted_by": "
|
6651
|
+
"replied_to": "alice:2",
|
6652
|
+
"replied_users": ["alice"],
|
6653
|
+
"posted_by": "bob",
|
6742
6654
|
},
|
6743
6655
|
{
|
6744
|
-
"_key": "
|
6745
|
-
"comment": "
|
6656
|
+
"_key": "bob:3",
|
6657
|
+
"comment": "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
|
6746
6658
|
"last_modified": "2010/03/17 14:00:00",
|
6747
6659
|
"hash_tags": ["groonga"],
|
6748
|
-
"location": "
|
6749
|
-
"posted_by": "
|
6660
|
+
"location": "146566000x\-266422000",
|
6661
|
+
"posted_by": "bob",
|
6750
6662
|
},
|
6751
6663
|
{
|
6752
|
-
"_key": "
|
6753
|
-
"comment": "
|
6664
|
+
"_key": "bob:4",
|
6665
|
+
"comment": "I\(aqm come at city of New York for development camp! #groonga #travel",
|
6754
6666
|
"last_modified": "2010/03/17 14:05:00",
|
6755
6667
|
"hash_tags": ["groonga", "travel"],
|
6756
|
-
"location": "
|
6757
|
-
"posted_by": "
|
6668
|
+
"location": "146566000x\-266422000",
|
6669
|
+
"posted_by": "bob",
|
6758
6670
|
},
|
6759
6671
|
{
|
6760
|
-
"_key": "
|
6761
|
-
"comment": "@
|
6672
|
+
"_key": "charlie:1",
|
6673
|
+
"comment": "@alice @bob I\(aqve tried to register!",
|
6762
6674
|
"last_modified": "2010/03/17 15:00:00",
|
6763
|
-
"replied_users": ["
|
6764
|
-
"location": "
|
6765
|
-
"posted_by": "
|
6675
|
+
"replied_users": ["alice", "bob"],
|
6676
|
+
"location": "146607190x\-267021260",
|
6677
|
+
"posted_by": "charlie",
|
6766
6678
|
}
|
6767
6679
|
{
|
6768
|
-
"_key": "
|
6769
|
-
"comment": "
|
6680
|
+
"_key": "charlie:2",
|
6681
|
+
"comment": "I\(aqm at the Museum of Modern Art in NY now!",
|
6770
6682
|
"last_modified": "2010/03/17 15:05:00",
|
6771
|
-
"location": "
|
6772
|
-
"posted_by": "
|
6683
|
+
"location": "146741340x\-266319590",
|
6684
|
+
"posted_by": "charlie",
|
6773
6685
|
}
|
6774
6686
|
]
|
6775
6687
|
.ft P
|
@@ -6777,20 +6689,26 @@ load \-\-table Comments
|
|
6777
6689
|
.UNINDENT
|
6778
6690
|
.UNINDENT
|
6779
6691
|
.sp
|
6780
|
-
|
6692
|
+
\fBfollower\fP column and \fBfavorites\fP column in \fBUsers\fP table and \fBreplied_users\fP column in \fBComments\fP table are vector column, so specify the value as an array.
|
6781
6693
|
.sp
|
6782
|
-
|
6694
|
+
\fBlocation\fP column in \fBUsers\fP table, \fBlocation\fP column in \fBComments\fP table use GeoPoint type. This type accepts "[latitude]x[longitude]".
|
6783
6695
|
.sp
|
6784
|
-
|
6785
|
-
|
6786
|
-
|
6787
|
-
.
|
6696
|
+
\fBlast_modified\fP column in \fBComments\fP table use Time type.
|
6697
|
+
.sp
|
6698
|
+
There are two way to specify the value.
|
6699
|
+
First, specify epoch (seconds since Jan, 1, 1970 AM 00:00:00) directly. In this case, you can specify micro seconds as fractional part.
|
6700
|
+
The value is converted from factional part to the time which is micro seconds based one when data is loaded.
|
6701
|
+
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
|
6702
|
+
when data is loaded.
|
6703
|
+
.SS Search
|
6788
6704
|
.sp
|
6789
|
-
|
6790
|
-
.SS
|
6705
|
+
Let\(aqs search micro\-blog.
|
6706
|
+
.SS Search users by keyword
|
6791
6707
|
.sp
|
6792
|
-
|
6793
|
-
|
6708
|
+
In this section, we search micro\-blog against multiple column by keyword.
|
6709
|
+
See \fBmatch_columns\fP to search multiple column at once.
|
6710
|
+
.sp
|
6711
|
+
Let\(aqs search user from micro\-blog\(aqs user name, location, description entries.
|
6794
6712
|
.sp
|
6795
6713
|
Execution example:
|
6796
6714
|
.INDENT 0.0
|
@@ -6798,7 +6716,7 @@ Execution example:
|
|
6798
6716
|
.sp
|
6799
6717
|
.nf
|
6800
6718
|
.ft C
|
6801
|
-
select \-\-table Users \-\-match_columns name,location_str,description \-\-query
|
6719
|
+
select \-\-table Users \-\-match_columns name,location_str,description \-\-query "New York" \-\-output_columns _key,name
|
6802
6720
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6803
6721
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
6804
6722
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -6835,7 +6753,7 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
|
|
6835
6753
|
# [
|
6836
6754
|
# [
|
6837
6755
|
# [
|
6838
|
-
#
|
6756
|
+
# 1
|
6839
6757
|
# ],
|
6840
6758
|
# [
|
6841
6759
|
# [
|
@@ -6848,12 +6766,8 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
|
|
6848
6766
|
# ]
|
6849
6767
|
# ],
|
6850
6768
|
# [
|
6851
|
-
# "
|
6852
|
-
# "
|
6853
|
-
# ],
|
6854
|
-
# [
|
6855
|
-
# "OffGao",
|
6856
|
-
# "OffGao"
|
6769
|
+
# "bob",
|
6770
|
+
# "Bob"
|
6857
6771
|
# ]
|
6858
6772
|
# ]
|
6859
6773
|
# ]
|
@@ -6863,11 +6777,13 @@ select \-\-table Users \-\-match_columns name,location_str,description \-\-query
|
|
6863
6777
|
.UNINDENT
|
6864
6778
|
.UNINDENT
|
6865
6779
|
.sp
|
6866
|
-
|
6867
|
-
.SS GeoPoint
|
6780
|
+
By using "New York" as searching keyword for user, "Bob" who lives in "New York" is listed in search result.
|
6781
|
+
.SS Search users by geolocation data (GeoPoint)
|
6782
|
+
.sp
|
6783
|
+
In this section, we search users by column data which use type of GeoPoint.
|
6784
|
+
See \fBsearch\fP about GeoPoint column.
|
6868
6785
|
.sp
|
6869
|
-
|
6870
|
-
以下の例では、指定された位置から5000m以内にいるユーザーを検索しています。
|
6786
|
+
Following example searches users who live in within 20km from specified location.
|
6871
6787
|
.sp
|
6872
6788
|
Execution example:
|
6873
6789
|
.INDENT 0.0
|
@@ -6875,7 +6791,7 @@ Execution example:
|
|
6875
6791
|
.sp
|
6876
6792
|
.nf
|
6877
6793
|
.ft C
|
6878
|
-
select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"
|
6794
|
+
select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"146710080x\-266315480",20000)\(aq \-\-output_columns _key,name
|
6879
6795
|
# [
|
6880
6796
|
# [
|
6881
6797
|
# 0,
|
@@ -6898,12 +6814,12 @@ select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"128484216x50291985
|
|
6898
6814
|
# ]
|
6899
6815
|
# ],
|
6900
6816
|
# [
|
6901
|
-
# "
|
6902
|
-
# "
|
6817
|
+
# "charlie",
|
6818
|
+
# "Charlie"
|
6903
6819
|
# ],
|
6904
6820
|
# [
|
6905
|
-
# "
|
6906
|
-
# "
|
6821
|
+
# "bob",
|
6822
|
+
# "Bob"
|
6907
6823
|
# ]
|
6908
6824
|
# ]
|
6909
6825
|
# ]
|
@@ -6913,11 +6829,12 @@ select \-\-table Users \-\-filter \(aqgeo_in_circle(location,"128484216x50291985
|
|
6913
6829
|
.UNINDENT
|
6914
6830
|
.UNINDENT
|
6915
6831
|
.sp
|
6916
|
-
|
6917
|
-
.SS
|
6832
|
+
It shows that "Bob" and "Charlie" lives in within 20 km from station of "Grand Central Terminal".
|
6833
|
+
.SS Search users who follows specific user
|
6918
6834
|
.sp
|
6919
|
-
|
6920
|
-
|
6835
|
+
In this section, we do reverse resolution of reference relationships which is described at \fBindex\fP\&.
|
6836
|
+
.sp
|
6837
|
+
Following examples shows reverse resolution about \fBfollower\fP column of \fBUsers\fP table.
|
6921
6838
|
.sp
|
6922
6839
|
Execution example:
|
6923
6840
|
.INDENT 0.0
|
@@ -6925,7 +6842,7 @@ Execution example:
|
|
6925
6842
|
.sp
|
6926
6843
|
.nf
|
6927
6844
|
.ft C
|
6928
|
-
select \-\-table Users \-\-query follower:@
|
6845
|
+
select \-\-table Users \-\-query follower:@bob \-\-output_columns _key,name
|
6929
6846
|
# [
|
6930
6847
|
# [
|
6931
6848
|
# 0,
|
@@ -6948,12 +6865,12 @@ select \-\-table Users \-\-query follower:@tasukuchan \-\-output_columns _key,na
|
|
6948
6865
|
# ]
|
6949
6866
|
# ],
|
6950
6867
|
# [
|
6951
|
-
# "
|
6952
|
-
# "
|
6868
|
+
# "alice",
|
6869
|
+
# "Alice"
|
6953
6870
|
# ],
|
6954
6871
|
# [
|
6955
|
-
# "
|
6956
|
-
# "
|
6872
|
+
# "charlie",
|
6873
|
+
# "Charlie"
|
6957
6874
|
# ]
|
6958
6875
|
# ]
|
6959
6876
|
# ]
|
@@ -6963,11 +6880,14 @@ select \-\-table Users \-\-query follower:@tasukuchan \-\-output_columns _key,na
|
|
6963
6880
|
.UNINDENT
|
6964
6881
|
.UNINDENT
|
6965
6882
|
.sp
|
6966
|
-
|
6967
|
-
.SS GeoPoint
|
6883
|
+
It shows that "Alice" and "Charlie" follows "Bob".
|
6884
|
+
.SS Search comments by using the value of GeoPoint type
|
6968
6885
|
.sp
|
6969
|
-
|
6970
|
-
|
6886
|
+
In this section, we search comments which are written within specific location.
|
6887
|
+
.sp
|
6888
|
+
Then, we also use drill down which is described at \fBdrilldown\fP\&.
|
6889
|
+
Following example shows how to drill down against search results.
|
6890
|
+
As a result, we get the value of count which is grouped by user, and hash tags respectively.
|
6971
6891
|
.sp
|
6972
6892
|
Execution example:
|
6973
6893
|
.INDENT 0.0
|
@@ -6975,7 +6895,7 @@ Execution example:
|
|
6975
6895
|
.sp
|
6976
6896
|
.nf
|
6977
6897
|
.ft C
|
6978
|
-
select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"
|
6898
|
+
select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"146867000x\-266280000",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
|
6979
6899
|
# [
|
6980
6900
|
# [
|
6981
6901
|
# 0,
|
@@ -6998,20 +6918,20 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
|
|
6998
6918
|
# ]
|
6999
6919
|
# ],
|
7000
6920
|
# [
|
7001
|
-
# "
|
7002
|
-
# "
|
6921
|
+
# "Charlie",
|
6922
|
+
# "I\(aqm at the Museum of Modern Art in NY now!"
|
7003
6923
|
# ],
|
7004
6924
|
# [
|
7005
|
-
# "
|
7006
|
-
# "
|
6925
|
+
# "Bob",
|
6926
|
+
# "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
|
7007
6927
|
# ],
|
7008
6928
|
# [
|
7009
|
-
# "
|
7010
|
-
# "
|
6929
|
+
# "Bob",
|
6930
|
+
# "I\(aqm come at city of New York for development camp! #groonga #travel"
|
7011
6931
|
# ],
|
7012
6932
|
# [
|
7013
|
-
# "
|
7014
|
-
# "
|
6933
|
+
# "Charlie",
|
6934
|
+
# "@alice @bob I\(aqve tried to register!"
|
7015
6935
|
# ]
|
7016
6936
|
# ],
|
7017
6937
|
# [
|
@@ -7052,11 +6972,11 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
|
|
7052
6972
|
# ]
|
7053
6973
|
# ],
|
7054
6974
|
# [
|
7055
|
-
# "
|
6975
|
+
# "charlie",
|
7056
6976
|
# 2
|
7057
6977
|
# ],
|
7058
6978
|
# [
|
7059
|
-
# "
|
6979
|
+
# "bob",
|
7060
6980
|
# 2
|
7061
6981
|
# ]
|
7062
6982
|
# ]
|
@@ -7067,11 +6987,14 @@ select \-\-table Comments \-\-filter \(aqgeo_in_circle(location,"127975798x50291
|
|
7067
6987
|
.UNINDENT
|
7068
6988
|
.UNINDENT
|
7069
6989
|
.sp
|
7070
|
-
|
7071
|
-
.SS キーワードでコメント検索
|
6990
|
+
Above query searches comments which are posted within 20 km from Central Park in city of New York.
|
7072
6991
|
.sp
|
7073
|
-
|
7074
|
-
|
6992
|
+
As specified range is 20 km, all comments with location are collected.
|
6993
|
+
You know that search results contain 2 #groonga hash tags and one #travel hash tag, and bob and charlie posted 2 comments.
|
6994
|
+
.SS Search comments by keyword
|
6995
|
+
.sp
|
6996
|
+
In this section, we search comments which contains specific keyword.
|
6997
|
+
And more, Let\(aqs calculate the value of \fI_score\fP which is described at \fBsearch\fP\&.
|
7075
6998
|
.sp
|
7076
6999
|
Execution example:
|
7077
7000
|
.INDENT 0.0
|
@@ -7079,7 +7002,7 @@ Execution example:
|
|
7079
7002
|
.sp
|
7080
7003
|
.nf
|
7081
7004
|
.ft C
|
7082
|
-
select \-\-table Comments \-\-query comment
|
7005
|
+
select \-\-table Comments \-\-query comment:@Now \-\-output_columns comment,_score
|
7083
7006
|
# [
|
7084
7007
|
# [
|
7085
7008
|
# 0,
|
@@ -7102,12 +7025,12 @@ select \-\-table Comments \-\-query comment:@なう \-\-output_columns comment,_
|
|
7102
7025
|
# ]
|
7103
7026
|
# ],
|
7104
7027
|
# [
|
7105
|
-
# "
|
7028
|
+
# "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
|
7106
7029
|
# 1
|
7107
7030
|
# ],
|
7108
7031
|
# [
|
7109
|
-
# "
|
7110
|
-
#
|
7032
|
+
# "I\(aqm at the Museum of Modern Art in NY now!",
|
7033
|
+
# 1
|
7111
7034
|
# ]
|
7112
7035
|
# ]
|
7113
7036
|
# ]
|
@@ -7117,10 +7040,11 @@ select \-\-table Comments \-\-query comment:@なう \-\-output_columns comment,_
|
|
7117
7040
|
.UNINDENT
|
7118
7041
|
.UNINDENT
|
7119
7042
|
.sp
|
7120
|
-
|
7121
|
-
.SS
|
7043
|
+
By using \(aqNow\(aq as a keyword, above query returns 2 comments. It also contains count of \(aqNow\(aq as the value of \fI_score\fP\&.
|
7044
|
+
.SS Search comments by keyword and geolocation
|
7122
7045
|
.sp
|
7123
|
-
|
7046
|
+
In this section, we search comments by specific keyword and geolocation.
|
7047
|
+
By using \fI\-\-query\fP and \fI\-\-filter\fP option, following query returns records which are matched to both conditions.
|
7124
7048
|
.sp
|
7125
7049
|
Execution example:
|
7126
7050
|
.INDENT 0.0
|
@@ -7128,7 +7052,7 @@ Execution example:
|
|
7128
7052
|
.sp
|
7129
7053
|
.nf
|
7130
7054
|
.ft C
|
7131
|
-
select \-\-table Comments \-\-query comment
|
7055
|
+
select \-\-table Comments \-\-query comment:@New \-\-filter \(aqgeo_in_circle(location,"146867000x\-266280000",20000)\(aq \-\-output_columns posted_by.name,comment \-\-drilldown hash_tags,posted_by
|
7132
7056
|
# [
|
7133
7057
|
# [
|
7134
7058
|
# 0,
|
@@ -7151,8 +7075,8 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
|
|
7151
7075
|
# ]
|
7152
7076
|
# ],
|
7153
7077
|
# [
|
7154
|
-
# "
|
7155
|
-
# "
|
7078
|
+
# "Bob",
|
7079
|
+
# "I\(aqm come at city of New York for development camp! #groonga #travel"
|
7156
7080
|
# ]
|
7157
7081
|
# ],
|
7158
7082
|
# [
|
@@ -7193,7 +7117,7 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
|
|
7193
7117
|
# ]
|
7194
7118
|
# ],
|
7195
7119
|
# [
|
7196
|
-
# "
|
7120
|
+
# "bob",
|
7197
7121
|
# 1
|
7198
7122
|
# ]
|
7199
7123
|
# ]
|
@@ -7204,11 +7128,12 @@ select \-\-table Comments \-\-query comment:@羽田 \-\-filter \(aqgeo_in_circle
|
|
7204
7128
|
.UNINDENT
|
7205
7129
|
.UNINDENT
|
7206
7130
|
.sp
|
7207
|
-
|
7208
|
-
.
|
7131
|
+
It returns 1 comment which meets both condition.
|
7132
|
+
It also returns result of drilldown. There is 1 comment which is commented by Bob.
|
7133
|
+
.SS Search comments by hash tags
|
7209
7134
|
.sp
|
7210
|
-
|
7211
|
-
|
7135
|
+
In this section, we search comments which contains specific hash tags.
|
7136
|
+
Let\(aqs use reverse resolution of reference relationships.
|
7212
7137
|
.sp
|
7213
7138
|
Execution example:
|
7214
7139
|
.INDENT 0.0
|
@@ -7239,12 +7164,12 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
|
|
7239
7164
|
# ]
|
7240
7165
|
# ],
|
7241
7166
|
# [
|
7242
|
-
# "
|
7243
|
-
# "
|
7167
|
+
# "Bob",
|
7168
|
+
# "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
|
7244
7169
|
# ],
|
7245
7170
|
# [
|
7246
|
-
# "
|
7247
|
-
# "
|
7171
|
+
# "Bob",
|
7172
|
+
# "I\(aqm come at city of New York for development camp! #groonga #travel"
|
7248
7173
|
# ]
|
7249
7174
|
# ],
|
7250
7175
|
# [
|
@@ -7262,7 +7187,7 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
|
|
7262
7187
|
# ]
|
7263
7188
|
# ],
|
7264
7189
|
# [
|
7265
|
-
# "
|
7190
|
+
# "bob",
|
7266
7191
|
# 2
|
7267
7192
|
# ]
|
7268
7193
|
# ]
|
@@ -7273,10 +7198,11 @@ select \-\-table Comments \-\-query hash_tags:@groonga \-\-output_columns posted
|
|
7273
7198
|
.UNINDENT
|
7274
7199
|
.UNINDENT
|
7275
7200
|
.sp
|
7276
|
-
#groonga
|
7277
|
-
.
|
7201
|
+
Above query returns 2 comments which contains #groonga hash tag.
|
7202
|
+
It also returns result of drilldown grouped by person who posted it. It shows that there are 2 comments. Bob commented it.
|
7203
|
+
.SS Search comments by user id
|
7278
7204
|
.sp
|
7279
|
-
|
7205
|
+
In this section, we search comments which are posted by specific user.
|
7280
7206
|
.sp
|
7281
7207
|
Execution example:
|
7282
7208
|
.INDENT 0.0
|
@@ -7284,7 +7210,7 @@ Execution example:
|
|
7284
7210
|
.sp
|
7285
7211
|
.nf
|
7286
7212
|
.ft C
|
7287
|
-
select \-\-table Comments \-\-query posted_by:
|
7213
|
+
select \-\-table Comments \-\-query posted_by:bob \-\-output_columns comment \-\-drilldown hash_tags
|
7288
7214
|
# [
|
7289
7215
|
# [
|
7290
7216
|
# 0,
|
@@ -7303,16 +7229,16 @@ select \-\-table Comments \-\-query posted_by:tasukuchan \-\-output_columns comm
|
|
7303
7229
|
# ]
|
7304
7230
|
# ],
|
7305
7231
|
# [
|
7306
|
-
# "
|
7232
|
+
# "First post. test,test..."
|
7307
7233
|
# ],
|
7308
7234
|
# [
|
7309
|
-
# "@
|
7235
|
+
# "@alice Thanks!"
|
7310
7236
|
# ],
|
7311
7237
|
# [
|
7312
|
-
# "
|
7238
|
+
# "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga"
|
7313
7239
|
# ],
|
7314
7240
|
# [
|
7315
|
-
# "
|
7241
|
+
# "I\(aqm come at city of New York for development camp! #groonga #travel"
|
7316
7242
|
# ]
|
7317
7243
|
# ],
|
7318
7244
|
# [
|
@@ -7345,10 +7271,11 @@ select \-\-table Comments \-\-query posted_by:tasukuchan \-\-output_columns comm
|
|
7345
7271
|
.UNINDENT
|
7346
7272
|
.UNINDENT
|
7347
7273
|
.sp
|
7348
|
-
|
7349
|
-
.
|
7274
|
+
Above query returns 4 comments which are posted by Bob.
|
7275
|
+
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.
|
7276
|
+
.SS Search user\(aqs favorite comments
|
7350
7277
|
.sp
|
7351
|
-
|
7278
|
+
In this section, we search user\(aqs favorite comments.
|
7352
7279
|
.sp
|
7353
7280
|
Execution example:
|
7354
7281
|
.INDENT 0.0
|
@@ -7356,7 +7283,7 @@ Execution example:
|
|
7356
7283
|
.sp
|
7357
7284
|
.nf
|
7358
7285
|
.ft C
|
7359
|
-
select \-\-table Users \-\-query _key:
|
7286
|
+
select \-\-table Users \-\-query _key:bob \-\-output_columns favorites.posted_by,favorites.comment
|
7360
7287
|
# [
|
7361
7288
|
# [
|
7362
7289
|
# 0,
|
@@ -7380,12 +7307,12 @@ select \-\-table Users \-\-query _key:tasukuchan \-\-output_columns favorites.po
|
|
7380
7307
|
# ],
|
7381
7308
|
# [
|
7382
7309
|
# [
|
7383
|
-
# "
|
7384
|
-
# "
|
7310
|
+
# "alice",
|
7311
|
+
# "charlie"
|
7385
7312
|
# ],
|
7386
7313
|
# [
|
7387
|
-
# "
|
7388
|
-
# "@
|
7314
|
+
# "I\(aqve created micro\-blog!",
|
7315
|
+
# "@alice @bob I\(aqve tried to register!"
|
7389
7316
|
# ]
|
7390
7317
|
# ]
|
7391
7318
|
# ]
|
@@ -7396,11 +7323,13 @@ select \-\-table Users \-\-query _key:tasukuchan \-\-output_columns favorites.po
|
|
7396
7323
|
.UNINDENT
|
7397
7324
|
.UNINDENT
|
7398
7325
|
.sp
|
7399
|
-
|
7400
|
-
.SS
|
7326
|
+
Above query returns Bob\(aqs favorite comments.
|
7327
|
+
.SS Search comments by posted time
|
7328
|
+
.sp
|
7329
|
+
In this section, we search comments by posted time.
|
7330
|
+
See type of \fITime\fP in \fBdata\fP\&.
|
7401
7331
|
.sp
|
7402
|
-
|
7403
|
-
この例では、指定した時間よりも前に投稿されているコメントを検索します。
|
7332
|
+
Let\(aqs search comments that posted time are older than specified time.
|
7404
7333
|
.sp
|
7405
7334
|
Execution example:
|
7406
7335
|
.INDENT 0.0
|
@@ -7435,28 +7364,28 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
|
|
7435
7364
|
# ]
|
7436
7365
|
# ],
|
7437
7366
|
# [
|
7438
|
-
# "
|
7439
|
-
# "
|
7367
|
+
# "Alice",
|
7368
|
+
# "I\(aqve created micro\-blog!",
|
7440
7369
|
# 1268795100.0
|
7441
7370
|
# ],
|
7442
7371
|
# [
|
7443
|
-
# "
|
7444
|
-
# "
|
7372
|
+
# "Bob",
|
7373
|
+
# "First post. test,test...",
|
7445
7374
|
# 1268794800.0
|
7446
7375
|
# ],
|
7447
7376
|
# [
|
7448
|
-
# "
|
7449
|
-
# "@
|
7377
|
+
# "Alice",
|
7378
|
+
# "@bob Welcome!!!",
|
7450
7379
|
# 1268795100.0
|
7451
7380
|
# ],
|
7452
7381
|
# [
|
7453
|
-
# "
|
7454
|
-
# "@
|
7382
|
+
# "Bob",
|
7383
|
+
# "@alice Thanks!",
|
7455
7384
|
# 1268798400.0
|
7456
7385
|
# ],
|
7457
7386
|
# [
|
7458
|
-
# "
|
7459
|
-
# "
|
7387
|
+
# "Bob",
|
7388
|
+
# "I\(aqve just used \(aqTry\-Groonga\(aq now! #groonga",
|
7460
7389
|
# 1268802000.0
|
7461
7390
|
# ]
|
7462
7391
|
# ],
|
@@ -7494,11 +7423,11 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
|
|
7494
7423
|
# ]
|
7495
7424
|
# ],
|
7496
7425
|
# [
|
7497
|
-
# "
|
7426
|
+
# "alice",
|
7498
7427
|
# 2
|
7499
7428
|
# ],
|
7500
7429
|
# [
|
7501
|
-
# "
|
7430
|
+
# "bob",
|
7502
7431
|
# 3
|
7503
7432
|
# ]
|
7504
7433
|
# ]
|
@@ -7509,19 +7438,22 @@ select Comments \-\-filter \(aqlast_modified<=1268802000\(aq \-\-output_columns
|
|
7509
7438
|
.UNINDENT
|
7510
7439
|
.UNINDENT
|
7511
7440
|
.sp
|
7512
|
-
2010/03/17 14:00:00
|
7513
|
-
.
|
7441
|
+
Above query returns 5 comments which are older than 2010/03/17 14:00:00.
|
7442
|
+
It also returns result of drilldown by posted person. There are 2 comments by Alice, 3 comments by Bob.
|
7443
|
+
.SS Query expansion
|
7514
7444
|
.sp
|
7515
|
-
Groonga
|
7445
|
+
Groonga accepts \fBquery_expander\fP parameter for \fB/reference/commands/select\fP command.
|
7446
|
+
It enables you to extend your query string.
|
7516
7447
|
.sp
|
7517
|
-
|
7518
|
-
.
|
7448
|
+
For example, if user searches "theatre" instead of "theater",
|
7449
|
+
query expansion enables to return search results of "theatre OR theater".
|
7450
|
+
This kind of way reduces search leakages. This is what really user wants.
|
7451
|
+
.SS Preparation
|
7519
7452
|
.sp
|
7520
|
-
|
7453
|
+
To use query expansion, you need to create table which stores documents, synonym table which stores query string and replacement string.
|
7454
|
+
In synonym table, primary key represents original string, the column of ShortText represents modified string.
|
7521
7455
|
.sp
|
7522
|
-
|
7523
|
-
.sp
|
7524
|
-
実際に文書テーブルと置換テーブルを作成してみましょう。
|
7456
|
+
Let\(aqs create document table and synonym table.
|
7525
7457
|
.sp
|
7526
7458
|
Execution example:
|
7527
7459
|
.INDENT 0.0
|
@@ -7543,14 +7475,14 @@ column_create Synonym body COLUMN_SCALAR ShortText
|
|
7543
7475
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
7544
7476
|
load \-\-table Doc
|
7545
7477
|
[
|
7546
|
-
{"_key": "001", "body": "
|
7547
|
-
{"_key": "002", "body": "
|
7478
|
+
{"_key": "001", "body": "Play all night in this theater."},
|
7479
|
+
{"_key": "002", "body": "theatre is British spelling."},
|
7548
7480
|
]
|
7549
7481
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
7550
7482
|
load \-\-table Synonym
|
7551
7483
|
[
|
7552
|
-
{"_key": "
|
7553
|
-
{"_key": "
|
7484
|
+
{"_key": "theater", "body": "(theater OR theatre)"},
|
7485
|
+
{"_key": "theatre", "body": "(theater OR theatre)"},
|
7554
7486
|
]
|
7555
7487
|
# [[0, 1337566253.89858, 0.000355720520019531], 2]
|
7556
7488
|
.ft P
|
@@ -7558,10 +7490,11 @@ load \-\-table Synonym
|
|
7558
7490
|
.UNINDENT
|
7559
7491
|
.UNINDENT
|
7560
7492
|
.sp
|
7561
|
-
|
7562
|
-
.SS
|
7493
|
+
In this case, it doesn\(aqt occur search leakage because it creates synonym table which accepts "theatre" and "theater" as query string.
|
7494
|
+
.SS Search
|
7563
7495
|
.sp
|
7564
|
-
|
7496
|
+
Then, let\(aqs use prepared synonym table.
|
7497
|
+
First, use select command without \fBquery_expander\fP parameter.
|
7565
7498
|
.sp
|
7566
7499
|
Execution example:
|
7567
7500
|
.INDENT 0.0
|
@@ -7569,7 +7502,7 @@ Execution example:
|
|
7569
7502
|
.sp
|
7570
7503
|
.nf
|
7571
7504
|
.ft C
|
7572
|
-
select Doc \-\-match_columns body \-\-query "
|
7505
|
+
select Doc \-\-match_columns body \-\-query "theater"
|
7573
7506
|
# [
|
7574
7507
|
# [
|
7575
7508
|
# 0,
|
@@ -7598,12 +7531,12 @@ select Doc \-\-match_columns body \-\-query "シークァーサー"
|
|
7598
7531
|
# [
|
7599
7532
|
# 1,
|
7600
7533
|
# "001",
|
7601
|
-
# "
|
7534
|
+
# "Play all night in this theater."
|
7602
7535
|
# ]
|
7603
7536
|
# ]
|
7604
7537
|
# ]
|
7605
7538
|
# ]
|
7606
|
-
select Doc \-\-match_columns body \-\-query "
|
7539
|
+
select Doc \-\-match_columns body \-\-query "theatre"
|
7607
7540
|
# [
|
7608
7541
|
# [
|
7609
7542
|
# 0,
|
@@ -7632,7 +7565,7 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー"
|
|
7632
7565
|
# [
|
7633
7566
|
# 2,
|
7634
7567
|
# "002",
|
7635
|
-
# "
|
7568
|
+
# "theatre is British spelling."
|
7636
7569
|
# ]
|
7637
7570
|
# ]
|
7638
7571
|
# ]
|
@@ -7642,7 +7575,9 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー"
|
|
7642
7575
|
.UNINDENT
|
7643
7576
|
.UNINDENT
|
7644
7577
|
.sp
|
7645
|
-
|
7578
|
+
Above query returns the record which completely equal to query string.
|
7579
|
+
.sp
|
7580
|
+
Then, use \fBquery_expander\fP parameter against \fBbody\fP column of \fBSynonym\fP table.
|
7646
7581
|
.sp
|
7647
7582
|
Execution example:
|
7648
7583
|
.INDENT 0.0
|
@@ -7650,7 +7585,7 @@ Execution example:
|
|
7650
7585
|
.sp
|
7651
7586
|
.nf
|
7652
7587
|
.ft C
|
7653
|
-
select Doc \-\-match_columns body \-\-query "
|
7588
|
+
select Doc \-\-match_columns body \-\-query "theater" \-\-query_expander Synonym.body
|
7654
7589
|
# [
|
7655
7590
|
# [
|
7656
7591
|
# 0,
|
@@ -7679,17 +7614,17 @@ select Doc \-\-match_columns body \-\-query "シークァーサー" \-\-query_ex
|
|
7679
7614
|
# [
|
7680
7615
|
# 1,
|
7681
7616
|
# "001",
|
7682
|
-
# "
|
7617
|
+
# "Play all night in this theater."
|
7683
7618
|
# ],
|
7684
7619
|
# [
|
7685
7620
|
# 2,
|
7686
7621
|
# "002",
|
7687
|
-
# "
|
7622
|
+
# "theatre is British spelling."
|
7688
7623
|
# ]
|
7689
7624
|
# ]
|
7690
7625
|
# ]
|
7691
7626
|
# ]
|
7692
|
-
select Doc \-\-match_columns body \-\-query "
|
7627
|
+
select Doc \-\-match_columns body \-\-query "theatre" \-\-query_expander Synonym.body
|
7693
7628
|
# [
|
7694
7629
|
# [
|
7695
7630
|
# 0,
|
@@ -7718,12 +7653,12 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー" \-\-query_ex
|
|
7718
7653
|
# [
|
7719
7654
|
# 1,
|
7720
7655
|
# "001",
|
7721
|
-
# "
|
7656
|
+
# "Play all night in this theater."
|
7722
7657
|
# ],
|
7723
7658
|
# [
|
7724
7659
|
# 2,
|
7725
7660
|
# "002",
|
7726
|
-
# "
|
7661
|
+
# "theatre is British spelling."
|
7727
7662
|
# ]
|
7728
7663
|
# ]
|
7729
7664
|
# ]
|
@@ -7733,7 +7668,7 @@ select Doc \-\-match_columns body \-\-query "シークヮーサー" \-\-query_ex
|
|
7733
7668
|
.UNINDENT
|
7734
7669
|
.UNINDENT
|
7735
7670
|
.sp
|
7736
|
-
|
7671
|
+
In which cases, query string is replaced to "(theater OR theatre)", thus synonym is considered for full text search.
|
7737
7672
|
.SH SUGGEST
|
7738
7673
|
.sp
|
7739
7674
|
Groonga has the suggest feature. This section describes how to use it and how it works.
|
@@ -9853,9 +9788,9 @@ TODO
|
|
9853
9788
|
.sp
|
9854
9789
|
TODO
|
9855
9790
|
.SH REFERENCE MANUAL
|
9856
|
-
.SS
|
9791
|
+
.SS Executables
|
9857
9792
|
.sp
|
9858
|
-
groonga
|
9793
|
+
This section describes executable files provided by groonga package.
|
9859
9794
|
.SS grnslap
|
9860
9795
|
.SS 名前
|
9861
9796
|
.sp
|
@@ -32934,10 +32869,10 @@ Report a bug to the mailing list
|
|
32934
32869
|
You can use either way It makes no difference to us.
|
32935
32870
|
.SS Submit a bug to the issue tracker
|
32936
32871
|
.sp
|
32937
|
-
Groonga project
|
32938
|
-
issue tracker\fP\&.
|
32939
|
-
|
32940
|
-
|
32872
|
+
Groonga project uses \fI\%GitHub
|
32873
|
+
issue tracker\fP\&.
|
32874
|
+
.sp
|
32875
|
+
You can use English or Japanese to report a bug.
|
32941
32876
|
.SS Report a bug to the mailing list
|
32942
32877
|
.sp
|
32943
32878
|
Groonga project has \fB/community\fP for discussing about groonga.
|