rroonga 4.0.5-x64-mingw32 → 4.0.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -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 +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libonig-5.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -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 +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +1 -1
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +1 -1
- 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 +2 -2
- 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 +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +41 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- 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 +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +6 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
- 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 +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- 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 +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- 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 +5 -5
- 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 +10 -10
- 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/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +6 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
- 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 +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- 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 +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +10 -10
- 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/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>8.1. GQTP — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../index.html" />
|
30
|
+
<link rel="up" title="8. 仕様" href="../spec.html" />
|
31
|
+
<link rel="next" title="8.2. 検索" href="search.html" />
|
32
|
+
<link rel="prev" title="8. 仕様" href="../spec.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,13 +56,13 @@
|
|
56
56
|
<a href="../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="search.html" title="
|
59
|
+
<a href="search.html" title="8.2. 検索"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="../spec.html" title="
|
62
|
+
<a href="../spec.html" title="8. 仕様"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../spec.html" accesskey="U">
|
64
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../spec.html" accesskey="U">8. 仕様</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,10 +72,10 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="gqtp">
|
75
|
-
<h1>
|
75
|
+
<h1>8.1. GQTP<a class="headerlink" href="#gqtp" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p>GQTPはGroonga Query Transfer Protocolの頭文字です。GQTPはgroonga用の独自プロトコルです。</p>
|
77
77
|
<div class="section" id="protocol">
|
78
|
-
<h2>
|
78
|
+
<h2>8.1.1. プロトコル<a class="headerlink" href="#protocol" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>GQTPはステートフルなクライアント・サーバーモデルのプロトコルです。以下の流れが1つの処理単位です:</p>
|
80
80
|
<ul class="simple">
|
81
81
|
<li><p class="first">クライアントがリクエストを送る</p>
|
@@ -92,7 +92,7 @@
|
|
92
92
|
<p>1つのセッション内で0個以上の処理単位を実行できます。</p>
|
93
93
|
<p>リクエストもレスポンスもGQTPヘッダーとボディから成ります。GQTPヘッダーは固定長のデータです。ボディは可変長サイズのデータです。ボディのサイズはGQTPヘッダーの中に入っています。GQTPではボディの中身については何も定義しません。</p>
|
94
94
|
<div class="section" id="gqtp-header">
|
95
|
-
<span id="gqtp-header-spec"></span><h3>
|
95
|
+
<span id="gqtp-header-spec"></span><h3>8.1.1.1. GQTPヘッダー<a class="headerlink" href="#gqtp-header" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
96
96
|
<p>GQTPヘッダーは以下の符号なし整数値から成ります:</p>
|
97
97
|
<table border="1" class="docutils">
|
98
98
|
<colgroup>
|
@@ -161,11 +161,11 @@
|
|
161
161
|
<p>以下のセクションではそれぞれのヘッダーの値で利用可能な値について説明します。</p>
|
162
162
|
<p>GQTPヘッダーは全部で24byteになります。</p>
|
163
163
|
<div class="section" id="id1">
|
164
|
-
<h4>
|
164
|
+
<h4>8.1.1.1.1. <tt class="docutils literal"><span class="pre">protocol</span></tt><a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
165
165
|
<p>リクエストのGQTPヘッダーでもレスポンスのGQTPヘッダーでも、この値は常に <tt class="docutils literal"><span class="pre">0xc7</span></tt> になります。</p>
|
166
166
|
</div>
|
167
167
|
<div class="section" id="query-type">
|
168
|
-
<h4>
|
168
|
+
<h4>8.1.1.1.2. <tt class="docutils literal"><span class="pre">query_type</span></tt><a class="headerlink" href="#query-type" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
169
169
|
<p>この値は以下のいずれかの値です:</p>
|
170
170
|
<table border="1" class="docutils">
|
171
171
|
<colgroup>
|
@@ -214,7 +214,7 @@
|
|
214
214
|
<p>レスポンスGQTPヘッダーで使われます。ボディは指定した形式にします。</p>
|
215
215
|
</div>
|
216
216
|
<div class="section" id="flags">
|
217
|
-
<h4>
|
217
|
+
<h4>8.1.1.1.3. <tt class="docutils literal"><span class="pre">flags</span></tt><a class="headerlink" href="#flags" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
218
218
|
<p>この値は以下の値をビット単位ORしたものになります:</p>
|
219
219
|
<table border="1" class="docutils">
|
220
220
|
<colgroup>
|
@@ -264,7 +264,7 @@
|
|
264
264
|
<p>セッションを終了するときは <tt class="docutils literal"><span class="pre">QUIT</span></tt> フラグを使ってください。</p>
|
265
265
|
</div>
|
266
266
|
<div class="section" id="status">
|
267
|
-
<h4>
|
267
|
+
<h4>8.1.1.1.4. <tt class="docutils literal"><span class="pre">status</span></tt><a class="headerlink" href="#status" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
268
268
|
<p>利用可能な値です。将来的に新しいステータスが追加される可能性があります。</p>
|
269
269
|
<ul class="simple">
|
270
270
|
<li>0: <tt class="docutils literal"><span class="pre">SUCCESS</span></tt></li>
|
@@ -343,17 +343,17 @@
|
|
343
343
|
</ul>
|
344
344
|
</div>
|
345
345
|
<div class="section" id="size">
|
346
|
-
<h4>
|
346
|
+
<h4>8.1.1.1.5. <tt class="docutils literal"><span class="pre">size</span></tt><a class="headerlink" href="#size" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
347
347
|
<p>ボディのサイズです。ボディの最大サイズは4GiBです。これは <tt class="docutils literal"><span class="pre">size</span></tt> が4byteの符号なし整数だからです。4GiB以上のサイズのデータを送りたい場合は <tt class="docutils literal"><span class="pre">MORE</span></tt> フラグを使ってください。</p>
|
348
348
|
</div>
|
349
349
|
</div>
|
350
350
|
</div>
|
351
351
|
<div class="section" id="example">
|
352
|
-
<h2>
|
352
|
+
<h2>8.1.2. 例<a class="headerlink" href="#example" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
353
353
|
<p>TODO</p>
|
354
354
|
</div>
|
355
355
|
<div class="section" id="see-also">
|
356
|
-
<h2>
|
356
|
+
<h2>8.1.3. 参照<a class="headerlink" href="#see-also" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
357
357
|
<p>TODO</p>
|
358
358
|
</div>
|
359
359
|
</div>
|
@@ -366,30 +366,30 @@
|
|
366
366
|
<div class="sphinxsidebarwrapper">
|
367
367
|
<h3><a href="../index.html">目次</a></h3>
|
368
368
|
<ul>
|
369
|
-
<li><a class="reference internal" href="#">
|
370
|
-
<li><a class="reference internal" href="#protocol">
|
371
|
-
<li><a class="reference internal" href="#gqtp-header">
|
372
|
-
<li><a class="reference internal" href="#id1">
|
373
|
-
<li><a class="reference internal" href="#query-type">
|
374
|
-
<li><a class="reference internal" href="#flags">
|
375
|
-
<li><a class="reference internal" href="#status">
|
376
|
-
<li><a class="reference internal" href="#size">
|
369
|
+
<li><a class="reference internal" href="#">8.1. GQTP</a><ul>
|
370
|
+
<li><a class="reference internal" href="#protocol">8.1.1. プロトコル</a><ul>
|
371
|
+
<li><a class="reference internal" href="#gqtp-header">8.1.1.1. GQTPヘッダー</a><ul>
|
372
|
+
<li><a class="reference internal" href="#id1">8.1.1.1.1. <tt class="docutils literal"><span class="pre">protocol</span></tt></a></li>
|
373
|
+
<li><a class="reference internal" href="#query-type">8.1.1.1.2. <tt class="docutils literal"><span class="pre">query_type</span></tt></a></li>
|
374
|
+
<li><a class="reference internal" href="#flags">8.1.1.1.3. <tt class="docutils literal"><span class="pre">flags</span></tt></a></li>
|
375
|
+
<li><a class="reference internal" href="#status">8.1.1.1.4. <tt class="docutils literal"><span class="pre">status</span></tt></a></li>
|
376
|
+
<li><a class="reference internal" href="#size">8.1.1.1.5. <tt class="docutils literal"><span class="pre">size</span></tt></a></li>
|
377
377
|
</ul>
|
378
378
|
</li>
|
379
379
|
</ul>
|
380
380
|
</li>
|
381
|
-
<li><a class="reference internal" href="#example">
|
382
|
-
<li><a class="reference internal" href="#see-also">
|
381
|
+
<li><a class="reference internal" href="#example">8.1.2. 例</a></li>
|
382
|
+
<li><a class="reference internal" href="#see-also">8.1.3. 参照</a></li>
|
383
383
|
</ul>
|
384
384
|
</li>
|
385
385
|
</ul>
|
386
386
|
|
387
387
|
<h4>前のトピックへ</h4>
|
388
388
|
<p class="topless"><a href="../spec.html"
|
389
|
-
title="前の章へ">
|
389
|
+
title="前の章へ">8. 仕様</a></p>
|
390
390
|
<h4>次のトピックへ</h4>
|
391
391
|
<p class="topless"><a href="search.html"
|
392
|
-
title="次の章へ">
|
392
|
+
title="次の章へ">8.2. 検索</a></p>
|
393
393
|
<h3>このページ</h3>
|
394
394
|
<ul class="this-page-menu">
|
395
395
|
<li><a href="../_sources/spec/gqtp.txt"
|
@@ -419,13 +419,13 @@
|
|
419
419
|
<a href="../genindex.html" title="総合索引"
|
420
420
|
>索引</a></li>
|
421
421
|
<li class="right" >
|
422
|
-
<a href="search.html" title="
|
422
|
+
<a href="search.html" title="8.2. 検索"
|
423
423
|
>次へ</a> |</li>
|
424
424
|
<li class="right" >
|
425
|
-
<a href="../spec.html" title="
|
425
|
+
<a href="../spec.html" title="8. 仕様"
|
426
426
|
>前へ</a> |</li>
|
427
|
-
<li><a href="../index.html">Groonga v4.0.
|
428
|
-
<li><a href="../spec.html" >
|
427
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
428
|
+
<li><a href="../spec.html" >8. 仕様</a> »</li>
|
429
429
|
</ul>
|
430
430
|
</div>
|
431
431
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>8.2. 検索 — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../index.html" />
|
30
|
+
<link rel="up" title="8. 仕様" href="../spec.html" />
|
31
|
+
<link rel="next" title="9. 制限事項" href="../limitations.html" />
|
32
|
+
<link rel="prev" title="8.1. GQTP" href="gqtp.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,13 +56,13 @@
|
|
56
56
|
<a href="../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="../limitations.html" title="
|
59
|
+
<a href="../limitations.html" title="9. 制限事項"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="gqtp.html" title="
|
62
|
+
<a href="gqtp.html" title="8.1. GQTP"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../spec.html" accesskey="U">
|
64
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../spec.html" accesskey="U">8. 仕様</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,10 +72,10 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
|
-
<h1>
|
75
|
+
<h1>8.2. 検索<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p><a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> コマンドがqueryパラメータを使ってどのように検索するのかを説明します。</p>
|
77
77
|
<div class="section" id="id2">
|
78
|
-
<h2>
|
78
|
+
<h2>8.2.1. 検索の挙動<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。</p>
|
80
80
|
<ol class="arabic simple">
|
81
81
|
<li>完全一致検索</li>
|
@@ -84,7 +84,7 @@
|
|
84
84
|
</ol>
|
85
85
|
<p>どのように検索の挙動を使い分けているかを説明する前に、まず、それぞれの検索の挙動を説明します。</p>
|
86
86
|
<div class="section" id="id3">
|
87
|
-
<h3>
|
87
|
+
<h3>8.2.1.1. 完全一致検索<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
88
88
|
<p>検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表に索引を管理します。
|
89
89
|
検索キーワードも同一の方法でトークナイズされます。</p>
|
90
90
|
<p>このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列を含む文書を検索する処理を完全一致検索と呼んでいます。</p>
|
@@ -118,7 +118,7 @@
|
|
118
118
|
<p>という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一致でヒットします。</p>
|
119
119
|
</div>
|
120
120
|
<div class="section" id="id4">
|
121
|
-
<h3>
|
121
|
+
<h3>8.2.1.2. 非わかち書き検索<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
122
122
|
<p>非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。</p>
|
123
123
|
<p>非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。</p>
|
124
124
|
<p>N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をします。</p>
|
@@ -127,7 +127,7 @@
|
|
127
127
|
<p>例えば、「スープカレー」というキーワードで検索した場合、「スープカレーバー」(1単語扱い)にヒットしますが、「スープカレー」("スープ"と"カレー"の2単語扱い)や「スープカレーライス」("スープ"と"カレーライス"の2単語扱い)にはヒットしません。</p>
|
128
128
|
</div>
|
129
129
|
<div class="section" id="id5">
|
130
|
-
<h3>
|
130
|
+
<h3>8.2.1.3. 部分一致検索<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
131
131
|
<p>部分一致検索はパトリシア木で語彙表を構築していて、かつ、KEY_WITH_SISオプションを指定している場合のみ利用可能です。KEY_WITH_SISオプションが指定されていない場合は非わかち書き検索と同等です。</p>
|
132
132
|
<p>部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。</p>
|
133
133
|
<p>Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。</p>
|
@@ -137,7 +137,7 @@
|
|
137
137
|
</div>
|
138
138
|
</div>
|
139
139
|
<div class="section" id="id6">
|
140
|
-
<h2>
|
140
|
+
<h2>8.2.2. 検索の使い分け<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
141
141
|
<p>groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定の閾値以下の場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値以下の場合は部分一致検索を行います。(閾値のデフォルト値は0です。)</p>
|
142
142
|
<p>ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値以下でも完全一致検索のみを行います。</p>
|
143
143
|
<p>例えば、以下のようなクエリの場合は、それぞれの検索でヒット件数が閾値以下の場合は完全一致検索、非わかち書き検索、部分一致検索を順に行います。:</p>
|
@@ -160,24 +160,24 @@
|
|
160
160
|
<div class="sphinxsidebarwrapper">
|
161
161
|
<h3><a href="../index.html">目次</a></h3>
|
162
162
|
<ul>
|
163
|
-
<li><a class="reference internal" href="#">
|
164
|
-
<li><a class="reference internal" href="#id2">
|
165
|
-
<li><a class="reference internal" href="#id3">
|
166
|
-
<li><a class="reference internal" href="#id4">
|
167
|
-
<li><a class="reference internal" href="#id5">
|
163
|
+
<li><a class="reference internal" href="#">8.2. 検索</a><ul>
|
164
|
+
<li><a class="reference internal" href="#id2">8.2.1. 検索の挙動</a><ul>
|
165
|
+
<li><a class="reference internal" href="#id3">8.2.1.1. 完全一致検索</a></li>
|
166
|
+
<li><a class="reference internal" href="#id4">8.2.1.2. 非わかち書き検索</a></li>
|
167
|
+
<li><a class="reference internal" href="#id5">8.2.1.3. 部分一致検索</a></li>
|
168
168
|
</ul>
|
169
169
|
</li>
|
170
|
-
<li><a class="reference internal" href="#id6">
|
170
|
+
<li><a class="reference internal" href="#id6">8.2.2. 検索の使い分け</a></li>
|
171
171
|
</ul>
|
172
172
|
</li>
|
173
173
|
</ul>
|
174
174
|
|
175
175
|
<h4>前のトピックへ</h4>
|
176
176
|
<p class="topless"><a href="gqtp.html"
|
177
|
-
title="前の章へ">
|
177
|
+
title="前の章へ">8.1. GQTP</a></p>
|
178
178
|
<h4>次のトピックへ</h4>
|
179
179
|
<p class="topless"><a href="../limitations.html"
|
180
|
-
title="次の章へ">
|
180
|
+
title="次の章へ">9. 制限事項</a></p>
|
181
181
|
<h3>このページ</h3>
|
182
182
|
<ul class="this-page-menu">
|
183
183
|
<li><a href="../_sources/spec/search.txt"
|
@@ -207,13 +207,13 @@
|
|
207
207
|
<a href="../genindex.html" title="総合索引"
|
208
208
|
>索引</a></li>
|
209
209
|
<li class="right" >
|
210
|
-
<a href="../limitations.html" title="
|
210
|
+
<a href="../limitations.html" title="9. 制限事項"
|
211
211
|
>次へ</a> |</li>
|
212
212
|
<li class="right" >
|
213
|
-
<a href="gqtp.html" title="
|
213
|
+
<a href="gqtp.html" title="8.1. GQTP"
|
214
214
|
>前へ</a> |</li>
|
215
|
-
<li><a href="../index.html">Groonga v4.0.
|
216
|
-
<li><a href="../spec.html" >
|
215
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
216
|
+
<li><a href="../spec.html" >8. 仕様</a> »</li>
|
217
217
|
</ul>
|
218
218
|
</div>
|
219
219
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>10. トラブルシューティング — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,9 +26,9 @@
|
|
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.
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="index.html" />
|
30
|
+
<link rel="next" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる" href="troubleshooting/different_results_with_the_same_keyword.html" />
|
31
|
+
<link rel="prev" title="9. 制限事項" href="limitations.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="genindex.html" title="総合索引"
|
56
56
|
accesskey="I">索引</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="
|
58
|
+
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる"
|
59
59
|
accesskey="N">次へ</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="limitations.html" title="
|
61
|
+
<a href="limitations.html" title="9. 制限事項"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">Groonga v4.0.
|
63
|
+
<li><a href="index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -70,19 +70,19 @@
|
|
70
70
|
<div class="body">
|
71
71
|
|
72
72
|
<div class="section" id="id1">
|
73
|
-
<h1>
|
73
|
+
<h1>10. トラブルシューティング<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
74
74
|
<div class="toctree-wrapper compound">
|
75
75
|
<ul>
|
76
|
-
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html">
|
77
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id2">
|
78
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id3">
|
79
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id4">
|
80
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id5">
|
76
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a><ul>
|
77
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id2">10.1.1. 例</a></li>
|
78
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id3">10.1.2. 原因</a></li>
|
79
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id4">10.1.3. 対策方法1: トークナイザーを変更する</a></li>
|
80
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id5">10.1.4. 対策方法2: 閾値をあげる</a></li>
|
81
81
|
</ul>
|
82
82
|
</li>
|
83
|
-
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html">
|
84
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#example">
|
85
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#solution">
|
83
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html">10.2. mmap Cannot allocate memoryエラーを回避するには</a><ul>
|
84
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#example">10.2.1. 例</a></li>
|
85
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#solution">10.2.2. 対策方法</a></li>
|
86
86
|
</ul>
|
87
87
|
</li>
|
88
88
|
</ul>
|
@@ -97,10 +97,10 @@
|
|
97
97
|
<div class="sphinxsidebarwrapper">
|
98
98
|
<h4>前のトピックへ</h4>
|
99
99
|
<p class="topless"><a href="limitations.html"
|
100
|
-
title="前の章へ">
|
100
|
+
title="前の章へ">9. 制限事項</a></p>
|
101
101
|
<h4>次のトピックへ</h4>
|
102
102
|
<p class="topless"><a href="troubleshooting/different_results_with_the_same_keyword.html"
|
103
|
-
title="次の章へ">
|
103
|
+
title="次の章へ">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a></p>
|
104
104
|
<h3>このページ</h3>
|
105
105
|
<ul class="this-page-menu">
|
106
106
|
<li><a href="_sources/troubleshooting.txt"
|
@@ -130,12 +130,12 @@
|
|
130
130
|
<a href="genindex.html" title="総合索引"
|
131
131
|
>索引</a></li>
|
132
132
|
<li class="right" >
|
133
|
-
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="
|
133
|
+
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる"
|
134
134
|
>次へ</a> |</li>
|
135
135
|
<li class="right" >
|
136
|
-
<a href="limitations.html" title="
|
136
|
+
<a href="limitations.html" title="9. 制限事項"
|
137
137
|
>前へ</a> |</li>
|
138
|
-
<li><a href="index.html">Groonga v4.0.
|
138
|
+
<li><a href="index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
139
139
|
</ul>
|
140
140
|
</div>
|
141
141
|
<div class="footer">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>10.1. 同じ検索キーワードなのに全文検索結果が異なる — Groonga v4.0.6-211-g8c0bb0bドキュメント</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.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,10 +26,10 @@
|
|
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.
|
30
|
-
<link rel="up" title="
|
31
|
-
<link rel="next" title="
|
32
|
-
<link rel="prev" title="
|
29
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0bドキュメント" href="../index.html" />
|
30
|
+
<link rel="up" title="10. トラブルシューティング" href="../troubleshooting.html" />
|
31
|
+
<link rel="next" title="10.2. mmap Cannot allocate memoryエラーを回避するには" href="mmap_cannot_allocate_memory.html" />
|
32
|
+
<link rel="prev" title="10. トラブルシューティング" href="../troubleshooting.html" />
|
33
33
|
</head>
|
34
34
|
<body>
|
35
35
|
<div class="header">
|
@@ -56,13 +56,13 @@
|
|
56
56
|
<a href="../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="mmap_cannot_allocate_memory.html" title="
|
59
|
+
<a href="mmap_cannot_allocate_memory.html" title="10.2. mmap Cannot allocate memoryエラーを回避するには"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="../troubleshooting.html" title="
|
62
|
+
<a href="../troubleshooting.html" title="10. トラブルシューティング"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
65
|
-
<li><a href="../troubleshooting.html" accesskey="U">
|
64
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
65
|
+
<li><a href="../troubleshooting.html" accesskey="U">10. トラブルシューティング</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,10 +72,10 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
|
-
<h1>
|
75
|
+
<h1>10.1. 同じ検索キーワードなのに全文検索結果が異なる<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p>同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なることがあります。ここでは、その原因と対策方法を説明します。</p>
|
77
77
|
<div class="section" id="id2">
|
78
|
-
<h2>
|
78
|
+
<h2>10.1.1. 例<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<p>まず、実際に検索結果が異なる例を説明します。</p>
|
80
80
|
<p>DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを使ってトークナイズしてからインデックスを作成しています。:</p>
|
81
81
|
<div class="highlight-none"><div class="highlight"><pre>table_create Blogs TABLE_NO_KEY
|
@@ -111,7 +111,7 @@ column_create Terms blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
111
111
|
<p>どうしてこのような挙動になるかを説明します。</p>
|
112
112
|
</div>
|
113
113
|
<div class="section" id="id3">
|
114
|
-
<h2>
|
114
|
+
<h2>10.1.2. 原因<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
115
115
|
<p>このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからです。ここでは簡単に説明するので、詳細は <a class="reference internal" href="../spec/search.html"><em>検索</em></a> を参照してください。</p>
|
116
116
|
<p>検索の挙動には以下の3種類があります。</p>
|
117
117
|
<ol class="arabic simple">
|
@@ -135,7 +135,7 @@ column_create Terms blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
135
135
|
<p>そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件があるので採用するかどうかを十分検討してください。</p>
|
136
136
|
</div>
|
137
137
|
<div class="section" id="id4">
|
138
|
-
<h2>
|
138
|
+
<h2>10.1.3. 対策方法1: トークナイザーを変更する<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
139
139
|
<p>TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しませんが、TokenBigramでは完全一致します。</p>
|
140
140
|
<p>このようにN-gram系のトークナイザーを指定することにより再現率をあげることができますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合いを調整するためには <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> のmatch_columnsで使用する索引毎に重み付けを指定します。</p>
|
141
141
|
<p>ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追加します。:</p>
|
@@ -176,7 +176,7 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
176
176
|
</ul>
|
177
177
|
</div>
|
178
178
|
<div class="section" id="id5">
|
179
|
-
<h2>
|
179
|
+
<h2>10.1.4. 対策方法2: 閾値をあげる<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
180
180
|
<p>非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-escalation-threshold configureオプションで変更することができます。以下のように指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、非わかち書き検索・部分一致検索を行います。:</p>
|
181
181
|
<div class="highlight-none"><div class="highlight"><pre>% ./configure --with-match-escalation-threashold=100
|
182
182
|
</pre></div>
|
@@ -193,21 +193,21 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
193
193
|
<div class="sphinxsidebarwrapper">
|
194
194
|
<h3><a href="../index.html">目次</a></h3>
|
195
195
|
<ul>
|
196
|
-
<li><a class="reference internal" href="#">
|
197
|
-
<li><a class="reference internal" href="#id2">
|
198
|
-
<li><a class="reference internal" href="#id3">
|
199
|
-
<li><a class="reference internal" href="#id4">
|
200
|
-
<li><a class="reference internal" href="#id5">
|
196
|
+
<li><a class="reference internal" href="#">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a><ul>
|
197
|
+
<li><a class="reference internal" href="#id2">10.1.1. 例</a></li>
|
198
|
+
<li><a class="reference internal" href="#id3">10.1.2. 原因</a></li>
|
199
|
+
<li><a class="reference internal" href="#id4">10.1.3. 対策方法1: トークナイザーを変更する</a></li>
|
200
|
+
<li><a class="reference internal" href="#id5">10.1.4. 対策方法2: 閾値をあげる</a></li>
|
201
201
|
</ul>
|
202
202
|
</li>
|
203
203
|
</ul>
|
204
204
|
|
205
205
|
<h4>前のトピックへ</h4>
|
206
206
|
<p class="topless"><a href="../troubleshooting.html"
|
207
|
-
title="前の章へ">
|
207
|
+
title="前の章へ">10. トラブルシューティング</a></p>
|
208
208
|
<h4>次のトピックへ</h4>
|
209
209
|
<p class="topless"><a href="mmap_cannot_allocate_memory.html"
|
210
|
-
title="次の章へ">
|
210
|
+
title="次の章へ">10.2. mmap Cannot allocate memoryエラーを回避するには</a></p>
|
211
211
|
<h3>このページ</h3>
|
212
212
|
<ul class="this-page-menu">
|
213
213
|
<li><a href="../_sources/troubleshooting/different_results_with_the_same_keyword.txt"
|
@@ -237,13 +237,13 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
237
237
|
<a href="../genindex.html" title="総合索引"
|
238
238
|
>索引</a></li>
|
239
239
|
<li class="right" >
|
240
|
-
<a href="mmap_cannot_allocate_memory.html" title="
|
240
|
+
<a href="mmap_cannot_allocate_memory.html" title="10.2. mmap Cannot allocate memoryエラーを回避するには"
|
241
241
|
>次へ</a> |</li>
|
242
242
|
<li class="right" >
|
243
|
-
<a href="../troubleshooting.html" title="
|
243
|
+
<a href="../troubleshooting.html" title="10. トラブルシューティング"
|
244
244
|
>前へ</a> |</li>
|
245
|
-
<li><a href="../index.html">Groonga v4.0.
|
246
|
-
<li><a href="../troubleshooting.html" >
|
245
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0bドキュメント</a> »</li>
|
246
|
+
<li><a href="../troubleshooting.html" >10. トラブルシューティング</a> »</li>
|
247
247
|
</ul>
|
248
248
|
</div>
|
249
249
|
<div class="footer">
|