rroonga 2.0.7-x86-mingw32 → 2.0.8-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/ext/groonga/rb-grn.h +1 -1
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/rroonga-build.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +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/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/etc/groonga/synonyms.tsv +5 -0
- data/vendor/local/include/groonga/groonga.h +77 -4
- data/vendor/local/include/groonga/groonga/plugin.h +45 -15
- data/vendor/local/include/groonga/groonga/tokenizer.h +62 -12
- 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 +41 -0
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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 +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +4 -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 +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -3
- 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 +42 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +96 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources/reference/functions.txt → en/html/_sources/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/gqtp.txt +214 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +42 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +26 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +17 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +47 -10
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +25 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +23 -13
- data/vendor/local/share/doc/groonga/en/html/news.html +175 -67
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{commands.html → command.html} +49 -44
- data/vendor/local/share/doc/groonga/en/html/reference/{command_version.html → command/command_version.html} +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +356 -0
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +248 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +190 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +92 -92
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{functions.html → function.html} +15 -9
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +98 -16
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +303 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +138 -0
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +315 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/type.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +19 -8
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +412 -0
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -3
- 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 +42 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +96 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{source/reference/functions.txt → ja/html/_sources/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/gqtp.txt +214 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +42 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +63 -53
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +26 -8
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +17 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +45 -10
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +25 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -11
- data/vendor/local/share/doc/groonga/ja/html/news.html +155 -68
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{commands.html → command.html} +48 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/{command_version.html → command/command_version.html} +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +331 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +237 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +107 -107
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{functions.html → function.html} +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +96 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +281 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +139 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +278 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/type.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +17 -8
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +404 -0
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/source/contribution.txt +3 -3
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +23 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/register/query_expanders_tsv.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage.log +28 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_basic.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_setup.log +17 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/snippet_html/usage_string_literal.log +28 -0
- data/vendor/local/share/doc/groonga/source/install/centos.txt +24 -3
- data/vendor/local/share/doc/groonga/source/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +13 -3
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +42 -3
- data/vendor/local/share/doc/groonga/source/install/windows.txt +26 -16
- data/vendor/local/share/doc/groonga/source/limitations.txt +12 -2
- data/vendor/local/share/doc/groonga/source/news.txt +96 -1
- data/vendor/local/share/doc/groonga/source/reference.txt +3 -3
- data/vendor/local/share/doc/groonga/source/reference/command.txt +20 -0
- data/vendor/local/share/doc/groonga/source/reference/{command_version.txt → command/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/command/output_format.txt +228 -0
- data/vendor/local/share/doc/groonga/source/reference/command/return_code.txt +110 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/register.txt +59 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -0
- data/vendor/local/share/doc/groonga/source/reference/function.txt +20 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +25 -8
- data/vendor/local/share/doc/groonga/source/reference/functions/snippet_html.txt +120 -0
- data/vendor/local/share/doc/groonga/source/reference/indexing.txt +3 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources/reference/functions.txt → source/reference/query_expanders.txt} +3 -3
- data/vendor/local/share/doc/groonga/source/reference/query_expanders/tsv.txt +153 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +12 -2
- data/vendor/local/share/doc/groonga/source/spec/gqtp.txt +214 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +5 -2
- data/vendor/local/share/man/ja/man1/groonga.1 +1589 -218
- data/vendor/local/share/man/man1/groonga.1 +1685 -190
- metadata +66 -18
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands.txt +0 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands.txt +0 -15
- data/vendor/local/share/doc/groonga/source/reference/commands.txt +0 -15
@@ -0,0 +1,315 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
|
8
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
+
<head>
|
10
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
+
|
12
|
+
<title>8.6.1. QueryExpanderTSV — groonga v2.0.9 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../../',
|
20
|
+
VERSION: '2.0.9',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v2.0.9 documentation" href="../../index.html" />
|
31
|
+
<link rel="up" title="8.6. Query expanders" href="../query_expanders.html" />
|
32
|
+
<link rel="next" title="8.7. 疑似カラム (pseudo_column)" href="../pseudo_column.html" />
|
33
|
+
<link rel="prev" title="8.6. Query expanders" href="../query_expanders.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../../ja/html/reference/query_expanders/tsv.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="../pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="../query_expanders.html" title="8.6. Query expanders"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../../index.html">groonga v2.0.9 documentation</a> »</li>
|
66
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
67
|
+
<li><a href="../query_expanders.html" accesskey="U">8.6. Query expanders</a> »</li>
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class="document">
|
72
|
+
<div class="documentwrapper">
|
73
|
+
<div class="bodywrapper">
|
74
|
+
<div class="body">
|
75
|
+
|
76
|
+
<div class="section" id="queryexpandertsv">
|
77
|
+
<h1>8.6.1. QueryExpanderTSV<a class="headerlink" href="#queryexpandertsv" title="Permalink to this headline">¶</a></h1>
|
78
|
+
<div class="section" id="summary">
|
79
|
+
<h2>8.6.1.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
80
|
+
<p><tt class="docutils literal"><span class="pre">QueryExpanderTSV</span></tt> is a query expander plugin that reads synonyms
|
81
|
+
from TSV (Tab Separated Values) file. This plugin provides poor
|
82
|
+
feature than the embedded query expansion feature. For example, it
|
83
|
+
doesn't support word normalization. But it may be easy to use because
|
84
|
+
you can manage your synonyms by TSV file. You can edit your synonyms
|
85
|
+
by spreadsheet application such as Excel. With the embedded query
|
86
|
+
expansion feature, you manage your synonyms by groonga's table.</p>
|
87
|
+
</div>
|
88
|
+
<div class="section" id="install">
|
89
|
+
<h2>8.6.1.2. Install<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h2>
|
90
|
+
<p>You need to register <tt class="docutils literal"><span class="pre">query_expanders/tsv</span></tt> as a plugin before you
|
91
|
+
use <tt class="docutils literal"><span class="pre">QueryExpanderTSV</span></tt>:</p>
|
92
|
+
<div class="highlight-none"><div class="highlight"><pre>register query_expanders/tsv
|
93
|
+
</pre></div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
<div class="section" id="usage">
|
97
|
+
<h2>8.6.1.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
98
|
+
<p>You just add <tt class="docutils literal"><span class="pre">--query_expansion</span> <span class="pre">QueryExpanderTSV</span></tt> parameter to
|
99
|
+
<tt class="docutils literal"><span class="pre">select</span></tt> command:</p>
|
100
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "QUERY" --query_expansion QueryExpanderTSV
|
101
|
+
</pre></div>
|
102
|
+
</div>
|
103
|
+
<p>If <tt class="docutils literal"><span class="pre">QUERY</span></tt> has registered synonyms, they are expanded. For example,
|
104
|
+
there are the following synonyms.</p>
|
105
|
+
<table border="1" class="docutils">
|
106
|
+
<colgroup>
|
107
|
+
<col width="38%" />
|
108
|
+
<col width="32%" />
|
109
|
+
<col width="30%" />
|
110
|
+
</colgroup>
|
111
|
+
<thead valign="bottom">
|
112
|
+
<tr class="row-odd"><th class="head">word</th>
|
113
|
+
<th class="head">synonym 1</th>
|
114
|
+
<th class="head">synonym 2</th>
|
115
|
+
</tr>
|
116
|
+
</thead>
|
117
|
+
<tbody valign="top">
|
118
|
+
<tr class="row-even"><td>groonga</td>
|
119
|
+
<td>groonga</td>
|
120
|
+
<td>Senna</td>
|
121
|
+
</tr>
|
122
|
+
<tr class="row-odd"><td>mroonga</td>
|
123
|
+
<td>mroonga</td>
|
124
|
+
<td>groonga MySQL</td>
|
125
|
+
</tr>
|
126
|
+
</tbody>
|
127
|
+
</table>
|
128
|
+
<p>The table means that <tt class="docutils literal"><span class="pre">synonym</span> <span class="pre">1</span></tt> and <tt class="docutils literal"><span class="pre">synonym</span> <span class="pre">2</span></tt> are synonyms of
|
129
|
+
<tt class="docutils literal"><span class="pre">word</span></tt>. For example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt> are synonyms of
|
130
|
+
<tt class="docutils literal"><span class="pre">groonga</span></tt>. And <tt class="docutils literal"><span class="pre">mroonga</span></tt> and <tt class="docutils literal"><span class="pre">groonga</span> <span class="pre">MySQL</span></tt> are synonyms of
|
131
|
+
<tt class="docutils literal"><span class="pre">mroonga</span></tt>.</p>
|
132
|
+
<p>Here is an example of query expnasion that uses <tt class="docutils literal"><span class="pre">groonga</span></tt> as query:</p>
|
133
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga" --query_expansion QueryExpanderTSV
|
134
|
+
</pre></div>
|
135
|
+
</div>
|
136
|
+
<p>The above command equals to the following command:</p>
|
137
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga OR Senna" --query_expansion QueryExpanderTSV
|
138
|
+
</pre></div>
|
139
|
+
</div>
|
140
|
+
<p>Here is another example of query expnasion that uses <tt class="docutils literal"><span class="pre">mroonga</span>
|
141
|
+
<span class="pre">search</span></tt> as query:</p>
|
142
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "mroonga search" --query_expansion QueryExpanderTSV
|
143
|
+
</pre></div>
|
144
|
+
</div>
|
145
|
+
<p>The above command equals to the following command:</p>
|
146
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "(mroonga OR (groonga MySQL)) search" --query_expansion QueryExpanderTSV
|
147
|
+
</pre></div>
|
148
|
+
</div>
|
149
|
+
<p>It is important that registered words (<tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">mroonga</span></tt>)
|
150
|
+
are only expanded to synonyms and not registered words (<tt class="docutils literal"><span class="pre">search</span></tt>)
|
151
|
+
are not expanded. Query expansion isn't occurred
|
152
|
+
recursively. <tt class="docutils literal"><span class="pre">groonga</span></tt> is appeared in <tt class="docutils literal"><span class="pre">(mroonga</span> <span class="pre">OR</span> <span class="pre">(groonga</span>
|
153
|
+
<span class="pre">MySQL))</span></tt> as query expansion result but it isn't expanded.</p>
|
154
|
+
<p>Normally, you need to include <tt class="docutils literal"><span class="pre">word</span></tt> itself into synonyms. For
|
155
|
+
example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">mroonga</span></tt> are included in synonyms of
|
156
|
+
themselves. If you want to ignore <tt class="docutils literal"><span class="pre">word</span></tt> itself, you don't include
|
157
|
+
<tt class="docutils literal"><span class="pre">word</span></tt> itself into synonyms. For example, if you want to use query
|
158
|
+
expansion as spelling correction, you should use the following
|
159
|
+
synonyms.</p>
|
160
|
+
<table border="1" class="docutils">
|
161
|
+
<colgroup>
|
162
|
+
<col width="54%" />
|
163
|
+
<col width="46%" />
|
164
|
+
</colgroup>
|
165
|
+
<thead valign="bottom">
|
166
|
+
<tr class="row-odd"><th class="head">word</th>
|
167
|
+
<th class="head">synonym</th>
|
168
|
+
</tr>
|
169
|
+
</thead>
|
170
|
+
<tbody valign="top">
|
171
|
+
<tr class="row-even"><td>gronga</td>
|
172
|
+
<td>groonga</td>
|
173
|
+
</tr>
|
174
|
+
</tbody>
|
175
|
+
</table>
|
176
|
+
<p><tt class="docutils literal"><span class="pre">gronga</span></tt> in <tt class="docutils literal"><span class="pre">word</span></tt> has a typo. A <tt class="docutils literal"><span class="pre">o</span></tt> is missing. <tt class="docutils literal"><span class="pre">groonga</span></tt> in
|
177
|
+
<tt class="docutils literal"><span class="pre">synonym</span></tt> is the correct word.</p>
|
178
|
+
<p>Here is an example of using query expnasion as spelling correction:</p>
|
179
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "gronga" --query_expansion QueryExpanderTSV
|
180
|
+
</pre></div>
|
181
|
+
</div>
|
182
|
+
<p>The above command equals to the following command:</p>
|
183
|
+
<div class="highlight-none"><div class="highlight"><pre>select --query "groonga" --query_expansion QueryExpanderTSV
|
184
|
+
</pre></div>
|
185
|
+
</div>
|
186
|
+
<p>The former command has a typo in <tt class="docutils literal"><span class="pre">--query</span></tt> value but the latter
|
187
|
+
command doesn't have any typos.</p>
|
188
|
+
</div>
|
189
|
+
<div class="section" id="tsv-file">
|
190
|
+
<h2>8.6.1.4. TSV File<a class="headerlink" href="#tsv-file" title="Permalink to this headline">¶</a></h2>
|
191
|
+
<p>Synonyms are defined in TSV format file. This section describes about
|
192
|
+
it.</p>
|
193
|
+
<div class="section" id="location">
|
194
|
+
<h3>8.6.1.4.1. Location<a class="headerlink" href="#location" title="Permalink to this headline">¶</a></h3>
|
195
|
+
<p>The file name should be <tt class="docutils literal"><span class="pre">synonyms.tsv</span></tt> and it is located at
|
196
|
+
configuration directory. For example, <tt class="docutils literal"><span class="pre">/etc/groonga/synonyms.tsv</span></tt> is
|
197
|
+
a TSV file location. The location is decided at build time.</p>
|
198
|
+
<p>You can change the location by environment variable
|
199
|
+
<tt class="docutils literal"><span class="pre">GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE</span></tt> at run time:</p>
|
200
|
+
<div class="highlight-none"><div class="highlight"><pre>% env GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/tmp/synonyms.tsv groonga
|
201
|
+
</pre></div>
|
202
|
+
</div>
|
203
|
+
<p>With the above command, <tt class="docutils literal"><span class="pre">/tmp/synonyms.tsv</span></tt> file is used.</p>
|
204
|
+
</div>
|
205
|
+
<div class="section" id="format">
|
206
|
+
<h3>8.6.1.4.2. Format<a class="headerlink" href="#format" title="Permalink to this headline">¶</a></h3>
|
207
|
+
<p>You can define zero or more synonyms in a TSV file. You define a
|
208
|
+
<tt class="docutils literal"><span class="pre">word</span></tt> and <tt class="docutils literal"><span class="pre">synonyms</span></tt> pair by a line. <tt class="docutils literal"><span class="pre">word</span></tt> is expanded to
|
209
|
+
<tt class="docutils literal"><span class="pre">synonyms</span></tt> in <tt class="docutils literal"><span class="pre">--query</span></tt> value. <tt class="docutils literal"><span class="pre">Synonyms</span></tt> are combined by
|
210
|
+
<tt class="docutils literal"><span class="pre">OR</span></tt>. For example, <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt> synonyms are expanded
|
211
|
+
as <tt class="docutils literal"><span class="pre">groonga</span> <span class="pre">OR</span> <span class="pre">Senna</span></tt>.</p>
|
212
|
+
<p>The first column is <tt class="docutils literal"><span class="pre">word</span></tt> and the rest columns are <tt class="docutils literal"><span class="pre">synonyms</span></tt> of
|
213
|
+
the <tt class="docutils literal"><span class="pre">word</span></tt>. Here is a sample line for <tt class="docutils literal"><span class="pre">word</span></tt> is <tt class="docutils literal"><span class="pre">groonga</span></tt> and
|
214
|
+
<tt class="docutils literal"><span class="pre">synonyms</span></tt> are <tt class="docutils literal"><span class="pre">groonga</span></tt> and <tt class="docutils literal"><span class="pre">Senna</span></tt>. <tt class="docutils literal"><span class="pre">(TAB)</span></tt> means a tab
|
215
|
+
character (<tt class="docutils literal"><span class="pre">U+0009</span></tt>):</p>
|
216
|
+
<div class="highlight-none"><div class="highlight"><pre>groonga(TAB)groonga(TAB)Senna
|
217
|
+
</pre></div>
|
218
|
+
</div>
|
219
|
+
<p>Comment line is supported. Lines that start with <tt class="docutils literal"><span class="pre">#</span></tt> are ignored.
|
220
|
+
Here is an example for comment line. <tt class="docutils literal"><span class="pre">groonga</span></tt> line is ignored as
|
221
|
+
comment line:</p>
|
222
|
+
<div class="highlight-none"><div class="highlight"><pre>#groonga(TAB)groonga(TAB)Senna
|
223
|
+
mroonga(TAB)mroonga(TAB)groonga MySQL
|
224
|
+
</pre></div>
|
225
|
+
</div>
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
<div class="section" id="limitation">
|
229
|
+
<h2>8.6.1.5. Limitation<a class="headerlink" href="#limitation" title="Permalink to this headline">¶</a></h2>
|
230
|
+
<p>You need to restart groonga to reload your synonyms. TSV file is
|
231
|
+
loaded only at the plugin load time.</p>
|
232
|
+
</div>
|
233
|
+
<div class="section" id="see-also">
|
234
|
+
<h2>8.6.1.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
235
|
+
<blockquote>
|
236
|
+
<div><ul class="simple">
|
237
|
+
<li><a class="reference internal" href="../commands/select.html#query-expansion"><em>query_expansion</em></a></li>
|
238
|
+
</ul>
|
239
|
+
</div></blockquote>
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
<div class="sphinxsidebar">
|
248
|
+
<div class="sphinxsidebarwrapper">
|
249
|
+
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
250
|
+
<ul>
|
251
|
+
<li><a class="reference internal" href="#">8.6.1. QueryExpanderTSV</a><ul>
|
252
|
+
<li><a class="reference internal" href="#summary">8.6.1.1. Summary</a></li>
|
253
|
+
<li><a class="reference internal" href="#install">8.6.1.2. Install</a></li>
|
254
|
+
<li><a class="reference internal" href="#usage">8.6.1.3. Usage</a></li>
|
255
|
+
<li><a class="reference internal" href="#tsv-file">8.6.1.4. TSV File</a><ul>
|
256
|
+
<li><a class="reference internal" href="#location">8.6.1.4.1. Location</a></li>
|
257
|
+
<li><a class="reference internal" href="#format">8.6.1.4.2. Format</a></li>
|
258
|
+
</ul>
|
259
|
+
</li>
|
260
|
+
<li><a class="reference internal" href="#limitation">8.6.1.5. Limitation</a></li>
|
261
|
+
<li><a class="reference internal" href="#see-also">8.6.1.6. See also</a></li>
|
262
|
+
</ul>
|
263
|
+
</li>
|
264
|
+
</ul>
|
265
|
+
|
266
|
+
<h4>Previous topic</h4>
|
267
|
+
<p class="topless"><a href="../query_expanders.html"
|
268
|
+
title="previous chapter">8.6. Query expanders</a></p>
|
269
|
+
<h4>Next topic</h4>
|
270
|
+
<p class="topless"><a href="../pseudo_column.html"
|
271
|
+
title="next chapter">8.7. 疑似カラム (pseudo_column)</a></p>
|
272
|
+
<h3>This Page</h3>
|
273
|
+
<ul class="this-page-menu">
|
274
|
+
<li><a href="../../_sources/reference/query_expanders/tsv.txt"
|
275
|
+
rel="nofollow">Show Source</a></li>
|
276
|
+
</ul>
|
277
|
+
<div id="searchbox" style="display: none">
|
278
|
+
<h3>Quick search</h3>
|
279
|
+
<form class="search" action="../../search.html" method="get">
|
280
|
+
<input type="text" name="q" />
|
281
|
+
<input type="submit" value="Go" />
|
282
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
283
|
+
<input type="hidden" name="area" value="default" />
|
284
|
+
</form>
|
285
|
+
<p class="searchtip" style="font-size: 90%">
|
286
|
+
Enter search terms or a module, class or function name.
|
287
|
+
</p>
|
288
|
+
</div>
|
289
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
<div class="clearer"></div>
|
293
|
+
</div>
|
294
|
+
<div class="related">
|
295
|
+
<h3>Navigation</h3>
|
296
|
+
<ul>
|
297
|
+
<li class="right" style="margin-right: 10px">
|
298
|
+
<a href="../../genindex.html" title="General Index"
|
299
|
+
>index</a></li>
|
300
|
+
<li class="right" >
|
301
|
+
<a href="../pseudo_column.html" title="8.7. 疑似カラム (pseudo_column)"
|
302
|
+
>next</a> |</li>
|
303
|
+
<li class="right" >
|
304
|
+
<a href="../query_expanders.html" title="8.6. Query expanders"
|
305
|
+
>previous</a> |</li>
|
306
|
+
<li><a href="../../index.html">groonga v2.0.9 documentation</a> »</li>
|
307
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
308
|
+
<li><a href="../query_expanders.html" >8.6. Query expanders</a> »</li>
|
309
|
+
</ul>
|
310
|
+
</div>
|
311
|
+
<div class="footer">
|
312
|
+
© Copyright 2009-2012, Brazil, Inc.
|
313
|
+
</div>
|
314
|
+
</body>
|
315
|
+
</html>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>8.
|
12
|
+
<title>8.5. Tokenizers — groonga v2.0.9 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '2.0.
|
20
|
+
VERSION: '2.0.9',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.9 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
|
32
|
-
<link rel="next" title="8.
|
33
|
-
<link rel="prev" title="8.
|
32
|
+
<link rel="next" title="8.6. Query expanders" href="query_expanders.html" />
|
33
|
+
<link rel="prev" title="8.4. データ型" href="type.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,12 +57,12 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="
|
60
|
+
<a href="query_expanders.html" title="8.6. Query expanders"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="type.html" title="8.
|
63
|
+
<a href="type.html" title="8.4. データ型"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.
|
65
|
+
<li><a href="../index.html">groonga v2.0.9 documentation</a> »</li>
|
66
66
|
<li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="tokenizers">
|
76
|
-
<h1>8.
|
76
|
+
<h1>8.5. Tokenizers<a class="headerlink" href="#tokenizers" title="Permalink to this headline">¶</a></h1>
|
77
77
|
<p>TODO: Write me.</p>
|
78
78
|
</div>
|
79
79
|
|
@@ -85,10 +85,10 @@
|
|
85
85
|
<div class="sphinxsidebarwrapper">
|
86
86
|
<h4>Previous topic</h4>
|
87
87
|
<p class="topless"><a href="type.html"
|
88
|
-
title="previous chapter">8.
|
88
|
+
title="previous chapter">8.4. データ型</a></p>
|
89
89
|
<h4>Next topic</h4>
|
90
|
-
<p class="topless"><a href="
|
91
|
-
title="next chapter">8.
|
90
|
+
<p class="topless"><a href="query_expanders.html"
|
91
|
+
title="next chapter">8.6. Query expanders</a></p>
|
92
92
|
<h3>This Page</h3>
|
93
93
|
<ul class="this-page-menu">
|
94
94
|
<li><a href="../_sources/reference/tokenizers.txt"
|
@@ -118,12 +118,12 @@
|
|
118
118
|
<a href="../genindex.html" title="General Index"
|
119
119
|
>index</a></li>
|
120
120
|
<li class="right" >
|
121
|
-
<a href="
|
121
|
+
<a href="query_expanders.html" title="8.6. Query expanders"
|
122
122
|
>next</a> |</li>
|
123
123
|
<li class="right" >
|
124
|
-
<a href="type.html" title="8.
|
124
|
+
<a href="type.html" title="8.4. データ型"
|
125
125
|
>previous</a> |</li>
|
126
|
-
<li><a href="../index.html">groonga v2.0.
|
126
|
+
<li><a href="../index.html">groonga v2.0.9 documentation</a> »</li>
|
127
127
|
<li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li>
|
128
128
|
</ul>
|
129
129
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>8.
|
12
|
+
<title>8.4. データ型 — groonga v2.0.9 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '2.0.
|
20
|
+
VERSION: '2.0.9',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.9 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="8. リファレンスマニュアル" href="../reference.html" />
|
32
|
-
<link rel="next" title="8.
|
33
|
-
<link rel="prev" title="8.
|
32
|
+
<link rel="next" title="8.5. Tokenizers" href="tokenizers.html" />
|
33
|
+
<link rel="prev" title="8.3.27. view_add" href="commands/view_add.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,12 +57,12 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="tokenizers.html" title="8.
|
60
|
+
<a href="tokenizers.html" title="8.5. Tokenizers"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="commands/view_add.html" title="8.
|
63
|
+
<a href="commands/view_add.html" title="8.3.27. view_add"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.
|
65
|
+
<li><a href="../index.html">groonga v2.0.9 documentation</a> »</li>
|
66
66
|
<li><a href="../reference.html" accesskey="U">8. リファレンスマニュアル</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -73,13 +73,13 @@
|
|
73
73
|
<div class="body">
|
74
74
|
|
75
75
|
<div class="section" id="id1">
|
76
|
-
<h1>8.
|
76
|
+
<h1>8.4. データ型<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
77
77
|
<div class="section" id="id2">
|
78
|
-
<h2>8.
|
78
|
+
<h2>8.4.1. 名前<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
79
79
|
<p>groonga データ型</p>
|
80
80
|
</div>
|
81
81
|
<div class="section" id="id3">
|
82
|
-
<h2>8.
|
82
|
+
<h2>8.4.2. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
83
83
|
<p>groonga は、格納するデータの型を区別します。</p>
|
84
84
|
<p>groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの値は共通となります。</p>
|
85
85
|
<p>主キーの型とカラムの型には、groongaで予め定義済みの型か、ユーザが定義する型、またはユーザが定義したテーブルを指定することができます。</p>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
<p>カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテーブルの参照キーとなります。</p>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="id4">
|
90
|
-
<h2>8.
|
90
|
+
<h2>8.4.3. 組込型<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
91
91
|
<p>以下の型が組込型としてあらかじめ定義されています。</p>
|
92
92
|
<p><tt class="docutils literal"><span class="pre">Object</span></tt></p>
|
93
93
|
<blockquote>
|
@@ -154,13 +154,13 @@
|
|
154
154
|
</div></blockquote>
|
155
155
|
</div>
|
156
156
|
<div class="section" id="id6">
|
157
|
-
<h2>8.
|
157
|
+
<h2>8.4.4. 型に関する制限事項<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
158
158
|
<div class="section" id="id7">
|
159
|
-
<h3>8.
|
159
|
+
<h3>8.4.4.1. テーブルの主キーに指定できない型<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
|
160
160
|
<p>Text型とLongText型については、テーブルの主キーに指定することはできません。</p>
|
161
161
|
</div>
|
162
162
|
<div class="section" id="id8">
|
163
|
-
<h3>8.
|
163
|
+
<h3>8.4.4.2. ベクターとして格納できない型<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
|
164
164
|
<p>groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。</p>
|
165
165
|
<p>テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。</p>
|
166
166
|
<p class="rubric">脚注</p>
|
@@ -182,13 +182,13 @@
|
|
182
182
|
<div class="sphinxsidebarwrapper">
|
183
183
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
184
184
|
<ul>
|
185
|
-
<li><a class="reference internal" href="#">8.
|
186
|
-
<li><a class="reference internal" href="#id2">8.
|
187
|
-
<li><a class="reference internal" href="#id3">8.
|
188
|
-
<li><a class="reference internal" href="#id4">8.
|
189
|
-
<li><a class="reference internal" href="#id6">8.
|
190
|
-
<li><a class="reference internal" href="#id7">8.
|
191
|
-
<li><a class="reference internal" href="#id8">8.
|
185
|
+
<li><a class="reference internal" href="#">8.4. データ型</a><ul>
|
186
|
+
<li><a class="reference internal" href="#id2">8.4.1. 名前</a></li>
|
187
|
+
<li><a class="reference internal" href="#id3">8.4.2. 説明</a></li>
|
188
|
+
<li><a class="reference internal" href="#id4">8.4.3. 組込型</a></li>
|
189
|
+
<li><a class="reference internal" href="#id6">8.4.4. 型に関する制限事項</a><ul>
|
190
|
+
<li><a class="reference internal" href="#id7">8.4.4.1. テーブルの主キーに指定できない型</a></li>
|
191
|
+
<li><a class="reference internal" href="#id8">8.4.4.2. ベクターとして格納できない型</a></li>
|
192
192
|
</ul>
|
193
193
|
</li>
|
194
194
|
</ul>
|
@@ -197,10 +197,10 @@
|
|
197
197
|
|
198
198
|
<h4>Previous topic</h4>
|
199
199
|
<p class="topless"><a href="commands/view_add.html"
|
200
|
-
title="previous chapter">8.
|
200
|
+
title="previous chapter">8.3.27. view_add</a></p>
|
201
201
|
<h4>Next topic</h4>
|
202
202
|
<p class="topless"><a href="tokenizers.html"
|
203
|
-
title="next chapter">8.
|
203
|
+
title="next chapter">8.5. Tokenizers</a></p>
|
204
204
|
<h3>This Page</h3>
|
205
205
|
<ul class="this-page-menu">
|
206
206
|
<li><a href="../_sources/reference/type.txt"
|
@@ -230,12 +230,12 @@
|
|
230
230
|
<a href="../genindex.html" title="General Index"
|
231
231
|
>index</a></li>
|
232
232
|
<li class="right" >
|
233
|
-
<a href="tokenizers.html" title="8.
|
233
|
+
<a href="tokenizers.html" title="8.5. Tokenizers"
|
234
234
|
>next</a> |</li>
|
235
235
|
<li class="right" >
|
236
|
-
<a href="commands/view_add.html" title="8.
|
236
|
+
<a href="commands/view_add.html" title="8.3.27. view_add"
|
237
237
|
>previous</a> |</li>
|
238
|
-
<li><a href="../index.html">groonga v2.0.
|
238
|
+
<li><a href="../index.html">groonga v2.0.9 documentation</a> »</li>
|
239
239
|
<li><a href="../reference.html" >8. リファレンスマニュアル</a> »</li>
|
240
240
|
</ul>
|
241
241
|
</div>
|