rroonga 2.1.2-x86-mingw32 → 2.1.3-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,4 +1,4 @@
|
|
1
|
-
.TH "GROONGA" "1" "
|
1
|
+
.TH "GROONGA" "1" "2013 年 01 月 28 日" "2.1.2" "groonga"
|
2
2
|
.SH NAME
|
3
3
|
groonga \- groongaのドキュメント
|
4
4
|
.
|
@@ -92,16 +92,60 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
92
92
|
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
93
93
|
.SS インストーラー
|
94
94
|
.sp
|
95
|
-
32\-bit
|
95
|
+
32\-bit環境の場合は、x86のバイナリをpackages.groonga.orgからダウンロードしてください。
|
96
96
|
.sp
|
97
|
-
|
97
|
+
コマンドラインの操作でバイナリをダウンロードすることができます。
|
98
|
+
.sp
|
99
|
+
コマンドプロンプト \fBcmd.exe\fP を起動し、x86バイナリをブラウザを使ってダウンロードします。:
|
100
|
+
.sp
|
101
|
+
.nf
|
102
|
+
.ft C
|
103
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-2.1.2\-x86.exe
|
104
|
+
.ft P
|
105
|
+
.fi
|
106
|
+
.sp
|
107
|
+
その後、バイナリを実行します。
|
108
|
+
.sp
|
109
|
+
64\-bit環境の場合は、x64のバイナリをpackages.groonga.orgからダウンロードしてください。
|
110
|
+
.sp
|
111
|
+
コマンドプロンプト \fBcmd.exe\fP を起動し、x64バイナリをブラウザを使ってダウンロードします。:
|
112
|
+
.sp
|
113
|
+
.nf
|
114
|
+
.ft C
|
115
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-2.1.2\-x64.exe
|
116
|
+
.ft P
|
117
|
+
.fi
|
118
|
+
.sp
|
119
|
+
その後、バイナリを実行します。
|
98
120
|
.sp
|
99
121
|
スタートメニュー内に \fB/reference/executables/groonga\fP 用のコマンドプロンプトがインストールされるのでそれを使ってください。
|
100
122
|
.SS zip
|
101
123
|
.sp
|
102
|
-
32\-bit
|
124
|
+
32\-bit環境の場合は、x86のzipアーカイブをpackages.groonga.orgからダウンロードしてください。
|
125
|
+
.sp
|
126
|
+
コマンドラインの操作でバイナリをダウンロードすることができます。
|
127
|
+
.sp
|
128
|
+
コマンドプロンプト \fBcmd.exe\fP を起動し、x86バイナリをブラウザを使ってダウンロードします。:
|
129
|
+
.sp
|
130
|
+
.nf
|
131
|
+
.ft C
|
132
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-2.1.2\-x86.zip
|
133
|
+
.ft P
|
134
|
+
.fi
|
135
|
+
.sp
|
136
|
+
その後、アーカイブを展開します。
|
137
|
+
.sp
|
138
|
+
64\-bit環境の場合は、x64のzipアーカイブをpackages.groonga.orgからダウンロードしてください。
|
103
139
|
.sp
|
104
|
-
|
140
|
+
コマンドプロンプト \fBcmd.exe\fP を起動し、x64バイナリをブラウザを使ってダウンロードします。:
|
141
|
+
.sp
|
142
|
+
.nf
|
143
|
+
.ft C
|
144
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/windows/groonga/groonga\-2.1.2\-x64.zip
|
145
|
+
.ft P
|
146
|
+
.fi
|
147
|
+
.sp
|
148
|
+
その後、アーカイブを展開します。
|
105
149
|
.sp
|
106
150
|
\fB/reference/executables/groonga\fP は \fBbin\fP フォルダーにあります。
|
107
151
|
.SS ソースからビルド
|
@@ -118,13 +162,26 @@ groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
118
162
|
.UNINDENT
|
119
163
|
.UNINDENT
|
120
164
|
.sp
|
121
|
-
zip
|
165
|
+
zipアーカイブをpackages.groonga.orgからダウンロードしてください。
|
166
|
+
.sp
|
167
|
+
コマンドラインの操作でzipソースファイルをダウンロードすることができます。
|
168
|
+
.sp
|
169
|
+
Microsoft Visual Studio 2010 Expressがインストールする \fBVisual Studio コマンド プロンプト (2010)\fP を実行して、groongaのソースをブラウザでダウンロードしてください:
|
170
|
+
.sp
|
171
|
+
.nf
|
172
|
+
.ft C
|
173
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads
|
174
|
+
> "c:\e\eProgram Files\e\eInternet Explorer\e\eiexplore.exe" http://packages.groonga.org/source/groonga/groonga\-2.1.2.zip
|
175
|
+
.ft P
|
176
|
+
.fi
|
177
|
+
.sp
|
178
|
+
その後、アーカイブを展開します。
|
122
179
|
.sp
|
123
|
-
|
180
|
+
groongaのソースフォルダへと移動します:
|
124
181
|
.sp
|
125
182
|
.nf
|
126
183
|
.ft C
|
127
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-2.1.
|
184
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-2.1.2
|
128
185
|
.ft P
|
129
186
|
.fi
|
130
187
|
.sp
|
@@ -132,7 +189,7 @@ Microsoft Visual Studio 2010 Expressがインストールする \fBVisual Studio
|
|
132
189
|
.sp
|
133
190
|
.nf
|
134
191
|
.ft C
|
135
|
-
groonga\-2.1.
|
192
|
+
groonga\-2.1.2> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
136
193
|
.ft P
|
137
194
|
.fi
|
138
195
|
.sp
|
@@ -140,7 +197,7 @@ Visual C++ 2010 Expressでビルドします:
|
|
140
197
|
.sp
|
141
198
|
.nf
|
142
199
|
.ft C
|
143
|
-
groonga\-2.1.
|
200
|
+
groonga\-2.1.2> msbuild groonga.sln /p:Configuration=Release
|
144
201
|
.ft P
|
145
202
|
.fi
|
146
203
|
.sp
|
@@ -148,7 +205,7 @@ Visual C++ 2010 Expressでビルドします:
|
|
148
205
|
.sp
|
149
206
|
.nf
|
150
207
|
.ft C
|
151
|
-
groonga\-2.1.
|
208
|
+
groonga\-2.1.2> msbuild groonga.sln /p:Configuration=Release /t:Install
|
152
209
|
.ft P
|
153
210
|
.fi
|
154
211
|
.sp
|
@@ -158,7 +215,7 @@ Visual Studio 2010でビルドします:
|
|
158
215
|
.sp
|
159
216
|
.nf
|
160
217
|
.ft C
|
161
|
-
groonga\-2.1.
|
218
|
+
groonga\-2.1.2> devenv groonga.sln /Build Release
|
162
219
|
.ft P
|
163
220
|
.fi
|
164
221
|
.sp
|
@@ -166,7 +223,7 @@ Visual Studio 2010でインストールします:
|
|
166
223
|
.sp
|
167
224
|
.nf
|
168
225
|
.ft C
|
169
|
-
groonga\-2.1.
|
226
|
+
groonga\-2.1.2> devenv groonga.sln /Build Release /Project Install
|
170
227
|
.ft P
|
171
228
|
.fi
|
172
229
|
.sp
|
@@ -202,9 +259,9 @@ groonga\-2.1.0> devenv groonga.sln /Build Release /Project Install
|
|
202
259
|
.sp
|
203
260
|
.nf
|
204
261
|
.ft C
|
205
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-2.1.
|
206
|
-
% tar xvzf groonga\-2.1.
|
207
|
-
% cd groonga\-2.1.
|
262
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
263
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
264
|
+
% cd groonga\-2.1.2
|
208
265
|
.ft P
|
209
266
|
.fi
|
210
267
|
.sp
|
@@ -236,6 +293,21 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
236
293
|
このセクションではDebian GNU/Linux上でgroonga関連のdebパッケージをインストールする方法を説明します。これらのパッケージは \fBapt\fP でインストールできます。
|
237
294
|
.sp
|
238
295
|
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
296
|
+
.IP ノート
|
297
|
+
\(aqgroonga\(aqパッケージは全文検索のための最小構成パッケージです。groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
298
|
+
.sp
|
299
|
+
サーバー用途のための3つのパッケージがあります。
|
300
|
+
.INDENT 0.0
|
301
|
+
.IP \(bu 2
|
302
|
+
groonga\-server\-http (簡易HTTPサーバー)
|
303
|
+
.IP \(bu 2
|
304
|
+
groonga\-httpd (nginxを元にしたHTTPサーバー)
|
305
|
+
.IP \(bu 2
|
306
|
+
groonga\-server\-gqtp (GQTPサーバー)
|
307
|
+
.UNINDENT
|
308
|
+
.sp
|
309
|
+
詳細は \fB/server\fP を参照してください。
|
310
|
+
.RE
|
239
311
|
.SS squeeze
|
240
312
|
.sp
|
241
313
|
groongaのaptリポジトリを追加します。
|
@@ -379,9 +451,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
379
451
|
.sp
|
380
452
|
.nf
|
381
453
|
.ft C
|
382
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
383
|
-
% tar xvzf groonga\-2.1.
|
384
|
-
% cd groonga\-2.1.
|
454
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
455
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
456
|
+
% cd groonga\-2.1.2
|
385
457
|
.ft P
|
386
458
|
.fi
|
387
459
|
.sp
|
@@ -413,6 +485,21 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
413
485
|
このセクションではUbuntu上でgroonga関連のdebパッケージをインストールする方法を説明します。これらのパッケージは \fBapt\fP でインストールできます。
|
414
486
|
.sp
|
415
487
|
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
488
|
+
.IP ノート
|
489
|
+
\(aqgroonga\(aqパッケージは全文検索のための最小構成パッケージです。groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
490
|
+
.sp
|
491
|
+
サーバー用途のための3つのパッケージがあります。
|
492
|
+
.INDENT 0.0
|
493
|
+
.IP \(bu 2
|
494
|
+
groonga\-server\-http (簡易HTTPサーバー)
|
495
|
+
.IP \(bu 2
|
496
|
+
groonga\-httpd (nginxを元にしたHTTPサーバー)
|
497
|
+
.IP \(bu 2
|
498
|
+
groonga\-server\-gqtp (GQTPサーバー)
|
499
|
+
.UNINDENT
|
500
|
+
.sp
|
501
|
+
詳細は \fB/server\fP を参照してください。
|
502
|
+
.RE
|
416
503
|
.SS 10.04 LTS Lucid Lynx
|
417
504
|
.IP ノート
|
418
505
|
groongaをインストールするためにuniverseリポジトリを有効にしてください:
|
@@ -639,9 +726,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
639
726
|
.sp
|
640
727
|
.nf
|
641
728
|
.ft C
|
642
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
643
|
-
% tar xvzf groonga\-2.1.
|
644
|
-
% cd groonga\-2.1.
|
729
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
730
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
731
|
+
% cd groonga\-2.1.2
|
645
732
|
.ft P
|
646
733
|
.fi
|
647
734
|
.sp
|
@@ -673,6 +760,21 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
673
760
|
このセクションではCentOS上でgroonga関連のPRMパッケージをインストールする方法を説明します。これらのパッケージは \fByum\fP でインストールできます。
|
674
761
|
.sp
|
675
762
|
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
763
|
+
.IP ノート
|
764
|
+
\(aqgroonga\(aqパッケージは全文検索のための最小構成パッケージです。groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
765
|
+
.sp
|
766
|
+
サーバー用途のための3つのパッケージがあります。
|
767
|
+
.INDENT 0.0
|
768
|
+
.IP \(bu 2
|
769
|
+
groonga\-server\-http (簡易HTTPサーバー)
|
770
|
+
.IP \(bu 2
|
771
|
+
groonga\-httpd (nginxを元にしたHTTPサーバー)
|
772
|
+
.IP \(bu 2
|
773
|
+
groonga\-server\-gqtp (GQTPサーバー)
|
774
|
+
.UNINDENT
|
775
|
+
.sp
|
776
|
+
詳細は \fB/server\fP を参照してください。
|
777
|
+
.RE
|
676
778
|
.SS CentOS 5
|
677
779
|
.sp
|
678
780
|
インストール:
|
@@ -826,9 +928,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
826
928
|
.sp
|
827
929
|
.nf
|
828
930
|
.ft C
|
829
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
830
|
-
% tar xvzf groonga\-2.1.
|
831
|
-
% cd groonga\-2.1.
|
931
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
932
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
933
|
+
% cd groonga\-2.1.2
|
832
934
|
.ft P
|
833
935
|
.fi
|
834
936
|
.sp
|
@@ -862,7 +964,22 @@ configureを実行します( \fBconfigure\fP のオプションについては
|
|
862
964
|
groonga関連のRPMパッケージはFedoraの公式yumリポジトリにもあります。そのため、groongaのyumリポジトリの代わりにFedoraの公式yumリポジトリを使うこともできます。これらのリポジトリの違いはリリース日当日に最新パッケージが提供されるかどうかです。groongaのyumリポジトリの方では当日提供されます。Fedoraの公式yumリポジトリの方は数日後に提供されます。つまり、ほとんど差はないということです。 :\-)
|
863
965
|
.sp
|
864
966
|
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
865
|
-
.
|
967
|
+
.IP ノート
|
968
|
+
\(aqgroonga\(aqパッケージは全文検索のための最小構成パッケージです。groongaをサーバー用途で使うなら、設定済みの追加パッケージをインストールすることができます。
|
969
|
+
.sp
|
970
|
+
サーバー用途のための3つのパッケージがあります。
|
971
|
+
.INDENT 0.0
|
972
|
+
.IP \(bu 2
|
973
|
+
groonga\-server\-http (簡易HTTPサーバー)
|
974
|
+
.IP \(bu 2
|
975
|
+
groonga\-httpd (nginxを元にしたHTTPサーバー)
|
976
|
+
.IP \(bu 2
|
977
|
+
groonga\-server\-gqtp (GQTPサーバー)
|
978
|
+
.UNINDENT
|
979
|
+
.sp
|
980
|
+
詳細は \fB/server\fP を参照してください。
|
981
|
+
.RE
|
982
|
+
.SS Fedora 18
|
866
983
|
.sp
|
867
984
|
インストール:
|
868
985
|
.sp
|
@@ -925,9 +1042,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
925
1042
|
.sp
|
926
1043
|
.nf
|
927
1044
|
.ft C
|
928
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
929
|
-
% tar xvzf groonga\-2.1.
|
930
|
-
% cd groonga\-2.1.
|
1045
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
1046
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
1047
|
+
% cd groonga\-2.1.2
|
931
1048
|
.ft P
|
932
1049
|
.fi
|
933
1050
|
.sp
|
@@ -971,9 +1088,9 @@ groongaをビルドするために必要なパッケージをインストール
|
|
971
1088
|
.sp
|
972
1089
|
.nf
|
973
1090
|
.ft C
|
974
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
975
|
-
% gtar xvzf groonga\-2.1.
|
976
|
-
% cd groonga\-2.1.
|
1091
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
1092
|
+
% gtar xvzf groonga\-2.1.2.tar.gz
|
1093
|
+
% cd groonga\-2.1.2
|
977
1094
|
.ft P
|
978
1095
|
.fi
|
979
1096
|
.sp
|
@@ -1078,9 +1195,9 @@ groongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1078
1195
|
.sp
|
1079
1196
|
.nf
|
1080
1197
|
.ft C
|
1081
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.
|
1082
|
-
% tar xvzf groonga\-2.1.
|
1083
|
-
% cd groonga\-2.1.
|
1198
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-2.1.2.tar.gz
|
1199
|
+
% tar xvzf groonga\-2.1.2.tar.gz
|
1200
|
+
% cd groonga\-2.1.2
|
1084
1201
|
% ./configure
|
1085
1202
|
% make
|
1086
1203
|
% sudo make install
|
@@ -2908,7 +3025,7 @@ select \-\-table ToyBox \-\-output_columns _key,location
|
|
2908
3025
|
.sp
|
2909
3026
|
groongaでは、テーブル参照のカラム、すなわち関連付けたテーブルを参照するカラムを作成できます。より正確には、カラム作成時に参照先となるテーブルとの関連付けをおこない、参照先テーブルにおけるレコードIDを格納しておくことにより、参照先のレコードにアクセスできるようにします。
|
2910
3027
|
.sp
|
2911
|
-
テーブル参照のカラムがあるときは、 \fBreference/
|
3028
|
+
テーブル参照のカラムがあるときは、 \fBreference/commands/select\fP コマンドの \fIoutput_columns\fP 引数に "参照元カラム.参照先カラム" と指定することにより、参照先カラムの値を取り出すことができます。参照元カラムのみを指定したときは、 "参照元カラム名._key" と同様の扱いとなり、参照先レコードの主キーが取り出されます。テーブル参照が有効なレコードを指していないときは、参照先カラムのデフォルト値が取り出されるようになっています。
|
2912
3029
|
.sp
|
2913
3030
|
ここでは、先のチュートリアルで作成したSiteテーブルにlinkという新たなカラムを作成し、サイト間のリンク関係を保存できるようにしてみましょう。
|
2914
3031
|
.sp
|
@@ -7315,6 +7432,330 @@ groongaは位置情報データのうち座標データのみサポートして
|
|
7315
7432
|
.sp
|
7316
7433
|
執筆中。。。 ( \fI\%下書き\fP )
|
7317
7434
|
.SH サーバー
|
7435
|
+
.SS サーバーパッケージ
|
7436
|
+
.sp
|
7437
|
+
\fBgroonga\fP パッケージは全文検索を行うための最小構成のパッケージです。サーバー用途で使うために、設定済みのパッケージを追加でインストールすることができます。
|
7438
|
+
.sp
|
7439
|
+
サーバー用途の3つのパッケージがあります。
|
7440
|
+
.INDENT 0.0
|
7441
|
+
.IP \(bu 2
|
7442
|
+
\fBgroonga\-httpd\fP (nginxをベースにしたHTTPサーバー)
|
7443
|
+
.IP \(bu 2
|
7444
|
+
\fBgroonga\-server\-http\fP (簡易HTTPサーバー)
|
7445
|
+
.IP \(bu 2
|
7446
|
+
\fBgroonga\-server\-gqtp\fP (GQTPサーバー)
|
7447
|
+
.UNINDENT
|
7448
|
+
.sp
|
7449
|
+
\fBgroonga\-httpd\fP と \fBgroonga\-server\-http\fP パッケージは使用ポートが一緒なので衝突します。どちらのパッケージを使うのがいいのかは \fB/server/http/comparison\fP を参照してください。
|
7450
|
+
.SS groonga\-httpd
|
7451
|
+
.sp
|
7452
|
+
\fBgroonga\-httpd\fP はnginxをベースにしたHTTPサーバーパッケージです。
|
7453
|
+
.sp
|
7454
|
+
設定済みの内容:
|
7455
|
+
.TS
|
7456
|
+
center;
|
7457
|
+
|l|l|.
|
7458
|
+
_
|
7459
|
+
T{
|
7460
|
+
項目
|
7461
|
+
T} T{
|
7462
|
+
既定値
|
7463
|
+
T}
|
7464
|
+
_
|
7465
|
+
T{
|
7466
|
+
ポート番号
|
7467
|
+
T} T{
|
7468
|
+
10041
|
7469
|
+
T}
|
7470
|
+
_
|
7471
|
+
T{
|
7472
|
+
アクセスログ
|
7473
|
+
T} T{
|
7474
|
+
/var/log/groonga/httpd/acccess.log
|
7475
|
+
T}
|
7476
|
+
_
|
7477
|
+
T{
|
7478
|
+
エラーログ
|
7479
|
+
T} T{
|
7480
|
+
/var/log/groonga/http\-query.log
|
7481
|
+
T}
|
7482
|
+
_
|
7483
|
+
T{
|
7484
|
+
データベース
|
7485
|
+
T} T{
|
7486
|
+
/var/lib/groonga/db/*
|
7487
|
+
T}
|
7488
|
+
_
|
7489
|
+
T{
|
7490
|
+
設定ファイル
|
7491
|
+
T} T{
|
7492
|
+
/etc/groonga/httpd/groonga\-httpd.conf
|
7493
|
+
T}
|
7494
|
+
_
|
7495
|
+
.TE
|
7496
|
+
.SS HTTPサーバーを起動
|
7497
|
+
.sp
|
7498
|
+
groonga HTTPサーバーを起動(Debian/Ubuntu/CentOS):
|
7499
|
+
.sp
|
7500
|
+
.nf
|
7501
|
+
.ft C
|
7502
|
+
% sudo service groonga\-httpd start
|
7503
|
+
.ft P
|
7504
|
+
.fi
|
7505
|
+
.sp
|
7506
|
+
groonga HTTPサーバーを起動(Fedora):
|
7507
|
+
.sp
|
7508
|
+
.nf
|
7509
|
+
.ft C
|
7510
|
+
% sudo systemctl start groonga\-httpd
|
7511
|
+
.ft P
|
7512
|
+
.fi
|
7513
|
+
.SS HTTPサーバーを終了
|
7514
|
+
.sp
|
7515
|
+
groonga HTTPサーバーを終了(Debian/Ubuntu/CentOS):
|
7516
|
+
.sp
|
7517
|
+
.nf
|
7518
|
+
.ft C
|
7519
|
+
% sudo service groonga\-httpd stop
|
7520
|
+
.ft P
|
7521
|
+
.fi
|
7522
|
+
.sp
|
7523
|
+
groonga HTTPサーバーを起動(Fedora):
|
7524
|
+
.sp
|
7525
|
+
.nf
|
7526
|
+
.ft C
|
7527
|
+
% sudo systemctl stop groonga\-httpd
|
7528
|
+
.ft P
|
7529
|
+
.fi
|
7530
|
+
.SS HTTPサーバーを再起動
|
7531
|
+
.sp
|
7532
|
+
groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):
|
7533
|
+
.sp
|
7534
|
+
.nf
|
7535
|
+
.ft C
|
7536
|
+
% sudo service groonga\-httpd restart
|
7537
|
+
.ft P
|
7538
|
+
.fi
|
7539
|
+
.sp
|
7540
|
+
groonga HTTPサーバーを再起動(Fedora):
|
7541
|
+
.sp
|
7542
|
+
.nf
|
7543
|
+
.ft C
|
7544
|
+
% sudo systemctl restart groonga\-httpd
|
7545
|
+
.ft P
|
7546
|
+
.fi
|
7547
|
+
.SS groonga\-server\-http
|
7548
|
+
.sp
|
7549
|
+
\fBgroonga\-server\-http\fP は簡易HTTPサーバーパッケージです。
|
7550
|
+
.sp
|
7551
|
+
設定済みの内容:
|
7552
|
+
.TS
|
7553
|
+
center;
|
7554
|
+
|l|l|.
|
7555
|
+
_
|
7556
|
+
T{
|
7557
|
+
項目
|
7558
|
+
T} T{
|
7559
|
+
既定値
|
7560
|
+
T}
|
7561
|
+
_
|
7562
|
+
T{
|
7563
|
+
ポート番号
|
7564
|
+
T} T{
|
7565
|
+
10041
|
7566
|
+
T}
|
7567
|
+
_
|
7568
|
+
T{
|
7569
|
+
\fIprocess\-log\fP
|
7570
|
+
T} T{
|
7571
|
+
/var/log/groonga/groonga\-http.log
|
7572
|
+
T}
|
7573
|
+
_
|
7574
|
+
T{
|
7575
|
+
\fIquery\-log\fP
|
7576
|
+
T} T{
|
7577
|
+
/var/log/groonga/http\-query.log
|
7578
|
+
T}
|
7579
|
+
_
|
7580
|
+
T{
|
7581
|
+
データベース
|
7582
|
+
T} T{
|
7583
|
+
/var/lib/groonga/db/*
|
7584
|
+
T}
|
7585
|
+
_
|
7586
|
+
.TE
|
7587
|
+
.sp
|
7588
|
+
サーバー設定ファイル (Debian/Ubuntu):
|
7589
|
+
.sp
|
7590
|
+
.nf
|
7591
|
+
.ft C
|
7592
|
+
/etc/default/groonga/groonga\-server\-http
|
7593
|
+
.ft P
|
7594
|
+
.fi
|
7595
|
+
.sp
|
7596
|
+
サーバー設定ファイル(CentOS):
|
7597
|
+
.sp
|
7598
|
+
.nf
|
7599
|
+
.ft C
|
7600
|
+
/etc/sysconfig/groonga\-server\-http
|
7601
|
+
.ft P
|
7602
|
+
.fi
|
7603
|
+
.SS HTTPサーバーを起動
|
7604
|
+
.sp
|
7605
|
+
groonga HTTPサーバーを起動(Debian/Ubuntu/CentOS):
|
7606
|
+
.sp
|
7607
|
+
.nf
|
7608
|
+
.ft C
|
7609
|
+
% sudo service groonga\-server\-http start
|
7610
|
+
.ft P
|
7611
|
+
.fi
|
7612
|
+
.sp
|
7613
|
+
groonga HTTPサーバーを起動(Fedora):
|
7614
|
+
.sp
|
7615
|
+
.nf
|
7616
|
+
.ft C
|
7617
|
+
% sudo systemctl start groonga\-server\-http
|
7618
|
+
.ft P
|
7619
|
+
.fi
|
7620
|
+
.SS HTTPサーバーを終了
|
7621
|
+
.sp
|
7622
|
+
groonga HTTPサーバーを終了(Debian/Ubuntu/CentOS):
|
7623
|
+
.sp
|
7624
|
+
.nf
|
7625
|
+
.ft C
|
7626
|
+
% sudo service groonga\-server\-http stop
|
7627
|
+
.ft P
|
7628
|
+
.fi
|
7629
|
+
.sp
|
7630
|
+
groonga GQTPサーバーを終了(Fedora):
|
7631
|
+
.sp
|
7632
|
+
.nf
|
7633
|
+
.ft C
|
7634
|
+
% sudo systemctl stop groonga\-server\-http
|
7635
|
+
.ft P
|
7636
|
+
.fi
|
7637
|
+
.SS HTTPサーバーを再起動
|
7638
|
+
.sp
|
7639
|
+
groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):
|
7640
|
+
.sp
|
7641
|
+
.nf
|
7642
|
+
.ft C
|
7643
|
+
% sudo service groonga\-server\-http restart
|
7644
|
+
.ft P
|
7645
|
+
.fi
|
7646
|
+
.sp
|
7647
|
+
groonga HTTPサーバーを再起動(Fedora):
|
7648
|
+
.sp
|
7649
|
+
.nf
|
7650
|
+
.ft C
|
7651
|
+
% sudo systemctl restart groonga\-server\-http
|
7652
|
+
.ft P
|
7653
|
+
.fi
|
7654
|
+
.SS groonga\-server\-gqtp
|
7655
|
+
.sp
|
7656
|
+
\fBgroonga\-server\-gqtp\fP はGQTPサーバーパッケージです。
|
7657
|
+
.TS
|
7658
|
+
center;
|
7659
|
+
|l|l|.
|
7660
|
+
_
|
7661
|
+
T{
|
7662
|
+
項目
|
7663
|
+
T} T{
|
7664
|
+
既定値
|
7665
|
+
T}
|
7666
|
+
_
|
7667
|
+
T{
|
7668
|
+
ポート番号
|
7669
|
+
T} T{
|
7670
|
+
10043
|
7671
|
+
T}
|
7672
|
+
_
|
7673
|
+
T{
|
7674
|
+
\fIprocess\-log\fP
|
7675
|
+
T} T{
|
7676
|
+
/var/log/groonga/groonga\-gqtp.log
|
7677
|
+
T}
|
7678
|
+
_
|
7679
|
+
T{
|
7680
|
+
\fIquery\-log\fP
|
7681
|
+
T} T{
|
7682
|
+
/var/log/groonga/gqtp\-query.log
|
7683
|
+
T}
|
7684
|
+
_
|
7685
|
+
T{
|
7686
|
+
データベース
|
7687
|
+
T} T{
|
7688
|
+
/var/lib/groonga/db/*
|
7689
|
+
T}
|
7690
|
+
_
|
7691
|
+
.TE
|
7692
|
+
.sp
|
7693
|
+
サーバー設定ファイル (Debian/Ubuntu):
|
7694
|
+
.sp
|
7695
|
+
.nf
|
7696
|
+
.ft C
|
7697
|
+
/etc/default/groonga/groonga\-server\-gqtp
|
7698
|
+
.ft P
|
7699
|
+
.fi
|
7700
|
+
.sp
|
7701
|
+
サーバー設定ファイル(CentOS):
|
7702
|
+
.sp
|
7703
|
+
.nf
|
7704
|
+
.ft C
|
7705
|
+
/etc/sysconfig/groonga\-server\-gqtp
|
7706
|
+
.ft P
|
7707
|
+
.fi
|
7708
|
+
.SS GQTPサーバーを起動
|
7709
|
+
.sp
|
7710
|
+
groonga GQTPサーバーを起動(Debian/Ubuntu/CentOS):
|
7711
|
+
.sp
|
7712
|
+
.nf
|
7713
|
+
.ft C
|
7714
|
+
% sudo service groonga\-server\-gqtp start
|
7715
|
+
.ft P
|
7716
|
+
.fi
|
7717
|
+
.sp
|
7718
|
+
groonga GQTPサーバーを起動(Fedora):
|
7719
|
+
.sp
|
7720
|
+
.nf
|
7721
|
+
.ft C
|
7722
|
+
% sudo systemctl start groonga\-server\-gqtp
|
7723
|
+
.ft P
|
7724
|
+
.fi
|
7725
|
+
.SS GQTPサーバーを終了
|
7726
|
+
.sp
|
7727
|
+
groonga GQTPサーバーを終了(Debian/Ubuntu/CentOS):
|
7728
|
+
.sp
|
7729
|
+
.nf
|
7730
|
+
.ft C
|
7731
|
+
% sudo service groonga\-server\-http stop
|
7732
|
+
.ft P
|
7733
|
+
.fi
|
7734
|
+
.sp
|
7735
|
+
groonga GQTPサーバーを終了(Fedora):
|
7736
|
+
.sp
|
7737
|
+
.nf
|
7738
|
+
.ft C
|
7739
|
+
% sudo systemctl stop groonga\-server\-gqtp
|
7740
|
+
.ft P
|
7741
|
+
.fi
|
7742
|
+
.SS GQTPサーバーを再起動
|
7743
|
+
.sp
|
7744
|
+
groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):
|
7745
|
+
.sp
|
7746
|
+
.nf
|
7747
|
+
.ft C
|
7748
|
+
% sudo service groonga\-server\-gqtp restart
|
7749
|
+
.ft P
|
7750
|
+
.fi
|
7751
|
+
.sp
|
7752
|
+
groonga HTTPサーバーを再起動(Fedora):
|
7753
|
+
.sp
|
7754
|
+
.nf
|
7755
|
+
.ft C
|
7756
|
+
% sudo systemctl restart groonga\-server\-gqtp
|
7757
|
+
.ft P
|
7758
|
+
.fi
|
7318
7759
|
.SS GQTP
|
7319
7760
|
.sp
|
7320
7761
|
TODO
|
@@ -9509,9 +9950,7 @@ clearlockは、対象となるオブジェクト(データベース,テーブル
|
|
9509
9950
|
対象となるオブジェクト名を指定します。空の場合、開いているdbオブジェクトが対象となります。
|
9510
9951
|
.UNINDENT
|
9511
9952
|
.UNINDENT
|
9512
|
-
.
|
9513
|
-
返値
|
9514
|
-
\-\-\-
|
9953
|
+
.SS 返値
|
9515
9954
|
.SS json形式
|
9516
9955
|
.sp
|
9517
9956
|
.nf
|
@@ -13464,7 +13903,7 @@ table_create Lexicon TABLE_PAT_KEY ShortText \-\-default_tokenizer TokenBigram \
|
|
13464
13903
|
.sp
|
13465
13904
|
全文検索では、あいまい検索をするために前方一致検索を使っています。前方一致検索は \fBTABLE_PAT_KEY\fP と \fBTABLE_DAT_KEY\fP がサポートしています。
|
13466
13905
|
.sp
|
13467
|
-
全文検索対象のテキストには大量のトークンが含まれるので、語彙表テーブルのキーも大量になります。大量のキーを格納するテーブルの場合はテーブルのサイズを意識する必要があります。これは、大きなテーブルはそれだけ多くのメモリーを必要とするからです。多くのメモリーが必要になると、ディスクI/Oが発生することもあります。ディスクI/O
|
13906
|
+
全文検索対象のテキストには大量のトークンが含まれるので、語彙表テーブルのキーも大量になります。大量のキーを格納するテーブルの場合はテーブルのサイズを意識する必要があります。これは、大きなテーブルはそれだけ多くのメモリーを必要とするからです。多くのメモリーが必要になると、ディスクI/Oが発生することもあります。ディスクI/Oが発生すると高速に検索できなくなります。そのため、大量のキーがあるテーブルの場合はテーブルのサイズが重要になります。 \fBTABLE_PAT_KEY\fP は \fBTABLE_DAT_KEY\fP よりもテーブルのサイズが小さいです。
|
13468
13907
|
.sp
|
13469
13908
|
上記の理由から、 \fBTABLE_PAT_KEY\fP が語彙表テーブルに適したテーブルの型です。
|
13470
13909
|
.SS タグインデックス用テーブルの作成
|
@@ -13861,59 +14300,7 @@ table_removeはテーブルと定義されているカラムを削除します
|
|
13861
14300
|
.INDENT 0.0
|
13862
14301
|
.TP
|
13863
14302
|
.B \fBname\fP
|
13864
|
-
削除対象のカラムが定義されているテーブルの名前を指定します。
|
13865
|
-
.UNINDENT
|
13866
|
-
.SS 返値
|
13867
|
-
.SS json形式
|
13868
|
-
.sp
|
13869
|
-
.nf
|
13870
|
-
.ft C
|
13871
|
-
[成功かどうかのフラグ]
|
13872
|
-
|
13873
|
-
\(ga\(ga成功かどうかのフラグ\(ga\(ga
|
13874
|
-
|
13875
|
-
エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
|
13876
|
-
.ft P
|
13877
|
-
.fi
|
13878
|
-
.SS 例
|
13879
|
-
.sp
|
13880
|
-
.nf
|
13881
|
-
.ft C
|
13882
|
-
table_remove Entry
|
13883
|
-
|
13884
|
-
[true]
|
13885
|
-
.ft P
|
13886
|
-
.fi
|
13887
|
-
.SS view_add
|
13888
|
-
.SS 名前
|
13889
|
-
.sp
|
13890
|
-
view_add \- view型のテーブルに要素となるテーブルを追加
|
13891
|
-
.SS 書式
|
13892
|
-
.sp
|
13893
|
-
.nf
|
13894
|
-
.ft C
|
13895
|
-
view_add view table
|
13896
|
-
.ft P
|
13897
|
-
.fi
|
13898
|
-
.SS 説明
|
13899
|
-
.sp
|
13900
|
-
groonga組込コマンドの一つであるview_addについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。
|
13901
|
-
.sp
|
13902
|
-
view_addは、view型のテーブルに要素となるテーブルを定義します。
|
13903
|
-
.SS 引数
|
13904
|
-
.sp
|
13905
|
-
\fBview\fP
|
13906
|
-
.INDENT 0.0
|
13907
|
-
.INDENT 3.5
|
13908
|
-
テーブルを追加するview型のテーブルの名前を指定します。
|
13909
|
-
.UNINDENT
|
13910
|
-
.UNINDENT
|
13911
|
-
.sp
|
13912
|
-
\fBtable\fP
|
13913
|
-
.INDENT 0.0
|
13914
|
-
.INDENT 3.5
|
13915
|
-
view型のテーブルに追加されるテーブルの名前を指定します。
|
13916
|
-
.UNINDENT
|
14303
|
+
削除対象のカラムが定義されているテーブルの名前を指定します。
|
13917
14304
|
.UNINDENT
|
13918
14305
|
.SS 返値
|
13919
14306
|
.SS json形式
|
@@ -13928,12 +14315,14 @@ view型のテーブルに追加されるテーブルの名前を指定します
|
|
13928
14315
|
.ft P
|
13929
14316
|
.fi
|
13930
14317
|
.SS 例
|
13931
|
-
.
|
13932
|
-
.
|
13933
|
-
.
|
13934
|
-
|
14318
|
+
.sp
|
14319
|
+
.nf
|
14320
|
+
.ft C
|
14321
|
+
table_remove Entry
|
14322
|
+
|
13935
14323
|
[true]
|
13936
|
-
.
|
14324
|
+
.ft P
|
14325
|
+
.fi
|
13937
14326
|
.SS データ型
|
13938
14327
|
.SS 名前
|
13939
14328
|
.sp
|
@@ -14096,21 +14485,15 @@ groongaのカラムは、ある型のベクターを保存することができ
|
|
14096
14485
|
脚注
|
14097
14486
|
.IP [1] 5
|
14098
14487
|
Object型はv1.2でサポートされます。
|
14099
|
-
.SS
|
14488
|
+
.SS テーブル
|
14100
14489
|
.SS 概要
|
14101
14490
|
.sp
|
14102
|
-
|
14103
|
-
four table types. They are \fBTABLE_NO_KEY\fP, \fBTABLE_HASH_KEY\fP,
|
14104
|
-
\fBTABLE_PAT_KEY\fP and \fBTABLE_DAT_KEY\fP.
|
14491
|
+
groongaのテーブルはIDとキーの対応を管理します。groongaは4つの種類のテーブルを提供しています。 \fBTABLE_NO_KEY\fP 、 \fBTABLE_HASH_KEY\fP 、 \fBTABLE_PAT_KEY\fP 、 \fBTABLE_DAT_KEY\fP です。
|
14105
14492
|
.sp
|
14106
|
-
|
14107
|
-
|
14108
|
-
key. \fBTABLE_NO_KEY\fP only manages ID. So \fBTABLE_NO_KEY\fP doesn\(aqt
|
14109
|
-
provides ID search and key search.
|
14110
|
-
.SS Characteristics
|
14493
|
+
\fBTABLE_NO_KEY\fP 以外のすべてのテーブルは高速なキー→ID検索とID→キー検索の両方をサポートしています。 \fBTABLE_NO_KEY\fP はキーをサポートしていません。 \fBTABLE_NO_KEY\fP はIDだけを管理します。そのため、 \fBTABLE_NO_KEY\fP はID検索もキー検索もサポートしていません。
|
14494
|
+
.SS 特徴
|
14111
14495
|
.sp
|
14112
|
-
|
14113
|
-
prefix is omitted in the table.)
|
14496
|
+
以下はgroongaにあるすべてのテーブルの特性表です。(この表の中では \fBTABLE_\fP プレフィックスは省略しています。)
|
14114
14497
|
.TS
|
14115
14498
|
center;
|
14116
14499
|
|l|l|l|l|l|.
|
@@ -14127,24 +14510,19 @@ T} T{
|
|
14127
14510
|
T}
|
14128
14511
|
_
|
14129
14512
|
T{
|
14130
|
-
|
14131
|
-
structure
|
14513
|
+
データ構造
|
14132
14514
|
T} T{
|
14133
14515
|
配列
|
14134
14516
|
T} T{
|
14135
|
-
|
14517
|
+
ハッシュテーブル
|
14136
14518
|
T} T{
|
14137
|
-
|
14138
|
-
trie
|
14519
|
+
パトリシアトライ
|
14139
14520
|
T} T{
|
14140
|
-
|
14141
|
-
array
|
14142
|
-
trie
|
14521
|
+
ダブル配列トライ
|
14143
14522
|
T}
|
14144
14523
|
_
|
14145
14524
|
T{
|
14146
|
-
ID
|
14147
|
-
support
|
14525
|
+
IDサポート
|
14148
14526
|
T} T{
|
14149
14527
|
o
|
14150
14528
|
T} T{
|
@@ -14156,8 +14534,7 @@ o
|
|
14156
14534
|
T}
|
14157
14535
|
_
|
14158
14536
|
T{
|
14159
|
-
|
14160
|
-
support
|
14537
|
+
キーサポート
|
14161
14538
|
T} T{
|
14162
14539
|
x
|
14163
14540
|
T} T{
|
@@ -14169,8 +14546,7 @@ o
|
|
14169
14546
|
T}
|
14170
14547
|
_
|
14171
14548
|
T{
|
14172
|
-
|
14173
|
-
support
|
14549
|
+
バリューサポート
|
14174
14550
|
T} T{
|
14175
14551
|
o
|
14176
14552
|
T} T{
|
@@ -14182,15 +14558,16 @@ x
|
|
14182
14558
|
T}
|
14183
14559
|
_
|
14184
14560
|
T{
|
14185
|
-
|
14186
|
-
speed
|
14187
|
-
(o \-> fast)
|
14188
|
-
(x \-> slow)
|
14189
|
-
T} T{
|
14561
|
+
キー→ID検索速度
|
14190
14562
|
.INDENT 0.0
|
14191
14563
|
.IP \(bu 2
|
14564
|
+
o: 速い
|
14565
|
+
.IP \(bu 2
|
14566
|
+
x: 遅い
|
14192
14567
|
.UNINDENT
|
14193
14568
|
T} T{
|
14569
|
+
\-
|
14570
|
+
T} T{
|
14194
14571
|
oo
|
14195
14572
|
T} T{
|
14196
14573
|
x
|
@@ -14199,10 +14576,13 @@ o
|
|
14199
14576
|
T}
|
14200
14577
|
_
|
14201
14578
|
T{
|
14202
|
-
|
14203
|
-
|
14204
|
-
(
|
14205
|
-
|
14579
|
+
更新速度
|
14580
|
+
.INDENT 0.0
|
14581
|
+
.IP \(bu 2
|
14582
|
+
o: 速い
|
14583
|
+
.IP \(bu 2
|
14584
|
+
x: 遅い
|
14585
|
+
.UNINDENT
|
14206
14586
|
T} T{
|
14207
14587
|
ooo
|
14208
14588
|
T} T{
|
@@ -14214,9 +14594,13 @@ x
|
|
14214
14594
|
T}
|
14215
14595
|
_
|
14216
14596
|
T{
|
14217
|
-
|
14218
|
-
|
14219
|
-
(
|
14597
|
+
サイズ
|
14598
|
+
.INDENT 0.0
|
14599
|
+
.IP \(bu 2
|
14600
|
+
o: 小さい
|
14601
|
+
.IP \(bu 2
|
14602
|
+
x: 大きい
|
14603
|
+
.UNINDENT
|
14220
14604
|
T} T{
|
14221
14605
|
ooo
|
14222
14606
|
T} T{
|
@@ -14228,12 +14612,9 @@ x
|
|
14228
14612
|
T}
|
14229
14613
|
_
|
14230
14614
|
T{
|
14231
|
-
|
14232
|
-
update
|
14615
|
+
キー変更
|
14233
14616
|
T} T{
|
14234
|
-
|
14235
|
-
.IP \(bu 2
|
14236
|
-
.UNINDENT
|
14617
|
+
\-
|
14237
14618
|
T} T{
|
14238
14619
|
x
|
14239
14620
|
T} T{
|
@@ -14243,13 +14624,9 @@ o
|
|
14243
14624
|
T}
|
14244
14625
|
_
|
14245
14626
|
T{
|
14246
|
-
|
14247
|
-
prefix
|
14248
|
-
search
|
14627
|
+
共通接頭辞検索
|
14249
14628
|
T} T{
|
14250
|
-
|
14251
|
-
.IP \(bu 2
|
14252
|
-
.UNINDENT
|
14629
|
+
\-
|
14253
14630
|
T} T{
|
14254
14631
|
x
|
14255
14632
|
T} T{
|
@@ -14259,12 +14636,9 @@ o
|
|
14259
14636
|
T}
|
14260
14637
|
_
|
14261
14638
|
T{
|
14262
|
-
|
14263
|
-
search
|
14639
|
+
前方一致検索
|
14264
14640
|
T} T{
|
14265
|
-
|
14266
|
-
.IP \(bu 2
|
14267
|
-
.UNINDENT
|
14641
|
+
\-
|
14268
14642
|
T} T{
|
14269
14643
|
x
|
14270
14644
|
T} T{
|
@@ -14276,9 +14650,7 @@ _
|
|
14276
14650
|
T{
|
14277
14651
|
範囲検索
|
14278
14652
|
T} T{
|
14279
|
-
|
14280
|
-
.IP \(bu 2
|
14281
|
-
.UNINDENT
|
14653
|
+
\-
|
14282
14654
|
T} T{
|
14283
14655
|
x
|
14284
14656
|
T} T{
|
@@ -14290,98 +14662,64 @@ _
|
|
14290
14662
|
.TE
|
14291
14663
|
.SS \fBTABLE_NO_KEY\fP
|
14292
14664
|
.sp
|
14293
|
-
\fBTABLE_NO_KEY\fP
|
14294
|
-
key. \fBTABLE_NO_KEY\fP is a only table that doesn\(aqt support key.
|
14665
|
+
\fBTABLE_NO_KEY\fP はとても高速でとても小さいのですが、キーをサポートしていません。キーをサポートしていないテーブルは \fBTABLE_NO_KEY\fP だけです。
|
14295
14666
|
.sp
|
14296
|
-
|
14297
|
-
because lexicon stores tokens as key. \fBTABLE_NO_KEY\fP is useful for
|
14298
|
-
no key records such as log.
|
14667
|
+
\fBTABLE_NO_KEY\fP を全文検索用の語彙表として使うことはできません。これは、語彙表はトークンをキーとして保存する必要があるからです。 \fBTABLE_NO_KEY\fP はログのようにキーのないレコードを管理するテーブルとして有用です。
|
14299
14668
|
.SS \fBTABLE_HASH_KEY\fP
|
14300
14669
|
.sp
|
14301
|
-
\fBTABLE_HASH_KEY\fP
|
14302
|
-
functions such as common prefix search and predictive search.
|
14670
|
+
\fBTABLE_HASH_KEY\fP は高速ですが、共通接頭辞検索や前方一致検索といった高度な検索機能をサポートしていません。
|
14303
14671
|
.sp
|
14304
|
-
\fBTABLE_HASH_KEY\fP
|
14305
|
-
search.
|
14672
|
+
\fBTABLE_HASH_KEY\fP はタグ検索のように完全一致検索用のインデックスとして有用です。
|
14306
14673
|
.SS \fBTABLE_PAT_KEY\fP
|
14307
14674
|
.sp
|
14308
|
-
\fBTABLE_PAT_KEY\fP
|
14675
|
+
\fBTABLE_PAT_KEY\fP は、小さく、高度な検索機能もサポートしています。
|
14309
14676
|
.sp
|
14310
|
-
\fBTABLE_PAT_KEY\fP
|
14311
|
-
index for range search.
|
14677
|
+
\fBTABLE_PAT_KEY\fP は全文検索用の語彙表としても有用ですし、範囲検索用のインデックスとしても有用です。
|
14312
14678
|
.SS \fBTABLE_DAT_KEY\fP
|
14313
14679
|
.sp
|
14314
|
-
\fBTABLE_DAT_KEY\fP
|
14315
|
-
is not suitable for storing many records. \fBTABLE_DAT_KEY\fP is a only
|
14316
|
-
table that supports key update.
|
14680
|
+
\fBTABLE_DAT_KEY\fP は高速でキーの更新もサポートしていますが、サイズが大きいです。大量のレコードを保存する用途には向いていません。キーの更新をサポートしているテーブルは \fBTABLE_DAT_KEY\fP だけです。
|
14317
14681
|
.sp
|
14318
|
-
\fBTABLE_DAT_KEY\fP
|
14319
|
-
|
14320
|
-
table names to object ID. And groonga database needs to rename object
|
14321
|
-
name. Those features are implemented by \fBTABLE_DAT_KEY\fP. The number
|
14322
|
-
of objects is small. So large data size demerit of \fBTABLE_DAT_KEY\fP
|
14323
|
-
can be ignored.
|
14324
|
-
.SS Record ID
|
14682
|
+
\fBTABLE_DAT_KEY\fP はgroongaのデータベース内で使われています。groongaのデータベースは \fBShortText\fP や \fBTokenBigram\fP 、テーブル名などオブジェクトの名前をオブジェクトのIDに変換する必要があります。さらに、groongaのデータベースはオブジェクト名の変更もサポートする必要があります。これらの機能は \fBTABLE_DAT_KEY\fP で実現されています。オブジェクト数は小さいので \fBTABLE_DAT_KEY\fP のサイズが大きいというデメリットは無視できます。
|
14683
|
+
.SS レコードID
|
14325
14684
|
.sp
|
14326
|
-
|
14685
|
+
レコードIDは自動的に割り当てられます。明示的に割り当てるレコードIDを指定することはできません。
|
14327
14686
|
.sp
|
14328
|
-
|
14687
|
+
削除されたレコードのレコードIDは再利用される可能性があります。
|
14329
14688
|
.sp
|
14330
|
-
|
14331
|
-
|
14332
|
-
.SS Persistent table and temporary table
|
14689
|
+
妥当なレコードIDの範囲は1から268435455までです。(1も268435455も妥当なIDです。)
|
14690
|
+
.SS 永続テーブルと一時テーブル
|
14333
14691
|
.sp
|
14334
|
-
|
14335
|
-
.SS
|
14692
|
+
テーブルは永続テーブルまたは一時テーブルです。
|
14693
|
+
.SS 永続テーブル
|
14336
14694
|
.sp
|
14337
|
-
|
14338
|
-
persistent table aren\(aqt deleted after closing table or
|
14339
|
-
database.
|
14695
|
+
永続テーブルは名前がついていてデータベースに登録されています。永続テーブルの中のレコードはテーブルやデータベースを閉じた後でも消えません。
|
14340
14696
|
.sp
|
14341
|
-
|
14342
|
-
|
14343
|
-
.SS Temporary table
|
14697
|
+
永続テーブルは \fB/reference/commands/table_create\fP コマンドで作成します。
|
14698
|
+
.SS 一時テーブル
|
14344
14699
|
.sp
|
14345
|
-
|
14346
|
-
after closing table. Temporary table is used to store search result,
|
14347
|
-
sort result, group (drilldown) result and so on. \fBTABLE_HASH_KEY\fP is
|
14348
|
-
used for search result and group result. \fBTABLE_NO_KEY\fP is used for
|
14349
|
-
sort result.
|
14700
|
+
一時テーブルには名前がありません。一時テーブルのレコードはテーブルを閉じると削除されます。一時テーブルは検索結果やソート結果、グループ(ドリルダウン)結果などを格納するために使われています。検索結果とグループ結果には \fBTABLE_HASH_KEY\fP が使われています。ソート結果には \fBTABLE_NO_KEY\fP が使われています。
|
14350
14701
|
.SS 制限
|
14351
14702
|
.sp
|
14352
|
-
|
14353
|
-
more records in a table.
|
14703
|
+
最大レコード数は268435455です。1つのテーブルに268435456以上のレコードを追加できません。
|
14354
14704
|
.sp
|
14355
|
-
|
14356
|
-
larger key. You can use column instead of key for 4097byte or larger
|
14357
|
-
size data. \fBText\fP and \fBLargeText\fP types supports 4097byte or
|
14358
|
-
larger size data.
|
14705
|
+
最大キーサイズは4096バイトです。4097バイト以上の大きいキーは使うことができません。4097バイト以上の大きなサイズのデータはキーではなくカラムに保存してください。 \fBText\fP と \fBLargeText\fP 型は4097バイト以上の大きさのサイズのデータをサポートしています。
|
14359
14706
|
.sp
|
14360
|
-
|
14361
|
-
split a database (sharding) or reduce each key size to handle 4GiB or
|
14362
|
-
more larger total key size.
|
14707
|
+
キーサイズの合計の最大値は4GiBです。キーサイズの合計が4GiBを超える場合は、テーブルを分割したり、データベースを分割したり(シャーディング)、それぞれのキーのサイズを減らしてください。
|
14363
14708
|
.SS 参考
|
14364
14709
|
.INDENT 0.0
|
14365
14710
|
.IP \(bu 2
|
14366
14711
|
\fB/reference/commands/table_create\fP
|
14367
14712
|
.UNINDENT
|
14368
|
-
.SS
|
14713
|
+
.SS ノーマライザー
|
14369
14714
|
.SS 概要
|
14370
14715
|
.sp
|
14371
|
-
|
14372
|
-
storing table key. For example, \fBA\fP and \fBa\fP are processed as the
|
14373
|
-
same character after normalization.
|
14716
|
+
groongaには正規化をするノーマライザーモジュールがあります。これはテキストをトークナイズするときとテーブルのキーを保存するときに使われます。例えば、正規化をした後は \fBA\fP と \fBa\fP は同じ文字として扱われます。
|
14374
14717
|
.sp
|
14375
|
-
|
14376
|
-
normalization by registering your normalizer plugins to groonga.
|
14718
|
+
ノーマライザーモジュールはプラグインとして追加できます。ノーマライザープラグインをgroongaに追加することでテキストの正規化方法をカスタマイズできます。
|
14377
14719
|
.sp
|
14378
|
-
|
14379
|
-
one normalizer module. You can attach a normalizer module to a table
|
14380
|
-
by \fItable\-create\-normalizer\fP option in
|
14381
|
-
\fB/reference/commands/table_create\fP.
|
14720
|
+
ノーマライザーモジュールはテーブルに関連付いています。テーブルは0個か1個のノーマライザーモジュールを持つことができます。 \fB/reference/commands/table_create\fP の \fItable\-create\-normalizer\fP オプションでテーブルにノーマライザーオプションを関連付けることができます。
|
14382
14721
|
.sp
|
14383
|
-
|
14384
|
-
normalizer module:
|
14722
|
+
以下は \fBNormalizerAuto\fP ノーマライザーモジュールを使う \fBtable_create\fP の例です。
|
14385
14723
|
.sp
|
14386
14724
|
実行例:
|
14387
14725
|
.sp
|
@@ -14392,20 +14730,12 @@ table_create Dictionary TABLE_HASH_KEY ShortText \-\-normalizer NormalizerAuto
|
|
14392
14730
|
.ft P
|
14393
14731
|
.fi
|
14394
14732
|
.IP ノート
|
14395
|
-
|
14396
|
-
|
14397
|
-
.
|
14398
|
-
You can open an old database by groonga 2.1.0 or later. An old
|
14399
|
-
database means that the database is created by groonga 2.0.9 or
|
14400
|
-
earlier. But you cannot open the opened old database by groonga
|
14401
|
-
2.0.9 or earlier. Once you open the old database by groonga 2.1.0
|
14402
|
-
or later, \fBKEY_NORMALIZE\fP flag information in the old database is
|
14403
|
-
converted to normalizer information. So groogna 2.0.9 or earlier
|
14404
|
-
cannot find \fBKEY_NORMALIZE\fP flag information in the opened old
|
14405
|
-
database.
|
14733
|
+
groonga 2.0.9以前には \fBtable_create\fP に \fB\-\-normalizer\fP オプションはありません。代わりに \fBKEY_NORMALIZE\fP フラグを使っていました。
|
14734
|
+
.sp
|
14735
|
+
groonga 2.1.0以降で古いデータベースを開くことができます。ここでいう古いデータベースとはgroonga 2.0.9以前で作ったデータベースということです。しかし、一度新しいgroongaで開いたデータベースを2.0.9以前のgroongaで開くことはできません。一度 groonga 2.1.0以降のgroongaでデータベースを開くと、 \fBKEY_NORMALIZE\fP フラグ情報がノーマライザー情報に変換されます。そのため、2.0.9以前のgroongaは、一度groonga 2.1.0以降で開いたデータベース内から \fBKEY_NROMALIZE\fP フラグの情報を見つけることができません。
|
14406
14736
|
.RE
|
14407
14737
|
.sp
|
14408
|
-
|
14738
|
+
ノーマライザーモジュールを持っているテーブルのキーは正規化されます。
|
14409
14739
|
.sp
|
14410
14740
|
実行例:
|
14411
14741
|
.sp
|
@@ -14458,17 +14788,12 @@ select Dictionary
|
|
14458
14788
|
.ft P
|
14459
14789
|
.fi
|
14460
14790
|
.sp
|
14461
|
-
\fBNormalizerAuto\fP
|
14462
|
-
For example, \fB"Apple"\fP is normalized to \fB"apple"\fP, \fB"black"\fP is
|
14463
|
-
normalized to \fB"blank"\fP and \fB"COLOR"\fP is normalized to
|
14464
|
-
\fB"color"\fP.
|
14791
|
+
\fBNormalizerAuto\fP ノーマライザーはテキストを小文字に正規化します。例えば、 \fB"Apple"\fP は \fB"apple"\fP に正規化され、 \fB"black"\fP は \fB"blank"\fP に正規化され、 \fB"COLOR"\fP は \fB"color"\fP に正規化されます。
|
14465
14792
|
.sp
|
14466
|
-
|
14467
|
-
|
14468
|
-
normalized as described above.
|
14469
|
-
.SS Built\-in normalizers
|
14793
|
+
テーブルが全文検索用の語彙表の場合、トークナイズされたトークンは正規化されます。なぜなら、トークンはテーブルのキーとして保存されるからです。テーブルのキーは前述のように正規化されます。
|
14794
|
+
.SS 組み込みノーマライザー
|
14470
14795
|
.sp
|
14471
|
-
|
14796
|
+
以下は組み込みのノーマライザーのリストです。
|
14472
14797
|
.INDENT 0.0
|
14473
14798
|
.INDENT 3.5
|
14474
14799
|
.INDENT 0.0
|
@@ -14481,25 +14806,13 @@ Here is a list of built\-in\-normalizers:
|
|
14481
14806
|
.UNINDENT
|
14482
14807
|
.SS \fBNormalizerAuto\fP
|
14483
14808
|
.sp
|
14484
|
-
|
14485
|
-
normalizer. \fBNormalizerAuto\fP was the normalizer for groonga 2.0.9 or
|
14486
|
-
earlier. \fBKEY_NORMALIZE\fP flag in \fBtable_create\fP on groonga 2.0.9
|
14487
|
-
or earlier equals to \fB\-\-normalizer NormalizerAuto\fP option in
|
14488
|
-
\fBtable\fP on groonga 2.1.0 or later.
|
14809
|
+
通常は \fBNormalizerAuto\fP ノーマライザーを使うべきです。 \fBNormalizerAuto\fP はgroonga 2.0.9以前で使っていたノーマライザーと同じものです。2.0.9以前のgroongaの \fBtable_create\fP の \fBKEY_NORMALIZE\fP フラグは、2.1.0以降のgroongaの \fBtable_create\fP の \fB\-\-normalizer NormalizerAuto\fP と同じです。
|
14489
14810
|
.sp
|
14490
|
-
\fBNormalizerAuto\fP
|
14491
|
-
(Normalization Form Compatibility Composition) for UTF\-8 encoding
|
14492
|
-
text. It uses encoding specific original normalization for other
|
14493
|
-
encodings. The results of those original normalization are similar to
|
14494
|
-
NFKC.
|
14811
|
+
\fBNormalizerAuto\fP はすべてのエンコーディングに対応しています。UTF\-8でエンコードされたテキストにはUnicodeのNFKC(Normalization Form Compatibility Composition)を使います。他のエンコーディング用にはエンコーディング毎に独自の正規化をします。これらの独自の正規化の結果はNFKCでの結果と似たものになります。
|
14495
14812
|
.sp
|
14496
|
-
|
14497
|
-
LETTER KA) + half\-width katakana voiced sound mark (U+FF9E HALFWIDTH
|
14498
|
-
KATAKANA VOICED SOUND MARK) is normalized to full\-width katakana with
|
14499
|
-
voiced sound mark (U+30AC KATAKANA LETTER GA). The former is two
|
14500
|
-
chracters but the latter is one character.
|
14813
|
+
例えば、半角カタカナ(例えば「カ」: U+FF76 HALFWIDTH KATAKANA LETTER KA) + 半角カタカナの濁点(「゙」: U+FF9E HALFWIDTH KATAKANA VOICED SOUND MARK)は濁点付きの全角カタカナ(「ガ」: U+30AC KATAKANA LETTER GA)に正規化されます。前者は2文字ですが、後者は1文字です。
|
14501
14814
|
.sp
|
14502
|
-
|
14815
|
+
以下は \fBNormalizerAuto\fP ノーマライザーを使う例です。
|
14503
14816
|
.sp
|
14504
14817
|
実行例:
|
14505
14818
|
.sp
|
@@ -14511,14 +14824,11 @@ table_create NormalLexicon TABLE_HASH_KEY ShortText \-\-normalizer NormalizerAut
|
|
14511
14824
|
.fi
|
14512
14825
|
.SS \fBNormalizerNFKC51\fP
|
14513
14826
|
.sp
|
14514
|
-
\fBNormalizerNFKC51\fP
|
14515
|
-
Form Compatibility Composition) for Unicode version 5.1. It supports
|
14516
|
-
only UTF\-8 encoding.
|
14827
|
+
\fBNormalizerNFKC51\fP はUnicode 5.1用のUnicode NFKC(Normalization Form Compatibility Composition)を使ってテキストを正規化します。UTF\-8エンコーディングのみをサポートしています。
|
14517
14828
|
.sp
|
14518
|
-
|
14519
|
-
use \fBNormalizerAuto\fP instead.
|
14829
|
+
通常、 \fBNormalizerNFKC51\fP を明示的に使う必要はありません。代わりに \fBNormalizerAuto\fP を使ってください。
|
14520
14830
|
.sp
|
14521
|
-
|
14831
|
+
以下は \fBNormalizerNFKC51\fP ノーマライザーを使う例です。
|
14522
14832
|
.sp
|
14523
14833
|
実行例:
|
14524
14834
|
.sp
|
@@ -18474,6 +18784,281 @@ now()
|
|
18474
18784
|
1256791194.55541
|
18475
18785
|
.ft P
|
18476
18786
|
.fi
|
18787
|
+
.SS query
|
18788
|
+
.SS 概要
|
18789
|
+
.sp
|
18790
|
+
\fBquery\fP は \fB\-\-match_columns\fP と \fB\-\-query\fP のパラメータを関数の引数として指定することを可能にします。
|
18791
|
+
.sp
|
18792
|
+
\fBquery\fP はgroongaの組み込み関数の1つで、複数の \fBquery\fP 関数を \fB\-\-filter\fP オプションのパラメータとして指定することができます。
|
18793
|
+
.sp
|
18794
|
+
そのような柔軟性があるので、 複数の \fBquery\fP 関数を組合せることで全文検索の振舞いを制御することができます。
|
18795
|
+
.sp
|
18796
|
+
\fBquery\fP は \fB/reference/commands/select\fP コマンドの \fB\-\-filter\fP 内でのみ指定できます。
|
18797
|
+
.SS 構文
|
18798
|
+
.sp
|
18799
|
+
\fBquery\fP は2つの引数が必要です。 \fBmatch_column\fP と \fBquery_string\fP です。
|
18800
|
+
.sp
|
18801
|
+
.nf
|
18802
|
+
.ft C
|
18803
|
+
query(match_column, query_string)
|
18804
|
+
.ft P
|
18805
|
+
.fi
|
18806
|
+
.SS 使い方
|
18807
|
+
.sp
|
18808
|
+
使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。
|
18809
|
+
.sp
|
18810
|
+
サンプルスキーマ:
|
18811
|
+
.sp
|
18812
|
+
実行例:
|
18813
|
+
.sp
|
18814
|
+
.nf
|
18815
|
+
.ft C
|
18816
|
+
table_create Documents TABLE_NO_KEY
|
18817
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18818
|
+
column_create Documents content COLUMN_SCALAR Text
|
18819
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18820
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText \-\-default_tokenizer TokenBigram
|
18821
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18822
|
+
column_create Terms documents_content_index COLUMN_INDEX|WITH_POSITION Documents content
|
18823
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18824
|
+
table_create Users TABLE_NO_KEY
|
18825
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18826
|
+
column_create Users name COLUMN_SCALAR ShortText
|
18827
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18828
|
+
column_create Users memo COLUMN_SCALAR ShortText
|
18829
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18830
|
+
table_create Lexicon TABLE_HASH_KEY ShortText \e
|
18831
|
+
\-\-default_tokenizer TokenBigramSplitSymbolAlphaDigit \e
|
18832
|
+
\-\-normalizer NormalizerAuto
|
18833
|
+
column_create Lexicon users_name COLUMN_INDEX|WITH_POSITION Users name
|
18834
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18835
|
+
column_create Lexicon users_memo COLUMN_INDEX|WITH_POSITION Users memo
|
18836
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18837
|
+
.ft P
|
18838
|
+
.fi
|
18839
|
+
.sp
|
18840
|
+
サンプルデータ:
|
18841
|
+
.sp
|
18842
|
+
実行例:
|
18843
|
+
.sp
|
18844
|
+
.nf
|
18845
|
+
.ft C
|
18846
|
+
load \-\-table Users
|
18847
|
+
[
|
18848
|
+
{"name": "Alice", "memo": "groonga user"},
|
18849
|
+
{"name": "Alisa", "memo": "mroonga user"},
|
18850
|
+
{"name": "Bob", "memo": "rroonga user"},
|
18851
|
+
{"name": "Tom", "memo": "nroonga user"},
|
18852
|
+
{"name": "Tobby", "memo": "groonga and mroonga user. mroonga is ..."},
|
18853
|
+
]
|
18854
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
18855
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
18856
|
+
.ft P
|
18857
|
+
.fi
|
18858
|
+
.sp
|
18859
|
+
\fB\-\-match_columns\fP と \fB\-\-query\fP 引数を使わずにキーワード\(aqalice\(aqを\(ga\(gaquery\(ga\(ga 関数を使って検索する簡単な使用例です。
|
18860
|
+
.sp
|
18861
|
+
実行例:
|
18862
|
+
.sp
|
18863
|
+
.nf
|
18864
|
+
.ft C
|
18865
|
+
select Users \-\-output_columns name,_score \-\-filter \(aqquery("name * 10", "alice")\(aq
|
18866
|
+
# [
|
18867
|
+
# [
|
18868
|
+
# 0,
|
18869
|
+
# 1337566253.89858,
|
18870
|
+
# 0.000355720520019531
|
18871
|
+
# ],
|
18872
|
+
# [
|
18873
|
+
# [
|
18874
|
+
# [
|
18875
|
+
# 1
|
18876
|
+
# ],
|
18877
|
+
# [
|
18878
|
+
# [
|
18879
|
+
# "name",
|
18880
|
+
# "ShortText"
|
18881
|
+
# ],
|
18882
|
+
# [
|
18883
|
+
# "_score",
|
18884
|
+
# "Int32"
|
18885
|
+
# ]
|
18886
|
+
# ],
|
18887
|
+
# [
|
18888
|
+
# "Alice",
|
18889
|
+
# 10
|
18890
|
+
# ]
|
18891
|
+
# ]
|
18892
|
+
# ]
|
18893
|
+
# ]
|
18894
|
+
.ft P
|
18895
|
+
.fi
|
18896
|
+
.sp
|
18897
|
+
上記のクエリを実行する際、\(aqalice\(aqというキーワードには重みづけとして値10を設定します。
|
18898
|
+
.sp
|
18899
|
+
\fBquery\fP あり/なしで対照的な例がこちらです。
|
18900
|
+
.sp
|
18901
|
+
実行例:
|
18902
|
+
.sp
|
18903
|
+
.nf
|
18904
|
+
.ft C
|
18905
|
+
select Users \-\-output_columns name,memo,_score \-\-match_columns "memo * 10" \-\-query "memo:@groonga OR memo:@mroonga OR memo:@user" \-\-sortby \-_score
|
18906
|
+
# [
|
18907
|
+
# [
|
18908
|
+
# 0,
|
18909
|
+
# 1337566253.89858,
|
18910
|
+
# 0.000355720520019531
|
18911
|
+
# ],
|
18912
|
+
# [
|
18913
|
+
# [
|
18914
|
+
# [
|
18915
|
+
# 5
|
18916
|
+
# ],
|
18917
|
+
# [
|
18918
|
+
# [
|
18919
|
+
# "name",
|
18920
|
+
# "ShortText"
|
18921
|
+
# ],
|
18922
|
+
# [
|
18923
|
+
# "memo",
|
18924
|
+
# "ShortText"
|
18925
|
+
# ],
|
18926
|
+
# [
|
18927
|
+
# "_score",
|
18928
|
+
# "Int32"
|
18929
|
+
# ]
|
18930
|
+
# ],
|
18931
|
+
# [
|
18932
|
+
# "Tobby",
|
18933
|
+
# "groonga and mroonga user. mroonga is ...",
|
18934
|
+
# 4
|
18935
|
+
# ],
|
18936
|
+
# [
|
18937
|
+
# "Alice",
|
18938
|
+
# "groonga user",
|
18939
|
+
# 2
|
18940
|
+
# ],
|
18941
|
+
# [
|
18942
|
+
# "Alisa",
|
18943
|
+
# "mroonga user",
|
18944
|
+
# 2
|
18945
|
+
# ],
|
18946
|
+
# [
|
18947
|
+
# "Bob",
|
18948
|
+
# "rroonga user",
|
18949
|
+
# 1
|
18950
|
+
# ],
|
18951
|
+
# [
|
18952
|
+
# "Tom",
|
18953
|
+
# "nroonga user",
|
18954
|
+
# 1
|
18955
|
+
# ]
|
18956
|
+
# ]
|
18957
|
+
# ]
|
18958
|
+
# ]
|
18959
|
+
.ft P
|
18960
|
+
.fi
|
18961
|
+
.sp
|
18962
|
+
この場合、\(aqgroonga\(aqと\(aqmroonga\(aqと\(aquser\(aqというキーワードは同じ重みづけがされています。この方法ではキーワードごとに異なる重みづけを行うことはできません。
|
18963
|
+
.sp
|
18964
|
+
実行例:
|
18965
|
+
.sp
|
18966
|
+
.nf
|
18967
|
+
.ft C
|
18968
|
+
select Users \-\-output_columns name,memo,_score \-\-filter \(aqquery("memo * 10", "groonga") || query("memo * 20", "mroonga") || query("memo * 1", "user")\(aq \-\-sortby \-_score
|
18969
|
+
# [
|
18970
|
+
# [
|
18971
|
+
# 0,
|
18972
|
+
# 1337566253.89858,
|
18973
|
+
# 0.000355720520019531
|
18974
|
+
# ],
|
18975
|
+
# [
|
18976
|
+
# [
|
18977
|
+
# [
|
18978
|
+
# 5
|
18979
|
+
# ],
|
18980
|
+
# [
|
18981
|
+
# [
|
18982
|
+
# "name",
|
18983
|
+
# "ShortText"
|
18984
|
+
# ],
|
18985
|
+
# [
|
18986
|
+
# "memo",
|
18987
|
+
# "ShortText"
|
18988
|
+
# ],
|
18989
|
+
# [
|
18990
|
+
# "_score",
|
18991
|
+
# "Int32"
|
18992
|
+
# ]
|
18993
|
+
# ],
|
18994
|
+
# [
|
18995
|
+
# "Tobby",
|
18996
|
+
# "groonga and mroonga user. mroonga is ...",
|
18997
|
+
# 51
|
18998
|
+
# ],
|
18999
|
+
# [
|
19000
|
+
# "Alisa",
|
19001
|
+
# "mroonga user",
|
19002
|
+
# 21
|
19003
|
+
# ],
|
19004
|
+
# [
|
19005
|
+
# "Alice",
|
19006
|
+
# "groonga user",
|
19007
|
+
# 11
|
19008
|
+
# ],
|
19009
|
+
# [
|
19010
|
+
# "Tom",
|
19011
|
+
# "nroonga user",
|
19012
|
+
# 1
|
19013
|
+
# ],
|
19014
|
+
# [
|
19015
|
+
# "Bob",
|
19016
|
+
# "rroonga user",
|
19017
|
+
# 1
|
19018
|
+
# ]
|
19019
|
+
# ]
|
19020
|
+
# ]
|
19021
|
+
# ]
|
19022
|
+
.ft P
|
19023
|
+
.fi
|
19024
|
+
.sp
|
19025
|
+
一方、複数の \fBquery\fP を指定することで、\(aqgroonga\(aqと\(aqmroonga\(aqと\(aquser\(aqそれぞれのキーワードに対し異なる重みづけを行えます。
|
19026
|
+
.sp
|
19027
|
+
結果として、意図した様に異なる重みづけを行いつつ全文検索の振舞いを制御することができます。
|
19028
|
+
.SS 引数
|
19029
|
+
.sp
|
19030
|
+
必須引数は二つあります。 \fBmatch_column\fP と \fBquery_string\fP です。
|
19031
|
+
.SS \fBmatch_column\fP
|
19032
|
+
.INDENT 0.0
|
19033
|
+
.INDENT 3.5
|
19034
|
+
\fBmatch_columns\fP と同様のパラメータを指定します。
|
19035
|
+
.UNINDENT
|
19036
|
+
.UNINDENT
|
19037
|
+
.sp
|
19038
|
+
match_columnについては \fIselect\-match\-columns\fP を参照してください。
|
19039
|
+
.SS \fBquery_string\fP
|
19040
|
+
.INDENT 0.0
|
19041
|
+
.INDENT 3.5
|
19042
|
+
\fBquery\fP と同様のパラメータを指定します。
|
19043
|
+
.UNINDENT
|
19044
|
+
.UNINDENT
|
19045
|
+
.sp
|
19046
|
+
query stringについては \fIselect\-query\fP を参照してください。
|
19047
|
+
.SS 戻り値
|
19048
|
+
.sp
|
19049
|
+
\fBquery\fP は真偽値(trueもしくはfalse)を返します。
|
19050
|
+
.SS TODO
|
19051
|
+
.INDENT 0.0
|
19052
|
+
.IP \(bu 2
|
19053
|
+
query_expansionのサポート
|
19054
|
+
.IP \(bu 2
|
19055
|
+
query_flagsのサポート
|
19056
|
+
.UNINDENT
|
19057
|
+
.SS 参考
|
19058
|
+
.INDENT 0.0
|
19059
|
+
.IP \(bu 2
|
19060
|
+
\fB/reference/commands/select\fP
|
19061
|
+
.UNINDENT
|
18477
19062
|
.SS rand
|
18478
19063
|
.SS 名前
|
18479
19064
|
.sp
|
@@ -19959,13 +20544,13 @@ Travis CI上でgroongaを使っているオープンソースソフトウェア
|
|
19959
20544
|
groongaプロジェクトではみなさんからのコントリビュートを歓迎します!コントリビュートの方法はいくつもあります。groongaを使ったり誰かに紹介することもコントリビュートですし、バグレポートを送ったり、groonga本体やgroonga関連の開発に参加することもコントリビュートです。プログラムではなく、ドキュメントでのコントリビュートも歓迎します!
|
19960
20545
|
.INDENT 0.0
|
19961
20546
|
.TP
|
19962
|
-
.B
|
20547
|
+
.B ユーザーの立場で:
|
19963
20548
|
このドキュメントを読んでください。
|
19964
20549
|
.TP
|
19965
|
-
.B
|
20550
|
+
.B 布教する立場で:
|
19966
20551
|
groongaについてまわりの人に話してください。
|
19967
20552
|
.TP
|
19968
|
-
.B
|
20553
|
+
.B 開発者の立場で: 不具合報告や開発、ドキュメント
|
19969
20554
|
これらについてはこのセクションで説明します。
|
19970
20555
|
.UNINDENT
|
19971
20556
|
.SS バグレポートの送り方
|
@@ -21364,9 +21949,7 @@ pull requestを送るためのコマンドライン:
|
|
21364
21949
|
.fi
|
21365
21950
|
.sp
|
21366
21951
|
これでGitHub上でpull requestを送る準備ができました。あとは、GitHub上の自分のリポジトリのページへアクセスして \fIPull Request\fP ボタンを押すだけです。
|
21367
|
-
|
21368
|
-
.sp
|
21369
|
-
\fI\%Help.GitHub - Sending pull requests\fP.
|
21952
|
+
pull requestの送り方
|
21370
21953
|
.RE
|
21371
21954
|
.SS パッチの送り方
|
21372
21955
|
.sp
|
@@ -21381,17 +21964,9 @@ pull requestを送るためのコマンドライン:
|
|
21381
21964
|
.fi
|
21382
21965
|
.sp
|
21383
21966
|
カレントディレクトリに000X\-YYY.patchという名前のファイルができていると思います。これをgroongaプロジェクトに送ってください!
|
21384
|
-
.IP "参考"
|
21385
|
-
.sp
|
21386
|
-
\fB/community\fP describes our contact information.
|
21387
|
-
.RE
|
21388
21967
|
.SS .poファイルの送り方
|
21389
21968
|
.sp
|
21390
21969
|
doc/locale/${LANGUAGE}/LC_MESSAGES/以下を.tar.gzや.zipなどでアーカイブにしてgroongaプロジェクトに送ってください!(\(ga${LANGUAGE}\(ga は\(aqja\(aqなど自分の言語の言語コードに置き換えてください。)こちらでアーカイブの中の内容をマージします。
|
21391
|
-
.IP "参考"
|
21392
|
-
.sp
|
21393
|
-
\fB/community\fP describes our contact information.
|
21394
|
-
.RE
|
21395
21970
|
.SS 新しい言語の追加方法
|
21396
21971
|
.sp
|
21397
21972
|
新しい翻訳対象の言語を追加するコマンドライン:
|
@@ -21404,9 +21979,7 @@ doc/locale/${LANGUAGE}/LC_MESSAGES/以下を.tar.gzや.zipなどでアーカイ
|
|
21404
21979
|
.fi
|
21405
21980
|
.sp
|
21406
21981
|
\fI${LANGUAGE}\fP は\(aqja\(aqなどの自分の言語の言語コードに置き換えてください。
|
21407
|
-
|
21408
|
-
.sp
|
21409
|
-
\fI\%Codes for the Representation of Names of Languages\fP.
|
21982
|
+
言語名を表記するためのコード
|
21410
21983
|
.RE
|
21411
21984
|
.INDENT 0.0
|
21412
21985
|
.IP \(bu 2
|
@@ -21419,7 +21992,7 @@ doc/locale/${LANGUAGE}/LC_MESSAGES/以下を.tar.gzや.zipなどでアーカイ
|
|
21419
21992
|
.SH AUTHOR
|
21420
21993
|
groonga project
|
21421
21994
|
.SH COPYRIGHT
|
21422
|
-
2009-
|
21995
|
+
2009-2013, Brazil, Inc
|
21423
21996
|
.\" Generated by docutils manpage writer.
|
21424
21997
|
.\"
|
21425
21998
|
.
|