rroonga 4.0.1-x86-mingw32 → 4.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.textile +25 -0
- data/ext/groonga/extconf.rb +2 -0
- data/ext/groonga/rb-grn-index-column.c +91 -0
- data/ext/groonga/rb-grn-object.c +3 -9
- data/ext/groonga/rb-grn-table.c +18 -24
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/patricia-trie.rb +4 -1
- data/lib/groonga/schema.rb +10 -4
- data/rroonga-build.rb +1 -1
- data/test/test-context.rb +8 -8
- data/test/test-database-dumper.rb +6 -6
- data/test/test-index-column.rb +9 -4
- data/test/test-schema-dumper.rb +6 -6
- data/test/test-schema.rb +32 -3
- 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/plugin.h +19 -1
- data/vendor/local/include/groonga/groonga.h +2 -1
- 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/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
- 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/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- 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/news.html +286 -209
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- 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/command.html +21 -19
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.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/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- 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-suggest-httpd.html +43 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
- 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 +48 -48
- 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/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
- 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/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- 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/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- 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/spec.html +10 -10
- 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 +19 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
- 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/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
- 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/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +27 -137
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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/news.html +292 -210
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- 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/command.html +21 -19
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +11 -10
- 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/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- 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-suggest-httpd.html +55 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- 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 +48 -48
- 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/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- 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/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- 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/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- 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/spec.html +10 -10
- 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 +19 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +0 -1
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
- data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
- data/vendor/local/share/man/man1/groonga.1 +1051 -607
- 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 +289 -278
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
- data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
@@ -2,110 +2,208 @@
|
|
2
2
|
|
3
3
|
.. highlightlang:: none
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_column_list
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
``column_list``
|
9
|
+
===============
|
10
10
|
|
11
|
-
|
11
|
+
Summary
|
12
|
+
-------
|
12
13
|
|
13
|
-
|
14
|
-
----
|
15
|
-
::
|
14
|
+
``column_list`` command lists columns in a table.
|
16
15
|
|
17
|
-
|
16
|
+
Syntax
|
17
|
+
------
|
18
18
|
|
19
|
-
|
20
|
-
----
|
19
|
+
``column_list`` command takes one required parameter::
|
21
20
|
|
22
|
-
|
21
|
+
column_list table
|
23
22
|
|
24
|
-
|
23
|
+
Usage
|
24
|
+
-----
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
Here is a simple example of ``column_list`` command.
|
27
|
+
|
28
|
+
.. groonga-command
|
29
|
+
.. include:: ../../example/reference/commands/column_list/column_list.log
|
30
|
+
.. table_create Users TABLE_PAT_KEY ShortText
|
31
|
+
.. column_create Users age COLUMN_SCALAR UInt8
|
32
|
+
.. column_create Users tags COLUMN_VECTOR ShortText
|
33
|
+
.. column_list Users
|
34
|
+
|
35
|
+
|
36
|
+
Parameters
|
37
|
+
----------
|
38
|
+
|
39
|
+
This section describes parameters of ``column_list``.
|
40
|
+
|
41
|
+
Required parameters
|
42
|
+
^^^^^^^^^^^^^^^^^^^
|
43
|
+
|
44
|
+
All parameters are required.
|
28
45
|
|
29
46
|
``table``
|
30
|
-
|
47
|
+
"""""""""
|
48
|
+
|
49
|
+
It specifies the name of table to be listed columns.
|
50
|
+
|
51
|
+
Return value
|
52
|
+
------------
|
53
|
+
|
54
|
+
``column_list`` returns the list of column information in the table::
|
55
|
+
|
56
|
+
[
|
57
|
+
HEADER,
|
58
|
+
[
|
59
|
+
COLUMN_LIST_HEADER,
|
60
|
+
COLUMN_INFORMATION1,
|
61
|
+
COLUMN_INFORMATION2,
|
62
|
+
...
|
63
|
+
]
|
64
|
+
]
|
65
|
+
|
66
|
+
``HEADER``
|
67
|
+
|
68
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
69
|
+
|
70
|
+
``COLUMN_LIST_HEADER``
|
71
|
+
|
72
|
+
``COLUMN_LIST_HEADER`` describes about content of each
|
73
|
+
``COLUMN_INFORMATION``.
|
74
|
+
|
75
|
+
``COLUMN_LIST_HEADER`` is the following format::
|
76
|
+
|
77
|
+
[
|
78
|
+
["id", "UInt32"],
|
79
|
+
["name", "ShortText"],
|
80
|
+
["path", "ShortText"],
|
81
|
+
["type", "ShortText"],
|
82
|
+
["flags", "ShortText"],
|
83
|
+
["domain", "ShortText"],
|
84
|
+
["range", "ShortText"],
|
85
|
+
["source", "ShortText"]
|
86
|
+
]
|
87
|
+
|
88
|
+
It means the following:
|
89
|
+
|
90
|
+
* The first content in ``COLUMN_INFORMATION`` is ``id`` value and
|
91
|
+
the value type is ``UInt32``.
|
92
|
+
* The second content in ``COLUMN_INFORMATION`` is ``name`` value and
|
93
|
+
the value type is ``ShortText``.
|
94
|
+
* The third content ....
|
95
|
+
|
96
|
+
See the following ``COLUMN_INFORMATION`` description for details.
|
31
97
|
|
32
|
-
|
33
|
-
|
98
|
+
This field provides meta-data of column information. So this field
|
99
|
+
will be useful for programs rather than humans.
|
34
100
|
|
35
|
-
|
36
|
-
^^^^^^^^
|
101
|
+
``COLUMN_INFORMATION``
|
37
102
|
|
38
|
-
|
103
|
+
Each ``COLUMN_INFORMATION`` is the following format::
|
39
104
|
|
40
|
-
|
105
|
+
[
|
106
|
+
ID,
|
107
|
+
NAME,
|
108
|
+
PATH,
|
109
|
+
TYPE,
|
110
|
+
FLAGS,
|
111
|
+
DOMAIN,
|
112
|
+
RANGE,
|
113
|
+
SOURCES
|
114
|
+
]
|
41
115
|
|
42
|
-
|
116
|
+
``ID``
|
43
117
|
|
44
|
-
|
45
|
-
|
118
|
+
The column ID in the Groonga database. Normally, you don't care
|
119
|
+
about it.
|
46
120
|
|
47
|
-
``
|
121
|
+
``NAME``
|
48
122
|
|
49
|
-
|
123
|
+
The column name.
|
50
124
|
|
51
|
-
``
|
125
|
+
``PATH``
|
52
126
|
|
53
|
-
|
127
|
+
The path for storing column data.
|
54
128
|
|
55
|
-
``
|
129
|
+
``TYPE``
|
56
130
|
|
57
|
-
|
131
|
+
The type of the column. It is one of the followings:
|
58
132
|
|
59
|
-
|
133
|
+
.. list-table::
|
134
|
+
:header-rows: 1
|
60
135
|
|
61
|
-
|
136
|
+
* - Value
|
137
|
+
- Description
|
138
|
+
* - ``fix``
|
139
|
+
- The column is a fixed size column. Scalar column that its
|
140
|
+
type is fixed size type is fixed size column.
|
141
|
+
* - ``var``
|
142
|
+
- The column is a variable size column. Vector column or
|
143
|
+
scalar column that its type is variable size type are
|
144
|
+
variable size column.
|
145
|
+
* - ``index``
|
146
|
+
- The column is an index column.
|
62
147
|
|
63
|
-
``
|
148
|
+
``FLAGS``
|
64
149
|
|
65
|
-
|
150
|
+
The flags of the column. Each flag is separated by ``|`` like
|
151
|
+
``COLUMN_VECTOR|WITH_WEIGHT``. ``FLAGS`` must include one of
|
152
|
+
``COLUMN_SCALAR``, ``COLUMN_VECTOR`` or ``COLUMN_INDEX``. Other
|
153
|
+
flags are optional.
|
66
154
|
|
67
|
-
|
155
|
+
Here is the available flags:
|
68
156
|
|
69
|
-
|
157
|
+
.. list-table::
|
158
|
+
:header-rows: 1
|
70
159
|
|
71
|
-
|
160
|
+
* - Flag
|
161
|
+
- Description
|
162
|
+
* - ``COLUMN_SCALAR``
|
163
|
+
- The column is a scalar column.
|
164
|
+
* - ``COLUMN_VECTOR``
|
165
|
+
- The column is a vector column.
|
166
|
+
* - ``COLUMN_INDEX``
|
167
|
+
- The column is an index column.
|
168
|
+
* - ``WITH_WEIGHT``
|
169
|
+
- The column can have weight. ``COLUMN_VECTOR`` and ``COLUMN_INDEX``
|
170
|
+
may have it. ``COLUMN_SCALAR`` doesn't have it.
|
171
|
+
* - ``WITH_SECTION``
|
172
|
+
- The column can have section information. ``COLUMN_INDEX``
|
173
|
+
may have it. ``COLUMN_SCALAR`` and ``COLUMN_VECTOR`` don't
|
174
|
+
have it.
|
72
175
|
|
73
|
-
|
176
|
+
Multiple column index has it.
|
177
|
+
* - ``WITH_POSITION``
|
178
|
+
- The column can have position information. ``COLUMN_INDEX``
|
179
|
+
may have it. ``COLUMN_SCALAR`` and ``COLUMN_VECTOR`` don't
|
180
|
+
have it.
|
74
181
|
|
75
|
-
|
182
|
+
Full text search index must has it.
|
183
|
+
* - ``PERSISTENT``
|
184
|
+
- The column is a persistent column. It means that the column
|
185
|
+
isn't a :doc:`/reference/columns/pseudo`.
|
76
186
|
|
77
|
-
|
187
|
+
``DOMAIN``
|
78
188
|
|
79
|
-
|
189
|
+
The name of table that has the column.
|
80
190
|
|
81
|
-
|
191
|
+
``RANGE``
|
82
192
|
|
83
|
-
|
193
|
+
The value type name of the column. It is a type name or a table
|
194
|
+
name.
|
84
195
|
|
85
|
-
|
86
|
-
情報の順序は ``カラム情報名n`` の順序と同じです。
|
196
|
+
``SOURCES``
|
87
197
|
|
88
|
-
|
89
|
-
|
90
|
-
|
198
|
+
An array of the source column names of the index. If the index
|
199
|
+
column is multiple column index, the array has two or more
|
200
|
+
source column names.
|
91
201
|
|
92
|
-
|
202
|
+
It is always an empty array for ``COLUMN_SCALAR`` and
|
203
|
+
``COLUMN_VECTOR``.
|
93
204
|
|
94
|
-
|
95
|
-
|
96
|
-
["path","ShortText"],
|
97
|
-
["type","ShortText"],
|
98
|
-
["flags","ShortText"],
|
99
|
-
["domain", "ShortText"],
|
100
|
-
["range", "ShortText"],
|
101
|
-
["source","ShortText"]],
|
102
|
-
[258,
|
103
|
-
"Entry.body",
|
104
|
-
"test.db.0000102",
|
105
|
-
"var",
|
106
|
-
"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT",
|
107
|
-
"Entry",
|
108
|
-
"ShortText",
|
109
|
-
[]]]
|
205
|
+
See also
|
206
|
+
--------
|
110
207
|
|
111
|
-
|
208
|
+
* :doc:`/reference/commands/column_create`
|
209
|
+
* :doc:`/reference/column`
|
@@ -0,0 +1,65 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_normalizer_list
|
7
|
+
|
8
|
+
``normalizer_list``
|
9
|
+
===================
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``normalizer_list`` command lists normalizers in a database.
|
15
|
+
|
16
|
+
|
17
|
+
Syntax
|
18
|
+
------
|
19
|
+
|
20
|
+
``normalizer_list`` command takes no parameter.
|
21
|
+
::
|
22
|
+
|
23
|
+
normalizer_list
|
24
|
+
|
25
|
+
Usage
|
26
|
+
-----
|
27
|
+
|
28
|
+
Here is a simple example.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/commands/normalizer_list/simple_example.log
|
32
|
+
.. normalizer_list
|
33
|
+
|
34
|
+
It returns normalizers in a database.
|
35
|
+
|
36
|
+
Return value
|
37
|
+
------------
|
38
|
+
|
39
|
+
``normalizer_list`` command returns normalizers. Each normalizers has an attribute
|
40
|
+
that contains the name. The attribute will be increased in the feature::
|
41
|
+
|
42
|
+
[HEADER, normalizer]
|
43
|
+
|
44
|
+
``HEADER``
|
45
|
+
|
46
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
47
|
+
|
48
|
+
``normalizer``
|
49
|
+
|
50
|
+
``normalizer`` is an array of normalizer. Normalizer is an object that has the following
|
51
|
+
attributes.
|
52
|
+
|
53
|
+
.. list-table::
|
54
|
+
:header-rows: 1
|
55
|
+
|
56
|
+
* - Name
|
57
|
+
- Description
|
58
|
+
* - ``name``
|
59
|
+
- Normalizer name.
|
60
|
+
|
61
|
+
See also
|
62
|
+
--------
|
63
|
+
|
64
|
+
* :doc:`/reference/normalizers`
|
65
|
+
* :doc:`/reference/commands/normalize`
|
@@ -34,7 +34,7 @@ Syntax
|
|
34
34
|
[limit=10]
|
35
35
|
[drilldown=null]
|
36
36
|
[drilldown_sortby=null]
|
37
|
-
[drilldown_output_columns=
|
37
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
38
38
|
[drilldown_offset=0]
|
39
39
|
[drilldown_limit=10]
|
40
40
|
[cache=yes]
|
@@ -667,7 +667,7 @@ The ``select`` command just outputs ``_id`` and ``_key`` column
|
|
667
667
|
values.
|
668
668
|
|
669
669
|
``*`` is a special value. It means that all columns that are not
|
670
|
-
:doc:`/reference/
|
670
|
+
:doc:`/reference/columns/pseudo`.
|
671
671
|
|
672
672
|
Here is a ``*`` usage example.
|
673
673
|
|
@@ -0,0 +1,65 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_tokenizer_list
|
7
|
+
|
8
|
+
``tokenizer_list``
|
9
|
+
==================
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``tokenizer_list`` command lists tokenizers in a database.
|
15
|
+
|
16
|
+
|
17
|
+
Syntax
|
18
|
+
------
|
19
|
+
|
20
|
+
``tokenizer_list`` command takes no parameter.
|
21
|
+
::
|
22
|
+
|
23
|
+
tokenizer_list
|
24
|
+
|
25
|
+
Usage
|
26
|
+
-----
|
27
|
+
|
28
|
+
Here is a simple example.
|
29
|
+
|
30
|
+
.. groonga-command
|
31
|
+
.. include:: ../../example/reference/commands/tokenizer_list/simple_example.log
|
32
|
+
.. tokenizer_list
|
33
|
+
|
34
|
+
It returns tokenizers in a database.
|
35
|
+
|
36
|
+
Return value
|
37
|
+
------------
|
38
|
+
|
39
|
+
``tokenizer_list`` command returns tokenizers. Each tokenizers has an attribute
|
40
|
+
that contains the name. The attribute will be increased in the feature::
|
41
|
+
|
42
|
+
[HEADER, tokenizer]
|
43
|
+
|
44
|
+
``HEADER``
|
45
|
+
|
46
|
+
See :doc:`/reference/command/output_format` about ``HEADER``.
|
47
|
+
|
48
|
+
``tokenizer``
|
49
|
+
|
50
|
+
``tokenizer`` is an array of tokenizer. Tokenizer is an object that has the following
|
51
|
+
attributes.
|
52
|
+
|
53
|
+
.. list-table::
|
54
|
+
:header-rows: 1
|
55
|
+
|
56
|
+
* - Name
|
57
|
+
- Description
|
58
|
+
* - ``name``
|
59
|
+
- Tokenizer name.
|
60
|
+
|
61
|
+
See also
|
62
|
+
--------
|
63
|
+
|
64
|
+
* :doc:`/reference/tokenizers`
|
65
|
+
* :doc:`/reference/commands/tokenize`
|
data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt
CHANGED
@@ -45,10 +45,26 @@ Execute groonga-suggest-httpd command:
|
|
45
45
|
|
46
46
|
After executing above command, groonga-suggest-httpd accepts HTTP request on 8080 port.
|
47
47
|
|
48
|
+
If you just want to save requests into log file, use ``-l`` option.
|
49
|
+
|
50
|
+
Here is the example to save log files under ``logs`` directory with ``log`` prefix for each file.::
|
51
|
+
|
52
|
+
% groonga-suggest-httpd -l logs/log /tmp/groonga-databases/groonga-suggest-httpd
|
53
|
+
|
54
|
+
Under ``logs`` directory, log files such as ``logYYYYmmddHHMMSS-00`` are created.
|
55
|
+
|
48
56
|
Request to groonga-suggest-httpd
|
49
57
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
50
58
|
|
51
|
-
|
59
|
+
Here is the sample requests to learn ``groonga`` for ``query`` dataset::
|
60
|
+
|
61
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=92619&t=complete&q=g'
|
62
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=93850&t=complete&q=gr'
|
63
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94293&t=complete&q=gro'
|
64
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94734&t=complete&q=groo'
|
65
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95147&t=complete&q=grooon'
|
66
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95553&t=complete&q=groonga'
|
67
|
+
% curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=groonga
|
52
68
|
|
53
69
|
Options
|
54
70
|
-------
|
@@ -60,6 +76,8 @@ Options
|
|
60
76
|
.. cmdoption:: -t, --n-threads
|
61
77
|
|
62
78
|
Specify number of threads. The default value is 8.
|
79
|
+
This option accepts 128 as the max value, but use the number of CPU cores for
|
80
|
+
performance.
|
63
81
|
|
64
82
|
.. cmdoption:: -s, --send-endpoint
|
65
83
|
|
@@ -85,7 +103,7 @@ Options
|
|
85
103
|
|
86
104
|
Specify this option to disable checking max fd on start.
|
87
105
|
|
88
|
-
Command line
|
106
|
+
Command line parameters
|
89
107
|
-----------------------
|
90
108
|
|
91
109
|
There is one required parameter - ``database_path``.
|
@@ -96,7 +114,7 @@ There is one required parameter - ``database_path``.
|
|
96
114
|
Specifies the path to a Groonga database. This database must be created by :doc:`groonga-suggest-create-dataset` command because it executes required initialization for suggestion.
|
97
115
|
|
98
116
|
|
99
|
-
GET
|
117
|
+
GET parameters
|
100
118
|
--------------
|
101
119
|
|
102
120
|
groonga-suggest-httpd accepts following GET parameters.
|
@@ -116,7 +134,7 @@ Required parameters
|
|
116
134
|
- UTF-8 encoded string which user fills in form
|
117
135
|
-
|
118
136
|
* - t
|
119
|
-
- The type of query. The value of type must be complete, correct, suggest or submit. It also accepts multiple type of query which is concatinated by
|
137
|
+
- The type of query. The value of type must be complete, correct, suggest or submit. It also accepts multiple type of query which is concatinated by ``|``. Note that ``submit`` is invalid value when you specify multiple type of query.
|
120
138
|
-
|
121
139
|
|
122
140
|
Required parameters for learning
|
@@ -130,13 +148,13 @@ Required parameters for learning
|
|
130
148
|
- Note
|
131
149
|
* - s
|
132
150
|
- Elapsed time from 0:00 January 1, 1970
|
133
|
-
- Note that you need specify the value of
|
151
|
+
- Note that you need specify the value of ``s`` in milliseconds
|
134
152
|
* - i
|
135
153
|
- Unique ID to distinct user
|
136
154
|
- Use session ID or IP address for example
|
137
155
|
* - l
|
138
|
-
- Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by
|
139
|
-
- Note that dataset name must be matched to following regular expression
|
156
|
+
- Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by ``|``
|
157
|
+
- Note that dataset name must be matched to following regular expression ``[A-Za-z ][A-Za-z0-9 ]{0,15}``
|
140
158
|
|
141
159
|
Required parameters for suggestion
|
142
160
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
@@ -162,7 +180,7 @@ Optional parameter
|
|
162
180
|
- Note
|
163
181
|
* - callback
|
164
182
|
- Specify the name of function if you prefer JSONP as response format
|
165
|
-
- The name of function must be matched to reqular expression
|
183
|
+
- The name of function must be matched to reqular expression ``[A-Za-z ][A-Za-z0-9 ]{0,15}``
|
166
184
|
|
167
185
|
Return value
|
168
186
|
------------
|
@@ -180,7 +198,7 @@ In JSONP format::
|
|
180
198
|
|
181
199
|
``TYPE``
|
182
200
|
|
183
|
-
|
201
|
+
One of ``complete``, ``correct`` and ``suggest``.
|
184
202
|
|
185
203
|
``CANDIDATE_N``
|
186
204
|
|
@@ -188,5 +206,5 @@ In JSONP format::
|
|
188
206
|
|
189
207
|
``SCORE_N``
|
190
208
|
|
191
|
-
The
|
209
|
+
The score.
|
192
210
|
|
@@ -8,7 +8,9 @@ groonga-suggest-learner
|
|
8
8
|
Summary
|
9
9
|
-------
|
10
10
|
|
11
|
-
|
11
|
+
groonga-suggest-learner is a program to learn suggest result from data which derived from groonga-suggest-httpd.
|
12
|
+
Usually, it is used with groonga-suggest-httpd, but It is allowed to launch standalone.
|
13
|
+
In such a case, groonga-suggest-learner loads data from log directory.
|
12
14
|
|
13
15
|
Synopsis
|
14
16
|
--------
|
@@ -20,23 +22,45 @@ Synopsis
|
|
20
22
|
Usage
|
21
23
|
-----
|
22
24
|
|
23
|
-
|
25
|
+
groonga-suggest-leaner supports the two way of learning data.
|
26
|
+
One is learning data from groonga-suggest-httpd, the other is
|
27
|
+
learning data from already existing log files.
|
28
|
+
|
29
|
+
Learning data from groonga-suggest-httpd
|
30
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
31
|
+
|
32
|
+
Execute groonga-suggest-learner.::
|
33
|
+
|
34
|
+
groonga-suggest-learner testdb/db
|
35
|
+
|
36
|
+
Learning data from log files
|
37
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
38
|
+
|
39
|
+
Execute groonga-suggest-learner with ``-l`` option.
|
40
|
+
|
41
|
+
Here is the sample to load log data under ``logs`` directory::
|
42
|
+
|
43
|
+
groonga-suggest-learner -l logs testdb/db
|
24
44
|
|
25
45
|
Options
|
26
46
|
-------
|
27
47
|
|
28
|
-
.. cmdoption:: -r
|
48
|
+
.. cmdoption:: -r
|
29
49
|
|
30
50
|
Specify endpoint for receiver.
|
31
51
|
|
32
|
-
.. cmdoption:: -s
|
52
|
+
.. cmdoption:: -s
|
33
53
|
|
34
54
|
Specify endpoint for sender.
|
35
55
|
|
36
|
-
.. cmdoption:: -d
|
56
|
+
.. cmdoption:: -d
|
37
57
|
|
38
58
|
Specify this option to daemonize.
|
39
59
|
|
60
|
+
.. cmdoption:: -l
|
61
|
+
|
62
|
+
Specify log directory.
|
63
|
+
|
40
64
|
Parameters
|
41
65
|
----------
|
42
66
|
|
@@ -48,3 +72,12 @@ There is one required parameter - ``database_path``.
|
|
48
72
|
Specifies the path to a groonga database.
|
49
73
|
|
50
74
|
|
75
|
+
|
76
|
+
Related tables
|
77
|
+
--------------
|
78
|
+
|
79
|
+
Here is the list of table which learned data is stored. If you specify ``query`` as dataset name, following ``_DATASET`` suffix are replaced. Thus, ``event_query`` table is used.
|
80
|
+
|
81
|
+
* event_DATASET
|
82
|
+
|
83
|
+
|
@@ -87,11 +87,14 @@ Here is a special character list:
|
|
87
87
|
* ``)`` (escaped as ``\)``)
|
88
88
|
* ``\`` (escaped as ``\\``)
|
89
89
|
|
90
|
-
You can use quote instead of escape
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
90
|
+
You can use quote instead of escape special characters except ``\``
|
91
|
+
(backslash). You need to use backslash for escaping backslash like
|
92
|
+
``\\`` in quote.
|
93
|
+
|
94
|
+
Quote syntax is ``"..."`` or ``'...'``. You need escape ``"`` as
|
95
|
+
``\"`` in ``"..."`` quote syntax. You need escape ``'`` as ``\'`` in
|
96
|
+
``'...'`` quote syntax. For example, ``Alice's brother (Bob)`` can be
|
97
|
+
quoted ``"Alice's brother (Bob)"`` or ``'Alice\'s brother (Bob)'``.
|
95
98
|
|
96
99
|
.. note::
|
97
100
|
|
@@ -113,3 +113,20 @@ following command::
|
|
113
113
|
{"sequence": "1", "time": 1312950803.86057, "item": "search engine", "type": "submit"},
|
114
114
|
{"sequence": "1", "time": 1312950808.86057, "item": "web search realtime", "type": "submit"}
|
115
115
|
]
|
116
|
+
|
117
|
+
How to extract learning data
|
118
|
+
----------------------------
|
119
|
+
|
120
|
+
The learning data is stored into item_DATASET and pair_DATASET tables.
|
121
|
+
By using select command for such tables, you can all extract learing data.
|
122
|
+
|
123
|
+
Here is the query to extract all learning data::
|
124
|
+
|
125
|
+
select item_DATASET --limit -1
|
126
|
+
select pair_DATASET --filter 'freq0 > 0 || freq1 > 0 || freq2 > 0' --limit -1
|
127
|
+
|
128
|
+
Without '--limit -1', you can't get all data.
|
129
|
+
In pair table, the valid value of freq0, freq1 and freq2 column must be larger than 0.
|
130
|
+
|
131
|
+
Don't execute above query via HTTP request because enourmous number of records are fetched.
|
132
|
+
|