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
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.1. 基本的な操作 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.1. 基本的な操作 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.2. リモートアクセス" href="network.html" />
|
32
32
|
<link rel="prev" title="4. チュートリアル" href="../tutorial.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="../tutorial.html" title="4. チュートリアル"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -1078,7 +1078,7 @@ select --table Site --offset 7 --limit 3
|
|
1078
1078
|
<li class="right" >
|
1079
1079
|
<a href="../tutorial.html" title="4. チュートリアル"
|
1080
1080
|
>前へ</a> |</li>
|
1081
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
1081
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
1082
1082
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
1083
1083
|
</ul>
|
1084
1084
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.9. 全文検索の語彙表に対する追加情報 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.9. 全文検索の語彙表に対する追加情報 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
32
32
|
<link rel="prev" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
<li class="right" >
|
126
126
|
<a href="patricia_trie.html" title="4.8. パトリシア木による前方一致検索"
|
127
127
|
>前へ</a> |</li>
|
128
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
128
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
129
129
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
130
130
|
</ul>
|
131
131
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.7. match_columnsパラメータ — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.7. match_columnsパラメータ — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.8. パトリシア木による前方一致検索" href="patricia_trie.html" />
|
32
32
|
<link rel="prev" title="4.6. タグ検索・参照関係の逆引き" href="index.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -743,7 +743,7 @@ select Articles2 --match_columns comment.comment.content --query mroonga --outpu
|
|
743
743
|
<li class="right" >
|
744
744
|
<a href="index.html" title="4.6. タグ検索・参照関係の逆引き"
|
745
745
|
>前へ</a> |</li>
|
746
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
746
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
747
747
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
748
748
|
</ul>
|
749
749
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.10. マイクロブログ検索システムの作成 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.10. マイクロブログ検索システムの作成 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.11. クエリ拡張" href="query_expansion.html" />
|
32
32
|
<link rel="prev" title="4.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -1024,7 +1024,7 @@ load --table Comments
|
|
1024
1024
|
<li class="right" >
|
1025
1025
|
<a href="lexicon.html" title="4.9. 全文検索の語彙表に対する追加情報"
|
1026
1026
|
>前へ</a> |</li>
|
1027
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
1027
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
1028
1028
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
1029
1029
|
</ul>
|
1030
1030
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.2. リモートアクセス — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.2. リモートアクセス — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.3. いろいろなデータの保存" href="data.html" />
|
32
32
|
<link rel="prev" title="4.1. 基本的な操作" href="introduction.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -358,7 +358,7 @@ select --table Site --query title:@this
|
|
358
358
|
<li class="right" >
|
359
359
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
360
360
|
>前へ</a> |</li>
|
361
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
361
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
362
362
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
363
363
|
</ul>
|
364
364
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.8. パトリシア木による前方一致検索 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.8. パトリシア木による前方一致検索 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
|
32
32
|
<link rel="prev" title="4.7. match_columnsパラメータ" href="match_columns.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -292,7 +292,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
292
292
|
<li class="right" >
|
293
293
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
294
294
|
>前へ</a> |</li>
|
295
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
295
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
296
296
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
297
297
|
</ul>
|
298
298
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.11. クエリ拡張 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.11. クエリ拡張 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="5. サジェスト" href="../suggest.html" />
|
32
32
|
<link rel="prev" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -326,7 +326,7 @@ select Doc --match_columns body --query "シークヮーサー" --quer
|
|
326
326
|
<li class="right" >
|
327
327
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
328
328
|
>前へ</a> |</li>
|
329
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
329
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
330
330
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
331
331
|
</ul>
|
332
332
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.4. さまざまな検索条件の指定 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>4.4. さまざまな検索条件の指定 — Groonga v4.0.1-127-g9422d50ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.5. ドリルダウン" href="drilldown.html" />
|
32
32
|
<link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -610,7 +610,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
610
610
|
<li class="right" >
|
611
611
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
612
612
|
>前へ</a> |</li>
|
613
|
-
<li><a href="../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
613
|
+
<li><a href="../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
614
614
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
615
615
|
</ul>
|
616
616
|
</div>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -13,7 +13,6 @@
|
|
13
13
|
<link rel="stylesheet" type="text/css" href="css/redmond/jquery-ui-1.8.18.custom.css">
|
14
14
|
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
|
15
15
|
<script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
|
16
|
-
<script type="text/javascript" src="js/jquery.json-2.2.min.js"></script>
|
17
16
|
<script type="text/javascript" src="js/jquery.flot-0.7.min.js"></script>
|
18
17
|
<script type="text/javascript" src="js/groonga-admin.js"></script>
|
19
18
|
</head>
|
@@ -1,5 +1,7 @@
|
|
1
1
|
// -*- js2-basic-offset: 2; indent-tabs-mode: nil -*-
|
2
2
|
|
3
|
+
"use strict";
|
4
|
+
|
3
5
|
function prim2html(prim, limit) {
|
4
6
|
switch(typeof prim) {
|
5
7
|
case 'undefined':
|
@@ -33,7 +35,7 @@ function escapeHTML(str) {
|
|
33
35
|
.replace(/</g, "<")
|
34
36
|
.replace(/>/g, ">");
|
35
37
|
}
|
36
|
-
Groonga = {
|
38
|
+
var Groonga = {
|
37
39
|
key_type_list: ['Int8', 'UInt8', 'Int16', 'UInt16', 'Int32', 'UInt32',
|
38
40
|
'Int64', 'UInt64', 'Float', 'Time', 'ShortText',
|
39
41
|
'TokyoGeoPoint', 'WGS84GeoPoint'],
|
@@ -788,8 +790,8 @@ jQuery.extend(GroongaAdmin.prototype, {
|
|
788
790
|
var all_count = recs.shift()[0];
|
789
791
|
var pager;
|
790
792
|
if (show_pager) {
|
791
|
-
offset = params['offset'] || 0;
|
792
|
-
rows = params['limit'] || 10;
|
793
|
+
var offset = params['offset'] || 0;
|
794
|
+
var rows = params['limit'] || 10;
|
793
795
|
if (rows < 0){
|
794
796
|
rows = all_count + parseInt(rows) + 1;
|
795
797
|
}
|
@@ -1064,7 +1066,7 @@ jQuery.extend(GroongaAdmin.prototype, {
|
|
1064
1066
|
});
|
1065
1067
|
flags |= Groonga[$('#createcolumn-column-type').val()];
|
1066
1068
|
flags |= Groonga[$('#createcolumn-column-compress').val()];
|
1067
|
-
d = {
|
1069
|
+
var d = {
|
1068
1070
|
table: this.current_table,
|
1069
1071
|
name: $('#createcolumn-name').val(),
|
1070
1072
|
'flags': flags,
|
@@ -1127,7 +1129,7 @@ jQuery.extend(GroongaAdmin.prototype, {
|
|
1127
1129
|
"table" : this.current_table,
|
1128
1130
|
"input_type" : "json",
|
1129
1131
|
"output_type" : "json",
|
1130
|
-
"values" :
|
1132
|
+
"values" : JSON.stringify([d])
|
1131
1133
|
},
|
1132
1134
|
dataType: 'json',
|
1133
1135
|
success: function(d) {
|
@@ -1305,7 +1307,7 @@ jQuery.extend(GroongaAdmin.prototype, {
|
|
1305
1307
|
$(".ui-widget-overlay").css("opacity", "0.0");
|
1306
1308
|
},
|
1307
1309
|
hideloading: function() {
|
1308
|
-
for ( i = 0; i < this.semaphore.length; i++) {
|
1310
|
+
for (var i = 0; i < this.semaphore.length; i++) {
|
1309
1311
|
if ( this.semaphore[i].readyState == 4) {
|
1310
1312
|
this.semaphore.splice(i, 1);
|
1311
1313
|
i--;
|
@@ -1320,10 +1322,10 @@ jQuery.extend(GroongaAdmin.prototype, {
|
|
1320
1322
|
var that = this;
|
1321
1323
|
var json = null;
|
1322
1324
|
if (ajax) {
|
1323
|
-
json =
|
1325
|
+
json = JSON.parse(ajax.responseText);
|
1324
1326
|
}
|
1325
1327
|
this.hideloading();
|
1326
|
-
for ( i = 0; i < this.semaphore.length; i++) {
|
1328
|
+
for (var i = 0; i < this.semaphore.length; i++) {
|
1327
1329
|
this.semaphore[i].abort();
|
1328
1330
|
this.semaphore.splice(i, 1);
|
1329
1331
|
i--;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Man page generated from reStructuredText.
|
2
2
|
.
|
3
|
-
.TH "GROONGA" "1" "2014 年
|
3
|
+
.TH "GROONGA" "1" "2014 年 05 月 29 日" "4.0.2" "Groonga"
|
4
4
|
.SH NAME
|
5
5
|
groonga \- Groonga documentation
|
6
6
|
.
|
@@ -76,10 +76,10 @@ Groonga では転置索引を応用して高速な位置情報検索を実現し
|
|
76
76
|
Groonga の基本機能は C ライブラリとして提供されているので、任意のアプリケーションに組み込んで利用することができます。C/C++ 以外については、Ruby から Groonga を利用するライブラリなどが関連プロジェクトにおいて提供されています。詳しくは \fI\%関連プロジェクト\fP を参照してください。
|
77
77
|
.SS Groonga サーバ
|
78
78
|
.sp
|
79
|
-
Groonga にはサーバ機能があるため、レンタルサーバなどの新しいライブラリをインストールできない環境においても利用できます。対応しているのは HTTP, memcached binary
|
80
|
-
.SS
|
79
|
+
Groonga にはサーバ機能があるため、レンタルサーバなどの新しいライブラリをインストールできない環境においても利用できます。対応しているのは HTTP, memcached binary プロトコル、および Groonga の独自プロトコルである GQTP(Groonga Query Transfer Protocol) です。サーバとして利用するときはクエリのキャッシュ機能が有効になるため、同じクエリを受け取ったときは応答時間が短くなるという特徴があります。
|
80
|
+
.SS Mroonga ストレージエンジン
|
81
81
|
.sp
|
82
|
-
Groonga は独自のカラムストアを持つ列指向のデータベースとしての側面を持っていますが、既存の RDBMS のストレージエンジンとして利用することもできます。たとえば、Groonga をベースとする MySQL のストレージエンジンとして \fI\%
|
82
|
+
Groonga は独自のカラムストアを持つ列指向のデータベースとしての側面を持っていますが、既存の RDBMS のストレージエンジンとして利用することもできます。たとえば、Groonga をベースとする MySQL のストレージエンジンとして \fI\%Mroonga\fP が開発されています。Mroonga は MySQL のプラグインとして動的にロードすることが可能であり、Groonga のカラムストアをストレージとして利用したり、全文検索エンジンとして Groonga を MyISAM や InnoDB と連携させたりすることができます。Groonga 単体での利用、および MyISAM, InnoDB との連携には一長一短があるので、用途に応じて適切な組み合わせを選ぶことが大切です。詳しくは \fI\%関連プロジェクト\fP を参照してください。
|
83
83
|
.SH インストール
|
84
84
|
.sp
|
85
85
|
このセクションではGroongaのインストール方法を環境毎に説明します。主要なプラットフォームにはパッケージがあります。自分でGroongaをビルドするよりもパッケージを使うことを推奨します。しかし、心配しないでください。ソースからGroongaをビルドするためのドキュメントもあります。
|
@@ -97,7 +97,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
97
97
|
.INDENT 3.5
|
98
98
|
.INDENT 0.0
|
99
99
|
.IP \(bu 2
|
100
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
100
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x86.exe\fP
|
101
101
|
.UNINDENT
|
102
102
|
.UNINDENT
|
103
103
|
.UNINDENT
|
@@ -109,7 +109,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
109
109
|
.INDENT 3.5
|
110
110
|
.INDENT 0.0
|
111
111
|
.IP \(bu 2
|
112
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
112
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x64.exe\fP
|
113
113
|
.UNINDENT
|
114
114
|
.UNINDENT
|
115
115
|
.UNINDENT
|
@@ -124,7 +124,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
124
124
|
.INDENT 3.5
|
125
125
|
.INDENT 0.0
|
126
126
|
.IP \(bu 2
|
127
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
127
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x86.zip\fP
|
128
128
|
.UNINDENT
|
129
129
|
.UNINDENT
|
130
130
|
.UNINDENT
|
@@ -136,7 +136,7 @@ Groonga は独自のカラムストアを持つ列指向のデータベースと
|
|
136
136
|
.INDENT 3.5
|
137
137
|
.INDENT 0.0
|
138
138
|
.IP \(bu 2
|
139
|
-
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.
|
139
|
+
\fI\%http://packages.groonga.org/windows/groonga/groonga\-4.0.2\-x64.zip\fP
|
140
140
|
.UNINDENT
|
141
141
|
.UNINDENT
|
142
142
|
.UNINDENT
|
@@ -163,7 +163,7 @@ zipアーカイブをpackages.groonga.orgからダウンロードしてくださ
|
|
163
163
|
.INDENT 3.5
|
164
164
|
.INDENT 0.0
|
165
165
|
.IP \(bu 2
|
166
|
-
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.
|
166
|
+
\fI\%http://packages.groonga.org/source/groonga/groonga\-4.0.2.zip\fP
|
167
167
|
.UNINDENT
|
168
168
|
.UNINDENT
|
169
169
|
.UNINDENT
|
@@ -176,7 +176,7 @@ Groongaのソースフォルダへと移動します:
|
|
176
176
|
.sp
|
177
177
|
.nf
|
178
178
|
.ft C
|
179
|
-
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.
|
179
|
+
> cd c:\eUsers\e%USERNAME%\eDownloads\egroonga\-4.0.2
|
180
180
|
.ft P
|
181
181
|
.fi
|
182
182
|
.UNINDENT
|
@@ -188,7 +188,7 @@ Groongaのソースフォルダへと移動します:
|
|
188
188
|
.sp
|
189
189
|
.nf
|
190
190
|
.ft C
|
191
|
-
groonga\-4.0.
|
191
|
+
groonga\-4.0.2> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\egroonga
|
192
192
|
.ft P
|
193
193
|
.fi
|
194
194
|
.UNINDENT
|
@@ -200,7 +200,7 @@ groonga\-4.0.1> cmake . \-G "Visual Studio 10 Win64" \-DCMAKE_INSTALL_PREFIX=C:\
|
|
200
200
|
.sp
|
201
201
|
.nf
|
202
202
|
.ft C
|
203
|
-
groonga\-4.0.
|
203
|
+
groonga\-4.0.2> cmake \-\-build . \-\-config Release
|
204
204
|
.ft P
|
205
205
|
.fi
|
206
206
|
.UNINDENT
|
@@ -212,7 +212,7 @@ groonga\-4.0.1> cmake \-\-build . \-\-config Release
|
|
212
212
|
.sp
|
213
213
|
.nf
|
214
214
|
.ft C
|
215
|
-
groonga\-4.0.
|
215
|
+
groonga\-4.0.2> cmake \-\-build . \-\-config Release \-\-target Install
|
216
216
|
.ft P
|
217
217
|
.fi
|
218
218
|
.UNINDENT
|
@@ -222,8 +222,6 @@ groonga\-4.0.1> cmake \-\-build . \-\-config Release \-\-target Install
|
|
222
222
|
.SS Mac OS X
|
223
223
|
.sp
|
224
224
|
このセクションではMac OS X上でGroongaをインストールする方法を説明します。 \fI\%MacPorts\fP か \fI\%Homebrew\fP を使ってインストールできます。
|
225
|
-
.sp
|
226
|
-
32\-bit用と64\-bit用のパッケージを配布していますが、サーバ用途には64\-bitパッケージを利用することをオススメします。32\-bit用パッケージはテスト用か開発用にだけ使って下さい。32\-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。
|
227
225
|
.SS MacPorts
|
228
226
|
.sp
|
229
227
|
インストール:
|
@@ -250,6 +248,18 @@ groonga\-4.0.1> cmake \-\-build . \-\-config Release \-\-target Install
|
|
250
248
|
.fi
|
251
249
|
.UNINDENT
|
252
250
|
.UNINDENT
|
251
|
+
.sp
|
252
|
+
\fI\%MeCab\fP をトークナイザーとして使いたいときは、 \fB\-\-with\-mecab\fP オプションを指定してください。
|
253
|
+
.INDENT 0.0
|
254
|
+
.INDENT 3.5
|
255
|
+
.sp
|
256
|
+
.nf
|
257
|
+
.ft C
|
258
|
+
% brew install groonga \-\-with\-mecab
|
259
|
+
.ft P
|
260
|
+
.fi
|
261
|
+
.UNINDENT
|
262
|
+
.UNINDENT
|
253
263
|
.SS ソースからビルド
|
254
264
|
.sp
|
255
265
|
\fI\%Xcode\fP をインストールしてください。
|
@@ -260,9 +270,9 @@ groonga\-4.0.1> cmake \-\-build . \-\-config Release \-\-target Install
|
|
260
270
|
.sp
|
261
271
|
.nf
|
262
272
|
.ft C
|
263
|
-
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.
|
264
|
-
% tar xvzf groonga\-4.0.
|
265
|
-
% cd groonga\-4.0.
|
273
|
+
% curl \-O http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
274
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
275
|
+
% cd groonga\-4.0.2
|
266
276
|
.ft P
|
267
277
|
.fi
|
268
278
|
.UNINDENT
|
@@ -351,9 +361,9 @@ deb\-src http://packages.groonga.org/debian/ wheezy main
|
|
351
361
|
.nf
|
352
362
|
.ft C
|
353
363
|
% sudo apt\-get update
|
354
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated
|
364
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
355
365
|
% sudo apt\-get update
|
356
|
-
% sudo apt\-get \-y
|
366
|
+
% sudo apt\-get install \-y \-V groonga
|
357
367
|
.ft P
|
358
368
|
.fi
|
359
369
|
.UNINDENT
|
@@ -367,7 +377,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
367
377
|
.sp
|
368
378
|
.nf
|
369
379
|
.ft C
|
370
|
-
% sudo
|
380
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
371
381
|
.ft P
|
372
382
|
.fi
|
373
383
|
.UNINDENT
|
@@ -381,7 +391,7 @@ groonga\-munin\-pluginsパッケージのインストール:
|
|
381
391
|
.sp
|
382
392
|
.nf
|
383
393
|
.ft C
|
384
|
-
% sudo
|
394
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
385
395
|
.ft P
|
386
396
|
.fi
|
387
397
|
.UNINDENT
|
@@ -395,7 +405,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
395
405
|
.sp
|
396
406
|
.nf
|
397
407
|
.ft C
|
398
|
-
% sudo
|
408
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
399
409
|
.ft P
|
400
410
|
.fi
|
401
411
|
.UNINDENT
|
@@ -424,9 +434,9 @@ deb\-src http://packages.groonga.org/debian/ jessie main
|
|
424
434
|
.nf
|
425
435
|
.ft C
|
426
436
|
% sudo apt\-get update
|
427
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated
|
437
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
428
438
|
% sudo apt\-get update
|
429
|
-
% sudo apt\-get \-y
|
439
|
+
% sudo apt\-get install \-y groonga
|
430
440
|
.ft P
|
431
441
|
.fi
|
432
442
|
.UNINDENT
|
@@ -440,7 +450,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
440
450
|
.sp
|
441
451
|
.nf
|
442
452
|
.ft C
|
443
|
-
% sudo
|
453
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
444
454
|
.ft P
|
445
455
|
.fi
|
446
456
|
.UNINDENT
|
@@ -454,7 +464,7 @@ groonga\-munin\-pluginsパッケージのインストール:
|
|
454
464
|
.sp
|
455
465
|
.nf
|
456
466
|
.ft C
|
457
|
-
% sudo
|
467
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
458
468
|
.ft P
|
459
469
|
.fi
|
460
470
|
.UNINDENT
|
@@ -468,7 +478,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
468
478
|
.sp
|
469
479
|
.nf
|
470
480
|
.ft C
|
471
|
-
% sudo
|
481
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
472
482
|
.ft P
|
473
483
|
.fi
|
474
484
|
.UNINDENT
|
@@ -496,10 +506,10 @@ deb\-src http://packages.groonga.org/debian/ unstable main
|
|
496
506
|
.sp
|
497
507
|
.nf
|
498
508
|
.ft C
|
499
|
-
% sudo
|
500
|
-
% sudo
|
501
|
-
% sudo
|
502
|
-
% sudo
|
509
|
+
% sudo apt\-get update
|
510
|
+
% sudo apt\-get install \-y \-\-allow\-unauthenticated groonga\-keyring
|
511
|
+
% sudo apt\-get update
|
512
|
+
% sudo apt\-get install \-y \-V groonga
|
503
513
|
.ft P
|
504
514
|
.fi
|
505
515
|
.UNINDENT
|
@@ -513,7 +523,7 @@ groonga\-tokenizer\-mecabパッケージのインストール:
|
|
513
523
|
.sp
|
514
524
|
.nf
|
515
525
|
.ft C
|
516
|
-
% sudo
|
526
|
+
% sudo apt\-get install \-y \-V groonga\-tokenizer\-mecab
|
517
527
|
.ft P
|
518
528
|
.fi
|
519
529
|
.UNINDENT
|
@@ -527,7 +537,7 @@ groonga\-munin\-pluginsパッケージのインストール:
|
|
527
537
|
.sp
|
528
538
|
.nf
|
529
539
|
.ft C
|
530
|
-
% sudo
|
540
|
+
% sudo apt\-get install \-y \-V groonga\-munin\-plugins
|
531
541
|
.ft P
|
532
542
|
.fi
|
533
543
|
.UNINDENT
|
@@ -541,7 +551,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
541
551
|
.sp
|
542
552
|
.nf
|
543
553
|
.ft C
|
544
|
-
% sudo
|
554
|
+
% sudo apt\-get install \-y \-V groonga\-normalizer\-mysql
|
545
555
|
.ft P
|
546
556
|
.fi
|
547
557
|
.UNINDENT
|
@@ -554,7 +564,7 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
554
564
|
.sp
|
555
565
|
.nf
|
556
566
|
.ft C
|
557
|
-
% sudo
|
567
|
+
% sudo apt\-get install \-y \-V wget tar build\-essential zlib1g\-dev liblzo2\-dev libmsgpack\-dev libzmq\-dev libevent\-dev libmecab\-dev
|
558
568
|
.ft P
|
559
569
|
.fi
|
560
570
|
.UNINDENT
|
@@ -566,9 +576,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
566
576
|
.sp
|
567
577
|
.nf
|
568
578
|
.ft C
|
569
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
570
|
-
% tar xvzf groonga\-4.0.
|
571
|
-
% cd groonga\-4.0.
|
579
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
580
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
581
|
+
% cd groonga\-4.0.2
|
572
582
|
.ft P
|
573
583
|
.fi
|
574
584
|
.UNINDENT
|
@@ -633,291 +643,45 @@ groonga\-server\-gqtp (GQTPサーバー)
|
|
633
643
|
詳細は \fB/server\fP を参照してください。
|
634
644
|
.UNINDENT
|
635
645
|
.UNINDENT
|
636
|
-
.SS
|
637
|
-
.sp
|
638
|
-
\fBノート:\fP
|
639
|
-
.INDENT 0.0
|
640
|
-
.INDENT 3.5
|
641
|
-
Groongaをインストールするためにuniverseリポジトリを有効にしてください:
|
642
|
-
.INDENT 0.0
|
643
|
-
.INDENT 3.5
|
644
|
-
.sp
|
645
|
-
.nf
|
646
|
-
.ft C
|
647
|
-
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
648
|
-
% sudo sed \-i\(aq\(aq \-e \(aqs/main/universe/\(aq /etc/apt/sources.list.d/universe.list
|
649
|
-
.ft P
|
650
|
-
.fi
|
651
|
-
.UNINDENT
|
652
|
-
.UNINDENT
|
653
|
-
.UNINDENT
|
654
|
-
.UNINDENT
|
655
|
-
.sp
|
656
|
-
Groongaのaptリポジトリを追加します。
|
657
|
-
.sp
|
658
|
-
/etc/apt/sources.list.d/groonga.list:
|
659
|
-
.INDENT 0.0
|
660
|
-
.INDENT 3.5
|
661
|
-
.sp
|
662
|
-
.nf
|
663
|
-
.ft C
|
664
|
-
deb http://packages.groonga.org/ubuntu/ precise universe
|
665
|
-
deb\-src http://packages.groonga.org/ubuntu/ precise universe
|
666
|
-
.ft P
|
667
|
-
.fi
|
668
|
-
.UNINDENT
|
669
|
-
.UNINDENT
|
670
|
-
.sp
|
671
|
-
インストール:
|
672
|
-
.INDENT 0.0
|
673
|
-
.INDENT 3.5
|
674
|
-
.sp
|
675
|
-
.nf
|
676
|
-
.ft C
|
677
|
-
% sudo apt\-get update
|
678
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
679
|
-
% sudo apt\-get update
|
680
|
-
% sudo apt\-get \-y install groonga
|
681
|
-
.ft P
|
682
|
-
.fi
|
683
|
-
.UNINDENT
|
684
|
-
.UNINDENT
|
646
|
+
.SS PPA(Personal Package Archive)
|
685
647
|
.sp
|
686
|
-
|
648
|
+
Ubuntu用のGroongaのAPTリポジトリーはLaunchpad上のPPA(Personal Package Archive)を使っています。このPPAからAPTでGroongaをインストールできます。
|
687
649
|
.sp
|
688
|
-
|
650
|
+
サポートしているUbuntuのバージョンは次の通りです。
|
689
651
|
.INDENT 0.0
|
690
652
|
.INDENT 3.5
|
691
|
-
.sp
|
692
|
-
.nf
|
693
|
-
.ft C
|
694
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
695
|
-
.ft P
|
696
|
-
.fi
|
697
|
-
.UNINDENT
|
698
|
-
.UNINDENT
|
699
|
-
.sp
|
700
|
-
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
701
|
-
.sp
|
702
|
-
groonga\-munin\-pluginsパッケージのインストール:
|
703
653
|
.INDENT 0.0
|
704
|
-
.
|
705
|
-
.
|
706
|
-
.
|
707
|
-
.
|
708
|
-
|
709
|
-
.
|
710
|
-
.fi
|
711
|
-
.UNINDENT
|
712
|
-
.UNINDENT
|
713
|
-
.sp
|
714
|
-
MySQL互換のノーマライザーをGroongaのプラグインとして提供するパッケージがあります。MySQL互換のノーマライザーを使うには \fBgroonga\-normalizer\-mysql\fP パッケージをインストールしてください。
|
715
|
-
.sp
|
716
|
-
groonga\-normalizer\-mysqlパッケージのインストール:
|
717
|
-
.INDENT 0.0
|
718
|
-
.INDENT 3.5
|
719
|
-
.sp
|
720
|
-
.nf
|
721
|
-
.ft C
|
722
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
723
|
-
.ft P
|
724
|
-
.fi
|
725
|
-
.UNINDENT
|
726
|
-
.UNINDENT
|
727
|
-
.SS 12.10 Quantal Quetzal
|
728
|
-
.sp
|
729
|
-
\fBノート:\fP
|
730
|
-
.INDENT 0.0
|
731
|
-
.INDENT 3.5
|
732
|
-
Groongaをインストールするためにuniverseリポジトリを有効にしてください:
|
733
|
-
.INDENT 0.0
|
734
|
-
.INDENT 3.5
|
735
|
-
.sp
|
736
|
-
.nf
|
737
|
-
.ft C
|
738
|
-
% sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/universe.list
|
739
|
-
% sudo sed \-i\(aq\(aq \-e \(aqs/main/universe/\(aq /etc/apt/sources.list.d/universe.list
|
740
|
-
.ft P
|
741
|
-
.fi
|
742
|
-
.UNINDENT
|
743
|
-
.UNINDENT
|
744
|
-
.UNINDENT
|
745
|
-
.UNINDENT
|
746
|
-
.sp
|
747
|
-
Groongaのaptリポジトリを追加します。
|
748
|
-
.sp
|
749
|
-
/etc/apt/sources.list.d/groonga.list:
|
750
|
-
.INDENT 0.0
|
751
|
-
.INDENT 3.5
|
752
|
-
.sp
|
753
|
-
.nf
|
754
|
-
.ft C
|
755
|
-
deb http://packages.groonga.org/ubuntu/ quantal universe
|
756
|
-
deb\-src http://packages.groonga.org/ubuntu/ quantal universe
|
757
|
-
.ft P
|
758
|
-
.fi
|
759
|
-
.UNINDENT
|
760
|
-
.UNINDENT
|
761
|
-
.sp
|
762
|
-
インストール:
|
763
|
-
.INDENT 0.0
|
764
|
-
.INDENT 3.5
|
765
|
-
.sp
|
766
|
-
.nf
|
767
|
-
.ft C
|
768
|
-
% sudo apt\-get update
|
769
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
770
|
-
% sudo apt\-get update
|
771
|
-
% sudo apt\-get \-y install groonga
|
772
|
-
.ft P
|
773
|
-
.fi
|
774
|
-
.UNINDENT
|
775
|
-
.UNINDENT
|
776
|
-
.sp
|
777
|
-
\fI\%MeCab\fP をトークナイザーとして使いたいときは、groonga\-tokenizer\-mecabパッケージをインストールしてください。
|
778
|
-
.sp
|
779
|
-
groonga\-tokenizer\-mecabパッケージのインストール:
|
780
|
-
.INDENT 0.0
|
781
|
-
.INDENT 3.5
|
782
|
-
.sp
|
783
|
-
.nf
|
784
|
-
.ft C
|
785
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
786
|
-
.ft P
|
787
|
-
.fi
|
788
|
-
.UNINDENT
|
789
|
-
.UNINDENT
|
790
|
-
.sp
|
791
|
-
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
792
|
-
.sp
|
793
|
-
groonga\-munin\-pluginsパッケージのインストール:
|
794
|
-
.INDENT 0.0
|
795
|
-
.INDENT 3.5
|
796
|
-
.sp
|
797
|
-
.nf
|
798
|
-
.ft C
|
799
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
800
|
-
.ft P
|
801
|
-
.fi
|
802
|
-
.UNINDENT
|
654
|
+
.IP \(bu 2
|
655
|
+
12.04 LTS Precise Pangolin
|
656
|
+
.IP \(bu 2
|
657
|
+
13.10 Saucy Salamander
|
658
|
+
.IP \(bu 2
|
659
|
+
14.04 LTS Trusty Tahr
|
803
660
|
.UNINDENT
|
804
|
-
.sp
|
805
|
-
MySQL互換のノーマライザーをGroongaのプラグインとして提供するパッケージがあります。MySQL互換のノーマライザーを使うには \fBgroonga\-normalizer\-mysql\fP パッケージをインストールしてください。
|
806
|
-
.sp
|
807
|
-
groonga\-normalizer\-mysqlパッケージのインストール:
|
808
|
-
.INDENT 0.0
|
809
|
-
.INDENT 3.5
|
810
|
-
.sp
|
811
|
-
.nf
|
812
|
-
.ft C
|
813
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
814
|
-
.ft P
|
815
|
-
.fi
|
816
661
|
.UNINDENT
|
817
662
|
.UNINDENT
|
818
|
-
.SS 13.04 Raring Ringtail
|
819
663
|
.sp
|
820
|
-
\fBノート:\fP
|
821
|
-
.INDENT 0.0
|
822
|
-
.INDENT 3.5
|
823
664
|
Groongaをインストールするためにuniverseリポジトリを有効にしてください:
|
824
665
|
.INDENT 0.0
|
825
666
|
.INDENT 3.5
|
826
667
|
.sp
|
827
668
|
.nf
|
828
669
|
.ft C
|
829
|
-
% sudo
|
830
|
-
% sudo
|
831
|
-
.ft P
|
832
|
-
.fi
|
833
|
-
.UNINDENT
|
834
|
-
.UNINDENT
|
835
|
-
.UNINDENT
|
836
|
-
.UNINDENT
|
837
|
-
.sp
|
838
|
-
Groongaのaptリポジトリを追加します。
|
839
|
-
.sp
|
840
|
-
/etc/apt/sources.list.d/groonga.list:
|
841
|
-
.INDENT 0.0
|
842
|
-
.INDENT 3.5
|
843
|
-
.sp
|
844
|
-
.nf
|
845
|
-
.ft C
|
846
|
-
deb http://packages.groonga.org/ubuntu/ raring universe
|
847
|
-
deb\-src http://packages.groonga.org/ubuntu/ raring universe
|
670
|
+
% sudo apt\-get \-y install software\-properties\-common
|
671
|
+
% sudo add\-apt\-repository \-y universe
|
848
672
|
.ft P
|
849
673
|
.fi
|
850
674
|
.UNINDENT
|
851
675
|
.UNINDENT
|
852
676
|
.sp
|
853
|
-
|
677
|
+
\fBppa:groonga/ppa\fP PPAをシステムに登録します:
|
854
678
|
.INDENT 0.0
|
855
679
|
.INDENT 3.5
|
856
680
|
.sp
|
857
681
|
.nf
|
858
682
|
.ft C
|
683
|
+
% sudo add\-apt\-repository \-y ppa:groonga/ppa
|
859
684
|
% sudo apt\-get update
|
860
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
861
|
-
% sudo apt\-get update
|
862
|
-
% sudo apt\-get \-y install groonga
|
863
|
-
.ft P
|
864
|
-
.fi
|
865
|
-
.UNINDENT
|
866
|
-
.UNINDENT
|
867
|
-
.sp
|
868
|
-
\fI\%MeCab\fP をトークナイザーとして使いたいときは、groonga\-tokenizer\-mecabパッケージをインストールしてください。
|
869
|
-
.sp
|
870
|
-
groonga\-tokenizer\-mecabパッケージのインストール:
|
871
|
-
.INDENT 0.0
|
872
|
-
.INDENT 3.5
|
873
|
-
.sp
|
874
|
-
.nf
|
875
|
-
.ft C
|
876
|
-
% sudo apt\-get \-y install groonga\-tokenizer\-mecab
|
877
|
-
.ft P
|
878
|
-
.fi
|
879
|
-
.UNINDENT
|
880
|
-
.UNINDENT
|
881
|
-
.sp
|
882
|
-
\fI\%Munin\fP プラグインを提供するパッケージもあります。MuninでGroongaの状態をモニターしたい場合は、groonga\-munin\-pluginsパッケージをインストールしてください。
|
883
|
-
.sp
|
884
|
-
groonga\-munin\-pluginsパッケージのインストール:
|
885
|
-
.INDENT 0.0
|
886
|
-
.INDENT 3.5
|
887
|
-
.sp
|
888
|
-
.nf
|
889
|
-
.ft C
|
890
|
-
% sudo apt\-get \-y install groonga\-munin\-plugins
|
891
|
-
.ft P
|
892
|
-
.fi
|
893
|
-
.UNINDENT
|
894
|
-
.UNINDENT
|
895
|
-
.sp
|
896
|
-
MySQL互換のノーマライザーをGroongaのプラグインとして提供するパッケージがあります。MySQL互換のノーマライザーを使うには \fBgroonga\-normalizer\-mysql\fP パッケージをインストールしてください。
|
897
|
-
.sp
|
898
|
-
groonga\-normalizer\-mysqlパッケージのインストール:
|
899
|
-
.INDENT 0.0
|
900
|
-
.INDENT 3.5
|
901
|
-
.sp
|
902
|
-
.nf
|
903
|
-
.ft C
|
904
|
-
% sudo apt\-get \-y install groonga\-normalizer\-mysql
|
905
|
-
.ft P
|
906
|
-
.fi
|
907
|
-
.UNINDENT
|
908
|
-
.UNINDENT
|
909
|
-
.SS 13.10 Saucy Salamander
|
910
|
-
.sp
|
911
|
-
Groongaのaptリポジトリを追加します。
|
912
|
-
.sp
|
913
|
-
/etc/apt/sources.list.d/groonga.list:
|
914
|
-
.INDENT 0.0
|
915
|
-
.INDENT 3.5
|
916
|
-
.sp
|
917
|
-
.nf
|
918
|
-
.ft C
|
919
|
-
deb http://packages.groonga.org/ubuntu/ saucy universe
|
920
|
-
deb\-src http://packages.groonga.org/ubuntu/ saucy universe
|
921
685
|
.ft P
|
922
686
|
.fi
|
923
687
|
.UNINDENT
|
@@ -929,9 +693,6 @@ deb\-src http://packages.groonga.org/ubuntu/ saucy universe
|
|
929
693
|
.sp
|
930
694
|
.nf
|
931
695
|
.ft C
|
932
|
-
% sudo apt\-get update
|
933
|
-
% sudo apt\-get \-y \-\-allow\-unauthenticated install groonga\-keyring
|
934
|
-
% sudo apt\-get update
|
935
696
|
% sudo apt\-get \-y install groonga
|
936
697
|
.ft P
|
937
698
|
.fi
|
@@ -999,9 +760,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
999
760
|
.sp
|
1000
761
|
.nf
|
1001
762
|
.ft C
|
1002
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1003
|
-
% tar xvzf groonga\-4.0.
|
1004
|
-
% cd groonga\-4.0.
|
763
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
764
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
765
|
+
% cd groonga\-4.0.2
|
1005
766
|
.ft P
|
1006
767
|
.fi
|
1007
768
|
.UNINDENT
|
@@ -1190,7 +951,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
1190
951
|
.sp
|
1191
952
|
.nf
|
1192
953
|
.ft C
|
1193
|
-
% sudo yum install \-y
|
954
|
+
% sudo yum install \-y groonga\-normalizer\-mysql
|
1194
955
|
.ft P
|
1195
956
|
.fi
|
1196
957
|
.UNINDENT
|
@@ -1292,7 +1053,7 @@ groonga\-normalizer\-mysqlパッケージのインストール:
|
|
1292
1053
|
.sp
|
1293
1054
|
.nf
|
1294
1055
|
.ft C
|
1295
|
-
% sudo yum install \-y
|
1056
|
+
% sudo yum install \-y groonga\-normalizer\-mysql
|
1296
1057
|
.ft P
|
1297
1058
|
.fi
|
1298
1059
|
.UNINDENT
|
@@ -1317,9 +1078,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1317
1078
|
.sp
|
1318
1079
|
.nf
|
1319
1080
|
.ft C
|
1320
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1321
|
-
% tar xvzf groonga\-4.0.
|
1322
|
-
% cd groonga\-4.0.
|
1081
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1082
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1083
|
+
% cd groonga\-4.0.2
|
1323
1084
|
.ft P
|
1324
1085
|
.fi
|
1325
1086
|
.UNINDENT
|
@@ -1505,9 +1266,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1505
1266
|
.sp
|
1506
1267
|
.nf
|
1507
1268
|
.ft C
|
1508
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1509
|
-
% tar xvzf groonga\-4.0.
|
1510
|
-
% cd groonga\-4.0.
|
1269
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1270
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1271
|
+
% cd groonga\-4.0.2
|
1511
1272
|
.ft P
|
1512
1273
|
.fi
|
1513
1274
|
.UNINDENT
|
@@ -1571,9 +1332,9 @@ Groongaをビルドするために必要なパッケージをインストール
|
|
1571
1332
|
.sp
|
1572
1333
|
.nf
|
1573
1334
|
.ft C
|
1574
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1575
|
-
% gtar xvzf groonga\-4.0.
|
1576
|
-
% cd groonga\-4.0.
|
1335
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1336
|
+
% gtar xvzf groonga\-4.0.2.tar.gz
|
1337
|
+
% cd groonga\-4.0.2
|
1577
1338
|
.ft P
|
1578
1339
|
.fi
|
1579
1340
|
.UNINDENT
|
@@ -1694,9 +1455,9 @@ GroongaはGNUビルドシステムを使っています。以下は一番簡単
|
|
1694
1455
|
.sp
|
1695
1456
|
.nf
|
1696
1457
|
.ft C
|
1697
|
-
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.
|
1698
|
-
% tar xvzf groonga\-4.0.
|
1699
|
-
% cd groonga\-4.0.
|
1458
|
+
% wget http://packages.groonga.org/source/groonga/groonga\-4.0.2.tar.gz
|
1459
|
+
% tar xvzf groonga\-4.0.2.tar.gz
|
1460
|
+
% cd groonga\-4.0.2
|
1700
1461
|
% ./configure
|
1701
1462
|
% make
|
1702
1463
|
% sudo make install
|
@@ -8805,6 +8566,28 @@ load \-\-table event_query \-\-each \(aqsuggest_preparer(_id, type, item, sequen
|
|
8805
8566
|
.fi
|
8806
8567
|
.UNINDENT
|
8807
8568
|
.UNINDENT
|
8569
|
+
.SS How to extract learning data
|
8570
|
+
.sp
|
8571
|
+
The learning data is stored into item_DATASET and pair_DATASET tables.
|
8572
|
+
By using select command for such tables, you can all extract learing data.
|
8573
|
+
.sp
|
8574
|
+
Here is the query to extract all learning data:
|
8575
|
+
.INDENT 0.0
|
8576
|
+
.INDENT 3.5
|
8577
|
+
.sp
|
8578
|
+
.nf
|
8579
|
+
.ft C
|
8580
|
+
select item_DATASET \-\-limit \-1
|
8581
|
+
select pair_DATASET \-\-filter \(aqfreq0 > 0 || freq1 > 0 || freq2 > 0\(aq \-\-limit \-1
|
8582
|
+
.ft P
|
8583
|
+
.fi
|
8584
|
+
.UNINDENT
|
8585
|
+
.UNINDENT
|
8586
|
+
.sp
|
8587
|
+
Without \(aq\-\-limit \-1\(aq, you can\(aqt get all data.
|
8588
|
+
In pair table, the valid value of freq0, freq1 and freq2 column must be larger than 0.
|
8589
|
+
.sp
|
8590
|
+
Don\(aqt execute above query via HTTP request because enourmous number of records are fetched.
|
8808
8591
|
.SH 位置情報検索
|
8809
8592
|
.sp
|
8810
8593
|
Groongaは位置情報検索をサポートしています。検索にはインデックスを使うので全文検索と同様に位置情報も高速に検索できます。
|
@@ -9280,7 +9063,7 @@ TODO
|
|
9280
9063
|
\fB/reference/executables/groonga\fP を参照してください。
|
9281
9064
|
.SS HTTP
|
9282
9065
|
.sp
|
9283
|
-
|
9066
|
+
Groongaは2つのHTTPサーバー実装を提供しています。
|
9284
9067
|
.INDENT 0.0
|
9285
9068
|
.IP \(bu 2
|
9286
9069
|
\fBhttp/groonga\fP
|
@@ -9414,7 +9197,7 @@ _
|
|
9414
9197
|
\fBgroonga\fP と \fBgroonga\-httpd\fP はどちらも非常に高速です。どちらも同じスループットで動きます。
|
9415
9198
|
.SS 複数CPUコア対応
|
9416
9199
|
.sp
|
9417
|
-
|
9200
|
+
Groongaは複数のCPUコアを使って性能を向上できます。 \fBgroonga\fP はマルチスレッドを使って性能を向上させます。 \fBgroonga\-httpd\fP はマルチプロセスを使って性能を向上させます。
|
9418
9201
|
.sp
|
9419
9202
|
\fBgroonga\fP はデフォルトでCPUコアと同じ数のスレッドを使います。もし、CPUコアが8個あった場合は、デフォルトで8個のスレッドを使います。
|
9420
9203
|
.sp
|
@@ -9501,7 +9284,7 @@ http {
|
|
9501
9284
|
.UNINDENT
|
9502
9285
|
.SS コマンドバージョンの変更
|
9503
9286
|
.sp
|
9504
|
-
|
9287
|
+
Groongaには \fB/reference/command/command_version\fP という仕組みがあります。これは後方互換性を維持したままgroongaコマンドをアップグレードするための仕組みです。
|
9505
9288
|
.sp
|
9506
9289
|
\fBgroonga\fP は \fB\-\-default\-command\-version\fP オプションでデフォルトのコマンドバージョンを変更できます。以下はデフォルトのコマンドバージョンとしてコマンドバージョン2を使うコマンドライン例です。:
|
9507
9290
|
.INDENT 0.0
|
@@ -10420,12 +10203,7 @@ groonga サーバが動作していないか? groonga\-benchmarkは、\-i, \
|
|
10420
10203
|
.SS groonga\-httpd
|
10421
10204
|
.SS 概要
|
10422
10205
|
.sp
|
10423
|
-
groonga\-httpd
|
10424
|
-
the HTTP protocol. It functions as same as
|
10425
|
-
\fBgroonga\-server\-http\fP\&. Although \fBgroonga\-server\-http\fP has
|
10426
|
-
limited support for HTTP with a minimal built\-in HTTP server,
|
10427
|
-
groonga\-httpd has full support for HTTP with an embedded \fI\%nginx\fP\&. All standards\-compliance and features provided
|
10428
|
-
by nginx is also available in groonga\-httpd.
|
10206
|
+
groonga\-httpdはGroongaサーバーとHTTPプロトコルで通信するプログラムです。 機能的には、 \fBgroonga\-server\-http\fP と同じです。 \fBgroonga\-server\-http\fP はHTTPサーバーとしては最小限の機能しか持ちませんが、groonga\-httpdは \fI\%nginx\fP を組み込むことでnginxが準拠しているHTTPの仕様と機能をすべて利用できます。
|
10429
10207
|
.sp
|
10430
10208
|
groonga\-httpdにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。ウェブブラウザでhttp://hostname:port/にアクセスすると、管理ツールを利用できます。
|
10431
10209
|
.SS 書式
|
@@ -11198,15 +10976,71 @@ groonga\-suggest\-httpd [options] database_path
|
|
11198
10976
|
.SS 使い方
|
11199
10977
|
.SS 設定をする
|
11200
10978
|
.sp
|
11201
|
-
|
10979
|
+
最初に提案用のデータベースをセットアップする必要があります。
|
10980
|
+
.sp
|
10981
|
+
実行例:
|
10982
|
+
.INDENT 0.0
|
10983
|
+
.INDENT 3.5
|
10984
|
+
.sp
|
10985
|
+
.nf
|
10986
|
+
.ft C
|
10987
|
+
% groonga\-suggest\-create\-dataset /tmp/groonga\-databases/groonga\-suggest\-httpd query
|
10988
|
+
.ft P
|
10989
|
+
.fi
|
10990
|
+
.UNINDENT
|
10991
|
+
.UNINDENT
|
11202
10992
|
.SS Launch groonga\-suggest\-httpd
|
11203
10993
|
.sp
|
11204
10994
|
Execute groonga\-suggest\-httpd command:
|
11205
10995
|
.sp
|
10996
|
+
実行例:
|
10997
|
+
.INDENT 0.0
|
10998
|
+
.INDENT 3.5
|
10999
|
+
.sp
|
11000
|
+
.nf
|
11001
|
+
.ft C
|
11002
|
+
% groonga\-suggest\-httpd /tmp/groonga\-databases/groonga\-suggest\-httpd
|
11003
|
+
.ft P
|
11004
|
+
.fi
|
11005
|
+
.UNINDENT
|
11006
|
+
.UNINDENT
|
11007
|
+
.sp
|
11206
11008
|
After executing above command, groonga\-suggest\-httpd accepts HTTP request on 8080 port.
|
11009
|
+
.sp
|
11010
|
+
If you just want to save requests into log file, use \fB\-l\fP option.
|
11011
|
+
.sp
|
11012
|
+
Here is the example to save log files under \fBlogs\fP directory with \fBlog\fP prefix for each file.:
|
11013
|
+
.INDENT 0.0
|
11014
|
+
.INDENT 3.5
|
11015
|
+
.sp
|
11016
|
+
.nf
|
11017
|
+
.ft C
|
11018
|
+
% groonga\-suggest\-httpd \-l logs/log /tmp/groonga\-databases/groonga\-suggest\-httpd
|
11019
|
+
.ft P
|
11020
|
+
.fi
|
11021
|
+
.UNINDENT
|
11022
|
+
.UNINDENT
|
11023
|
+
.sp
|
11024
|
+
Under \fBlogs\fP directory, log files such as \fBlogYYYYmmddHHMMSS\-00\fP are created.
|
11207
11025
|
.SS Request to groonga\-suggest\-httpd
|
11208
11026
|
.sp
|
11209
|
-
|
11027
|
+
Here is the sample requests to learn \fBgroonga\fP for \fBquery\fP dataset:
|
11028
|
+
.INDENT 0.0
|
11029
|
+
.INDENT 3.5
|
11030
|
+
.sp
|
11031
|
+
.nf
|
11032
|
+
.ft C
|
11033
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=92619&t=complete&q=g\(aq
|
11034
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=93850&t=complete&q=gr\(aq
|
11035
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=94293&t=complete&q=gro\(aq
|
11036
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=94734&t=complete&q=groo\(aq
|
11037
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95147&t=complete&q=grooon\(aq
|
11038
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95553&t=complete&q=groonga\(aq
|
11039
|
+
% curl \(aqhttp://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=groonga
|
11040
|
+
.ft P
|
11041
|
+
.fi
|
11042
|
+
.UNINDENT
|
11043
|
+
.UNINDENT
|
11210
11044
|
.SS Options
|
11211
11045
|
.INDENT 0.0
|
11212
11046
|
.TP
|
@@ -11217,6 +11051,8 @@ Specify http server port number. The default value is 8080.
|
|
11217
11051
|
.TP
|
11218
11052
|
.B \-t, \-\-n\-threads
|
11219
11053
|
Specify number of threads. The default value is 8.
|
11054
|
+
This option accepts 128 as the max value, but use the number of CPU cores for
|
11055
|
+
performance.
|
11220
11056
|
.UNINDENT
|
11221
11057
|
.INDENT 0.0
|
11222
11058
|
.TP
|
@@ -11248,17 +11084,17 @@ Specify this option to daemonize.
|
|
11248
11084
|
.B \-\-disable\-max\-fd\-check
|
11249
11085
|
Specify this option to disable checking max fd on start.
|
11250
11086
|
.UNINDENT
|
11251
|
-
.SS
|
11087
|
+
.SS コマンドライン引数
|
11252
11088
|
.sp
|
11253
11089
|
\fBdatabase_path\fP だけが必須の引数です。
|
11254
11090
|
.SS \fBdatabase_path\fP
|
11255
11091
|
.sp
|
11256
11092
|
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.
|
11257
|
-
.SS GET
|
11093
|
+
.SS GETの引数
|
11258
11094
|
.sp
|
11259
11095
|
groonga\-suggest\-httpd accepts following GET parameters.
|
11260
11096
|
.sp
|
11261
|
-
|
11097
|
+
必須の引数があります。どれが必須かはクエリーの種類に依存します。
|
11262
11098
|
.SS 必須引数
|
11263
11099
|
.TS
|
11264
11100
|
center;
|
@@ -11282,12 +11118,12 @@ _
|
|
11282
11118
|
T{
|
11283
11119
|
t
|
11284
11120
|
T} T{
|
11285
|
-
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 \
|
11121
|
+
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.
|
11286
11122
|
T} T{
|
11287
11123
|
T}
|
11288
11124
|
_
|
11289
11125
|
.TE
|
11290
|
-
.SS
|
11126
|
+
.SS 学習時に必須の引数
|
11291
11127
|
.TS
|
11292
11128
|
center;
|
11293
11129
|
|l|l|l|.
|
@@ -11305,7 +11141,7 @@ s
|
|
11305
11141
|
T} T{
|
11306
11142
|
Elapsed time from 0:00 January 1, 1970
|
11307
11143
|
T} T{
|
11308
|
-
Note that you need specify the value of \
|
11144
|
+
Note that you need specify the value of \fBs\fP in milliseconds
|
11309
11145
|
T}
|
11310
11146
|
_
|
11311
11147
|
T{
|
@@ -11319,13 +11155,13 @@ _
|
|
11319
11155
|
T{
|
11320
11156
|
l
|
11321
11157
|
T} T{
|
11322
|
-
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \
|
11158
|
+
Specify the name of dataset for learning. It also accepts multiple dataset name which is concatinated by \fB|\fP
|
11323
11159
|
T} T{
|
11324
|
-
Note that dataset name must be matched to following regular expression \
|
11160
|
+
Note that dataset name must be matched to following regular expression \fB[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\fP
|
11325
11161
|
T}
|
11326
11162
|
_
|
11327
11163
|
.TE
|
11328
|
-
.SS
|
11164
|
+
.SS 提案時に必須の引数
|
11329
11165
|
.TS
|
11330
11166
|
center;
|
11331
11167
|
|l|l|l|.
|
@@ -11341,7 +11177,7 @@ _
|
|
11341
11177
|
T{
|
11342
11178
|
n
|
11343
11179
|
T} T{
|
11344
|
-
|
11180
|
+
提案用のデータベース名を指定します。
|
11345
11181
|
T} T{
|
11346
11182
|
This dataset name is used to calculate suggestion results
|
11347
11183
|
T}
|
@@ -11365,7 +11201,7 @@ callback
|
|
11365
11201
|
T} T{
|
11366
11202
|
Specify the name of function if you prefer JSONP as response format
|
11367
11203
|
T} T{
|
11368
|
-
The name of function must be matched to reqular expression \
|
11204
|
+
The name of function must be matched to reqular expression \fB[A\-Za\-z ][A\-Za\-z0\-9 ]{0,15}\fP
|
11369
11205
|
T}
|
11370
11206
|
_
|
11371
11207
|
.TE
|
@@ -11373,7 +11209,7 @@ _
|
|
11373
11209
|
.sp
|
11374
11210
|
\fBgroonga\-suggest\-httpd\fP command returns following response in JSON or JSONP format.
|
11375
11211
|
.sp
|
11376
|
-
|
11212
|
+
JSON形式:
|
11377
11213
|
.INDENT 0.0
|
11378
11214
|
.INDENT 3.5
|
11379
11215
|
.sp
|
@@ -11385,7 +11221,7 @@ In JSON format:
|
|
11385
11221
|
.UNINDENT
|
11386
11222
|
.UNINDENT
|
11387
11223
|
.sp
|
11388
|
-
|
11224
|
+
JSONP形式:
|
11389
11225
|
.INDENT 0.0
|
11390
11226
|
.INDENT 3.5
|
11391
11227
|
.sp
|
@@ -11400,7 +11236,7 @@ FUNCTION({TYPE: [[CANDIDATE_1, SCORE_1], [CANDIDATE_2, SCORE_2], ... [CANDIDATE_
|
|
11400
11236
|
\fBTYPE\fP
|
11401
11237
|
.INDENT 0.0
|
11402
11238
|
.INDENT 3.5
|
11403
|
-
\
|
11239
|
+
\fBcomplete\fP 、 \fBcorrect\fP 、 \fBsuggest\fP のどれか。
|
11404
11240
|
.UNINDENT
|
11405
11241
|
.UNINDENT
|
11406
11242
|
.sp
|
@@ -11414,13 +11250,15 @@ The string of candidate (UTF\-8).
|
|
11414
11250
|
\fBSCORE_N\fP
|
11415
11251
|
.INDENT 0.0
|
11416
11252
|
.INDENT 3.5
|
11417
|
-
|
11253
|
+
スコア。
|
11418
11254
|
.UNINDENT
|
11419
11255
|
.UNINDENT
|
11420
11256
|
.SS groonga\-suggest\-learner
|
11421
11257
|
.SS 概要
|
11422
11258
|
.sp
|
11423
|
-
|
11259
|
+
groonga\-suggest\-learner is a program to learn suggest result from data which derived from groonga\-suggest\-httpd.
|
11260
|
+
Usually, it is used with groonga\-suggest\-httpd, but It is allowed to launch standalone.
|
11261
|
+
In such a case, groonga\-suggest\-learner loads data from log directory.
|
11424
11262
|
.SS 書式
|
11425
11263
|
.INDENT 0.0
|
11426
11264
|
.INDENT 3.5
|
@@ -11434,29 +11272,71 @@ groonga\-suggest\-learner [options] database_path
|
|
11434
11272
|
.UNINDENT
|
11435
11273
|
.SS 使い方
|
11436
11274
|
.sp
|
11437
|
-
|
11275
|
+
groonga\-suggest\-leaner supports the two way of learning data.
|
11276
|
+
One is learning data from groonga\-suggest\-httpd, the other is
|
11277
|
+
learning data from already existing log files.
|
11278
|
+
.SS Learning data from groonga\-suggest\-httpd
|
11279
|
+
.sp
|
11280
|
+
Execute groonga\-suggest\-learner.:
|
11281
|
+
.INDENT 0.0
|
11282
|
+
.INDENT 3.5
|
11283
|
+
.sp
|
11284
|
+
.nf
|
11285
|
+
.ft C
|
11286
|
+
groonga\-suggest\-learner testdb/db
|
11287
|
+
.ft P
|
11288
|
+
.fi
|
11289
|
+
.UNINDENT
|
11290
|
+
.UNINDENT
|
11291
|
+
.SS Learning data from log files
|
11292
|
+
.sp
|
11293
|
+
Execute groonga\-suggest\-learner with \fB\-l\fP option.
|
11294
|
+
.sp
|
11295
|
+
Here is the sample to load log data under \fBlogs\fP directory:
|
11296
|
+
.INDENT 0.0
|
11297
|
+
.INDENT 3.5
|
11298
|
+
.sp
|
11299
|
+
.nf
|
11300
|
+
.ft C
|
11301
|
+
groonga\-suggest\-learner \-l logs testdb/db
|
11302
|
+
.ft P
|
11303
|
+
.fi
|
11304
|
+
.UNINDENT
|
11305
|
+
.UNINDENT
|
11438
11306
|
.SS Options
|
11439
11307
|
.INDENT 0.0
|
11440
11308
|
.TP
|
11441
|
-
.B \-r
|
11309
|
+
.B \-r
|
11442
11310
|
Specify endpoint for receiver.
|
11443
11311
|
.UNINDENT
|
11444
11312
|
.INDENT 0.0
|
11445
11313
|
.TP
|
11446
|
-
.B \-s
|
11314
|
+
.B \-s
|
11447
11315
|
Specify endpoint for sender.
|
11448
11316
|
.UNINDENT
|
11449
11317
|
.INDENT 0.0
|
11450
11318
|
.TP
|
11451
|
-
.B \-d
|
11319
|
+
.B \-d
|
11452
11320
|
Specify this option to daemonize.
|
11453
11321
|
.UNINDENT
|
11322
|
+
.INDENT 0.0
|
11323
|
+
.TP
|
11324
|
+
.B \-l
|
11325
|
+
Specify log directory.
|
11326
|
+
.UNINDENT
|
11454
11327
|
.SS 引数
|
11455
11328
|
.sp
|
11456
11329
|
\fBdatabase_path\fP だけが必須の引数です。
|
11457
11330
|
.SS \fBdatabase_path\fP
|
11458
11331
|
.sp
|
11459
11332
|
groongaデータベースのパスを指定します。
|
11333
|
+
.SS 関連するテーブル
|
11334
|
+
.sp
|
11335
|
+
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.
|
11336
|
+
.INDENT 0.0
|
11337
|
+
.IP \(bu 2
|
11338
|
+
event_DATASET
|
11339
|
+
.UNINDENT
|
11460
11340
|
.SS 出力
|
11461
11341
|
.sp
|
11462
11342
|
Groongaは以下の出力形式をサポートしています。
|
@@ -12752,11 +12632,13 @@ column_create Term entry_body COLUMN_INDEX|WITH_POSITION Entry body
|
|
12752
12632
|
コマンドの実行が成功するとtrueを返します。失敗するとエラーとしてfalseを返します。
|
12753
12633
|
.UNINDENT
|
12754
12634
|
.UNINDENT
|
12755
|
-
.SS
|
12756
|
-
.SS
|
12635
|
+
.SS \fBcolumn_list\fP
|
12636
|
+
.SS 概要
|
12757
12637
|
.sp
|
12758
|
-
|
12759
|
-
.SS
|
12638
|
+
\fBcolumn_list\fP コマンドはテーブルにあるカラムの一覧を返します。
|
12639
|
+
.SS 構文
|
12640
|
+
.sp
|
12641
|
+
\fBcolumn_list\fP コマンドの引数は1つで必須です:
|
12760
12642
|
.INDENT 0.0
|
12761
12643
|
.INDENT 3.5
|
12762
12644
|
.sp
|
@@ -12767,140 +12649,381 @@ column_list table
|
|
12767
12649
|
.fi
|
12768
12650
|
.UNINDENT
|
12769
12651
|
.UNINDENT
|
12770
|
-
.SS
|
12652
|
+
.SS 使い方
|
12653
|
+
.sp
|
12654
|
+
以下は \fBcolumn_list\fP コマンドの簡単な使用例です。
|
12771
12655
|
.sp
|
12772
|
-
|
12656
|
+
実行例:
|
12657
|
+
.INDENT 0.0
|
12658
|
+
.INDENT 3.5
|
12773
12659
|
.sp
|
12774
|
-
|
12660
|
+
.nf
|
12661
|
+
.ft C
|
12662
|
+
table_create Users TABLE_PAT_KEY ShortText
|
12663
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
12664
|
+
column_create Users age COLUMN_SCALAR UInt8
|
12665
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
12666
|
+
column_create Users tags COLUMN_VECTOR ShortText
|
12667
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
12668
|
+
column_list Users
|
12669
|
+
# [
|
12670
|
+
# [
|
12671
|
+
# 0,
|
12672
|
+
# 1337566253.89858,
|
12673
|
+
# 0.000355720520019531
|
12674
|
+
# ],
|
12675
|
+
# [
|
12676
|
+
# [
|
12677
|
+
# [
|
12678
|
+
# "id",
|
12679
|
+
# "UInt32"
|
12680
|
+
# ],
|
12681
|
+
# [
|
12682
|
+
# "name",
|
12683
|
+
# "ShortText"
|
12684
|
+
# ],
|
12685
|
+
# [
|
12686
|
+
# "path",
|
12687
|
+
# "ShortText"
|
12688
|
+
# ],
|
12689
|
+
# [
|
12690
|
+
# "type",
|
12691
|
+
# "ShortText"
|
12692
|
+
# ],
|
12693
|
+
# [
|
12694
|
+
# "flags",
|
12695
|
+
# "ShortText"
|
12696
|
+
# ],
|
12697
|
+
# [
|
12698
|
+
# "domain",
|
12699
|
+
# "ShortText"
|
12700
|
+
# ],
|
12701
|
+
# [
|
12702
|
+
# "range",
|
12703
|
+
# "ShortText"
|
12704
|
+
# ],
|
12705
|
+
# [
|
12706
|
+
# "source",
|
12707
|
+
# "ShortText"
|
12708
|
+
# ]
|
12709
|
+
# ],
|
12710
|
+
# [
|
12711
|
+
# 256,
|
12712
|
+
# "_key",
|
12713
|
+
# "",
|
12714
|
+
# "",
|
12715
|
+
# "COLUMN_SCALAR",
|
12716
|
+
# "Users",
|
12717
|
+
# "ShortText",
|
12718
|
+
# []
|
12719
|
+
# ],
|
12720
|
+
# [
|
12721
|
+
# 257,
|
12722
|
+
# "age",
|
12723
|
+
# "/tmp/groonga\-databases/commands_column_list.0000101",
|
12724
|
+
# "fix",
|
12725
|
+
# "COLUMN_SCALAR|PERSISTENT",
|
12726
|
+
# "Users",
|
12727
|
+
# "UInt8",
|
12728
|
+
# []
|
12729
|
+
# ],
|
12730
|
+
# [
|
12731
|
+
# 258,
|
12732
|
+
# "tags",
|
12733
|
+
# "/tmp/groonga\-databases/commands_column_list.0000102",
|
12734
|
+
# "var",
|
12735
|
+
# "COLUMN_VECTOR|PERSISTENT",
|
12736
|
+
# "Users",
|
12737
|
+
# "ShortText",
|
12738
|
+
# []
|
12739
|
+
# ]
|
12740
|
+
# ]
|
12741
|
+
# ]
|
12742
|
+
.ft P
|
12743
|
+
.fi
|
12744
|
+
.UNINDENT
|
12745
|
+
.UNINDENT
|
12775
12746
|
.SS 引数
|
12747
|
+
.sp
|
12748
|
+
このセクションでは \fBcolumn_list\fP の引数について説明します。
|
12749
|
+
.SS 必須引数
|
12750
|
+
.sp
|
12751
|
+
すべての引数は必須です。
|
12752
|
+
.SS \fBtable\fP
|
12753
|
+
.sp
|
12754
|
+
カラムの一覧を取得するテーブルの名前を指定します。
|
12755
|
+
.SS 戻り値
|
12756
|
+
.sp
|
12757
|
+
\fBcolumn_list\fP returns the list of column information in the table:
|
12776
12758
|
.INDENT 0.0
|
12777
|
-
.
|
12778
|
-
.
|
12779
|
-
|
12759
|
+
.INDENT 3.5
|
12760
|
+
.sp
|
12761
|
+
.nf
|
12762
|
+
.ft C
|
12763
|
+
[
|
12764
|
+
HEADER,
|
12765
|
+
[
|
12766
|
+
COLUMN_LIST_HEADER,
|
12767
|
+
COLUMN_INFORMATION1,
|
12768
|
+
COLUMN_INFORMATION2,
|
12769
|
+
...
|
12770
|
+
]
|
12771
|
+
]
|
12772
|
+
.ft P
|
12773
|
+
.fi
|
12780
12774
|
.UNINDENT
|
12781
|
-
.
|
12782
|
-
.
|
12775
|
+
.UNINDENT
|
12776
|
+
.sp
|
12777
|
+
\fBHEADER\fP
|
12778
|
+
.INDENT 0.0
|
12779
|
+
.INDENT 3.5
|
12780
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
12781
|
+
.UNINDENT
|
12782
|
+
.UNINDENT
|
12783
|
+
.sp
|
12784
|
+
\fBCOLUMN_LIST_HEADER\fP
|
12785
|
+
.INDENT 0.0
|
12786
|
+
.INDENT 3.5
|
12787
|
+
\fBCOLUMN_LIST_HEADER\fP describes about content of each
|
12788
|
+
\fBCOLUMN_INFORMATION\fP\&.
|
12783
12789
|
.sp
|
12784
|
-
|
12790
|
+
\fBCOLUMN_LIST_HEADER\fP is the following format:
|
12785
12791
|
.INDENT 0.0
|
12786
12792
|
.INDENT 3.5
|
12787
12793
|
.sp
|
12788
12794
|
.nf
|
12789
12795
|
.ft C
|
12790
|
-
[
|
12796
|
+
[
|
12797
|
+
["id", "UInt32"],
|
12798
|
+
["name", "ShortText"],
|
12799
|
+
["path", "ShortText"],
|
12800
|
+
["type", "ShortText"],
|
12801
|
+
["flags", "ShortText"],
|
12802
|
+
["domain", "ShortText"],
|
12803
|
+
["range", "ShortText"],
|
12804
|
+
["source", "ShortText"]
|
12805
|
+
]
|
12791
12806
|
.ft P
|
12792
12807
|
.fi
|
12793
12808
|
.UNINDENT
|
12794
12809
|
.UNINDENT
|
12795
12810
|
.sp
|
12796
|
-
|
12811
|
+
以下のことを意味します。
|
12797
12812
|
.INDENT 0.0
|
12798
12813
|
.INDENT 3.5
|
12799
|
-
|
12800
|
-
|
12814
|
+
.INDENT 0.0
|
12815
|
+
.IP \(bu 2
|
12816
|
+
\fBCOLUMN_INFORMATION\fP の1番目の要素は \fBid\fP の値で、その値の型は \fBUInt32\fP です。
|
12817
|
+
.IP \(bu 2
|
12818
|
+
\fBCOLUMN_INFORMATION\fP の2番目の要素は \fBname\fP の値で、その値の型は \fBShortText\fP です。
|
12819
|
+
.IP \(bu 2
|
12820
|
+
\fBCOLUMN_INFORMATION\fP の3番目の要素は…
|
12821
|
+
.UNINDENT
|
12822
|
+
.UNINDENT
|
12823
|
+
.UNINDENT
|
12801
12824
|
.sp
|
12802
|
-
\
|
12825
|
+
See the following \fBCOLUMN_INFORMATION\fP description for details.
|
12826
|
+
.sp
|
12827
|
+
This field provides meta\-data of column information. So this field
|
12828
|
+
will be useful for programs rather than humans.
|
12829
|
+
.UNINDENT
|
12830
|
+
.UNINDENT
|
12831
|
+
.sp
|
12832
|
+
\fBCOLUMN_INFORMATION\fP
|
12833
|
+
.INDENT 0.0
|
12834
|
+
.INDENT 3.5
|
12835
|
+
Each \fBCOLUMN_INFORMATION\fP is the following format:
|
12803
12836
|
.INDENT 0.0
|
12804
12837
|
.INDENT 3.5
|
12805
|
-
|
12838
|
+
.sp
|
12839
|
+
.nf
|
12840
|
+
.ft C
|
12841
|
+
[
|
12842
|
+
ID,
|
12843
|
+
NAME,
|
12844
|
+
PATH,
|
12845
|
+
TYPE,
|
12846
|
+
FLAGS,
|
12847
|
+
DOMAIN,
|
12848
|
+
RANGE,
|
12849
|
+
SOURCES
|
12850
|
+
]
|
12851
|
+
.ft P
|
12852
|
+
.fi
|
12806
12853
|
.UNINDENT
|
12807
12854
|
.UNINDENT
|
12808
12855
|
.sp
|
12809
|
-
\
|
12856
|
+
\fBID\fP
|
12810
12857
|
.INDENT 0.0
|
12811
12858
|
.INDENT 3.5
|
12812
|
-
|
12859
|
+
The column ID in the Groonga database. Normally, you don\(aqt care
|
12860
|
+
about it.
|
12813
12861
|
.UNINDENT
|
12814
12862
|
.UNINDENT
|
12815
12863
|
.sp
|
12816
|
-
\
|
12864
|
+
\fBNAME\fP
|
12817
12865
|
.INDENT 0.0
|
12818
12866
|
.INDENT 3.5
|
12819
|
-
|
12867
|
+
カラム名。
|
12820
12868
|
.UNINDENT
|
12821
12869
|
.UNINDENT
|
12822
12870
|
.sp
|
12823
|
-
\
|
12871
|
+
\fBPATH\fP
|
12824
12872
|
.INDENT 0.0
|
12825
12873
|
.INDENT 3.5
|
12826
|
-
|
12874
|
+
カラムのデータを保存しているパス。
|
12827
12875
|
.UNINDENT
|
12828
12876
|
.UNINDENT
|
12829
12877
|
.sp
|
12830
|
-
\
|
12878
|
+
\fBTYPE\fP
|
12879
|
+
.INDENT 0.0
|
12880
|
+
.INDENT 3.5
|
12881
|
+
カラムの型。次のうちのどれかです。
|
12882
|
+
.TS
|
12883
|
+
center;
|
12884
|
+
|l|l|.
|
12885
|
+
_
|
12886
|
+
T{
|
12887
|
+
Value
|
12888
|
+
T} T{
|
12889
|
+
説明
|
12890
|
+
T}
|
12891
|
+
_
|
12892
|
+
T{
|
12893
|
+
\fBfix\fP
|
12894
|
+
T} T{
|
12895
|
+
The column is a fixed size column. Scalar column that its
|
12896
|
+
type is fixed size type is fixed size column.
|
12897
|
+
T}
|
12898
|
+
_
|
12899
|
+
T{
|
12900
|
+
\fBvar\fP
|
12901
|
+
T} T{
|
12902
|
+
The column is a variable size column. Vector column or
|
12903
|
+
scalar column that its type is variable size type are
|
12904
|
+
variable size column.
|
12905
|
+
T}
|
12906
|
+
_
|
12907
|
+
T{
|
12908
|
+
\fBindex\fP
|
12909
|
+
T} T{
|
12910
|
+
このカラムはインデックスカラムです。
|
12911
|
+
T}
|
12912
|
+
_
|
12913
|
+
.TE
|
12914
|
+
.UNINDENT
|
12915
|
+
.UNINDENT
|
12916
|
+
.sp
|
12917
|
+
\fBFLAGS\fP
|
12831
12918
|
.INDENT 0.0
|
12832
12919
|
.INDENT 3.5
|
12833
|
-
|
12920
|
+
The flags of the column. Each flag is separated by \fB|\fP like
|
12921
|
+
\fBCOLUMN_VECTOR|WITH_WEIGHT\fP\&. \fBFLAGS\fP must include one of
|
12922
|
+
\fBCOLUMN_SCALAR\fP, \fBCOLUMN_VECTOR\fP or \fBCOLUMN_INDEX\fP\&. Other
|
12923
|
+
flags are optional.
|
12924
|
+
.sp
|
12925
|
+
有効なフラグは以下の通りです。
|
12926
|
+
.TS
|
12927
|
+
center;
|
12928
|
+
|l|l|.
|
12929
|
+
_
|
12930
|
+
T{
|
12931
|
+
フラグ
|
12932
|
+
T} T{
|
12933
|
+
説明
|
12934
|
+
T}
|
12935
|
+
_
|
12936
|
+
T{
|
12937
|
+
\fBCOLUMN_SCALAR\fP
|
12938
|
+
T} T{
|
12939
|
+
このカラムはスカラーカラムです。
|
12940
|
+
T}
|
12941
|
+
_
|
12942
|
+
T{
|
12943
|
+
\fBCOLUMN_VECTOR\fP
|
12944
|
+
T} T{
|
12945
|
+
このカラムはベクターカラムです。
|
12946
|
+
T}
|
12947
|
+
_
|
12948
|
+
T{
|
12949
|
+
\fBCOLUMN_INDEX\fP
|
12950
|
+
T} T{
|
12951
|
+
このカラムはインデックスカラムです。
|
12952
|
+
T}
|
12953
|
+
_
|
12954
|
+
T{
|
12955
|
+
\fBWITH_WEIGHT\fP
|
12956
|
+
T} T{
|
12957
|
+
The column can have weight. \fBCOLUMN_VECTOR\fP and \fBCOLUMN_INDEX\fP
|
12958
|
+
may have it. \fBCOLUMN_SCALAR\fP doesn\(aqt have it.
|
12959
|
+
T}
|
12960
|
+
_
|
12961
|
+
T{
|
12962
|
+
\fBWITH_SECTION\fP
|
12963
|
+
T} T{
|
12964
|
+
The column can have section information. \fBCOLUMN_INDEX\fP
|
12965
|
+
may have it. \fBCOLUMN_SCALAR\fP and \fBCOLUMN_VECTOR\fP don\(aqt
|
12966
|
+
have it.
|
12967
|
+
.sp
|
12968
|
+
マルチカラムインデックスはこのフラグを持ちます。
|
12969
|
+
T}
|
12970
|
+
_
|
12971
|
+
T{
|
12972
|
+
\fBWITH_POSITION\fP
|
12973
|
+
T} T{
|
12974
|
+
The column can have position information. \fBCOLUMN_INDEX\fP
|
12975
|
+
may have it. \fBCOLUMN_SCALAR\fP and \fBCOLUMN_VECTOR\fP don\(aqt
|
12976
|
+
have it.
|
12977
|
+
.sp
|
12978
|
+
全文検索インデックスはこのフラグを持つべきです。
|
12979
|
+
T}
|
12980
|
+
_
|
12981
|
+
T{
|
12982
|
+
\fBPERSISTENT\fP
|
12983
|
+
T} T{
|
12984
|
+
The column is a persistent column. It means that the column
|
12985
|
+
isn\(aqt a \fB/reference/columns/pseudo\fP\&.
|
12986
|
+
T}
|
12987
|
+
_
|
12988
|
+
.TE
|
12834
12989
|
.UNINDENT
|
12835
12990
|
.UNINDENT
|
12836
12991
|
.sp
|
12837
|
-
\
|
12992
|
+
\fBDOMAIN\fP
|
12838
12993
|
.INDENT 0.0
|
12839
12994
|
.INDENT 3.5
|
12840
|
-
|
12995
|
+
カラムを持っているテーブルの生です。
|
12841
12996
|
.UNINDENT
|
12842
12997
|
.UNINDENT
|
12843
12998
|
.sp
|
12844
|
-
\
|
12999
|
+
\fBRANGE\fP
|
12845
13000
|
.INDENT 0.0
|
12846
13001
|
.INDENT 3.5
|
12847
|
-
|
13002
|
+
The value type name of the column. It is a type name or a table
|
13003
|
+
name.
|
12848
13004
|
.UNINDENT
|
12849
13005
|
.UNINDENT
|
12850
13006
|
.sp
|
12851
|
-
\
|
13007
|
+
\fBSOURCES\fP
|
12852
13008
|
.INDENT 0.0
|
12853
13009
|
.INDENT 3.5
|
12854
|
-
|
12855
|
-
|
12856
|
-
.
|
12857
|
-
.UNINDENT
|
12858
|
-
.UNINDENT
|
13010
|
+
An array of the source column names of the index. If the index
|
13011
|
+
column is multiple column index, the array has two or more
|
13012
|
+
source column names.
|
12859
13013
|
.sp
|
12860
|
-
\
|
12861
|
-
|
12862
|
-
.INDENT 3.5
|
12863
|
-
カラム情報の型を出力します。
|
13014
|
+
It is always an empty array for \fBCOLUMN_SCALAR\fP and
|
13015
|
+
\fBCOLUMN_VECTOR\fP\&.
|
12864
13016
|
.UNINDENT
|
12865
13017
|
.UNINDENT
|
12866
|
-
.sp
|
12867
|
-
\fBカラム情報n\fP
|
12868
|
-
.INDENT 0.0
|
12869
|
-
.INDENT 3.5
|
12870
|
-
\fBカラム情報名n\fP で示された情報の配列を出力します。
|
12871
|
-
情報の順序は \fBカラム情報名n\fP の順序と同じです。
|
12872
13018
|
.UNINDENT
|
12873
13019
|
.UNINDENT
|
12874
|
-
.SS
|
13020
|
+
.SS 参考
|
12875
13021
|
.INDENT 0.0
|
12876
|
-
.
|
12877
|
-
|
12878
|
-
.
|
12879
|
-
|
12880
|
-
column_list Entry
|
12881
|
-
|
12882
|
-
[[["id", "UInt32"],
|
12883
|
-
["name","ShortText"],
|
12884
|
-
["path","ShortText"],
|
12885
|
-
["type","ShortText"],
|
12886
|
-
["flags","ShortText"],
|
12887
|
-
["domain", "ShortText"],
|
12888
|
-
["range", "ShortText"],
|
12889
|
-
["source","ShortText"]],
|
12890
|
-
[258,
|
12891
|
-
"Entry.body",
|
12892
|
-
"test.db.0000102",
|
12893
|
-
"var",
|
12894
|
-
"COLUMN_SCALAR|COMPRESS_NONE|PERSISTENT",
|
12895
|
-
"Entry",
|
12896
|
-
"ShortText",
|
12897
|
-
[]]]
|
12898
|
-
.ft P
|
12899
|
-
.fi
|
12900
|
-
.UNINDENT
|
13022
|
+
.IP \(bu 2
|
13023
|
+
\fB/reference/commands/column_create\fP
|
13024
|
+
.IP \(bu 2
|
13025
|
+
\fB/reference/column\fP
|
12901
13026
|
.UNINDENT
|
12902
|
-
.sp
|
12903
|
-
注: 実際は改行が入りません。
|
12904
13027
|
.SS column_remove
|
12905
13028
|
.SS 名前
|
12906
13029
|
.sp
|
@@ -13148,16 +13271,16 @@ select Users
|
|
13148
13271
|
このセクションでは \fBcolumn_rename\fP の引数について説明します。
|
13149
13272
|
.SS 必須引数
|
13150
13273
|
.sp
|
13151
|
-
|
13274
|
+
すべての引数は必須です。
|
13152
13275
|
.SS \fBtable\fP
|
13153
13276
|
.sp
|
13154
|
-
|
13277
|
+
名前を変更したいカラムが所属するテーブルの名前を指定します。
|
13155
13278
|
.SS \fBname\fP
|
13156
13279
|
.sp
|
13157
|
-
|
13280
|
+
名前を変更するカラムを指定します。
|
13158
13281
|
.SS \fBnew_name\fP
|
13159
13282
|
.sp
|
13160
|
-
|
13283
|
+
新しいカラム名を指定します。
|
13161
13284
|
.SS 戻り値
|
13162
13285
|
.INDENT 0.0
|
13163
13286
|
.INDENT 3.5
|
@@ -13180,7 +13303,7 @@ It specifies the new column name.
|
|
13180
13303
|
\fBSUCCEEDED_OR_NOT\fP
|
13181
13304
|
.INDENT 0.0
|
13182
13305
|
.INDENT 3.5
|
13183
|
-
|
13306
|
+
コマンドの実行が成功するとtrueを返します。失敗するとfalseを返します。
|
13184
13307
|
.UNINDENT
|
13185
13308
|
.UNINDENT
|
13186
13309
|
.SS define_selector
|
@@ -14327,6 +14450,108 @@ _
|
|
14327
14450
|
.IP \(bu 2
|
14328
14451
|
\fB/reference/normalizers\fP
|
14329
14452
|
.UNINDENT
|
14453
|
+
.SS \fBnormalizer_list\fP
|
14454
|
+
.SS 概要
|
14455
|
+
.sp
|
14456
|
+
\fBnormalizer_list\fP command lists normalizers in a database.
|
14457
|
+
.SS 構文
|
14458
|
+
.sp
|
14459
|
+
\fBnormalizer_list\fP command takes no parameter.
|
14460
|
+
.INDENT 0.0
|
14461
|
+
.INDENT 3.5
|
14462
|
+
.sp
|
14463
|
+
.nf
|
14464
|
+
.ft C
|
14465
|
+
normalizer_list
|
14466
|
+
.ft P
|
14467
|
+
.fi
|
14468
|
+
.UNINDENT
|
14469
|
+
.UNINDENT
|
14470
|
+
.SS 使い方
|
14471
|
+
.sp
|
14472
|
+
以下は簡単な使用例です。
|
14473
|
+
.sp
|
14474
|
+
実行例:
|
14475
|
+
.INDENT 0.0
|
14476
|
+
.INDENT 3.5
|
14477
|
+
.sp
|
14478
|
+
.nf
|
14479
|
+
.ft C
|
14480
|
+
normalzer_list
|
14481
|
+
# [
|
14482
|
+
# [
|
14483
|
+
# 0,
|
14484
|
+
# 0.0,
|
14485
|
+
# 0.0
|
14486
|
+
# ],
|
14487
|
+
# [
|
14488
|
+
# {
|
14489
|
+
# "name": "NormalizerAuto"
|
14490
|
+
# },
|
14491
|
+
# {
|
14492
|
+
# "name": "NormalizerNFKC51"
|
14493
|
+
# }
|
14494
|
+
# ]
|
14495
|
+
# ]
|
14496
|
+
.ft P
|
14497
|
+
.fi
|
14498
|
+
.UNINDENT
|
14499
|
+
.UNINDENT
|
14500
|
+
.sp
|
14501
|
+
It returns normalizers in a database.
|
14502
|
+
.SS 戻り値
|
14503
|
+
.sp
|
14504
|
+
\fBnormalizer_list\fP command returns normalizers. Each normalizers has an attribute
|
14505
|
+
that contains the name. The attribute will be increased in the feature:
|
14506
|
+
.INDENT 0.0
|
14507
|
+
.INDENT 3.5
|
14508
|
+
.sp
|
14509
|
+
.nf
|
14510
|
+
.ft C
|
14511
|
+
[HEADER, normalizer]
|
14512
|
+
.ft P
|
14513
|
+
.fi
|
14514
|
+
.UNINDENT
|
14515
|
+
.UNINDENT
|
14516
|
+
.sp
|
14517
|
+
\fBHEADER\fP
|
14518
|
+
.INDENT 0.0
|
14519
|
+
.INDENT 3.5
|
14520
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
14521
|
+
.UNINDENT
|
14522
|
+
.UNINDENT
|
14523
|
+
.sp
|
14524
|
+
\fBnormalizer\fP
|
14525
|
+
.INDENT 0.0
|
14526
|
+
.INDENT 3.5
|
14527
|
+
\fBnormalizer\fP is an array of normalizer. Normalizer is an object that has the following
|
14528
|
+
attributes.
|
14529
|
+
.TS
|
14530
|
+
center;
|
14531
|
+
|l|l|.
|
14532
|
+
_
|
14533
|
+
T{
|
14534
|
+
名前
|
14535
|
+
T} T{
|
14536
|
+
説明
|
14537
|
+
T}
|
14538
|
+
_
|
14539
|
+
T{
|
14540
|
+
\fBname\fP
|
14541
|
+
T} T{
|
14542
|
+
Normalizer name.
|
14543
|
+
T}
|
14544
|
+
_
|
14545
|
+
.TE
|
14546
|
+
.UNINDENT
|
14547
|
+
.UNINDENT
|
14548
|
+
.SS 参考
|
14549
|
+
.INDENT 0.0
|
14550
|
+
.IP \(bu 2
|
14551
|
+
\fB/reference/normalizers\fP
|
14552
|
+
.IP \(bu 2
|
14553
|
+
\fB/reference/commands/normalize\fP
|
14554
|
+
.UNINDENT
|
14330
14555
|
.SS quit
|
14331
14556
|
.SS 名前
|
14332
14557
|
.sp
|
@@ -14608,7 +14833,7 @@ select table
|
|
14608
14833
|
[limit=10]
|
14609
14834
|
[drilldown=null]
|
14610
14835
|
[drilldown_sortby=null]
|
14611
|
-
[drilldown_output_columns=
|
14836
|
+
[drilldown_output_columns="_key, _nsubrecs"]
|
14612
14837
|
[drilldown_offset=0]
|
14613
14838
|
[drilldown_limit=10]
|
14614
14839
|
[cache=yes]
|
@@ -16295,7 +16520,7 @@ select Entries \-\-output_columns \(aq_id, _key\(aq \-\-limit 1
|
|
16295
16520
|
この \fBselect\fP コマンドは \fB_id\fP と \fB_key\fP カラムの値だけを出力します。
|
16296
16521
|
.sp
|
16297
16522
|
\fB*\fP is a special value. It means that all columns that are not
|
16298
|
-
\fB/reference/
|
16523
|
+
\fB/reference/columns/pseudo\fP\&.
|
16299
16524
|
.sp
|
16300
16525
|
以下は \fB*\fP の使用例です。
|
16301
16526
|
.sp
|
@@ -16946,6 +17171,74 @@ select Entries \e
|
|
16946
17171
|
.sp
|
16947
17172
|
\fBFACTOR\fP を省略した \fBadjuster\fP の使用例です。
|
16948
17173
|
.sp
|
17174
|
+
実行例:
|
17175
|
+
.INDENT 0.0
|
17176
|
+
.INDENT 3.5
|
17177
|
+
.sp
|
17178
|
+
.nf
|
17179
|
+
.ft C
|
17180
|
+
select Entries \e
|
17181
|
+
\-\-filter true \e
|
17182
|
+
\-\-adjuster \(aqcontent @ "groonga"\(aq \e
|
17183
|
+
\-\-output_columns _key,content,_score
|
17184
|
+
# [
|
17185
|
+
# [
|
17186
|
+
# 0,
|
17187
|
+
# 1337566253.89858,
|
17188
|
+
# 0.000355720520019531
|
17189
|
+
# ],
|
17190
|
+
# [
|
17191
|
+
# [
|
17192
|
+
# [
|
17193
|
+
# 5
|
17194
|
+
# ],
|
17195
|
+
# [
|
17196
|
+
# [
|
17197
|
+
# "_key",
|
17198
|
+
# "ShortText"
|
17199
|
+
# ],
|
17200
|
+
# [
|
17201
|
+
# "content",
|
17202
|
+
# "Text"
|
17203
|
+
# ],
|
17204
|
+
# [
|
17205
|
+
# "_score",
|
17206
|
+
# "Int32"
|
17207
|
+
# ]
|
17208
|
+
# ],
|
17209
|
+
# [
|
17210
|
+
# "The first post!",
|
17211
|
+
# "Welcome! This is my first post!",
|
17212
|
+
# 1
|
17213
|
+
# ],
|
17214
|
+
# [
|
17215
|
+
# "Groonga",
|
17216
|
+
# "I started to use groonga. It\(aqs very fast!",
|
17217
|
+
# 2
|
17218
|
+
# ],
|
17219
|
+
# [
|
17220
|
+
# "Mroonga",
|
17221
|
+
# "I also started to use mroonga. It\(aqs also very fast! Really fast!",
|
17222
|
+
# 1
|
17223
|
+
# ],
|
17224
|
+
# [
|
17225
|
+
# "Good\-bye Senna",
|
17226
|
+
# "I migrated all Senna system!",
|
17227
|
+
# 1
|
17228
|
+
# ],
|
17229
|
+
# [
|
17230
|
+
# "Good\-bye Tritonn",
|
17231
|
+
# "I also migrated all Tritonn system!",
|
17232
|
+
# 1
|
17233
|
+
# ]
|
17234
|
+
# ]
|
17235
|
+
# ]
|
17236
|
+
# ]
|
17237
|
+
.ft P
|
17238
|
+
.fi
|
17239
|
+
.UNINDENT
|
17240
|
+
.UNINDENT
|
17241
|
+
.sp
|
16949
17242
|
この \fBselect\fP コマンドの \fBadjuster\fP は \fBFACTOR\fP がありません。そのため、係数は1になります。 \fBEntries.content\fP カラムに \fB"groonga"\fP を含むレコードは1つだけです。キーが \fB"Groonga"\fP のレコードです。このレコードのスコアーは2( \fB= 1 + 1\fP )になります。
|
16950
17243
|
.sp
|
16951
17244
|
複数の \fBSCORE_ADJUST_EXPRESSION\fP を使った \fBadjuster\fP の使用例です。
|
@@ -17026,11 +17319,7 @@ select Entries \e
|
|
17026
17319
|
.sp
|
17027
17320
|
最終的なスコアーの増分は9( \fB= 1 + 5 + 3\fP )です。
|
17028
17321
|
.sp
|
17029
|
-
|
17030
|
-
means that increased scores of all records that has \fB"KEYWORD"\fP are
|
17031
|
-
the same value. You can change increase score for each record that has
|
17032
|
-
the same \fB"KEYWORD"\fP\&. It is useful to tune search score. See
|
17033
|
-
\fIweight\-vector\-column\fP for details.
|
17322
|
+
1つの \fBSCORE_ADJUST_EXPRESSION\fP は \fB"KEYWORD"\fP に対して1つの係数を持ちます。これは、 \fB"KEYWORD"\fP を持つすべてのレコードでスコアーの増加分は同じということです。 \fB"KEYWORD"\fP を持つそれぞれのレコード毎にスコアーの増加分を変えることができます。これは検索スコアーをチューニングするときに便利です。詳細は \fIweight\-vector\-column\fP を参照してください。
|
17034
17323
|
.SS 返値
|
17035
17324
|
.sp
|
17036
17325
|
TODO: write in English and add example.
|
@@ -18988,37 +19277,147 @@ tokenize TokenBigramSplitSymbolAlpha "Fulltext Search" NormalizerAuto
|
|
18988
19277
|
.UNINDENT
|
18989
19278
|
.UNINDENT
|
18990
19279
|
.sp
|
18991
|
-
すべてのアルファベットが2文字ごとにトークナイズされています。そして、すべての文字が小文字にノーマライズされています。例えば、 \fBfu\fP で1つのトークンになっています。
|
18992
|
-
.SS \fBflags\fP
|
18993
|
-
.sp
|
18994
|
-
トークナイズ処理をカスタマイズするオプションを指定します。「 \fB|\fP 」で区切って複数のオプションを指定することができます。例えば、 \fBNONE|ENABLE_TOKENIZED_DELIMITER\fP というように指定できます。
|
19280
|
+
すべてのアルファベットが2文字ごとにトークナイズされています。そして、すべての文字が小文字にノーマライズされています。例えば、 \fBfu\fP で1つのトークンになっています。
|
19281
|
+
.SS \fBflags\fP
|
19282
|
+
.sp
|
19283
|
+
トークナイズ処理をカスタマイズするオプションを指定します。「 \fB|\fP 」で区切って複数のオプションを指定することができます。例えば、 \fBNONE|ENABLE_TOKENIZED_DELIMITER\fP というように指定できます。
|
19284
|
+
.sp
|
19285
|
+
指定可能なフラグは以下の通りです。
|
19286
|
+
.TS
|
19287
|
+
center;
|
19288
|
+
|l|l|.
|
19289
|
+
_
|
19290
|
+
T{
|
19291
|
+
フラグ
|
19292
|
+
T} T{
|
19293
|
+
説明
|
19294
|
+
T}
|
19295
|
+
_
|
19296
|
+
T{
|
19297
|
+
\fBNONE\fP
|
19298
|
+
T} T{
|
19299
|
+
無視されます。
|
19300
|
+
T}
|
19301
|
+
_
|
19302
|
+
T{
|
19303
|
+
\fBENABLE_TOKENIZED_DELIMITER\fP
|
19304
|
+
T} T{
|
19305
|
+
トークナイズ済み区切り文字を有効にします。トークナイズ済み区切り文字の詳細は \fB/reference/tokenizers\fP を参照してください。
|
19306
|
+
T}
|
19307
|
+
_
|
19308
|
+
.TE
|
19309
|
+
.sp
|
19310
|
+
以下は \fBENABLE_TOKENIZED_DELIMITER\fP を使った例です。
|
19311
|
+
.sp
|
19312
|
+
実行例:
|
19313
|
+
.INDENT 0.0
|
19314
|
+
.INDENT 3.5
|
19315
|
+
.sp
|
19316
|
+
.nf
|
19317
|
+
.ft C
|
19318
|
+
tokenize TokenDelimit "Fulltext Seacrch" NormalizerAuto ENABLE_TOKENIZED_DELIMITER
|
19319
|
+
# [
|
19320
|
+
# [
|
19321
|
+
# 0,
|
19322
|
+
# 1337566253.89858,
|
19323
|
+
# 0.000355720520019531
|
19324
|
+
# ],
|
19325
|
+
# [
|
19326
|
+
# {
|
19327
|
+
# "position": 0,
|
19328
|
+
# "value": "full"
|
19329
|
+
# },
|
19330
|
+
# {
|
19331
|
+
# "position": 1,
|
19332
|
+
# "value": "text sea"
|
19333
|
+
# },
|
19334
|
+
# {
|
19335
|
+
# "position": 2,
|
19336
|
+
# "value": "crch"
|
19337
|
+
# }
|
19338
|
+
# ]
|
19339
|
+
# ]
|
19340
|
+
.ft P
|
19341
|
+
.fi
|
19342
|
+
.UNINDENT
|
19343
|
+
.UNINDENT
|
19344
|
+
.sp
|
19345
|
+
\fBTokenDelimit\fP トークナイザーはトークナイズ済み区切り文字をサポートしているトークナイザーの1つです。 \fBENABLE_TOKENIZED_DELIMITER\fP でトークナイズ済み区切り文字を有効に出来ます。トークナイズ済み区切り文字はトークンの区切りを表す特別な文字です。この文字は \fBU+FFFE\fP です。この文字コードはどの文字にも割り当てられていません。つまり、通常の文字列にはこの文字は現れません。よって、トークンの区切りを表すという目的には適切な文字です。 \fBENABLE_TOKENIZED_DELIMITER\fP が有効のときは、対象文字列はすでにトークナイズ済みであると扱われます。トークナイザーは単にトークナイズ済み区切り文字で区切ってトークナイズします。
|
19346
|
+
.SS 戻り値
|
19347
|
+
.sp
|
19348
|
+
\fBtokenize\fP コマンドはトークナイズしたトークンをすべて返します。各トークンはトークン自身の文字列情報以外にいくつかの属性を持ちます。属性は今後増えていく可能性があります:
|
19349
|
+
.INDENT 0.0
|
19350
|
+
.INDENT 3.5
|
19351
|
+
.sp
|
19352
|
+
.nf
|
19353
|
+
.ft C
|
19354
|
+
[HEADER, tokens]
|
19355
|
+
.ft P
|
19356
|
+
.fi
|
19357
|
+
.UNINDENT
|
19358
|
+
.UNINDENT
|
19359
|
+
.sp
|
19360
|
+
\fBHEADER\fP
|
19361
|
+
.INDENT 0.0
|
19362
|
+
.INDENT 3.5
|
19363
|
+
\fBHEADER\fP については \fB/reference/command/output_format\fP を参照してください。
|
19364
|
+
.UNINDENT
|
19365
|
+
.UNINDENT
|
18995
19366
|
.sp
|
18996
|
-
|
19367
|
+
\fBtokens\fP
|
19368
|
+
.INDENT 0.0
|
19369
|
+
.INDENT 3.5
|
19370
|
+
\fBtokens\fP はトークンの配列です。トークンは以下の属性を持ったオブジェクトです。
|
18997
19371
|
.TS
|
18998
19372
|
center;
|
18999
19373
|
|l|l|.
|
19000
19374
|
_
|
19001
19375
|
T{
|
19002
|
-
|
19376
|
+
名前
|
19003
19377
|
T} T{
|
19004
19378
|
説明
|
19005
19379
|
T}
|
19006
19380
|
_
|
19007
19381
|
T{
|
19008
|
-
\
|
19382
|
+
\fBvalue\fP
|
19009
19383
|
T} T{
|
19010
|
-
|
19384
|
+
トークン自身
|
19011
19385
|
T}
|
19012
19386
|
_
|
19013
19387
|
T{
|
19014
|
-
\
|
19388
|
+
\fBposition\fP
|
19015
19389
|
T} T{
|
19016
|
-
|
19390
|
+
N番目のトークン。
|
19017
19391
|
T}
|
19018
19392
|
_
|
19019
19393
|
.TE
|
19394
|
+
.UNINDENT
|
19395
|
+
.UNINDENT
|
19396
|
+
.SS 参考
|
19397
|
+
.INDENT 0.0
|
19398
|
+
.IP \(bu 2
|
19399
|
+
\fB/reference/tokenizers\fP
|
19400
|
+
.UNINDENT
|
19401
|
+
.SS \fBtokenizer_list\fP
|
19402
|
+
.SS 概要
|
19020
19403
|
.sp
|
19021
|
-
|
19404
|
+
\fBtokenizer_list\fP command lists tokenizers in a database.
|
19405
|
+
.SS 構文
|
19406
|
+
.sp
|
19407
|
+
\fBtokenizer_list\fP command takes no parameter.
|
19408
|
+
.INDENT 0.0
|
19409
|
+
.INDENT 3.5
|
19410
|
+
.sp
|
19411
|
+
.nf
|
19412
|
+
.ft C
|
19413
|
+
tokenizer_list
|
19414
|
+
.ft P
|
19415
|
+
.fi
|
19416
|
+
.UNINDENT
|
19417
|
+
.UNINDENT
|
19418
|
+
.SS 使い方
|
19419
|
+
.sp
|
19420
|
+
以下は簡単な使用例です。
|
19022
19421
|
.sp
|
19023
19422
|
実行例:
|
19024
19423
|
.INDENT 0.0
|
@@ -19026,25 +19425,52 @@ _
|
|
19026
19425
|
.sp
|
19027
19426
|
.nf
|
19028
19427
|
.ft C
|
19029
|
-
|
19428
|
+
tokenizer_list
|
19030
19429
|
# [
|
19031
19430
|
# [
|
19032
19431
|
# 0,
|
19033
|
-
#
|
19034
|
-
# 0.
|
19432
|
+
# 0.0,
|
19433
|
+
# 0.0
|
19035
19434
|
# ],
|
19036
19435
|
# [
|
19037
19436
|
# {
|
19038
|
-
# "
|
19039
|
-
# "value": "full"
|
19437
|
+
# "name": "TokenMecab"
|
19040
19438
|
# },
|
19041
19439
|
# {
|
19042
|
-
# "
|
19043
|
-
# "value": "text sea"
|
19440
|
+
# "name": "TokenDelimit"
|
19044
19441
|
# },
|
19045
19442
|
# {
|
19046
|
-
# "
|
19047
|
-
#
|
19443
|
+
# "name": "TokenUnigram"
|
19444
|
+
# },
|
19445
|
+
# {
|
19446
|
+
# "name": "TokenBigram"
|
19447
|
+
# },
|
19448
|
+
# {
|
19449
|
+
# "name": "TokenTrigram"
|
19450
|
+
# },
|
19451
|
+
# {
|
19452
|
+
# "name": "TokenBigramSplitSymbol"
|
19453
|
+
# },
|
19454
|
+
# {
|
19455
|
+
# "name": "TokenBigramSplitSymbolAlpha"
|
19456
|
+
# },
|
19457
|
+
# {
|
19458
|
+
# "name": "TokenBigramSplitSymbolAlphaDigit"
|
19459
|
+
# },
|
19460
|
+
# {
|
19461
|
+
# "name": "TokenBigramIgnoreBlank"
|
19462
|
+
# },
|
19463
|
+
# {
|
19464
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbol"
|
19465
|
+
# },
|
19466
|
+
# {
|
19467
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlpha"
|
19468
|
+
# },
|
19469
|
+
# {
|
19470
|
+
# "name": "TokenBigramIgnoreBlankSplitSymbolAlphaDigit"
|
19471
|
+
# },
|
19472
|
+
# {
|
19473
|
+
# "name": "TokenDelimitNull"
|
19048
19474
|
# }
|
19049
19475
|
# ]
|
19050
19476
|
# ]
|
@@ -19053,16 +19479,17 @@ tokenize TokenDelimit "Full
|
|
19053
19479
|
.UNINDENT
|
19054
19480
|
.UNINDENT
|
19055
19481
|
.sp
|
19056
|
-
|
19482
|
+
It returns tokenizers in a database.
|
19057
19483
|
.SS 戻り値
|
19058
19484
|
.sp
|
19059
|
-
\
|
19485
|
+
\fBtokenizer_list\fP command returns tokenizers. Each tokenizers has an attribute
|
19486
|
+
that contains the name. The attribute will be increased in the feature:
|
19060
19487
|
.INDENT 0.0
|
19061
19488
|
.INDENT 3.5
|
19062
19489
|
.sp
|
19063
19490
|
.nf
|
19064
19491
|
.ft C
|
19065
|
-
[HEADER,
|
19492
|
+
[HEADER, tokenizer]
|
19066
19493
|
.ft P
|
19067
19494
|
.fi
|
19068
19495
|
.UNINDENT
|
@@ -19075,10 +19502,11 @@ tokenize TokenDelimit "Full
|
|
19075
19502
|
.UNINDENT
|
19076
19503
|
.UNINDENT
|
19077
19504
|
.sp
|
19078
|
-
\
|
19505
|
+
\fBtokenizer\fP
|
19079
19506
|
.INDENT 0.0
|
19080
19507
|
.INDENT 3.5
|
19081
|
-
\
|
19508
|
+
\fBtokenizer\fP is an array of tokenizer. Tokenizer is an object that has the following
|
19509
|
+
attributes.
|
19082
19510
|
.TS
|
19083
19511
|
center;
|
19084
19512
|
|l|l|.
|
@@ -19090,15 +19518,9 @@ T} T{
|
|
19090
19518
|
T}
|
19091
19519
|
_
|
19092
19520
|
T{
|
19093
|
-
\
|
19094
|
-
T} T{
|
19095
|
-
トークン自身
|
19096
|
-
T}
|
19097
|
-
_
|
19098
|
-
T{
|
19099
|
-
\fBposition\fP
|
19521
|
+
\fBname\fP
|
19100
19522
|
T} T{
|
19101
|
-
|
19523
|
+
Tokenizer name.
|
19102
19524
|
T}
|
19103
19525
|
_
|
19104
19526
|
.TE
|
@@ -19108,6 +19530,8 @@ _
|
|
19108
19530
|
.INDENT 0.0
|
19109
19531
|
.IP \(bu 2
|
19110
19532
|
\fB/reference/tokenizers\fP
|
19533
|
+
.IP \(bu 2
|
19534
|
+
\fB/reference/commands/tokenize\fP
|
19111
19535
|
.UNINDENT
|
19112
19536
|
.SS \fBtruncate\fP
|
19113
19537
|
.SS 概要
|
@@ -19652,6 +20076,8 @@ _
|
|
19652
20076
|
\fBcolumns/scalar\fP
|
19653
20077
|
.IP \(bu 2
|
19654
20078
|
\fBcolumns/vector\fP
|
20079
|
+
.IP \(bu 2
|
20080
|
+
\fBcolumns/pseudo\fP
|
19655
20081
|
.UNINDENT
|
19656
20082
|
.UNINDENT
|
19657
20083
|
.UNINDENT
|
@@ -20117,52 +20543,6 @@ mroonga(TAB)mroonga(TAB)groonga MySQL
|
|
20117
20543
|
.UNINDENT
|
20118
20544
|
.UNINDENT
|
20119
20545
|
.UNINDENT
|
20120
|
-
.SS 疑似カラム (pseudo_column)
|
20121
|
-
.SS 名前
|
20122
|
-
.sp
|
20123
|
-
疑似カラム
|
20124
|
-
.SS 説明
|
20125
|
-
.sp
|
20126
|
-
Groongaのデータベースで作成したテーブルには、いくつかのカラムが自動的に定義されます。
|
20127
|
-
.sp
|
20128
|
-
これらのカラムはいずれもアンダースコア(\(aq_\(aq)で始まる名前が付与されます。定義される疑似カラムは、テーブルの種類によって異なります。
|
20129
|
-
.sp
|
20130
|
-
\fB_id\fP
|
20131
|
-
.INDENT 0.0
|
20132
|
-
.INDENT 3.5
|
20133
|
-
レコードに付与される一意な番号です。全てのテーブルに定義されます。値の範囲は1〜1073741824の整数で、通常はレコードを追加した順に1ずつ加算されます。_idの値は不変で、レコードが存在する限り変更することはできません。ただし、削除されたレコードの_idの値は再利用されます。
|
20134
|
-
.UNINDENT
|
20135
|
-
.UNINDENT
|
20136
|
-
.sp
|
20137
|
-
\fB_key\fP
|
20138
|
-
.INDENT 0.0
|
20139
|
-
.INDENT 3.5
|
20140
|
-
レコードの主キー値を表します。主キーを持つテーブルのみに定義されます。主キー値はテーブルの中で一意であり、変更することはできません。
|
20141
|
-
.UNINDENT
|
20142
|
-
.UNINDENT
|
20143
|
-
.sp
|
20144
|
-
\fB_value\fP
|
20145
|
-
.INDENT 0.0
|
20146
|
-
.INDENT 3.5
|
20147
|
-
レコードの値を表します。value_typeを指定したテーブルのみに定義されます。自由に変更可能です。
|
20148
|
-
.UNINDENT
|
20149
|
-
.UNINDENT
|
20150
|
-
.sp
|
20151
|
-
\fB_score\fP
|
20152
|
-
.INDENT 0.0
|
20153
|
-
.INDENT 3.5
|
20154
|
-
各レコードのスコア値を表します。検索結果として生成されたテーブルのみに定義されます。
|
20155
|
-
.sp
|
20156
|
-
検索処理を実行する過程で値が設定されますが、自由に変更可能です。
|
20157
|
-
.UNINDENT
|
20158
|
-
.UNINDENT
|
20159
|
-
.sp
|
20160
|
-
\fB_nsubrecs\fP
|
20161
|
-
.INDENT 0.0
|
20162
|
-
.INDENT 3.5
|
20163
|
-
主キーの値が同一であったレコードの件数を表します。検索結果として生成されたテーブルのみに定義されます。グループ化(drilldown)処理を実行すると、グループ化前のテーブルにおいて、グループ化キーの値が同一であったレコードの件数が、グループ化処理の結果を格納するテーブルの_nsubrecsに記録されます。
|
20164
|
-
.UNINDENT
|
20165
|
-
.UNINDENT
|
20166
20546
|
.SS grn_expr
|
20167
20547
|
.sp
|
20168
20548
|
grn_exprは特定の条件にマッチするレコードを検索したり、データベースを操作するオブジェクトです。 \fBぐるんしき\fP と読みます。(由来は「Groongaの式」。)
|
@@ -20270,7 +20650,9 @@ load \-\-table Entries
|
|
20270
20650
|
.UNINDENT
|
20271
20651
|
.UNINDENT
|
20272
20652
|
.sp
|
20273
|
-
|
20653
|
+
\fB\e\fP (バックスラッシュ)以外はエスケープする代わりにクォートすることもできます。クォート中でバックスラッシュをエスケープするときは \fB\e\e\fP というようにバックスラッシュを使います。
|
20654
|
+
.sp
|
20655
|
+
クォート構文は \fB"..."\fP または \fB\(aq...\(aq\fP です。 \fB"..."\fP クォート構文中では \fB"\fP を \fB\e"\fP にエスケープする必要があります。 \fB\(aq...\(aq\fP クォート構文中では \fB\(aq\fP を \fB\e\(aq\fP にエスケープする必要があります。例えば、 \fBAlice\(aqs brother (Bob)\fP は \fB"Alice\(aqs brother (Bob)"\fP あるいは \fB\(aqAlice\e\(aqs brother (Bob)\(aq\fP とクォートします。
|
20274
20656
|
.sp
|
20275
20657
|
\fBノート:\fP
|
20276
20658
|
.INDENT 0.0
|
@@ -26954,7 +27336,7 @@ TODO...
|
|
26954
27336
|
.INDENT 0.0
|
26955
27337
|
.TP
|
26956
27338
|
.B GRN_COLUMN_NAME_ID
|
26957
|
-
It returns the name of \fB/reference/
|
27339
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_id\fP\&.
|
26958
27340
|
.sp
|
26959
27341
|
It is useful to use with \fBGRN_COLUMN_NAME_ID_LEN\fP like
|
26960
27342
|
the following:
|
@@ -26982,7 +27364,7 @@ Since 3.1.1.
|
|
26982
27364
|
.INDENT 0.0
|
26983
27365
|
.TP
|
26984
27366
|
.B GRN_COLUMN_NAME_KEY
|
26985
|
-
It returns the name of \fB/reference/
|
27367
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_key\fP\&.
|
26986
27368
|
.sp
|
26987
27369
|
It is useful to use with \fBGRN_COLUMN_NAME_KEY_LEN\fP like
|
26988
27370
|
the following:
|
@@ -27010,7 +27392,7 @@ Since 3.1.1.
|
|
27010
27392
|
.INDENT 0.0
|
27011
27393
|
.TP
|
27012
27394
|
.B GRN_COLUMN_NAME_VALUE
|
27013
|
-
It returns the name of \fB/reference/
|
27395
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_value\fP\&.
|
27014
27396
|
.sp
|
27015
27397
|
It is useful to use with \fBGRN_COLUMN_NAME_VALUE_LEN\fP like
|
27016
27398
|
the following:
|
@@ -27038,7 +27420,7 @@ Since 3.1.1.
|
|
27038
27420
|
.INDENT 0.0
|
27039
27421
|
.TP
|
27040
27422
|
.B GRN_COLUMN_NAME_SCORE
|
27041
|
-
It returns the name of \fB/reference/
|
27423
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_score\fP\&.
|
27042
27424
|
.sp
|
27043
27425
|
It is useful to use with \fBGRN_COLUMN_NAME_SCORE_LEN\fP like
|
27044
27426
|
the following:
|
@@ -27066,7 +27448,7 @@ Since 3.1.1.
|
|
27066
27448
|
.INDENT 0.0
|
27067
27449
|
.TP
|
27068
27450
|
.B GRN_COLUMN_NAME_NSUBRECS
|
27069
|
-
It returns the name of \fB/reference/
|
27451
|
+
It returns the name of \fB/reference/columns/pseudo\fP \fB_nsubrecs\fP\&.
|
27070
27452
|
.sp
|
27071
27453
|
It is useful to use with \fBGRN_COLUMN_NAME_NSUBRECS_LEN\fP like
|
27072
27454
|
the following:
|
@@ -29314,6 +29696,25 @@ objectに登録できるユーザデータへのポインタを返します。ta
|
|
29314
29696
|
.UNINDENT
|
29315
29697
|
.UNINDENT
|
29316
29698
|
.UNINDENT
|
29699
|
+
.SS Plugin
|
29700
|
+
.SS 概要
|
29701
|
+
.sp
|
29702
|
+
Groonga supports plugin. You can create a new plugin with the
|
29703
|
+
following API.
|
29704
|
+
.sp
|
29705
|
+
TOOD: Describe about how to create the minimum plugin here or create a
|
29706
|
+
tutorial about it.
|
29707
|
+
.SS リファレンス
|
29708
|
+
.INDENT 0.0
|
29709
|
+
.TP
|
29710
|
+
.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)
|
29711
|
+
TODO...
|
29712
|
+
.UNINDENT
|
29713
|
+
.INDENT 0.0
|
29714
|
+
.TP
|
29715
|
+
.B grn_obj *grn_plugin_proc_get_var_by_offset(grn_ctx *ctx, grn_user_data *user_data, unsigned int offset);
|
29716
|
+
TODO...
|
29717
|
+
.UNINDENT
|
29317
29718
|
.SH 仕様
|
29318
29719
|
.SS GQTP
|
29319
29720
|
.sp
|
@@ -30188,7 +30589,7 @@ Travis CIは64\-bit版のUbuntu 12.04 LTS サーバ版を使っています。
|
|
30188
30589
|
.nf
|
30189
30590
|
.ft C
|
30190
30591
|
before_install:
|
30191
|
-
\- curl https://
|
30592
|
+
\- curl \-\-silent \-\-location https://github.com/groonga/groonga/raw/master/data/travis/setup.sh | sh
|
30192
30593
|
.ft P
|
30193
30594
|
.fi
|
30194
30595
|
.UNINDENT
|
@@ -30268,11 +30669,111 @@ GroongaプロジェクトではGroongaについて議論するための \fB/comm
|
|
30268
30669
|
.SS ドキュメント関連のコントリビュート方法
|
30269
30670
|
.sp
|
30270
30671
|
ドキュメントツールとして \fI\%Sphinx\fP を使います。
|
30271
|
-
.SS
|
30672
|
+
.SS Introduction
|
30272
30673
|
.sp
|
30273
|
-
|
30674
|
+
This documentation describes about how to write, generate and manage
|
30675
|
+
Groonga documentation.
|
30676
|
+
.SS Install depended softwares
|
30274
30677
|
.sp
|
30275
|
-
|
30678
|
+
Groonga uses \fI\%Sphinx\fP as documentation tool. Groonga requires newer
|
30679
|
+
Sphinx. So Groonga clones the latest Sphinx from Sphinx repository
|
30680
|
+
automatically. You need only \fI\%Mercurial\fP, \fI\%Docutils\fP and \fI\%Jinja\fP\&.
|
30681
|
+
.sp
|
30682
|
+
Here are command lines to install needed softwares.
|
30683
|
+
.sp
|
30684
|
+
Debian GNU/Linux, Ubuntu:
|
30685
|
+
.INDENT 0.0
|
30686
|
+
.INDENT 3.5
|
30687
|
+
.sp
|
30688
|
+
.nf
|
30689
|
+
.ft C
|
30690
|
+
% sudo apt\-get install \-V \-y mercurial python\-docutils python\-jinja2
|
30691
|
+
.ft P
|
30692
|
+
.fi
|
30693
|
+
.UNINDENT
|
30694
|
+
.UNINDENT
|
30695
|
+
.sp
|
30696
|
+
CentOS, Fedora:
|
30697
|
+
.INDENT 0.0
|
30698
|
+
.INDENT 3.5
|
30699
|
+
.sp
|
30700
|
+
.nf
|
30701
|
+
.ft C
|
30702
|
+
% sudo yum install \-y mercurial python\-docutils python\-jinja2
|
30703
|
+
.ft P
|
30704
|
+
.fi
|
30705
|
+
.UNINDENT
|
30706
|
+
.UNINDENT
|
30707
|
+
.sp
|
30708
|
+
OS X:
|
30709
|
+
.INDENT 0.0
|
30710
|
+
.INDENT 3.5
|
30711
|
+
.sp
|
30712
|
+
.nf
|
30713
|
+
.ft C
|
30714
|
+
% brew install mercurial
|
30715
|
+
% pip install docutils
|
30716
|
+
% pip install jinja
|
30717
|
+
.ft P
|
30718
|
+
.fi
|
30719
|
+
.UNINDENT
|
30720
|
+
.UNINDENT
|
30721
|
+
.SS Run \fBconfigure\fP with \fB\-\-enable\-document\fP
|
30722
|
+
.sp
|
30723
|
+
Groonga disables documentation generation by default. You need to
|
30724
|
+
enable it explicitly by adding \fB\-\-enable\-document\fP option to
|
30725
|
+
\fBconfigure\fP:
|
30726
|
+
.INDENT 0.0
|
30727
|
+
.INDENT 3.5
|
30728
|
+
.sp
|
30729
|
+
.nf
|
30730
|
+
.ft C
|
30731
|
+
% ./configure \-\-enable\-document
|
30732
|
+
.ft P
|
30733
|
+
.fi
|
30734
|
+
.UNINDENT
|
30735
|
+
.UNINDENT
|
30736
|
+
.sp
|
30737
|
+
Now, your Groonga build is documentation ready.
|
30738
|
+
.SS HTMLファイルを生成
|
30739
|
+
.sp
|
30740
|
+
You can generate HTML by the following command:
|
30741
|
+
.INDENT 0.0
|
30742
|
+
.INDENT 3.5
|
30743
|
+
.sp
|
30744
|
+
.nf
|
30745
|
+
.ft C
|
30746
|
+
% make \-C doc html
|
30747
|
+
.ft P
|
30748
|
+
.fi
|
30749
|
+
.UNINDENT
|
30750
|
+
.UNINDENT
|
30751
|
+
.sp
|
30752
|
+
You can find generated HTML documentation at \fBdoc/locale/en/html/\fP\&.
|
30753
|
+
.SS Update
|
30754
|
+
.sp
|
30755
|
+
You can find sources of documentation at \fBdoc/source/\fP\&. The sources
|
30756
|
+
should be written in English. See \fBi18n\fP about how to translate
|
30757
|
+
documentation.
|
30758
|
+
.sp
|
30759
|
+
You can update the target file when you update the existing
|
30760
|
+
documentation file.
|
30761
|
+
.sp
|
30762
|
+
You need to update file list after you add a new file, change file
|
30763
|
+
path and delete existing file. You can update file list by the
|
30764
|
+
following command:
|
30765
|
+
.INDENT 0.0
|
30766
|
+
.INDENT 3.5
|
30767
|
+
.sp
|
30768
|
+
.nf
|
30769
|
+
.ft C
|
30770
|
+
% make \-C doc update\-files
|
30771
|
+
.ft P
|
30772
|
+
.fi
|
30773
|
+
.UNINDENT
|
30774
|
+
.UNINDENT
|
30775
|
+
.sp
|
30776
|
+
The command updates \fBdoc/files.am\fP\&.
|
30276
30777
|
.SS 国際化
|
30277
30778
|
.sp
|
30278
30779
|
今のところ、Groongaには日本語でのドキュメントしかありません。1.2.2からgettextベースの \fI\%Sphinx I18N feature\fP を使ってドキュメントの国際化対応を始めました。この仕組みではベースの言語として英語を使い、日本語などの他の言語には英語からその言語に翻訳します。すべてのドキュメントはdoc/source/以下において、それをSphinxで処理します。
|
@@ -30513,7 +31014,12 @@ doc/locale/${LANGUAGE}/LC_MESSAGES/以下を.tar.gzや.zipなどでアーカイ
|
|
30513
31014
|
言語名を表記するためのコード
|
30514
31015
|
.UNINDENT
|
30515
31016
|
.UNINDENT
|
30516
|
-
.SS
|
31017
|
+
.SS C API
|
31018
|
+
.sp
|
31019
|
+
今のところ、C APIのドキュメントはinclude/groonga.hにありますが、これをdoc/source/c\-api/*.txtに移動したいと思っています。C APIのドキュメントを移動して、パッチを送ってくれるととても喜びます。
|
31020
|
+
.sp
|
31021
|
+
Sphinxの \fI\%the C domain markup\fP を使う予定です。
|
31022
|
+
.SS Groonga開発者向け情報
|
30517
31023
|
.SS リポジトリ
|
30518
31024
|
.sp
|
30519
31025
|
Groongaのリポジトリは \fI\%GitHub\fP 上にあります。次のコマンドでcloneできます。
|
@@ -30629,65 +31135,6 @@ Groonga関連で気軽につぶやけないとなると開発者は困ってい
|
|
30629
31135
|
.SS 対応
|
30630
31136
|
.sp
|
30631
31137
|
twitterでやりとりを完結できるようにします。
|
30632
|
-
.SS ドキュメント作成
|
30633
|
-
.SS Sphinxのインストール
|
30634
|
-
.sp
|
30635
|
-
Groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは以下のように導入します。:
|
30636
|
-
.INDENT 0.0
|
30637
|
-
.INDENT 3.5
|
30638
|
-
.sp
|
30639
|
-
.nf
|
30640
|
-
.ft C
|
30641
|
-
# aptitude install python\-setuptools
|
30642
|
-
# easy_install \-U sphinx
|
30643
|
-
.ft P
|
30644
|
-
.fi
|
30645
|
-
.UNINDENT
|
30646
|
-
.UNINDENT
|
30647
|
-
.SS htmlの作成
|
30648
|
-
.sp
|
30649
|
-
以下のコマンドでhtmlが作成されます。:
|
30650
|
-
.INDENT 0.0
|
30651
|
-
.INDENT 3.5
|
30652
|
-
.sp
|
30653
|
-
.nf
|
30654
|
-
.ft C
|
30655
|
-
% make html
|
30656
|
-
.ft P
|
30657
|
-
.fi
|
30658
|
-
.UNINDENT
|
30659
|
-
.UNINDENT
|
30660
|
-
.sp
|
30661
|
-
このドキュメントはソースアーカイブの形式で配布され、随時更新しています。最新のドキュメントをソース形式で参照したいなら、GitHubのリポジトリブラウザ経由で閲覧できます。(\fI\%https://github.com/groonga/groonga/tree/master/doc/source\fP)
|
30662
|
-
.SS pdfの作成
|
30663
|
-
.sp
|
30664
|
-
Groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント(IPA Gothic/IPAexGothic)が必要となります。
|
30665
|
-
.SS rst2pdfのインストール
|
30666
|
-
.sp
|
30667
|
-
以下のようにしてインストールできます。:
|
30668
|
-
.INDENT 0.0
|
30669
|
-
.INDENT 3.5
|
30670
|
-
.sp
|
30671
|
-
.nf
|
30672
|
-
.ft C
|
30673
|
-
# easy_install rst2pdf
|
30674
|
-
.ft P
|
30675
|
-
.fi
|
30676
|
-
.UNINDENT
|
30677
|
-
.UNINDENT
|
30678
|
-
.SS pdfの作成
|
30679
|
-
.sp
|
30680
|
-
以下のコマンドでpdfが作成されます。:
|
30681
|
-
.INDENT 0.0
|
30682
|
-
.INDENT 3.5
|
30683
|
-
.sp
|
30684
|
-
.nf
|
30685
|
-
.ft C
|
30686
|
-
% make pdf
|
30687
|
-
.ft P
|
30688
|
-
.fi
|
30689
|
-
.UNINDENT
|
30690
|
-
.UNINDENT
|
30691
31138
|
.SS クエリの実現
|
30692
31139
|
.sp
|
30693
31140
|
Groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をGroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、Groongaは複数の手段を用意しています。
|