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
@@ -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`
|
@@ -0,0 +1,163 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
Tables
|
6
|
+
======
|
7
|
+
|
8
|
+
Summary
|
9
|
+
-------
|
10
|
+
|
11
|
+
Table in groonga manages relation between ID and key. Groonga provides
|
12
|
+
four table types. They are ``TABLE_NO_KEY``, ``TABLE_HASH_KEY``,
|
13
|
+
``TABLE_PAT_KEY`` and ``TABLE_DAT_KEY``.
|
14
|
+
|
15
|
+
All table except ``TABLE_NO_KEY`` provides both fast ID search by key
|
16
|
+
and fast key search by ID. ``TABLE_NO_KEY`` doesn't support
|
17
|
+
key. ``TABLE_NO_KEY`` only manages ID. So ``TABLE_NO_KEY`` doesn't
|
18
|
+
provides ID search and key search.
|
19
|
+
|
20
|
+
Characteristics
|
21
|
+
---------------
|
22
|
+
|
23
|
+
Here is a chracteristic table of all tables in groonga. (``TABLE_``
|
24
|
+
prefix is omitted in the table.)
|
25
|
+
|
26
|
+
+--------------+------------+--------------+-------------+-------------+
|
27
|
+
| | ``NO_KEY`` | ``HASH_KEY`` | ``PAT_KEY`` | ``DAT_KEY`` |
|
28
|
+
+--------------+------------+--------------+-------------+-------------+
|
29
|
+
| Data | Array | Hash table | Patricia | Double |
|
30
|
+
| structure | | | trie | array |
|
31
|
+
| | | | | trie |
|
32
|
+
+--------------+------------+--------------+-------------+-------------+
|
33
|
+
| ID | o | o | o | o |
|
34
|
+
| support | | | | |
|
35
|
+
+--------------+------------+--------------+-------------+-------------+
|
36
|
+
| Key | x | o | o | o |
|
37
|
+
| support | | | | |
|
38
|
+
+--------------+------------+--------------+-------------+-------------+
|
39
|
+
| Value | o | o | o | x |
|
40
|
+
| support | | | | |
|
41
|
+
+--------------+------------+--------------+-------------+-------------+
|
42
|
+
| Key -> ID | - | oo | x | o |
|
43
|
+
| speed | | | | |
|
44
|
+
| (o -> fast) | | | | |
|
45
|
+
| (x -> slow) | | | | |
|
46
|
+
+--------------+------------+--------------+-------------+-------------+
|
47
|
+
| Update | ooo | o | o | x |
|
48
|
+
| speed | | | | |
|
49
|
+
| (o -> fast) | | | | |
|
50
|
+
| (x -> slow) | | | | |
|
51
|
+
+--------------+------------+--------------+-------------+-------------+
|
52
|
+
| Size | ooo | o | oo | x |
|
53
|
+
| (o -> small) | | | | |
|
54
|
+
| (x -> large) | | | | |
|
55
|
+
+--------------+------------+--------------+-------------+-------------+
|
56
|
+
| Key | - | x | x | o |
|
57
|
+
| update | | | | |
|
58
|
+
+--------------+------------+--------------+-------------+-------------+
|
59
|
+
| Common | - | x | o | o |
|
60
|
+
| prefix | | | | |
|
61
|
+
| search | | | | |
|
62
|
+
+--------------+------------+--------------+-------------+-------------+
|
63
|
+
| Predictive | - | x | o | o |
|
64
|
+
| search | | | | |
|
65
|
+
+--------------+------------+--------------+-------------+-------------+
|
66
|
+
| Range | - | x | o | o |
|
67
|
+
| search | | | | |
|
68
|
+
+--------------+------------+--------------+-------------+-------------+
|
69
|
+
|
70
|
+
``TABLE_NO_KEY``
|
71
|
+
^^^^^^^^^^^^^^^^
|
72
|
+
|
73
|
+
``TABLE_NO_KEY`` is very fast and very small but it doesn't support
|
74
|
+
key. ``TABLE_NO_KEY`` is a only table that doesn't support key.
|
75
|
+
|
76
|
+
You cannot use ``TABLE_NO_KEY`` for lexicon for fulltext search
|
77
|
+
because lexicon stores tokens as key. ``TABLE_NO_KEY`` is useful for
|
78
|
+
no key records such as log.
|
79
|
+
|
80
|
+
``TABLE_HASH_KEY``
|
81
|
+
^^^^^^^^^^^^^^^^^^
|
82
|
+
|
83
|
+
``TABLE_HASH_KEY`` is fast but it doesn't support advanced search
|
84
|
+
functions such as common prefix search and predictive search.
|
85
|
+
|
86
|
+
``TABLE_HASH_KEY`` is useful for index for exact search such as tag
|
87
|
+
search.
|
88
|
+
|
89
|
+
``TABLE_PAT_KEY``
|
90
|
+
^^^^^^^^^^^^^^^^^
|
91
|
+
|
92
|
+
``TABLE_PAT_KEY`` is small and supports advanced search functions.
|
93
|
+
|
94
|
+
``TABLE_PAT_KEY`` is useful for lexicon for fulltext search and
|
95
|
+
index for range search.
|
96
|
+
|
97
|
+
``TABLE_DAT_KEY``
|
98
|
+
^^^^^^^^^^^^^^^^^
|
99
|
+
|
100
|
+
``TABLE_DAT_KEY`` is fast and supports key update but it is large. It
|
101
|
+
is not suitable for storing many records. ``TABLE_DAT_KEY`` is a only
|
102
|
+
table that supports key update.
|
103
|
+
|
104
|
+
``TABLE_DAT_KEY`` is used in groonga database. Groonga database needs
|
105
|
+
to convert object name such as ``ShortText``, ``TokenBigram`` and
|
106
|
+
table names to object ID. And groonga database needs to rename object
|
107
|
+
name. Those features are implemented by ``TABLE_DAT_KEY``. The number
|
108
|
+
of objects is small. So large data size demerit of ``TABLE_DAT_KEY``
|
109
|
+
can be ignored.
|
110
|
+
|
111
|
+
Record ID
|
112
|
+
---------
|
113
|
+
|
114
|
+
Record ID is assigned automatically. You cannot assign record ID.
|
115
|
+
|
116
|
+
Record ID of deleted record may be reused.
|
117
|
+
|
118
|
+
Valid record ID range is between 1 and 268435455. (1 and 268435455 are
|
119
|
+
valid IDs.)
|
120
|
+
|
121
|
+
Persistent table and temporary table
|
122
|
+
------------------------------------
|
123
|
+
|
124
|
+
Table is persistent table or temporary table.
|
125
|
+
|
126
|
+
Persistent table
|
127
|
+
^^^^^^^^^^^^^^^^
|
128
|
+
|
129
|
+
Persistent table is named and registered to database. Records in
|
130
|
+
persistent table aren't deleted after closing table or
|
131
|
+
database.
|
132
|
+
|
133
|
+
Persistent table can be created by
|
134
|
+
:doc:`/reference/commands/table_create` command.
|
135
|
+
|
136
|
+
Temporary table
|
137
|
+
^^^^^^^^^^^^^^^
|
138
|
+
|
139
|
+
Temporary table is anonymous. Records in temporary table are deleted
|
140
|
+
after closing table. Temporary table is used to store search result,
|
141
|
+
sort result, group (drilldown) result and so on. ``TABLE_HASH_KEY`` is
|
142
|
+
used for search result and group result. ``TABLE_NO_KEY`` is used for
|
143
|
+
sort result.
|
144
|
+
|
145
|
+
Limitations
|
146
|
+
-----------
|
147
|
+
|
148
|
+
The max number of records is 268435455. You cannot add 268435456 or
|
149
|
+
more records in a table.
|
150
|
+
|
151
|
+
The max number of a key size is 4096byte. You cannot use 4097byte or
|
152
|
+
larger key. You can use column instead of key for 4097byte or larger
|
153
|
+
size data. ``Text`` and ``LargeText`` types supports 4097byte or
|
154
|
+
larger size data.
|
155
|
+
|
156
|
+
The max number of total key size is 4GiB. You need to split a table,
|
157
|
+
split a database (sharding) or reduce each key size to handle 4GiB or
|
158
|
+
more larger total key size.
|
159
|
+
|
160
|
+
See also
|
161
|
+
--------
|
162
|
+
|
163
|
+
* :doc:`/reference/commands/table_create`
|
File without changes
|
@@ -123,7 +123,7 @@ configuration to use ``/api/`` as prefix path::
|
|
123
123
|
Custom command version
|
124
124
|
----------------------
|
125
125
|
|
126
|
-
Groonga has :doc:`/reference/command_version` mechanism. It is for
|
126
|
+
Groonga has :doc:`/reference/command/command_version` mechanism. It is for
|
127
127
|
upgrading groonga commands with backward compatibility.
|
128
128
|
|
129
129
|
:doc:`groonga` can change the default command veresion by
|
@@ -15,7 +15,7 @@ Groonga is a full text search engine but also serves as a column-oriented data s
|
|
15
15
|
Overview
|
16
16
|
--------
|
17
17
|
|
18
|
-
The basic data types of groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see :doc:`/reference/
|
18
|
+
The basic data types of groonga are roughly divided into 5 groups --- boolean type, numeric types, string types, date/time type and longitude/latitude types. The numeric types are further divided according to whether integer or floating point number, signed or unsigned and the number of bits allocated to each integer. The string types are further divided according to the maximum length. The longitude/latitude types are further divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`.
|
19
19
|
|
20
20
|
In addition, groonga supports reference types and vector types. Reference types are designed for accessing other tables. Vector types are designed for storing a variable number of values in one element.
|
21
21
|
|
@@ -46,7 +46,7 @@ The following example creates a boolean type column and adds three records. Note
|
|
46
46
|
Numeric types
|
47
47
|
-------------
|
48
48
|
|
49
|
-
The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see :doc:`/reference/
|
49
|
+
The numeric types are divided into integer types and a floating point number type. The integer types are further divided into the signed integer types and unsigned integer types. In addition, you can choose the number of bits allocated to each integer. For more details, see :doc:`/reference/types`. The default value of the numeric types is 0.
|
50
50
|
|
51
51
|
The following example creates an Int8 column and a Float column, and then updates existing records. The :doc:`/reference/commands/load` command updates the weight column as expected. On the other hand, the price column values are different from the specified values because 15.9 is not an integer and 200 is too large. 15.9 is converted to 15 by removing the fractional part. 200 causes an overflow and the result becomes -56. Note that the result of an overflow/underflow is undefined.
|
52
52
|
|
@@ -65,7 +65,7 @@ The following example creates an Int8 column and a Float column, and then update
|
|
65
65
|
String types
|
66
66
|
------------
|
67
67
|
|
68
|
-
The string types are divided according to the maximum length. For more details, see :doc:`/reference/
|
68
|
+
The string types are divided according to the maximum length. For more details, see :doc:`/reference/types`. The default value is the zero-length string.
|
69
69
|
|
70
70
|
The following example creates a ShortText column and updates existing records. The third record has the default value because not updated.
|
71
71
|
|
@@ -99,7 +99,7 @@ The following example creates a Time column and updates existing records. The fi
|
|
99
99
|
Longitude and latitude types
|
100
100
|
----------------------------
|
101
101
|
|
102
|
-
The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/
|
102
|
+
The longitude and latitude types are divided according to the geographic coordinate system. For more details, see :doc:`/reference/types`. To represent a longitude and latitude, groonga uses a string formatted as follows:
|
103
103
|
|
104
104
|
* "longitude x latitude" in milliseconds (e.g.: "128452975x503157902")
|
105
105
|
* "longitude x latitude" in degrees (e.g.: "35.6813819x139.7660839")
|
@@ -93,7 +93,7 @@ A :doc:`/reference/commands/table_create` command creates a new table.
|
|
93
93
|
|
94
94
|
In most cases, a table has a primary key which must be specified with its data type and index type.
|
95
95
|
|
96
|
-
There are various data types such as integers, strings, etc. See also :doc:`/reference/
|
96
|
+
There are various data types such as integers, strings, etc. See also :doc:`/reference/types` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.
|
97
97
|
|
98
98
|
Let's create a table. The following example creates a table with a primary key. The `name` parameter specifies the name of the table. The `flags` parameter specifies the index type for the primary key. The `key_type` parameter specifies the data type of the primary key.
|
99
99
|
|
@@ -61,6 +61,18 @@ jQuery.getQueryParameters = function(s) {
|
|
61
61
|
return result;
|
62
62
|
};
|
63
63
|
|
64
|
+
/**
|
65
|
+
* small function to check if an array contains
|
66
|
+
* a given item.
|
67
|
+
*/
|
68
|
+
jQuery.contains = function(arr, item) {
|
69
|
+
for (var i = 0; i < arr.length; i++) {
|
70
|
+
if (arr[i] == item)
|
71
|
+
return true;
|
72
|
+
}
|
73
|
+
return false;
|
74
|
+
};
|
75
|
+
|
64
76
|
/**
|
65
77
|
* highlight a given string on a jquery object by wrapping it in
|
66
78
|
* span elements with the given class name.
|
@@ -301,7 +301,7 @@ var Search = {
|
|
301
301
|
},
|
302
302
|
|
303
303
|
query : function(query) {
|
304
|
-
var stopwords = ["
|
304
|
+
var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"];
|
305
305
|
|
306
306
|
// Stem the searchterms and add them to the correct list
|
307
307
|
var stemmer = new Stemmer();
|
@@ -332,7 +332,7 @@ var Search = {
|
|
332
332
|
hlterms.push(tmp[i].toLowerCase());
|
333
333
|
}
|
334
334
|
// only add if not already in the list
|
335
|
-
if (
|
335
|
+
if (!$.contains(toAppend, word))
|
336
336
|
toAppend.push(word);
|
337
337
|
};
|
338
338
|
var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
|
@@ -399,7 +399,7 @@ var Search = {
|
|
399
399
|
// search result.
|
400
400
|
for (var i = 0; i < excluded.length; i++) {
|
401
401
|
if (terms[excluded[i]] == file ||
|
402
|
-
|
402
|
+
$.contains(terms[excluded[i]] || [], file)) {
|
403
403
|
valid = false;
|
404
404
|
break;
|
405
405
|
}
|