rroonga 2.1.0-x86-mingw32 → 2.1.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +7 -0
- 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/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 +0 -6
- 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 +3 -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/news.txt +24 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +12 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +3 -3
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
- 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 +5 -5
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +54 -39
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/others.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +131 -109
- 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 +54 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -10
- 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/command.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +255 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +9 -9
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
- 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 +15 -8
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +117 -117
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +288 -0
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +367 -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 → types.html} +12 -12
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
- 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 +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -6
- 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 +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +9 -9
- 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 +9 -9
- 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/news.txt +24 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +9 -9
- 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 +5 -5
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +54 -39
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +124 -106
- 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 +54 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -10
- 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/command.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +202 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +9 -9
- 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 +15 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +117 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +367 -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 → types.html} +12 -12
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- 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 +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -6
- 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 +6 -6
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
- 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 +9 -9
- 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/example/reference/commands/status.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +36 -44
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +46 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +3 -3
- data/vendor/local/share/doc/groonga/source/news.txt +24 -4
- data/vendor/local/share/doc/groonga/source/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/source/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/source/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +1 -1
- data/vendor/local/share/man/ja/man1/groonga.1 +744 -169
- data/vendor/local/share/man/man1/groonga.1 +794 -165
- 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 +1257 -1240
@@ -2,115 +2,285 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_table_create
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
``table_create``
|
9
|
+
================
|
10
10
|
|
11
|
-
|
11
|
+
Summary
|
12
|
+
-------
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
::
|
14
|
+
``table_create`` creates a new table in the current database. You need
|
15
|
+
to create one or more tables to store and search data.
|
16
16
|
|
17
|
-
|
17
|
+
Syntax
|
18
|
+
------
|
18
19
|
|
19
|
-
|
20
|
-
|
20
|
+
``table_create`` has many parameters. The required parameter is only
|
21
|
+
``name`` and otehrs are optional::
|
21
22
|
|
22
|
-
|
23
|
+
table_create name
|
24
|
+
[flags=TABLE_HASH_KEY]
|
25
|
+
[key_type=null]
|
26
|
+
[value_type=null]
|
27
|
+
[default_tokenizer=null]
|
28
|
+
[normalizer=null]
|
23
29
|
|
24
|
-
|
30
|
+
Usage
|
31
|
+
-----
|
25
32
|
|
26
|
-
|
33
|
+
``table_create`` command creates a new persistent table. See
|
34
|
+
:doc:`/reference/tables` for table details.
|
27
35
|
|
28
|
-
|
29
|
-
|
36
|
+
Create data store table
|
37
|
+
^^^^^^^^^^^^^^^^^^^^^^^
|
38
|
+
|
39
|
+
You can use all table types for data store table. See
|
40
|
+
:doc:`/reference/tables` for all table types.
|
41
|
+
|
42
|
+
Table type is specified as ``TABLE_${TYPE}`` to ``flags`` parameter.
|
43
|
+
|
44
|
+
Here is an example to create ``TABLE_NO_KEY`` table:
|
45
|
+
|
46
|
+
.. groonga-command
|
47
|
+
.. include:: ../../example/reference/commands/table_create/data_store_table_no_key.log
|
48
|
+
.. table_create Logs TABLE_NO_KEY
|
49
|
+
|
50
|
+
The ``table_create`` command creates a table that is named ``Logs``
|
51
|
+
and is ``TABLE_NO_KEY`` type.
|
52
|
+
|
53
|
+
If your records aren't searched by key, ``TABLE_NO_KEY`` type table is
|
54
|
+
suitable. Because ``TABLE_NO_KEY`` doesn't support key but it is fast
|
55
|
+
and small table. Storing logs into groonga database is the case.
|
56
|
+
|
57
|
+
If your records are searched by key or referenced by one or more
|
58
|
+
columns, ``TABLE_NO_KEY`` type isn't suitable. Lexicon for fulltext
|
59
|
+
search is the case.
|
60
|
+
|
61
|
+
Create lexicon table
|
62
|
+
^^^^^^^^^^^^^^^^^^^^
|
63
|
+
|
64
|
+
You can use all table types except ``TABLE_NO_KEY`` for lexicon table.
|
65
|
+
Lexicon table needs key support but ``TABLE_NO_KEY`` doesn't support
|
66
|
+
key.
|
67
|
+
|
68
|
+
Here is an example to create ``TABLE_PAT_KEY`` table:
|
69
|
+
|
70
|
+
.. groonga-command
|
71
|
+
.. include:: ../../example/reference/commands/table_create/lexicon_table_pat_key.log
|
72
|
+
.. table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
73
|
+
|
74
|
+
The ``table_create`` command creates the following table:
|
75
|
+
|
76
|
+
* The table is named ``Lexicon``.
|
77
|
+
* The table is ``TABLE_PAT_KEY`` type table.
|
78
|
+
* The table's key is ``ShortText`` type.
|
79
|
+
* The table uses ``TokenBigram`` tokenizer to extract tokens from a
|
80
|
+
normalized text.
|
81
|
+
* The table uses ``NormalizerAuto`` normalizer to normalize a text.
|
82
|
+
|
83
|
+
``TABLE_PAT_KEY`` is suitable table type for lexicon table. Lexicon
|
84
|
+
table is used for fulltext search.
|
85
|
+
|
86
|
+
In fulltext search, predictive search may be used for fuzzy
|
87
|
+
search. Predictive search is supported by ``TABLE_PAT_KEY`` and
|
88
|
+
``TABLE_DAT_KEY``.
|
89
|
+
|
90
|
+
Lexicon table has many keys because a fulltext target text has many
|
91
|
+
tokens. Table that has many keys should consider table size because
|
92
|
+
large table requires large memory. Requiring large memory causes disk
|
93
|
+
I/O. It blocks fast search. So table size is important for a table
|
94
|
+
that has many keys. ``TABLE_PAT_KEY`` is less table size than
|
95
|
+
``TABLE_DAT_KEY``.
|
96
|
+
|
97
|
+
Because of the above reasons, ``TABLE_PAT_KEY`` is suitable table type
|
98
|
+
for lexicon table.
|
99
|
+
|
100
|
+
Create tag index table
|
101
|
+
^^^^^^^^^^^^^^^^^^^^^^
|
102
|
+
|
103
|
+
You can use all table types except ``TABLE_NO_KEY`` for tag index
|
104
|
+
table. Tag index table needs key support but ``TABLE_NO_KEY`` doesn't
|
105
|
+
support key.
|
106
|
+
|
107
|
+
Here is an example to create ``TABLE_HASH_KEY`` table:
|
108
|
+
|
109
|
+
.. groonga-command
|
110
|
+
.. include:: ../../example/reference/commands/table_create/tag_index_table_hash_key.log
|
111
|
+
.. table_create Tags TABLE_HASH_KEY ShortText
|
112
|
+
|
113
|
+
The ``table_create`` command creates a table that is named ``Tags``,
|
114
|
+
is ``TABLE_HASH_KEY`` type and has ``ShortText`` type key.
|
115
|
+
|
116
|
+
``TABLE_HASH_KEY`` or ``TABLE_DAT_KEY`` are suitable table types for
|
117
|
+
tag index table.
|
118
|
+
|
119
|
+
If you need only exact match tag search feature, ``TABLE_HASH_KEY`` is
|
120
|
+
suitable. It is the common case.
|
121
|
+
|
122
|
+
If you also need predictive tag search feature (for example, searching
|
123
|
+
``"groonga"`` by ``"gr"`` keyword.), ``TABLE_DAT_KEY`` is suitable.
|
124
|
+
``TABLE_DAT_KEY`` is large table size but it is not important because
|
125
|
+
the number of tags will not be large.
|
126
|
+
|
127
|
+
Create range index table
|
128
|
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
129
|
+
|
130
|
+
You can use ``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY`` table types for
|
131
|
+
range index table. Range index table needs range search support but
|
132
|
+
``TABLE_NO_KEY`` and ``TABLE_HASH_KEY`` don't support it.
|
133
|
+
|
134
|
+
Here is an example to create ``TABLE_DAT_KEY`` table:
|
135
|
+
|
136
|
+
.. groonga-command
|
137
|
+
.. include:: ../../example/reference/commands/table_create/tag_index_table_hash_key.log
|
138
|
+
.. table_create Ages TABLE_DAT_KEY UInt32
|
139
|
+
|
140
|
+
The ``table_create`` command creates a table that is named ``Ages``,
|
141
|
+
is ``TABLE_DAT_KEY`` type and has ``UInt32`` type key.
|
142
|
+
|
143
|
+
``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY`` are suitable table types for
|
144
|
+
range index table.
|
145
|
+
|
146
|
+
If you don't have many indexed items, ``TABLE_DAT_KEY`` is
|
147
|
+
suitable. Index for age is the case in the above example. Index for
|
148
|
+
age will have only 0-100 items because human doesn't live so long.
|
149
|
+
|
150
|
+
If you have many indexed items, ``TABLE_PAT_KEY`` is suitable. Because
|
151
|
+
``TABLE_PAT_KEY`` is smaller than ``TABLE_DAT_KEY``.
|
152
|
+
|
153
|
+
Parameters
|
154
|
+
----------
|
155
|
+
|
156
|
+
This section describes all parameters.
|
30
157
|
|
31
158
|
``name``
|
159
|
+
^^^^^^^^
|
160
|
+
|
161
|
+
It specifies a table name to be created. ``name`` must be specified.
|
32
162
|
|
33
|
-
|
163
|
+
Here are available characters:
|
164
|
+
|
165
|
+
* ``0`` .. ``9`` (digit)
|
166
|
+
* ``a`` .. ``z`` (alphabet, lower case)
|
167
|
+
* ``A`` .. ``Z`` (alphabet, upper case)
|
168
|
+
* ``#`` (hash)
|
169
|
+
* ``@`` (at mark)
|
170
|
+
* ``-`` (hyphen)
|
171
|
+
* ``_`` (underscore) (NOTE: Underscore can't be used as the first
|
172
|
+
character.)
|
173
|
+
|
174
|
+
You need to create a name with one or more the above chracters. Note
|
175
|
+
that you cannot use ``_`` as the first charcter such as
|
176
|
+
``_name``.
|
34
177
|
|
35
178
|
``flags``
|
179
|
+
^^^^^^^^^
|
36
180
|
|
37
|
-
|
181
|
+
It specifies a table type and table customize options.
|
38
182
|
|
39
|
-
|
40
|
-
主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを非常に高速に検索することができます。
|
183
|
+
Here are available flags:
|
41
184
|
|
42
|
-
|
43
|
-
|
185
|
+
+--------------------+------------------------------+
|
186
|
+
| flags | description |
|
187
|
+
+--------------------+------------------------------+
|
188
|
+
| ``TABLE_NO_KEY`` | Array table. |
|
189
|
+
+--------------------+------------------------------+
|
190
|
+
| ``TABLE_HASH_HEY`` | Hash table. |
|
191
|
+
+--------------------+------------------------------+
|
192
|
+
| ``TABLE_PAT_KEY`` | Patricia trie. |
|
193
|
+
+--------------------+------------------------------+
|
194
|
+
| ``TABLE_DAT_KEY`` | Double Array trie. |
|
195
|
+
+--------------------+------------------------------+
|
196
|
+
| ``KEY_WITH_SIS`` | Enable Semi Infinite String. |
|
197
|
+
| | Require ``TABLE_PAT_KEY``. |
|
198
|
+
+--------------------+------------------------------+
|
44
199
|
|
45
|
-
|
46
|
-
|
200
|
+
.. note::
|
201
|
+
Since groonga 2.1.0 ``KEY_NORMALIZE`` flag is deprecated. Use
|
202
|
+
``normalizer`` option with ``NormalizerAuto`` instead.
|
47
203
|
|
48
|
-
|
49
|
-
|
204
|
+
You must specify one of ``TABLE_${TYPE}`` flags. You cannot specify two
|
205
|
+
or more ``TABLE_${TYPE}`` flags. For example,
|
206
|
+
``TABLE_NO_KEY|TABLE_HASH_KEY`` is invalid.
|
50
207
|
|
51
|
-
|
52
|
-
|
208
|
+
You can combine flags with ``|`` (vertical bar) such as
|
209
|
+
``TABLE_PAT_KEY|KEY_WITH_SIS``.
|
53
210
|
|
54
|
-
|
55
|
-
語彙表となるパトリシア木型のテーブルにおいて、後方一致検索を可能とします。
|
211
|
+
See :doc:`/reference/tables` for difference between table types.
|
56
212
|
|
57
|
-
|
58
|
-
ハッシュ表型か、パトリシア木型のテーブルにおいて、主キー値を正規化した上で登録します。この値が指定されたテーブルではたとえば、主キー値'abc'と'ABC' は同一のレコードに対応するものとみなされます。
|
213
|
+
The default flags are ``TABLE_HASH_KEY``.
|
59
214
|
|
60
215
|
``key_type``
|
216
|
+
^^^^^^^^^^^^
|
217
|
+
|
218
|
+
It specifies key type.
|
61
219
|
|
62
|
-
|
220
|
+
If you specify ``TABLE_HASH_KEY``, ``TABLE_PAT_KEY`` or
|
221
|
+
``TABLE_DAT_KEY`` as ``flags`` parameter, you need to specify
|
222
|
+
``key_type`` option.
|
223
|
+
|
224
|
+
See :doc:`/reference/types` for all types.
|
225
|
+
|
226
|
+
The default value is none.
|
63
227
|
|
64
228
|
``value_type``
|
229
|
+
^^^^^^^^^^^^^^
|
65
230
|
|
66
|
-
|
231
|
+
It specifies value type.
|
67
232
|
|
68
|
-
``
|
233
|
+
You can use value when you specify ``TABLE_NO_KEY``,
|
234
|
+
``TABLE_HASH_KEY`` or ``TABLE_PAT_KEY`` as ``flags`` parameter. Value
|
235
|
+
type must be a fixed size type. For example, ``UInt32`` can be used
|
236
|
+
but ``ShortText`` cannot be used. Use columns instead of value.
|
69
237
|
|
70
|
-
|
238
|
+
The default value is none.
|
71
239
|
|
72
|
-
|
240
|
+
``default_tokenizer``
|
241
|
+
^^^^^^^^^^^^^^^^^^^^^
|
73
242
|
|
74
|
-
|
75
|
-
|
243
|
+
It specifies the default tokenizer that is used on searching and data
|
244
|
+
loading.
|
76
245
|
|
77
|
-
|
78
|
-
|
246
|
+
You cannot use ``default_tokenizer`` with ``TABLE_NO_KEY`` because
|
247
|
+
``TABLE_NO_KEY`` cannot be used for index.
|
79
248
|
|
80
|
-
|
81
|
-
|
249
|
+
You must specify ``default_tokenizer`` for a table that is used for
|
250
|
+
fulltext search index.
|
82
251
|
|
83
|
-
|
84
|
-
trigram(3文字の文字列要素をトークンとする)
|
252
|
+
See :doc:`/reference/tokenizers` for all tokenizers
|
85
253
|
|
86
|
-
|
87
|
-
形態素解析器mecabで解析した形態素をトークンとする。(mecabを組み込んだ場合のみ有効)
|
254
|
+
The default value is none.
|
88
255
|
|
89
|
-
|
256
|
+
``normalizer``
|
257
|
+
^^^^^^^^^^^^^^
|
90
258
|
|
91
|
-
|
92
|
-
----
|
259
|
+
It specifies a normalizer that is used to normalize key.
|
93
260
|
|
94
|
-
|
95
|
-
|
261
|
+
You cannot use ``normalizer`` with ``TABLE_NO_KEY`` because
|
262
|
+
``TABLE_NO_KEY`` doesn't support key.
|
96
263
|
|
97
|
-
|
264
|
+
See :doc:`/reference/normalizers` for all normalizsers.
|
98
265
|
|
99
|
-
|
266
|
+
The default value is none.
|
100
267
|
|
101
|
-
|
268
|
+
Return value
|
269
|
+
------------
|
102
270
|
|
103
|
-
|
271
|
+
``table_create`` returns ``true`` as body on success such as::
|
104
272
|
|
105
|
-
|
106
|
-
--
|
273
|
+
[HEADER, true]
|
107
274
|
|
108
|
-
|
275
|
+
If ``table_create`` fails, error details are in ``HEADER``.
|
109
276
|
|
110
|
-
|
111
|
-
[true]
|
277
|
+
See :doc:`/reference/command/output_format` for ``HEADER``.
|
112
278
|
|
113
|
-
|
279
|
+
See also
|
280
|
+
--------
|
114
281
|
|
115
|
-
|
116
|
-
|
282
|
+
* :doc:`/reference/tables`
|
283
|
+
* :doc:`/reference/commands/column_create`
|
284
|
+
* :doc:`/reference/tokenizers`
|
285
|
+
* :doc:`/reference/normalizers`
|
286
|
+
* :doc:`/reference/command/output_format`
|
@@ -134,7 +134,7 @@ grntest命令
|
|
134
134
|
コマンドファイル
|
135
135
|
^^^^^^^^^^^^^^^^
|
136
136
|
|
137
|
-
コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/
|
137
|
+
コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては :doc:`/reference/command` を参照してください。
|
138
138
|
|
139
139
|
サンプル
|
140
140
|
^^^^^^^^
|
@@ -138,6 +138,8 @@ groongaのデータベースは、groongaコマンドかCライブラリイン
|
|
138
138
|
|
139
139
|
スタンドアロンおよびクライアントモードの場合は、実行するコマンドとその引数をコマンドライン引数に指定できます。コマンドライン引数にcommandを与えなかった場合は、標準入力から一行ずつEOFに達するまでコマンド文字列を読み取り、順次実行します。
|
140
140
|
|
141
|
+
.. _command-list-with-continuous-line:
|
142
|
+
|
141
143
|
コマンド
|
142
144
|
--------
|
143
145
|
|
@@ -154,6 +156,13 @@ groongaコマンドを通してデータベースを操作する命令をコマ
|
|
154
156
|
|
155
157
|
標準入力からコマンド文字列を与える場合は、コマンド名と引数名と値は、空白( )で区切ります。空白や、記号「"'()\」のうちいずれかを含む値を指定したい場合は、シングルクォート(')かダブルクォート(")で値を囲みます。値として指定する文字列の中では、改行文字は'\n'に置き換えて指定します。また、引用符に使用した文字を値の中で指定する場合には、その文字の前にバックスラッシュ('\') を指定します。バックスラッシュ文字自身を値として指定する場合には、その前にバックスラッシュを指定します。
|
156
158
|
|
159
|
+
You can write command list with continuous line which is represented by '\\' character.::
|
160
|
+
|
161
|
+
table_create --name Terms \
|
162
|
+
--flags TABLE_PAT_KEY \
|
163
|
+
--key_type ShortText \
|
164
|
+
--default_tokenizer TokenBigram
|
165
|
+
|
157
166
|
組み込みコマンド
|
158
167
|
----------------
|
159
168
|
|
@@ -158,7 +158,7 @@ you want to calculate the value of distance between two points.
|
|
158
158
|
|
159
159
|
You can specify the value of GeoPoint type. [#]_
|
160
160
|
|
161
|
-
See :doc:`/reference/
|
161
|
+
See :doc:`/reference/types` about GeoPoint.
|
162
162
|
|
163
163
|
``point2``
|
164
164
|
""""""""""
|
@@ -169,7 +169,7 @@ you want to calculate the value of distance between two points.
|
|
169
169
|
You can specify the value of GeoPoint type or
|
170
170
|
the string indicating the coordinate.
|
171
171
|
|
172
|
-
See :doc:`/reference/
|
172
|
+
See :doc:`/reference/types` about GeoPoint and the coordinate.
|
173
173
|
|
174
174
|
Optional parameter
|
175
175
|
^^^^^^^^^^^^^^^^^^
|
@@ -221,7 +221,7 @@ Its syntax is ``name(arugment1, argument2, ...)``.
|
|
221
221
|
``name(argument1, argument2, ...)`` calls a function that is named
|
222
222
|
``name`` with arguments ``argument1``, ``argument2`` and ``...``.
|
223
223
|
|
224
|
-
See :doc:`/reference/
|
224
|
+
See :doc:`/reference/function` for available functin list.
|
225
225
|
|
226
226
|
Here is a simple exmaple.
|
227
227
|
|
@@ -0,0 +1,122 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: normalisers
|
7
|
+
|
8
|
+
Normalizers
|
9
|
+
===========
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
Groonga has normalizer module. It is used when tokenizing text and
|
15
|
+
storing table key. For example, ``A`` and ``a`` are processed as the
|
16
|
+
same character after normalization.
|
17
|
+
|
18
|
+
Normalizer module can be added as a plugin. You can customize text
|
19
|
+
normalization by registering your normalizer plugins to groonga.
|
20
|
+
|
21
|
+
A normalizer module is attached to a table. A table can have zero or
|
22
|
+
one normalizer module. You can attach a normalizer module to a table
|
23
|
+
by :ref:`table-create-normalizer` option in
|
24
|
+
:doc:`/reference/commands/table_create`.
|
25
|
+
|
26
|
+
Here is an example ``table_create`` that uses ``NormalizerAuto``
|
27
|
+
normalizer module:
|
28
|
+
|
29
|
+
.. groonga-command
|
30
|
+
.. include:: ../example/reference/normalizers/example-table-create.log
|
31
|
+
.. table_create Dictionary TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
|
32
|
+
|
33
|
+
.. note::
|
34
|
+
|
35
|
+
Groonga 2.0.9 or earlier doesn't have ``--normalizer`` option in
|
36
|
+
``table_create``. ``KEY_NORMALIZE`` flag was used instead.
|
37
|
+
|
38
|
+
You can open an old database by groonga 2.1.0 or later. An old
|
39
|
+
database means that the database is created by groonga 2.0.9 or
|
40
|
+
earlier. But you cannot open the opened old database by groonga
|
41
|
+
2.0.9 or earlier. Once you open the old database by groonga 2.1.0
|
42
|
+
or later, ``KEY_NORMALIZE`` flag information in the old database is
|
43
|
+
converted to normalizer information. So groogna 2.0.9 or earlier
|
44
|
+
cannot find ``KEY_NORMALIZE`` flag information in the opened old
|
45
|
+
database.
|
46
|
+
|
47
|
+
Keys of a table that has a normalizer module are normalized:
|
48
|
+
|
49
|
+
.. groonga-command
|
50
|
+
.. include:: ../example/reference/normalizers/example-load.log
|
51
|
+
.. load --table Dictionary
|
52
|
+
.. [
|
53
|
+
.. {"_key": "Apple"},
|
54
|
+
.. {"_key": "black"},
|
55
|
+
.. {"_key": "COLOR"}
|
56
|
+
.. ]
|
57
|
+
.. select Dictionary
|
58
|
+
|
59
|
+
``NormalizerAuto`` normalizer normalizes a text as a downcased text.
|
60
|
+
For example, ``"Apple"`` is normalized to ``"apple"``, ``"black"`` is
|
61
|
+
normalized to ``"blank"`` and ``"COLOR"`` is normalized to
|
62
|
+
``"color"``.
|
63
|
+
|
64
|
+
If a table is a lexicon for fulltext search, tokenized tokens are
|
65
|
+
normalized. Because tokens are stored as table keys. Table keys are
|
66
|
+
normalized as described above.
|
67
|
+
|
68
|
+
Built-in normalizers
|
69
|
+
--------------------
|
70
|
+
|
71
|
+
Here is a list of built-in-normalizers:
|
72
|
+
|
73
|
+
* ``NormalizerAuto``
|
74
|
+
* ``NormalizerNFKC51``
|
75
|
+
|
76
|
+
``NormalizerAuto``
|
77
|
+
^^^^^^^^^^^^^^^^^^
|
78
|
+
|
79
|
+
Normally you should use ``NormalizerAuto``
|
80
|
+
normalizer. ``NormalizerAuto`` was the normalizer for groonga 2.0.9 or
|
81
|
+
earlier. ``KEY_NORMALIZE`` flag in ``table_create`` on groonga 2.0.9
|
82
|
+
or earlier equals to ``--normalizer NormalizerAuto`` option in
|
83
|
+
``table`` on groonga 2.1.0 or later.
|
84
|
+
|
85
|
+
``NormalizerAuto`` supports all encoding. It uses Unicode NFKC
|
86
|
+
(Normalization Form Compatibility Composition) for UTF-8 encoding
|
87
|
+
text. It uses encoding specific original normalization for other
|
88
|
+
encodings. The results of those original normalization are similar to
|
89
|
+
NFKC.
|
90
|
+
|
91
|
+
For example, half-width katakana (such as U+FF76 HALFWIDTH KATAKANA
|
92
|
+
LETTER KA) + half-width katakana voiced sound mark (U+FF9E HALFWIDTH
|
93
|
+
KATAKANA VOICED SOUND MARK) is normalized to full-width katakana with
|
94
|
+
voiced sound mark (U+30AC KATAKANA LETTER GA). The former is two
|
95
|
+
chracters but the latter is one character.
|
96
|
+
|
97
|
+
Here is an example that uses ``NormalizerAuto`` normalizer:
|
98
|
+
|
99
|
+
.. groonga-command
|
100
|
+
.. include:: ../example/reference/normalizers/normalizer-auto.log
|
101
|
+
.. table_create NormalLexicon TABLE_HASH_KEY ShortText --normalizer NormalizerAuto
|
102
|
+
|
103
|
+
``NormalizerNFKC51``
|
104
|
+
^^^^^^^^^^^^^^^^^^^^
|
105
|
+
|
106
|
+
``NormalizerNFKC51`` normalizes texts by Unicode NFKC (Normalization
|
107
|
+
Form Compatibility Composition) for Unicode version 5.1. It supports
|
108
|
+
only UTF-8 encoding.
|
109
|
+
|
110
|
+
Normally you don't need to use ``NormalizerNFKC51`` explicitly. You can
|
111
|
+
use ``NormalizerAuto`` instead.
|
112
|
+
|
113
|
+
Here is an example that uses ``NormalizerNFKC51`` normalizer:
|
114
|
+
|
115
|
+
.. groonga-command
|
116
|
+
.. include:: ../example/reference/normalizers/normalizer-nfkc51.log
|
117
|
+
.. table_create NFKC51Lexicon TABLE_HASH_KEY ShortText --normalizer NormalizerNFKC51
|
118
|
+
|
119
|
+
See also
|
120
|
+
--------
|
121
|
+
|
122
|
+
* :doc:`/reference/commands/table_create`
|