rroonga 3.0.1-x86-mingw32 → 3.0.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/doc/text/news.textile +21 -0
- data/ext/groonga/rb-grn-index-column.c +353 -1
- data/ext/groonga/rb-grn-object.c +529 -495
- data/ext/groonga/rb-grn-table.c +48 -0
- data/ext/groonga/rb-grn-utils.c +585 -418
- data/ext/groonga/rb-grn.h +6 -4
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/dumper.rb +25 -8
- data/lib/groonga/record.rb +21 -2
- data/lib/groonga/schema.rb +2 -2
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +2 -0
- data/test/test-database-dumper.rb +45 -3
- data/test/test-expression-builder.rb +0 -13
- data/test/test-fix-size-column.rb +40 -9
- data/test/test-index-column.rb +130 -1
- data/test/test-record.rb +43 -8
- data/test/test-schema-create-table.rb +2 -2
- data/test/test-schema-dumper.rb +46 -6
- data/test/test-table.rb +4 -3
- data/test/test-variable-size-column.rb +115 -26
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +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/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +1 -9
- 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/query_expanders/tsv.la +1 -1
- 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/suggest/suggest.la +1 -1
- 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/table/table.la +1 -1
- 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/plugins/tokenizers/mecab.la +1 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- 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/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +43 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -50
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +51 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +196 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +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/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +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/development.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 +13 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.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/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +19 -14
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +48 -12
- 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 +16 -60
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -25
- data/vendor/local/share/doc/groonga/en/html/install.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +187 -129
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +198 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +31 -6
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +18 -11
- data/vendor/local/share/doc/groonga/en/html/reference/cast.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/command.html +7 -6
- 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 +17 -17
- 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/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +310 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.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/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/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/grn_expr.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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.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/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +12 -7
- 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/gqtp.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/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.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/spec.html +10 -10
- 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/suggest.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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +43 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -50
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +51 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +196 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +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/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +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/development.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 +17 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.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/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +31 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +19 -14
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +44 -12
- 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 +16 -56
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -25
- data/vendor/local/share/doc/groonga/ja/html/install.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +178 -129
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +195 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +31 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.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/command.html +7 -6
- 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 +17 -17
- 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/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +311 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.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/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/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/grn_expr.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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.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/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +12 -7
- 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/gqtp.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/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.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/spec.html +10 -10
- 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/suggest.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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +3227 -197
- data/vendor/local/share/man/man1/groonga.1 +3230 -195
- metadata +131 -123
data/test/test-table.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -647,13 +647,14 @@ class TableTest < Test::Unit::TestCase
|
|
647
647
|
def test_have_column_nsubrecs_existent
|
648
648
|
users = Groonga::Hash.create(:name => "Users",
|
649
649
|
:key_type => "ShortText")
|
650
|
-
|
650
|
+
grouped_users = users.group("_key")
|
651
|
+
assert_true(grouped_users.have_column?(:_nsubrecs))
|
651
652
|
end
|
652
653
|
|
653
654
|
def test_have_column_nsubrecs_nonexistent
|
654
655
|
users = Groonga::Hash.create(:name => "Users",
|
655
656
|
:key_type => "ShortText")
|
656
|
-
assert_false(users.have_column?(:_nsubrecs))
|
657
|
+
assert_false(users.select.have_column?(:_nsubrecs))
|
657
658
|
end
|
658
659
|
|
659
660
|
def test_have_column_score_existent
|
@@ -112,36 +112,125 @@ class VariableSizeColumnTest < Test::Unit::TestCase
|
|
112
112
|
assert_equal(@users, @name.table)
|
113
113
|
end
|
114
114
|
|
115
|
-
def test_vector_append
|
116
|
-
assert_equal([], @morita["friends"])
|
117
|
-
@morita.append("friends", @yu)
|
118
|
-
assert_equal([@yu], @morita["friends"])
|
119
|
-
@morita.append("friends", @gunyara_kun)
|
120
|
-
assert_equal([@yu, @gunyara_kun], @morita["friends"])
|
121
|
-
end
|
122
|
-
|
123
|
-
def test_vector_prepend
|
124
|
-
assert_equal([], @morita["friends"])
|
125
|
-
@morita.prepend("friends", @yu)
|
126
|
-
assert_equal([@yu], @morita["friends"])
|
127
|
-
@morita.prepend("friends", @gunyara_kun)
|
128
|
-
assert_equal([@gunyara_kun, @yu], @morita["friends"])
|
129
|
-
end
|
130
|
-
|
131
|
-
def test_string_vector
|
132
|
-
omit("append/prepend for non table domain column " +
|
133
|
-
"isn't supported by groonga.")
|
134
|
-
assert_equal([], @morita["nick_names"])
|
135
|
-
@morita.append("nick_names", "morita")
|
136
|
-
assert_equal(["morita"], @morita["nick_names"])
|
137
|
-
@morita.prepend("nick_names", "moritapo")
|
138
|
-
assert_equal(["moritapo", "morita"], @morita["nick_names"])
|
139
|
-
end
|
140
|
-
|
141
115
|
def test_defrag
|
142
116
|
1000.times do |i|
|
143
117
|
@users.add(:name => "user #{i}" * 1000)
|
144
118
|
end
|
145
119
|
assert_equal(3, @name.defrag)
|
146
120
|
end
|
121
|
+
|
122
|
+
class VectorTest < self
|
123
|
+
class ReferenceTest < self
|
124
|
+
def test_append
|
125
|
+
assert_equal([], @morita["friends"])
|
126
|
+
@morita.append("friends", @yu)
|
127
|
+
assert_equal([@yu], @morita["friends"])
|
128
|
+
@morita.append("friends", @gunyara_kun)
|
129
|
+
assert_equal([@yu, @gunyara_kun], @morita["friends"])
|
130
|
+
end
|
131
|
+
|
132
|
+
def test_prepend
|
133
|
+
assert_equal([], @morita["friends"])
|
134
|
+
@morita.prepend("friends", @yu)
|
135
|
+
assert_equal([@yu], @morita["friends"])
|
136
|
+
@morita.prepend("friends", @gunyara_kun)
|
137
|
+
assert_equal([@gunyara_kun, @yu], @morita["friends"])
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class StringTest < self
|
142
|
+
def test_append
|
143
|
+
omit("append for non table domain column isn't supported by groonga.")
|
144
|
+
assert_equal([], @morita["nick_names"])
|
145
|
+
@morita.append("nick_names", "morita")
|
146
|
+
assert_equal(["morita"], @morita["nick_names"])
|
147
|
+
@morita.append("nick_names", "moritapo")
|
148
|
+
assert_equal(["morita", "moritapo"], @morita["nick_names"])
|
149
|
+
end
|
150
|
+
|
151
|
+
def test_prepend
|
152
|
+
omit("prepend for non table domain column isn't supported by groonga.")
|
153
|
+
assert_equal([], @morita["nick_names"])
|
154
|
+
@morita.prepend("nick_names", "morita")
|
155
|
+
assert_equal(["morita"], @morita["nick_names"])
|
156
|
+
@morita.prepend("nick_names", "moritapo")
|
157
|
+
assert_equal(["moritapo", "morita"], @morita["nick_names"])
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
class TimeTest < self
|
162
|
+
def setup
|
163
|
+
setup_database
|
164
|
+
setup_schema
|
165
|
+
setup_shortcuts
|
166
|
+
end
|
167
|
+
|
168
|
+
def setup_schema
|
169
|
+
Groonga::Schema.define do |schema|
|
170
|
+
schema.create_table("Sites",
|
171
|
+
:type => :hash,
|
172
|
+
:key_type => :short_text) do |table|
|
173
|
+
table.time("modified_times", :type => :vector)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
def setup_shortcuts
|
179
|
+
@sites = Groonga["Sites"]
|
180
|
+
end
|
181
|
+
|
182
|
+
def test_string
|
183
|
+
groonga_org = @sites.add("http://groonga.org/",
|
184
|
+
:modified_times => [
|
185
|
+
"2013-04-29 00:00:00",
|
186
|
+
"2013-05-02 01:46:48",
|
187
|
+
])
|
188
|
+
assert_equal([
|
189
|
+
Time.new(2013, 4, 29, 0, 0, 0),
|
190
|
+
Time.new(2013, 5, 2, 1, 46, 48),
|
191
|
+
],
|
192
|
+
groonga_org.modified_times)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class CastTest < self
|
197
|
+
def setup
|
198
|
+
setup_database
|
199
|
+
setup_schema
|
200
|
+
setup_shortcuts
|
201
|
+
end
|
202
|
+
|
203
|
+
def setup_schema
|
204
|
+
Groonga::Schema.define do |schema|
|
205
|
+
schema.create_table("Times",
|
206
|
+
:type => :hash,
|
207
|
+
:key_type => :time) do |table|
|
208
|
+
end
|
209
|
+
|
210
|
+
schema.create_table("Sites",
|
211
|
+
:type => :hash,
|
212
|
+
:key_type => :short_text) do |table|
|
213
|
+
table.reference("modified_times", "Times", :type => :vector)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
def setup_shortcuts
|
219
|
+
@sites = Groonga["Sites"]
|
220
|
+
end
|
221
|
+
|
222
|
+
def test_reference
|
223
|
+
groonga_org = @sites.add("http://groonga.org/",
|
224
|
+
:modified_times => [
|
225
|
+
"2013-04-29 00:00:00",
|
226
|
+
"2013-05-02 01:46:48",
|
227
|
+
])
|
228
|
+
assert_equal([
|
229
|
+
Time.new(2013, 4, 29, 0, 0, 0),
|
230
|
+
Time.new(2013, 5, 2, 1, 46, 48),
|
231
|
+
],
|
232
|
+
groonga_org.modified_times.collect(&:key))
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
147
236
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
@@ -215,14 +215,6 @@ struct _grn_ctx {
|
|
215
215
|
|
216
216
|
#define GRN_CTX_USER_DATA(ctx) (&((ctx)->user_data))
|
217
217
|
|
218
|
-
/**
|
219
|
-
* grn_ctx_init:
|
220
|
-
* @ctx: 初期化するctx構造体へのポインタを指定します。
|
221
|
-
* @flags: 初期化するctxのオプションを指定します。
|
222
|
-
*
|
223
|
-
* ctxを初期化します。
|
224
|
-
**/
|
225
|
-
|
226
218
|
#define GRN_CTX_USE_QL (0x03)
|
227
219
|
#define GRN_CTX_BATCH_MODE (0x04)
|
228
220
|
#define GRN_CTX_PER_DB (0x08)
|
@@ -2099,7 +2091,7 @@ GRN_API void grn_logger_put(grn_ctx *ctx, grn_log_level level,
|
|
2099
2091
|
const char *file, int line, const char *func, const char *fmt, ...) GRN_ATTRIBUTE_PRINTF(6);
|
2100
2092
|
GRN_API void grn_logger_reopen(grn_ctx *ctx);
|
2101
2093
|
|
2102
|
-
GRN_API
|
2094
|
+
GRN_API grn_bool grn_logger_pass(grn_ctx *ctx, grn_log_level level);
|
2103
2095
|
|
2104
2096
|
#ifndef GRN_LOG_DEFAULT_LEVEL
|
2105
2097
|
#define GRN_LOG_DEFAULT_LEVEL GRN_LOG_NOTICE
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libmecab.a
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
|
|
11
11
|
groonga=${bindir}/groonga.exe
|
12
12
|
groonga_httpd=${sbindir}/groonga-httpd.exe
|
13
13
|
groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
|
14
|
-
groonga_version=3.0.
|
14
|
+
groonga_version=3.0.4
|
15
15
|
|
16
16
|
Name: Groonga
|
17
17
|
Description: An Embeddable Fulltext Search Engine
|
18
|
-
Version: 3.0.
|
18
|
+
Version: 3.0.4
|
19
19
|
Libs: -L${libdir} -lgroonga
|
20
20
|
Cflags: -I${includedir}/groonga
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
1
|
# Sphinx build info version 1
|
2
2
|
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
3
|
-
config:
|
3
|
+
config: 02a700127d3d7e787c36bf706d51b3cf
|
4
4
|
tags: a205e9ed8462ae86fdd2f73488852ba9
|
@@ -153,9 +153,9 @@ Install required packages to build groonga::
|
|
153
153
|
|
154
154
|
Download source::
|
155
155
|
|
156
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
157
|
-
% tar xvzf groonga-3.0.
|
158
|
-
% cd groonga-3.0.
|
156
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
157
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
158
|
+
% cd groonga-3.0.4
|
159
159
|
|
160
160
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
161
161
|
|
@@ -92,6 +92,46 @@ There is a package that provides MySQL compatible normalizer as
|
|
92
92
|
groonga plugins.
|
93
93
|
If you want to use that one, install groonga-normalizer-mysql package.
|
94
94
|
|
95
|
+
Install groonga-normalizer-mysql package::
|
96
|
+
|
97
|
+
% sudo aptitude -V -D -y install groonga-normalizer-mysql
|
98
|
+
|
99
|
+
jessie
|
100
|
+
------
|
101
|
+
|
102
|
+
Add the groonga apt repository.
|
103
|
+
|
104
|
+
/etc/apt/sources.list.d/groonga.list::
|
105
|
+
|
106
|
+
deb http://packages.groonga.org/debian/ jessie main
|
107
|
+
deb-src http://packages.groonga.org/debian/ jessie main
|
108
|
+
|
109
|
+
Install::
|
110
|
+
|
111
|
+
% sudo apt-get update
|
112
|
+
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
|
113
|
+
% sudo apt-get update
|
114
|
+
% sudo apt-get -y install groonga
|
115
|
+
|
116
|
+
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
117
|
+
tokenizer, install groonga-tokenizer-mecab package.
|
118
|
+
|
119
|
+
Install groonga-tokenizer-mecab package::
|
120
|
+
|
121
|
+
% sudo aptitude -V -D -y install groonga-tokenizer-mecab
|
122
|
+
|
123
|
+
There is a package that provides `Munin
|
124
|
+
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
|
125
|
+
groonga status by Munin, install groonga-munin-plugins package.
|
126
|
+
|
127
|
+
Install groonga-munin-plugins package::
|
128
|
+
|
129
|
+
% sudo aptitude -V -D -y install groonga-munin-plugins
|
130
|
+
|
131
|
+
There is a package that provides MySQL compatible normalizer as
|
132
|
+
groonga plugins.
|
133
|
+
If you want to use that one, install groonga-normalizer-mysql package.
|
134
|
+
|
95
135
|
Install groonga-normalizer-mysql package::
|
96
136
|
|
97
137
|
% sudo aptitude -V -D -y install groonga-normalizer-mysql
|
@@ -145,9 +185,9 @@ Install required packages to build groonga::
|
|
145
185
|
|
146
186
|
Download source::
|
147
187
|
|
148
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
149
|
-
% tar xvzf groonga-3.0.
|
150
|
-
% cd groonga-3.0.
|
188
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
189
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
190
|
+
% cd groonga-3.0.4
|
151
191
|
|
152
192
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
153
193
|
|
@@ -82,9 +82,9 @@ Install required packages to build groonga::
|
|
82
82
|
|
83
83
|
Download source::
|
84
84
|
|
85
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
86
|
-
% tar xvzf groonga-3.0.
|
87
|
-
% cd groonga-3.0.
|
85
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
86
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
87
|
+
% cd groonga-3.0.4
|
88
88
|
|
89
89
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
90
90
|
|
@@ -40,9 +40,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
|
|
40
40
|
|
41
41
|
Download source::
|
42
42
|
|
43
|
-
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.
|
44
|
-
% tar xvzf groonga-3.0.
|
45
|
-
% cd groonga-3.0.
|
43
|
+
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
44
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
45
|
+
% cd groonga-3.0.4
|
46
46
|
|
47
47
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
48
48
|
|
@@ -74,9 +74,9 @@ Build from source
|
|
74
74
|
Groonga uses GNU build system. So the following is the simplest build
|
75
75
|
steps::
|
76
76
|
|
77
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
78
|
-
% tar xvzf groonga-3.0.
|
79
|
-
% cd groonga-3.0.
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
78
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
79
|
+
% cd groonga-3.0.4
|
80
80
|
% ./configure
|
81
81
|
% make
|
82
82
|
% sudo make install
|
@@ -17,9 +17,9 @@ Install required packages to build groonga::
|
|
17
17
|
|
18
18
|
Download source::
|
19
19
|
|
20
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
21
|
-
% gtar xvzf groonga-3.0.
|
22
|
-
% cd groonga-3.0.
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
21
|
+
% gtar xvzf groonga-3.0.4.tar.gz
|
22
|
+
% cd groonga-3.0.4
|
23
23
|
|
24
24
|
Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
|
25
25
|
needed for building 64-bit version. To build 32-bit version, just
|
@@ -59,53 +59,6 @@ There is a package that provides MySQL compatible normalizer as
|
|
59
59
|
groonga plugins.
|
60
60
|
If you want to use that one, install groonga-normalizer-mysql package.
|
61
61
|
|
62
|
-
Install groonga-normalizer-mysql package::
|
63
|
-
|
64
|
-
% sudo apt-get -y install groonga-normalizer-mysql
|
65
|
-
|
66
|
-
11.10 Oneiric Ocelot
|
67
|
-
--------------------
|
68
|
-
|
69
|
-
.. note::
|
70
|
-
|
71
|
-
Enable the universe repository to install groonga::
|
72
|
-
|
73
|
-
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
74
|
-
% sudo sed -i'' -e 's/main/universe/' /etc/apt/sources.list.d/universe.list
|
75
|
-
|
76
|
-
Add the groonga apt repository.
|
77
|
-
|
78
|
-
/etc/apt/sources.list.d/groonga.list::
|
79
|
-
|
80
|
-
deb http://packages.groonga.org/ubuntu/ oneiric universe
|
81
|
-
deb-src http://packages.groonga.org/ubuntu/ oneiric universe
|
82
|
-
|
83
|
-
Install::
|
84
|
-
|
85
|
-
% sudo apt-get update
|
86
|
-
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
|
87
|
-
% sudo apt-get update
|
88
|
-
% sudo apt-get -y install groonga
|
89
|
-
|
90
|
-
If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
|
91
|
-
tokenizer, install groonga-tokenizer-mecab package.
|
92
|
-
|
93
|
-
Install groonga-tokenizer-mecab package::
|
94
|
-
|
95
|
-
% sudo apt-get -y install groonga-tokenizer-mecab
|
96
|
-
|
97
|
-
There is a package that provides `Munin
|
98
|
-
<http://munin-monitoring.org/>`_ plugins. If you want to monitor
|
99
|
-
groonga status by Munin, install groonga-munin-plugins package.
|
100
|
-
|
101
|
-
Install groonga-munin-plugins package::
|
102
|
-
|
103
|
-
% sudo apt-get -y install groonga-munin-plugins
|
104
|
-
|
105
|
-
There is a package that provides MySQL compatible normalizer as
|
106
|
-
groonga plugins.
|
107
|
-
If you want to use that one, install groonga-normalizer-mysql package.
|
108
|
-
|
109
62
|
Install groonga-normalizer-mysql package::
|
110
63
|
|
111
64
|
% sudo apt-get -y install groonga-normalizer-mysql
|
@@ -260,9 +213,9 @@ Install required packages to build groonga::
|
|
260
213
|
|
261
214
|
Download source::
|
262
215
|
|
263
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
264
|
-
% tar xvzf groonga-3.0.
|
265
|
-
% cd groonga-3.0.
|
216
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.4.tar.gz
|
217
|
+
% tar xvzf groonga-3.0.4.tar.gz
|
218
|
+
% cd groonga-3.0.4
|
266
219
|
|
267
220
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
268
221
|
|
@@ -23,7 +23,7 @@ You can download such a binary by command line operation.
|
|
23
23
|
|
24
24
|
Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
|
25
25
|
|
26
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
26
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.4-x86.exe
|
27
27
|
|
28
28
|
Then run it.
|
29
29
|
|
@@ -32,7 +32,7 @@ For 64-bit environment, download x64 executable binary from packages.groonga.org
|
|
32
32
|
|
33
33
|
Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
|
34
34
|
|
35
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
35
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.4-x64.exe
|
36
36
|
|
37
37
|
Then run it.
|
38
38
|
|
@@ -47,7 +47,7 @@ You can download such a binary by command line operation.
|
|
47
47
|
|
48
48
|
Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
|
49
49
|
|
50
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
50
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.4-x86.zip
|
51
51
|
|
52
52
|
Then extract it.
|
53
53
|
|
@@ -55,7 +55,7 @@ For 64-bit environment, download x64 zip archive from packages.groonga.org.
|
|
55
55
|
|
56
56
|
Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
|
57
57
|
|
58
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
58
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.4-x64.zip
|
59
59
|
|
60
60
|
Then extract it.
|
61
61
|
|
@@ -79,37 +79,27 @@ Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
|
79
79
|
Visual Studio 2010 Express and download it by default browser::
|
80
80
|
|
81
81
|
> cd c:\Users\%USERNAME%\Downloads
|
82
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.
|
82
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.4.zip
|
83
83
|
|
84
84
|
Then extract it.
|
85
85
|
|
86
86
|
Move to the groonga's source folder::
|
87
87
|
|
88
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.
|
88
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.4
|
89
89
|
|
90
90
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
91
91
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
92
92
|
parameter instead::
|
93
93
|
|
94
|
-
groonga-3.0.
|
94
|
+
groonga-3.0.4> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
95
95
|
|
96
|
-
Build
|
96
|
+
Build::
|
97
97
|
|
98
|
-
groonga-3.0.
|
98
|
+
groonga-3.0.4> cmake --build . --config Release
|
99
99
|
|
100
|
-
Install
|
100
|
+
Install::
|
101
101
|
|
102
|
-
groonga-3.0.
|
103
|
-
|
104
|
-
If you installed Visual Studio 2010, use can use devenv instead.
|
105
|
-
|
106
|
-
Build by Visual Studio 2010::
|
107
|
-
|
108
|
-
groonga-3.0.3> devenv groonga.sln /Build Release
|
109
|
-
|
110
|
-
Install by Visual Studio 2010::
|
111
|
-
|
112
|
-
groonga-3.0.3> devenv groonga.sln /Build Release /Project Install
|
102
|
+
groonga-3.0.4> cmake --build . --config Release --target Install
|
113
103
|
|
114
104
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
115
105
|
``c:\groonga\bin\groonga.exe``.
|