rroonga 1.3.1-x86-mingw32 → 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Rakefile +2 -7
- data/ext/groonga/rb-grn-column.c +34 -37
- data/ext/groonga/rb-grn-context.c +63 -2
- data/ext/groonga/rb-grn-expression.c +21 -13
- data/ext/groonga/rb-grn-object.c +2 -0
- data/ext/groonga/rb-grn-table.c +57 -51
- data/ext/groonga/rb-grn.h +10 -4
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/schema.rb +75 -46
- data/lib/groonga.rb +9 -6
- data/rroonga-build.rb +2 -2
- data/test/run-test.rb +1 -2
- data/test/test-table-select.rb +0 -5
- data/test/test-type.rb +2 -2
- data/test/test-version.rb +40 -10
- data/vendor/local/bin/grntest.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/plugin.h +113 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +146 -0
- data/vendor/local/include/groonga/groonga.h +18 -18
- data/vendor/local/include/msgpack/object.h +98 -0
- data/vendor/local/include/msgpack/object.hpp +412 -0
- data/vendor/local/include/msgpack/pack.h +143 -0
- data/vendor/local/include/msgpack/pack.hpp +318 -0
- data/vendor/local/include/msgpack/pack_define.h +26 -0
- data/vendor/local/include/msgpack/pack_template.h +766 -0
- data/vendor/local/include/msgpack/sbuffer.h +111 -0
- data/vendor/local/include/msgpack/sbuffer.hpp +112 -0
- data/vendor/local/include/msgpack/sysdep.h +195 -0
- data/vendor/local/include/msgpack/type/bool.hpp +55 -0
- data/vendor/local/include/msgpack/type/define.hpp +3279 -0
- data/vendor/local/include/msgpack/type/deque.hpp +77 -0
- data/vendor/local/include/msgpack/type/fixint.hpp +172 -0
- data/vendor/local/include/msgpack/type/float.hpp +82 -0
- data/vendor/local/include/msgpack/type/int.hpp +211 -0
- data/vendor/local/include/msgpack/type/list.hpp +77 -0
- data/vendor/local/include/msgpack/type/map.hpp +205 -0
- data/vendor/local/include/msgpack/type/nil.hpp +65 -0
- data/vendor/local/include/msgpack/type/pair.hpp +61 -0
- data/vendor/local/include/msgpack/type/raw.hpp +94 -0
- data/vendor/local/include/msgpack/type/set.hpp +122 -0
- data/vendor/local/include/msgpack/type/string.hpp +62 -0
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +129 -0
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +122 -0
- data/vendor/local/include/msgpack/type/tuple.hpp +13691 -0
- data/vendor/local/include/msgpack/type/vector.hpp +81 -0
- data/vendor/local/include/msgpack/type.hpp +16 -0
- data/vendor/local/include/msgpack/unpack.h +260 -0
- data/vendor/local/include/msgpack/unpack.hpp +374 -0
- data/vendor/local/include/msgpack/unpack_define.h +93 -0
- data/vendor/local/include/msgpack/unpack_template.h +409 -0
- data/vendor/local/include/msgpack/version.h +40 -0
- data/vendor/local/include/msgpack/vrefbuffer.h +142 -0
- data/vendor/local/include/msgpack/vrefbuffer.hpp +97 -0
- data/vendor/local/include/msgpack/zbuffer.h +207 -0
- data/vendor/local/include/msgpack/zbuffer.hpp +100 -0
- data/vendor/local/include/msgpack/zone.h +147 -0
- data/vendor/local/include/msgpack/zone.hpp +455 -0
- data/vendor/local/include/msgpack.h +30 -0
- data/vendor/local/include/msgpack.hpp +24 -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/suggest/suggest.la +2 -2
- 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 +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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 +41 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +41 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -4
- 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/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +51 -385
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/commands.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/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 +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +14 -8
- data/vendor/local/share/doc/groonga/en/html/indexing.html +237 -0
- 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/log.html +20 -20
- 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 +566 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +65 -464
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference.html +14 -8
- 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/spec/search.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/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/en/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +51 -385
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/commands.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/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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/functions.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +14 -8
- data/vendor/local/share/doc/groonga/ja/html/indexing.html +215 -0
- 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/log.html +20 -20
- 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 +528 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +62 -425
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference.html +14 -8
- 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/spec/search.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
- 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/doc/groonga/ja/html/type.html +5 -5
- data/vendor/local/share/doc/groonga/source/commands/suggest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +6 -7
- data/vendor/local/share/doc/groonga/source/indexing.txt +108 -0
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +386 -0
- data/vendor/local/share/doc/groonga/source/news.txt +51 -385
- data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/source/spec/search.txt +4 -4
- data/vendor/local/share/license/groonga/COPYING +10 -12
- data/vendor/local/share/license/msgpack/AUTHORS +1 -0
- data/vendor/local/share/license/msgpack/COPYING +14 -0
- data/vendor/local/share/license/msgpack/LICENSE +202 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +113 -5
- data/vendor/local/share/man/man1/groonga.1 +142 -11
- metadata +66 -3
- data/vendor/local/share/doc/groonga/source/update_execution_example.py +0 -141
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rroonga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: x86-mingw32
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-
|
16
|
+
date: 2012-03-22 00:00:00.000000000 Z
|
17
17
|
dependencies: []
|
18
18
|
description: ! 'rroonga is an extension library to use groonga''s DB-API
|
19
19
|
|
@@ -155,15 +155,60 @@ files:
|
|
155
155
|
- vendor/local/bin/grntest.exe
|
156
156
|
- vendor/local/bin/groonga-query-log-analyzer
|
157
157
|
- vendor/local/bin/groonga.exe
|
158
|
+
- vendor/local/bin/libgcc_s_sjlj-1.dll
|
158
159
|
- vendor/local/bin/libgroonga-0.dll
|
159
160
|
- vendor/local/bin/libmecab-1.dll
|
161
|
+
- vendor/local/bin/libmsgpack-3.dll
|
162
|
+
- vendor/local/bin/libmsgpackc-2.dll
|
163
|
+
- vendor/local/bin/libstdc++-6.dll
|
160
164
|
- vendor/local/bin/mecab-config
|
161
165
|
- vendor/local/bin/mecab.exe
|
162
166
|
- vendor/local/bin/mecabrc
|
163
167
|
- vendor/local/etc/groonga/groonga.conf
|
164
168
|
- vendor/local/include/groonga/groonga/plugin.h
|
169
|
+
- vendor/local/include/groonga/groonga/tokenizer.h
|
165
170
|
- vendor/local/include/groonga/groonga.h
|
166
171
|
- vendor/local/include/mecab.h
|
172
|
+
- vendor/local/include/msgpack/object.h
|
173
|
+
- vendor/local/include/msgpack/object.hpp
|
174
|
+
- vendor/local/include/msgpack/pack.h
|
175
|
+
- vendor/local/include/msgpack/pack.hpp
|
176
|
+
- vendor/local/include/msgpack/pack_define.h
|
177
|
+
- vendor/local/include/msgpack/pack_template.h
|
178
|
+
- vendor/local/include/msgpack/sbuffer.h
|
179
|
+
- vendor/local/include/msgpack/sbuffer.hpp
|
180
|
+
- vendor/local/include/msgpack/sysdep.h
|
181
|
+
- vendor/local/include/msgpack/type/bool.hpp
|
182
|
+
- vendor/local/include/msgpack/type/define.hpp
|
183
|
+
- vendor/local/include/msgpack/type/deque.hpp
|
184
|
+
- vendor/local/include/msgpack/type/fixint.hpp
|
185
|
+
- vendor/local/include/msgpack/type/float.hpp
|
186
|
+
- vendor/local/include/msgpack/type/int.hpp
|
187
|
+
- vendor/local/include/msgpack/type/list.hpp
|
188
|
+
- vendor/local/include/msgpack/type/map.hpp
|
189
|
+
- vendor/local/include/msgpack/type/nil.hpp
|
190
|
+
- vendor/local/include/msgpack/type/pair.hpp
|
191
|
+
- vendor/local/include/msgpack/type/raw.hpp
|
192
|
+
- vendor/local/include/msgpack/type/set.hpp
|
193
|
+
- vendor/local/include/msgpack/type/string.hpp
|
194
|
+
- vendor/local/include/msgpack/type/tr1/unordered_map.hpp
|
195
|
+
- vendor/local/include/msgpack/type/tr1/unordered_set.hpp
|
196
|
+
- vendor/local/include/msgpack/type/tuple.hpp
|
197
|
+
- vendor/local/include/msgpack/type/vector.hpp
|
198
|
+
- vendor/local/include/msgpack/type.hpp
|
199
|
+
- vendor/local/include/msgpack/unpack.h
|
200
|
+
- vendor/local/include/msgpack/unpack.hpp
|
201
|
+
- vendor/local/include/msgpack/unpack_define.h
|
202
|
+
- vendor/local/include/msgpack/unpack_template.h
|
203
|
+
- vendor/local/include/msgpack/version.h
|
204
|
+
- vendor/local/include/msgpack/vrefbuffer.h
|
205
|
+
- vendor/local/include/msgpack/vrefbuffer.hpp
|
206
|
+
- vendor/local/include/msgpack/zbuffer.h
|
207
|
+
- vendor/local/include/msgpack/zbuffer.hpp
|
208
|
+
- vendor/local/include/msgpack/zone.h
|
209
|
+
- vendor/local/include/msgpack/zone.hpp
|
210
|
+
- vendor/local/include/msgpack.h
|
211
|
+
- vendor/local/include/msgpack.hpp
|
167
212
|
- vendor/local/lib/groonga/plugins/suggest/suggest.a
|
168
213
|
- vendor/local/lib/groonga/plugins/suggest/suggest.dll
|
169
214
|
- vendor/local/lib/groonga/plugins/suggest/suggest.dll.a
|
@@ -178,6 +223,12 @@ files:
|
|
178
223
|
- vendor/local/lib/libmecab.a
|
179
224
|
- vendor/local/lib/libmecab.dll.a
|
180
225
|
- vendor/local/lib/libmecab.la
|
226
|
+
- vendor/local/lib/libmsgpack.a
|
227
|
+
- vendor/local/lib/libmsgpack.dll.a
|
228
|
+
- vendor/local/lib/libmsgpack.la
|
229
|
+
- vendor/local/lib/libmsgpackc.a
|
230
|
+
- vendor/local/lib/libmsgpackc.dll.a
|
231
|
+
- vendor/local/lib/libmsgpackc.la
|
181
232
|
- vendor/local/lib/pkgconfig/groonga.pc
|
182
233
|
- vendor/local/libexec/mecab/mecab-cost-train.exe
|
183
234
|
- vendor/local/libexec/mecab/mecab-dict-gen.exe
|
@@ -239,12 +290,14 @@ files:
|
|
239
290
|
- vendor/local/share/doc/groonga/en/html/_sources/functions.txt
|
240
291
|
- vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
|
241
292
|
- vendor/local/share/doc/groonga/en/html/_sources/index.txt
|
293
|
+
- vendor/local/share/doc/groonga/en/html/_sources/indexing.txt
|
242
294
|
- vendor/local/share/doc/groonga/en/html/_sources/install.txt
|
243
295
|
- vendor/local/share/doc/groonga/en/html/_sources/limitations.txt
|
244
296
|
- vendor/local/share/doc/groonga/en/html/_sources/log.txt
|
245
297
|
- vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt
|
246
298
|
- vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt
|
247
299
|
- vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt
|
300
|
+
- vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt
|
248
301
|
- vendor/local/share/doc/groonga/en/html/_sources/news/senna.txt
|
249
302
|
- vendor/local/share/doc/groonga/en/html/_sources/news.txt
|
250
303
|
- vendor/local/share/doc/groonga/en/html/_sources/output.txt
|
@@ -356,12 +409,14 @@ files:
|
|
356
409
|
- vendor/local/share/doc/groonga/en/html/genindex.html
|
357
410
|
- vendor/local/share/doc/groonga/en/html/geolocation_search.html
|
358
411
|
- vendor/local/share/doc/groonga/en/html/index.html
|
412
|
+
- vendor/local/share/doc/groonga/en/html/indexing.html
|
359
413
|
- vendor/local/share/doc/groonga/en/html/install.html
|
360
414
|
- vendor/local/share/doc/groonga/en/html/limitations.html
|
361
415
|
- vendor/local/share/doc/groonga/en/html/log.html
|
362
416
|
- vendor/local/share/doc/groonga/en/html/news/0.x.html
|
363
417
|
- vendor/local/share/doc/groonga/en/html/news/1.0.x.html
|
364
418
|
- vendor/local/share/doc/groonga/en/html/news/1.1.x.html
|
419
|
+
- vendor/local/share/doc/groonga/en/html/news/1.2.x.html
|
365
420
|
- vendor/local/share/doc/groonga/en/html/news/senna.html
|
366
421
|
- vendor/local/share/doc/groonga/en/html/news.html
|
367
422
|
- vendor/local/share/doc/groonga/en/html/objects.inv
|
@@ -448,12 +503,14 @@ files:
|
|
448
503
|
- vendor/local/share/doc/groonga/ja/html/_sources/functions.txt
|
449
504
|
- vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
|
450
505
|
- vendor/local/share/doc/groonga/ja/html/_sources/index.txt
|
506
|
+
- vendor/local/share/doc/groonga/ja/html/_sources/indexing.txt
|
451
507
|
- vendor/local/share/doc/groonga/ja/html/_sources/install.txt
|
452
508
|
- vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt
|
453
509
|
- vendor/local/share/doc/groonga/ja/html/_sources/log.txt
|
454
510
|
- vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt
|
455
511
|
- vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt
|
456
512
|
- vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt
|
513
|
+
- vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt
|
457
514
|
- vendor/local/share/doc/groonga/ja/html/_sources/news/senna.txt
|
458
515
|
- vendor/local/share/doc/groonga/ja/html/_sources/news.txt
|
459
516
|
- vendor/local/share/doc/groonga/ja/html/_sources/output.txt
|
@@ -565,12 +622,14 @@ files:
|
|
565
622
|
- vendor/local/share/doc/groonga/ja/html/genindex.html
|
566
623
|
- vendor/local/share/doc/groonga/ja/html/geolocation_search.html
|
567
624
|
- vendor/local/share/doc/groonga/ja/html/index.html
|
625
|
+
- vendor/local/share/doc/groonga/ja/html/indexing.html
|
568
626
|
- vendor/local/share/doc/groonga/ja/html/install.html
|
569
627
|
- vendor/local/share/doc/groonga/ja/html/limitations.html
|
570
628
|
- vendor/local/share/doc/groonga/ja/html/log.html
|
571
629
|
- vendor/local/share/doc/groonga/ja/html/news/0.x.html
|
572
630
|
- vendor/local/share/doc/groonga/ja/html/news/1.0.x.html
|
573
631
|
- vendor/local/share/doc/groonga/ja/html/news/1.1.x.html
|
632
|
+
- vendor/local/share/doc/groonga/ja/html/news/1.2.x.html
|
574
633
|
- vendor/local/share/doc/groonga/ja/html/news/senna.html
|
575
634
|
- vendor/local/share/doc/groonga/ja/html/news.html
|
576
635
|
- vendor/local/share/doc/groonga/ja/html/objects.inv
|
@@ -811,12 +870,14 @@ files:
|
|
811
870
|
- vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png
|
812
871
|
- vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg
|
813
872
|
- vendor/local/share/doc/groonga/source/index.txt
|
873
|
+
- vendor/local/share/doc/groonga/source/indexing.txt
|
814
874
|
- vendor/local/share/doc/groonga/source/install.txt
|
815
875
|
- vendor/local/share/doc/groonga/source/limitations.txt
|
816
876
|
- vendor/local/share/doc/groonga/source/log.txt
|
817
877
|
- vendor/local/share/doc/groonga/source/news/0.x.txt
|
818
878
|
- vendor/local/share/doc/groonga/source/news/1.0.x.txt
|
819
879
|
- vendor/local/share/doc/groonga/source/news/1.1.x.txt
|
880
|
+
- vendor/local/share/doc/groonga/source/news/1.2.x.txt
|
820
881
|
- vendor/local/share/doc/groonga/source/news/senna.txt
|
821
882
|
- vendor/local/share/doc/groonga/source/news.txt
|
822
883
|
- vendor/local/share/doc/groonga/source/output.txt
|
@@ -847,7 +908,6 @@ files:
|
|
847
908
|
- vendor/local/share/doc/groonga/source/tutorial/search.txt
|
848
909
|
- vendor/local/share/doc/groonga/source/tutorial.txt
|
849
910
|
- vendor/local/share/doc/groonga/source/type.txt
|
850
|
-
- vendor/local/share/doc/groonga/source/update_execution_example.py
|
851
911
|
- vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh
|
852
912
|
- vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb
|
853
913
|
- vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh
|
@@ -910,6 +970,9 @@ files:
|
|
910
970
|
- vendor/local/share/license/mecab/COPYING
|
911
971
|
- vendor/local/share/license/mecab/GPL
|
912
972
|
- vendor/local/share/license/mecab/LGPL
|
973
|
+
- vendor/local/share/license/msgpack/AUTHORS
|
974
|
+
- vendor/local/share/license/msgpack/COPYING
|
975
|
+
- vendor/local/share/license/msgpack/LICENSE
|
913
976
|
- vendor/local/share/license/naist-jdic/AUTHORS
|
914
977
|
- vendor/local/share/license/naist-jdic/COPYING
|
915
978
|
- vendor/local/share/man/ja/man1/groonga.1
|
@@ -1,141 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
# -*- coding: utf-8; -*-
|
3
|
-
|
4
|
-
from subprocess import *
|
5
|
-
from select import select
|
6
|
-
from sys import argv,stdout
|
7
|
-
import os
|
8
|
-
import os.path
|
9
|
-
import shutil
|
10
|
-
|
11
|
-
DB_DIRECTORY = "/tmp/groonga-databases"
|
12
|
-
|
13
|
-
shutil.rmtree(DB_DIRECTORY, ignore_errors=True)
|
14
|
-
os.makedirs(DB_DIRECTORY)
|
15
|
-
|
16
|
-
groonga_process = None
|
17
|
-
def close_groonga():
|
18
|
-
global groonga_process
|
19
|
-
if groonga_process:
|
20
|
-
groonga_process.stdin.close()
|
21
|
-
groonga_process.stdout.close()
|
22
|
-
groonga_process = None
|
23
|
-
print '###<<< database: close'
|
24
|
-
|
25
|
-
def reconnect(name):
|
26
|
-
global groonga_process
|
27
|
-
close_groonga()
|
28
|
-
db_path = os.path.join(DB_DIRECTORY, name)
|
29
|
-
if os.path.exists(db_path):
|
30
|
-
groonga_process = Popen(["groonga", db_path], stdin=PIPE, stdout=PIPE)
|
31
|
-
else:
|
32
|
-
groonga_process = Popen(["groonga", "-n", db_path], stdin=PIPE, stdout=PIPE)
|
33
|
-
print '###>>> database: open <%s>' % db_path
|
34
|
-
|
35
|
-
fout = None
|
36
|
-
|
37
|
-
def execmd(cmd, fout):
|
38
|
-
a = '> ' + cmd + "\n"
|
39
|
-
stdout.write(a)
|
40
|
-
stdout.flush()
|
41
|
-
groonga_process.stdin.write(cmd + "\n")
|
42
|
-
groonga_process.stdin.flush()
|
43
|
-
if fout:
|
44
|
-
fout.write(a + " ")
|
45
|
-
while True:
|
46
|
-
out = select([groonga_process.stdout], [], [], 0.2)
|
47
|
-
if len(out[0]):
|
48
|
-
a = groonga_process.stdout.read(1)
|
49
|
-
if a != None:
|
50
|
-
stdout.write(a)
|
51
|
-
if fout:
|
52
|
-
if a == '\n':
|
53
|
-
fout.write(a + " ")
|
54
|
-
else:
|
55
|
-
fout.write(a)
|
56
|
-
else:
|
57
|
-
stdout.flush()
|
58
|
-
break
|
59
|
-
|
60
|
-
def readfile(fname, outflag):
|
61
|
-
if outflag > 32:
|
62
|
-
print "!!!! INCLUDE DEPTH OVER !!!!"
|
63
|
-
raise
|
64
|
-
b = fname.rfind('/')
|
65
|
-
if b < 0:
|
66
|
-
rootdir = './'
|
67
|
-
else:
|
68
|
-
rootdir = fname[0:b+1]
|
69
|
-
|
70
|
-
fi = open(fname, 'r')
|
71
|
-
dat = fi.read().split("\n")
|
72
|
-
fi.close()
|
73
|
-
|
74
|
-
line = 0;
|
75
|
-
while len(dat):
|
76
|
-
cmd = dat.pop(0)
|
77
|
-
if cmd.startswith('.. groonga-command'):
|
78
|
-
print '### command start'
|
79
|
-
fout = None
|
80
|
-
while len(dat):
|
81
|
-
cmd = dat.pop(0)
|
82
|
-
if cmd.startswith('.. database:'):
|
83
|
-
database_name = cmd[cmd.index(":")+1:].strip()
|
84
|
-
reconnect(database_name)
|
85
|
-
elif cmd.startswith('.. include:: '):
|
86
|
-
a = rootdir + cmd[13:]
|
87
|
-
if outflag == 0:
|
88
|
-
dir_name = os.path.dirname(a)
|
89
|
-
if not os.path.exists(dir_name):
|
90
|
-
os.makedirs(dir_name)
|
91
|
-
fout = open(a, 'w')
|
92
|
-
print '### write start : ' + a
|
93
|
-
fout.write("Execution example::\n\n ")
|
94
|
-
elif cmd.startswith('.. % '):
|
95
|
-
a = cmd[5:]
|
96
|
-
if fout:
|
97
|
-
fout.write(a + "\n ")
|
98
|
-
print a
|
99
|
-
os.system(a)
|
100
|
-
elif cmd.startswith('.. .. '):
|
101
|
-
a = cmd[6:]
|
102
|
-
if fout:
|
103
|
-
fout.write(a + "\n ")
|
104
|
-
print a
|
105
|
-
elif cmd.startswith('..'):
|
106
|
-
if cmd.replace(' ','').replace("\t",'') == '..':
|
107
|
-
while len(dat):
|
108
|
-
if dat[0] == '' or (dat[0][0] != ' ' and dat[0][0] != ' '):
|
109
|
-
break
|
110
|
-
execmd(dat.pop(0), fout)
|
111
|
-
else:
|
112
|
-
cmd = cmd[3:]
|
113
|
-
execmd(cmd, fout)
|
114
|
-
else:
|
115
|
-
print '### command end'
|
116
|
-
if fout:
|
117
|
-
fout.close()
|
118
|
-
break
|
119
|
-
elif cmd.startswith('.. groonga-include : '):
|
120
|
-
a = rootdir + cmd[21:]
|
121
|
-
print '###>>> include : ' + a
|
122
|
-
readfile(a, outflag + 1)
|
123
|
-
print '###<<< include end'
|
124
|
-
|
125
|
-
entry_point = "./"
|
126
|
-
if len(argv) == 2:
|
127
|
-
entry_point = argv[1]
|
128
|
-
if os.path.isfile(entry_point):
|
129
|
-
readfile(entry_point, 0)
|
130
|
-
else:
|
131
|
-
for root, dirs, files in os.walk(entry_point):
|
132
|
-
for fname in files:
|
133
|
-
if fname.lower().endswith('.txt'):
|
134
|
-
b = os.path.join(root, fname)
|
135
|
-
print "===" + b
|
136
|
-
readfile(b, 0)
|
137
|
-
|
138
|
-
if fout:
|
139
|
-
fout.close()
|
140
|
-
close_groonga()
|
141
|
-
|