rroonga 1.3.0-x86-mingw32 → 1.3.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +33 -2
- data/benchmark/common.rb +2 -2
- data/benchmark/read-write-many-small-items.rb +71 -62
- data/benchmark/write-many-small-items.rb +61 -53
- data/ext/groonga/rb-grn-context.c +23 -5
- data/ext/groonga/rb-grn-index-column.c +2 -6
- data/ext/groonga/rb-grn-operator.c +31 -1
- data/ext/groonga/rb-grn-variable-size-column.c +77 -1
- data/ext/groonga/rb-grn.h +2 -11
- data/ext/groonga/rb-groonga.c +1 -2
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/command.rb +169 -0
- data/lib/groonga/context.rb +4 -124
- data/lib/groonga/dumper.rb +10 -8
- data/lib/groonga/record.rb +7 -0
- data/lib/groonga/schema.rb +98 -7
- data/rroonga-build.rb +3 -3
- data/test/{test-context-select.rb → test-command-select.rb} +3 -3
- data/test/test-record.rb +18 -1
- data/test/test-schema-dumper.rb +48 -0
- data/test/test-schema-type.rb +35 -0
- data/test/test-schema.rb +81 -11
- data/test/test-table-select.rb +49 -38
- data/test/test-variable-size-column.rb +30 -0
- data/vendor/local/bin/grntest.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga/plugin.h +3 -2
- data/vendor/local/include/groonga/groonga.h +106 -78
- 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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +5 -2
- 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/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +4 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +102 -27
- data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +130 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/output.txt +164 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/type.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +13 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +5 -5
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +11 -7
- data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +60 -52
- data/vendor/local/share/doc/groonga/en/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/delete.html +38 -35
- data/vendor/local/share/doc/groonga/en/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/suggest.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/commands/table_create.html +38 -36
- data/vendor/local/share/doc/groonga/en/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/commands.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/community.html +14 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/contribution.html +15 -13
- data/vendor/local/share/doc/groonga/en/html/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/grntest.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-http.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables/groonga-suggest-create-dataset.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/executables.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/expr.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +71 -36
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_circle.html +53 -33
- data/vendor/local/share/doc/groonga/en/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/functions.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +92 -87
- data/vendor/local/share/doc/groonga/en/html/install.html +109 -40
- data/vendor/local/share/doc/groonga/en/html/limitations.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/log.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/news.html +233 -112
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/output.html +302 -0
- data/vendor/local/share/doc/groonga/en/html/pseudo_column.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference.html +59 -55
- 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/spec/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/spec.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/suggest.html +7 -12
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +124 -164
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/type.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +4 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +102 -27
- data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +130 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/output.txt +164 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/type.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +13 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +11 -7
- data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +55 -47
- data/vendor/local/share/doc/groonga/ja/html/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/check.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/clearlock.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_create.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/column_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/define_selector.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/defrag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/delete.html +38 -35
- data/vendor/local/share/doc/groonga/ja/html/commands/dump.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/load.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_level.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_put.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/log_reopen.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/quit.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/commands/shutdown.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/commands/status.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/suggest.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/table_create.html +38 -36
- data/vendor/local/share/doc/groonga/ja/html/commands/table_list.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/table_remove.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands/view_add.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/commands.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/community.html +10 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/grnslap.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/grntest.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-http.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/executables.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/expr.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +71 -36
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_circle.html +53 -33
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/functions.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/index.html +84 -79
- data/vendor/local/share/doc/groonga/ja/html/install.html +92 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/log.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news.html +202 -99
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/output.html +287 -0
- data/vendor/local/share/doc/groonga/ja/html/pseudo_column.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference.html +59 -55
- 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/spec/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/spec.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +93 -115
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/type.html +31 -31
- data/vendor/local/share/doc/groonga/source/characteristic.txt +42 -32
- data/vendor/local/share/doc/groonga/source/commands/delete.txt +5 -1
- data/vendor/local/share/doc/groonga/source/commands/table_create.txt +5 -2
- data/vendor/local/share/doc/groonga/source/community.txt +4 -3
- data/vendor/local/share/doc/groonga/source/contribution.txt +8 -6
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +8 -8
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +3 -15
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +2 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -7
- data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +42 -3
- data/vendor/local/share/doc/groonga/source/functions/geo_in_circle.txt +26 -1
- data/vendor/local/share/doc/groonga/source/index.txt +2 -2
- data/vendor/local/share/doc/groonga/source/install.txt +102 -27
- data/vendor/local/share/doc/groonga/source/limitations.txt +10 -10
- data/vendor/local/share/doc/groonga/source/news.txt +130 -21
- data/vendor/local/share/doc/groonga/source/output.txt +164 -0
- data/vendor/local/share/doc/groonga/source/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/source/suggest.txt +0 -5
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +6 -4
- data/vendor/local/share/doc/groonga/source/tutorial/drilldown.txt +1 -3
- data/vendor/local/share/doc/groonga/source/tutorial/index.txt +2 -1
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +95 -116
- data/vendor/local/share/doc/groonga/source/tutorial/match_columns.txt +1 -4
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +1 -4
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +3 -0
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +1 -2
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +5 -0
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -0
- data/vendor/local/share/doc/groonga/source/tutorial.txt +2 -2
- data/vendor/local/share/doc/groonga/source/type.txt +3 -3
- data/vendor/local/share/groonga/examples/dictionary/html/js/dictionary.js +1 -0
- data/vendor/local/share/groonga/html/admin/index.html +40 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +6 -0
- data/vendor/local/share/groonga/html/admin/js/jquery.flot.license.txt +22 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +560 -138
- data/vendor/local/share/man/man1/groonga.1 +637 -223
- metadata +887 -898
- data/ext/groonga/Makefile +0 -184
- data/ext/groonga/rb-grn-query.c +0 -260
- data/test/test-query.rb +0 -22
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>7.
|
12
|
+
<title>7.3.19. status — groonga v1.2.9 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.9',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v1.2.
|
31
|
-
<link rel="up" title="7.
|
32
|
-
<link rel="next" title="7.
|
33
|
-
<link rel="prev" title="7.
|
30
|
+
<link rel="top" title="groonga v1.2.9 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="7.3. コマンド" href="../commands.html" />
|
32
|
+
<link rel="next" title="7.3.20. suggest" href="suggest.html" />
|
33
|
+
<link rel="prev" title="7.3.18. shutdown" href="shutdown.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,14 +57,14 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="suggest.html" title="7.
|
60
|
+
<a href="suggest.html" title="7.3.20. suggest"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="shutdown.html" title="7.
|
63
|
+
<a href="shutdown.html" title="7.3.18. shutdown"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v1.2.
|
65
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
66
66
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../commands.html" accesskey="U">7.
|
67
|
+
<li><a href="../commands.html" accesskey="U">7.3. コマンド</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,30 +74,30 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="status">
|
77
|
-
<h1>7.
|
77
|
+
<h1>7.3.19. status<a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<div class="section" id="id1">
|
79
|
-
<h2>7.
|
79
|
+
<h2>7.3.19.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
80
80
|
<p>status - groongaプロセスの状態表示</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="id2">
|
83
|
-
<h2>7.
|
83
|
+
<h2>7.3.19.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>status
|
85
85
|
</pre></div>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="id3">
|
89
|
-
<h2>7.
|
89
|
+
<h2>7.3.19.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
90
90
|
<p>groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
|
91
91
|
<p>statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。</p>
|
92
92
|
</div>
|
93
93
|
<div class="section" id="id4">
|
94
|
-
<h2>7.
|
94
|
+
<h2>7.3.19.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
95
95
|
<p>ありません。</p>
|
96
96
|
</div>
|
97
97
|
<div class="section" id="id5">
|
98
|
-
<h2>7.
|
98
|
+
<h2>7.3.19.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
99
99
|
<div class="section" id="json">
|
100
|
-
<h3>7.
|
100
|
+
<h3>7.3.19.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
|
101
101
|
<div class="highlight-none"><div class="highlight"><pre>下記の項目がハッシュ形式で出力されます。
|
102
102
|
|
103
103
|
``alloc_count``
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
</div>
|
118
118
|
<div class="section" id="id6">
|
119
|
-
<h2>7.
|
119
|
+
<h2>7.3.19.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
120
120
|
<div class="highlight-none"><div class="highlight"><pre>status
|
121
121
|
{"alloc_count":104,
|
122
122
|
"starttime":1268213679,
|
@@ -134,26 +134,26 @@
|
|
134
134
|
<div class="sphinxsidebarwrapper">
|
135
135
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
136
136
|
<ul>
|
137
|
-
<li><a class="reference internal" href="#">7.
|
138
|
-
<li><a class="reference internal" href="#id1">7.
|
139
|
-
<li><a class="reference internal" href="#id2">7.
|
140
|
-
<li><a class="reference internal" href="#id3">7.
|
141
|
-
<li><a class="reference internal" href="#id4">7.
|
142
|
-
<li><a class="reference internal" href="#id5">7.
|
143
|
-
<li><a class="reference internal" href="#json">7.
|
137
|
+
<li><a class="reference internal" href="#">7.3.19. status</a><ul>
|
138
|
+
<li><a class="reference internal" href="#id1">7.3.19.1. 名前</a></li>
|
139
|
+
<li><a class="reference internal" href="#id2">7.3.19.2. 書式</a></li>
|
140
|
+
<li><a class="reference internal" href="#id3">7.3.19.3. 説明</a></li>
|
141
|
+
<li><a class="reference internal" href="#id4">7.3.19.4. 引数</a></li>
|
142
|
+
<li><a class="reference internal" href="#id5">7.3.19.5. 返値</a><ul>
|
143
|
+
<li><a class="reference internal" href="#json">7.3.19.5.1. json形式</a></li>
|
144
144
|
</ul>
|
145
145
|
</li>
|
146
|
-
<li><a class="reference internal" href="#id6">7.
|
146
|
+
<li><a class="reference internal" href="#id6">7.3.19.6. 例</a></li>
|
147
147
|
</ul>
|
148
148
|
</li>
|
149
149
|
</ul>
|
150
150
|
|
151
151
|
<h4>Previous topic</h4>
|
152
152
|
<p class="topless"><a href="shutdown.html"
|
153
|
-
title="previous chapter">7.
|
153
|
+
title="previous chapter">7.3.18. shutdown</a></p>
|
154
154
|
<h4>Next topic</h4>
|
155
155
|
<p class="topless"><a href="suggest.html"
|
156
|
-
title="next chapter">7.
|
156
|
+
title="next chapter">7.3.20. suggest</a></p>
|
157
157
|
<h3>This Page</h3>
|
158
158
|
<ul class="this-page-menu">
|
159
159
|
<li><a href="../_sources/commands/status.txt"
|
@@ -162,7 +162,7 @@
|
|
162
162
|
<div id="searchbox" style="display: none">
|
163
163
|
<h3>Quick search</h3>
|
164
164
|
<form class="search" action="../search.html" method="get">
|
165
|
-
<input type="text" name="q"
|
165
|
+
<input type="text" name="q" />
|
166
166
|
<input type="submit" value="Go" />
|
167
167
|
<input type="hidden" name="check_keywords" value="yes" />
|
168
168
|
<input type="hidden" name="area" value="default" />
|
@@ -183,18 +183,18 @@
|
|
183
183
|
<a href="../genindex.html" title="General Index"
|
184
184
|
>index</a></li>
|
185
185
|
<li class="right" >
|
186
|
-
<a href="suggest.html" title="7.
|
186
|
+
<a href="suggest.html" title="7.3.20. suggest"
|
187
187
|
>next</a> |</li>
|
188
188
|
<li class="right" >
|
189
|
-
<a href="shutdown.html" title="7.
|
189
|
+
<a href="shutdown.html" title="7.3.18. shutdown"
|
190
190
|
>previous</a> |</li>
|
191
|
-
<li><a href="../index.html">groonga v1.2.
|
191
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
192
192
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
193
|
-
<li><a href="../commands.html" >7.
|
193
|
+
<li><a href="../commands.html" >7.3. コマンド</a> »</li>
|
194
194
|
</ul>
|
195
195
|
</div>
|
196
196
|
<div class="footer">
|
197
|
-
© Copyright 2009-
|
197
|
+
© Copyright 2009-2012, Brazil, Inc.
|
198
198
|
</div>
|
199
199
|
</body>
|
200
200
|
</html>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>7.
|
12
|
+
<title>7.3.20. suggest — groonga v1.2.9 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.9',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v1.2.
|
31
|
-
<link rel="up" title="7.
|
32
|
-
<link rel="next" title="7.
|
33
|
-
<link rel="prev" title="7.
|
30
|
+
<link rel="top" title="groonga v1.2.9 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="7.3. コマンド" href="../commands.html" />
|
32
|
+
<link rel="next" title="7.3.21. table_create" href="table_create.html" />
|
33
|
+
<link rel="prev" title="7.3.19. status" href="status.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,14 +57,14 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="table_create.html" title="7.
|
60
|
+
<a href="table_create.html" title="7.3.21. table_create"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="status.html" title="7.
|
63
|
+
<a href="status.html" title="7.3.19. status"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v1.2.
|
65
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
66
66
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../commands.html" accesskey="U">7.
|
67
|
+
<li><a href="../commands.html" accesskey="U">7.3. コマンド</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,31 +74,31 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="suggest">
|
77
|
-
<h1>7.
|
77
|
+
<h1>7.3.20. suggest<a class="headerlink" href="#suggest" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<div class="admonition note">
|
79
79
|
<p class="first admonition-title">Note</p>
|
80
80
|
<p class="last">The suggest feature specification isn't stable. The
|
81
81
|
specification may be changed.</p>
|
82
82
|
</div>
|
83
83
|
<div class="section" id="name">
|
84
|
-
<h2>7.
|
84
|
+
<h2>7.3.20.1. NAME<a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h2>
|
85
85
|
<p>suggest - returns completion, correction and/or suggestion for a query.</p>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="synopsis">
|
88
|
-
<h2>7.
|
88
|
+
<h2>7.3.20.2. SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
|
89
89
|
<div class="highlight-none"><div class="highlight"><pre>suggest types table column query [sortby [output_columns [offset [limit [frequency_threshold [conditional_probability_threshold [prefix_search]]]]]]]
|
90
90
|
</pre></div>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
<div class="section" id="description">
|
94
|
-
<h2>7.
|
94
|
+
<h2>7.3.20.3. DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
|
95
95
|
<p>The suggest command returns completion, correction and/or
|
96
96
|
suggestion for a specified query.</p>
|
97
97
|
<p>See <a class="reference internal" href="../suggest/introduction.html"><em>Introduction</em></a> about completion,
|
98
98
|
correction and suggestion.</p>
|
99
99
|
</div>
|
100
100
|
<div class="section" id="options">
|
101
|
-
<h2>7.
|
101
|
+
<h2>7.3.20.4. OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
|
102
102
|
<dl class="docutils">
|
103
103
|
<dt><tt class="docutils literal"><span class="pre">types</span></tt></dt>
|
104
104
|
<dd><p class="first">It specifies what types are returned by the suggest
|
@@ -219,9 +219,9 @@ find any records.</dd>
|
|
219
219
|
</dl>
|
220
220
|
</div>
|
221
221
|
<div class="section" id="return-value">
|
222
|
-
<h2>7.
|
222
|
+
<h2>7.3.20.5. RETURN VALUE<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
223
223
|
<div class="section" id="json-format">
|
224
|
-
<h3>7.
|
224
|
+
<h3>7.3.20.5.1. JSON format<a class="headerlink" href="#json-format" title="Permalink to this headline">¶</a></h3>
|
225
225
|
<p>Here is a returned JSON format:</p>
|
226
226
|
<div class="highlight-none"><div class="highlight"><pre>{"type1": [["candidate1", score of candidate1],
|
227
227
|
["candidate2", score of candidate2],
|
@@ -248,7 +248,7 @@ default.</div></blockquote>
|
|
248
248
|
</div>
|
249
249
|
</div>
|
250
250
|
<div class="section" id="example">
|
251
|
-
<h2>7.
|
251
|
+
<h2>7.3.20.6. EXAMPLE<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
252
252
|
<p>Here are learned data for completion.</p>
|
253
253
|
<p>Execution example:</p>
|
254
254
|
<div class="highlight-none"><div class="highlight"><pre>> load --table event_query --each 'suggest_preparer(_id, type, item, sequence, time, pair_query)'
|
@@ -315,7 +315,7 @@ default.</div></blockquote>
|
|
315
315
|
</div>
|
316
316
|
</div>
|
317
317
|
<div class="section" id="see-also">
|
318
|
-
<h2>7.
|
318
|
+
<h2>7.3.20.7. SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
319
319
|
<ul class="simple">
|
320
320
|
<li><a class="reference internal" href="../suggest.html"><em>Suggest</em></a></li>
|
321
321
|
<li><a class="reference internal" href="../executables/groonga-suggest-create-dataset.html"><em>groonga-suggest-create-dataset</em></a></li>
|
@@ -331,27 +331,27 @@ default.</div></blockquote>
|
|
331
331
|
<div class="sphinxsidebarwrapper">
|
332
332
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
333
333
|
<ul>
|
334
|
-
<li><a class="reference internal" href="#">7.
|
335
|
-
<li><a class="reference internal" href="#name">7.
|
336
|
-
<li><a class="reference internal" href="#synopsis">7.
|
337
|
-
<li><a class="reference internal" href="#description">7.
|
338
|
-
<li><a class="reference internal" href="#options">7.
|
339
|
-
<li><a class="reference internal" href="#return-value">7.
|
340
|
-
<li><a class="reference internal" href="#json-format">7.
|
334
|
+
<li><a class="reference internal" href="#">7.3.20. suggest</a><ul>
|
335
|
+
<li><a class="reference internal" href="#name">7.3.20.1. NAME</a></li>
|
336
|
+
<li><a class="reference internal" href="#synopsis">7.3.20.2. SYNOPSIS</a></li>
|
337
|
+
<li><a class="reference internal" href="#description">7.3.20.3. DESCRIPTION</a></li>
|
338
|
+
<li><a class="reference internal" href="#options">7.3.20.4. OPTIONS</a></li>
|
339
|
+
<li><a class="reference internal" href="#return-value">7.3.20.5. RETURN VALUE</a><ul>
|
340
|
+
<li><a class="reference internal" href="#json-format">7.3.20.5.1. JSON format</a></li>
|
341
341
|
</ul>
|
342
342
|
</li>
|
343
|
-
<li><a class="reference internal" href="#example">7.
|
344
|
-
<li><a class="reference internal" href="#see-also">7.
|
343
|
+
<li><a class="reference internal" href="#example">7.3.20.6. EXAMPLE</a></li>
|
344
|
+
<li><a class="reference internal" href="#see-also">7.3.20.7. SEE ALSO</a></li>
|
345
345
|
</ul>
|
346
346
|
</li>
|
347
347
|
</ul>
|
348
348
|
|
349
349
|
<h4>Previous topic</h4>
|
350
350
|
<p class="topless"><a href="status.html"
|
351
|
-
title="previous chapter">7.
|
351
|
+
title="previous chapter">7.3.19. status</a></p>
|
352
352
|
<h4>Next topic</h4>
|
353
353
|
<p class="topless"><a href="table_create.html"
|
354
|
-
title="next chapter">7.
|
354
|
+
title="next chapter">7.3.21. table_create</a></p>
|
355
355
|
<h3>This Page</h3>
|
356
356
|
<ul class="this-page-menu">
|
357
357
|
<li><a href="../_sources/commands/suggest.txt"
|
@@ -360,7 +360,7 @@ default.</div></blockquote>
|
|
360
360
|
<div id="searchbox" style="display: none">
|
361
361
|
<h3>Quick search</h3>
|
362
362
|
<form class="search" action="../search.html" method="get">
|
363
|
-
<input type="text" name="q"
|
363
|
+
<input type="text" name="q" />
|
364
364
|
<input type="submit" value="Go" />
|
365
365
|
<input type="hidden" name="check_keywords" value="yes" />
|
366
366
|
<input type="hidden" name="area" value="default" />
|
@@ -381,18 +381,18 @@ default.</div></blockquote>
|
|
381
381
|
<a href="../genindex.html" title="General Index"
|
382
382
|
>index</a></li>
|
383
383
|
<li class="right" >
|
384
|
-
<a href="table_create.html" title="7.
|
384
|
+
<a href="table_create.html" title="7.3.21. table_create"
|
385
385
|
>next</a> |</li>
|
386
386
|
<li class="right" >
|
387
|
-
<a href="status.html" title="7.
|
387
|
+
<a href="status.html" title="7.3.19. status"
|
388
388
|
>previous</a> |</li>
|
389
|
-
<li><a href="../index.html">groonga v1.2.
|
389
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
390
390
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
391
|
-
<li><a href="../commands.html" >7.
|
391
|
+
<li><a href="../commands.html" >7.3. コマンド</a> »</li>
|
392
392
|
</ul>
|
393
393
|
</div>
|
394
394
|
<div class="footer">
|
395
|
-
© Copyright 2009-
|
395
|
+
© Copyright 2009-2012, Brazil, Inc.
|
396
396
|
</div>
|
397
397
|
</body>
|
398
398
|
</html>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>7.
|
12
|
+
<title>7.3.21. table_create — groonga v1.2.9 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '1.2.
|
20
|
+
VERSION: '1.2.9',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v1.2.
|
31
|
-
<link rel="up" title="7.
|
32
|
-
<link rel="next" title="7.
|
33
|
-
<link rel="prev" title="7.
|
30
|
+
<link rel="top" title="groonga v1.2.9 documentation" href="../index.html" />
|
31
|
+
<link rel="up" title="7.3. コマンド" href="../commands.html" />
|
32
|
+
<link rel="next" title="7.3.22. table_list" href="table_list.html" />
|
33
|
+
<link rel="prev" title="7.3.20. suggest" href="suggest.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,14 +57,14 @@
|
|
57
57
|
<a href="../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="table_list.html" title="7.
|
60
|
+
<a href="table_list.html" title="7.3.22. table_list"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="suggest.html" title="7.
|
63
|
+
<a href="suggest.html" title="7.3.20. suggest"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v1.2.
|
65
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
66
66
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../commands.html" accesskey="U">7.
|
67
|
+
<li><a href="../commands.html" accesskey="U">7.3. コマンド</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,25 +74,25 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="table-create">
|
77
|
-
<h1>7.
|
77
|
+
<h1>7.3.21. table_create<a class="headerlink" href="#table-create" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<div class="section" id="id1">
|
79
|
-
<h2>7.
|
79
|
+
<h2>7.3.21.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
80
80
|
<p>table_create - テーブルの追加</p>
|
81
81
|
</div>
|
82
82
|
<div class="section" id="id2">
|
83
|
-
<h2>7.
|
83
|
+
<h2>7.3.21.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
84
84
|
<div class="highlight-none"><div class="highlight"><pre>table_create name [flags [key_type [value_type [default_tokenizer]]]]
|
85
85
|
</pre></div>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
<div class="section" id="id3">
|
89
|
-
<h2>7.
|
89
|
+
<h2>7.3.21.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
90
90
|
<p>groonga組込コマンドの一つであるtable_createについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p>
|
91
91
|
<p>table_createコマンドは、使用しているデータベースに対してテーブルを追加します。groongaには名前付きテーブルと名前なしテーブル、永続テーブルと一時テーブルがありますが、table_createコマンドでは、名前付きの永続テーブルのみが作成できます。テーブルはレコードの集合であり、全てのレコードは一意なIDを持ちます。IDはレコードを追加した順序に従って自動的に付与されます。</p>
|
92
92
|
<p>テーブルにカラムを追加する時にはcolumn_createコマンドを使用します。また、テーブルを作成した時点でいくつかの疑似カラムが使用可能になっています。</p>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="id4">
|
95
|
-
<h2>7.
|
95
|
+
<h2>7.3.21.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
96
96
|
<p><tt class="docutils literal"><span class="pre">name</span></tt></p>
|
97
97
|
<blockquote>
|
98
98
|
<div>作成するテーブルの名前を指定します。nameはデータベース内で一意な、未定義の名前でなければなりません。組込型名・組込コマンド名・組込関数名は予約済みであり、テーブル名には 使用できません。また、ピリオド('.'), コロン(':')を含む名前のテーブルは作成できません。</div></blockquote>
|
@@ -102,9 +102,11 @@
|
|
102
102
|
<blockquote>
|
103
103
|
<div><dl class="docutils">
|
104
104
|
<dt>0, <tt class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></tt></dt>
|
105
|
-
<dd
|
105
|
+
<dd>主キー値をハッシュ表で管理するテーブルを作成します。ハッシュ表を使用したテーブルでは、主キー値に完全一致するレコードを非常に高速に検索することができます。</dd>
|
106
106
|
<dt>1, <tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt></dt>
|
107
|
-
<dd
|
107
|
+
<dd>主キー値をパトリシア木で管理するテーブルを作成します。パトリシア木を使用したテーブルでは、主キー値に完全一致するレコードを検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを高速に検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。また、flagsの値に64を加えることによって、後方一致検索も可能となります。</dd>
|
108
|
+
<dt>2, <tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt></dt>
|
109
|
+
<dd>主キー値をダブル配列で管理するテーブルを作成します。ダブル配列を使用したテーブルでは、主キー値に完全一致するレコードを高速に検索することができるとともに、前方一致するレコード、および最長共通接頭辞となるレコードを検索することができます。また、キー値の昇降順でレコードを取り出したり、キー値の範囲での検索を行うことができます。</dd>
|
108
110
|
<dt>3, <tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt></dt>
|
109
111
|
<dd>主キーを持たないテーブルを作成します。各レコードはIDのみによって特定することができます。</dd>
|
110
112
|
<dt>4, <tt class="docutils literal"><span class="pre">TABLE_VIEW</span></tt></dt>
|
@@ -142,9 +144,9 @@
|
|
142
144
|
</div></blockquote>
|
143
145
|
</div>
|
144
146
|
<div class="section" id="id5">
|
145
|
-
<h2>7.
|
147
|
+
<h2>7.3.21.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
146
148
|
<div class="section" id="json">
|
147
|
-
<h3>7.
|
149
|
+
<h3>7.3.21.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3>
|
148
150
|
<div class="highlight-none"><div class="highlight"><pre>[成功かどうかのフラグ]
|
149
151
|
|
150
152
|
``成功かどうかのフラグ``
|
@@ -155,7 +157,7 @@
|
|
155
157
|
</div>
|
156
158
|
</div>
|
157
159
|
<div class="section" id="id6">
|
158
|
-
<h2>7.
|
160
|
+
<h2>7.3.21.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
159
161
|
<p>ShortText型の主キーを持つハッシュ表型のテーブル、Entryを作成します。:</p>
|
160
162
|
<div class="highlight-none"><div class="highlight"><pre>table_create Entry --key_type ShortText
|
161
163
|
[true]
|
@@ -177,26 +179,26 @@
|
|
177
179
|
<div class="sphinxsidebarwrapper">
|
178
180
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
179
181
|
<ul>
|
180
|
-
<li><a class="reference internal" href="#">7.
|
181
|
-
<li><a class="reference internal" href="#id1">7.
|
182
|
-
<li><a class="reference internal" href="#id2">7.
|
183
|
-
<li><a class="reference internal" href="#id3">7.
|
184
|
-
<li><a class="reference internal" href="#id4">7.
|
185
|
-
<li><a class="reference internal" href="#id5">7.
|
186
|
-
<li><a class="reference internal" href="#json">7.
|
182
|
+
<li><a class="reference internal" href="#">7.3.21. table_create</a><ul>
|
183
|
+
<li><a class="reference internal" href="#id1">7.3.21.1. 名前</a></li>
|
184
|
+
<li><a class="reference internal" href="#id2">7.3.21.2. 書式</a></li>
|
185
|
+
<li><a class="reference internal" href="#id3">7.3.21.3. 説明</a></li>
|
186
|
+
<li><a class="reference internal" href="#id4">7.3.21.4. 引数</a></li>
|
187
|
+
<li><a class="reference internal" href="#id5">7.3.21.5. 返値</a><ul>
|
188
|
+
<li><a class="reference internal" href="#json">7.3.21.5.1. json形式</a></li>
|
187
189
|
</ul>
|
188
190
|
</li>
|
189
|
-
<li><a class="reference internal" href="#id6">7.
|
191
|
+
<li><a class="reference internal" href="#id6">7.3.21.6. 例</a></li>
|
190
192
|
</ul>
|
191
193
|
</li>
|
192
194
|
</ul>
|
193
195
|
|
194
196
|
<h4>Previous topic</h4>
|
195
197
|
<p class="topless"><a href="suggest.html"
|
196
|
-
title="previous chapter">7.
|
198
|
+
title="previous chapter">7.3.20. suggest</a></p>
|
197
199
|
<h4>Next topic</h4>
|
198
200
|
<p class="topless"><a href="table_list.html"
|
199
|
-
title="next chapter">7.
|
201
|
+
title="next chapter">7.3.22. table_list</a></p>
|
200
202
|
<h3>This Page</h3>
|
201
203
|
<ul class="this-page-menu">
|
202
204
|
<li><a href="../_sources/commands/table_create.txt"
|
@@ -205,7 +207,7 @@
|
|
205
207
|
<div id="searchbox" style="display: none">
|
206
208
|
<h3>Quick search</h3>
|
207
209
|
<form class="search" action="../search.html" method="get">
|
208
|
-
<input type="text" name="q"
|
210
|
+
<input type="text" name="q" />
|
209
211
|
<input type="submit" value="Go" />
|
210
212
|
<input type="hidden" name="check_keywords" value="yes" />
|
211
213
|
<input type="hidden" name="area" value="default" />
|
@@ -226,18 +228,18 @@
|
|
226
228
|
<a href="../genindex.html" title="General Index"
|
227
229
|
>index</a></li>
|
228
230
|
<li class="right" >
|
229
|
-
<a href="table_list.html" title="7.
|
231
|
+
<a href="table_list.html" title="7.3.22. table_list"
|
230
232
|
>next</a> |</li>
|
231
233
|
<li class="right" >
|
232
|
-
<a href="suggest.html" title="7.
|
234
|
+
<a href="suggest.html" title="7.3.20. suggest"
|
233
235
|
>previous</a> |</li>
|
234
|
-
<li><a href="../index.html">groonga v1.2.
|
236
|
+
<li><a href="../index.html">groonga v1.2.9 documentation</a> »</li>
|
235
237
|
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
236
|
-
<li><a href="../commands.html" >7.
|
238
|
+
<li><a href="../commands.html" >7.3. コマンド</a> »</li>
|
237
239
|
</ul>
|
238
240
|
</div>
|
239
241
|
<div class="footer">
|
240
|
-
© Copyright 2009-
|
242
|
+
© Copyright 2009-2012, Brazil, Inc.
|
241
243
|
</div>
|
242
244
|
</body>
|
243
245
|
</html>
|