rroonga 3.1.2-x64-mingw32 → 4.0.0-x64-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.
- checksums.yaml +4 -4
- data/doc/text/install.textile +145 -0
- data/doc/text/news.textile +12 -0
- data/ext/groonga/rb-grn-expression.c +3 -3
- data/ext/groonga/rb-grn-snippet.c +6 -6
- data/ext/groonga/rb-grn.h +4 -4
- 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/database-inspector.rb +1 -1
- data/rroonga-build.rb +7 -7
- 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/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +17 -25
- 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/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/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/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/development.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +3 -2
- 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 +3 -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 -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 +50 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +43 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
- 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/cooperation.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 +5 -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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- 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/install.html +5 -5
- 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 +250 -195
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -6
- 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.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/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 +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/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/truncate.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/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +48 -27
- 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-suggest-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.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/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/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/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 +5 -5
- 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 +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/reference.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/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 +5 -5
- 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/mmap_cannot_allocate_memory.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/development.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +3 -2
- 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 +3 -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 -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 +50 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +43 -18
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +9 -9
- 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/cooperation.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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- 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/install.html +5 -5
- 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 +262 -202
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- 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.html +10 -10
- 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 +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/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/truncate.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/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +48 -22
- 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/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/between.html +6 -6
- 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/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 +7 -8
- 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 +5 -5
- 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 +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/reference.html +6 -6
- 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 +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/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/mmap_cannot_allocate_memory.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 +107 -67
- data/vendor/local/share/man/man1/groonga.1 +96 -56
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d8fb678bd988781e23a03e9d50b411b4c5f09f
|
4
|
+
data.tar.gz: 92f51ee0bb7e8f4adb269173c089d18afdbfa3b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4374d23b5055da01f16b9e77895c209c95ca6f2765d8b9fabd4dc1c294497f859fd8d33a409a8aef71651c7123901fb7705024899f5d2174b6fb9719f30ce602
|
7
|
+
data.tar.gz: 0d29c1383e915edc48c44be57566af4e5d36e3a3ff22895236bd44e597b8b25be00052a238194dfe2bdf85441c5c797ef406bb9b8d0a688981987e9de7ca5a01
|
@@ -0,0 +1,145 @@
|
|
1
|
+
h1. Install
|
2
|
+
|
3
|
+
This document describes how to install Rroonga.
|
4
|
+
|
5
|
+
You can install Rrroonga by RubyGems. It is the standard way for Ruby
|
6
|
+
libraries.
|
7
|
+
|
8
|
+
Rroonga is depends on Groonga. So you need to install both Groonga and
|
9
|
+
Rroonga. You can't install Groonga by RubyGems because it isn't Ruby
|
10
|
+
library. But don't worry. Rroonga provides the following options for
|
11
|
+
easy to install:
|
12
|
+
|
13
|
+
* Rroonga downloads, builds and installs Groonga automatically. You
|
14
|
+
don't need to do them explicitly.
|
15
|
+
* Rroonga uses Groonga installed by your packaging system.
|
16
|
+
|
17
|
+
The following sections describe the above in detail.
|
18
|
+
|
19
|
+
h2. Install with auto Groonga build
|
20
|
+
|
21
|
+
Rroonga searches Groonga on install. If Rroonga can't find
|
22
|
+
Groonga, Rroonga downloads, builds and installs Groonga
|
23
|
+
automatically.
|
24
|
+
|
25
|
+
Type the following command to install Rroonga and Groonga. You don't
|
26
|
+
need to install Groonga explicitly:
|
27
|
+
|
28
|
+
<pre>
|
29
|
+
!!!command_line
|
30
|
+
% gem install rroonga
|
31
|
+
</pre>
|
32
|
+
|
33
|
+
h2. Install with Groonga package
|
34
|
+
|
35
|
+
You can use Groonga package on you packaging system instead of
|
36
|
+
building Groonga by yourself. There are the following advantages for
|
37
|
+
this option:
|
38
|
+
|
39
|
+
* It reduces installation time.
|
40
|
+
* It doesn't fail on building Groonga.
|
41
|
+
|
42
|
+
h3. Windows
|
43
|
+
|
44
|
+
Rroonga gem for Windows includes both pre-compiled Rroonga and Groonga
|
45
|
+
in the gem. So what you need to do is you just install rroonga gem.
|
46
|
+
|
47
|
+
Type the following command on Ruby console:
|
48
|
+
|
49
|
+
<pre>
|
50
|
+
!!!command_line
|
51
|
+
% gem.bat install rroonga
|
52
|
+
</pre>
|
53
|
+
|
54
|
+
This document assumes that you're using "RubyInstaller for
|
55
|
+
Windows":http://rubyinstaller.org/ .
|
56
|
+
|
57
|
+
h3. OS X
|
58
|
+
|
59
|
+
There are Groonga packages for OS X environment.
|
60
|
+
|
61
|
+
h4. MacPorts
|
62
|
+
|
63
|
+
If you're using "MacPorts":http://www.macports.org/ , type the
|
64
|
+
following commands on your terminal:
|
65
|
+
|
66
|
+
<pre>
|
67
|
+
!!!command_line
|
68
|
+
% sudo port install groonga
|
69
|
+
% sudo gem install rroonga
|
70
|
+
</pre>
|
71
|
+
|
72
|
+
h4. Homebrew
|
73
|
+
|
74
|
+
If you're using "Homebrew":http://brew.sh/ , type the
|
75
|
+
following commands on your terminal:
|
76
|
+
|
77
|
+
<pre>
|
78
|
+
!!!command_line
|
79
|
+
% brew install groonga
|
80
|
+
% gem install rroonga
|
81
|
+
</pre>
|
82
|
+
|
83
|
+
h3. Debian GNU/Linux
|
84
|
+
|
85
|
+
You can install the Groonga package by apt. See "Groonga
|
86
|
+
documentation":http://groonga.org/docs/install/debian.html how to set
|
87
|
+
apt-line up.
|
88
|
+
|
89
|
+
Type the following commands on your terminal after you finish to set
|
90
|
+
apt-line up.
|
91
|
+
|
92
|
+
<pre>
|
93
|
+
!!!command_line
|
94
|
+
% sudo apt-get install -y libgroonga-dev
|
95
|
+
% sudo gem install rroonga
|
96
|
+
</pre>
|
97
|
+
|
98
|
+
h3. Ubuntu
|
99
|
+
|
100
|
+
You can install the Groonga package by apt. See "Groonga
|
101
|
+
documentation":http://groonga.org/docs/install/ubuntu.html how to set
|
102
|
+
apt-line up.
|
103
|
+
|
104
|
+
Type the following commands on your terminal after you finish to set
|
105
|
+
apt-line up.
|
106
|
+
|
107
|
+
<pre>
|
108
|
+
!!!command_line
|
109
|
+
% sudo apt-get install -y libgroonga-dev
|
110
|
+
% sudo gem install rroonga
|
111
|
+
</pre>
|
112
|
+
|
113
|
+
h3. CentOS
|
114
|
+
|
115
|
+
You can install the Groonga package by yum. See "Groonga
|
116
|
+
documentation":http://groonga.org/docs/install/centos.html how to set
|
117
|
+
yum repository up.
|
118
|
+
|
119
|
+
But you need to install Ruby 1.9.3 or later by yourself. Both CentOS 5
|
120
|
+
and 6 ship Ruby 1.8. Rroonga doesn't support Ruby 1.8.
|
121
|
+
|
122
|
+
Type the following commands on your terminal after you finish to set
|
123
|
+
yum repository up and installing Ruby 1.9.3 or later.
|
124
|
+
|
125
|
+
<pre>
|
126
|
+
!!!command_line
|
127
|
+
% sudo yum install groonga-devel -y
|
128
|
+
% gem install rroonga
|
129
|
+
</pre>
|
130
|
+
|
131
|
+
h3. Fedora
|
132
|
+
|
133
|
+
You can install the Groonga package by yum. The Groonga package is
|
134
|
+
included in the official Fedora repository.
|
135
|
+
|
136
|
+
<pre>
|
137
|
+
!!!command_line
|
138
|
+
% sudo yum install groonga-devel -y
|
139
|
+
% sudo gem install rroonga
|
140
|
+
</pre>
|
141
|
+
|
142
|
+
h2. Links
|
143
|
+
|
144
|
+
* "2. Install - Groonga documentation":http://groonga.org/docs/install.html
|
145
|
+
|
data/doc/text/news.textile
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
h1. NEWS
|
2
2
|
|
3
|
+
h2(#4-0-0). 4.0.0: 2014-02-09
|
4
|
+
|
5
|
+
h3. Improvements
|
6
|
+
|
7
|
+
* Supported Groonga 4.0.0. Groonga 3.1.2 or older are not supported.
|
8
|
+
* Added install document. [Patch by ongaeshi]
|
9
|
+
|
10
|
+
h3. Thanks
|
11
|
+
|
12
|
+
* ongaeshi
|
13
|
+
|
14
|
+
|
3
15
|
h2(#3-1-2). 3.1.2: 2014-01-29
|
4
16
|
|
5
17
|
h3. Improvements
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -624,7 +624,7 @@ rb_grn_expression_snippet (int argc, VALUE *argv, VALUE self)
|
|
624
624
|
{
|
625
625
|
grn_ctx *context = NULL;
|
626
626
|
grn_obj *expression;
|
627
|
-
|
627
|
+
grn_obj *snippet;
|
628
628
|
VALUE options;
|
629
629
|
VALUE rb_normalize, rb_skip_leading_spaces;
|
630
630
|
VALUE rb_width, rb_max_results, rb_tags;
|
@@ -714,7 +714,7 @@ rb_grn_expression_snippet (int argc, VALUE *argv, VALUE self)
|
|
714
714
|
related_object = rb_ary_new3(2, self, rb_ary_new4(argc, argv));
|
715
715
|
rb_grn_context_check(context, related_object);
|
716
716
|
|
717
|
-
return GRNOBJECT2RVAL(Qnil, context,
|
717
|
+
return GRNOBJECT2RVAL(Qnil, context, snippet, GRN_TRUE);
|
718
718
|
}
|
719
719
|
|
720
720
|
void
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -83,7 +83,7 @@ static VALUE
|
|
83
83
|
rb_grn_snippet_initialize (int argc, VALUE *argv, VALUE self)
|
84
84
|
{
|
85
85
|
grn_ctx *context = NULL;
|
86
|
-
|
86
|
+
grn_obj *snippet = NULL;
|
87
87
|
VALUE options;
|
88
88
|
VALUE rb_context, rb_normalize, rb_skip_leading_spaces;
|
89
89
|
VALUE rb_width, rb_max_results, rb_default_open_tag, rb_default_close_tag;
|
@@ -148,7 +148,7 @@ rb_grn_snippet_initialize (int argc, VALUE *argv, VALUE self)
|
|
148
148
|
mapping);
|
149
149
|
rb_grn_context_check(context, rb_ary_new4(argc, argv));
|
150
150
|
|
151
|
-
rb_grn_object_assign(Qnil, self, rb_context, context,
|
151
|
+
rb_grn_object_assign(Qnil, self, rb_context, context, snippet);
|
152
152
|
rb_grn_context_register_floating_object(DATA_PTR(self));
|
153
153
|
|
154
154
|
rb_iv_set(self, "@context", rb_context);
|
@@ -203,7 +203,7 @@ rb_grn_snippet_add_keyword (int argc, VALUE *argv, VALUE self)
|
|
203
203
|
close_tag_length = RSTRING_LEN(rb_close_tag);
|
204
204
|
}
|
205
205
|
|
206
|
-
rc = grn_snip_add_cond(context,
|
206
|
+
rc = grn_snip_add_cond(context, snippet,
|
207
207
|
keyword, keyword_length,
|
208
208
|
open_tag, open_tag_length,
|
209
209
|
close_tag, close_tag_length);
|
@@ -245,7 +245,7 @@ rb_grn_snippet_execute (VALUE self, VALUE rb_string)
|
|
245
245
|
string = StringValuePtr(rb_string);
|
246
246
|
string_length = RSTRING_LEN(rb_string);
|
247
247
|
|
248
|
-
rc = grn_snip_exec(context,
|
248
|
+
rc = grn_snip_exec(context, snippet, string, string_length,
|
249
249
|
&n_results, &max_tagged_length);
|
250
250
|
rb_grn_context_check(context, self);
|
251
251
|
rb_grn_rc_check(rc, self);
|
@@ -256,7 +256,7 @@ rb_grn_snippet_execute (VALUE self, VALUE rb_string)
|
|
256
256
|
VALUE rb_result;
|
257
257
|
unsigned result_length;
|
258
258
|
|
259
|
-
rc = grn_snip_get_result(context,
|
259
|
+
rc = grn_snip_get_result(context, snippet,
|
260
260
|
i, result, &result_length);
|
261
261
|
rb_grn_rc_check(rc, self);
|
262
262
|
rb_result = rb_grn_context_rb_string_new(context, result, result_length);
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -82,9 +82,9 @@ RB_GRN_BEGIN_DECLS
|
|
82
82
|
# define debug(...)
|
83
83
|
#endif
|
84
84
|
|
85
|
-
#define RB_GRN_MAJOR_VERSION
|
86
|
-
#define RB_GRN_MINOR_VERSION
|
87
|
-
#define RB_GRN_MICRO_VERSION
|
85
|
+
#define RB_GRN_MAJOR_VERSION 4
|
86
|
+
#define RB_GRN_MINOR_VERSION 0
|
87
|
+
#define RB_GRN_MICRO_VERSION 0
|
88
88
|
|
89
89
|
#define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
|
90
90
|
|
data/lib/1.9/groonga.so
CHANGED
Binary file
|
data/lib/2.0/groonga.so
CHANGED
Binary file
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
@@ -43,7 +43,7 @@ module Groonga
|
|
43
43
|
attr_writer :show_tables
|
44
44
|
|
45
45
|
# @return [Boolean] (true) Shows information about columns if true,
|
46
|
-
# doesn't show it otherwise. If {#show_tables} is false, information
|
46
|
+
# doesn't show it otherwise. If {#show_tables?} is false, information
|
47
47
|
# about columns isn't always shown.
|
48
48
|
attr_writer :show_columns
|
49
49
|
def initialize
|
data/rroonga-build.rb
CHANGED
@@ -17,17 +17,17 @@
|
|
17
17
|
|
18
18
|
module RroongaBuild
|
19
19
|
module RequiredGroongaVersion
|
20
|
-
MAJOR =
|
21
|
-
MINOR =
|
22
|
-
MICRO =
|
20
|
+
MAJOR = 4
|
21
|
+
MINOR = 0
|
22
|
+
MICRO = 0
|
23
23
|
VERSION = [MAJOR, MINOR, MICRO]
|
24
|
-
RELEASED_DATE = Time.utc(2014,
|
24
|
+
RELEASED_DATE = Time.utc(2014, 2, 9)
|
25
25
|
end
|
26
26
|
|
27
27
|
module LatestGroongaVersion
|
28
|
-
MAJOR =
|
29
|
-
MINOR =
|
30
|
-
MICRO =
|
28
|
+
MAJOR = 4
|
29
|
+
MINOR = 0
|
30
|
+
MICRO = 0
|
31
31
|
VERSION = [MAJOR, MINOR, MICRO]
|
32
32
|
end
|
33
33
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
@@ -990,9 +990,6 @@ GRN_API grn_posting *grn_geo_cursor_next(grn_ctx *ctx, grn_obj *cursor);
|
|
990
990
|
#define GRN_QUERY_COLUMN ':'
|
991
991
|
#endif /* GRN_QUERY_COLUMN */
|
992
992
|
|
993
|
-
/* grn_snip should be removed.
|
994
|
-
* TODO: 3.0 */
|
995
|
-
typedef struct _grn_snip grn_snip;
|
996
993
|
typedef struct _grn_snip_mapping grn_snip_mapping;
|
997
994
|
|
998
995
|
struct _grn_snip_mapping {
|
@@ -1005,27 +1002,22 @@ struct _grn_snip_mapping {
|
|
1005
1002
|
|
1006
1003
|
#define GRN_SNIP_MAPPING_HTML_ESCAPE ((grn_snip_mapping *)-1)
|
1007
1004
|
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
grn_snip_mapping *mapping);
|
1015
|
-
/* grn_snip_close() should be removed. Use grn_obj_close() instead.
|
1016
|
-
* TODO: 3.0 */
|
1017
|
-
GRN_API grn_rc grn_snip_close(grn_ctx *ctx, grn_snip *snip);
|
1018
|
-
GRN_API grn_rc grn_snip_add_cond(grn_ctx *ctx, grn_snip *snip,
|
1005
|
+
GRN_API grn_obj *grn_snip_open(grn_ctx *ctx, int flags, unsigned int width,
|
1006
|
+
unsigned int max_results,
|
1007
|
+
const char *defaultopentag, unsigned int defaultopentag_len,
|
1008
|
+
const char *defaultclosetag, unsigned int defaultclosetag_len,
|
1009
|
+
grn_snip_mapping *mapping);
|
1010
|
+
GRN_API grn_rc grn_snip_add_cond(grn_ctx *ctx, grn_obj *snip,
|
1019
1011
|
const char *keyword, unsigned int keyword_len,
|
1020
1012
|
const char *opentag, unsigned int opentag_len,
|
1021
1013
|
const char *closetag, unsigned int closetag_len);
|
1022
|
-
GRN_API grn_rc grn_snip_set_normalizer(grn_ctx *ctx,
|
1014
|
+
GRN_API grn_rc grn_snip_set_normalizer(grn_ctx *ctx, grn_obj *snip,
|
1023
1015
|
grn_obj *normalizer);
|
1024
|
-
GRN_API grn_obj *grn_snip_get_normalizer(grn_ctx *ctx,
|
1025
|
-
GRN_API grn_rc grn_snip_exec(grn_ctx *ctx,
|
1016
|
+
GRN_API grn_obj *grn_snip_get_normalizer(grn_ctx *ctx, grn_obj *snip);
|
1017
|
+
GRN_API grn_rc grn_snip_exec(grn_ctx *ctx, grn_obj *snip,
|
1026
1018
|
const char *string, unsigned int string_len,
|
1027
1019
|
unsigned int *nresults, unsigned int *max_tagged_len);
|
1028
|
-
GRN_API grn_rc grn_snip_get_result(grn_ctx *ctx,
|
1020
|
+
GRN_API grn_rc grn_snip_get_result(grn_ctx *ctx, grn_obj *snip, const unsigned int index,
|
1029
1021
|
char *result, unsigned int *result_len);
|
1030
1022
|
|
1031
1023
|
/* log */
|
@@ -1709,15 +1701,15 @@ GRN_API grn_rc grn_expr_parse(grn_ctx *ctx, grn_obj *expr,
|
|
1709
1701
|
grn_obj *default_column, grn_operator default_mode,
|
1710
1702
|
grn_operator default_op, grn_expr_flags flags);
|
1711
1703
|
|
1712
|
-
GRN_API
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1704
|
+
GRN_API grn_obj *grn_expr_snip(grn_ctx *ctx, grn_obj *expr, int flags,
|
1705
|
+
unsigned int width, unsigned int max_results,
|
1706
|
+
unsigned int n_tags,
|
1707
|
+
const char **opentags, unsigned int *opentag_lens,
|
1708
|
+
const char **closetags, unsigned int *closetag_lens,
|
1709
|
+
grn_snip_mapping *mapping);
|
1718
1710
|
GRN_API grn_rc grn_expr_snip_add_conditions(grn_ctx *ctx,
|
1719
1711
|
grn_obj *expr,
|
1720
|
-
|
1712
|
+
grn_obj *snip,
|
1721
1713
|
unsigned int n_tags,
|
1722
1714
|
const char **opentags,
|
1723
1715
|
unsigned int *opentag_lens,
|
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=
|
14
|
+
groonga_version=4.0.0
|
15
15
|
|
16
16
|
Name: Groonga
|
17
17
|
Description: An Embeddable Fulltext Search Engine
|
18
|
-
Version:
|
18
|
+
Version: 4.0.0
|
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: 4af8da25a5f0f8c19df5f9bce6969edb
|
4
4
|
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
@@ -1,4 +1,5 @@
|
|
1
1
|
.. -*- rst -*-
|
2
|
+
.. Groonga Project
|
2
3
|
|
3
4
|
.. highlightlang:: none
|
4
5
|
|
@@ -22,7 +23,7 @@ so on aren't supported yet. Here is a feature list:
|
|
22
23
|
#. Groonga can sort records by distance from the specified
|
23
24
|
point in ascending order.
|
24
25
|
|
25
|
-
Here are use cases for
|
26
|
+
Here are use cases for Groonga's geolocation search:
|
26
27
|
|
27
28
|
* You list McDonald's around a station.
|
28
29
|
* You list KFS around the current location sort by distance
|
@@ -37,7 +38,7 @@ Here are not use cases:
|
|
37
38
|
record. (A column can't has geolocation data except a
|
38
39
|
point.)
|
39
40
|
|
40
|
-
The following figures show about
|
41
|
+
The following figures show about Groonga's geolocation
|
41
42
|
search features.
|
42
43
|
|
43
44
|
Here is a figure that only has records. A black point
|
@@ -1,11 +1,12 @@
|
|
1
1
|
.. -*- rst -*-
|
2
|
+
.. Groonga Project
|
2
3
|
|
3
|
-
..
|
4
|
+
.. Groonga documentation master file, created by
|
4
5
|
sphinx-quickstart on Thu Oct 22 15:42:37 2009.
|
5
6
|
You can adapt this file completely to your liking, but it should at least
|
6
7
|
contain the root `toctree` directive.
|
7
8
|
|
8
|
-
|
9
|
+
Groonga documentation
|
9
10
|
=====================
|
10
11
|
|
11
12
|
* :doc:`news`
|
@@ -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-
|
157
|
-
% tar xvzf groonga-
|
158
|
-
% cd groonga-
|
156
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
157
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
158
|
+
% cd groonga-4.0.0
|
159
159
|
|
160
160
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
161
161
|
|
@@ -145,9 +145,9 @@ Install required packages to build groonga::
|
|
145
145
|
|
146
146
|
Download source::
|
147
147
|
|
148
|
-
% wget http://packages.groonga.org/source/groonga/groonga-
|
149
|
-
% tar xvzf groonga-
|
150
|
-
% cd groonga-
|
148
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
149
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
150
|
+
% cd groonga-4.0.0
|
151
151
|
|
152
152
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
153
153
|
|
@@ -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-
|
86
|
-
% tar xvzf groonga-
|
87
|
-
% cd groonga-
|
85
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
86
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
87
|
+
% cd groonga-4.0.0
|
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-
|
44
|
-
% tar xvzf groonga-
|
45
|
-
% cd groonga-
|
43
|
+
% curl -O http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
44
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
45
|
+
% cd groonga-4.0.0
|
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-
|
78
|
-
% tar xvzf groonga-
|
79
|
-
% cd groonga-
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
78
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
79
|
+
% cd groonga-4.0.0
|
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-
|
21
|
-
% gtar xvzf groonga-
|
22
|
-
% cd groonga-
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
21
|
+
% gtar xvzf groonga-4.0.0.tar.gz
|
22
|
+
% cd groonga-4.0.0
|
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
|
@@ -206,9 +206,9 @@ Install required packages to build groonga::
|
|
206
206
|
|
207
207
|
Download source::
|
208
208
|
|
209
|
-
% wget http://packages.groonga.org/source/groonga/groonga-
|
210
|
-
% tar xvzf groonga-
|
211
|
-
% cd groonga-
|
209
|
+
% wget http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
|
210
|
+
% tar xvzf groonga-4.0.0.tar.gz
|
211
|
+
% cd groonga-4.0.0
|
212
212
|
|
213
213
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
214
214
|
|