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
@@ -1,53 +0,0 @@
|
|
1
|
-
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
|
-
/*
|
3
|
-
Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
|
5
|
-
This library is free software; you can redistribute it and/or
|
6
|
-
modify it under the terms of the GNU Lesser General Public
|
7
|
-
License version 2.1 as published by the Free Software Foundation.
|
8
|
-
|
9
|
-
This library is distributed in the hope that it will be useful,
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
-
Lesser General Public License for more details.
|
13
|
-
|
14
|
-
You should have received a copy of the GNU Lesser General Public
|
15
|
-
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
-
*/
|
18
|
-
|
19
|
-
#include "rb-grn.h"
|
20
|
-
|
21
|
-
#define SELF(object) (RVAL2GRNVIEWACCESSOR(object))
|
22
|
-
|
23
|
-
VALUE rb_cGrnViewAccessor;
|
24
|
-
|
25
|
-
grn_obj *
|
26
|
-
rb_grn_view_accessor_from_ruby_object (VALUE object)
|
27
|
-
{
|
28
|
-
if (!RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cGrnViewAccessor))) {
|
29
|
-
rb_raise(rb_eTypeError, "not a groonga accessor view");
|
30
|
-
}
|
31
|
-
|
32
|
-
return RVAL2GRNOBJECT(object, NULL);
|
33
|
-
}
|
34
|
-
|
35
|
-
VALUE
|
36
|
-
rb_grn_view_accessor_to_ruby_object (grn_ctx *context, grn_obj *table,
|
37
|
-
grn_bool owner)
|
38
|
-
{
|
39
|
-
return GRNOBJECT2RVAL(rb_cGrnViewAccessor, context, table, owner);
|
40
|
-
}
|
41
|
-
|
42
|
-
/*
|
43
|
-
* Document-class: Groonga::ViewAccessor < Groonga::Object
|
44
|
-
*
|
45
|
-
* キー、値、スコアなど種々の値へのアクセスをカプセル化した
|
46
|
-
* オブジェクト。 {Groonga::Table#column} で取得できる。
|
47
|
-
*/
|
48
|
-
void
|
49
|
-
rb_grn_init_view_accessor (VALUE mGrn)
|
50
|
-
{
|
51
|
-
rb_cGrnViewAccessor =
|
52
|
-
rb_define_class_under(mGrn, "ViewAccessor", rb_cGrnObject);
|
53
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
|
-
/*
|
3
|
-
Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
|
5
|
-
This library is free software; you can redistribute it and/or
|
6
|
-
modify it under the terms of the GNU Lesser General Public
|
7
|
-
License version 2.1 as published by the Free Software Foundation.
|
8
|
-
|
9
|
-
This library is distributed in the hope that it will be useful,
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
-
Lesser General Public License for more details.
|
13
|
-
|
14
|
-
You should have received a copy of the GNU Lesser General Public
|
15
|
-
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
-
*/
|
18
|
-
|
19
|
-
#include "rb-grn.h"
|
20
|
-
|
21
|
-
VALUE rb_cGrnViewCursor;
|
22
|
-
|
23
|
-
/*
|
24
|
-
* Document-class: Groonga::ViewCursor < Groonga::TableCursor
|
25
|
-
*
|
26
|
-
* {Groonga::View} からレコードを順番に取り出すためのオブジェク
|
27
|
-
* ト。利用できるメソッドは {Groonga::TableCursor} を参照。
|
28
|
-
*/
|
29
|
-
|
30
|
-
void
|
31
|
-
rb_grn_init_view_cursor (VALUE mGrn)
|
32
|
-
{
|
33
|
-
rb_cGrnViewCursor =
|
34
|
-
rb_define_class_under(mGrn, "ViewCursor", rb_cGrnTableCursor);
|
35
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
|
-
/*
|
3
|
-
Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
|
5
|
-
This library is free software; you can redistribute it and/or
|
6
|
-
modify it under the terms of the GNU Lesser General Public
|
7
|
-
License version 2.1 as published by the Free Software Foundation.
|
8
|
-
|
9
|
-
This library is distributed in the hope that it will be useful,
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
-
Lesser General Public License for more details.
|
13
|
-
|
14
|
-
You should have received a copy of the GNU Lesser General Public
|
15
|
-
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
-
*/
|
18
|
-
|
19
|
-
#include "rb-grn.h"
|
20
|
-
|
21
|
-
VALUE rb_cGrnViewRecord;
|
22
|
-
|
23
|
-
VALUE
|
24
|
-
rb_grn_view_record_new (VALUE view, grn_obj *id)
|
25
|
-
{
|
26
|
-
return rb_grn_view_record_new_raw(view,
|
27
|
-
rb_str_new(GRN_TEXT_VALUE(id),
|
28
|
-
GRN_TEXT_LEN(id)));
|
29
|
-
}
|
30
|
-
|
31
|
-
VALUE
|
32
|
-
rb_grn_view_record_new_raw (VALUE view, VALUE rb_id)
|
33
|
-
{
|
34
|
-
return rb_funcall(rb_cGrnViewRecord, rb_intern("new"), 2, view, rb_id);
|
35
|
-
}
|
36
|
-
|
37
|
-
void
|
38
|
-
rb_grn_init_view_record (VALUE mGrn)
|
39
|
-
{
|
40
|
-
rb_cGrnViewRecord = rb_const_get(mGrn, rb_intern("ViewRecord"));
|
41
|
-
}
|
data/ext/groonga/rb-grn-view.c
DELETED
@@ -1,414 +0,0 @@
|
|
1
|
-
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
|
-
/*
|
3
|
-
Copyright (C) 2010-2011 Kouhei Sutou <kou@clear-code.com>
|
4
|
-
|
5
|
-
This library is free software; you can redistribute it and/or
|
6
|
-
modify it under the terms of the GNU Lesser General Public
|
7
|
-
License version 2.1 as published by the Free Software Foundation.
|
8
|
-
|
9
|
-
This library is distributed in the hope that it will be useful,
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
-
Lesser General Public License for more details.
|
13
|
-
|
14
|
-
You should have received a copy of the GNU Lesser General Public
|
15
|
-
License along with this library; if not, write to the Free Software
|
16
|
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
-
*/
|
18
|
-
|
19
|
-
#include "rb-grn.h"
|
20
|
-
|
21
|
-
/* FIXME */
|
22
|
-
grn_id grn_view_add(grn_ctx *ctx, grn_obj *view, grn_obj *table);
|
23
|
-
grn_rc grn_table_cursor_next_o(grn_ctx *ctx, grn_table_cursor *tc, grn_obj *id);
|
24
|
-
grn_obj *grn_obj_get_value_o(grn_ctx *ctx, grn_obj *obj, grn_obj *id, grn_obj *value);
|
25
|
-
|
26
|
-
#define SELF(object) ((RbGrnTable *)DATA_PTR(object))
|
27
|
-
|
28
|
-
VALUE rb_cGrnView;
|
29
|
-
|
30
|
-
/*
|
31
|
-
* Document-class: Groonga::View < Groonga::Table
|
32
|
-
*
|
33
|
-
* 複数のテーブルを1つのテーブルとして扱う仮想的なテーブル
|
34
|
-
* (ビュー)。
|
35
|
-
*/
|
36
|
-
|
37
|
-
/*
|
38
|
-
* 複数のテーブルを1つのテーブルとして扱う仮想的なテーブル
|
39
|
-
* (ビュー)を生成する。ブロックを指定すると、そのブロック
|
40
|
-
* に生成したテーブルが渡され、ブロックを抜けると自動的にテー
|
41
|
-
* ブルが破棄される。
|
42
|
-
*
|
43
|
-
* ビューにテーブルを追加するときは {#add_table} を
|
44
|
-
* 使う。
|
45
|
-
*
|
46
|
-
* @example 無名一時ビューを生成する。
|
47
|
-
* Groonga::View.create
|
48
|
-
*
|
49
|
-
* @example 無名永続ビューを生成する。
|
50
|
-
* Groonga::View.create(:path => "/tmp/view.grn")
|
51
|
-
*
|
52
|
-
* @example 名前付き永続ビューを生成する。ただし、ファイル名は気にしない。
|
53
|
-
* Groonga::View.create(:name => "Entries",
|
54
|
-
* :persistent => true)
|
55
|
-
*
|
56
|
-
* @example +Users+ テーブルと +Dogs+ テーブルを横断検索するためのビューを生成する。
|
57
|
-
* entries = Groonga::View.create(:name => "Entries")
|
58
|
-
* entries.add_table("Users")
|
59
|
-
* entries.add_table("Dogs")
|
60
|
-
*
|
61
|
-
* @overload create(options={})
|
62
|
-
* @return [Groonga::View]
|
63
|
-
* @!macro [new] view.create.options
|
64
|
-
* @param options [::Hash] The name and value
|
65
|
-
* pairs. Omitted names are initialized as the default value
|
66
|
-
* @option options :context (Groonga::Context.default)
|
67
|
-
* ビューが利用する {Groonga::Context} 。
|
68
|
-
* @option options :name
|
69
|
-
* ビューの名前。名前をつけると、 {Groonga::Context#[]} に名
|
70
|
-
* 前を指定してビューを取得することができる。省略すると
|
71
|
-
* 無名ビューになり、ビューIDでのみ取得できる。
|
72
|
-
* @option options :path
|
73
|
-
* ビューを保存するパス。パスを指定すると永続ビューとな
|
74
|
-
* り、プロセス終了後もレコードは保持される。次回起動時に
|
75
|
-
* {Groonga::View.open} で保存されたビューを利用することが
|
76
|
-
* できる。省略すると一時ビューになり、プロセスが終了する
|
77
|
-
* とビューは破棄される。
|
78
|
-
* @option options :persistent
|
79
|
-
* +true+ を指定すると永続ビューとなる。 +path+ を省略した
|
80
|
-
* 場合は自動的にパスが付加される。 +:context+ で指定した
|
81
|
-
* {Groonga::Context} に結びついているデータベースが一時デー
|
82
|
-
* タベースの場合は例外が発生する。
|
83
|
-
* @!macro view.create.options
|
84
|
-
* @overload create(options={})
|
85
|
-
* @yield [table]
|
86
|
-
* @!macro view.create.options
|
87
|
-
*/
|
88
|
-
static VALUE
|
89
|
-
rb_grn_view_s_create (int argc, VALUE *argv, VALUE klass)
|
90
|
-
{
|
91
|
-
grn_ctx *context;
|
92
|
-
grn_obj *table;
|
93
|
-
const char *name = NULL, *path = NULL;
|
94
|
-
unsigned name_size = 0;
|
95
|
-
grn_obj_flags flags = GRN_TABLE_VIEW;
|
96
|
-
VALUE rb_table;
|
97
|
-
VALUE options, rb_context, rb_name, rb_path, rb_persistent;
|
98
|
-
|
99
|
-
rb_scan_args(argc, argv, "01", &options);
|
100
|
-
|
101
|
-
rb_grn_scan_options(options,
|
102
|
-
"context", &rb_context,
|
103
|
-
"name", &rb_name,
|
104
|
-
"path", &rb_path,
|
105
|
-
"persistent", &rb_persistent,
|
106
|
-
NULL);
|
107
|
-
|
108
|
-
context = rb_grn_context_ensure(&rb_context);
|
109
|
-
|
110
|
-
if (!NIL_P(rb_name)) {
|
111
|
-
name = StringValuePtr(rb_name);
|
112
|
-
name_size = RSTRING_LEN(rb_name);
|
113
|
-
flags |= GRN_OBJ_PERSISTENT;
|
114
|
-
}
|
115
|
-
|
116
|
-
if (!NIL_P(rb_path)) {
|
117
|
-
path = StringValueCStr(rb_path);
|
118
|
-
flags |= GRN_OBJ_PERSISTENT;
|
119
|
-
}
|
120
|
-
|
121
|
-
if (RVAL2CBOOL(rb_persistent))
|
122
|
-
flags |= GRN_OBJ_PERSISTENT;
|
123
|
-
|
124
|
-
table = grn_table_create(context, name, name_size, path, flags, NULL, NULL);
|
125
|
-
if (!table)
|
126
|
-
rb_grn_context_check(context, rb_ary_new4(argc, argv));
|
127
|
-
rb_table = GRNOBJECT2RVAL(klass, context, table, GRN_TRUE);
|
128
|
-
|
129
|
-
if (rb_block_given_p())
|
130
|
-
return rb_ensure(rb_yield, rb_table, rb_grn_object_close, rb_table);
|
131
|
-
else
|
132
|
-
return rb_table;
|
133
|
-
}
|
134
|
-
|
135
|
-
/*
|
136
|
-
* _table_ をビューからアクセスできるようにする。
|
137
|
-
*
|
138
|
-
* @overload add_table(table)
|
139
|
-
*/
|
140
|
-
static VALUE
|
141
|
-
rb_grn_view_add_table (VALUE self, VALUE rb_table)
|
142
|
-
{
|
143
|
-
#ifdef WIN32
|
144
|
-
rb_raise(rb_eNotImpError, "grn_view_add() isn't available on Windows.");
|
145
|
-
#else
|
146
|
-
grn_ctx *context = NULL;
|
147
|
-
grn_obj *view, *table;
|
148
|
-
|
149
|
-
rb_grn_table_deconstruct(SELF(self), &view, &context,
|
150
|
-
NULL, NULL,
|
151
|
-
NULL, NULL, NULL,
|
152
|
-
NULL);
|
153
|
-
table = RVAL2GRNOBJECT(rb_table, &context);
|
154
|
-
grn_view_add(context, view, table);
|
155
|
-
rb_grn_context_check(context, self);
|
156
|
-
#endif
|
157
|
-
|
158
|
-
return Qnil;
|
159
|
-
}
|
160
|
-
|
161
|
-
/*
|
162
|
-
* ビューに登録されているテーブルのレコードを順番にブロック
|
163
|
-
* に渡す。
|
164
|
-
*
|
165
|
-
* @overload each
|
166
|
-
* @yield [record]
|
167
|
-
*/
|
168
|
-
static VALUE
|
169
|
-
rb_grn_view_each (VALUE self)
|
170
|
-
{
|
171
|
-
#ifdef WIN32
|
172
|
-
rb_raise(rb_eNotImpError,
|
173
|
-
"grn_table_cursor_next_o() isn't available on Windows.");
|
174
|
-
#else
|
175
|
-
RbGrnTable *rb_grn_view;
|
176
|
-
RbGrnObject *rb_grn_object;
|
177
|
-
grn_ctx *context = NULL;
|
178
|
-
grn_obj *view;
|
179
|
-
grn_table_cursor *cursor;
|
180
|
-
VALUE rb_cursor;
|
181
|
-
grn_obj id;
|
182
|
-
grn_rc rc = GRN_SUCCESS;
|
183
|
-
|
184
|
-
rb_grn_view = SELF(self);
|
185
|
-
rb_grn_table_deconstruct(rb_grn_view, &view, &context,
|
186
|
-
NULL, NULL,
|
187
|
-
NULL, NULL, NULL,
|
188
|
-
NULL);
|
189
|
-
cursor = grn_table_cursor_open(context, view, NULL, 0, NULL, 0,
|
190
|
-
0, -1, GRN_CURSOR_ASCENDING);
|
191
|
-
rb_cursor = GRNTABLECURSOR2RVAL(Qnil, context, cursor);
|
192
|
-
rb_grn_object = RB_GRN_OBJECT(rb_grn_view);
|
193
|
-
GRN_TEXT_INIT(&id, 0);
|
194
|
-
while (rb_grn_object->object &&
|
195
|
-
(rc = grn_table_cursor_next_o(context, cursor, &id)) == GRN_SUCCESS) {
|
196
|
-
rb_yield(rb_grn_view_record_new(self, &id));
|
197
|
-
}
|
198
|
-
GRN_OBJ_FIN(context, &id);
|
199
|
-
rb_grn_object_close(rb_cursor);
|
200
|
-
|
201
|
-
if (!(rc == GRN_SUCCESS || rc == GRN_END_OF_DATA)) {
|
202
|
-
rb_grn_context_check(context, self);
|
203
|
-
}
|
204
|
-
#endif
|
205
|
-
|
206
|
-
return Qnil;
|
207
|
-
}
|
208
|
-
|
209
|
-
/*
|
210
|
-
* _view_ の _id_ に対応するカラム _name_ のもつ値を返す。
|
211
|
-
*
|
212
|
-
* @overload column_value(id, name)
|
213
|
-
* @param [String] id _view_ のもつ _id_
|
214
|
-
* @param [String] name _id_ に対応するカラム名
|
215
|
-
* @return カラム _name_ のもつ値
|
216
|
-
*/
|
217
|
-
static VALUE
|
218
|
-
rb_grn_view_get_column_value (VALUE self, VALUE rb_id, VALUE rb_name)
|
219
|
-
{
|
220
|
-
VALUE rb_value = Qnil;
|
221
|
-
#ifdef WIN32
|
222
|
-
rb_raise(rb_eNotImpError,
|
223
|
-
"grn_obj_get_value_o() isn't available on Windows.");
|
224
|
-
#else
|
225
|
-
RbGrnTable *rb_view;
|
226
|
-
grn_ctx *context = NULL;
|
227
|
-
grn_obj *view, *value, *accessor;
|
228
|
-
grn_obj id;
|
229
|
-
|
230
|
-
rb_view = SELF(self);
|
231
|
-
rb_grn_table_deconstruct(rb_view, &view, &context,
|
232
|
-
NULL, NULL,
|
233
|
-
&value, NULL, NULL,
|
234
|
-
NULL);
|
235
|
-
GRN_BULK_REWIND(value);
|
236
|
-
GRN_TEXT_INIT(&id, 0);
|
237
|
-
GRN_TEXT_PUT(context, &id, RSTRING_PTR(rb_id), RSTRING_LEN(rb_id));
|
238
|
-
accessor = grn_obj_column(context, view,
|
239
|
-
RSTRING_PTR(rb_name), RSTRING_LEN(rb_name));
|
240
|
-
grn_obj_get_value_o(context, accessor, &id, value);
|
241
|
-
grn_obj_unlink(context, accessor);
|
242
|
-
rb_value = GRNOBJ2RVAL(Qnil, context, value, self);
|
243
|
-
GRN_OBJ_FIN(context, &id);
|
244
|
-
#endif
|
245
|
-
|
246
|
-
return rb_value;
|
247
|
-
}
|
248
|
-
|
249
|
-
/*
|
250
|
-
* call-seq:
|
251
|
-
* view.sort(keys, options={}) -> Groonga::ViewRecordの配列
|
252
|
-
*
|
253
|
-
* テーブルに登録されているレコードを _keys_ で指定されたルー
|
254
|
-
* ルに従ってソートしたレコードの配列を返す。
|
255
|
-
* <pre>
|
256
|
-
* ==[
|
257
|
-
* {:key => "カラム名", :order => :asc, :ascending,
|
258
|
-
* :desc, :descendingのいずれか},
|
259
|
-
* {:key => "カラム名", :order => :asc, :ascending,
|
260
|
-
* :desc, :descendingのいずれか},
|
261
|
-
* ...,
|
262
|
-
* ]==
|
263
|
-
* </pre>
|
264
|
-
* _options_ に指定可能な値は以下の通り。
|
265
|
-
* @param options [::Hash] The name and value
|
266
|
-
* pairs. Omitted names are initialized as the default value
|
267
|
-
* @option options :offset The offset
|
268
|
-
*
|
269
|
-
* ソートされたレコードのうち、(0ベースで) _:offset_ 番目
|
270
|
-
* からレコードを取り出す。
|
271
|
-
*
|
272
|
-
* @option options :limit The limit
|
273
|
-
*
|
274
|
-
* ソートされたレコードのうち、 _:limit_ 件のみを取り出す。
|
275
|
-
* 省略された場合または-1が指定された場合は、全件が指定され
|
276
|
-
* たものとみなす。
|
277
|
-
*/
|
278
|
-
/* FIXME: DON'T WORK!!! */
|
279
|
-
static VALUE
|
280
|
-
rb_grn_view_sort (int argc, VALUE *argv, VALUE self)
|
281
|
-
{
|
282
|
-
VALUE rb_result = Qnil;
|
283
|
-
|
284
|
-
#ifdef WIN32
|
285
|
-
rb_raise(rb_eNotImpError, "grn_view_add() isn't available on Windows.");
|
286
|
-
#else
|
287
|
-
grn_ctx *context = NULL;
|
288
|
-
grn_obj *view;
|
289
|
-
grn_obj *result;
|
290
|
-
grn_table_sort_key *keys;
|
291
|
-
int i, n_keys;
|
292
|
-
int offset = 0, limit = -1;
|
293
|
-
VALUE rb_keys, options;
|
294
|
-
VALUE rb_offset, rb_limit;
|
295
|
-
VALUE *rb_sort_keys;
|
296
|
-
grn_table_cursor *cursor;
|
297
|
-
VALUE exception;
|
298
|
-
grn_obj id;
|
299
|
-
|
300
|
-
rb_grn_table_deconstruct(SELF(self), &view, &context,
|
301
|
-
NULL, NULL,
|
302
|
-
NULL, NULL, NULL,
|
303
|
-
NULL);
|
304
|
-
|
305
|
-
rb_scan_args(argc, argv, "11", &rb_keys, &options);
|
306
|
-
|
307
|
-
if (!RVAL2CBOOL(rb_obj_is_kind_of(rb_keys, rb_cArray)))
|
308
|
-
rb_raise(rb_eArgError, "keys should be an array of key: <%s>",
|
309
|
-
rb_grn_inspect(rb_keys));
|
310
|
-
|
311
|
-
n_keys = RARRAY_LEN(rb_keys);
|
312
|
-
rb_sort_keys = RARRAY_PTR(rb_keys);
|
313
|
-
keys = ALLOCA_N(grn_table_sort_key, n_keys);
|
314
|
-
for (i = 0; i < n_keys; i++) {
|
315
|
-
VALUE rb_sort_options, rb_key, rb_resolved_key, rb_order;
|
316
|
-
|
317
|
-
if (RVAL2CBOOL(rb_obj_is_kind_of(rb_sort_keys[i], rb_cHash))) {
|
318
|
-
rb_sort_options = rb_sort_keys[i];
|
319
|
-
} else if (RVAL2CBOOL(rb_obj_is_kind_of(rb_sort_keys[i], rb_cArray))) {
|
320
|
-
rb_sort_options = rb_hash_new();
|
321
|
-
rb_hash_aset(rb_sort_options,
|
322
|
-
RB_GRN_INTERN("key"),
|
323
|
-
rb_ary_entry(rb_sort_keys[i], 0));
|
324
|
-
rb_hash_aset(rb_sort_options,
|
325
|
-
RB_GRN_INTERN("order"),
|
326
|
-
rb_ary_entry(rb_sort_keys[i], 1));
|
327
|
-
} else {
|
328
|
-
rb_sort_options = rb_hash_new();
|
329
|
-
rb_hash_aset(rb_sort_options,
|
330
|
-
RB_GRN_INTERN("key"),
|
331
|
-
rb_sort_keys[i]);
|
332
|
-
}
|
333
|
-
rb_grn_scan_options(rb_sort_options,
|
334
|
-
"key", &rb_key,
|
335
|
-
"order", &rb_order,
|
336
|
-
NULL);
|
337
|
-
if (RVAL2CBOOL(rb_obj_is_kind_of(rb_key, rb_cString))) {
|
338
|
-
rb_resolved_key = rb_grn_table_get_column(self, rb_key);
|
339
|
-
} else {
|
340
|
-
rb_resolved_key = rb_key;
|
341
|
-
}
|
342
|
-
keys[i].key = RVAL2GRNOBJECT(rb_resolved_key, &context);
|
343
|
-
if (!keys[i].key) {
|
344
|
-
rb_raise(rb_eGrnNoSuchColumn,
|
345
|
-
"no such column: <%s>: <%s>",
|
346
|
-
rb_grn_inspect(rb_key), rb_grn_inspect(self));
|
347
|
-
}
|
348
|
-
if (NIL_P(rb_order)) {
|
349
|
-
keys[i].flags = 0;
|
350
|
-
} else if (rb_grn_equal_option(rb_order, "desc") ||
|
351
|
-
rb_grn_equal_option(rb_order, "descending")) {
|
352
|
-
keys[i].flags = GRN_TABLE_SORT_DESC;
|
353
|
-
} else if (rb_grn_equal_option(rb_order, "asc") ||
|
354
|
-
rb_grn_equal_option(rb_order, "ascending")) {
|
355
|
-
keys[i].flags = GRN_TABLE_SORT_ASC;
|
356
|
-
} else {
|
357
|
-
rb_raise(rb_eArgError,
|
358
|
-
"order should be one of "
|
359
|
-
"[nil, :desc, :descending, :asc, :ascending]: %s",
|
360
|
-
rb_grn_inspect(rb_order));
|
361
|
-
}
|
362
|
-
}
|
363
|
-
|
364
|
-
rb_grn_scan_options(options,
|
365
|
-
"offset", &rb_offset,
|
366
|
-
"limit", &rb_limit,
|
367
|
-
NULL);
|
368
|
-
|
369
|
-
if (!NIL_P(rb_offset))
|
370
|
-
offset = NUM2INT(rb_offset);
|
371
|
-
if (!NIL_P(rb_limit))
|
372
|
-
limit = NUM2INT(rb_limit);
|
373
|
-
|
374
|
-
result = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_VIEW,
|
375
|
-
NULL, NULL);
|
376
|
-
/* use n_records that is return value from
|
377
|
-
grn_table_sort() when rroonga user become specifying
|
378
|
-
output table. */
|
379
|
-
grn_table_sort(context, view, offset, limit, result, keys, n_keys);
|
380
|
-
exception = rb_grn_context_to_exception(context, self);
|
381
|
-
if (!NIL_P(exception)) {
|
382
|
-
grn_obj_unlink(context, result);
|
383
|
-
rb_exc_raise(exception);
|
384
|
-
}
|
385
|
-
|
386
|
-
rb_result = rb_ary_new();
|
387
|
-
cursor = grn_table_cursor_open(context, result, NULL, 0, NULL, 0,
|
388
|
-
0, -1, GRN_CURSOR_ASCENDING);
|
389
|
-
GRN_TEXT_INIT(&id, 0);
|
390
|
-
while (grn_table_cursor_next_o(context, cursor, &id) == GRN_SUCCESS) {
|
391
|
-
rb_ary_push(rb_result, rb_grn_view_record_new(self, &id));
|
392
|
-
}
|
393
|
-
GRN_OBJ_FIN(context, &id);
|
394
|
-
grn_table_cursor_close(context, cursor);
|
395
|
-
grn_obj_unlink(context, result);
|
396
|
-
#endif
|
397
|
-
|
398
|
-
return rb_result;
|
399
|
-
}
|
400
|
-
|
401
|
-
void
|
402
|
-
rb_grn_init_view (VALUE mGrn)
|
403
|
-
{
|
404
|
-
rb_cGrnView = rb_define_class_under(mGrn, "View", rb_cGrnTable);
|
405
|
-
|
406
|
-
rb_define_singleton_method(rb_cGrnView, "create",
|
407
|
-
rb_grn_view_s_create, -1);
|
408
|
-
|
409
|
-
rb_define_method(rb_cGrnView, "add_table", rb_grn_view_add_table, 1);
|
410
|
-
rb_define_method(rb_cGrnView, "each", rb_grn_view_each, 0);
|
411
|
-
rb_define_method(rb_cGrnView, "column_value",
|
412
|
-
rb_grn_view_get_column_value, 2);
|
413
|
-
rb_define_method(rb_cGrnView, "sort", rb_grn_view_sort, -1);
|
414
|
-
}
|
data/test/test-schema-view.rb
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
# Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
|
2
|
-
#
|
3
|
-
# This library is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU Lesser General Public
|
5
|
-
# License version 2.1 as published by the Free Software Foundation.
|
6
|
-
#
|
7
|
-
# This library is distributed in the hope that it will be useful,
|
8
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
-
# Lesser General Public License for more details.
|
11
|
-
#
|
12
|
-
# You should have received a copy of the GNU Lesser General Public
|
13
|
-
# License along with this library; if not, write to the Free Software
|
14
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
15
|
-
|
16
|
-
class SchemaViewTest < Test::Unit::TestCase
|
17
|
-
include GroongaTestUtils
|
18
|
-
|
19
|
-
setup :setup_database
|
20
|
-
|
21
|
-
def test_create_view
|
22
|
-
assert_nil(context["Entries"])
|
23
|
-
Groonga::Schema.create_view("Entries") do |view|
|
24
|
-
end
|
25
|
-
assert_not_nil(context["Entries"])
|
26
|
-
end
|
27
|
-
|
28
|
-
def test_create_view_force
|
29
|
-
Groonga::Schema.create_table("People") do |table|
|
30
|
-
table.string("name")
|
31
|
-
end
|
32
|
-
context["People"].add(:name => "morita")
|
33
|
-
|
34
|
-
Groonga::Schema.create_view("Entries") do |view|
|
35
|
-
view.add("People")
|
36
|
-
end
|
37
|
-
assert_equal(["morita"],
|
38
|
-
context["Entries"].collect {|entry| entry["name"]})
|
39
|
-
|
40
|
-
Groonga::Schema.create_view("People") do |view|
|
41
|
-
end
|
42
|
-
assert_equal(["morita"],
|
43
|
-
context["Entries"].collect {|entry| entry["name"]})
|
44
|
-
|
45
|
-
Groonga::Schema.create_view("Entries", :force => true) do |view|
|
46
|
-
end
|
47
|
-
assert_equal([],
|
48
|
-
context["Entries"].collect {|entry| entry["name"]})
|
49
|
-
end
|
50
|
-
|
51
|
-
def test_remove_view
|
52
|
-
Groonga::View.create(:name => "Entries")
|
53
|
-
assert_not_nil(context["Entries"])
|
54
|
-
Groonga::Schema.remove_view("Entries")
|
55
|
-
assert_nil(context["Entries"])
|
56
|
-
end
|
57
|
-
|
58
|
-
def test_add
|
59
|
-
Groonga::Schema.create_table("People") do |table|
|
60
|
-
table.string("name")
|
61
|
-
end
|
62
|
-
context["People"].add(:name => "morita")
|
63
|
-
|
64
|
-
Groonga::Schema.create_table("Dogs") do |table|
|
65
|
-
table.string("name")
|
66
|
-
end
|
67
|
-
context["Dogs"].add(:name => "pochi")
|
68
|
-
|
69
|
-
Groonga::Schema.create_view("Entries") do |view|
|
70
|
-
view.add("People")
|
71
|
-
view.add("Dogs")
|
72
|
-
end
|
73
|
-
assert_equal(["morita", "pochi"],
|
74
|
-
context["Entries"].collect {|entry| entry["name"]})
|
75
|
-
end
|
76
|
-
|
77
|
-
def test_define_lazy
|
78
|
-
assert_nothing_raised do
|
79
|
-
Groonga::Schema.define do |schema|
|
80
|
-
schema.create_table("People") do |table|
|
81
|
-
table.string("name")
|
82
|
-
end
|
83
|
-
|
84
|
-
schema.create_view("Entries") do |view|
|
85
|
-
view.add("People")
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
data/test/test-view.rb
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
# Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com>
|
2
|
-
#
|
3
|
-
# This library is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU Lesser General Public
|
5
|
-
# License version 2.1 as published by the Free Software Foundation.
|
6
|
-
#
|
7
|
-
# This library is distributed in the hope that it will be useful,
|
8
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
-
# Lesser General Public License for more details.
|
11
|
-
#
|
12
|
-
# You should have received a copy of the GNU Lesser General Public
|
13
|
-
# License along with this library; if not, write to the Free Software
|
14
|
-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
15
|
-
|
16
|
-
class ViewTest < Test::Unit::TestCase
|
17
|
-
include GroongaTestUtils
|
18
|
-
|
19
|
-
setup :setup_database
|
20
|
-
|
21
|
-
def test_inspect
|
22
|
-
path = @tables_dir + "users.groonga"
|
23
|
-
view = Groonga::View.create(:name => "Users", :path => path.to_s)
|
24
|
-
assert_equal("#<Groonga::View " +
|
25
|
-
"id: <#{view.id}>, " +
|
26
|
-
"name: <Users>, " +
|
27
|
-
"path: <#{path}>, " +
|
28
|
-
"domain: (nil), " +
|
29
|
-
"range: (nil), " +
|
30
|
-
"flags: <>, " +
|
31
|
-
"size: <0>>",
|
32
|
-
view.inspect)
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_encoding
|
36
|
-
view = Groonga::View.create
|
37
|
-
assert_false(view.respond_to?(:encoding))
|
38
|
-
end
|
39
|
-
|
40
|
-
def test_add_table
|
41
|
-
users = Groonga::Array.create(:name => "Users")
|
42
|
-
dogs = Groonga::Array.create(:name => "Dogs")
|
43
|
-
entries = Groonga::View.create(:name => "Entries")
|
44
|
-
entries.add_table(users)
|
45
|
-
entries.add_table(dogs)
|
46
|
-
|
47
|
-
assert_equal(0, entries.size)
|
48
|
-
users.add
|
49
|
-
assert_equal(1, entries.size)
|
50
|
-
dogs.add
|
51
|
-
assert_equal(2, entries.size)
|
52
|
-
end
|
53
|
-
|
54
|
-
def test_sort
|
55
|
-
users = Groonga::Hash.create(:name => "Users", :key_type => "ShortText")
|
56
|
-
dogs = Groonga::Hash.create(:name => "Dogs", :key_type => "ShortText")
|
57
|
-
entries = Groonga::View.create(:name => "Entries")
|
58
|
-
entries.add_table(users)
|
59
|
-
entries.add_table(dogs)
|
60
|
-
|
61
|
-
users.add("morita")
|
62
|
-
users.add("tasuku")
|
63
|
-
users.add("yu")
|
64
|
-
dogs.add("pochi")
|
65
|
-
dogs.add("bob")
|
66
|
-
dogs.add("fuga")
|
67
|
-
omit("View#sort is broken!!!")
|
68
|
-
assert_equal(["XXX"],
|
69
|
-
entries.sort(["_key"], :limit => 2).collect {|entry| entry["_key"]})
|
70
|
-
end
|
71
|
-
end
|