rroonga 2.1.2-x86-mingw32 → 2.1.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +29 -0
- data/doc/text/tutorial.textile +176 -199
- data/ext/groonga/extconf.rb +16 -2
- data/ext/groonga/rb-grn-logger.c +214 -202
- data/ext/groonga/rb-grn-object.c +1 -23
- data/ext/groonga/rb-grn-table-cursor.c +1 -2
- data/ext/groonga/rb-grn-table.c +1 -2
- data/ext/groonga/rb-grn-utils.c +3 -7
- data/ext/groonga/rb-grn.h +2 -16
- data/ext/groonga/rb-groonga.c +1 -3
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/context.rb +27 -0
- data/lib/groonga/dumper.rb +35 -3
- data/lib/groonga/logger.rb +142 -0
- data/lib/groonga.rb +2 -1
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +3 -1
- data/test/test-context.rb +63 -0
- data/test/test-logger.rb +1 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +48 -7
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +5 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +50 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +46 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +135 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/log.txt +4 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +17 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +192 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +2 -14
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +193 -138
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +8 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/contribution.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/development.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -10
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/index.html +22 -18
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -14
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/others.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -11
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +22 -11
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +47 -25
- data/vendor/local/share/doc/groonga/en/html/install.html +8 -10
- data/vendor/local/share/doc/groonga/en/html/limitations.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/news.html +148 -97
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +6 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +8 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +9 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +403 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +29 -31
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -26
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -12
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +37 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +11 -13
- data/vendor/local/share/doc/groonga/en/html/reference.html +14 -16
- data/vendor/local/share/doc/groonga/en/html/search.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +16 -18
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +43 -45
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +14 -16
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/server/http.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/server/package.html +375 -0
- data/vendor/local/share/doc/groonga/en/html/server.html +23 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/spec.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +6 -8
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +50 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +46 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +135 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/log.txt +4 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +17 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +192 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +2 -14
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +192 -137
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/community.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +11 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/development.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/index.html +28 -24
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -11
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +20 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +47 -20
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/news.html +135 -97
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +6 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +13 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +9 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +394 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +11 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +82 -134
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +10 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +15 -17
- data/vendor/local/share/doc/groonga/ja/html/reference.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/search.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +16 -18
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +43 -45
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +14 -16
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +372 -0
- data/vendor/local/share/doc/groonga/ja/html/server.html +23 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/spec.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +7 -9
- data/vendor/local/share/man/ja/man1/groonga.1 +849 -276
- data/vendor/local/share/man/man1/groonga.1 +814 -144
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +883 -1287
- data/ext/groonga/rb-grn-view-accessor.c +0 -53
- data/ext/groonga/rb-grn-view-cursor.c +0 -35
- data/ext/groonga/rb-grn-view-record.c +0 -41
- data/ext/groonga/rb-grn-view.c +0 -414
- data/test/test-schema-view.rb +0 -90
- data/test/test-view.rb +0 -71
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +0 -196
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +0 -197
- data/vendor/local/share/doc/groonga/source/__init__.py +0 -0
- data/vendor/local/share/doc/groonga/source/characteristic.txt +0 -69
- data/vendor/local/share/doc/groonga/source/community.txt +0 -37
- data/vendor/local/share/doc/groonga/source/conf.py +0 -272
- data/vendor/local/share/doc/groonga/source/contribution/development/com.txt +0 -20
- data/vendor/local/share/doc/groonga/source/contribution/development/document.txt +0 -40
- data/vendor/local/share/doc/groonga/source/contribution/development/query.txt +0 -214
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +0 -661
- data/vendor/local/share/doc/groonga/source/contribution/development/test.txt +0 -116
- data/vendor/local/share/doc/groonga/source/contribution/development.txt +0 -12
- data/vendor/local/share/doc/groonga/source/contribution/documentation/c-api.txt +0 -14
- data/vendor/local/share/doc/groonga/source/contribution/documentation/i18n.txt +0 -198
- data/vendor/local/share/doc/groonga/source/contribution/documentation.txt +0 -16
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +0 -28
- data/vendor/local/share/doc/groonga/source/contribution.txt +0 -26
- data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +0 -61
- data/vendor/local/share/doc/groonga/source/development.txt +0 -15
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +0 -32
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +0 -74
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +0 -52
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +0 -131
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +0 -12
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +0 -90
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +0 -65
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +0 -18
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +0 -12
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +0 -14
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +0 -77
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +0 -15
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +0 -13
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +0 -28
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +0 -17
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +0 -28
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +0 -92
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +0 -53
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +0 -51
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +0 -53
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +0 -92
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +0 -52
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +0 -29
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +0 -51
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +0 -39
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +0 -9
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +0 -8
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +0 -27
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +0 -46
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +0 -48
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +0 -57
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +0 -47
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +0 -46
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +0 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +0 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +0 -78
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +0 -85
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +0 -113
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +0 -74
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +0 -24
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +0 -105
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +0 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +0 -84
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +0 -78
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +0 -129
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +0 -22
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +0 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +0 -27
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +0 -33
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +0 -15
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +0 -76
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +0 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +0 -21
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +0 -137
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +0 -19
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +0 -137
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log +0 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-data.log +0 -16
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log +0 -30
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-schema.log +0 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select-with-three-relationship.log +0 -86
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-nested-index-select.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +0 -59
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +0 -98
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +0 -89
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +0 -35
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +0 -73
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +0 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +0 -58
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +0 -37
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +0 -24
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +0 -89
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +0 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +0 -102
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +0 -26
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +0 -70
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +0 -80
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +0 -31
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +0 -84
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +0 -150
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +0 -43
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +0 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +0 -31
- data/vendor/local/share/doc/groonga/source/geolocation_search.txt +0 -52
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/array.svg +0 -188
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/columns.svg +0 -501
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/hash-table.svg +0 -275
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/index-column.svg +0 -899
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/inverted-index.svg +0 -249
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/patricia-trie.svg +0 -275
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/prefix-search.svg +0 -743
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record-id.svg +0 -261
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/record.svg +0 -228
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/scalar-column.svg +0 -241
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-index-column-value.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram-token-id.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-bigram.svg +0 -879
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-choose-tokenizer.svg +0 -602
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-index-column-value.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-first-token-id.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-initial-state.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-on-key-table.svg +0 -917
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-result.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-index-column-value.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/search-second-token-id.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/tokenizer.svg +0 -561
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-initial.svg +0 -389
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-first-token.svg +0 -469
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-first-data-second-token.svg +0 -514
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-first-token.svg +0 -595
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-process-second-data-second-token.svg +0 -600
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-first-data.svg +0 -424
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/update-save-second-data.svg +0 -549
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/fulltext-introduction/vector-column.svg +0 -241
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-2bit.svg +0 -203
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-encode-leading-4bit.svg +0 -264
- data/vendor/local/share/doc/groonga/source/images/geo-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-distance.svg +0 -317
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-circle.svg +0 -306
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-in-rectangle.svg +0 -304
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points-sort.svg +0 -383
- data/vendor/local/share/doc/groonga/source/images/geo-points.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-points.svg +0 -296
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-circle.svg +0 -287
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.png +0 -0
- data/vendor/local/share/doc/groonga/source/images/geo-search-in-rectangle.svg +0 -174
- data/vendor/local/share/doc/groonga/source/index.txt +0 -33
- data/vendor/local/share/doc/groonga/source/install/centos.txt +0 -152
- data/vendor/local/share/doc/groonga/source/install/debian.txt +0 -136
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +0 -82
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +0 -53
- data/vendor/local/share/doc/groonga/source/install/others.txt +0 -267
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +0 -43
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +0 -196
- data/vendor/local/share/doc/groonga/source/install/windows.txt +0 -87
- data/vendor/local/share/doc/groonga/source/install.txt +0 -28
- data/vendor/local/share/doc/groonga/source/limitations.txt +0 -29
- data/vendor/local/share/doc/groonga/source/news/0.x.txt +0 -126
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +0 -289
- data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +0 -31
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +0 -386
- data/vendor/local/share/doc/groonga/source/news/senna.txt +0 -109
- data/vendor/local/share/doc/groonga/source/news.txt +0 -632
- data/vendor/local/share/doc/groonga/source/rdoc.py +0 -762
- data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/api.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/cast.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/command/command_version.txt +0 -75
- data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +0 -228
- data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +0 -110
- data/vendor/local/share/doc/groonga/source/reference/command.txt +0 -20
- data/vendor/local/share/doc/groonga/source/reference/commands/cache_limit.txt +0 -54
- data/vendor/local/share/doc/groonga/source/reference/commands/check.txt +0 -166
- data/vendor/local/share/doc/groonga/source/reference/commands/clearlock.txt +0 -63
- data/vendor/local/share/doc/groonga/source/reference/commands/column_create.txt +0 -95
- data/vendor/local/share/doc/groonga/source/reference/commands/column_list.txt +0 -111
- data/vendor/local/share/doc/groonga/source/reference/commands/column_remove.txt +0 -60
- data/vendor/local/share/doc/groonga/source/reference/commands/define_selector.txt +0 -116
- data/vendor/local/share/doc/groonga/source/reference/commands/defrag.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/commands/delete.txt +0 -72
- data/vendor/local/share/doc/groonga/source/reference/commands/dump.txt +0 -91
- data/vendor/local/share/doc/groonga/source/reference/commands/load.txt +0 -100
- data/vendor/local/share/doc/groonga/source/reference/commands/log_level.txt +0 -67
- data/vendor/local/share/doc/groonga/source/reference/commands/log_put.txt +0 -71
- data/vendor/local/share/doc/groonga/source/reference/commands/log_reopen.txt +0 -68
- data/vendor/local/share/doc/groonga/source/reference/commands/quit.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +0 -894
- data/vendor/local/share/doc/groonga/source/reference/commands/shutdown.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/commands/status.txt +0 -60
- data/vendor/local/share/doc/groonga/source/reference/commands/suggest.txt +0 -270
- data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +0 -286
- data/vendor/local/share/doc/groonga/source/reference/commands/table_list.txt +0 -81
- data/vendor/local/share/doc/groonga/source/reference/commands/table_remove.txt +0 -52
- data/vendor/local/share/doc/groonga/source/reference/commands/view_add.txt +0 -55
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +0 -104
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +0 -80
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +0 -105
- data/vendor/local/share/doc/groonga/source/reference/executables/grnslap.txt +0 -66
- data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +0 -273
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +0 -209
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +0 -56
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-suggest-create-dataset.txt +0 -50
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +0 -248
- data/vendor/local/share/doc/groonga/source/reference/executables.txt +0 -14
- data/vendor/local/share/doc/groonga/source/reference/function.txt +0 -20
- data/vendor/local/share/doc/groonga/source/reference/functions/edit_distance.txt +0 -48
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +0 -301
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_circle.txt +0 -81
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/doc/groonga/source/reference/functions/now.txt +0 -36
- data/vendor/local/share/doc/groonga/source/reference/functions/rand.txt +0 -43
- data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +0 -120
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +0 -584
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +0 -805
- data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +0 -59
- data/vendor/local/share/doc/groonga/source/reference/indexing.txt +0 -110
- data/vendor/local/share/doc/groonga/source/reference/log.txt +0 -214
- data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +0 -122
- data/vendor/local/share/doc/groonga/source/reference/output.txt +0 -164
- data/vendor/local/share/doc/groonga/source/reference/pseudo_column.txt +0 -40
- data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +0 -153
- data/vendor/local/share/doc/groonga/source/reference/query_expanders.txt +0 -12
- data/vendor/local/share/doc/groonga/source/reference/tables.txt +0 -163
- data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +0 -8
- data/vendor/local/share/doc/groonga/source/reference/types.txt +0 -129
- data/vendor/local/share/doc/groonga/source/reference.txt +0 -24
- data/vendor/local/share/doc/groonga/source/server/gqtp.txt +0 -16
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +0 -298
- data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +0 -8
- data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +0 -8
- data/vendor/local/share/doc/groonga/source/server/http.txt +0 -29
- data/vendor/local/share/doc/groonga/source/server.txt +0 -12
- data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +0 -214
- data/vendor/local/share/doc/groonga/source/spec/search.txt +0 -115
- data/vendor/local/share/doc/groonga/source/spec.txt +0 -12
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +0 -195
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +0 -148
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +0 -96
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +0 -115
- data/vendor/local/share/doc/groonga/source/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/source/suggest.txt +0 -17
- data/vendor/local/share/doc/groonga/source/textile.py +0 -771
- data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +0 -135
- data/vendor/local/share/doc/groonga/source/troubleshooting.txt +0 -12
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +0 -155
- data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +0 -66
- data/vendor/local/share/doc/groonga/source/tutorial/index.txt +0 -118
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +0 -286
- data/vendor/local/share/doc/groonga/source/tutorial/lexicon.txt +0 -11
- data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +0 -220
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +0 -487
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +0 -142
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +0 -53
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +0 -62
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +0 -121
- data/vendor/local/share/doc/groonga/source/tutorial.txt +0 -21
data/ext/groonga/extconf.rb
CHANGED
@@ -127,14 +127,18 @@ def extract_groonga_win32_binary(major, minor, micro)
|
|
127
127
|
message(" done\n")
|
128
128
|
|
129
129
|
if File.exist?(install_dir)
|
130
|
-
message("
|
130
|
+
message("removing old install... #{install_dir}")
|
131
131
|
FileUtils.rm_rf(install_dir)
|
132
132
|
message(" done\n")
|
133
133
|
end
|
134
134
|
|
135
|
-
message("
|
135
|
+
message("installing...")
|
136
136
|
FileUtils.mv(File.basename(zip, ".zip"), install_dir)
|
137
137
|
message(" done\n")
|
138
|
+
|
139
|
+
message("removing binary archive...")
|
140
|
+
FileUtils.rm_rf(zip)
|
141
|
+
message(" done\n")
|
138
142
|
end
|
139
143
|
|
140
144
|
def configure_command_line(prefix)
|
@@ -143,6 +147,8 @@ def configure_command_line(prefix)
|
|
143
147
|
debug_flags = ["CFLAGS=-ggdb3 -O0", "CXXFLAGS=-ggdb3 -O0"]
|
144
148
|
command_line.concat(debug_flags) if debug_build_p
|
145
149
|
command_line << "--prefix=#{prefix}"
|
150
|
+
command_line << "--disable-static"
|
151
|
+
command_line << "--disable-document"
|
146
152
|
escaped_command_line = command_line.collect do |command|
|
147
153
|
Shellwords.escape(command)
|
148
154
|
end
|
@@ -190,6 +196,14 @@ def build_groonga(major, minor, micro)
|
|
190
196
|
exit(false)
|
191
197
|
end
|
192
198
|
end
|
199
|
+
|
200
|
+
message("removing source...")
|
201
|
+
FileUtils.rm_rf(groonga_source_dir)
|
202
|
+
message(" done\n")
|
203
|
+
|
204
|
+
message("removing source archive...")
|
205
|
+
FileUtils.rm_rf(tar_gz)
|
206
|
+
message(" done\n")
|
193
207
|
end
|
194
208
|
|
195
209
|
unless PKGConfig.have_package(package_name, major, minor, micro)
|
data/ext/groonga/rb-grn-logger.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -18,12 +18,6 @@
|
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
20
20
|
|
21
|
-
/* FIXME */
|
22
|
-
void grn_log_reopen(grn_ctx *ctx);
|
23
|
-
extern const char *grn_log_path;
|
24
|
-
extern const char *grn_qlog_path;
|
25
|
-
|
26
|
-
|
27
21
|
/*
|
28
22
|
* Document-class: Groonga::Logger
|
29
23
|
*
|
@@ -31,63 +25,20 @@ extern const char *grn_qlog_path;
|
|
31
25
|
*
|
32
26
|
*/
|
33
27
|
|
34
|
-
#define
|
35
|
-
#define RVAL2GRNLOGLEVEL(
|
36
|
-
#define GRNLOGLEVEL2RVAL(level) (rb_grn_log_level_to_ruby_object(level))
|
28
|
+
#define GRNLOGLEVEL2RVAL(level) (rb_grn_log_level_to_ruby_object(level))
|
29
|
+
#define RVAL2GRNLOGLEVEL(rb_level) (rb_grn_log_level_from_ruby_object(rb_level))
|
37
30
|
|
38
31
|
VALUE cGrnLogger;
|
32
|
+
VALUE mGrnLoggerFlags;
|
33
|
+
VALUE cGrnCallbackLogger;
|
39
34
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
static rb_grn_logger_info_wrapper *
|
47
|
-
rb_grn_logger_info_wrapper_from_ruby_object (VALUE object)
|
48
|
-
{
|
49
|
-
rb_grn_logger_info_wrapper *wrapper;
|
50
|
-
|
51
|
-
if (NIL_P(object))
|
52
|
-
return NULL;
|
53
|
-
|
54
|
-
if (!RVAL2CBOOL(rb_obj_is_kind_of(object, cGrnLogger))) {
|
55
|
-
rb_raise(rb_eTypeError, "not a groonga logger");
|
56
|
-
}
|
35
|
+
static ID id_new;
|
36
|
+
static ID id_parse;
|
37
|
+
static ID id_log;
|
38
|
+
static ID id_reopen;
|
39
|
+
static ID id_fin;
|
57
40
|
|
58
|
-
|
59
|
-
if (!wrapper)
|
60
|
-
rb_raise(rb_eTypeError, "groonga logger is NULL");
|
61
|
-
|
62
|
-
return wrapper;
|
63
|
-
}
|
64
|
-
|
65
|
-
grn_logger_info *
|
66
|
-
rb_grn_logger_from_ruby_object (VALUE object)
|
67
|
-
{
|
68
|
-
rb_grn_logger_info_wrapper *wrapper;
|
69
|
-
|
70
|
-
wrapper = RVAL2GRNWRAPPER(object);
|
71
|
-
if (!wrapper)
|
72
|
-
return NULL;
|
73
|
-
|
74
|
-
return wrapper->logger;
|
75
|
-
}
|
76
|
-
|
77
|
-
static void
|
78
|
-
rb_grn_logger_free (void *object)
|
79
|
-
{
|
80
|
-
rb_grn_logger_info_wrapper *wrapper = object;
|
81
|
-
|
82
|
-
xfree(wrapper->logger);
|
83
|
-
xfree(wrapper);
|
84
|
-
}
|
85
|
-
|
86
|
-
static VALUE
|
87
|
-
rb_grn_logger_alloc (VALUE klass)
|
88
|
-
{
|
89
|
-
return Data_Wrap_Struct(klass, NULL, rb_grn_logger_free, NULL);
|
90
|
-
}
|
41
|
+
static grn_logger rb_grn_logger;
|
91
42
|
|
92
43
|
static grn_log_level
|
93
44
|
rb_grn_log_level_from_ruby_object (VALUE rb_level)
|
@@ -172,80 +123,70 @@ rb_grn_log_level_to_ruby_object (grn_log_level level)
|
|
172
123
|
}
|
173
124
|
|
174
125
|
static void
|
175
|
-
|
176
|
-
const char *message, const char *location, void *func_arg)
|
126
|
+
rb_grn_logger_reset_with_error_check (VALUE klass, grn_ctx *context)
|
177
127
|
{
|
178
|
-
|
128
|
+
VALUE current_logger;
|
179
129
|
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
130
|
+
current_logger = rb_cv_get(klass, "@@current_logger");
|
131
|
+
if (NIL_P(current_logger))
|
132
|
+
return;
|
133
|
+
rb_cv_set(klass, "@@current_logger", Qnil);
|
134
|
+
|
135
|
+
if (context) {
|
136
|
+
grn_logger_set(context, NULL);
|
137
|
+
rb_grn_context_check(context, current_logger);
|
138
|
+
} else {
|
139
|
+
grn_logger_set(NULL, NULL);
|
140
|
+
}
|
186
141
|
}
|
187
142
|
|
188
143
|
static void
|
189
|
-
|
144
|
+
rb_grn_logger_reset (VALUE klass)
|
190
145
|
{
|
191
|
-
|
192
|
-
grn_logger_info *logger;
|
193
|
-
|
194
|
-
wrapper = RVAL2GRNWRAPPER(self);
|
195
|
-
wrapper->handler = rb_handler;
|
196
|
-
rb_iv_set(self, "@handler", rb_handler);
|
197
|
-
|
198
|
-
logger = wrapper->logger;
|
199
|
-
if (NIL_P(rb_handler)) {
|
200
|
-
logger->func = NULL;
|
201
|
-
logger->func_arg = NULL;
|
202
|
-
} else {
|
203
|
-
logger->func = rb_grn_log;
|
204
|
-
logger->func_arg = wrapper;
|
205
|
-
}
|
146
|
+
rb_grn_logger_reset_with_error_check(klass, NULL);
|
206
147
|
}
|
207
148
|
|
208
|
-
static
|
209
|
-
|
149
|
+
static void
|
150
|
+
rb_grn_logger_log (grn_ctx *ctx, grn_log_level level,
|
151
|
+
const char *timestamp, const char *title, const char *message,
|
152
|
+
const char *location, void *user_data)
|
210
153
|
{
|
211
|
-
|
212
|
-
grn_logger_info *logger;
|
213
|
-
grn_log_level level;
|
214
|
-
int flags = 0;
|
215
|
-
VALUE options, rb_level, rb_time, rb_title, rb_message, rb_location;
|
216
|
-
VALUE rb_handler;
|
154
|
+
VALUE handler = (VALUE)user_data;
|
217
155
|
|
218
|
-
|
156
|
+
if (NIL_P(handler))
|
157
|
+
return;
|
219
158
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
159
|
+
/* TODO: use rb_protect(). */
|
160
|
+
rb_funcall(handler, id_log, 5,
|
161
|
+
GRNLOGLEVEL2RVAL(level),
|
162
|
+
rb_str_new2(timestamp),
|
163
|
+
rb_str_new2(title),
|
164
|
+
rb_str_new2(message),
|
165
|
+
rb_str_new2(location));
|
166
|
+
}
|
227
167
|
|
228
|
-
|
168
|
+
static void
|
169
|
+
rb_grn_logger_reopen (grn_ctx *ctx, void *user_data)
|
170
|
+
{
|
171
|
+
VALUE handler = (VALUE)user_data;
|
229
172
|
|
230
|
-
if (NIL_P(
|
231
|
-
|
232
|
-
if (NIL_P(rb_title) || RVAL2CBOOL(rb_title))
|
233
|
-
flags |= GRN_LOG_TITLE;
|
234
|
-
if (NIL_P(rb_message) || RVAL2CBOOL(rb_message))
|
235
|
-
flags |= GRN_LOG_MESSAGE;
|
236
|
-
if (NIL_P(rb_location) || RVAL2CBOOL(rb_location))
|
237
|
-
flags |= GRN_LOG_LOCATION;
|
173
|
+
if (NIL_P(handler))
|
174
|
+
return;
|
238
175
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
DATA_PTR(self) = wrapper;
|
176
|
+
/* TODO: use rb_protect(). */
|
177
|
+
rb_funcall(handler, id_reopen, 0);
|
178
|
+
}
|
243
179
|
|
244
|
-
|
245
|
-
|
246
|
-
|
180
|
+
static void
|
181
|
+
rb_grn_logger_fin (grn_ctx *ctx, void *user_data)
|
182
|
+
{
|
183
|
+
VALUE handler = (VALUE)user_data;
|
247
184
|
|
248
|
-
|
185
|
+
if (NIL_P(handler))
|
186
|
+
return;
|
187
|
+
|
188
|
+
/* TODO: use rb_protect(). */
|
189
|
+
rb_funcall(handler, id_fin, 0);
|
249
190
|
}
|
250
191
|
|
251
192
|
/*
|
@@ -281,102 +222,122 @@ rb_grn_logger_initialize (int argc, VALUE *argv, VALUE self)
|
|
281
222
|
static VALUE
|
282
223
|
rb_grn_logger_s_register (int argc, VALUE *argv, VALUE klass)
|
283
224
|
{
|
284
|
-
VALUE
|
225
|
+
VALUE rb_context = Qnil;
|
285
226
|
grn_ctx *context;
|
227
|
+
VALUE rb_logger, rb_callback;
|
228
|
+
VALUE rb_options, rb_max_level;
|
229
|
+
VALUE rb_time, rb_title, rb_message, rb_location;
|
230
|
+
VALUE rb_flags;
|
231
|
+
grn_log_level max_level = GRN_LOG_DEFAULT_LEVEL;
|
232
|
+
int flags = 0;
|
233
|
+
|
234
|
+
rb_scan_args(argc, argv, "02&", &rb_logger, &rb_options, &rb_callback);
|
235
|
+
|
236
|
+
if (rb_block_given_p()) {
|
237
|
+
rb_logger = rb_funcall(cGrnCallbackLogger, id_new, 1, rb_callback);
|
238
|
+
}
|
239
|
+
|
240
|
+
rb_grn_scan_options(rb_options,
|
241
|
+
"max_level", &rb_max_level,
|
242
|
+
"time", &rb_time,
|
243
|
+
"title", &rb_title,
|
244
|
+
"message", &rb_message,
|
245
|
+
"location", &rb_location,
|
246
|
+
"flags", &rb_flags,
|
247
|
+
NULL);
|
248
|
+
if (!NIL_P(rb_max_level)) {
|
249
|
+
max_level = RVAL2GRNLOGLEVEL(rb_max_level);
|
250
|
+
}
|
251
|
+
|
252
|
+
if (NIL_P(rb_time) || CBOOL2RVAL(rb_time)) {
|
253
|
+
flags |= GRN_LOG_TIME;
|
254
|
+
}
|
255
|
+
if (NIL_P(rb_title) || CBOOL2RVAL(rb_title)) {
|
256
|
+
flags |= GRN_LOG_TITLE;
|
257
|
+
}
|
258
|
+
if (NIL_P(rb_message) || CBOOL2RVAL(rb_message)) {
|
259
|
+
flags |= GRN_LOG_MESSAGE;
|
260
|
+
}
|
261
|
+
if (NIL_P(rb_location) || CBOOL2RVAL(rb_location)) {
|
262
|
+
flags |= GRN_LOG_LOCATION;
|
263
|
+
}
|
264
|
+
if (!NIL_P(rb_flags)) {
|
265
|
+
flags = rb_funcall(mGrnLoggerFlags, id_parse, 2,
|
266
|
+
INT2NUM(flags), rb_flags);
|
267
|
+
}
|
268
|
+
|
269
|
+
rb_grn_logger.max_level = max_level;
|
270
|
+
rb_grn_logger.flags = flags;
|
271
|
+
rb_grn_logger.user_data = (void *)rb_logger;
|
286
272
|
|
287
|
-
logger = rb_funcall2(klass, rb_intern("new"), argc, argv);
|
288
|
-
rb_grn_logger_set_handler(logger, rb_block_proc());
|
289
273
|
context = rb_grn_context_ensure(&rb_context);
|
290
|
-
|
291
|
-
rb_grn_context_check(context,
|
292
|
-
rb_cv_set(klass, "@@current_logger",
|
274
|
+
grn_logger_set(context, &rb_grn_logger);
|
275
|
+
rb_grn_context_check(context, rb_logger);
|
276
|
+
rb_cv_set(klass, "@@current_logger", rb_logger);
|
293
277
|
|
294
278
|
return Qnil;
|
295
279
|
}
|
296
280
|
|
297
|
-
|
298
|
-
|
281
|
+
/*
|
282
|
+
* Unregister the registered logger. The default logger is used after
|
283
|
+
* unregistering.
|
284
|
+
*
|
285
|
+
* @overload unregister
|
286
|
+
* @return void
|
287
|
+
*/
|
288
|
+
static VALUE
|
289
|
+
rb_grn_logger_s_unregister (VALUE klass)
|
299
290
|
{
|
300
291
|
VALUE current_logger;
|
292
|
+
VALUE rb_context = Qnil;
|
293
|
+
grn_ctx *context;
|
301
294
|
|
302
295
|
current_logger = rb_cv_get(klass, "@@current_logger");
|
303
296
|
if (NIL_P(current_logger))
|
304
|
-
return;
|
297
|
+
return Qnil;
|
305
298
|
|
306
299
|
rb_cv_set(klass, "@@current_logger", Qnil);
|
307
|
-
if (context) {
|
308
|
-
grn_logger_info_set(context, NULL);
|
309
|
-
rb_grn_context_check(context, current_logger);
|
310
|
-
} else {
|
311
|
-
grn_logger_info_set(NULL, NULL);
|
312
|
-
}
|
313
|
-
}
|
314
300
|
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
301
|
+
context = rb_grn_context_ensure(&rb_context);
|
302
|
+
grn_logger_set(context, NULL);
|
303
|
+
rb_grn_context_check(context, klass);
|
304
|
+
|
305
|
+
return Qnil;
|
319
306
|
}
|
320
307
|
|
321
308
|
static VALUE
|
322
309
|
rb_grn_logger_s_reopen_with_related_object (VALUE klass, VALUE related_object)
|
323
310
|
{
|
324
|
-
#ifdef WIN32
|
325
|
-
rb_raise(rb_eNotImpError, "grn_log_reopen() isn't available on Windows.");
|
326
|
-
#else
|
327
311
|
VALUE rb_context = Qnil;
|
328
312
|
grn_ctx *context;
|
329
313
|
|
330
314
|
context = rb_grn_context_ensure(&rb_context);
|
331
315
|
rb_grn_logger_reset_with_error_check(klass, context);
|
332
|
-
|
316
|
+
grn_logger_reopen(context);
|
333
317
|
rb_grn_context_check(context, related_object);
|
334
|
-
#endif
|
335
318
|
|
336
319
|
return Qnil;
|
337
320
|
}
|
338
321
|
|
339
322
|
/*
|
340
|
-
*
|
341
|
-
*
|
342
|
-
*
|
343
|
-
* {Groonga::Logger.register} で独自のロガーを設定している場合
|
344
|
-
* は例外が発生する。
|
323
|
+
* Sends reopen request to the current logger. It is useful for
|
324
|
+
* rotating log file.
|
345
325
|
*
|
346
326
|
* @overload reopen
|
327
|
+
* @return void
|
347
328
|
*/
|
348
329
|
static VALUE
|
349
330
|
rb_grn_logger_s_reopen (VALUE klass)
|
350
331
|
{
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
#ifndef WIN32
|
355
|
-
static VALUE
|
356
|
-
rb_grn_logger_s_set_path (VALUE klass, VALUE rb_path,
|
357
|
-
const char **path, const char *class_variable_name)
|
358
|
-
{
|
359
|
-
grn_bool need_reopen = GRN_FALSE;
|
360
|
-
|
361
|
-
if (NIL_P(rb_path)) {
|
362
|
-
need_reopen = *path != NULL;
|
363
|
-
*path = NULL;
|
364
|
-
} else {
|
365
|
-
const char *current_path = *path;
|
366
|
-
*path = RSTRING_PTR(rb_path);
|
367
|
-
if (!current_path || strcmp(*path, current_path) != 0) {
|
368
|
-
need_reopen = GRN_TRUE;
|
369
|
-
}
|
370
|
-
}
|
371
|
-
rb_cv_set(klass, class_variable_name, rb_path);
|
332
|
+
VALUE rb_context = Qnil;
|
333
|
+
grn_ctx *context;
|
372
334
|
|
373
|
-
|
374
|
-
|
375
|
-
|
335
|
+
context = rb_grn_context_ensure(&rb_context);
|
336
|
+
grn_logger_reopen(context);
|
337
|
+
rb_grn_context_check(context, klass);
|
376
338
|
|
377
339
|
return Qnil;
|
378
340
|
}
|
379
|
-
#endif
|
380
341
|
|
381
342
|
/*
|
382
343
|
* groongaのデフォルトロガーがログを出力するファイルのパスを返す。
|
@@ -387,16 +348,14 @@ rb_grn_logger_s_set_path (VALUE klass, VALUE rb_path,
|
|
387
348
|
static VALUE
|
388
349
|
rb_grn_logger_s_get_log_path (VALUE klass)
|
389
350
|
{
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
return rb_str_new2(grn_log_path);
|
351
|
+
const char *path;
|
352
|
+
|
353
|
+
path = grn_default_logger_get_path();
|
354
|
+
if (path) {
|
355
|
+
return rb_str_new2(path);
|
396
356
|
} else {
|
397
357
|
return Qnil;
|
398
358
|
}
|
399
|
-
#endif
|
400
359
|
}
|
401
360
|
|
402
361
|
/*
|
@@ -409,14 +368,30 @@ rb_grn_logger_s_get_log_path (VALUE klass)
|
|
409
368
|
* @overload log_path=(path)
|
410
369
|
*/
|
411
370
|
static VALUE
|
412
|
-
rb_grn_logger_s_set_log_path (VALUE klass, VALUE
|
371
|
+
rb_grn_logger_s_set_log_path (VALUE klass, VALUE rb_path)
|
413
372
|
{
|
414
|
-
|
415
|
-
|
373
|
+
grn_bool need_reopen = GRN_FALSE;
|
374
|
+
const char *current_path;
|
375
|
+
|
376
|
+
current_path = grn_default_logger_get_path();
|
377
|
+
if (NIL_P(rb_path)) {
|
378
|
+
need_reopen = current_path != NULL;
|
379
|
+
grn_default_logger_set_path(NULL);
|
380
|
+
} else {
|
381
|
+
const char *new_path;
|
382
|
+
new_path = RSTRING_PTR(rb_path);
|
383
|
+
if (!current_path || strcmp(new_path, current_path) != 0) {
|
384
|
+
need_reopen = GRN_TRUE;
|
385
|
+
}
|
386
|
+
grn_default_logger_set_path(new_path);
|
387
|
+
}
|
388
|
+
rb_cv_set(klass, "@@log_path", rb_path);
|
389
|
+
|
390
|
+
if (need_reopen) {
|
391
|
+
rb_grn_logger_s_reopen_with_related_object(klass, rb_path);
|
392
|
+
}
|
393
|
+
|
416
394
|
return Qnil;
|
417
|
-
#else
|
418
|
-
return rb_grn_logger_s_set_path(klass, path, &grn_log_path, "@@log_path");
|
419
|
-
#endif
|
420
395
|
}
|
421
396
|
|
422
397
|
/*
|
@@ -428,16 +403,14 @@ rb_grn_logger_s_set_log_path (VALUE klass, VALUE path)
|
|
428
403
|
static VALUE
|
429
404
|
rb_grn_logger_s_get_query_log_path (VALUE klass)
|
430
405
|
{
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
return rb_str_new2(grn_qlog_path);
|
406
|
+
const char *path;
|
407
|
+
|
408
|
+
path = grn_default_query_logger_get_path();
|
409
|
+
if (path) {
|
410
|
+
return rb_str_new2(path);
|
437
411
|
} else {
|
438
412
|
return Qnil;
|
439
413
|
}
|
440
|
-
#endif
|
441
414
|
}
|
442
415
|
|
443
416
|
/*
|
@@ -450,28 +423,56 @@ rb_grn_logger_s_get_query_log_path (VALUE klass)
|
|
450
423
|
* @overload query_log_path=(path)
|
451
424
|
*/
|
452
425
|
static VALUE
|
453
|
-
rb_grn_logger_s_set_query_log_path (VALUE klass, VALUE
|
426
|
+
rb_grn_logger_s_set_query_log_path (VALUE klass, VALUE rb_path)
|
454
427
|
{
|
455
|
-
|
456
|
-
|
428
|
+
grn_bool need_reopen = GRN_FALSE;
|
429
|
+
const char *current_path;
|
430
|
+
|
431
|
+
current_path = grn_default_query_logger_get_path();
|
432
|
+
if (NIL_P(rb_path)) {
|
433
|
+
need_reopen = current_path != NULL;
|
434
|
+
grn_default_query_logger_set_path(NULL);
|
435
|
+
} else {
|
436
|
+
const char *new_path;
|
437
|
+
new_path = RSTRING_PTR(rb_path);
|
438
|
+
if (!current_path || strcmp(new_path, current_path) != 0) {
|
439
|
+
need_reopen = GRN_TRUE;
|
440
|
+
}
|
441
|
+
grn_default_query_logger_set_path(new_path);
|
442
|
+
}
|
443
|
+
rb_cv_set(klass, "@@query_log_path", rb_path);
|
444
|
+
|
445
|
+
if (need_reopen) {
|
446
|
+
rb_grn_logger_s_reopen_with_related_object(klass, rb_path);
|
447
|
+
}
|
448
|
+
|
457
449
|
return Qnil;
|
458
|
-
#else
|
459
|
-
return rb_grn_logger_s_set_path(klass, path, &grn_qlog_path,
|
460
|
-
"@@query_log_path");
|
461
|
-
#endif
|
462
450
|
}
|
463
451
|
|
464
452
|
void
|
465
453
|
rb_grn_init_logger (VALUE mGrn)
|
466
454
|
{
|
455
|
+
id_new = rb_intern("new");
|
456
|
+
id_parse = rb_intern("parse");
|
457
|
+
id_log = rb_intern("log");
|
458
|
+
id_reopen = rb_intern("reopen");
|
459
|
+
id_fin = rb_intern("fin");
|
460
|
+
|
461
|
+
rb_grn_logger.log = rb_grn_logger_log;
|
462
|
+
rb_grn_logger.reopen = rb_grn_logger_reopen;
|
463
|
+
rb_grn_logger.fin = rb_grn_logger_fin;
|
464
|
+
|
465
|
+
rb_grn_logger.user_data = (void *)Qnil;
|
466
|
+
|
467
467
|
cGrnLogger = rb_define_class_under(mGrn, "Logger", rb_cObject);
|
468
|
-
rb_define_alloc_func(cGrnLogger, rb_grn_logger_alloc);
|
469
468
|
|
470
469
|
rb_cv_set(cGrnLogger, "@@current_logger", Qnil);
|
471
470
|
rb_cv_set(cGrnLogger, "@@log_path", Qnil);
|
472
471
|
rb_cv_set(cGrnLogger, "@@query_log_path", Qnil);
|
473
472
|
rb_define_singleton_method(cGrnLogger, "register",
|
474
473
|
rb_grn_logger_s_register, -1);
|
474
|
+
rb_define_singleton_method(cGrnLogger, "unregister",
|
475
|
+
rb_grn_logger_s_unregister, 0);
|
475
476
|
rb_define_singleton_method(cGrnLogger, "reopen",
|
476
477
|
rb_grn_logger_s_reopen, 0);
|
477
478
|
rb_define_singleton_method(cGrnLogger, "log_path",
|
@@ -484,5 +485,16 @@ rb_grn_init_logger (VALUE mGrn)
|
|
484
485
|
rb_grn_logger_s_set_query_log_path, 1);
|
485
486
|
rb_set_end_proc(rb_grn_logger_reset, cGrnLogger);
|
486
487
|
|
487
|
-
|
488
|
+
mGrnLoggerFlags = rb_define_module_under(cGrnLogger, "Flags");
|
489
|
+
#define DEFINE_FLAG(NAME) \
|
490
|
+
rb_define_const(mGrnLoggerFlags, \
|
491
|
+
#NAME, INT2NUM(GRN_LOG_ ## NAME))
|
492
|
+
DEFINE_FLAG(TIME);
|
493
|
+
DEFINE_FLAG(TITLE);
|
494
|
+
DEFINE_FLAG(MESSAGE);
|
495
|
+
DEFINE_FLAG(LOCATION);
|
496
|
+
#undef DEFINE_FLAG
|
497
|
+
|
498
|
+
cGrnCallbackLogger =
|
499
|
+
rb_define_class_under(mGrn, "CallbackLogger", cGrnLogger);
|
488
500
|
}
|