rroonga 4.0.1-x64-mingw32 → 4.0.2-x64-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.h +2 -1
- data/vendor/local/include/groonga/groonga/plugin.h +19 -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.txt +3 -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/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
- 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/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.html +61 -60
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
- 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/documentation.html +12 -11
- 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/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- 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.html +10 -13
- 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/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +286 -209
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
- 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/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.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/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/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.html +20 -20
- 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/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.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/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/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +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/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +19 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +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/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.txt +3 -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/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
- 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/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.html +61 -60
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
- 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/documentation.html +12 -11
- 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/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- 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.html +7 -10
- 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/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
- 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/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.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/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/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.html +20 -20
- 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/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.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/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/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- 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/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +19 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +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/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
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "
|
3
|
+
.TH "GROONGA" "1" "May 29, 2014" "4.0.2" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -77,15 +77,15 @@ The basic functions of Groonga are provided in a C library and any application c
|
|
77
77
|
.SS Groonga server
|
78
78
|
.sp
|
79
79
|
Groonga provides a built\-in server command which supports HTTP, the memcached binary protocol and the Groonga Query Transfer Protocol (GQTP). Also, a Groonga server supports query caching, which significantly reduces response time for repeated read queries. Using this command, Groonga is available even on a server that does not allow you to install new libraries.
|
80
|
-
.SS
|
80
|
+
.SS Mroonga storage engine
|
81
81
|
.sp
|
82
|
-
Groonga works not only as an independent column\-oriented DBMS but also as storage engines of well\-known DBMSs. For example, \fI\%
|
82
|
+
Groonga works not only as an independent column\-oriented DBMS but also as storage engines of well\-known DBMSs. For example, \fI\%Mroonga\fP is a MySQL pluggable storage engine using Groonga. By using Mroonga, you can use Groonga for column\-oriented storage and full text search. A combination of a built\-in storage engine, MyISAM or InnoDB, and a Groonga\-based full text search engine is also available. All the combinations have good and bad points and the best one depends on the application. See \fI\%related projects\fP for details.
|
83
83
|
.SH INSTALL
|
84
84
|
.sp
|
85
|
-
This section describes how to install
|
85
|
+
This section describes how to install Groonga on each
|
86
86
|
environment. There are packages for major platforms. It\(aqs recommended
|
87
|
-
that you use package instead of building
|
88
|
-
don\(aqt warry. There is a document about building
|
87
|
+
that you use package instead of building Groonga by yourself. But
|
88
|
+
don\(aqt warry. There is a document about building Groonga from source.
|
89
89
|
.sp
|
90
90
|
We distribute both 32\-bit and 64\-bit packages but we strongly
|
91
91
|
recommend a 64\-bit package for server. You should use a 32\-bit package
|
@@ -110,7 +110,7 @@ packages.groonga.org:
|
|
110
110
|
.INDENT 3.5
|
111
111
|
.INDENT 0.0
|
112
112
|
.IP \(bu 2
|
113
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
113
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x86.exe\fP
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
116
116
|
.UNINDENT
|
@@ -123,7 +123,7 @@ packages.goronga.org:
|
|
123
123
|
.INDENT 3.5
|
124
124
|
.INDENT 0.0
|
125
125
|
.IP \(bu 2
|
126
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
126
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x64.exe\fP
|
127
127
|
.UNINDENT
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
@@ -140,7 +140,7 @@ packages.groonga.org:
|
|
140
140
|
.INDENT 3.5
|
141
141
|
.INDENT 0.0
|
142
142
|
.IP \(bu 2
|
143
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
143
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x86.zip\fP
|
144
144
|
.UNINDENT
|
145
145
|
.UNINDENT
|
146
146
|
.UNINDENT
|
@@ -153,7 +153,7 @@ packages.groonga.org:
|
|
153
153
|
.INDENT 3.5
|
154
154
|
.INDENT 0.0
|
155
155
|
.IP \(bu 2
|
156
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
156
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x64.zip\fP
|
157
157
|
.UNINDENT
|
158
158
|
.UNINDENT
|
159
159
|
.UNINDENT
|
@@ -181,7 +181,7 @@ Download zipped source from packages.groonga.org:
|
|
181
181
|
.INDENT 3.5
|
182
182
|
.INDENT 0.0
|
183
183
|
.IP \(bu 2
|
184
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
184
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.2.zip\fP
|
185
185
|
.UNINDENT
|
186
186
|
.UNINDENT
|
187
187
|
.UNINDENT
|
@@ -194,7 +194,7 @@ Move to the Groonga\(aqs source folder:
|
|
194
194
|
.sp
|
195
195
|
.nf
|
196
196
|
.ft C
|
197
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
197
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.2
|
198
198
|
.ft P
|
199
199
|
.fi
|
200
200
|
.UNINDENT
|
@@ -208,7 +208,7 @@ parameter instead:
|
|
208
208
|
.sp
|
209
209
|
.nf
|
210
210
|
.ft C
|
211
|
-
groonga\-4.0.
|
211
|
+
groonga\-4.0.2> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
212
212
|
.ft P
|
213
213
|
.fi
|
214
214
|
.UNINDENT
|
@@ -220,7 +220,7 @@ Build:
|
|
220
220
|
.sp
|
221
221
|
.nf
|
222
222
|
.ft C
|
223
|
-
groonga\-4.0.
|
223
|
+
groonga\-4.0.2> cmake \-\-build . \-\-config Release
|
224
224
|
.ft P
|
225
225
|
.fi
|
226
226
|
.UNINDENT
|
@@ -232,7 +232,7 @@ Install:
|
|
232
232
|
.sp
|
233
233
|
.nf
|
234
234
|
.ft C
|
235
|
-
groonga\-4.0.
|
235
|
+
groonga\-4.0.2> cmake \-\-build . \-\-config Release \-\-target Install
|
236
236
|
.ft P
|
237
237
|
.fi
|
238
238
|
.UNINDENT
|
@@ -242,14 +242,8 @@ After the above steps, \fB/reference/executables/groonga\fP is found in
|
|
242
242
|
\fBc:\egroonga\ebin\egroonga.exe\fP\&.
|
243
243
|
.SS Mac OS X
|
244
244
|
.sp
|
245
|
-
This section describes how to install
|
246
|
-
install
|
247
|
-
.sp
|
248
|
-
We distribute both 32\-bit and 64\-bit packages but we strongly
|
249
|
-
recommend a 64\-bit package for server. You should use a 32\-bit package
|
250
|
-
just only for tests or development. You will encounter an out of
|
251
|
-
memory error with a 32\-bit package even if you just process medium
|
252
|
-
size data.
|
245
|
+
This section describes how to install Groonga on Mac OS X. You can
|
246
|
+
install Groonga by \fI\%MacPorts\fP or \fI\%Homebrew\fP\&.
|
253
247
|
.SS MacPorts
|
254
248
|
.sp
|
255
249
|
Install:
|
@@ -276,6 +270,19 @@ Install:
|
|
276
270
|
.fi
|
277
271
|
.UNINDENT
|
278
272
|
.UNINDENT
|
273
|
+
.sp
|
274
|
+
If you want to use \fI\%MeCab\fP as a
|
275
|
+
tokenizer, specify \fB\-\-with\-mecab\fP option:
|
276
|
+
.INDENT 0.0
|
277
|
+
.INDENT 3.5
|
278
|
+
.sp
|
279
|
+
.nf
|
280
|
+
.ft C
|
281
|
+
% brew install groonga \-\-with\-mecab
|
282
|
+
.ft P
|
283
|
+
.fi
|
284
|
+
.UNINDENT
|
285
|
+
.UNINDENT
|
279
286
|
.SS Build from source
|
280
287
|
.sp
|
281
288
|
Install \fI\%Xcode\fP\&.
|
@@ -286,9 +293,9 @@ Download source:
|
|
286
293
|
.sp
|
287
294
|
.nf
|
288
295
|
.ft C
|
289
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
290
|
-
% tar xvzf groonga\-4.0.
|
291
|
-
% cd groonga\-4.0.
|
296
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
297
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
298
|
+
% cd groonga\-4.0.2
|
292
299
|
.ft P
|
293
300
|
.fi
|
294
301
|
.UNINDENT
|
@@ -384,9 +391,9 @@ Install:
|
|
384
391
|
.nf
|
385
392
|
.ft C
|
386
393
|
% sudo apt\-get update
|
387
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated
|
394
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
388
395
|
% sudo apt\-get update
|
389
|
-
% sudo apt\-get \-y
|
396
|
+
% sudo apt\-get install \-y \-V groonga
|
390
397
|
.ft P
|
391
398
|
.fi
|
392
399
|
.UNINDENT
|
@@ -401,7 +408,7 @@ Install groonga\-tokenizer\-mecab package:
|
|
401
408
|
.sp
|
402
409
|
.nf
|
403
410
|
.ft C
|
404
|
-
% sudo
|
411
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
405
412
|
.ft P
|
406
413
|
.fi
|
407
414
|
.UNINDENT
|
@@ -416,7 +423,7 @@ Install groonga\-munin\-plugins package:
|
|
416
423
|
.sp
|
417
424
|
.nf
|
418
425
|
.ft C
|
419
|
-
% sudo
|
426
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
420
427
|
.ft P
|
421
428
|
.fi
|
422
429
|
.UNINDENT
|
@@ -432,7 +439,7 @@ Install groonga\-normalizer\-mysql package:
|
|
432
439
|
.sp
|
433
440
|
.nf
|
434
441
|
.ft C
|
435
|
-
% sudo
|
442
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
436
443
|
.ft P
|
437
444
|
.fi
|
438
445
|
.UNINDENT
|
@@ -461,9 +468,9 @@ Install:
|
|
461
468
|
.nf
|
462
469
|
.ft C
|
463
470
|
% sudo apt\-get update
|
464
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated
|
471
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
465
472
|
% sudo apt\-get update
|
466
|
-
% sudo apt\-get \-y
|
473
|
+
% sudo apt\-get install \-y groonga
|
467
474
|
.ft P
|
468
475
|
.fi
|
469
476
|
.UNINDENT
|
@@ -478,7 +485,7 @@ Install groonga\-tokenizer\-mecab package:
|
|
478
485
|
.sp
|
479
486
|
.nf
|
480
487
|
.ft C
|
481
|
-
% sudo
|
488
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
482
489
|
.ft P
|
483
490
|
.fi
|
484
491
|
.UNINDENT
|
@@ -493,7 +500,7 @@ Install groonga\-munin\-plugins package:
|
|
493
500
|
.sp
|
494
501
|
.nf
|
495
502
|
.ft C
|
496
|
-
% sudo
|
503
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
497
504
|
.ft P
|
498
505
|
.fi
|
499
506
|
.UNINDENT
|
@@ -509,7 +516,7 @@ Install groonga\-normalizer\-mysql package:
|
|
509
516
|
.sp
|
510
517
|
.nf
|
511
518
|
.ft C
|
512
|
-
% sudo
|
519
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
513
520
|
.ft P
|
514
521
|
.fi
|
515
522
|
.UNINDENT
|
@@ -537,10 +544,10 @@ Install:
|
|
537
544
|
.sp
|
538
545
|
.nf
|
539
546
|
.ft C
|
540
|
-
% sudo
|
541
|
-
% sudo
|
542
|
-
% sudo
|
543
|
-
% sudo
|
547
|
+
% sudo apt\-get update
|
548
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
549
|
+
% sudo apt\-get update
|
550
|
+
% sudo apt\-get install \-y \-V groonga
|
544
551
|
.ft P
|
545
552
|
.fi
|
546
553
|
.UNINDENT
|
@@ -555,7 +562,7 @@ Install groonga\-tokenizer\-mecab package:
|
|
555
562
|
.sp
|
556
563
|
.nf
|
557
564
|
.ft C
|
558
|
-
% sudo
|
565
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
559
566
|
.ft P
|
560
567
|
.fi
|
561
568
|
.UNINDENT
|
@@ -570,7 +577,7 @@ Install groonga\-munin\-plugins package:
|
|
570
577
|
.sp
|
571
578
|
.nf
|
572
579
|
.ft C
|
573
|
-
% sudo
|
580
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
574
581
|
.ft P
|
575
582
|
.fi
|
576
583
|
.UNINDENT
|
@@ -586,20 +593,20 @@ Install groonga\-normalizer\-mysql package:
|
|
586
593
|
.sp
|
587
594
|
.nf
|
588
595
|
.ft C
|
589
|
-
% sudo
|
596
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
590
597
|
.ft P
|
591
598
|
.fi
|
592
599
|
.UNINDENT
|
593
600
|
.UNINDENT
|
594
601
|
.SS Build from source
|
595
602
|
.sp
|
596
|
-
Install required packages to build
|
603
|
+
Install required packages to build Groonga:
|
597
604
|
.INDENT 0.0
|
598
605
|
.INDENT 3.5
|
599
606
|
.sp
|
600
607
|
.nf
|
601
608
|
.ft C
|
602
|
-
% sudo
|
609
|
+
% sudo apt\-get install \-y \-V wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
|
603
610
|
.ft P
|
604
611
|
.fi
|
605
612
|
.UNINDENT
|
@@ -611,9 +618,9 @@ Download source:
|
|
611
618
|
.sp
|
612
619
|
.nf
|
613
620
|
.ft C
|
614
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
615
|
-
% tar xvzf groonga\-4.0.
|
616
|
-
% cd groonga\-4.0.
|
621
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
622
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
623
|
+
% cd groonga\-4.0.2
|
617
624
|
.ft P
|
618
625
|
.fi
|
619
626
|
.UNINDENT
|
@@ -685,226 +692,46 @@ groonga\-server\-gqtp (GQTP protocol based server package)
|
|
685
692
|
See \fB/server\fP section about details.
|
686
693
|
.UNINDENT
|
687
694
|
.UNINDENT
|
688
|
-
.SS
|
689
|
-
.sp
|
690
|
-
\fBNOTE:\fP
|
691
|
-
.INDENT 0.0
|
692
|
-
.INDENT 3.5
|
693
|
-
Enable the universe repository to install groonga:
|
694
|
-
.INDENT 0.0
|
695
|
-
.INDENT 3.5
|
696
|
-
.sp
|
697
|
-
.nf
|
698
|
-
.ft C
|
699
|
-
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
700
|
-
% sudo sed \-i\(aq\(aq \-e \(aqs/main/universe/\(aq /etc/apt/sources.list.d/universe.list
|
701
|
-
.ft P
|
702
|
-
.fi
|
703
|
-
.UNINDENT
|
704
|
-
.UNINDENT
|
705
|
-
.UNINDENT
|
706
|
-
.UNINDENT
|
707
|
-
.sp
|
708
|
-
Add the Groonga apt repository.
|
709
|
-
.sp
|
710
|
-
/etc/apt/sources.list.d/groonga.list:
|
711
|
-
.INDENT 0.0
|
712
|
-
.INDENT 3.5
|
713
|
-
.sp
|
714
|
-
.nf
|
715
|
-
.ft C
|
716
|
-
deb http://packages.groonga.org/ubuntu/ precise universe
|
717
|
-
deb\-src http://packages.groonga.org/ubuntu/ precise universe
|
718
|
-
.ft P
|
719
|
-
.fi
|
720
|
-
.UNINDENT
|
721
|
-
.UNINDENT
|
722
|
-
.sp
|
723
|
-
Install:
|
724
|
-
.INDENT 0.0
|
725
|
-
.INDENT 3.5
|
726
|
-
.sp
|
727
|
-
.nf
|
728
|
-
.ft C
|
729
|
-
% sudo apt\-get update
|
730
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
731
|
-
% sudo apt\-get update
|
732
|
-
% sudo apt\-get \-y install groonga
|
733
|
-
.ft P
|
734
|
-
.fi
|
735
|
-
.UNINDENT
|
736
|
-
.UNINDENT
|
737
|
-
.sp
|
738
|
-
If you want to use \fI\%MeCab\fP as a
|
739
|
-
tokenizer, install groonga\-tokenizer\-mecab package.
|
740
|
-
.sp
|
741
|
-
Install groonga\-tokenizer\-mecab package:
|
742
|
-
.INDENT 0.0
|
743
|
-
.INDENT 3.5
|
744
|
-
.sp
|
745
|
-
.nf
|
746
|
-
.ft C
|
747
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
748
|
-
.ft P
|
749
|
-
.fi
|
750
|
-
.UNINDENT
|
751
|
-
.UNINDENT
|
752
|
-
.sp
|
753
|
-
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
754
|
-
groonga status by Munin, install groonga\-munin\-plugins package.
|
755
|
-
.sp
|
756
|
-
Install groonga\-munin\-plugins package:
|
757
|
-
.INDENT 0.0
|
758
|
-
.INDENT 3.5
|
759
|
-
.sp
|
760
|
-
.nf
|
761
|
-
.ft C
|
762
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
763
|
-
.ft P
|
764
|
-
.fi
|
765
|
-
.UNINDENT
|
766
|
-
.UNINDENT
|
767
|
-
.sp
|
768
|
-
There is a package that provides MySQL compatible normalizer as
|
769
|
-
Groonga plugins.
|
770
|
-
If you want to use that one, install groonga\-normalizer\-mysql package.
|
771
|
-
.sp
|
772
|
-
Install groonga\-normalizer\-mysql package:
|
773
|
-
.INDENT 0.0
|
774
|
-
.INDENT 3.5
|
695
|
+
.SS PPA (Personal Package Archive)
|
775
696
|
.sp
|
776
|
-
|
777
|
-
.
|
778
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
779
|
-
.ft P
|
780
|
-
.fi
|
781
|
-
.UNINDENT
|
782
|
-
.UNINDENT
|
783
|
-
.SS 12.10 Quantal Quetzal
|
697
|
+
The Groonga APT repository for Ubuntu uses PPA (Personal Package
|
698
|
+
Archive) on Launchpad. You can install Groonga by APT from the PPA.
|
784
699
|
.sp
|
785
|
-
|
700
|
+
Here are supported Ubuntu versions:
|
786
701
|
.INDENT 0.0
|
787
702
|
.INDENT 3.5
|
788
|
-
Enable the universe repository to install groonga:
|
789
703
|
.INDENT 0.0
|
790
|
-
.
|
791
|
-
.
|
792
|
-
.
|
793
|
-
.
|
794
|
-
|
795
|
-
|
796
|
-
.ft P
|
797
|
-
.fi
|
798
|
-
.UNINDENT
|
704
|
+
.IP \(bu 2
|
705
|
+
12.04 LTS Precise Pangolin
|
706
|
+
.IP \(bu 2
|
707
|
+
13.10 Saucy Salamander
|
708
|
+
.IP \(bu 2
|
709
|
+
14.04 LTS Trusty Tahr
|
799
710
|
.UNINDENT
|
800
711
|
.UNINDENT
|
801
712
|
.UNINDENT
|
802
713
|
.sp
|
803
|
-
|
804
|
-
.sp
|
805
|
-
/etc/apt/sources.list.d/groonga.list:
|
714
|
+
Enable the universe repository to install Groonga:
|
806
715
|
.INDENT 0.0
|
807
716
|
.INDENT 3.5
|
808
717
|
.sp
|
809
718
|
.nf
|
810
719
|
.ft C
|
811
|
-
|
812
|
-
|
720
|
+
% sudo apt\-get \-y install software\-properties\-common
|
721
|
+
% sudo add\-apt\-repository \-y universe
|
813
722
|
.ft P
|
814
723
|
.fi
|
815
724
|
.UNINDENT
|
816
725
|
.UNINDENT
|
817
726
|
.sp
|
818
|
-
|
727
|
+
Add the \fBppa:groonga/ppa\fP PPA to your system:
|
819
728
|
.INDENT 0.0
|
820
729
|
.INDENT 3.5
|
821
730
|
.sp
|
822
731
|
.nf
|
823
732
|
.ft C
|
733
|
+
% sudo add\-apt\-repository \-y ppa:groonga/ppa
|
824
734
|
% sudo apt\-get update
|
825
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
826
|
-
% sudo apt\-get update
|
827
|
-
% sudo apt\-get \-y install groonga
|
828
|
-
.ft P
|
829
|
-
.fi
|
830
|
-
.UNINDENT
|
831
|
-
.UNINDENT
|
832
|
-
.sp
|
833
|
-
If you want to use \fI\%MeCab\fP as a
|
834
|
-
tokenizer, install groonga\-tokenizer\-mecab package.
|
835
|
-
.sp
|
836
|
-
Install groonga\-tokenizer\-mecab package:
|
837
|
-
.INDENT 0.0
|
838
|
-
.INDENT 3.5
|
839
|
-
.sp
|
840
|
-
.nf
|
841
|
-
.ft C
|
842
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
843
|
-
.ft P
|
844
|
-
.fi
|
845
|
-
.UNINDENT
|
846
|
-
.UNINDENT
|
847
|
-
.sp
|
848
|
-
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
849
|
-
Groonga status by Munin, install groonga\-munin\-plugins package.
|
850
|
-
.sp
|
851
|
-
Install groonga\-munin\-plugins package:
|
852
|
-
.INDENT 0.0
|
853
|
-
.INDENT 3.5
|
854
|
-
.sp
|
855
|
-
.nf
|
856
|
-
.ft C
|
857
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
858
|
-
.ft P
|
859
|
-
.fi
|
860
|
-
.UNINDENT
|
861
|
-
.UNINDENT
|
862
|
-
.sp
|
863
|
-
There is a package that provides MySQL compatible normalizer as
|
864
|
-
Groonga plugins.
|
865
|
-
If you want to use that one, install groonga\-normalizer\-mysql package.
|
866
|
-
.sp
|
867
|
-
Install groonga\-normalizer\-mysql package:
|
868
|
-
.INDENT 0.0
|
869
|
-
.INDENT 3.5
|
870
|
-
.sp
|
871
|
-
.nf
|
872
|
-
.ft C
|
873
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
874
|
-
.ft P
|
875
|
-
.fi
|
876
|
-
.UNINDENT
|
877
|
-
.UNINDENT
|
878
|
-
.SS 13.04 Raring Ringtail
|
879
|
-
.sp
|
880
|
-
\fBNOTE:\fP
|
881
|
-
.INDENT 0.0
|
882
|
-
.INDENT 3.5
|
883
|
-
Enable the universe repository to install groonga:
|
884
|
-
.INDENT 0.0
|
885
|
-
.INDENT 3.5
|
886
|
-
.sp
|
887
|
-
.nf
|
888
|
-
.ft C
|
889
|
-
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
890
|
-
% sudo sed \-i\(aq\(aq \-e \(aqs/main/universe/\(aq /etc/apt/sources.list.d/universe.list
|
891
|
-
.ft P
|
892
|
-
.fi
|
893
|
-
.UNINDENT
|
894
|
-
.UNINDENT
|
895
|
-
.UNINDENT
|
896
|
-
.UNINDENT
|
897
|
-
.sp
|
898
|
-
Add the Groonga apt repository.
|
899
|
-
.sp
|
900
|
-
/etc/apt/sources.list.d/groonga.list:
|
901
|
-
.INDENT 0.0
|
902
|
-
.INDENT 3.5
|
903
|
-
.sp
|
904
|
-
.nf
|
905
|
-
.ft C
|
906
|
-
deb http://packages.groonga.org/ubuntu/ raring universe
|
907
|
-
deb\-src http://packages.groonga.org/ubuntu/ raring universe
|
908
735
|
.ft P
|
909
736
|
.fi
|
910
737
|
.UNINDENT
|
@@ -916,9 +743,6 @@ Install:
|
|
916
743
|
.sp
|
917
744
|
.nf
|
918
745
|
.ft C
|
919
|
-
% sudo apt\-get update
|
920
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
921
|
-
% sudo apt\-get update
|
922
746
|
% sudo apt\-get \-y install groonga
|
923
747
|
.ft P
|
924
748
|
.fi
|
@@ -956,83 +780,6 @@ Install groonga\-munin\-plugins package:
|
|
956
780
|
.UNINDENT
|
957
781
|
.sp
|
958
782
|
There is a package that provides MySQL compatible normalizer as
|
959
|
-
groonga plugins.
|
960
|
-
If you want to use that one, install groonga\-normalizer\-mysql package.
|
961
|
-
.sp
|
962
|
-
Install groonga\-normalizer\-mysql package:
|
963
|
-
.INDENT 0.0
|
964
|
-
.INDENT 3.5
|
965
|
-
.sp
|
966
|
-
.nf
|
967
|
-
.ft C
|
968
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
969
|
-
.ft P
|
970
|
-
.fi
|
971
|
-
.UNINDENT
|
972
|
-
.UNINDENT
|
973
|
-
.SS 13.10 Saucy Salamander
|
974
|
-
.sp
|
975
|
-
Add the Groonga apt repository.
|
976
|
-
.sp
|
977
|
-
/etc/apt/sources.list.d/groonga.list:
|
978
|
-
.INDENT 0.0
|
979
|
-
.INDENT 3.5
|
980
|
-
.sp
|
981
|
-
.nf
|
982
|
-
.ft C
|
983
|
-
deb http://packages.groonga.org/ubuntu/ saucy universe
|
984
|
-
deb\-src http://packages.groonga.org/ubuntu/ saucy universe
|
985
|
-
.ft P
|
986
|
-
.fi
|
987
|
-
.UNINDENT
|
988
|
-
.UNINDENT
|
989
|
-
.sp
|
990
|
-
Install:
|
991
|
-
.INDENT 0.0
|
992
|
-
.INDENT 3.5
|
993
|
-
.sp
|
994
|
-
.nf
|
995
|
-
.ft C
|
996
|
-
% sudo apt\-get update
|
997
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
998
|
-
% sudo apt\-get update
|
999
|
-
% sudo apt\-get \-y install groonga
|
1000
|
-
.ft P
|
1001
|
-
.fi
|
1002
|
-
.UNINDENT
|
1003
|
-
.UNINDENT
|
1004
|
-
.sp
|
1005
|
-
If you want to use \fI\%MeCab\fP as a
|
1006
|
-
tokenizer, install groonga\-tokenizer\-mecab package.
|
1007
|
-
.sp
|
1008
|
-
Install groonga\-tokenizer\-mecab package:
|
1009
|
-
.INDENT 0.0
|
1010
|
-
.INDENT 3.5
|
1011
|
-
.sp
|
1012
|
-
.nf
|
1013
|
-
.ft C
|
1014
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
1015
|
-
.ft P
|
1016
|
-
.fi
|
1017
|
-
.UNINDENT
|
1018
|
-
.UNINDENT
|
1019
|
-
.sp
|
1020
|
-
There is a package that provides \fI\%Munin\fP plugins. If you want to monitor
|
1021
|
-
Groonga status by Munin, install groonga\-munin\-plugins package.
|
1022
|
-
.sp
|
1023
|
-
Install groonga\-munin\-plugins package:
|
1024
|
-
.INDENT 0.0
|
1025
|
-
.INDENT 3.5
|
1026
|
-
.sp
|
1027
|
-
.nf
|
1028
|
-
.ft C
|
1029
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
1030
|
-
.ft P
|
1031
|
-
.fi
|
1032
|
-
.UNINDENT
|
1033
|
-
.UNINDENT
|
1034
|
-
.sp
|
1035
|
-
There is a package that provides MySQL compatible normalizer as
|
1036
783
|
Groonga plugins.
|
1037
784
|
If you want to use that one, install groonga\-normalizer\-mysql package.
|
1038
785
|
.sp
|
@@ -1049,7 +796,7 @@ Install groonga\-normalizer\-mysql package:
|
|
1049
796
|
.UNINDENT
|
1050
797
|
.SS Build from source
|
1051
798
|
.sp
|
1052
|
-
Install required packages to build
|
799
|
+
Install required packages to build Groonga:
|
1053
800
|
.INDENT 0.0
|
1054
801
|
.INDENT 3.5
|
1055
802
|
.sp
|
@@ -1067,9 +814,9 @@ Download source:
|
|
1067
814
|
.sp
|
1068
815
|
.nf
|
1069
816
|
.ft C
|
1070
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1071
|
-
% tar xvzf groonga\-4.0.
|
1072
|
-
% cd groonga\-4.0.
|
817
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
818
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
819
|
+
% cd groonga\-4.0.2
|
1073
820
|
.ft P
|
1074
821
|
.fi
|
1075
822
|
.UNINDENT
|
@@ -1112,7 +859,7 @@ Install:
|
|
1112
859
|
.UNINDENT
|
1113
860
|
.SS CentOS
|
1114
861
|
.sp
|
1115
|
-
This section describes how to install
|
862
|
+
This section describes how to install Groonga related RPM packages on
|
1116
863
|
CentOS. You can install them by \fByum\fP\&.
|
1117
864
|
.sp
|
1118
865
|
We distribute both 32\-bit and 64\-bit packages but we strongly
|
@@ -1273,7 +1020,7 @@ Install groonga\-normalizer\-mysql package:
|
|
1273
1020
|
.sp
|
1274
1021
|
.nf
|
1275
1022
|
.ft C
|
1276
|
-
% sudo yum install \-y
|
1023
|
+
% sudo yum install \-y groonga\-normalizer\-mysql
|
1277
1024
|
.ft P
|
1278
1025
|
.fi
|
1279
1026
|
.UNINDENT
|
@@ -1382,14 +1129,14 @@ Install groonga\-normalizer\-mysql package:
|
|
1382
1129
|
.sp
|
1383
1130
|
.nf
|
1384
1131
|
.ft C
|
1385
|
-
% sudo yum install \-y
|
1132
|
+
% sudo yum install \-y groonga\-normalizer\-mysql
|
1386
1133
|
.ft P
|
1387
1134
|
.fi
|
1388
1135
|
.UNINDENT
|
1389
1136
|
.UNINDENT
|
1390
1137
|
.SS Build from source
|
1391
1138
|
.sp
|
1392
|
-
Install required packages to build
|
1139
|
+
Install required packages to build Groonga:
|
1393
1140
|
.INDENT 0.0
|
1394
1141
|
.INDENT 3.5
|
1395
1142
|
.sp
|
@@ -1407,9 +1154,9 @@ Download source:
|
|
1407
1154
|
.sp
|
1408
1155
|
.nf
|
1409
1156
|
.ft C
|
1410
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1411
|
-
% tar xvzf groonga\-4.0.
|
1412
|
-
% cd groonga\-4.0.
|
1157
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1158
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1159
|
+
% cd groonga\-4.0.2
|
1413
1160
|
.ft P
|
1414
1161
|
.fi
|
1415
1162
|
.UNINDENT
|
@@ -1452,7 +1199,7 @@ Install:
|
|
1452
1199
|
.UNINDENT
|
1453
1200
|
.SS Fedora
|
1454
1201
|
.sp
|
1455
|
-
This section describes how to install
|
1202
|
+
This section describes how to install Groonga related RPM packages on
|
1456
1203
|
Fedora. You can install them by \fByum\fP\&.
|
1457
1204
|
.sp
|
1458
1205
|
\fBNOTE:\fP
|
@@ -1596,7 +1343,7 @@ Install groonga\-normalizer\-mysql package:
|
|
1596
1343
|
.UNINDENT
|
1597
1344
|
.SS Build from source
|
1598
1345
|
.sp
|
1599
|
-
Install required packages to build
|
1346
|
+
Install required packages to build Groonga:
|
1600
1347
|
.INDENT 0.0
|
1601
1348
|
.INDENT 3.5
|
1602
1349
|
.sp
|
@@ -1614,9 +1361,9 @@ Download source:
|
|
1614
1361
|
.sp
|
1615
1362
|
.nf
|
1616
1363
|
.ft C
|
1617
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1618
|
-
% tar xvzf groonga\-4.0.
|
1619
|
-
% cd groonga\-4.0.
|
1364
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1365
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1366
|
+
% cd groonga\-4.0.2
|
1620
1367
|
.ft P
|
1621
1368
|
.fi
|
1622
1369
|
.UNINDENT
|
@@ -1663,7 +1410,7 @@ This section describes how to install Groonga from source on Oracle
|
|
1663
1410
|
Solaris.
|
1664
1411
|
.SS Oracle Solaris 11
|
1665
1412
|
.sp
|
1666
|
-
Install required packages to build
|
1413
|
+
Install required packages to build Groonga:
|
1667
1414
|
.INDENT 0.0
|
1668
1415
|
.INDENT 3.5
|
1669
1416
|
.sp
|
@@ -1681,9 +1428,9 @@ Download source:
|
|
1681
1428
|
.sp
|
1682
1429
|
.nf
|
1683
1430
|
.ft C
|
1684
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1685
|
-
% gtar xvzf groonga\-4.0.
|
1686
|
-
% cd groonga\-4.0.
|
1431
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1432
|
+
% gtar xvzf groonga\-4.0.2.tar.gz
|
1433
|
+
% cd groonga\-4.0.2
|
1687
1434
|
.ft P
|
1688
1435
|
.fi
|
1689
1436
|
.UNINDENT
|
@@ -1729,10 +1476,10 @@ Install:
|
|
1729
1476
|
.UNINDENT
|
1730
1477
|
.SS Others
|
1731
1478
|
.sp
|
1732
|
-
This section describes how to install
|
1479
|
+
This section describes how to install Groonga from source on UNIX like
|
1733
1480
|
environment.
|
1734
1481
|
.sp
|
1735
|
-
To get more detail about installing
|
1482
|
+
To get more detail about installing Groonga from source on the
|
1736
1483
|
specific environment, find the document for the specific environment
|
1737
1484
|
from \fB/install\fP\&.
|
1738
1485
|
.SS Dependencies
|
@@ -1813,7 +1560,7 @@ column value
|
|
1813
1560
|
.UNINDENT
|
1814
1561
|
.sp
|
1815
1562
|
If you want to use those all or some libraries, you need to install
|
1816
|
-
them before installing
|
1563
|
+
them before installing Groonga.
|
1817
1564
|
.SS Build from source
|
1818
1565
|
.sp
|
1819
1566
|
Groonga uses GNU build system. So the following is the simplest build
|
@@ -1823,9 +1570,9 @@ steps:
|
|
1823
1570
|
.sp
|
1824
1571
|
.nf
|
1825
1572
|
.ft C
|
1826
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1827
|
-
% tar xvzf groonga\-4.0.
|
1828
|
-
% cd groonga\-4.0.
|
1573
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1574
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1575
|
+
% cd groonga\-4.0.2
|
1829
1576
|
% ./configure
|
1830
1577
|
% make
|
1831
1578
|
% sudo make install
|
@@ -1853,7 +1600,7 @@ installed under \fB${PATH}/\fP directory.
|
|
1853
1600
|
The default is \fB/usr/local\fP\&. In this case, \fB/reference/executables/groonga\fP is
|
1854
1601
|
installed into \fB/usr/local/bin/groonga\fP\&.
|
1855
1602
|
.sp
|
1856
|
-
Here is an example that installs
|
1603
|
+
Here is an example that installs Groonga into \fB~/local\fP for an user
|
1857
1604
|
use instead of system wide use:
|
1858
1605
|
.INDENT 0.0
|
1859
1606
|
.INDENT 3.5
|
@@ -2022,12 +1769,12 @@ Here is an example that uses MessagePack built with
|
|
2022
1769
|
.UNINDENT
|
2023
1770
|
.SS \fB\-\-with\-munin\-plugins\fP
|
2024
1771
|
.sp
|
2025
|
-
Installs Munin plugins for
|
1772
|
+
Installs Munin plugins for Groonga. They are installed into
|
2026
1773
|
\fB${PREFIX}/share/groonga/munin/plugins/\fP\&.
|
2027
1774
|
.sp
|
2028
1775
|
Those plugins are not installed by default.
|
2029
1776
|
.sp
|
2030
|
-
Here is an example that installs Munin plugins for
|
1777
|
+
Here is an example that installs Munin plugins for Groonga:
|
2031
1778
|
.INDENT 0.0
|
2032
1779
|
.INDENT 3.5
|
2033
1780
|
.sp
|
@@ -2093,7 +1840,7 @@ If you get some errors by \fBmake\fP, please report them to us:
|
|
2093
1840
|
\fB/contribution/report\fP
|
2094
1841
|
.SS \fBmake install\fP
|
2095
1842
|
.sp
|
2096
|
-
Now, you can install built
|
1843
|
+
Now, you can install built Groonga!:
|
2097
1844
|
.INDENT 0.0
|
2098
1845
|
.INDENT 3.5
|
2099
1846
|
.sp
|
@@ -2203,7 +1950,7 @@ DB_PATH specifies the path of a target database. This command fails if the speci
|
|
2203
1950
|
.sp
|
2204
1951
|
If COMMAND is specified, Groonga executes COMMAND and returns the result. Otherwise, Groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode.
|
2205
1952
|
.sp
|
2206
|
-
Let\(aqs see the status of a
|
1953
|
+
Let\(aqs see the status of a Groonga process by using a \fB/reference/commands/status\fP command.
|
2207
1954
|
.sp
|
2208
1955
|
Execution example:
|
2209
1956
|
.INDENT 0.0
|
@@ -9085,6 +8832,28 @@ load \-\-table event_query \-\-each \(aqsuggest_preparer(_id, type, item, sequen
|
|
9085
8832
|
.fi
|
9086
8833
|
.UNINDENT
|
9087
8834
|
.UNINDENT
|
8835
|
+
.SS How to extract learning data
|
8836
|
+
.sp
|
8837
|
+
The learning data is stored into item_DATASET and pair_DATASET tables.
|
8838
|
+
By using select command for such tables, you can all extract learing data.
|
8839
|
+
.sp
|
8840
|
+
Here is the query to extract all learning data:
|
8841
|
+
.INDENT 0.0
|
8842
|
+
.INDENT 3.5
|
8843
|
+
.sp
|
8844
|
+
.nf
|
8845
|
+
.ft C
|
8846
|
+
select item_DATASET \-\-limit \-1
|
8847
|
+
select pair_DATASET \-\-filter \(aqfreq0 > 0 || freq1 > 0 || freq2 > 0\(aq \-\-limit \-1
|
8848
|
+
.ft P
|
8849
|
+
.fi
|
8850
|
+
.UNINDENT
|
8851
|
+
.UNINDENT
|
8852
|
+
.sp
|
8853
|
+
Without \(aq\-\-limit \-1\(aq, you can\(aqt get all data.
|
8854
|
+
In pair table, the valid value of freq0, freq1 and freq2 column must be larger than 0.
|
8855
|
+
.sp
|
8856
|
+
Don\(aqt execute above query via HTTP request because enourmous number of records are fetched.
|
9088
8857
|
.SH GEOLOCATION SEARCH
|
9089
8858
|
.sp
|
9090
8859
|
Groonga supports geolocation search. It uses index for
|
@@ -10606,7 +10375,7 @@ out_gqtp コマンドファイル 出力ファイル名
|
|
10606
10375
|
.UNINDENT
|
10607
10376
|
.SS コマンドファイル
|
10608
10377
|
.sp
|
10609
|
-
コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては \fB/reference/
|
10378
|
+
コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては \fB/reference/command\fP を参照してください。
|
10610
10379
|
.SS サンプル
|
10611
10380
|
.sp
|
10612
10381
|
スクリプトファイルのサンプルです。:
|
@@ -11613,14 +11382,70 @@ groonga\-suggest\-httpd [options] database_path
|
|
11613
11382
|
.SS Set up
|
11614
11383
|
.sp
|
11615
11384
|
First you need to set up database for suggestion.
|
11385
|
+
.sp
|
11386
|
+
Execution example:
|
11387
|
+
.INDENT 0.0
|
11388
|
+
.INDENT 3.5
|
11389
|
+
.sp
|
11390
|
+
.nf
|
11391
|
+
.ft C
|
11392
|
+
% groonga\-suggest\-create\-dataset /tmp/groonga\-databases/groonga\-suggest\-httpd query
|
11393
|
+
.ft P
|
11394
|
+
.fi
|
11395
|
+
.UNINDENT
|
11396
|
+
.UNINDENT
|
11616
11397
|
.SS Launch groonga\-suggest\-httpd
|
11617
11398
|
.sp
|
11618
11399
|
Execute groonga\-suggest\-httpd command:
|
11619
11400
|
.sp
|
11401
|
+
Execution example:
|
11402
|
+
.INDENT 0.0
|
11403
|
+
.INDENT 3.5
|
11404
|
+
.sp
|
11405
|
+
.nf
|
11406
|
+
.ft C
|
11407
|
+
% groonga\-suggest\-httpd /tmp/groonga\-databases/groonga\-suggest\-httpd
|
11408
|
+
.ft P
|
11409
|
+
.fi
|
11410
|
+
.UNINDENT
|
11411
|
+
.UNINDENT
|
11412
|
+
.sp
|
11620
11413
|
After executing above command, groonga\-suggest\-httpd accepts HTTP request on 8080 port.
|
11414
|
+
.sp
|
11415
|
+
If you just want to save requests into log file, use \fB\-l\fP option.
|
11416
|
+
.sp
|
11417
|
+
Here is the example to save log files under \fBlogs\fP directory with \fBlog\fP prefix for each file.:
|
11418
|
+
.INDENT 0.0
|
11419
|
+
.INDENT 3.5
|
11420
|
+
.sp
|
11421
|
+
.nf
|
11422
|
+
.ft C
|
11423
|
+
% groonga\-suggest\-httpd \-l logs/log /tmp/groonga\-databases/groonga\-suggest\-httpd
|
11424
|
+
.ft P
|
11425
|
+
.fi
|
11426
|
+
.UNINDENT
|
11427
|
+
.UNINDENT
|
11428
|
+
.sp
|
11429
|
+
Under \fBlogs\fP directory, log files such as \fBlogYYYYmmddHHMMSS\-00\fP are created.
|
11621
11430
|
.SS Request to groonga\-suggest\-httpd
|
11622
11431
|
.sp
|
11623
|
-
|
11432
|
+
Here is the sample requests to learn \fBgroonga\fP for \fBquery\fP dataset:
|
11433
|
+
.INDENT 0.0
|
11434
|
+
.INDENT 3.5
|
11435
|
+
.sp
|
11436
|
+
.nf
|
11437
|
+
.ft C
|
11438
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=92619&t=complete&q=g\(aq
|
11439
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=93850&t=complete&q=gr\(aq
|
11440
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=94293&t=complete&q=gro\(aq
|
11441
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=94734&t=complete&q=groo\(aq
|
11442
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95147&t=complete&q=grooon\(aq
|
11443
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95553&t=complete&q=groonga\(aq
|
11444
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=groonga
|
11445
|
+
.ft P
|
11446
|
+
.fi
|
11447
|
+
.UNINDENT
|
11448
|
+
.UNINDENT
|
11624
11449
|
.SS Options
|
11625
11450
|
.INDENT 0.0
|
11626
11451
|
.TP
|
@@ -11631,6 +11456,8 @@ Specify http server port number. The default value is 8080.
|
|
11631
11456
|
.TP
|
11632
11457
|
.B \-t, \-\-n\-threads
|
11633
11458
|
Specify number of threads. The default value is 8.
|
11459
|
+
This option accepts 128 as the max value, but use the number of CPU cores for
|
11460
|
+
performance.
|
11634
11461
|
.UNINDENT
|
11635
11462
|
.INDENT 0.0
|
11636
11463
|
.TP
|
@@ -11662,13 +11489,13 @@ Specify this option to daemonize.
|
|
11662
11489
|
.B \-\-disable\-max\-fd\-check
|
11663
11490
|
Specify this option to disable checking max fd on start.
|
11664
11491
|
.UNINDENT
|
11665
|
-
.SS Command line
|
11492
|
+
.SS Command line parameters
|
11666
11493
|
.sp
|
11667
11494
|
There is one required parameter \- \fBdatabase_path\fP\&.
|
11668
11495
|
.SS \fBdatabase_path\fP
|
11669
11496
|
.sp
|
11670
11497
|
Specifies the path to a Groonga database. This database must be created by \fBgroonga\-suggest\-create\-dataset\fP command because it executes required initialization for suggestion.
|
11671
|
-
.SS GET
|
11498
|
+
.SS GET parameters
|
11672
11499
|
.sp
|
11673
11500
|
groonga\-suggest\-httpd accepts following GET parameters.
|
11674
11501
|
.sp
|
@@ -11696,7 +11523,7 @@ _
|
|
11696
11523
|
T{
|
11697
11524
|
t
|
11698
11525
|
T} T{
|
11699
|
-
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 \
|
11526
|
+
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 \fB|\fP\&. Note that \fBsubmit\fP is invalid value when you specify multiple type of query.
|
11700
11527
|
T} T{
|
11701
11528
|
T}
|
11702
11529
|
_
|
@@ -11719,7 +11546,7 @@ s
|
|
11719
11546
|
T} T{
|
11720
11547
|
Elapsed time from 0:00 January 1, 1970
|
11721
11548
|
T} T{
|
11722
|
-
Note that you need specify the value of \
|
11549
|
+
Note that you need specify the value of \fBs\fP in milliseconds
|
11723
11550
|
T}
|
11724
11551
|
_
|
11725
11552
|
T{
|
@@ -11733,9 +11560,9 @@ _
|
|
11733
11560
|
T{
|
11734
11561
|
l
|
11735
11562
|
T} T{
|
11736
|
-
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \
|
11563
|
+
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \fB|\fP
|
11737
11564
|
T} T{
|
11738
|
-
Note that dataset name must be matched to following regular expression \
|
11565
|
+
Note that dataset name must be matched to following regular expression \fB[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\fP
|
11739
11566
|
T}
|
11740
11567
|
_
|
11741
11568
|
.TE
|
@@ -11779,7 +11606,7 @@ callback
|
|
11779
11606
|
T} T{
|
11780
11607
|
Specify the name of function if you prefer JSONP as response format
|
11781
11608
|
T} T{
|
11782
|
-
The name of function must be matched to reqular expression \
|
11609
|
+
The name of function must be matched to reqular expression \fB[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\fP
|
11783
11610
|
T}
|
11784
11611
|
_
|
11785
11612
|
.TE
|
@@ -11814,7 +11641,7 @@ FUNCTION({TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_
|
|
11814
11641
|
\fBTYPE\fP
|
11815
11642
|
.INDENT 0.0
|
11816
11643
|
.INDENT 3.5
|
11817
|
-
\
|
11644
|
+
One of \fBcomplete\fP, \fBcorrect\fP and \fBsuggest\fP\&.
|
11818
11645
|
.UNINDENT
|
11819
11646
|
.UNINDENT
|
11820
11647
|
.sp
|
@@ -11825,52 +11652,96 @@ The string of candidate (UTF\-8).
|
|
11825
11652
|
.UNINDENT
|
11826
11653
|
.UNINDENT
|
11827
11654
|
.sp
|
11828
|
-
\fBSCORE_N\fP
|
11655
|
+
\fBSCORE_N\fP
|
11656
|
+
.INDENT 0.0
|
11657
|
+
.INDENT 3.5
|
11658
|
+
The score.
|
11659
|
+
.UNINDENT
|
11660
|
+
.UNINDENT
|
11661
|
+
.SS groonga\-suggest\-learner
|
11662
|
+
.SS Summary
|
11663
|
+
.sp
|
11664
|
+
groonga\-suggest\-learner is a program to learn suggest result from data which derived from groonga\-suggest\-httpd.
|
11665
|
+
Usually, it is used with groonga\-suggest\-httpd, but It is allowed to launch standalone.
|
11666
|
+
In such a case, groonga\-suggest\-learner loads data from log directory.
|
11667
|
+
.SS Synopsis
|
11668
|
+
.INDENT 0.0
|
11669
|
+
.INDENT 3.5
|
11670
|
+
.sp
|
11671
|
+
.nf
|
11672
|
+
.ft C
|
11673
|
+
groonga\-suggest\-learner [options] database_path
|
11674
|
+
.ft P
|
11675
|
+
.fi
|
11676
|
+
.UNINDENT
|
11677
|
+
.UNINDENT
|
11678
|
+
.SS Usage
|
11679
|
+
.sp
|
11680
|
+
groonga\-suggest\-leaner supports the two way of learning data.
|
11681
|
+
One is learning data from groonga\-suggest\-httpd, the other is
|
11682
|
+
learning data from already existing log files.
|
11683
|
+
.SS Learning data from groonga\-suggest\-httpd
|
11684
|
+
.sp
|
11685
|
+
Execute groonga\-suggest\-learner.:
|
11829
11686
|
.INDENT 0.0
|
11830
11687
|
.INDENT 3.5
|
11831
|
-
|
11688
|
+
.sp
|
11689
|
+
.nf
|
11690
|
+
.ft C
|
11691
|
+
groonga\-suggest\-learner testdb/db
|
11692
|
+
.ft P
|
11693
|
+
.fi
|
11832
11694
|
.UNINDENT
|
11833
11695
|
.UNINDENT
|
11834
|
-
.SS
|
11835
|
-
.SS Summary
|
11696
|
+
.SS Learning data from log files
|
11836
11697
|
.sp
|
11837
|
-
|
11838
|
-
.
|
11698
|
+
Execute groonga\-suggest\-learner with \fB\-l\fP option.
|
11699
|
+
.sp
|
11700
|
+
Here is the sample to load log data under \fBlogs\fP directory:
|
11839
11701
|
.INDENT 0.0
|
11840
11702
|
.INDENT 3.5
|
11841
11703
|
.sp
|
11842
11704
|
.nf
|
11843
11705
|
.ft C
|
11844
|
-
groonga\-suggest\-learner
|
11706
|
+
groonga\-suggest\-learner \-l logs testdb/db
|
11845
11707
|
.ft P
|
11846
11708
|
.fi
|
11847
11709
|
.UNINDENT
|
11848
11710
|
.UNINDENT
|
11849
|
-
.SS Usage
|
11850
|
-
.sp
|
11851
|
-
TODO
|
11852
11711
|
.SS Options
|
11853
11712
|
.INDENT 0.0
|
11854
11713
|
.TP
|
11855
|
-
.B \-r
|
11714
|
+
.B \-r
|
11856
11715
|
Specify endpoint for receiver.
|
11857
11716
|
.UNINDENT
|
11858
11717
|
.INDENT 0.0
|
11859
11718
|
.TP
|
11860
|
-
.B \-s
|
11719
|
+
.B \-s
|
11861
11720
|
Specify endpoint for sender.
|
11862
11721
|
.UNINDENT
|
11863
11722
|
.INDENT 0.0
|
11864
11723
|
.TP
|
11865
|
-
.B \-d
|
11724
|
+
.B \-d
|
11866
11725
|
Specify this option to daemonize.
|
11867
11726
|
.UNINDENT
|
11727
|
+
.INDENT 0.0
|
11728
|
+
.TP
|
11729
|
+
.B \-l
|
11730
|
+
Specify log directory.
|
11731
|
+
.UNINDENT
|
11868
11732
|
.SS Parameters
|
11869
11733
|
.sp
|
11870
11734
|
There is one required parameter \- \fBdatabase_path\fP\&.
|
11871
11735
|
.SS \fBdatabase_path\fP
|
11872
11736
|
.sp
|
11873
11737
|
Specifies the path to a groonga database.
|
11738
|
+
.SS Related tables
|
11739
|
+
.sp
|
11740
|
+
Here is the list of table which learned data is stored. If you specify \fBquery\fP as dataset name, following \fB_DATASET\fP suffix are replaced. Thus, \fBevent_query\fP table is used.
|
11741
|
+
.INDENT 0.0
|
11742
|
+
.IP \(bu 2
|
11743
|
+
event_DATASET
|
11744
|
+
.UNINDENT
|
11874
11745
|
.SS Output
|
11875
11746
|
.sp
|
11876
11747
|
Groonga supports the following output format types:
|
@@ -13231,11 +13102,13 @@ See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
|
13231
13102
|
If command is succeeded, it returns true on success, false otherwise.
|
13232
13103
|
.UNINDENT
|
13233
13104
|
.UNINDENT
|
13234
|
-
.SS
|
13235
|
-
.SS
|
13105
|
+
.SS \fBcolumn_list\fP
|
13106
|
+
.SS Summary
|
13236
13107
|
.sp
|
13237
|
-
|
13238
|
-
.SS
|
13108
|
+
\fBcolumn_list\fP command lists columns in a table.
|
13109
|
+
.SS Syntax
|
13110
|
+
.sp
|
13111
|
+
\fBcolumn_list\fP command takes one required parameter:
|
13239
13112
|
.INDENT 0.0
|
13240
13113
|
.INDENT 3.5
|
13241
13114
|
.sp
|
@@ -13246,140 +13119,383 @@ column_list table
|
|
13246
13119
|
.fi
|
13247
13120
|
.UNINDENT
|
13248
13121
|
.UNINDENT
|
13249
|
-
.SS
|
13122
|
+
.SS Usage
|
13250
13123
|
.sp
|
13251
|
-
|
13124
|
+
Here is a simple example of \fBcolumn_list\fP command.
|
13252
13125
|
.sp
|
13253
|
-
|
13254
|
-
.SS 引数
|
13126
|
+
Execution example:
|
13255
13127
|
.INDENT 0.0
|
13256
|
-
.
|
13257
|
-
.
|
13258
|
-
|
13128
|
+
.INDENT 3.5
|
13129
|
+
.sp
|
13130
|
+
.nf
|
13131
|
+
.ft C
|
13132
|
+
table_create Users TABLE_PAT_KEY ShortText
|
13133
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13134
|
+
column_create Users age COLUMN_SCALAR UInt8
|
13135
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13136
|
+
column_create Users tags COLUMN_VECTOR ShortText
|
13137
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
13138
|
+
column_list Users
|
13139
|
+
# [
|
13140
|
+
# [
|
13141
|
+
# 0,
|
13142
|
+
# 1337566253.89858,
|
13143
|
+
# 0.000355720520019531
|
13144
|
+
# ],
|
13145
|
+
# [
|
13146
|
+
# [
|
13147
|
+
# [
|
13148
|
+
# "id",
|
13149
|
+
# "UInt32"
|
13150
|
+
# ],
|
13151
|
+
# [
|
13152
|
+
# "name",
|
13153
|
+
# "ShortText"
|
13154
|
+
# ],
|
13155
|
+
# [
|
13156
|
+
# "path",
|
13157
|
+
# "ShortText"
|
13158
|
+
# ],
|
13159
|
+
# [
|
13160
|
+
# "type",
|
13161
|
+
# "ShortText"
|
13162
|
+
# ],
|
13163
|
+
# [
|
13164
|
+
# "flags",
|
13165
|
+
# "ShortText"
|
13166
|
+
# ],
|
13167
|
+
# [
|
13168
|
+
# "domain",
|
13169
|
+
# "ShortText"
|
13170
|
+
# ],
|
13171
|
+
# [
|
13172
|
+
# "range",
|
13173
|
+
# "ShortText"
|
13174
|
+
# ],
|
13175
|
+
# [
|
13176
|
+
# "source",
|
13177
|
+
# "ShortText"
|
13178
|
+
# ]
|
13179
|
+
# ],
|
13180
|
+
# [
|
13181
|
+
# 256,
|
13182
|
+
# "_key",
|
13183
|
+
# "",
|
13184
|
+
# "",
|
13185
|
+
# "COLUMN_SCALAR",
|
13186
|
+
# "Users",
|
13187
|
+
# "ShortText",
|
13188
|
+
# []
|
13189
|
+
# ],
|
13190
|
+
# [
|
13191
|
+
# 257,
|
13192
|
+
# "age",
|
13193
|
+
# "/tmp/groonga\-databases/commands_column_list.0000101",
|
13194
|
+
# "fix",
|
13195
|
+
# "COLUMN_SCALAR|PERSISTENT",
|
13196
|
+
# "Users",
|
13197
|
+
# "UInt8",
|
13198
|
+
# []
|
13199
|
+
# ],
|
13200
|
+
# [
|
13201
|
+
# 258,
|
13202
|
+
# "tags",
|
13203
|
+
# "/tmp/groonga\-databases/commands_column_list.0000102",
|
13204
|
+
# "var",
|
13205
|
+
# "COLUMN_VECTOR|PERSISTENT",
|
13206
|
+
# "Users",
|
13207
|
+
# "ShortText",
|
13208
|
+
# []
|
13209
|
+
# ]
|
13210
|
+
# ]
|
13211
|
+
# ]
|
13212
|
+
.ft P
|
13213
|
+
.fi
|
13259
13214
|
.UNINDENT
|
13260
|
-
.
|
13261
|
-
.SS
|
13215
|
+
.UNINDENT
|
13216
|
+
.SS Parameters
|
13217
|
+
.sp
|
13218
|
+
This section describes parameters of \fBcolumn_list\fP\&.
|
13219
|
+
.SS Required parameters
|
13220
|
+
.sp
|
13221
|
+
All parameters are required.
|
13222
|
+
.SS \fBtable\fP
|
13223
|
+
.sp
|
13224
|
+
It specifies the name of table to be listed columns.
|
13225
|
+
.SS Return value
|
13262
13226
|
.sp
|
13263
|
-
|
13227
|
+
\fBcolumn_list\fP returns the list of column information in the table:
|
13264
13228
|
.INDENT 0.0
|
13265
13229
|
.INDENT 3.5
|
13266
13230
|
.sp
|
13267
13231
|
.nf
|
13268
13232
|
.ft C
|
13269
|
-
[
|
13233
|
+
[
|
13234
|
+
HEADER,
|
13235
|
+
[
|
13236
|
+
COLUMN_LIST_HEADER,
|
13237
|
+
COLUMN_INFORMATION1,
|
13238
|
+
COLUMN_INFORMATION2,
|
13239
|
+
...
|
13240
|
+
]
|
13241
|
+
]
|
13270
13242
|
.ft P
|
13271
13243
|
.fi
|
13272
13244
|
.UNINDENT
|
13273
13245
|
.UNINDENT
|
13274
13246
|
.sp
|
13275
|
-
\
|
13247
|
+
\fBHEADER\fP
|
13276
13248
|
.INDENT 0.0
|
13277
13249
|
.INDENT 3.5
|
13278
|
-
\fB
|
13279
|
-
|
13250
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
13251
|
+
.UNINDENT
|
13252
|
+
.UNINDENT
|
13280
13253
|
.sp
|
13281
|
-
\
|
13254
|
+
\fBCOLUMN_LIST_HEADER\fP
|
13282
13255
|
.INDENT 0.0
|
13283
13256
|
.INDENT 3.5
|
13284
|
-
|
13285
|
-
|
13286
|
-
.UNINDENT
|
13257
|
+
\fBCOLUMN_LIST_HEADER\fP describes about content of each
|
13258
|
+
\fBCOLUMN_INFORMATION\fP\&.
|
13287
13259
|
.sp
|
13288
|
-
\
|
13260
|
+
\fBCOLUMN_LIST_HEADER\fP is the following format:
|
13289
13261
|
.INDENT 0.0
|
13290
13262
|
.INDENT 3.5
|
13291
|
-
|
13263
|
+
.sp
|
13264
|
+
.nf
|
13265
|
+
.ft C
|
13266
|
+
[
|
13267
|
+
["id", "UInt32"],
|
13268
|
+
["name", "ShortText"],
|
13269
|
+
["path", "ShortText"],
|
13270
|
+
["type", "ShortText"],
|
13271
|
+
["flags", "ShortText"],
|
13272
|
+
["domain", "ShortText"],
|
13273
|
+
["range", "ShortText"],
|
13274
|
+
["source", "ShortText"]
|
13275
|
+
]
|
13276
|
+
.ft P
|
13277
|
+
.fi
|
13292
13278
|
.UNINDENT
|
13293
13279
|
.UNINDENT
|
13294
13280
|
.sp
|
13295
|
-
|
13281
|
+
It means the following:
|
13296
13282
|
.INDENT 0.0
|
13297
13283
|
.INDENT 3.5
|
13298
|
-
|
13284
|
+
.INDENT 0.0
|
13285
|
+
.IP \(bu 2
|
13286
|
+
The first content in \fBCOLUMN_INFORMATION\fP is \fBid\fP value and
|
13287
|
+
the value type is \fBUInt32\fP\&.
|
13288
|
+
.IP \(bu 2
|
13289
|
+
The second content in \fBCOLUMN_INFORMATION\fP is \fBname\fP value and
|
13290
|
+
the value type is \fBShortText\fP\&.
|
13291
|
+
.IP \(bu 2
|
13292
|
+
The third content ....
|
13293
|
+
.UNINDENT
|
13299
13294
|
.UNINDENT
|
13300
13295
|
.UNINDENT
|
13301
13296
|
.sp
|
13302
|
-
\
|
13297
|
+
See the following \fBCOLUMN_INFORMATION\fP description for details.
|
13298
|
+
.sp
|
13299
|
+
This field provides meta\-data of column information. So this field
|
13300
|
+
will be useful for programs rather than humans.
|
13301
|
+
.UNINDENT
|
13302
|
+
.UNINDENT
|
13303
|
+
.sp
|
13304
|
+
\fBCOLUMN_INFORMATION\fP
|
13303
13305
|
.INDENT 0.0
|
13304
13306
|
.INDENT 3.5
|
13305
|
-
|
13307
|
+
Each \fBCOLUMN_INFORMATION\fP is the following format:
|
13308
|
+
.INDENT 0.0
|
13309
|
+
.INDENT 3.5
|
13310
|
+
.sp
|
13311
|
+
.nf
|
13312
|
+
.ft C
|
13313
|
+
[
|
13314
|
+
ID,
|
13315
|
+
NAME,
|
13316
|
+
PATH,
|
13317
|
+
TYPE,
|
13318
|
+
FLAGS,
|
13319
|
+
DOMAIN,
|
13320
|
+
RANGE,
|
13321
|
+
SOURCES
|
13322
|
+
]
|
13323
|
+
.ft P
|
13324
|
+
.fi
|
13306
13325
|
.UNINDENT
|
13307
13326
|
.UNINDENT
|
13308
13327
|
.sp
|
13309
|
-
\
|
13328
|
+
\fBID\fP
|
13310
13329
|
.INDENT 0.0
|
13311
13330
|
.INDENT 3.5
|
13312
|
-
|
13331
|
+
The column ID in the Groonga database. Normally, you don\(aqt care
|
13332
|
+
about it.
|
13313
13333
|
.UNINDENT
|
13314
13334
|
.UNINDENT
|
13315
13335
|
.sp
|
13316
|
-
\
|
13336
|
+
\fBNAME\fP
|
13317
13337
|
.INDENT 0.0
|
13318
13338
|
.INDENT 3.5
|
13319
|
-
|
13339
|
+
The column name.
|
13320
13340
|
.UNINDENT
|
13321
13341
|
.UNINDENT
|
13322
13342
|
.sp
|
13323
|
-
\
|
13343
|
+
\fBPATH\fP
|
13324
13344
|
.INDENT 0.0
|
13325
13345
|
.INDENT 3.5
|
13326
|
-
|
13346
|
+
The path for storing column data.
|
13327
13347
|
.UNINDENT
|
13328
13348
|
.UNINDENT
|
13329
13349
|
.sp
|
13330
|
-
\
|
13350
|
+
\fBTYPE\fP
|
13331
13351
|
.INDENT 0.0
|
13332
13352
|
.INDENT 3.5
|
13333
|
-
|
13353
|
+
The type of the column. It is one of the followings:
|
13354
|
+
.TS
|
13355
|
+
center;
|
13356
|
+
|l|l|.
|
13357
|
+
_
|
13358
|
+
T{
|
13359
|
+
Value
|
13360
|
+
T} T{
|
13361
|
+
Description
|
13362
|
+
T}
|
13363
|
+
_
|
13364
|
+
T{
|
13365
|
+
\fBfix\fP
|
13366
|
+
T} T{
|
13367
|
+
The column is a fixed size column. Scalar column that its
|
13368
|
+
type is fixed size type is fixed size column.
|
13369
|
+
T}
|
13370
|
+
_
|
13371
|
+
T{
|
13372
|
+
\fBvar\fP
|
13373
|
+
T} T{
|
13374
|
+
The column is a variable size column. Vector column or
|
13375
|
+
scalar column that its type is variable size type are
|
13376
|
+
variable size column.
|
13377
|
+
T}
|
13378
|
+
_
|
13379
|
+
T{
|
13380
|
+
\fBindex\fP
|
13381
|
+
T} T{
|
13382
|
+
The column is an index column.
|
13383
|
+
T}
|
13384
|
+
_
|
13385
|
+
.TE
|
13334
13386
|
.UNINDENT
|
13335
13387
|
.UNINDENT
|
13388
|
+
.sp
|
13389
|
+
\fBFLAGS\fP
|
13390
|
+
.INDENT 0.0
|
13391
|
+
.INDENT 3.5
|
13392
|
+
The flags of the column. Each flag is separated by \fB|\fP like
|
13393
|
+
\fBCOLUMN_VECTOR|WITH_WEIGHT\fP\&. \fBFLAGS\fP must include one of
|
13394
|
+
\fBCOLUMN_SCALAR\fP, \fBCOLUMN_VECTOR\fP or \fBCOLUMN_INDEX\fP\&. Other
|
13395
|
+
flags are optional.
|
13396
|
+
.sp
|
13397
|
+
Here is the available flags:
|
13398
|
+
.TS
|
13399
|
+
center;
|
13400
|
+
|l|l|.
|
13401
|
+
_
|
13402
|
+
T{
|
13403
|
+
Flag
|
13404
|
+
T} T{
|
13405
|
+
Description
|
13406
|
+
T}
|
13407
|
+
_
|
13408
|
+
T{
|
13409
|
+
\fBCOLUMN_SCALAR\fP
|
13410
|
+
T} T{
|
13411
|
+
The column is a scalar column.
|
13412
|
+
T}
|
13413
|
+
_
|
13414
|
+
T{
|
13415
|
+
\fBCOLUMN_VECTOR\fP
|
13416
|
+
T} T{
|
13417
|
+
The column is a vector column.
|
13418
|
+
T}
|
13419
|
+
_
|
13420
|
+
T{
|
13421
|
+
\fBCOLUMN_INDEX\fP
|
13422
|
+
T} T{
|
13423
|
+
The column is an index column.
|
13424
|
+
T}
|
13425
|
+
_
|
13426
|
+
T{
|
13427
|
+
\fBWITH_WEIGHT\fP
|
13428
|
+
T} T{
|
13429
|
+
The column can have weight. \fBCOLUMN_VECTOR\fP and \fBCOLUMN_INDEX\fP
|
13430
|
+
may have it. \fBCOLUMN_SCALAR\fP doesn\(aqt have it.
|
13431
|
+
T}
|
13432
|
+
_
|
13433
|
+
T{
|
13434
|
+
\fBWITH_SECTION\fP
|
13435
|
+
T} T{
|
13436
|
+
The column can have section information. \fBCOLUMN_INDEX\fP
|
13437
|
+
may have it. \fBCOLUMN_SCALAR\fP and \fBCOLUMN_VECTOR\fP don\(aqt
|
13438
|
+
have it.
|
13439
|
+
.sp
|
13440
|
+
Multiple column index has it.
|
13441
|
+
T}
|
13442
|
+
_
|
13443
|
+
T{
|
13444
|
+
\fBWITH_POSITION\fP
|
13445
|
+
T} T{
|
13446
|
+
The column can have position information. \fBCOLUMN_INDEX\fP
|
13447
|
+
may have it. \fBCOLUMN_SCALAR\fP and \fBCOLUMN_VECTOR\fP don\(aqt
|
13448
|
+
have it.
|
13449
|
+
.sp
|
13450
|
+
Full text search index must has it.
|
13451
|
+
T}
|
13452
|
+
_
|
13453
|
+
T{
|
13454
|
+
\fBPERSISTENT\fP
|
13455
|
+
T} T{
|
13456
|
+
The column is a persistent column. It means that the column
|
13457
|
+
isn\(aqt a \fB/reference/columns/pseudo\fP\&.
|
13458
|
+
T}
|
13459
|
+
_
|
13460
|
+
.TE
|
13336
13461
|
.UNINDENT
|
13337
13462
|
.UNINDENT
|
13338
13463
|
.sp
|
13339
|
-
\
|
13464
|
+
\fBDOMAIN\fP
|
13340
13465
|
.INDENT 0.0
|
13341
13466
|
.INDENT 3.5
|
13342
|
-
|
13467
|
+
The name of table that has the column.
|
13343
13468
|
.UNINDENT
|
13344
13469
|
.UNINDENT
|
13345
13470
|
.sp
|
13346
|
-
\
|
13471
|
+
\fBRANGE\fP
|
13347
13472
|
.INDENT 0.0
|
13348
13473
|
.INDENT 3.5
|
13349
|
-
|
13350
|
-
|
13474
|
+
The value type name of the column. It is a type name or a table
|
13475
|
+
name.
|
13351
13476
|
.UNINDENT
|
13352
13477
|
.UNINDENT
|
13353
|
-
.
|
13478
|
+
.sp
|
13479
|
+
\fBSOURCES\fP
|
13354
13480
|
.INDENT 0.0
|
13355
13481
|
.INDENT 3.5
|
13482
|
+
An array of the source column names of the index. If the index
|
13483
|
+
column is multiple column index, the array has two or more
|
13484
|
+
source column names.
|
13356
13485
|
.sp
|
13357
|
-
|
13358
|
-
|
13359
|
-
|
13360
|
-
|
13361
|
-
[[["id", "UInt32"],
|
13362
|
-
["name","ShortText"],
|
13363
|
-
["path","ShortText"],
|
13364
|
-
["type","ShortText"],
|
13365
|
-
["flags","ShortText"],
|
13366
|
-
["domain", "ShortText"],
|
13367
|
-
["range", "ShortText"],
|
13368
|
-
["source","ShortText"]],
|
13369
|
-
[258,
|
13370
|
-
"Entry.body",
|
13371
|
-
"test.db.0000102",
|
13372
|
-
"var",
|
13373
|
-
"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT",
|
13374
|
-
"Entry",
|
13375
|
-
"ShortText",
|
13376
|
-
[]]]
|
13377
|
-
.ft P
|
13378
|
-
.fi
|
13486
|
+
It is always an empty array for \fBCOLUMN_SCALAR\fP and
|
13487
|
+
\fBCOLUMN_VECTOR\fP\&.
|
13488
|
+
.UNINDENT
|
13379
13489
|
.UNINDENT
|
13380
13490
|
.UNINDENT
|
13381
|
-
.
|
13382
|
-
|
13491
|
+
.UNINDENT
|
13492
|
+
.SS See also
|
13493
|
+
.INDENT 0.0
|
13494
|
+
.IP \(bu 2
|
13495
|
+
\fB/reference/commands/column_create\fP
|
13496
|
+
.IP \(bu 2
|
13497
|
+
\fB/reference/column\fP
|
13498
|
+
.UNINDENT
|
13383
13499
|
.SS column_remove
|
13384
13500
|
.SS 名前
|
13385
13501
|
.sp
|
@@ -14823,6 +14939,108 @@ _
|
|
14823
14939
|
.IP \(bu 2
|
14824
14940
|
\fB/reference/normalizers\fP
|
14825
14941
|
.UNINDENT
|
14942
|
+
.SS \fBnormalizer_list\fP
|
14943
|
+
.SS Summary
|
14944
|
+
.sp
|
14945
|
+
\fBnormalizer_list\fP command lists normalizers in a database.
|
14946
|
+
.SS Syntax
|
14947
|
+
.sp
|
14948
|
+
\fBnormalizer_list\fP command takes no parameter.
|
14949
|
+
.INDENT 0.0
|
14950
|
+
.INDENT 3.5
|
14951
|
+
.sp
|
14952
|
+
.nf
|
14953
|
+
.ft C
|
14954
|
+
normalizer_list
|
14955
|
+
.ft P
|
14956
|
+
.fi
|
14957
|
+
.UNINDENT
|
14958
|
+
.UNINDENT
|
14959
|
+
.SS Usage
|
14960
|
+
.sp
|
14961
|
+
Here is a simple example.
|
14962
|
+
.sp
|
14963
|
+
Execution example:
|
14964
|
+
.INDENT 0.0
|
14965
|
+
.INDENT 3.5
|
14966
|
+
.sp
|
14967
|
+
.nf
|
14968
|
+
.ft C
|
14969
|
+
normalzer_list
|
14970
|
+
# [
|
14971
|
+
# [
|
14972
|
+
# 0,
|
14973
|
+
# 0.0,
|
14974
|
+
# 0.0
|
14975
|
+
# ],
|
14976
|
+
# [
|
14977
|
+
# {
|
14978
|
+
# "name": "NormalizerAuto"
|
14979
|
+
# },
|
14980
|
+
# {
|
14981
|
+
# "name": "NormalizerNFKC51"
|
14982
|
+
# }
|
14983
|
+
# ]
|
14984
|
+
# ]
|
14985
|
+
.ft P
|
14986
|
+
.fi
|
14987
|
+
.UNINDENT
|
14988
|
+
.UNINDENT
|
14989
|
+
.sp
|
14990
|
+
It returns normalizers in a database.
|
14991
|
+
.SS Return value
|
14992
|
+
.sp
|
14993
|
+
\fBnormalizer_list\fP command returns normalizers. Each normalizers has an attribute
|
14994
|
+
that contains the name. The attribute will be increased in the feature:
|
14995
|
+
.INDENT 0.0
|
14996
|
+
.INDENT 3.5
|
14997
|
+
.sp
|
14998
|
+
.nf
|
14999
|
+
.ft C
|
15000
|
+
[HEADER, normalizer]
|
15001
|
+
.ft P
|
15002
|
+
.fi
|
15003
|
+
.UNINDENT
|
15004
|
+
.UNINDENT
|
15005
|
+
.sp
|
15006
|
+
\fBHEADER\fP
|
15007
|
+
.INDENT 0.0
|
15008
|
+
.INDENT 3.5
|
15009
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
15010
|
+
.UNINDENT
|
15011
|
+
.UNINDENT
|
15012
|
+
.sp
|
15013
|
+
\fBnormalizer\fP
|
15014
|
+
.INDENT 0.0
|
15015
|
+
.INDENT 3.5
|
15016
|
+
\fBnormalizer\fP is an array of normalizer. Normalizer is an object that has the following
|
15017
|
+
attributes.
|
15018
|
+
.TS
|
15019
|
+
center;
|
15020
|
+
|l|l|.
|
15021
|
+
_
|
15022
|
+
T{
|
15023
|
+
Name
|
15024
|
+
T} T{
|
15025
|
+
Description
|
15026
|
+
T}
|
15027
|
+
_
|
15028
|
+
T{
|
15029
|
+
\fBname\fP
|
15030
|
+
T} T{
|
15031
|
+
Normalizer name.
|
15032
|
+
T}
|
15033
|
+
_
|
15034
|
+
.TE
|
15035
|
+
.UNINDENT
|
15036
|
+
.UNINDENT
|
15037
|
+
.SS See also
|
15038
|
+
.INDENT 0.0
|
15039
|
+
.IP \(bu 2
|
15040
|
+
\fB/reference/normalizers\fP
|
15041
|
+
.IP \(bu 2
|
15042
|
+
\fB/reference/commands/normalize\fP
|
15043
|
+
.UNINDENT
|
14826
15044
|
.SS quit
|
14827
15045
|
.SS 名前
|
14828
15046
|
.sp
|
@@ -15120,7 +15338,7 @@ select table
|
|
15120
15338
|
[limit=10]
|
15121
15339
|
[drilldown=null]
|
15122
15340
|
[drilldown_sortby=null]
|
15123
|
-
[drilldown_output_columns=
|
15341
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
15124
15342
|
[drilldown_offset=0]
|
15125
15343
|
[drilldown_limit=10]
|
15126
15344
|
[cache=yes]
|
@@ -16991,7 +17209,7 @@ The \fBselect\fP command just outputs \fB_id\fP and \fB_key\fP column
|
|
16991
17209
|
values.
|
16992
17210
|
.sp
|
16993
17211
|
\fB*\fP is a special value. It means that all columns that are not
|
16994
|
-
\fB/reference/
|
17212
|
+
\fB/reference/columns/pseudo\fP\&.
|
16995
17213
|
.sp
|
16996
17214
|
Here is a \fB*\fP usage example.
|
16997
17215
|
.sp
|
@@ -17671,6 +17889,74 @@ You can omit \fBFACTOR\fP\&. If you omit \fBFACTOR\fP, it is treated as 1.
|
|
17671
17889
|
.sp
|
17672
17890
|
Here is a sample \fBadjuster\fP usage example that omits \fBFACTOR\fP:
|
17673
17891
|
.sp
|
17892
|
+
Execution example:
|
17893
|
+
.INDENT 0.0
|
17894
|
+
.INDENT 3.5
|
17895
|
+
.sp
|
17896
|
+
.nf
|
17897
|
+
.ft C
|
17898
|
+
select Entries \e
|
17899
|
+
\-\-filter true \e
|
17900
|
+
\-\-adjuster \(aqcontent @ "groonga"\(aq \e
|
17901
|
+
\-\-output_columns _key,content,_score
|
17902
|
+
# [
|
17903
|
+
# [
|
17904
|
+
# 0,
|
17905
|
+
# 1337566253.89858,
|
17906
|
+
# 0.000355720520019531
|
17907
|
+
# ],
|
17908
|
+
# [
|
17909
|
+
# [
|
17910
|
+
# [
|
17911
|
+
# 5
|
17912
|
+
# ],
|
17913
|
+
# [
|
17914
|
+
# [
|
17915
|
+
# "_key",
|
17916
|
+
# "ShortText"
|
17917
|
+
# ],
|
17918
|
+
# [
|
17919
|
+
# "content",
|
17920
|
+
# "Text"
|
17921
|
+
# ],
|
17922
|
+
# [
|
17923
|
+
# "_score",
|
17924
|
+
# "Int32"
|
17925
|
+
# ]
|
17926
|
+
# ],
|
17927
|
+
# [
|
17928
|
+
# "The first post!",
|
17929
|
+
# "Welcome! This is my first post!",
|
17930
|
+
# 1
|
17931
|
+
# ],
|
17932
|
+
# [
|
17933
|
+
# "Groonga",
|
17934
|
+
# "I started to use groonga. It\(aqs very fast!",
|
17935
|
+
# 2
|
17936
|
+
# ],
|
17937
|
+
# [
|
17938
|
+
# "Mroonga",
|
17939
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
17940
|
+
# 1
|
17941
|
+
# ],
|
17942
|
+
# [
|
17943
|
+
# "Good\-bye Senna",
|
17944
|
+
# "I migrated all Senna system!",
|
17945
|
+
# 1
|
17946
|
+
# ],
|
17947
|
+
# [
|
17948
|
+
# "Good\-bye Tritonn",
|
17949
|
+
# "I also migrated all Tritonn system!",
|
17950
|
+
# 1
|
17951
|
+
# ]
|
17952
|
+
# ]
|
17953
|
+
# ]
|
17954
|
+
# ]
|
17955
|
+
.ft P
|
17956
|
+
.fi
|
17957
|
+
.UNINDENT
|
17958
|
+
.UNINDENT
|
17959
|
+
.sp
|
17674
17960
|
The \fBadjuster\fP in the \fBselect\fP command doesn\(aqt have \fBFACTOR\fP\&. So
|
17675
17961
|
the factor is treated as 1. There is only one record that has
|
17676
17962
|
\fB"groonga"\fP in \fBEntries.content\fP column. So the record that its
|
@@ -19838,21 +20124,142 @@ Description
|
|
19838
20124
|
T}
|
19839
20125
|
_
|
19840
20126
|
T{
|
19841
|
-
\fBNONE\fP
|
20127
|
+
\fBNONE\fP
|
20128
|
+
T} T{
|
20129
|
+
Just ignored.
|
20130
|
+
T}
|
20131
|
+
_
|
20132
|
+
T{
|
20133
|
+
\fBENABLE_TOKENIZED_DELIMITER\fP
|
20134
|
+
T} T{
|
20135
|
+
Enables tokenized delimiter. See \fB/reference/tokenizers\fP about
|
20136
|
+
tokenized delimiter details.
|
20137
|
+
T}
|
20138
|
+
_
|
20139
|
+
.TE
|
20140
|
+
.sp
|
20141
|
+
Here is an example that uses \fBENABLE_TOKENIZED_DELIMITER\fP\&.
|
20142
|
+
.sp
|
20143
|
+
Execution example:
|
20144
|
+
.INDENT 0.0
|
20145
|
+
.INDENT 3.5
|
20146
|
+
.sp
|
20147
|
+
.nf
|
20148
|
+
.ft C
|
20149
|
+
tokenize TokenDelimit "Fulltext Seacrch" NormalizerAuto ENABLE_TOKENIZED_DELIMITER
|
20150
|
+
# [
|
20151
|
+
# [
|
20152
|
+
# 0,
|
20153
|
+
# 1337566253.89858,
|
20154
|
+
# 0.000355720520019531
|
20155
|
+
# ],
|
20156
|
+
# [
|
20157
|
+
# {
|
20158
|
+
# "position": 0,
|
20159
|
+
# "value": "full"
|
20160
|
+
# },
|
20161
|
+
# {
|
20162
|
+
# "position": 1,
|
20163
|
+
# "value": "text sea"
|
20164
|
+
# },
|
20165
|
+
# {
|
20166
|
+
# "position": 2,
|
20167
|
+
# "value": "crch"
|
20168
|
+
# }
|
20169
|
+
# ]
|
20170
|
+
# ]
|
20171
|
+
.ft P
|
20172
|
+
.fi
|
20173
|
+
.UNINDENT
|
20174
|
+
.UNINDENT
|
20175
|
+
.sp
|
20176
|
+
\fBTokenDelimit\fP tokenizer is one of tokenized delimiter supported
|
20177
|
+
tokenizer. \fBENABLE_TOKENIZED_DELIMITER\fP enables tokenized delimiter.
|
20178
|
+
Tokenized delimiter is special character that indicates token
|
20179
|
+
border. It is \fBU+FFFE\fP\&. The character is not assigned any
|
20180
|
+
character. It means that the character is not appeared in normal
|
20181
|
+
string. So the character is good character for this puropose. If
|
20182
|
+
\fBENABLE_TOKENIZED_DELIMITER\fP is enabled, the target string is
|
20183
|
+
treated as already tokenized string. Tokenizer just tokenizes by
|
20184
|
+
tokenized delimiter.
|
20185
|
+
.SS Return value
|
20186
|
+
.sp
|
20187
|
+
\fBtokenize\fP command returns tokenized tokens. Each token has some
|
20188
|
+
attributes except token itself. The attributes will be increased in
|
20189
|
+
the feature:
|
20190
|
+
.INDENT 0.0
|
20191
|
+
.INDENT 3.5
|
20192
|
+
.sp
|
20193
|
+
.nf
|
20194
|
+
.ft C
|
20195
|
+
[HEADER, tokens]
|
20196
|
+
.ft P
|
20197
|
+
.fi
|
20198
|
+
.UNINDENT
|
20199
|
+
.UNINDENT
|
20200
|
+
.sp
|
20201
|
+
\fBHEADER\fP
|
20202
|
+
.INDENT 0.0
|
20203
|
+
.INDENT 3.5
|
20204
|
+
See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
20205
|
+
.UNINDENT
|
20206
|
+
.UNINDENT
|
20207
|
+
.sp
|
20208
|
+
\fBtokens\fP
|
20209
|
+
.INDENT 0.0
|
20210
|
+
.INDENT 3.5
|
20211
|
+
\fBtokens\fP is an array of token. Token is an object that has the following
|
20212
|
+
attributes.
|
20213
|
+
.TS
|
20214
|
+
center;
|
20215
|
+
|l|l|.
|
20216
|
+
_
|
20217
|
+
T{
|
20218
|
+
Name
|
20219
|
+
T} T{
|
20220
|
+
Description
|
20221
|
+
T}
|
20222
|
+
_
|
20223
|
+
T{
|
20224
|
+
\fBvalue\fP
|
19842
20225
|
T} T{
|
19843
|
-
|
20226
|
+
Token itself.
|
19844
20227
|
T}
|
19845
20228
|
_
|
19846
20229
|
T{
|
19847
|
-
\
|
20230
|
+
\fBposition\fP
|
19848
20231
|
T} T{
|
19849
|
-
|
19850
|
-
tokenized delimiter details.
|
20232
|
+
The N\-th token.
|
19851
20233
|
T}
|
19852
20234
|
_
|
19853
20235
|
.TE
|
20236
|
+
.UNINDENT
|
20237
|
+
.UNINDENT
|
20238
|
+
.SS See also
|
20239
|
+
.INDENT 0.0
|
20240
|
+
.IP \(bu 2
|
20241
|
+
\fB/reference/tokenizers\fP
|
20242
|
+
.UNINDENT
|
20243
|
+
.SS \fBtokenizer_list\fP
|
20244
|
+
.SS Summary
|
19854
20245
|
.sp
|
19855
|
-
|
20246
|
+
\fBtokenizer_list\fP command lists tokenizers in a database.
|
20247
|
+
.SS Syntax
|
20248
|
+
.sp
|
20249
|
+
\fBtokenizer_list\fP command takes no parameter.
|
20250
|
+
.INDENT 0.0
|
20251
|
+
.INDENT 3.5
|
20252
|
+
.sp
|
20253
|
+
.nf
|
20254
|
+
.ft C
|
20255
|
+
tokenizer_list
|
20256
|
+
.ft P
|
20257
|
+
.fi
|
20258
|
+
.UNINDENT
|
20259
|
+
.UNINDENT
|
20260
|
+
.SS Usage
|
20261
|
+
.sp
|
20262
|
+
Here is a simple example.
|
19856
20263
|
.sp
|
19857
20264
|
Execution example:
|
19858
20265
|
.INDENT 0.0
|
@@ -19860,25 +20267,52 @@ Execution example:
|
|
19860
20267
|
.sp
|
19861
20268
|
.nf
|
19862
20269
|
.ft C
|
19863
|
-
|
20270
|
+
tokenizer_list
|
19864
20271
|
# [
|
19865
20272
|
# [
|
19866
20273
|
# 0,
|
19867
|
-
#
|
19868
|
-
# 0.
|
20274
|
+
# 0.0,
|
20275
|
+
# 0.0
|
19869
20276
|
# ],
|
19870
20277
|
# [
|
19871
20278
|
# {
|
19872
|
-
# "
|
19873
|
-
# "value": "full"
|
20279
|
+
# "name": "TokenMecab"
|
19874
20280
|
# },
|
19875
20281
|
# {
|
19876
|
-
# "
|
19877
|
-
# "value": "text sea"
|
20282
|
+
# "name": "TokenDelimit"
|
19878
20283
|
# },
|
19879
20284
|
# {
|
19880
|
-
# "
|
19881
|
-
#
|
20285
|
+
# "name": "TokenUnigram"
|
20286
|
+
# },
|
20287
|
+
# {
|
20288
|
+
# "name": "TokenBigram"
|
20289
|
+
# },
|
20290
|
+
# {
|
20291
|
+
# "name": "TokenTrigram"
|
20292
|
+
# },
|
20293
|
+
# {
|
20294
|
+
# "name": "TokenBigramSplitSymbol"
|
20295
|
+
# },
|
20296
|
+
# {
|
20297
|
+
# "name": "TokenBigramSplitSymbolAlpha"
|
20298
|
+
# },
|
20299
|
+
# {
|
20300
|
+
# "name": "TokenBigramSplitSymbolAlphaDigit"
|
20301
|
+
# },
|
20302
|
+
# {
|
20303
|
+
# "name": "TokenBigramIgnoreBlank"
|
20304
|
+
# },
|
20305
|
+
# {
|
20306
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbol"
|
20307
|
+
# },
|
20308
|
+
# {
|
20309
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlpha"
|
20310
|
+
# },
|
20311
|
+
# {
|
20312
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlphaDigit"
|
20313
|
+
# },
|
20314
|
+
# {
|
20315
|
+
# "name": "TokenDelimitNull"
|
19882
20316
|
# }
|
19883
20317
|
# ]
|
19884
20318
|
# ]
|
@@ -19887,26 +20321,17 @@ tokenize TokenDelimit "Full
|
|
19887
20321
|
.UNINDENT
|
19888
20322
|
.UNINDENT
|
19889
20323
|
.sp
|
19890
|
-
|
19891
|
-
tokenizer. \fBENABLE_TOKENIZED_DELIMITER\fP enables tokenized delimiter.
|
19892
|
-
Tokenized delimiter is special character that indicates token
|
19893
|
-
border. It is \fBU+FFFE\fP\&. The character is not assigned any
|
19894
|
-
character. It means that the character is not appeared in normal
|
19895
|
-
string. So the character is good character for this puropose. If
|
19896
|
-
\fBENABLE_TOKENIZED_DELIMITER\fP is enabled, the target string is
|
19897
|
-
treated as already tokenized string. Tokenizer just tokenizes by
|
19898
|
-
tokenized delimiter.
|
20324
|
+
It returns tokenizers in a database.
|
19899
20325
|
.SS Return value
|
19900
20326
|
.sp
|
19901
|
-
\
|
19902
|
-
|
19903
|
-
the feature:
|
20327
|
+
\fBtokenizer_list\fP command returns tokenizers. Each tokenizers has an attribute
|
20328
|
+
that contains the name. The attribute will be increased in the feature:
|
19904
20329
|
.INDENT 0.0
|
19905
20330
|
.INDENT 3.5
|
19906
20331
|
.sp
|
19907
20332
|
.nf
|
19908
20333
|
.ft C
|
19909
|
-
[HEADER,
|
20334
|
+
[HEADER, tokenizer]
|
19910
20335
|
.ft P
|
19911
20336
|
.fi
|
19912
20337
|
.UNINDENT
|
@@ -19919,10 +20344,10 @@ See \fB/reference/command/output_format\fP about \fBHEADER\fP\&.
|
|
19919
20344
|
.UNINDENT
|
19920
20345
|
.UNINDENT
|
19921
20346
|
.sp
|
19922
|
-
\
|
20347
|
+
\fBtokenizer\fP
|
19923
20348
|
.INDENT 0.0
|
19924
20349
|
.INDENT 3.5
|
19925
|
-
\
|
20350
|
+
\fBtokenizer\fP is an array of tokenizer. Tokenizer is an object that has the following
|
19926
20351
|
attributes.
|
19927
20352
|
.TS
|
19928
20353
|
center;
|
@@ -19935,15 +20360,9 @@ Description
|
|
19935
20360
|
T}
|
19936
20361
|
_
|
19937
20362
|
T{
|
19938
|
-
\
|
19939
|
-
T} T{
|
19940
|
-
Token itself.
|
19941
|
-
T}
|
19942
|
-
_
|
19943
|
-
T{
|
19944
|
-
\fBposition\fP
|
20363
|
+
\fBname\fP
|
19945
20364
|
T} T{
|
19946
|
-
|
20365
|
+
Tokenizer name.
|
19947
20366
|
T}
|
19948
20367
|
_
|
19949
20368
|
.TE
|
@@ -19953,6 +20372,8 @@ _
|
|
19953
20372
|
.INDENT 0.0
|
19954
20373
|
.IP \(bu 2
|
19955
20374
|
\fB/reference/tokenizers\fP
|
20375
|
+
.IP \(bu 2
|
20376
|
+
\fB/reference/commands/tokenize\fP
|
19956
20377
|
.UNINDENT
|
19957
20378
|
.SS \fBtruncate\fP
|
19958
20379
|
.SS Summary
|
@@ -20547,6 +20968,8 @@ Here are data store columns:
|
|
20547
20968
|
\fBcolumns/scalar\fP
|
20548
20969
|
.IP \(bu 2
|
20549
20970
|
\fBcolumns/vector\fP
|
20971
|
+
.IP \(bu 2
|
20972
|
+
\fBcolumns/pseudo\fP
|
20550
20973
|
.UNINDENT
|
20551
20974
|
.UNINDENT
|
20552
20975
|
.UNINDENT
|
@@ -21087,52 +21510,6 @@ loaded only at the plugin load time.
|
|
21087
21510
|
.UNINDENT
|
21088
21511
|
.UNINDENT
|
21089
21512
|
.UNINDENT
|
21090
|
-
.SS 疑似カラム (pseudo_column)
|
21091
|
-
.SS 名前
|
21092
|
-
.sp
|
21093
|
-
疑似カラム
|
21094
|
-
.SS 説明
|
21095
|
-
.sp
|
21096
|
-
Groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義されます。
|
21097
|
-
.sp
|
21098
|
-
これらのカラムはいずれもアンダースコア(\(aq_\(aq)で始まる名前が付与されます。定義される疑似カラムは、テーブルの種類によって異なります。
|
21099
|
-
.sp
|
21100
|
-
\fB_id\fP
|
21101
|
-
.INDENT 0.0
|
21102
|
-
.INDENT 3.5
|
21103
|
-
レコードに付与される一意な番号です。全てのテーブルに定義されます。値の範囲は1〜1073741824の整数で、通常はレコードを追加した順に1ずつ加算されます。_idの値は不変で、レコードが存在する限り変更することはできません。ただし、削除されたレコードの_idの値は再利用されます。
|
21104
|
-
.UNINDENT
|
21105
|
-
.UNINDENT
|
21106
|
-
.sp
|
21107
|
-
\fB_key\fP
|
21108
|
-
.INDENT 0.0
|
21109
|
-
.INDENT 3.5
|
21110
|
-
レコードの主キー値を表します。主キーを持つテーブルのみに定義されます。主キー値はテーブルの中で一意であり、変更することはできません。
|
21111
|
-
.UNINDENT
|
21112
|
-
.UNINDENT
|
21113
|
-
.sp
|
21114
|
-
\fB_value\fP
|
21115
|
-
.INDENT 0.0
|
21116
|
-
.INDENT 3.5
|
21117
|
-
レコードの値を表します。value_typeを指定したテーブルのみに定義されます。自由に変更可能です。
|
21118
|
-
.UNINDENT
|
21119
|
-
.UNINDENT
|
21120
|
-
.sp
|
21121
|
-
\fB_score\fP
|
21122
|
-
.INDENT 0.0
|
21123
|
-
.INDENT 3.5
|
21124
|
-
各レコードのスコア値を表します。検索結果として生成されたテーブルのみに定義されます。
|
21125
|
-
.sp
|
21126
|
-
検索処理を実行する過程で値が設定されますが、自由に変更可能です。
|
21127
|
-
.UNINDENT
|
21128
|
-
.UNINDENT
|
21129
|
-
.sp
|
21130
|
-
\fB_nsubrecs\fP
|
21131
|
-
.INDENT 0.0
|
21132
|
-
.INDENT 3.5
|
21133
|
-
主キーの値が同一であったレコードの件数を表します。検索結果として生成されたテーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。
|
21134
|
-
.UNINDENT
|
21135
|
-
.UNINDENT
|
21136
21513
|
.SS grn_expr
|
21137
21514
|
.sp
|
21138
21515
|
Grn_expr is an object that searches records with specified conditions
|
@@ -21285,11 +21662,14 @@ in ASCII and \fB[backslash]\fP with \fB\e\e\fP\&.)
|
|
21285
21662
|
.UNINDENT
|
21286
21663
|
.UNINDENT
|
21287
21664
|
.sp
|
21288
|
-
You can use quote instead of escape
|
21289
|
-
|
21290
|
-
|
21291
|
-
|
21292
|
-
|
21665
|
+
You can use quote instead of escape special characters except \fB\e\fP
|
21666
|
+
(backslash). You need to use backslash for escaping backslash like
|
21667
|
+
\fB\e\e\fP in quote.
|
21668
|
+
.sp
|
21669
|
+
Quote syntax is \fB"..."\fP or \fB\(aq...\(aq\fP\&. You need escape \fB"\fP as
|
21670
|
+
\fB\e"\fP in \fB"..."\fP quote syntax. You need escape \fB\(aq\fP as \fB\e\(aq\fP in
|
21671
|
+
\fB\(aq...\(aq\fP quote syntax. For example, \fBAlice\(aqs brother (Bob)\fP can be
|
21672
|
+
quoted \fB"Alice\(aqs brother (Bob)"\fP or \fB\(aqAlice\e\(aqs brother (Bob)\(aq\fP\&.
|
21293
21673
|
.sp
|
21294
21674
|
\fBNOTE:\fP
|
21295
21675
|
.INDENT 0.0
|
@@ -28423,7 +28803,7 @@ TODO...
|
|
28423
28803
|
.INDENT 0.0
|
28424
28804
|
.TP
|
28425
28805
|
.B GRN_COLUMN_NAME_ID
|
28426
|
-
It returns the name of \fB/reference/
|
28806
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_id\fP\&.
|
28427
28807
|
.sp
|
28428
28808
|
It is useful to use with \fBGRN_COLUMN_NAME_ID_LEN\fP like
|
28429
28809
|
the following:
|
@@ -28451,7 +28831,7 @@ Since 3.1.1.
|
|
28451
28831
|
.INDENT 0.0
|
28452
28832
|
.TP
|
28453
28833
|
.B GRN_COLUMN_NAME_KEY
|
28454
|
-
It returns the name of \fB/reference/
|
28834
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_key\fP\&.
|
28455
28835
|
.sp
|
28456
28836
|
It is useful to use with \fBGRN_COLUMN_NAME_KEY_LEN\fP like
|
28457
28837
|
the following:
|
@@ -28479,7 +28859,7 @@ Since 3.1.1.
|
|
28479
28859
|
.INDENT 0.0
|
28480
28860
|
.TP
|
28481
28861
|
.B GRN_COLUMN_NAME_VALUE
|
28482
|
-
It returns the name of \fB/reference/
|
28862
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_value\fP\&.
|
28483
28863
|
.sp
|
28484
28864
|
It is useful to use with \fBGRN_COLUMN_NAME_VALUE_LEN\fP like
|
28485
28865
|
the following:
|
@@ -28507,7 +28887,7 @@ Since 3.1.1.
|
|
28507
28887
|
.INDENT 0.0
|
28508
28888
|
.TP
|
28509
28889
|
.B GRN_COLUMN_NAME_SCORE
|
28510
|
-
It returns the name of \fB/reference/
|
28890
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_score\fP\&.
|
28511
28891
|
.sp
|
28512
28892
|
It is useful to use with \fBGRN_COLUMN_NAME_SCORE_LEN\fP like
|
28513
28893
|
the following:
|
@@ -28535,7 +28915,7 @@ Since 3.1.1.
|
|
28535
28915
|
.INDENT 0.0
|
28536
28916
|
.TP
|
28537
28917
|
.B GRN_COLUMN_NAME_NSUBRECS
|
28538
|
-
It returns the name of \fB/reference/
|
28918
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_nsubrecs\fP\&.
|
28539
28919
|
.sp
|
28540
28920
|
It is useful to use with \fBGRN_COLUMN_NAME_NSUBRECS_LEN\fP like
|
28541
28921
|
the following:
|
@@ -29737,7 +30117,7 @@ objのIDに対応するレコードの値を更新します。対応するレコ
|
|
29737
30117
|
.IP \(bu 2
|
29738
30118
|
\fBflags\fP \-\-
|
29739
30119
|
.sp
|
29740
|
-
|
30120
|
+
以下の値を指定できます。
|
29741
30121
|
.INDENT 2.0
|
29742
30122
|
.INDENT 2.0
|
29743
30123
|
.IP \(bu 2
|
@@ -30789,6 +31169,25 @@ objectに登録できるユーザデータへのポインタを返します。ta
|
|
30789
31169
|
.UNINDENT
|
30790
31170
|
.UNINDENT
|
30791
31171
|
.UNINDENT
|
31172
|
+
.SS Plugin
|
31173
|
+
.SS Summary
|
31174
|
+
.sp
|
31175
|
+
Groonga supports plugin. You can create a new plugin with the
|
31176
|
+
following API.
|
31177
|
+
.sp
|
31178
|
+
TOOD: Describe about how to create the minimum plugin here or create a
|
31179
|
+
tutorial about it.
|
31180
|
+
.SS Reference
|
31181
|
+
.INDENT 0.0
|
31182
|
+
.TP
|
31183
|
+
.B grn_obj grn_plugin_proc_get_var(grn_ctx\fI\ *ctx\fP, grn_user_data\fI\ *user_data\fP, const char\fI\ *name\fP, int\fI\ name_size\fP)
|
31184
|
+
TODO...
|
31185
|
+
.UNINDENT
|
31186
|
+
.INDENT 0.0
|
31187
|
+
.TP
|
31188
|
+
.B grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx, grn_user_data *user_data, unsigned int offset);
|
31189
|
+
TODO...
|
31190
|
+
.UNINDENT
|
30792
31191
|
.SH SPECIFICATION
|
30793
31192
|
.SS GQTP
|
30794
31193
|
.sp
|
@@ -31689,7 +32088,7 @@ Add the following \fBbefore_install\fP configuration to \fB\&.travis.yml\fP:
|
|
31689
32088
|
.nf
|
31690
32089
|
.ft C
|
31691
32090
|
before_install:
|
31692
|
-
\- curl https://
|
32091
|
+
\- curl \-\-silent \-\-location https://github.com/groonga/groonga/raw/master/data/travis/setup.sh | sh
|
31693
32092
|
.ft P
|
31694
32093
|
.fi
|
31695
32094
|
.UNINDENT
|
@@ -31778,13 +32177,111 @@ Please send a mail that describes a bug.
|
|
31778
32177
|
.SS How to contribute in documentation topics
|
31779
32178
|
.sp
|
31780
32179
|
We use \fI\%Sphinx\fP for documentation tool.
|
31781
|
-
.SS
|
32180
|
+
.SS Introduction
|
31782
32181
|
.sp
|
31783
|
-
|
31784
|
-
|
31785
|
-
|
32182
|
+
This documentation describes about how to write, generate and manage
|
32183
|
+
Groonga documentation.
|
32184
|
+
.SS Install depended softwares
|
31786
32185
|
.sp
|
31787
|
-
|
32186
|
+
Groonga uses \fI\%Sphinx\fP as documentation tool. Groonga requires newer
|
32187
|
+
Sphinx. So Groonga clones the latest Sphinx from Sphinx repository
|
32188
|
+
automatically. You need only \fI\%Mercurial\fP, \fI\%Docutils\fP and \fI\%Jinja\fP\&.
|
32189
|
+
.sp
|
32190
|
+
Here are command lines to install needed softwares.
|
32191
|
+
.sp
|
32192
|
+
Debian GNU/Linux, Ubuntu:
|
32193
|
+
.INDENT 0.0
|
32194
|
+
.INDENT 3.5
|
32195
|
+
.sp
|
32196
|
+
.nf
|
32197
|
+
.ft C
|
32198
|
+
% sudo apt\-get install \-V \-y mercurial python\-docutils python\-jinja2
|
32199
|
+
.ft P
|
32200
|
+
.fi
|
32201
|
+
.UNINDENT
|
32202
|
+
.UNINDENT
|
32203
|
+
.sp
|
32204
|
+
CentOS, Fedora:
|
32205
|
+
.INDENT 0.0
|
32206
|
+
.INDENT 3.5
|
32207
|
+
.sp
|
32208
|
+
.nf
|
32209
|
+
.ft C
|
32210
|
+
% sudo yum install \-y mercurial python\-docutils python\-jinja2
|
32211
|
+
.ft P
|
32212
|
+
.fi
|
32213
|
+
.UNINDENT
|
32214
|
+
.UNINDENT
|
32215
|
+
.sp
|
32216
|
+
OS X:
|
32217
|
+
.INDENT 0.0
|
32218
|
+
.INDENT 3.5
|
32219
|
+
.sp
|
32220
|
+
.nf
|
32221
|
+
.ft C
|
32222
|
+
% brew install mercurial
|
32223
|
+
% pip install docutils
|
32224
|
+
% pip install jinja
|
32225
|
+
.ft P
|
32226
|
+
.fi
|
32227
|
+
.UNINDENT
|
32228
|
+
.UNINDENT
|
32229
|
+
.SS Run \fBconfigure\fP with \fB\-\-enable\-document\fP
|
32230
|
+
.sp
|
32231
|
+
Groonga disables documentation generation by default. You need to
|
32232
|
+
enable it explicitly by adding \fB\-\-enable\-document\fP option to
|
32233
|
+
\fBconfigure\fP:
|
32234
|
+
.INDENT 0.0
|
32235
|
+
.INDENT 3.5
|
32236
|
+
.sp
|
32237
|
+
.nf
|
32238
|
+
.ft C
|
32239
|
+
% ./configure \-\-enable\-document
|
32240
|
+
.ft P
|
32241
|
+
.fi
|
32242
|
+
.UNINDENT
|
32243
|
+
.UNINDENT
|
32244
|
+
.sp
|
32245
|
+
Now, your Groonga build is documentation ready.
|
32246
|
+
.SS Generate HTML
|
32247
|
+
.sp
|
32248
|
+
You can generate HTML by the following command:
|
32249
|
+
.INDENT 0.0
|
32250
|
+
.INDENT 3.5
|
32251
|
+
.sp
|
32252
|
+
.nf
|
32253
|
+
.ft C
|
32254
|
+
% make \-C doc html
|
32255
|
+
.ft P
|
32256
|
+
.fi
|
32257
|
+
.UNINDENT
|
32258
|
+
.UNINDENT
|
32259
|
+
.sp
|
32260
|
+
You can find generated HTML documentation at \fBdoc/locale/en/html/\fP\&.
|
32261
|
+
.SS Update
|
32262
|
+
.sp
|
32263
|
+
You can find sources of documentation at \fBdoc/source/\fP\&. The sources
|
32264
|
+
should be written in English. See \fBi18n\fP about how to translate
|
32265
|
+
documentation.
|
32266
|
+
.sp
|
32267
|
+
You can update the target file when you update the existing
|
32268
|
+
documentation file.
|
32269
|
+
.sp
|
32270
|
+
You need to update file list after you add a new file, change file
|
32271
|
+
path and delete existing file. You can update file list by the
|
32272
|
+
following command:
|
32273
|
+
.INDENT 0.0
|
32274
|
+
.INDENT 3.5
|
32275
|
+
.sp
|
32276
|
+
.nf
|
32277
|
+
.ft C
|
32278
|
+
% make \-C doc update\-files
|
32279
|
+
.ft P
|
32280
|
+
.fi
|
32281
|
+
.UNINDENT
|
32282
|
+
.UNINDENT
|
32283
|
+
.sp
|
32284
|
+
The command updates \fBdoc/files.am\fP\&.
|
31788
32285
|
.SS I18N
|
31789
32286
|
.sp
|
31790
32287
|
We only had documentation in Japanese. We start to support
|
@@ -32057,7 +32554,14 @@ as \(aqja\(aq.
|
|
32057
32554
|
\fI\%Codes for the Representation of Names of Languages\fP\&.
|
32058
32555
|
.UNINDENT
|
32059
32556
|
.UNINDENT
|
32060
|
-
.SS
|
32557
|
+
.SS C API
|
32558
|
+
.sp
|
32559
|
+
We still have C API documentation in include/groonga.h. But
|
32560
|
+
we want to move them into doc/source/c\-api/*.txt. We welcome
|
32561
|
+
to you help us by moving C API documentation.
|
32562
|
+
.sp
|
32563
|
+
We will use \fI\%the C domain markup\fP of Sphinx.
|
32564
|
+
.SS Groonga開発者向け情報
|
32061
32565
|
.SS Repository
|
32062
32566
|
.sp
|
32063
32567
|
There is \fI\%the repository of groonga on GitHub\fP\&. If you want to check\-out groonga, type the below command:
|
@@ -32173,66 +32677,6 @@ Groonga関連で気軽につぶやけないとなると開発者は困ってい
|
|
32173
32677
|
.SS 対応
|
32174
32678
|
.sp
|
32175
32679
|
twitterでやりとりを完結できるようにします。
|
32176
|
-
.SS ドキュメント作成
|
32177
|
-
.SS Sphinxのインストール
|
32178
|
-
.sp
|
32179
|
-
Groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは以下のように導入します。:
|
32180
|
-
.INDENT 0.0
|
32181
|
-
.INDENT 3.5
|
32182
|
-
.sp
|
32183
|
-
.nf
|
32184
|
-
.ft C
|
32185
|
-
# aptitude install python\-setuptools
|
32186
|
-
# easy_install \-U sphinx
|
32187
|
-
.ft P
|
32188
|
-
.fi
|
32189
|
-
.UNINDENT
|
32190
|
-
.UNINDENT
|
32191
|
-
.SS htmlの作成
|
32192
|
-
.sp
|
32193
|
-
以下のコマンドでhtmlが作成されます。:
|
32194
|
-
.INDENT 0.0
|
32195
|
-
.INDENT 3.5
|
32196
|
-
.sp
|
32197
|
-
.nf
|
32198
|
-
.ft C
|
32199
|
-
% make html
|
32200
|
-
.ft P
|
32201
|
-
.fi
|
32202
|
-
.UNINDENT
|
32203
|
-
.UNINDENT
|
32204
|
-
.sp
|
32205
|
-
This document is also ditributed in forms of release source archive and updated time to time.
|
32206
|
-
If you want to refer latest documentation in source form, you can view such files via GitHub repository browser (\fI\%https://github.com/groonga/groonga/tree/master/doc/source\fP).
|
32207
|
-
.SS pdfの作成
|
32208
|
-
.sp
|
32209
|
-
Groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント(IPA Gothic/IPAexGothic)が必要となります。
|
32210
|
-
.SS rst2pdfのインストール
|
32211
|
-
.sp
|
32212
|
-
以下のようにしてインストールできます。:
|
32213
|
-
.INDENT 0.0
|
32214
|
-
.INDENT 3.5
|
32215
|
-
.sp
|
32216
|
-
.nf
|
32217
|
-
.ft C
|
32218
|
-
# easy_install rst2pdf
|
32219
|
-
.ft P
|
32220
|
-
.fi
|
32221
|
-
.UNINDENT
|
32222
|
-
.UNINDENT
|
32223
|
-
.SS pdfの作成
|
32224
|
-
.sp
|
32225
|
-
以下のコマンドでpdfが作成されます。:
|
32226
|
-
.INDENT 0.0
|
32227
|
-
.INDENT 3.5
|
32228
|
-
.sp
|
32229
|
-
.nf
|
32230
|
-
.ft C
|
32231
|
-
% make pdf
|
32232
|
-
.ft P
|
32233
|
-
.fi
|
32234
|
-
.UNINDENT
|
32235
|
-
.UNINDENT
|
32236
32680
|
.SS クエリの実現
|
32237
32681
|
.sp
|
32238
32682
|
Groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をGroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、Groongaは複数の手段を用意しています。
|