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,286 +0,0 @@
|
|
1
|
-
.. -*- rst -*-
|
2
|
-
|
3
|
-
.. highlightlang:: none
|
4
|
-
|
5
|
-
.. groonga-command
|
6
|
-
.. database: tutorial
|
7
|
-
|
8
|
-
Basic operations
|
9
|
-
================
|
10
|
-
|
11
|
-
A groonga package provides a C library (libgroonga) and a command line tool (groonga). This tutorial explains how to use the command line tool, with which you can create/operate databases, start a server, establish a connection with a server, etc.
|
12
|
-
|
13
|
-
Create a database
|
14
|
-
-----------------
|
15
|
-
|
16
|
-
The first step to using groonga is to create a new database. The following shows how to do it.
|
17
|
-
|
18
|
-
Form::
|
19
|
-
|
20
|
-
groonga -n DB_PATH
|
21
|
-
|
22
|
-
The `-n` option specifies to create a new database and DB_PATH specifies the path of the new database. Actually, a database consists of a series of files and DB_PATH specifies the file which will be the entrance to the new database. DB_PATH also specifies the path prefix for other files. Note that database creation fails if DB_PATH points to an existing file.
|
23
|
-
|
24
|
-
This command creates a new database and then enters into interactive mode in which groonga prompts you to enter commands for operating that database. You can terminate this mode with Ctrl-d.
|
25
|
-
|
26
|
-
.. groonga-command
|
27
|
-
.. include:: ../example/tutorial/introduction-1.log
|
28
|
-
.. .. % groonga -n /tmp/groonga-databases/introduction.db
|
29
|
-
|
30
|
-
After this database creation, you can find a series of files in /tmp/groonga-databases.
|
31
|
-
|
32
|
-
Operate a database
|
33
|
-
------------------
|
34
|
-
|
35
|
-
The following shows how to operate an existing database.
|
36
|
-
|
37
|
-
Form::
|
38
|
-
|
39
|
-
groonga DB_PATH [COMMAND]
|
40
|
-
|
41
|
-
DB_PATH specifies the path of a target database. This command fails if the specified database does not exist.
|
42
|
-
|
43
|
-
If COMMAND is specified, groonga executes COMMAND and returns the result. Otherwise, groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode.
|
44
|
-
|
45
|
-
Let's see the status of a groonga process by using a :doc:`/reference/commands/status` command.
|
46
|
-
|
47
|
-
.. groonga-command
|
48
|
-
.. include:: ../example/tutorial/introduction-2.log
|
49
|
-
.. .. % groonga /tmp/groonga-databases/introduction.db
|
50
|
-
.. status
|
51
|
-
|
52
|
-
As shown in the above example, a command returns a JSON array. The first element contains an error code, execution time, etc. The second element is the result of an operation.
|
53
|
-
|
54
|
-
Command format
|
55
|
-
--------------
|
56
|
-
|
57
|
-
Commands for operating a database accept arguments as follows::
|
58
|
-
|
59
|
-
Form_1: COMMAND VALUE_1 VALUE_2 ..
|
60
|
-
|
61
|
-
Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
62
|
-
|
63
|
-
In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning.
|
64
|
-
|
65
|
-
In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments.
|
66
|
-
|
67
|
-
If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes.
|
68
|
-
|
69
|
-
For details, see also the paragraph of "command" in :doc:`/reference/executables/groonga`.
|
70
|
-
|
71
|
-
Basic commands
|
72
|
-
--------------
|
73
|
-
|
74
|
-
:doc:`/reference/commands/status`
|
75
|
-
shows status of a groonga process.
|
76
|
-
:doc:`/reference/commands/table_list`
|
77
|
-
shows a list of tables in a database.
|
78
|
-
:doc:`/reference/commands/column_list`
|
79
|
-
shows a list of columns in a table.
|
80
|
-
:doc:`/reference/commands/table_create`
|
81
|
-
adds a table to a database.
|
82
|
-
:doc:`/reference/commands/column_create`
|
83
|
-
adds a column to a table.
|
84
|
-
:doc:`/reference/commands/select`
|
85
|
-
searches records from a table and shows the result.
|
86
|
-
:doc:`/reference/commands/load`
|
87
|
-
inserts records to a table.
|
88
|
-
|
89
|
-
Create a table
|
90
|
-
--------------
|
91
|
-
|
92
|
-
A :doc:`/reference/commands/table_create` command creates a new table.
|
93
|
-
|
94
|
-
In most cases, a table has a primary key which must be specified with its data type and index type.
|
95
|
-
|
96
|
-
There are various data types such as integers, strings, etc. See also :doc:`/reference/types` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
|
97
|
-
|
98
|
-
Let's create a table. The following example creates a table with a primary key. The `name` parameter specifies the name of the table. The `flags` parameter specifies the index type for the primary key. The `key_type` parameter specifies the data type of the primary key.
|
99
|
-
|
100
|
-
.. groonga-command
|
101
|
-
.. include:: ../example/tutorial/introduction-3.log
|
102
|
-
.. table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
|
103
|
-
|
104
|
-
The second element of the result indicates that the operation succeeded.
|
105
|
-
|
106
|
-
View a table
|
107
|
-
------------
|
108
|
-
|
109
|
-
A :doc:`/reference/commands/select` command can enumerate records in a table.
|
110
|
-
|
111
|
-
.. groonga-command
|
112
|
-
.. include:: ../example/tutorial/introduction-4.log
|
113
|
-
.. select --table Site
|
114
|
-
|
115
|
-
When only a table name is specified with a `table` parameter, a :doc:`/reference/commands/select` command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. ["_id","Uint32"] is a column of UInt32, named _id. ["_key","ShortText"] is a column of ShortText, named _key.
|
116
|
-
|
117
|
-
The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by groonga. The _key column is associated with the primary key. You are not allowed to rename these columns.
|
118
|
-
|
119
|
-
Create a column
|
120
|
-
---------------
|
121
|
-
|
122
|
-
A :doc:`/reference/commands/column_create` command creates a new column.
|
123
|
-
|
124
|
-
Let's add a column. The following example adds a column to the Site table. The `table` parameter specifies the target table. The `name` parameter specifies the name of the column. The `type` parameter specifies the data type of the column.
|
125
|
-
|
126
|
-
.. groonga-command
|
127
|
-
.. include:: ../example/tutorial/introduction-5.log
|
128
|
-
.. column_create --table Site --name title --type ShortText
|
129
|
-
.. select --table Site
|
130
|
-
|
131
|
-
Load records
|
132
|
-
------------
|
133
|
-
|
134
|
-
A :doc:`/reference/commands/load` command loads JSON-formatted records into a table.
|
135
|
-
|
136
|
-
The following example loads nine records into the Site table.
|
137
|
-
|
138
|
-
.. groonga-command
|
139
|
-
.. include:: ../example/tutorial/introduction-6.log
|
140
|
-
.. load --table Site
|
141
|
-
.. [
|
142
|
-
.. {"_key":"http://example.org/","title":"This is test record 1!"},
|
143
|
-
.. {"_key":"http://example.net/","title":"test record 2."},
|
144
|
-
.. {"_key":"http://example.com/","title":"test test record three."},
|
145
|
-
.. {"_key":"http://example.net/afr","title":"test record four."},
|
146
|
-
.. {"_key":"http://example.org/aba","title":"test test test record five."},
|
147
|
-
.. {"_key":"http://example.com/rab","title":"test test test test record six."},
|
148
|
-
.. {"_key":"http://example.net/atv","title":"test test test record seven."},
|
149
|
-
.. {"_key":"http://example.org/gat","title":"test test record eight."},
|
150
|
-
.. {"_key":"http://example.com/vdw","title":"test test record nine."},
|
151
|
-
.. ]
|
152
|
-
|
153
|
-
The second element of the result indicates how many records were successfully loaded. In this case, all the records are successfully loaded.
|
154
|
-
|
155
|
-
Let's make sure that these records are correctly stored.
|
156
|
-
|
157
|
-
.. groonga-command
|
158
|
-
.. include:: ../example/tutorial/introduction-7.log
|
159
|
-
.. select --table Site
|
160
|
-
|
161
|
-
Get a record
|
162
|
-
------------
|
163
|
-
|
164
|
-
A :doc:`/reference/commands/select` command can search records in a table.
|
165
|
-
|
166
|
-
If a search condition is specified with a `query` parameter, a :doc:`/reference/commands/select` command searches records matching the search condition and returns the matched records.
|
167
|
-
|
168
|
-
Let's get a record having a specified record ID. The following example gets the first record in the Site table. More precisely, the `query` parameter specifies a record whose _id column stores 1.
|
169
|
-
|
170
|
-
.. groonga-command
|
171
|
-
.. include:: ../example/tutorial/introduction-8.log
|
172
|
-
.. select --table Site --query _id:1
|
173
|
-
|
174
|
-
Next, let's get a record having a specified key. The following example gets the record whose primary key is "http://example.org/". More precisely, the `query` parameter specifies a record whose _key column stores "http://example.org/".
|
175
|
-
|
176
|
-
.. groonga-command
|
177
|
-
.. include:: ../example/tutorial/introduction-9.log
|
178
|
-
.. select --table Site --query '_key:"http://example.org/"'
|
179
|
-
|
180
|
-
Create a lexicon table for full text search
|
181
|
-
-------------------------------------------
|
182
|
-
|
183
|
-
Let's go on to how to make full text search.
|
184
|
-
|
185
|
-
Groonga uses an inverted index to provide fast full text search. So, the first step is to create a lexicon table which stores an inverted index, also known as postings lists. The primary key of this table is associated with a vocabulary made up of index terms and each record stores postings lists for one index term.
|
186
|
-
|
187
|
-
The following shows a command which creates a lexicon table named Terms. The data type of its primary key is ShortText.
|
188
|
-
|
189
|
-
.. groonga-command
|
190
|
-
.. include:: ../example/tutorial/introduction-10.log
|
191
|
-
.. table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
192
|
-
|
193
|
-
The :doc:`/reference/commands/table_create` command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works.
|
194
|
-
|
195
|
-
The TABLE_PAT_KEY flag specifies to store index terms in a patricia trie. The KEY_NORMALIZE flag specifies to normalize index terms. In this example, both flags are validated by using a '|'. The `default_tokenizer` parameter specifies the method for tokenizing text. This example uses TokenBigram that is generally called N-gram.
|
196
|
-
|
197
|
-
Create an index column for full text search
|
198
|
-
-------------------------------------------
|
199
|
-
|
200
|
-
The second step is to create an index column, which allows you to search records from its associated column. That is to say this step specifies which column needs an index.
|
201
|
-
|
202
|
-
Let's create an index column. The following example creates an index column for a column in the Site table.
|
203
|
-
|
204
|
-
.. groonga-command
|
205
|
-
.. include:: ../example/tutorial/introduction-11.log
|
206
|
-
.. column_create --table Terms --name blog_title --flags COLUMN_INDEX|WITH_POSITION --type Site --source title
|
207
|
-
|
208
|
-
The `table` parameter specifies the index table and the `name` parameter specifies the index column. The `type` parameter specifies the target table and the `source` parameter specifies the target column. The COLUMN_INDEX flag specifies to create an index column and the WITH_POSITION flag specifies to create a full inverted index, which contains the positions of each index term. This combination, COLUMN_INDEX|WITH_POSITION, is recommended for the general purpose.
|
209
|
-
|
210
|
-
.. note::
|
211
|
-
|
212
|
-
You can create a lexicon table and index columns before/during/after loading records. If a target column already has records, groonga creates an inverted index in a static manner. In contrast, if you load records into an already indexed column, groonga updates the inverted index in a dynamic manner.
|
213
|
-
|
214
|
-
Full text search
|
215
|
-
----------------
|
216
|
-
|
217
|
-
It's time. You can make full text search with a :doc:`/reference/commands/select` command.
|
218
|
-
|
219
|
-
A query for full text search is specified with a `query` parameter. The following example searches records whose "title" column contains "this". The '@' specifies to make full text search. Note that a lower case query matches upper case and capitalized terms in a record if KEY_NORMALIZE was specified when creating a lexcon table.
|
220
|
-
|
221
|
-
.. groonga-command
|
222
|
-
.. include:: ../example/tutorial/introduction-12.log
|
223
|
-
.. select --table Site --query title:@this
|
224
|
-
|
225
|
-
In this example, the first record matches the query because its title contains "This", that is the capitalized form of the query.
|
226
|
-
|
227
|
-
A :doc:`/reference/commands/select` command accepts an optional parameter, named `match_columns`, that specifies the default target columns. This parameter is used if target columns are not specified in a query. [#]_
|
228
|
-
|
229
|
-
The combination of "`--match_columns` title" and "`--query` this" brings you the same result that "`--query` title:@this" does.
|
230
|
-
|
231
|
-
.. groonga-command
|
232
|
-
.. include:: ../example/tutorial/introduction-13.log
|
233
|
-
.. select --table Site --match_columns title --query this
|
234
|
-
|
235
|
-
Specify output columns
|
236
|
-
----------------------
|
237
|
-
|
238
|
-
An `output_columns` parameter of a :doc:`/reference/commands/select` command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',').
|
239
|
-
|
240
|
-
.. groonga-command
|
241
|
-
.. include:: ../example/tutorial/introduction-14.log
|
242
|
-
.. select --table Site --output_columns _key,title,_score --query title:@test
|
243
|
-
|
244
|
-
This example specifies three output columns including the _score column, which stores the relevance score of each record.
|
245
|
-
|
246
|
-
Specify output ranges
|
247
|
-
---------------------
|
248
|
-
|
249
|
-
A :doc:`/reference/commands/select` command returns a part of its search result if `offset` and/or `limit` parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis.
|
250
|
-
|
251
|
-
An `offset` parameter specifies the starting point and a `limit` parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted.
|
252
|
-
|
253
|
-
.. groonga-command
|
254
|
-
.. include:: ../example/tutorial/introduction-15.log
|
255
|
-
.. select --table Site --offset 0 --limit 3
|
256
|
-
.. select --table Site --offset 3 --limit 3
|
257
|
-
.. select --table Site --offset 7 --limit 3
|
258
|
-
|
259
|
-
Sort a search result
|
260
|
-
--------------------
|
261
|
-
|
262
|
-
A :doc:`/reference/commands/select` command sorts its result when used with a `sortby` parameter.
|
263
|
-
|
264
|
-
A `sortby` parameter specifies a column as a sorting creteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen ('-') to the column name in a parameter.
|
265
|
-
|
266
|
-
The following example shows records in the Site table in reverse order.
|
267
|
-
|
268
|
-
.. groonga-command
|
269
|
-
.. include:: ../example/tutorial/introduction-16.log
|
270
|
-
.. select --table Site --sortby -_id
|
271
|
-
|
272
|
-
The next example uses the _score column as the sorting criteria for ranking the search result. The result is sorted in relevance order.
|
273
|
-
|
274
|
-
.. groonga-command
|
275
|
-
.. include:: ../example/tutorial/introduction-17.log
|
276
|
-
.. select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score
|
277
|
-
|
278
|
-
If you want to specify more than one columns, please separate column names by commas (','). In such a case, a search result is sorted in order of the values in the first column, and then records having the same values in the first column are sorted in order of the second column values.
|
279
|
-
|
280
|
-
.. groonga-command
|
281
|
-
.. include:: ../example/tutorial/introduction-18.log
|
282
|
-
.. select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score,_id
|
283
|
-
|
284
|
-
.. rubric:: footnote
|
285
|
-
|
286
|
-
.. [#] Currently, a `match_columns` parameter is available iff there exists an inverted index for full text search. A `match_columns` parameter for a regular column is not supported.
|
@@ -1,220 +0,0 @@
|
|
1
|
-
.. -*- rst -*-
|
2
|
-
|
3
|
-
.. highlightlang:: none
|
4
|
-
|
5
|
-
.. groonga-command
|
6
|
-
.. database: tutorial-match-columns
|
7
|
-
|
8
|
-
match_columnsパラメータ
|
9
|
-
=======================
|
10
|
-
|
11
|
-
複数のカラムを対象とした全文検索
|
12
|
-
--------------------------------
|
13
|
-
|
14
|
-
groongaでは、複数のカラムを対象とした全文検索を行うことができます。例えば、ブログのテーブルで、タイトルと内容とがそれぞれ別のカラムに入ったものがあるとしましょう。「タイトルもしくは内容に特定の単語を含む」検索を行いたいとします。
|
15
|
-
|
16
|
-
この場合、2つのインデックス作成方式があります。1つは、それぞれのカラムに1つずつインデックスを付与する方式です。もう1つは、複数のカラムに対して1つのインデックスを付与する方式です。groongaでは、どちらの形式のインデックスが存在している場合でも、同一の記法で全文検索を行うことができます。
|
17
|
-
|
18
|
-
カラムごとにインデックスを付与する場合
|
19
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
20
|
-
|
21
|
-
Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のmessageカラムを追加しています。
|
22
|
-
インデックス用のIndexBlog1テーブルも作り、titleカラムのインデックス用にindex_titleカラム、messageカラムのインデック用にindex_messageカラムと、それぞれ1カラムごとに1つずつ追加しています。
|
23
|
-
|
24
|
-
.. groonga-command
|
25
|
-
.. include:: ../example/tutorial/match_columns-1.log
|
26
|
-
.. table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText
|
27
|
-
.. column_create --table Blog1 --name title --flags COLUMN_SCALAR --type ShortText
|
28
|
-
.. column_create --table Blog1 --name message --flags COLUMN_SCALAR --type ShortText
|
29
|
-
.. table_create --name IndexBlog1 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
30
|
-
.. column_create --table IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source title
|
31
|
-
.. column_create --table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source message
|
32
|
-
.. load --table Blog1
|
33
|
-
.. [
|
34
|
-
.. {"_key":"grn1","title":"groonga test","message":"groonga message"},
|
35
|
-
.. {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
|
36
|
-
.. {"_key":"grn3","title":"groonga message","message":"none"}
|
37
|
-
.. ]
|
38
|
-
|
39
|
-
match_columnsオプションで、検索対象のカラムを複数指定することが出来ます。検索する文字列はqueryオプションで指定します。これを使うことで、タイトルと本文を全文検索することができます。
|
40
|
-
|
41
|
-
実際に検索してみましょう。
|
42
|
-
|
43
|
-
.. groonga-command
|
44
|
-
.. include:: ../example/tutorial/match_columns-2.log
|
45
|
-
.. select --table Blog1 --match_columns title||message --query groonga
|
46
|
-
.. select --table Blog1 --match_columns title||message --query message
|
47
|
-
.. select --table Blog1 --match_columns title --query message
|
48
|
-
|
49
|
-
複数のカラムにまたがったインデックスを付与する場合
|
50
|
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
51
|
-
|
52
|
-
内容は上の例とほぼ同じですが、titleとmessageの2つのカラムに対するインデックスが共通になっており、インデックスカラムが1つしかありません。
|
53
|
-
|
54
|
-
共通のインデックスを用いても、titleカラムのみでの検索、messageカラムのみでの検索、titleもしくはmessageカラムでの検索、全ての検索を行うことができます。
|
55
|
-
|
56
|
-
|
57
|
-
.. groonga-command
|
58
|
-
.. include:: ../example/tutorial/match_columns-3.log
|
59
|
-
.. table_create --name Blog2 --flags TABLE_HASH_KEY --key_type ShortText
|
60
|
-
.. column_create --table Blog2 --name title --flags COLUMN_SCALAR --type ShortText
|
61
|
-
.. column_create --table Blog2 --name message --flags COLUMN_SCALAR --type ShortText
|
62
|
-
.. table_create --name IndexBlog2 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
63
|
-
.. column_create --table IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --type Blog2 --source title,message
|
64
|
-
.. load --table Blog2
|
65
|
-
.. [
|
66
|
-
.. {"_key":"grn1","title":"groonga test","message":"groonga message"},
|
67
|
-
.. {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
|
68
|
-
.. {"_key":"grn3","title":"groonga message","message":"none"}
|
69
|
-
.. ]
|
70
|
-
|
71
|
-
実際に検索してみましょう。結果は上の例と同じになります。
|
72
|
-
|
73
|
-
.. groonga-command
|
74
|
-
.. include:: ../example/tutorial/match_columns-4.log
|
75
|
-
.. select --table Blog2 --match_columns title||message --query groonga
|
76
|
-
.. select --table Blog2 --match_columns title||message --query message
|
77
|
-
.. select --table Blog2 --match_columns title --query message
|
78
|
-
|
79
|
-
インデックス名を指定した全文検索
|
80
|
-
--------------------------------
|
81
|
-
|
82
|
-
執筆中です。
|
83
|
-
|
84
|
-
.. TODO: match_columnsにインデックス名を指定しての検索についても触れる。
|
85
|
-
|
86
|
-
|
87
|
-
.. _nested-index-search:
|
88
|
-
|
89
|
-
Nested index search among related table by column index
|
90
|
-
--------------------------------------------------------
|
91
|
-
|
92
|
-
If there are relationships among multiple table with column index,
|
93
|
-
you can search multiple table by specifying reference column name.
|
94
|
-
|
95
|
-
Here is the concrete example.
|
96
|
-
|
97
|
-
There are tables which store blog articles, comments for articles.
|
98
|
-
The table which stores articles has columns for article and comment.
|
99
|
-
And the comment column refers Comments table.
|
100
|
-
The table which stores comments has columns for comment and column index to article table.
|
101
|
-
|
102
|
-
if you want to search the articles which contain specified keyword in comment,
|
103
|
-
you need to execute fulltext search for table of comment, then search the records which contains fulltext search results.
|
104
|
-
|
105
|
-
But, you can search the records by specifying the reference column index at once.
|
106
|
-
|
107
|
-
Here is the sample schema.
|
108
|
-
|
109
|
-
.. groonga-command
|
110
|
-
.. include:: ../example/tutorial/match_columns-nested-index-schema.log
|
111
|
-
.. table_create Comments TABLE_HASH_KEY UInt32
|
112
|
-
.. column_create Comments content COLUMN_SCALAR ShortText
|
113
|
-
.. table_create Articles TABLE_NO_KEY
|
114
|
-
.. column_create Articles content COLUMN_SCALAR Text
|
115
|
-
.. column_create Articles comment COLUMN_SCALAR Comments
|
116
|
-
.. table_create Lexicon TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
117
|
-
.. column_create Lexicon articles_content COLUMN_INDEX|WITH_POSITION Articles content
|
118
|
-
.. column_create Lexicon comments_content COLUMN_INDEX|WITH_POSITION Comments content
|
119
|
-
.. column_create Comments article COLUMN_INDEX Articles comment
|
120
|
-
|
121
|
-
Here is the sample data.
|
122
|
-
|
123
|
-
.. groonga-command
|
124
|
-
.. include:: ../example/tutorial/match_columns-nested-index-data.log
|
125
|
-
.. load --table Comments
|
126
|
-
.. [
|
127
|
-
.. {"_key": 1, "content": "I'm using groonga too!"},
|
128
|
-
.. {"_key": 2, "content": "I'm using groonga and mroonga!"},
|
129
|
-
.. {"_key": 3, "content": "I'm using mroonga too!"}
|
130
|
-
.. ]
|
131
|
-
.. load --table Articles
|
132
|
-
.. [
|
133
|
-
.. {"content": "Groonga is fast!", "comment": 1},
|
134
|
-
.. {"content": "Groonga is useful!"},
|
135
|
-
.. {"content": "Mroonga is fast!", "comment": 3}
|
136
|
-
.. ]
|
137
|
-
|
138
|
-
You can write the query that search the records which contains specified keyword as a comment, then fetch the articles which refers to it.
|
139
|
-
|
140
|
-
Query for searching the records described above::
|
141
|
-
|
142
|
-
select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
143
|
-
|
144
|
-
You need to concatenate comment column of Articles table and content column of Comments table with period(.) as --match_columns arguments.
|
145
|
-
|
146
|
-
At first, this query execute fulltext search from content of Comments table, then fetch the records of Articles table which refers to already searched records of Comments table.
|
147
|
-
(Because of this, if you comment out the query which create column index 'article' of Comments table, you can't get intended search results.)
|
148
|
-
|
149
|
-
.. groonga-command
|
150
|
-
.. include:: ../example/tutorial/match_columns-nested-index-select.log
|
151
|
-
.. select Articles --match_columns comment.content --query groonga --output_columns "_id, _score, *"
|
152
|
-
|
153
|
-
Now, you can search articles which contains specific keywords as a comment.
|
154
|
-
|
155
|
-
The feature of nested index search is not limited to the relationship between two table only.
|
156
|
-
|
157
|
-
Here is the sample schema similar to previous one. The difference is added table which express 'Reply' and relationship is extended to three tables.
|
158
|
-
|
159
|
-
.. groonga-command
|
160
|
-
.. include:: ../example/tutorial/match_columns-nested-index-schema-with-three-relationship.log
|
161
|
-
.. table_create Replies2 TABLE_HASH_KEY UInt32
|
162
|
-
.. column_create Replies2 content COLUMN_SCALAR ShortText
|
163
|
-
.. table_create Comments2 TABLE_HASH_KEY UInt32
|
164
|
-
.. column_create Comments2 content COLUMN_SCALAR ShortText
|
165
|
-
.. column_create Comments2 comment COLUMN_SCALAR Replies2
|
166
|
-
.. table_create Articles2 TABLE_NO_KEY
|
167
|
-
.. column_create Articles2 content COLUMN_SCALAR Text
|
168
|
-
.. column_create Articles2 comment COLUMN_SCALAR Comments2
|
169
|
-
.. table_create Lexicon2 TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
170
|
-
.. column_create Lexicon2 articles_content COLUMN_INDEX|WITH_POSITION Articles2 content
|
171
|
-
.. column_create Lexicon2 comments_content COLUMN_INDEX|WITH_POSITION Comments2 content
|
172
|
-
.. column_create Lexicon2 replies_content COLUMN_INDEX|WITH_POSITION Replies2 content
|
173
|
-
.. column_create Comments2 article COLUMN_INDEX Articles2 comment
|
174
|
-
.. column_create Replies2 reply_to COLUMN_INDEX Comments2 comment
|
175
|
-
|
176
|
-
Here is the sample data.
|
177
|
-
|
178
|
-
.. groonga-command
|
179
|
-
.. include:: ../example/tutorial/match_columns-nested-index-data-with-three-relationship.log
|
180
|
-
.. load --table Replies2
|
181
|
-
.. [
|
182
|
-
.. {"_key": 1, "content": "I'm using rroonga too!"},
|
183
|
-
.. {"_key": 2, "content": "I'm using groonga and mroonga and rroonga!"},
|
184
|
-
.. {"_key": 3, "content": "I'm using nroonga too!"}
|
185
|
-
.. ]
|
186
|
-
.. load --table Comments2
|
187
|
-
.. [
|
188
|
-
.. {"_key": 1, "content": "I'm using groonga too!", "comment": 1},
|
189
|
-
.. {"_key": 2, "content": "I'm using groonga and mroonga!", "comment": 2},
|
190
|
-
.. {"_key": 3, "content": "I'm using mroonga too!"}
|
191
|
-
.. ]
|
192
|
-
.. load --table Articles2
|
193
|
-
.. [
|
194
|
-
.. {"content": "Groonga is fast!", "comment": 1},
|
195
|
-
.. {"content": "Groonga is useful!", "comment": 2},
|
196
|
-
.. {"content": "Mroonga is fast!", "comment": 3}
|
197
|
-
.. ]
|
198
|
-
|
199
|
-
Query for searching the records described above::
|
200
|
-
|
201
|
-
select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
202
|
-
select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
203
|
-
|
204
|
-
The first query searches 'mroonga' from Comments2 table, the second one searches 'mroonga' from Replies2 and Comment2 table by using reference column index.
|
205
|
-
|
206
|
-
.. groonga-command
|
207
|
-
.. include:: ../example/tutorial/match_columns-nested-index-select-with-three-relationship.log
|
208
|
-
.. select Articles2 --match_columns comment.content --query mroonga --output_columns "_id, _score, *"
|
209
|
-
.. select Articles2 --match_columns comment.comment.content --query mroonga --output_columns "_id, _score, *"
|
210
|
-
|
211
|
-
As a result, the first query matches two article because of Comments2 table has two records which contains 'mroonga' as keyword.
|
212
|
-
|
213
|
-
On the other hand, the second one matches one article only because of Replies2 table has only one record which contains 'mroonga' as keyword, and there is one record which contains same keyword and refers to the record in Comments2 table.
|
214
|
-
|
215
|
-
インデックスの重み
|
216
|
-
------------------
|
217
|
-
|
218
|
-
執筆中です。
|
219
|
-
|
220
|
-
.. TODO: match_columnsの重み指定機能についても触れる。
|