rroonga 4.0.3-x86-mingw32 → 4.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +8 -1
- data/bin/grndump +1 -1
- data/bin/grntest-log-analyze +1 -1
- data/bin/groonga-database-inspect +1 -1
- data/bin/groonga-index-dump +1 -1
- data/doc/text/news.textile +28 -0
- data/ext/groonga/extconf.rb +12 -2
- data/ext/groonga/rb-grn-accessor.c +2 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +7 -5
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +71 -45
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure-type.c +40 -0
- data/ext/groonga/rb-grn-procedure.c +17 -4
- data/ext/groonga/rb-grn-query-logger.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +3 -2
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +55 -27
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/extconf.rb +1 -1
- 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.rb +1 -1
- data/lib/groonga/column.rb +1 -1
- data/lib/groonga/context.rb +1 -1
- data/lib/groonga/context/command-executor.rb +1 -1
- data/lib/groonga/database-inspector.rb +1 -1
- data/lib/groonga/database.rb +1 -1
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/expression-builder-19.rb +1 -1
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/geo-point.rb +1 -1
- data/lib/groonga/grntest-log.rb +1 -1
- data/lib/groonga/index-column.rb +1 -1
- data/lib/groonga/logger.rb +1 -1
- data/lib/groonga/memory-pool.rb +1 -2
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/posting.rb +1 -1
- data/lib/groonga/query-logger.rb +1 -1
- data/lib/groonga/record.rb +6 -2
- data/lib/groonga/schema.rb +1 -1
- data/lib/groonga/statistic-measurer.rb +1 -1
- data/lib/groonga/sub-records.rb +1 -1
- data/lib/groonga/table.rb +1 -1
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +4 -4
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -4
- data/test/run-test.rb +1 -1
- data/test/test-accessor.rb +1 -1
- data/test/test-array.rb +1 -1
- data/test/test-column.rb +1 -1
- data/test/test-command-select.rb +1 -1
- data/test/test-context.rb +21 -16
- data/test/test-convert.rb +1 -1
- data/test/test-database-dumper.rb +1 -1
- data/test/test-database-inspector.rb +1 -1
- data/test/test-database.rb +38 -25
- data/test/test-double-array-trie.rb +1 -1
- data/test/test-encoding.rb +1 -1
- data/test/test-exception.rb +12 -7
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +1 -1
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-geo-point.rb +1 -1
- data/test/test-gqtp.rb +1 -1
- data/test/test-hash.rb +1 -1
- data/test/test-index-column.rb +1 -1
- data/test/test-index-cursor.rb +1 -1
- data/test/test-lock-timeout.rb +1 -1
- data/test/test-logger.rb +1 -1
- data/test/test-memory-pool.rb +1 -1
- data/test/test-normalizer.rb +1 -1
- data/test/test-pagination.rb +1 -1
- data/test/test-patricia-trie.rb +1 -1
- data/test/test-plugin.rb +1 -1
- data/test/test-procedure.rb +9 -2
- data/test/test-record.rb +1 -1
- data/test/test-remote.rb +1 -1
- data/test/test-schema-create-table.rb +1 -1
- data/test/test-schema-dumper.rb +1 -1
- data/test/test-schema-type.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-snippet.rb +1 -1
- data/test/test-statistic-measurer.rb +1 -1
- data/test/test-sub-records.rb +1 -1
- data/test/test-table-dumper.rb +1 -1
- data/test/test-table-key-support.rb +1 -1
- data/test/test-table-offset-and-limit.rb +1 -1
- data/test/test-table-select-mecab.rb +1 -1
- data/test/test-table-select-normalize.rb +1 -1
- data/test/test-table-select-weight.rb +1 -1
- data/test/test-table-select.rb +1 -1
- data/test/test-table-traverse.rb +1 -1
- data/test/test-table.rb +1 -1
- data/test/test-type.rb +1 -1
- data/test/test-variable-size-column.rb +136 -67
- data/test/test-variable.rb +1 -1
- data/test/test-vector-column.rb +1 -1
- data/test/test-version.rb +1 -1
- 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/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +38 -5
- data/vendor/local/include/groonga/groonga/plugin.h +11 -83
- data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack/fbuffer.h +47 -0
- data/vendor/local/include/msgpack/fbuffer.hpp +56 -0
- data/vendor/local/include/msgpack/object.hpp +12 -3
- data/vendor/local/include/msgpack/pack.h +7 -3
- data/vendor/local/include/msgpack/pack.hpp +26 -7
- data/vendor/local/include/msgpack/pack_template.h +34 -7
- data/vendor/local/include/msgpack/sbuffer.h +3 -2
- data/vendor/local/include/msgpack/sbuffer.hpp +1 -1
- data/vendor/local/include/msgpack/sysdep.h +27 -14
- data/vendor/local/include/msgpack/type.hpp +2 -1
- data/vendor/local/include/msgpack/type/define.hpp +747 -561
- data/vendor/local/include/msgpack/type/float.hpp +24 -4
- data/vendor/local/include/msgpack/type/int.hpp +78 -13
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +31 -10
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +30 -10
- data/vendor/local/include/msgpack/unpack.h +9 -9
- data/vendor/local/include/msgpack/unpack_define.h +16 -14
- data/vendor/local/include/msgpack/unpack_template.h +19 -8
- data/vendor/local/include/msgpack/version.h +1 -1
- data/vendor/local/include/msgpack/vrefbuffer.h +10 -9
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zbuffer.h +3 -2
- data/vendor/local/include/msgpack/zbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zone.h +5 -4
- data/vendor/local/include/msgpack/zone.hpp +10 -1
- 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 +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 +1 -1
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- 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/lib/pkgconfig/msgpack.pc +10 -0
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -15
- 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 +4 -4
- 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 +5 -5
- 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 +149 -1194
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/index.html +56 -56
- data/vendor/local/share/doc/groonga/en/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -50
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +59 -35
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +40 -44
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news.html +320 -1367
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +160 -0
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +804 -0
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +727 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +201 -213
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +174 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +311 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +28 -29
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +57 -56
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +71 -69
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -15
- 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 +4 -4
- 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 +5 -5
- 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 +149 -1194
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/index.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -50
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +62 -36
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +354 -1643
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +950 -0
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +831 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +42 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +195 -207
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +172 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +294 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +266 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +39 -38
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +68 -64
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +2 -2
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +2 -2
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +4 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +11 -0
- data/vendor/local/share/groonga/html/admin/index.html +75 -75
- data/vendor/local/share/groonga/html/admin/index.ja.html +301 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.ja.js +1372 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +28 -28
- data/vendor/local/share/license/groonga/README.md +49 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1934 -1247
- data/vendor/local/share/man/man1/groonga.1 +2008 -1240
- metadata +111 -83
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js +0 -16
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js +0 -406
- data/vendor/local/share/license/groonga/AUTHORS +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZjAwMDI3ZjBlN2IxYzg0ZTgwMmNmNDU0ZmZjMmYyZjZjMDRjZDYzNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTNjNjBhYTNmYmI1OWQ0MmIzNWEzMGEwY2RjZmIyOGY0MTU3ODA2Nw==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDMyYzE2NzkzOGQ0ZDZiMjY3ZjY3NmQwZWY5Y2Y4MTFlMDU1MjhkY2YyYjEw
|
10
|
+
MmVhYTJkNjBhNmU0ODE0YzJlOGViOTQ0MmZiNmFiZjg3NTk3NWIzZTcyNTY2
|
11
|
+
MmI5Y2JjMjgwYjUxN2I0YjY1ZmY0YmQ2OTAwNjJkYWJiYWE3ZmI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZGZhOWU5OTI3MjA2Y2EzNzI2MTFiOTA1MTM5MmVlOWJlYTI1Nzk2MmMwYmE3
|
14
|
+
ODlhNGM5YmIwOWU2YzJlYzQ5ODY2ODY4ZmFkMDkxNzVjNjBlN2E3ZmY1NjNl
|
15
|
+
YjIzNTJjNjgzZWQ2ODY5MTY3Y2M3YjdlODM3YzJmOWQ4MWVkMDY=
|
data/Gemfile
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
source "https://rubygems.org/"
|
19
19
|
|
data/README.textile
CHANGED
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
require "find"
|
19
19
|
require "fileutils"
|
@@ -156,4 +156,11 @@ namespace :test do
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
+
desc "Remove Groonga binary directory"
|
160
|
+
namespace :clean do
|
161
|
+
task :groonga do
|
162
|
+
rm_rf binary_dir
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
159
166
|
task :default => :test
|
data/bin/grndump
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "ostruct"
|
20
20
|
require "optparse"
|
data/bin/grntest-log-analyze
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "ostruct"
|
20
20
|
require "optparse"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "ostruct"
|
20
20
|
require "optparse"
|
data/bin/groonga-index-dump
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "ostruct"
|
20
20
|
require "optparse"
|
data/doc/text/news.textile
CHANGED
@@ -1,5 +1,33 @@
|
|
1
1
|
h1. NEWS
|
2
2
|
|
3
|
+
h2(#4-0-4). 4.0.4: 2014-08-29 (planned)
|
4
|
+
|
5
|
+
h3. Improvements
|
6
|
+
|
7
|
+
* Supported Groonga 4.0.4. Groonga 4.0.3 or older are not supported.
|
8
|
+
* Added {Groonga::ProcedureType} that has constants as GRN_PROC_XXX.
|
9
|
+
* Added {Groonga::Procedure#type} as grn_proc_get_type().
|
10
|
+
<pre>
|
11
|
+
procedure = Groonga["TokenBigram"]
|
12
|
+
p procedure.type == Groonga::ProcedureType::TOKENIZER #=> true
|
13
|
+
</pre>
|
14
|
+
* Avoided a crash when {Groonga::Record#inspct} is called on exit.
|
15
|
+
[GitHub#18] [Reported by Ippei Obayashi]
|
16
|
+
* Updated Free Software Foundation address. [Masafumi Yokoyama]
|
17
|
+
* Supported reference weight vector. It requires Groonga 4.0.4 or later.
|
18
|
+
* Updated homepage in gemspec to use ranguba.org. [Masafumi Yokoyama]
|
19
|
+
* Reduce memory usage without GC.
|
20
|
+
|
21
|
+
h3. Fixes
|
22
|
+
|
23
|
+
* Fixed a GC related crash when GC is run while {Groonga::Table#group}.
|
24
|
+
|
25
|
+
h3. Thanks
|
26
|
+
|
27
|
+
* Ippei Obayashi
|
28
|
+
* uu59
|
29
|
+
* cosmo0920
|
30
|
+
|
3
31
|
h2(#4-0-3). 4.0.3: 2014-06-04
|
4
32
|
|
5
33
|
h3. Fixes
|
data/ext/groonga/extconf.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
require "English"
|
19
19
|
require "pathname"
|
@@ -231,7 +231,7 @@ def build_groonga(major, minor, micro)
|
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
234
|
-
|
234
|
+
def install_local_groonga(package_name, major, minor, micro)
|
235
235
|
unless have_local_groonga?(package_name, major, minor, micro)
|
236
236
|
required_version = [major, minor, micro]
|
237
237
|
if (required_version <=> LatestGroongaVersion::VERSION) < 0
|
@@ -247,6 +247,16 @@ unless PKGConfig.have_package(package_name, major, minor, micro)
|
|
247
247
|
add_rpath_for_local_groonga
|
248
248
|
end
|
249
249
|
|
250
|
+
if win32?
|
251
|
+
unless have_local_groonga?(package_name, major, minor, micro)
|
252
|
+
install_local_groonga(package_name, major, minor, micro)
|
253
|
+
end
|
254
|
+
else
|
255
|
+
unless PKGConfig.have_package(package_name, major, minor, micro)
|
256
|
+
install_local_groonga(package_name, major, minor, micro)
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
250
260
|
real_version = PKGConfig.modversion(package_name)
|
251
261
|
real_major, real_minor, real_micro = real_version.split(/\./)
|
252
262
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -66,6 +66,7 @@ void
|
|
66
66
|
rb_grn_accessor_finalizer (grn_ctx *context, grn_obj *grn_object,
|
67
67
|
RbGrnAccessor *rb_accessor)
|
68
68
|
{
|
69
|
+
rb_grn_context_unregister_floating_object(RB_GRN_OBJECT(rb_accessor));
|
69
70
|
rb_grn_named_object_finalizer(context, grn_object,
|
70
71
|
RB_GRN_NAMED_OBJECT(rb_accessor));
|
71
72
|
if (context && rb_accessor->value)
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
data/ext/groonga/rb-grn-array.c
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
data/ext/groonga/rb-grn-column.c
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
You should have received a copy of the GNU Lesser General Public
|
16
16
|
License along with this library; if not, write to the Free Software
|
17
|
-
Foundation, Inc.,
|
17
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
*/
|
19
19
|
|
20
20
|
#include "rb-grn.h"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2010-
|
3
|
+
Copyright (C) 2010-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
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -79,6 +79,8 @@ rb_grn_context_register_floating_object (RbGrnObject *rb_grn_object)
|
|
79
79
|
(const void *)(&rb_grn_object), sizeof(RbGrnObject *),
|
80
80
|
NULL, NULL);
|
81
81
|
rb_grn_object->floating = GRN_TRUE;
|
82
|
+
|
83
|
+
rb_grn_context_object_created(rb_grn_context->self, rb_grn_object->self);
|
82
84
|
}
|
83
85
|
|
84
86
|
void
|
@@ -117,9 +119,9 @@ rb_grn_context_close_floating_objects (RbGrnContext *rb_grn_context)
|
|
117
119
|
|
118
120
|
rb_grn_context->floating_objects = NULL;
|
119
121
|
GRN_HASH_EACH(context, floating_objects, id, &floating_object, NULL, NULL, {
|
120
|
-
|
121
|
-
|
122
|
-
|
122
|
+
(*floating_object)->floating = GRN_FALSE;
|
123
|
+
rb_grn_object_close_raw(*floating_object);
|
124
|
+
});
|
123
125
|
grn_hash_close(context, floating_objects);
|
124
126
|
}
|
125
127
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
You should have received a copy of the GNU Lesser General Public
|
16
16
|
License along with this library; if not, write to the Free Software
|
17
|
-
Foundation, Inc.,
|
17
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
*/
|
19
19
|
|
20
20
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
data/ext/groonga/rb-grn-hash.c
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
You should have received a copy of the GNU Lesser General Public
|
16
16
|
License along with this library; if not, write to the Free Software
|
17
|
-
Foundation, Inc.,
|
17
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
*/
|
19
19
|
|
20
20
|
#include "rb-grn.h"
|
data/ext/groonga/rb-grn-logger.c
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
data/ext/groonga/rb-grn-object.c
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
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
You should have received a copy of the GNU Lesser General Public
|
15
15
|
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc.,
|
16
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
*/
|
18
18
|
|
19
19
|
/*
|
@@ -52,7 +52,7 @@ rb_grn_object_from_ruby_object (VALUE object, grn_ctx **context)
|
|
52
52
|
rb_grn_context_check(*context, object);
|
53
53
|
if (!grn_object)
|
54
54
|
rb_raise(rb_eArgError,
|
55
|
-
"unregistered
|
55
|
+
"unregistered Groonga object: name: <%s>",
|
56
56
|
rb_grn_inspect(object));
|
57
57
|
return grn_object;
|
58
58
|
} else if (RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cInteger))) {
|
@@ -60,24 +60,24 @@ rb_grn_object_from_ruby_object (VALUE object, grn_ctx **context)
|
|
60
60
|
rb_grn_context_check(*context, object);
|
61
61
|
if (!grn_object)
|
62
62
|
rb_raise(rb_eArgError,
|
63
|
-
"unregistered
|
63
|
+
"unregistered Groonga object: ID: <%s>",
|
64
64
|
rb_grn_inspect(object));
|
65
65
|
return grn_object;
|
66
66
|
}
|
67
67
|
}
|
68
68
|
|
69
69
|
if (!RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cGrnObject))) {
|
70
|
-
rb_raise(rb_eTypeError, "not a
|
70
|
+
rb_raise(rb_eTypeError, "not a Groonga object: <%s>",
|
71
71
|
rb_grn_inspect(object));
|
72
72
|
}
|
73
73
|
|
74
74
|
Data_Get_Struct(object, RbGrnObject, rb_grn_object);
|
75
75
|
if (!rb_grn_object)
|
76
|
-
rb_raise(rb_eGrnError, "
|
76
|
+
rb_raise(rb_eGrnError, "Groonga object is NULL");
|
77
77
|
|
78
78
|
if (!rb_grn_object->object) {
|
79
79
|
rb_raise(rb_eGrnClosed,
|
80
|
-
"can't access already closed
|
80
|
+
"can't access already closed Groonga object: %s",
|
81
81
|
rb_grn_inspect(CLASS_OF(rb_grn_object->self)));
|
82
82
|
}
|
83
83
|
|
@@ -87,6 +87,19 @@ rb_grn_object_from_ruby_object (VALUE object, grn_ctx **context)
|
|
87
87
|
return rb_grn_object->object;
|
88
88
|
}
|
89
89
|
|
90
|
+
static void
|
91
|
+
rb_grn_object_unbind (RbGrnObject *rb_grn_object)
|
92
|
+
{
|
93
|
+
debug("unbind: %p:%p:%p %s(%#x)\n",
|
94
|
+
rb_grn_object->context, rb_grn_object->object, rb_grn_object,
|
95
|
+
rb_grn_inspect_type(rb_grn_object->object->header.type),
|
96
|
+
rb_grn_object->object->header.type);
|
97
|
+
|
98
|
+
rb_grn_object->rb_grn_context = NULL;
|
99
|
+
rb_grn_object->context = NULL;
|
100
|
+
rb_grn_object->object = NULL;
|
101
|
+
}
|
102
|
+
|
90
103
|
static void
|
91
104
|
rb_grn_object_run_finalizer (grn_ctx *context, grn_obj *grn_object,
|
92
105
|
RbGrnObject *rb_grn_object)
|
@@ -109,61 +122,59 @@ rb_grn_object_run_finalizer (grn_ctx *context, grn_obj *grn_object,
|
|
109
122
|
rb_grn_object->have_finalizer = GRN_FALSE;
|
110
123
|
|
111
124
|
switch (grn_object->header.type) {
|
112
|
-
|
125
|
+
case GRN_DB:
|
113
126
|
rb_grn_database_finalizer(context, rb_grn_context,
|
114
127
|
grn_object, rb_grn_object);
|
115
128
|
break;
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
129
|
+
case GRN_TYPE:
|
130
|
+
case GRN_PROC:
|
131
|
+
case GRN_CURSOR_TABLE_HASH_KEY:
|
132
|
+
case GRN_CURSOR_TABLE_PAT_KEY:
|
133
|
+
case GRN_CURSOR_TABLE_DAT_KEY:
|
134
|
+
case GRN_CURSOR_TABLE_NO_KEY:
|
122
135
|
break;
|
123
|
-
|
124
|
-
|
125
|
-
|
136
|
+
case GRN_TABLE_HASH_KEY:
|
137
|
+
case GRN_TABLE_PAT_KEY:
|
138
|
+
case GRN_TABLE_DAT_KEY:
|
126
139
|
rb_grn_table_key_support_finalizer(context, grn_object,
|
127
140
|
RB_GRN_TABLE_KEY_SUPPORT(rb_grn_object));
|
128
141
|
break;
|
129
|
-
|
142
|
+
case GRN_TABLE_NO_KEY:
|
130
143
|
rb_grn_table_finalizer(context, grn_object,
|
131
144
|
RB_GRN_TABLE(rb_grn_object));
|
132
145
|
break;
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
146
|
+
case GRN_CURSOR_COLUMN_INDEX:
|
147
|
+
break;
|
148
|
+
case GRN_COLUMN_FIX_SIZE:
|
149
|
+
case GRN_COLUMN_VAR_SIZE:
|
137
150
|
rb_grn_column_finalizer(context, grn_object,
|
138
151
|
RB_GRN_COLUMN(rb_grn_object));
|
139
152
|
break;
|
140
|
-
|
153
|
+
case GRN_COLUMN_INDEX:
|
141
154
|
rb_grn_index_column_finalizer(context, grn_object,
|
142
155
|
RB_GRN_INDEX_COLUMN(rb_grn_object));
|
143
156
|
break;
|
144
|
-
|
157
|
+
case GRN_ACCESSOR:
|
145
158
|
rb_grn_accessor_finalizer(context, grn_object,
|
146
159
|
RB_GRN_ACCESSOR(rb_grn_object));
|
147
160
|
break;
|
148
|
-
|
161
|
+
case GRN_EXPR:
|
149
162
|
rb_grn_expression_finalizer(context, grn_object,
|
150
163
|
RB_GRN_EXPRESSION(rb_grn_object));
|
151
164
|
break;
|
152
|
-
|
165
|
+
case GRN_SNIP:
|
153
166
|
rb_grn_snippet_finalizer(context, grn_object,
|
154
167
|
RB_GRN_SNIPPET(rb_grn_object));
|
155
168
|
break;
|
156
|
-
|
169
|
+
default:
|
157
170
|
rb_raise(rb_eTypeError,
|
158
|
-
"unsupported
|
171
|
+
"unsupported Groonga object type for finalizer: %s(%#x)",
|
159
172
|
rb_grn_inspect_type(grn_object->header.type),
|
160
173
|
grn_object->header.type);
|
161
174
|
break;
|
162
175
|
}
|
163
176
|
|
164
|
-
rb_grn_object
|
165
|
-
rb_grn_object->context = NULL;
|
166
|
-
rb_grn_object->object = NULL;
|
177
|
+
rb_grn_object_unbind(rb_grn_object);
|
167
178
|
}
|
168
179
|
|
169
180
|
static grn_obj *
|
@@ -213,6 +224,8 @@ rb_grn_object_free (RbGrnObject *rb_grn_object)
|
|
213
224
|
} else {
|
214
225
|
rb_grn_object_run_finalizer(context, grn_object, rb_grn_object);
|
215
226
|
}
|
227
|
+
} else {
|
228
|
+
rb_grn_object_unbind(rb_grn_object);
|
216
229
|
}
|
217
230
|
if (rb_grn_object->need_close) {
|
218
231
|
grn_obj_unlink(context, grn_object);
|
@@ -280,7 +293,7 @@ rb_grn_object_to_ruby_class (grn_obj *object)
|
|
280
293
|
break;
|
281
294
|
default:
|
282
295
|
rb_raise(rb_eTypeError,
|
283
|
-
"unsupported
|
296
|
+
"unsupported Groonga object type for class detection: 0x%x",
|
284
297
|
object->header.type);
|
285
298
|
break;
|
286
299
|
}
|
@@ -314,11 +327,14 @@ rb_grn_object_to_ruby_object (VALUE klass, grn_ctx *context, grn_obj *object,
|
|
314
327
|
rb_grn_object_assign(klass, rb_object, rb_context, context, object);
|
315
328
|
|
316
329
|
switch (object->header.type) {
|
330
|
+
case GRN_ACCESSOR:
|
331
|
+
case GRN_SNIP:
|
317
332
|
case GRN_TABLE_NO_KEY:
|
318
333
|
case GRN_TABLE_HASH_KEY:
|
319
334
|
case GRN_TABLE_PAT_KEY:
|
320
335
|
case GRN_TABLE_DAT_KEY:
|
321
336
|
rb_grn_context_object_created(rb_context, rb_object);
|
337
|
+
break;
|
322
338
|
default:
|
323
339
|
break;
|
324
340
|
}
|
@@ -368,14 +384,12 @@ rb_grn_object_bind_common (VALUE klass, VALUE self, VALUE rb_context,
|
|
368
384
|
context, object, rb_grn_object,
|
369
385
|
rb_grn_inspect_type(object->header.type),
|
370
386
|
object->header.type);
|
371
|
-
|
372
|
-
rb_grn_object->have_finalizer = GRN_FALSE;
|
387
|
+
rb_grn_object->have_finalizer = GRN_TRUE;
|
373
388
|
}
|
374
389
|
|
375
390
|
switch (object->header.type) {
|
376
391
|
case GRN_PROC:
|
377
392
|
case GRN_TYPE:
|
378
|
-
case GRN_ACCESSOR: /* TODO: We want to close GRN_ACCESSOR. */
|
379
393
|
rb_grn_object->need_close = GRN_FALSE;
|
380
394
|
break;
|
381
395
|
default:
|
@@ -475,7 +489,7 @@ rb_grn_object_assign (VALUE klass, VALUE self, VALUE rb_context,
|
|
475
489
|
context, object);
|
476
490
|
} else {
|
477
491
|
rb_raise(rb_eTypeError,
|
478
|
-
"unsupported
|
492
|
+
"unsupported Groonga object type for assignment: %s(%#x)",
|
479
493
|
rb_grn_inspect_type(object->header.type),
|
480
494
|
object->header.type);
|
481
495
|
}
|
@@ -557,6 +571,24 @@ rb_grn_object_deconstruct (RbGrnObject *rb_grn_object,
|
|
557
571
|
*range = rb_grn_object->range;
|
558
572
|
}
|
559
573
|
|
574
|
+
void
|
575
|
+
rb_grn_object_close_raw (RbGrnObject *rb_grn_object)
|
576
|
+
{
|
577
|
+
grn_obj *object;
|
578
|
+
grn_ctx *context;
|
579
|
+
|
580
|
+
rb_grn_object_deconstruct(rb_grn_object, &object, &context,
|
581
|
+
NULL, NULL, NULL, NULL);
|
582
|
+
if (object && context) {
|
583
|
+
if (rb_grn_object->have_finalizer) {
|
584
|
+
rb_grn_object_run_finalizer(context, object, rb_grn_object);
|
585
|
+
} else {
|
586
|
+
rb_grn_object_unbind(rb_grn_object);
|
587
|
+
}
|
588
|
+
grn_obj_close(context, object);
|
589
|
+
}
|
590
|
+
}
|
591
|
+
|
560
592
|
/*
|
561
593
|
* _object_ が使用しているリソースを開放する。これ以降 _object_ を
|
562
594
|
* 使うことはできない。
|
@@ -567,16 +599,9 @@ VALUE
|
|
567
599
|
rb_grn_object_close (VALUE self)
|
568
600
|
{
|
569
601
|
RbGrnObject *rb_grn_object;
|
570
|
-
grn_obj *object;
|
571
|
-
grn_ctx *context;
|
572
602
|
|
573
603
|
rb_grn_object = SELF(self);
|
574
|
-
|
575
|
-
NULL, NULL, NULL, NULL);
|
576
|
-
if (object && context) {
|
577
|
-
rb_grn_object_run_finalizer(context, object, rb_grn_object);
|
578
|
-
grn_obj_close(context, object);
|
579
|
-
}
|
604
|
+
rb_grn_object_close_raw(rb_grn_object);
|
580
605
|
|
581
606
|
return Qnil;
|
582
607
|
}
|
@@ -599,6 +624,7 @@ rb_grn_object_unlink (VALUE self)
|
|
599
624
|
if (object && context) {
|
600
625
|
if (!(rb_grn_object->object->header.flags & GRN_OBJ_PERSISTENT)) {
|
601
626
|
rb_grn_object_run_finalizer(context, object, rb_grn_object);
|
627
|
+
rb_grn_object_unbind(rb_grn_object);
|
602
628
|
}
|
603
629
|
grn_obj_unlink(context, object);
|
604
630
|
}
|
@@ -1174,7 +1200,7 @@ rb_grn_object_get_range (VALUE self)
|
|
1174
1200
|
}
|
1175
1201
|
|
1176
1202
|
/*
|
1177
|
-
* _object_ と _other_ が同じ
|
1203
|
+
* _object_ と _other_ が同じGroongaのオブジェクトなら +true+ を返
|
1178
1204
|
* し、そうでなければ +false+ を返す。
|
1179
1205
|
*
|
1180
1206
|
* @overload ==(other)
|