rroonga 4.0.3-x64-mingw32 → 4.0.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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/column.rb +1 -1
 - data/lib/groonga/context/command-executor.rb +1 -1
 - data/lib/groonga/context.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/lib/groonga.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_seh-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/plugin.h +11 -83
 - data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
 - data/vendor/local/include/groonga/groonga.h +38 -5
 - 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/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/type.hpp +2 -1
 - 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/include/msgpack.h +1 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/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/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/news.txt +149 -1194
 - 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/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/development.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/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution.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/development.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/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/install.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
 - 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/news.html +320 -1367
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +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/api.html +17 -19
 - 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/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/command.html +33 -35
 - 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/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/executables.html +17 -19
 - 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/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/grn_expr.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/tsv.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/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/reference.html +41 -41
 - 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/gqtp.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/http.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server.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/spec.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/suggest.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/troubleshooting.html +17 -19
 - 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/en/html/tutorial.html +32 -34
 - 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/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/news.txt +149 -1194
 - 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/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/development.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/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution.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/development.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/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/install.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
 - 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/news.html +354 -1643
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +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/api.html +17 -19
 - 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/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/command.html +33 -35
 - 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/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/executables.html +17 -19
 - 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/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/grn_expr.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/tsv.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/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/reference.html +41 -41
 - 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/gqtp.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/http.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server.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/spec.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/suggest.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/troubleshooting.html +17 -19
 - 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/doc/groonga/ja/html/tutorial.html +29 -31
 - 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 +112 -84
 - data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
 - 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
 
    
        data/test/test-table-select.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 
     | 
    
         
             
            class TableSelectTest < Test::Unit::TestCase
         
     | 
| 
       19 
19 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
    
        data/test/test-table-traverse.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class TableTraverseTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
    
        data/test/test-table.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class TableTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
    
        data/test/test-type.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class TypeTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
| 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class VariableSizeColumnTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
| 
         @@ -238,82 +238,151 @@ class VariableSizeColumnTest < Test::Unit::TestCase 
     | 
|
| 
       238 
238 
     | 
    
         
             
                end
         
     | 
| 
       239 
239 
     | 
    
         | 
| 
       240 
240 
     | 
    
         
             
                class WeightTest < self
         
     | 
| 
       241 
     | 
    
         
            -
                   
     | 
| 
       242 
     | 
    
         
            -
                     
     | 
| 
       243 
     | 
    
         
            -
                      schema 
     | 
| 
       244 
     | 
    
         
            -
             
     | 
| 
       245 
     | 
    
         
            -
             
     | 
| 
       246 
     | 
    
         
            -
             
     | 
| 
       247 
     | 
    
         
            -
             
     | 
| 
       248 
     | 
    
         
            -
             
     | 
| 
      
 241 
     | 
    
         
            +
                  class TypeTest < self
         
     | 
| 
      
 242 
     | 
    
         
            +
                    def setup_schema
         
     | 
| 
      
 243 
     | 
    
         
            +
                      Groonga::Schema.define do |schema|
         
     | 
| 
      
 244 
     | 
    
         
            +
                        schema.create_table("Products",
         
     | 
| 
      
 245 
     | 
    
         
            +
                                            :type => :patricia_trie,
         
     | 
| 
      
 246 
     | 
    
         
            +
                                            :key_type => :short_text) do |table|
         
     | 
| 
      
 247 
     | 
    
         
            +
                          table.short_text("tags",
         
     | 
| 
      
 248 
     | 
    
         
            +
                                           :type => :vector,
         
     | 
| 
      
 249 
     | 
    
         
            +
                                           :with_weight => true)
         
     | 
| 
      
 250 
     | 
    
         
            +
                        end
         
     | 
| 
       249 
251 
     | 
    
         
             
                      end
         
     | 
| 
      
 252 
     | 
    
         
            +
             
     | 
| 
      
 253 
     | 
    
         
            +
                      @products = Groonga["Products"]
         
     | 
| 
       250 
254 
     | 
    
         
             
                    end
         
     | 
| 
       251 
255 
     | 
    
         | 
| 
       252 
     | 
    
         
            -
                     
     | 
| 
       253 
     | 
    
         
            -
             
     | 
| 
      
 256 
     | 
    
         
            +
                    def test_string_key
         
     | 
| 
      
 257 
     | 
    
         
            +
                      groonga = @products.add("Groonga")
         
     | 
| 
      
 258 
     | 
    
         
            +
                      groonga.tags = [
         
     | 
| 
      
 259 
     | 
    
         
            +
                        {
         
     | 
| 
      
 260 
     | 
    
         
            +
                          "value"  => "groonga",
         
     | 
| 
      
 261 
     | 
    
         
            +
                          "weight" => 100,
         
     | 
| 
      
 262 
     | 
    
         
            +
                        },
         
     | 
| 
      
 263 
     | 
    
         
            +
                      ]
         
     | 
| 
      
 264 
     | 
    
         
            +
             
     | 
| 
      
 265 
     | 
    
         
            +
                      assert_equal([
         
     | 
| 
      
 266 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 267 
     | 
    
         
            +
                                       :value  => "groonga",
         
     | 
| 
      
 268 
     | 
    
         
            +
                                       :weight => 100,
         
     | 
| 
      
 269 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 270 
     | 
    
         
            +
                                   ],
         
     | 
| 
      
 271 
     | 
    
         
            +
                                   groonga.tags)
         
     | 
| 
      
 272 
     | 
    
         
            +
                    end
         
     | 
| 
       254 
273 
     | 
    
         | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
             
     | 
| 
       257 
     | 
    
         
            -
             
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
             
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
             
     | 
| 
       262 
     | 
    
         
            -
             
     | 
| 
      
 274 
     | 
    
         
            +
                    def test_array
         
     | 
| 
      
 275 
     | 
    
         
            +
                      groonga = @products.add("Groonga")
         
     | 
| 
      
 276 
     | 
    
         
            +
                      groonga.tags = [
         
     | 
| 
      
 277 
     | 
    
         
            +
                        {
         
     | 
| 
      
 278 
     | 
    
         
            +
                          :value  => "groonga",
         
     | 
| 
      
 279 
     | 
    
         
            +
                          :weight => 100,
         
     | 
| 
      
 280 
     | 
    
         
            +
                        },
         
     | 
| 
      
 281 
     | 
    
         
            +
                        {
         
     | 
| 
      
 282 
     | 
    
         
            +
                          :value  => "full text search",
         
     | 
| 
      
 283 
     | 
    
         
            +
                          :weight => 1000,
         
     | 
| 
      
 284 
     | 
    
         
            +
                        },
         
     | 
| 
      
 285 
     | 
    
         
            +
                      ]
         
     | 
| 
      
 286 
     | 
    
         
            +
             
     | 
| 
      
 287 
     | 
    
         
            +
                      assert_equal([
         
     | 
| 
      
 288 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 289 
     | 
    
         
            +
                                       :value  => "groonga",
         
     | 
| 
      
 290 
     | 
    
         
            +
                                       :weight => 100,
         
     | 
| 
      
 291 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 292 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 293 
     | 
    
         
            +
                                       :value  => "full text search",
         
     | 
| 
      
 294 
     | 
    
         
            +
                                       :weight => 1000,
         
     | 
| 
      
 295 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 296 
     | 
    
         
            +
                                   ],
         
     | 
| 
      
 297 
     | 
    
         
            +
                                   groonga.tags)
         
     | 
| 
      
 298 
     | 
    
         
            +
                    end
         
     | 
| 
       263 
299 
     | 
    
         | 
| 
       264 
     | 
    
         
            -
                     
     | 
| 
       265 
     | 
    
         
            -
             
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
     | 
    
         
            -
             
     | 
| 
       269 
     | 
    
         
            -
             
     | 
| 
       270 
     | 
    
         
            -
             
     | 
| 
      
 300 
     | 
    
         
            +
                    def test_hash
         
     | 
| 
      
 301 
     | 
    
         
            +
                      groonga = @products.add("Groonga")
         
     | 
| 
      
 302 
     | 
    
         
            +
                      groonga.tags = {
         
     | 
| 
      
 303 
     | 
    
         
            +
                        "groonga" => 100,
         
     | 
| 
      
 304 
     | 
    
         
            +
                        "full text search" => 1000,
         
     | 
| 
      
 305 
     | 
    
         
            +
                      }
         
     | 
| 
      
 306 
     | 
    
         
            +
             
     | 
| 
      
 307 
     | 
    
         
            +
                      assert_equal([
         
     | 
| 
      
 308 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 309 
     | 
    
         
            +
                                       :value  => "groonga",
         
     | 
| 
      
 310 
     | 
    
         
            +
                                       :weight => 100,
         
     | 
| 
      
 311 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 312 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 313 
     | 
    
         
            +
                                       :value  => "full text search",
         
     | 
| 
      
 314 
     | 
    
         
            +
                                       :weight => 1000,
         
     | 
| 
      
 315 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 316 
     | 
    
         
            +
                                   ],
         
     | 
| 
      
 317 
     | 
    
         
            +
                                   groonga.tags)
         
     | 
| 
      
 318 
     | 
    
         
            +
                    end
         
     | 
| 
       271 
319 
     | 
    
         
             
                  end
         
     | 
| 
       272 
320 
     | 
    
         | 
| 
       273 
     | 
    
         
            -
                   
     | 
| 
       274 
     | 
    
         
            -
                     
     | 
| 
       275 
     | 
    
         
            -
             
     | 
| 
       276 
     | 
    
         
            -
             
     | 
| 
       277 
     | 
    
         
            -
             
     | 
| 
       278 
     | 
    
         
            -
             
     | 
| 
       279 
     | 
    
         
            -
             
     | 
| 
       280 
     | 
    
         
            -
             
     | 
| 
       281 
     | 
    
         
            -
             
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
             
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
      
 321 
     | 
    
         
            +
                  class ReferenceTest < self
         
     | 
| 
      
 322 
     | 
    
         
            +
                    def setup_schema
         
     | 
| 
      
 323 
     | 
    
         
            +
                      Groonga::Schema.define do |schema|
         
     | 
| 
      
 324 
     | 
    
         
            +
                        schema.create_table("Tags",
         
     | 
| 
      
 325 
     | 
    
         
            +
                                            :type => :patricia_trie,
         
     | 
| 
      
 326 
     | 
    
         
            +
                                            :key_type => :short_text) do |table|
         
     | 
| 
      
 327 
     | 
    
         
            +
                        end
         
     | 
| 
      
 328 
     | 
    
         
            +
                        schema.create_table("Products",
         
     | 
| 
      
 329 
     | 
    
         
            +
                                            :type => :patricia_trie,
         
     | 
| 
      
 330 
     | 
    
         
            +
                                            :key_type => :short_text) do |table|
         
     | 
| 
      
 331 
     | 
    
         
            +
                          table.reference("tags", "Tags",
         
     | 
| 
      
 332 
     | 
    
         
            +
                                          :type => :vector,
         
     | 
| 
      
 333 
     | 
    
         
            +
                                          :with_weight => true)
         
     | 
| 
      
 334 
     | 
    
         
            +
                        end
         
     | 
| 
      
 335 
     | 
    
         
            +
                      end
         
     | 
| 
       285 
336 
     | 
    
         | 
| 
       286 
     | 
    
         
            -
             
     | 
| 
       287 
     | 
    
         
            -
             
     | 
| 
       288 
     | 
    
         
            -
             
     | 
| 
       289 
     | 
    
         
            -
                                     :weight => 100,
         
     | 
| 
       290 
     | 
    
         
            -
                                   },
         
     | 
| 
       291 
     | 
    
         
            -
                                   {
         
     | 
| 
       292 
     | 
    
         
            -
                                     :value  => "full text search",
         
     | 
| 
       293 
     | 
    
         
            -
                                     :weight => 1000,
         
     | 
| 
       294 
     | 
    
         
            -
                                   },
         
     | 
| 
       295 
     | 
    
         
            -
                                 ],
         
     | 
| 
       296 
     | 
    
         
            -
                                 groonga.tags)
         
     | 
| 
       297 
     | 
    
         
            -
                  end
         
     | 
| 
      
 337 
     | 
    
         
            +
                      @products = Groonga["Products"]
         
     | 
| 
      
 338 
     | 
    
         
            +
                      @tags = Groonga["Tags"]
         
     | 
| 
      
 339 
     | 
    
         
            +
                    end
         
     | 
| 
       298 
340 
     | 
    
         | 
| 
       299 
     | 
    
         
            -
             
     | 
| 
       300 
     | 
    
         
            -
             
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
             
     | 
| 
       304 
     | 
    
         
            -
             
     | 
| 
      
 341 
     | 
    
         
            +
                    def test_array
         
     | 
| 
      
 342 
     | 
    
         
            +
                      groonga = @products.add("Groonga")
         
     | 
| 
      
 343 
     | 
    
         
            +
                      groonga.tags = [
         
     | 
| 
      
 344 
     | 
    
         
            +
                        {
         
     | 
| 
      
 345 
     | 
    
         
            +
                          :value  => @tags.add("groonga"),
         
     | 
| 
      
 346 
     | 
    
         
            +
                          :weight => 100,
         
     | 
| 
      
 347 
     | 
    
         
            +
                        },
         
     | 
| 
      
 348 
     | 
    
         
            +
                        {
         
     | 
| 
      
 349 
     | 
    
         
            +
                          :value  => @tags.add("full text search"),
         
     | 
| 
      
 350 
     | 
    
         
            +
                          :weight => 1000,
         
     | 
| 
      
 351 
     | 
    
         
            +
                        },
         
     | 
| 
      
 352 
     | 
    
         
            +
                      ]
         
     | 
| 
      
 353 
     | 
    
         
            +
             
     | 
| 
      
 354 
     | 
    
         
            +
                      assert_equal([
         
     | 
| 
      
 355 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 356 
     | 
    
         
            +
                                       :value  => @tags["groonga"],
         
     | 
| 
      
 357 
     | 
    
         
            +
                                       :weight => 100,
         
     | 
| 
      
 358 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 359 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 360 
     | 
    
         
            +
                                       :value  => @tags["full text search"],
         
     | 
| 
      
 361 
     | 
    
         
            +
                                       :weight => 1000,
         
     | 
| 
      
 362 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 363 
     | 
    
         
            +
                                   ],
         
     | 
| 
      
 364 
     | 
    
         
            +
                                   groonga.tags)
         
     | 
| 
      
 365 
     | 
    
         
            +
                    end
         
     | 
| 
       305 
366 
     | 
    
         | 
| 
       306 
     | 
    
         
            -
                     
     | 
| 
       307 
     | 
    
         
            -
             
     | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
     | 
    
         
            -
             
     | 
| 
       311 
     | 
    
         
            -
             
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
       313 
     | 
    
         
            -
             
     | 
| 
       314 
     | 
    
         
            -
             
     | 
| 
       315 
     | 
    
         
            -
             
     | 
| 
       316 
     | 
    
         
            -
             
     | 
| 
      
 367 
     | 
    
         
            +
                    def test_hash
         
     | 
| 
      
 368 
     | 
    
         
            +
                      groonga = @products.add("Groonga")
         
     | 
| 
      
 369 
     | 
    
         
            +
                      groonga.tags = {
         
     | 
| 
      
 370 
     | 
    
         
            +
                        @tags.add("groonga") => 100,
         
     | 
| 
      
 371 
     | 
    
         
            +
                        @tags.add("full text search") => 1000,
         
     | 
| 
      
 372 
     | 
    
         
            +
                      }
         
     | 
| 
      
 373 
     | 
    
         
            +
             
     | 
| 
      
 374 
     | 
    
         
            +
                      assert_equal([
         
     | 
| 
      
 375 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 376 
     | 
    
         
            +
                                       :value  => @tags["groonga"],
         
     | 
| 
      
 377 
     | 
    
         
            +
                                       :weight => 100,
         
     | 
| 
      
 378 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 379 
     | 
    
         
            +
                                     {
         
     | 
| 
      
 380 
     | 
    
         
            +
                                       :value  => @tags["full text search"],
         
     | 
| 
      
 381 
     | 
    
         
            +
                                       :weight => 1000,
         
     | 
| 
      
 382 
     | 
    
         
            +
                                     },
         
     | 
| 
      
 383 
     | 
    
         
            +
                                   ],
         
     | 
| 
      
 384 
     | 
    
         
            +
                                   groonga.tags)
         
     | 
| 
      
 385 
     | 
    
         
            +
                    end
         
     | 
| 
       317 
386 
     | 
    
         
             
                  end
         
     | 
| 
       318 
387 
     | 
    
         
             
                end
         
     | 
| 
       319 
388 
     | 
    
         
             
              end
         
     | 
    
        data/test/test-variable.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class VariableTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
    
        data/test/test-vector-column.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class VectorColumnTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              include GroongaTestUtils
         
     | 
    
        data/test/test-version.rb
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            #
         
     | 
| 
       12 
12 
     | 
    
         
             
            # You should have received a copy of the GNU Lesser General Public
         
     | 
| 
       13 
13 
     | 
    
         
             
            # License along with this library; if not, write to the Free Software
         
     | 
| 
       14 
     | 
    
         
            -
            # Foundation, Inc.,  
     | 
| 
      
 14 
     | 
    
         
            +
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            class VersionTest < Test::Unit::TestCase
         
     | 
| 
       17 
17 
     | 
    
         
             
              def test_build_version_format
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         
            File without changes
         
     | 
    
        data/vendor/local/bin/mecab.exe
    CHANGED
    
    | 
         Binary file 
     | 
| 
         @@ -51,34 +51,13 @@ GRN_API void *grn_plugin_realloc(grn_ctx *ctx, void *ptr, size_t size, 
     | 
|
| 
       51 
51 
     | 
    
         
             
            GRN_API void grn_plugin_free(grn_ctx *ctx, void *ptr, const char *file,
         
     | 
| 
       52 
52 
     | 
    
         
             
                                         int line, const char *func);
         
     | 
| 
       53 
53 
     | 
    
         | 
| 
       54 
     | 
    
         
            -
            /*
         
     | 
| 
       55 
     | 
    
         
            -
              GRN_PLUGIN_MALLOC() allocates `size' bytes and returns a pointer to the
         
     | 
| 
       56 
     | 
    
         
            -
              allocated memory space. Note that the memory space is associated with `ctx'.
         
     | 
| 
       57 
     | 
    
         
            -
             */
         
     | 
| 
       58 
54 
     | 
    
         
             
            #define GRN_PLUGIN_MALLOC(ctx, size) \
         
     | 
| 
       59 
55 
     | 
    
         
             
              grn_plugin_malloc((ctx), (size), __FILE__, __LINE__, __FUNCTION__)
         
     | 
| 
       60 
     | 
    
         
            -
            /*
         
     | 
| 
       61 
     | 
    
         
            -
              GRN_PLUGIN_REALLOC() resizes the memory space pointed to by `ptr' or
         
     | 
| 
       62 
     | 
    
         
            -
              allocates a new memory space of `size' bytes. GRN_PLUGIN_REALLOC() returns
         
     | 
| 
       63 
     | 
    
         
            -
              a pointer to the memory space. The contents is unchanged or copied from the
         
     | 
| 
       64 
     | 
    
         
            -
              old memory space to the new memory space.
         
     | 
| 
       65 
     | 
    
         
            -
             */
         
     | 
| 
       66 
56 
     | 
    
         
             
            #define GRN_PLUGIN_REALLOC(ctx, ptr, size) \
         
     | 
| 
       67 
57 
     | 
    
         
             
              grn_plugin_realloc((ctx), (ptr), (size), __FILE__, __LINE__, __FUNCTION__)
         
     | 
| 
       68 
     | 
    
         
            -
            /*
         
     | 
| 
       69 
     | 
    
         
            -
              GRN_PLUGIN_FREE() frees a memory space allocated by GRN_PLUGIN_MALLOC() or
         
     | 
| 
       70 
     | 
    
         
            -
              GRN_PLUGIN_REALLOC(). This means that `ptr' must be a pointer returned by
         
     | 
| 
       71 
     | 
    
         
            -
              GRN_PLUGIN_MALLOC() or GRN_PLUGIN_REALLOC().
         
     | 
| 
       72 
     | 
    
         
            -
             */
         
     | 
| 
       73 
58 
     | 
    
         
             
            #define GRN_PLUGIN_FREE(ctx, ptr) \
         
     | 
| 
       74 
59 
     | 
    
         
             
              grn_plugin_free((ctx), (ptr), __FILE__, __LINE__, __FUNCTION__)
         
     | 
| 
       75 
60 
     | 
    
         | 
| 
       76 
     | 
    
         
            -
            /*
         
     | 
| 
       77 
     | 
    
         
            -
              GRN_PLUGIN_LOG() reports a log of `level'. Its error message is generated
         
     | 
| 
       78 
     | 
    
         
            -
              from the varying number of arguments, in which the first one is the format
         
     | 
| 
       79 
     | 
    
         
            -
              string and the rest are its arguments. See grn_log_level in "groonga.h" for
         
     | 
| 
       80 
     | 
    
         
            -
              more details of `level'.
         
     | 
| 
       81 
     | 
    
         
            -
             */
         
     | 
| 
       82 
61 
     | 
    
         
             
            #define GRN_PLUGIN_LOG(ctx, level, ...) \
         
     | 
| 
       83 
62 
     | 
    
         
             
              GRN_LOG((ctx), (level), __VA_ARGS__)
         
     | 
| 
       84 
63 
     | 
    
         | 
| 
         @@ -110,27 +89,11 @@ GRN_API void grn_plugin_logtrace(grn_ctx *ctx, grn_log_level level); 
     | 
|
| 
       110 
89 
     | 
    
         
             
              grn_plugin_logtrace(ctx, level); \
         
     | 
| 
       111 
90 
     | 
    
         
             
            } while (0)
         
     | 
| 
       112 
91 
     | 
    
         | 
| 
       113 
     | 
    
         
            -
            /*
         
     | 
| 
       114 
     | 
    
         
            -
              GRN_PLUGIN_ERROR() reports an error of `error_code'. Its error message is
         
     | 
| 
       115 
     | 
    
         
            -
              generated from the varying number of arguments, in which the first one is the
         
     | 
| 
       116 
     | 
    
         
            -
              format string and the rest are its arguments. See grn_rc in "groonga.h" for
         
     | 
| 
       117 
     | 
    
         
            -
              more details of `error_code'.
         
     | 
| 
       118 
     | 
    
         
            -
             */
         
     | 
| 
       119 
92 
     | 
    
         
             
            #define GRN_PLUGIN_ERROR(ctx, error_code, ...) \
         
     | 
| 
       120 
93 
     | 
    
         
             
              GRN_PLUGIN_SET_ERROR(ctx, GRN_LOG_ERROR, error_code, __VA_ARGS__)
         
     | 
| 
       121 
94 
     | 
    
         | 
| 
       122 
     | 
    
         
            -
            /*
         
     | 
| 
       123 
     | 
    
         
            -
              grn_plugin_mutex is available to make a critical section. See the
         
     | 
| 
       124 
     | 
    
         
            -
              following functions.
         
     | 
| 
       125 
     | 
    
         
            -
             */
         
     | 
| 
       126 
95 
     | 
    
         
             
            typedef struct _grn_plugin_mutex grn_plugin_mutex;
         
     | 
| 
       127 
96 
     | 
    
         | 
| 
       128 
     | 
    
         
            -
            /*
         
     | 
| 
       129 
     | 
    
         
            -
              grn_plugin_mutex_open() returns a pointer to a new object of
         
     | 
| 
       130 
     | 
    
         
            -
              grn_plugin_mutex. Memory for the new object is obtained with
         
     | 
| 
       131 
     | 
    
         
            -
              GRN_PLUGIN_MALLOC(). grn_plugin_mutex_open() returns NULL if sufficient
         
     | 
| 
       132 
     | 
    
         
            -
              memory is not available.
         
     | 
| 
       133 
     | 
    
         
            -
             */
         
     | 
| 
       134 
97 
     | 
    
         
             
            GRN_API grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx);
         
     | 
| 
       135 
98 
     | 
    
         | 
| 
       136 
99 
     | 
    
         
             
            /*
         
     | 
| 
         @@ -139,10 +102,6 @@ GRN_API grn_plugin_mutex *grn_plugin_mutex_open(grn_ctx *ctx); 
     | 
|
| 
       139 
102 
     | 
    
         
             
            */
         
     | 
| 
       140 
103 
     | 
    
         
             
            GRN_API grn_plugin_mutex *grn_plugin_mutex_create(grn_ctx *ctx);
         
     | 
| 
       141 
104 
     | 
    
         | 
| 
       142 
     | 
    
         
            -
            /*
         
     | 
| 
       143 
     | 
    
         
            -
              grn_plugin_mutex_close() finalizes an object of grn_plugin_mutex and then
         
     | 
| 
       144 
     | 
    
         
            -
              frees memory allocated for that object.
         
     | 
| 
       145 
     | 
    
         
            -
             */
         
     | 
| 
       146 
105 
     | 
    
         
             
            GRN_API void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex);
         
     | 
| 
       147 
106 
     | 
    
         | 
| 
       148 
107 
     | 
    
         
             
            /*
         
     | 
| 
         @@ -151,70 +110,39 @@ GRN_API void grn_plugin_mutex_close(grn_ctx *ctx, grn_plugin_mutex *mutex); 
     | 
|
| 
       151 
110 
     | 
    
         
             
            */
         
     | 
| 
       152 
111 
     | 
    
         
             
            GRN_API void grn_plugin_mutex_destroy(grn_ctx *ctx, grn_plugin_mutex *mutex);
         
     | 
| 
       153 
112 
     | 
    
         | 
| 
       154 
     | 
    
         
            -
            /*
         
     | 
| 
       155 
     | 
    
         
            -
              grn_plugin_mutex_lock() locks a mutex object. If the object is already
         
     | 
| 
       156 
     | 
    
         
            -
              locked, the calling thread waits until the object will be unlocked.
         
     | 
| 
       157 
     | 
    
         
            -
             */
         
     | 
| 
       158 
113 
     | 
    
         
             
            GRN_API void grn_plugin_mutex_lock(grn_ctx *ctx, grn_plugin_mutex *mutex);
         
     | 
| 
       159 
114 
     | 
    
         | 
| 
       160 
     | 
    
         
            -
            /*
         
     | 
| 
       161 
     | 
    
         
            -
              grn_plugin_mutex_unlock() unlocks a mutex object. grn_plugin_mutex_unlock()
         
     | 
| 
       162 
     | 
    
         
            -
              should not be called for an unlocked object.
         
     | 
| 
       163 
     | 
    
         
            -
             */
         
     | 
| 
       164 
115 
     | 
    
         
             
            GRN_API void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
         
     | 
| 
       165 
116 
     | 
    
         | 
| 
       166 
     | 
    
         
            -
            /*
         
     | 
| 
       167 
     | 
    
         
            -
              grn_plugin_proc_alloc() allocates a `grn_obj` object.
         
     | 
| 
       168 
     | 
    
         
            -
              You can use it in function that is registered as GRN_PROC_FUNCTION.
         
     | 
| 
       169 
     | 
    
         
            -
             */
         
     | 
| 
       170 
117 
     | 
    
         
             
            GRN_API grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
         
     | 
| 
       171 
118 
     | 
    
         
             
                                                   grn_id domain, grn_obj_flags flags);
         
     | 
| 
       172 
119 
     | 
    
         | 
| 
       173 
     | 
    
         
            -
            /*
         
     | 
| 
       174 
     | 
    
         
            -
              grn_plugin_proc_get_var() gets a variable from user_data by name.
         
     | 
| 
       175 
     | 
    
         
            -
             
     | 
| 
       176 
     | 
    
         
            -
              If `name_size` is negative, `name` must be
         
     | 
| 
       177 
     | 
    
         
            -
              NUL-terminated. `name_size` is computed by `strlen(name)` for the case.
         
     | 
| 
       178 
     | 
    
         
            -
            */
         
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
120 
     | 
    
         
             
            GRN_API grn_obj *grn_plugin_proc_get_var(grn_ctx *ctx, grn_user_data *user_data,
         
     | 
| 
       181 
121 
     | 
    
         
             
                                                     const char *name, int name_size);
         
     | 
| 
       182 
122 
     | 
    
         | 
| 
       183 
     | 
    
         
            -
            /*
         
     | 
| 
       184 
     | 
    
         
            -
              grn_plugin_proc_get_var_by_offset() gets a variable from user_data by offset.
         
     | 
| 
       185 
     | 
    
         
            -
            */
         
     | 
| 
       186 
     | 
    
         
            -
             
     | 
| 
       187 
123 
     | 
    
         
             
            GRN_API grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx,
         
     | 
| 
       188 
124 
     | 
    
         
             
                                                               grn_user_data *user_data,
         
     | 
| 
       189 
125 
     | 
    
         
             
                                                               unsigned int offset);
         
     | 
| 
       190 
126 
     | 
    
         | 
| 
       191 
     | 
    
         
            -
            /*
         
     | 
| 
       192 
     | 
    
         
            -
              grn_plugin_win32_base_dir() returns the groonga install directory.
         
     | 
| 
       193 
     | 
    
         
            -
              The install directory is computed from the directory that has
         
     | 
| 
       194 
     | 
    
         
            -
              `groonga.dll`. You can use the directory to generate install
         
     | 
| 
       195 
     | 
    
         
            -
              directory aware path.
         
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
       197 
     | 
    
         
            -
              It only works on Windows. It returns `NULL` on other platforms.
         
     | 
| 
       198 
     | 
    
         
            -
             */
         
     | 
| 
       199 
127 
     | 
    
         
             
            GRN_API const char *grn_plugin_win32_base_dir(void);
         
     | 
| 
       200 
128 
     | 
    
         | 
| 
       201 
     | 
    
         
            -
            /*
         
     | 
| 
       202 
     | 
    
         
            -
              grn_plugin_charlen() returns the length (#bytes) of the first character
         
     | 
| 
       203 
     | 
    
         
            -
              in the string specified by `str_ptr' and `str_length'. If the starting bytes
         
     | 
| 
       204 
     | 
    
         
            -
              are invalid as a character, grn_plugin_charlen() returns 0. See
         
     | 
| 
       205 
     | 
    
         
            -
              grn_encoding in "groonga.h" for more details of `encoding'
         
     | 
| 
       206 
     | 
    
         
            -
             */
         
     | 
| 
       207 
129 
     | 
    
         
             
            GRN_API int grn_plugin_charlen(grn_ctx *ctx, const char *str_ptr,
         
     | 
| 
       208 
130 
     | 
    
         
             
                                           unsigned int str_length, grn_encoding encoding);
         
     | 
| 
       209 
131 
     | 
    
         | 
| 
       210 
     | 
    
         
            -
            /*
         
     | 
| 
       211 
     | 
    
         
            -
              grn_plugin_isspace() returns the length (#bytes) of the first character
         
     | 
| 
       212 
     | 
    
         
            -
              in the string specified by `str_ptr' and `str_length' if it is a space
         
     | 
| 
       213 
     | 
    
         
            -
              character. Otherwise, grn_plugin_isspace() returns 0.
         
     | 
| 
       214 
     | 
    
         
            -
             */
         
     | 
| 
       215 
132 
     | 
    
         
             
            GRN_API int grn_plugin_isspace(grn_ctx *ctx, const char *str_ptr,
         
     | 
| 
       216 
133 
     | 
    
         
             
                                           unsigned int str_length, grn_encoding encoding);
         
     | 
| 
       217 
134 
     | 
    
         | 
| 
      
 135 
     | 
    
         
            +
            GRN_API grn_rc grn_plugin_expr_var_init(grn_ctx *ctx,
         
     | 
| 
      
 136 
     | 
    
         
            +
                                                    grn_expr_var *var,
         
     | 
| 
      
 137 
     | 
    
         
            +
                                                    const char *name,
         
     | 
| 
      
 138 
     | 
    
         
            +
                                                    int name_size);
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
            GRN_API grn_obj * grn_plugin_command_create(grn_ctx *ctx,
         
     | 
| 
      
 141 
     | 
    
         
            +
                                                        const char *name,
         
     | 
| 
      
 142 
     | 
    
         
            +
                                                        int name_size,
         
     | 
| 
      
 143 
     | 
    
         
            +
                                                        grn_proc_func func,
         
     | 
| 
      
 144 
     | 
    
         
            +
                                                        unsigned int n_vars,
         
     | 
| 
      
 145 
     | 
    
         
            +
                                                        grn_expr_var *vars);
         
     | 
| 
       218 
146 
     | 
    
         | 
| 
       219 
147 
     | 
    
         | 
| 
       220 
148 
     | 
    
         
             
            #ifdef __cplusplus
         
     | 
| 
         @@ -84,6 +84,7 @@ struct _grn_tokenizer_query { 
     | 
|
| 
       84 
84 
     | 
    
         
             
              grn_encoding encoding;
         
     | 
| 
       85 
85 
     | 
    
         
             
              unsigned int flags;
         
     | 
| 
       86 
86 
     | 
    
         
             
              grn_bool have_tokenized_delimiter;
         
     | 
| 
      
 87 
     | 
    
         
            +
              unsigned int token_mode;
         
     | 
| 
       87 
88 
     | 
    
         
             
            };
         
     | 
| 
       88 
89 
     | 
    
         | 
| 
       89 
90 
     | 
    
         
             
            /*
         
     | 
| 
         @@ -152,15 +153,19 @@ GRN_PLUGIN_EXPORT void grn_tokenizer_token_fin(grn_ctx *ctx, grn_tokenizer_token 
     | 
|
| 
       152 
153 
     | 
    
         
             
            typedef unsigned int grn_tokenizer_status;
         
     | 
| 
       153 
154 
     | 
    
         | 
| 
       154 
155 
     | 
    
         
             
            /* GRN_TOKENIZER_TOKEN_CONTINUE means that the next token is not the last one. */
         
     | 
| 
       155 
     | 
    
         
            -
            #define GRN_TOKENIZER_TOKEN_CONTINUE 
     | 
| 
      
 156 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_CONTINUE           (0)
         
     | 
| 
       156 
157 
     | 
    
         
             
            /* GRN_TOKENIZER_TOKEN_LAST means that the next token is the last one. */
         
     | 
| 
       157 
     | 
    
         
            -
            #define GRN_TOKENIZER_TOKEN_LAST 
     | 
| 
      
 158 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_LAST               (0x01L<<0)
         
     | 
| 
       158 
159 
     | 
    
         
             
            /* GRN_TOKENIZER_TOKEN_OVERLAP means that ... */
         
     | 
| 
       159 
     | 
    
         
            -
            #define GRN_TOKENIZER_TOKEN_OVERLAP 
     | 
| 
      
 160 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_OVERLAP            (0x01L<<1)
         
     | 
| 
       160 
161 
     | 
    
         
             
            /* GRN_TOKENIZER_TOKEN_UNMATURED means that ... */
         
     | 
| 
       161 
     | 
    
         
            -
            #define GRN_TOKENIZER_TOKEN_UNMATURED 
     | 
| 
      
 162 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_UNMATURED          (0x01L<<2)
         
     | 
| 
       162 
163 
     | 
    
         
             
            /* GRN_TOKENIZER_TOKEN_REACH_END means that ... */
         
     | 
| 
       163 
     | 
    
         
            -
            #define GRN_TOKENIZER_TOKEN_REACH_END 
     | 
| 
      
 164 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_REACH_END          (0x01L<<3)
         
     | 
| 
      
 165 
     | 
    
         
            +
            /* GRN_TOKENIZER_TOKEN_SKIP means that the token is skipped */
         
     | 
| 
      
 166 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_SKIP               (0x01L<<4)
         
     | 
| 
      
 167 
     | 
    
         
            +
            /* GRN_TOKENIZER_TOKEN_SKIP_WITH_POSITION means that the token and postion is skipped */
         
     | 
| 
      
 168 
     | 
    
         
            +
            #define GRN_TOKENIZER_TOKEN_SKIP_WITH_POSITION (0x01L<<5)
         
     | 
| 
       164 
169 
     | 
    
         | 
| 
       165 
170 
     | 
    
         
             
            /*
         
     | 
| 
       166 
171 
     | 
    
         
             
             * GRN_TOKENIZER_CONTINUE and GRN_TOKENIZER_LAST are deprecated. They
         
     | 
| 
         @@ -22,6 +22,8 @@ 
     | 
|
| 
       22 
22 
     | 
    
         
             
            extern "C" {
         
     | 
| 
       23 
23 
     | 
    
         
             
            #endif
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
      
 25 
     | 
    
         
            +
            #include <stdarg.h>
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       25 
27 
     | 
    
         
             
            #ifndef GRN_API
         
     | 
| 
       26 
28 
     | 
    
         
             
            #if defined(_WIN32) || defined(_WIN64)
         
     | 
| 
       27 
29 
     | 
    
         
             
            #define GRN_API __declspec(dllimport)
         
     | 
| 
         @@ -215,7 +217,9 @@ struct _grn_ctx { 
     | 
|
| 
       215 
217 
     | 
    
         | 
| 
       216 
218 
     | 
    
         
             
            #define GRN_CTX_USER_DATA(ctx) (&((ctx)->user_data))
         
     | 
| 
       217 
219 
     | 
    
         | 
| 
      
 220 
     | 
    
         
            +
            /* Deprecated since 4.0.3. Don't use it. */
         
     | 
| 
       218 
221 
     | 
    
         
             
            #define GRN_CTX_USE_QL                 (0x03)
         
     | 
| 
      
 222 
     | 
    
         
            +
            /* Deprecated since 4.0.3. Don't use it. */
         
     | 
| 
       219 
223 
     | 
    
         
             
            #define GRN_CTX_BATCH_MODE             (0x04)
         
     | 
| 
       220 
224 
     | 
    
         
             
            #define GRN_CTX_PER_DB                 (0x08)
         
     | 
| 
       221 
225 
     | 
    
         | 
| 
         @@ -483,6 +487,7 @@ GRN_API grn_obj *grn_proc_create(grn_ctx *ctx, 
     | 
|
| 
       483 
487 
     | 
    
         
             
                                             unsigned int nvars, grn_expr_var *vars);
         
     | 
| 
       484 
488 
     | 
    
         
             
            GRN_API grn_obj *grn_proc_get_info(grn_ctx *ctx, grn_user_data *user_data,
         
     | 
| 
       485 
489 
     | 
    
         
             
                                               grn_expr_var **vars, unsigned int *nvars, grn_obj **caller);
         
     | 
| 
      
 490 
     | 
    
         
            +
            GRN_API grn_proc_type grn_proc_get_type(grn_ctx *ctx, grn_obj *proc);
         
     | 
| 
       486 
491 
     | 
    
         | 
| 
       487 
492 
     | 
    
         
             
            /*-------------------------------------------------------------
         
     | 
| 
       488 
493 
     | 
    
         
             
             * API for table
         
     | 
| 
         @@ -876,6 +881,13 @@ struct _grn_search_optarg { 
     | 
|
| 
       876 
881 
     | 
    
         
             
            GRN_API grn_rc grn_obj_search(grn_ctx *ctx, grn_obj *obj, grn_obj *query,
         
     | 
| 
       877 
882 
     | 
    
         
             
                                          grn_obj *res, grn_operator op, grn_search_optarg *optarg);
         
     | 
| 
       878 
883 
     | 
    
         | 
| 
      
 884 
     | 
    
         
            +
            typedef grn_rc grn_selector_func(grn_ctx *ctx, grn_obj *table, grn_obj *index,
         
     | 
| 
      
 885 
     | 
    
         
            +
                                             int nargs, grn_obj **args,
         
     | 
| 
      
 886 
     | 
    
         
            +
                                             grn_obj *res, grn_operator op);
         
     | 
| 
      
 887 
     | 
    
         
            +
             
     | 
| 
      
 888 
     | 
    
         
            +
            GRN_API grn_rc grn_proc_set_selector(grn_ctx *ctx, grn_obj *proc,
         
     | 
| 
      
 889 
     | 
    
         
            +
                                                 grn_selector_func selector);
         
     | 
| 
      
 890 
     | 
    
         
            +
             
     | 
| 
       879 
891 
     | 
    
         
             
            /*-------------------------------------------------------------
         
     | 
| 
       880 
892 
     | 
    
         
             
             * grn_vector
         
     | 
| 
       881 
893 
     | 
    
         
             
            */
         
     | 
| 
         @@ -890,6 +902,19 @@ GRN_API unsigned int grn_vector_get_element(grn_ctx *ctx, grn_obj *vector, 
     | 
|
| 
       890 
902 
     | 
    
         
             
                                                        unsigned int offset, const char **str,
         
     | 
| 
       891 
903 
     | 
    
         
             
                                                        unsigned int *weight, grn_id *domain);
         
     | 
| 
       892 
904 
     | 
    
         | 
| 
      
 905 
     | 
    
         
            +
            /*-------------------------------------------------------------
         
     | 
| 
      
 906 
     | 
    
         
            +
             * grn_uvector
         
     | 
| 
      
 907 
     | 
    
         
            +
            */
         
     | 
| 
      
 908 
     | 
    
         
            +
             
     | 
| 
      
 909 
     | 
    
         
            +
            GRN_API unsigned int grn_uvector_size(grn_ctx *ctx, grn_obj *uvector);
         
     | 
| 
      
 910 
     | 
    
         
            +
             
     | 
| 
      
 911 
     | 
    
         
            +
            GRN_API grn_rc grn_uvector_add_element(grn_ctx *ctx, grn_obj *vector,
         
     | 
| 
      
 912 
     | 
    
         
            +
                                                   grn_id id, unsigned int weight);
         
     | 
| 
      
 913 
     | 
    
         
            +
             
     | 
| 
      
 914 
     | 
    
         
            +
            GRN_API grn_id grn_uvector_get_element(grn_ctx *ctx, grn_obj *uvector,
         
     | 
| 
      
 915 
     | 
    
         
            +
                                                   unsigned int offset,
         
     | 
| 
      
 916 
     | 
    
         
            +
                                                   unsigned int *weight);
         
     | 
| 
      
 917 
     | 
    
         
            +
             
     | 
| 
       893 
918 
     | 
    
         
             
            /*-------------------------------------------------------------
         
     | 
| 
       894 
919 
     | 
    
         
             
             * API for hook
         
     | 
| 
       895 
920 
     | 
    
         
             
             */
         
     | 
| 
         @@ -1123,6 +1148,9 @@ GRN_API const char *grn_default_query_logger_get_path(void); 
     | 
|
| 
       1123 
1148 
     | 
    
         
             
            /* grn_bulk */
         
     | 
| 
       1124 
1149 
     | 
    
         | 
| 
       1125 
1150 
     | 
    
         
             
            #define GRN_BULK_BUFSIZE (sizeof(grn_obj) - sizeof(grn_obj_header))
         
     | 
| 
      
 1151 
     | 
    
         
            +
            /* This assumes that GRN_BULK_BUFSIZE is less than 32 (= 0x20). */
         
     | 
| 
      
 1152 
     | 
    
         
            +
            #define GRN_BULK_BUFSIZE_MAX 0x1f
         
     | 
| 
      
 1153 
     | 
    
         
            +
            #define GRN_BULK_SIZE_IN_FLAGS(flags) ((flags) & GRN_BULK_BUFSIZE_MAX)
         
     | 
| 
       1126 
1154 
     | 
    
         
             
            #define GRN_BULK_OUTP(bulk) ((bulk)->header.impl_flags & GRN_OBJ_OUTPLACE)
         
     | 
| 
       1127 
1155 
     | 
    
         
             
            #define GRN_BULK_REWIND(bulk) do {\
         
     | 
| 
       1128 
1156 
     | 
    
         
             
              if ((bulk)->header.type == GRN_VECTOR) {\
         
     | 
| 
         @@ -1131,7 +1159,7 @@ GRN_API const char *grn_default_query_logger_get_path(void); 
     | 
|
| 
       1131 
1159 
     | 
    
         
             
                  if (GRN_BULK_OUTP(_body)) {\
         
     | 
| 
       1132 
1160 
     | 
    
         
             
                    (_body)->u.b.curr = (_body)->u.b.head;\
         
     | 
| 
       1133 
1161 
     | 
    
         
             
                  } else {\
         
     | 
| 
       1134 
     | 
    
         
            -
                    (_body)->header.flags  
     | 
| 
      
 1162 
     | 
    
         
            +
                    (_body)->header.flags &= ~GRN_BULK_BUFSIZE_MAX;\
         
     | 
| 
       1135 
1163 
     | 
    
         
             
                  }\
         
     | 
| 
       1136 
1164 
     | 
    
         
             
                }\
         
     | 
| 
       1137 
1165 
     | 
    
         
             
                (bulk)->u.v.n_sections = 0;\
         
     | 
| 
         @@ -1139,7 +1167,7 @@ GRN_API const char *grn_default_query_logger_get_path(void); 
     | 
|
| 
       1139 
1167 
     | 
    
         
             
                if (GRN_BULK_OUTP(bulk)) {\
         
     | 
| 
       1140 
1168 
     | 
    
         
             
                  (bulk)->u.b.curr = (bulk)->u.b.head;\
         
     | 
| 
       1141 
1169 
     | 
    
         
             
                } else {\
         
     | 
| 
       1142 
     | 
    
         
            -
                  (bulk)->header.flags  
     | 
| 
      
 1170 
     | 
    
         
            +
                  (bulk)->header.flags &= ~GRN_BULK_BUFSIZE_MAX;\
         
     | 
| 
       1143 
1171 
     | 
    
         
             
                }\
         
     | 
| 
       1144 
1172 
     | 
    
         
             
              }\
         
     | 
| 
       1145 
1173 
     | 
    
         
             
            } while (0)
         
     | 
| 
         @@ -1154,11 +1182,11 @@ GRN_API const char *grn_default_query_logger_get_path(void); 
     | 
|
| 
       1154 
1182 
     | 
    
         
             
            #define GRN_BULK_VSIZE(bulk) \
         
     | 
| 
       1155 
1183 
     | 
    
         
             
              (GRN_BULK_OUTP(bulk)\
         
     | 
| 
       1156 
1184 
     | 
    
         
             
               ? ((bulk)->u.b.curr - (bulk)->u.b.head)\
         
     | 
| 
       1157 
     | 
    
         
            -
               : (bulk)->header.flags)
         
     | 
| 
      
 1185 
     | 
    
         
            +
               : GRN_BULK_SIZE_IN_FLAGS((bulk)->header.flags))
         
     | 
| 
       1158 
1186 
     | 
    
         
             
            #define GRN_BULK_EMPTYP(bulk) \
         
     | 
| 
       1159 
1187 
     | 
    
         
             
              (GRN_BULK_OUTP(bulk)\
         
     | 
| 
       1160 
1188 
     | 
    
         
             
               ? ((bulk)->u.b.curr == (bulk)->u.b.head)\
         
     | 
| 
       1161 
     | 
    
         
            -
               : !((bulk)->header.flags))
         
     | 
| 
      
 1189 
     | 
    
         
            +
               : !(GRN_BULK_SIZE_IN_FLAGS((bulk)->header.flags)))
         
     | 
| 
       1162 
1190 
     | 
    
         
             
            #define GRN_BULK_HEAD(bulk) \
         
     | 
| 
       1163 
1191 
     | 
    
         
             
              (GRN_BULK_OUTP(bulk)\
         
     | 
| 
       1164 
1192 
     | 
    
         
             
               ? ((bulk)->u.b.head)\
         
     | 
| 
         @@ -1166,7 +1194,7 @@ GRN_API const char *grn_default_query_logger_get_path(void); 
     | 
|
| 
       1166 
1194 
     | 
    
         
             
            #define GRN_BULK_CURR(bulk) \
         
     | 
| 
       1167 
1195 
     | 
    
         
             
              (GRN_BULK_OUTP(bulk)\
         
     | 
| 
       1168 
1196 
     | 
    
         
             
               ? ((bulk)->u.b.curr)\
         
     | 
| 
       1169 
     | 
    
         
            -
               : (char *)&((bulk)->u.b.head) + (bulk)->header.flags)
         
     | 
| 
      
 1197 
     | 
    
         
            +
               : (char *)&((bulk)->u.b.head) + GRN_BULK_SIZE_IN_FLAGS((bulk)->header.flags))
         
     | 
| 
       1170 
1198 
     | 
    
         
             
            #define GRN_BULK_TAIL(bulk) \
         
     | 
| 
       1171 
1199 
     | 
    
         
             
              (GRN_BULK_OUTP(bulk)\
         
     | 
| 
       1172 
1200 
     | 
    
         
             
               ? ((bulk)->u.b.tail)\
         
     | 
| 
         @@ -1201,6 +1229,10 @@ GRN_API const char *grn_text_urldec(grn_ctx *ctx, grn_obj *buf, 
     | 
|
| 
       1201 
1229 
     | 
    
         
             
            GRN_API grn_rc grn_text_escape_xml(grn_ctx *ctx, grn_obj *buf,
         
     | 
| 
       1202 
1230 
     | 
    
         
             
                                               const char *s, unsigned int len);
         
     | 
| 
       1203 
1231 
     | 
    
         
             
            GRN_API grn_rc grn_text_time2rfc1123(grn_ctx *ctx, grn_obj *bulk, int sec);
         
     | 
| 
      
 1232 
     | 
    
         
            +
            GRN_API grn_rc grn_text_printf(grn_ctx *ctx, grn_obj *bulk,
         
     | 
| 
      
 1233 
     | 
    
         
            +
                                           const char *format, ...) GRN_ATTRIBUTE_PRINTF(3);
         
     | 
| 
      
 1234 
     | 
    
         
            +
            GRN_API grn_rc grn_text_vprintf(grn_ctx *ctx, grn_obj *bulk,
         
     | 
| 
      
 1235 
     | 
    
         
            +
                                            const char *format, va_list args);
         
     | 
| 
       1204 
1236 
     | 
    
         | 
| 
       1205 
1237 
     | 
    
         
             
            typedef struct _grn_obj_format grn_obj_format;
         
     | 
| 
       1206 
1238 
     | 
    
         | 
| 
         @@ -1231,6 +1263,7 @@ struct _grn_obj_format { 
     | 
|
| 
       1231 
1263 
     | 
    
         
             
              (format)->offset = (format_offset);\
         
     | 
| 
       1232 
1264 
     | 
    
         
             
              (format)->limit = (format_limit);\
         
     | 
| 
       1233 
1265 
     | 
    
         
             
              (format)->hits_offset = (format_hits_offset);\
         
     | 
| 
      
 1266 
     | 
    
         
            +
              (format)->flags = 0;\
         
     | 
| 
       1234 
1267 
     | 
    
         
             
              (format)->expression = NULL;\
         
     | 
| 
       1235 
1268 
     | 
    
         
             
            } while (0)
         
     | 
| 
       1236 
1269 
     | 
    
         |