rroonga 4.0.5-x86-mingw32 → 4.0.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../index.html" />
|
29
|
+
<link rel="up" title="8. Specification" href="../spec.html" />
|
30
|
+
<link rel="next" title="8.2. 検索" href="search.html" />
|
31
|
+
<link rel="prev" title="8. Specification" href="../spec.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,13 +55,13 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="search.html" title="
|
58
|
+
<a href="search.html" title="8.2. 検索"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="../spec.html" title="
|
61
|
+
<a href="../spec.html" title="8. Specification"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../spec.html" accesskey="U">
|
63
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../spec.html" accesskey="U">8. Specification</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
67
67
|
|
@@ -71,11 +71,11 @@
|
|
71
71
|
<div class="body">
|
72
72
|
|
73
73
|
<div class="section" id="gqtp">
|
74
|
-
<h1>
|
74
|
+
<h1>8.1. GQTP<a class="headerlink" href="#gqtp" title="Permalink to this headline">¶</a></h1>
|
75
75
|
<p>GQTP is the acronym of Groonga Query Transfer Protocol. GQTP is the
|
76
76
|
original protocol for groonga.</p>
|
77
77
|
<div class="section" id="protocol">
|
78
|
-
<h2>
|
78
|
+
<h2>8.1.1. Protocol<a class="headerlink" href="#protocol" title="Permalink to this headline">¶</a></h2>
|
79
79
|
<p>GQTP is stateful client server model protocol. The following sequence
|
80
80
|
is one processing unit:</p>
|
81
81
|
<ul class="simple">
|
@@ -90,7 +90,7 @@ is one processing unit:</p>
|
|
90
90
|
is fixed size data. Body is variable size data and its size is stored
|
91
91
|
in GQTP header. The content of body isn't defined in GQTP.</p>
|
92
92
|
<div class="section" id="gqtp-header">
|
93
|
-
<span id="gqtp-header-spec"></span><h3>
|
93
|
+
<span id="gqtp-header-spec"></span><h3>8.1.1.1. GQTP header<a class="headerlink" href="#gqtp-header" title="Permalink to this headline">¶</a></h3>
|
94
94
|
<p>GQTP header consists of the following unsigned integer values:</p>
|
95
95
|
<table border="1" class="docutils">
|
96
96
|
<colgroup>
|
@@ -147,11 +147,11 @@ in GQTP header. The content of body isn't defined in GQTP.</p>
|
|
147
147
|
<p>The following sections describes available values of each header value.</p>
|
148
148
|
<p>The total size of GQTP header is 24byte.</p>
|
149
149
|
<div class="section" id="id1">
|
150
|
-
<h4>
|
150
|
+
<h4>8.1.1.1.1. <tt class="docutils literal"><span class="pre">protocol</span></tt><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h4>
|
151
151
|
<p>The value is always <tt class="docutils literal"><span class="pre">0xc7</span></tt> in both request and response GQTP header.</p>
|
152
152
|
</div>
|
153
153
|
<div class="section" id="query-type">
|
154
|
-
<h4>
|
154
|
+
<h4>8.1.1.1.2. <tt class="docutils literal"><span class="pre">query_type</span></tt><a class="headerlink" href="#query-type" title="Permalink to this headline">¶</a></h4>
|
155
155
|
<p>The value is one of the following values:</p>
|
156
156
|
<table border="1" class="docutils">
|
157
157
|
<colgroup>
|
@@ -193,7 +193,7 @@ in GQTP header. The content of body isn't defined in GQTP.</p>
|
|
193
193
|
type.</p>
|
194
194
|
</div>
|
195
195
|
<div class="section" id="flags">
|
196
|
-
<h4>
|
196
|
+
<h4>8.1.1.1.3. <tt class="docutils literal"><span class="pre">flags</span></tt><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
|
197
197
|
<p>The value is bitwise OR of the following values:</p>
|
198
198
|
<table border="1" class="docutils">
|
199
199
|
<colgroup>
|
@@ -236,7 +236,7 @@ you don't need to show a response for your partial request.</p>
|
|
236
236
|
<p>Use <tt class="docutils literal"><span class="pre">QUIT</span></tt> flag to quit this session.</p>
|
237
237
|
</div>
|
238
238
|
<div class="section" id="status">
|
239
|
-
<h4>
|
239
|
+
<h4>8.1.1.1.4. <tt class="docutils literal"><span class="pre">status</span></tt><a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h4>
|
240
240
|
<p>Here are available values. The new statuses will be added in the
|
241
241
|
future.</p>
|
242
242
|
<ul class="simple">
|
@@ -316,7 +316,7 @@ future.</p>
|
|
316
316
|
</ul>
|
317
317
|
</div>
|
318
318
|
<div class="section" id="size">
|
319
|
-
<h4>
|
319
|
+
<h4>8.1.1.1.5. <tt class="docutils literal"><span class="pre">size</span></tt><a class="headerlink" href="#size" title="Permalink to this headline">¶</a></h4>
|
320
320
|
<p>The size of body. The maximum body size is 4GiB because <tt class="docutils literal"><span class="pre">size</span></tt> is
|
321
321
|
4byte unsigned integer. If you want to send 4GiB or more larger data,
|
322
322
|
use <tt class="docutils literal"><span class="pre">MORE</span></tt> flag.</p>
|
@@ -324,11 +324,11 @@ use <tt class="docutils literal"><span class="pre">MORE</span></tt> flag.</p>
|
|
324
324
|
</div>
|
325
325
|
</div>
|
326
326
|
<div class="section" id="example">
|
327
|
-
<h2>
|
327
|
+
<h2>8.1.2. Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
|
328
328
|
<p>TODO</p>
|
329
329
|
</div>
|
330
330
|
<div class="section" id="see-also">
|
331
|
-
<h2>
|
331
|
+
<h2>8.1.3. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
332
332
|
<p>TODO</p>
|
333
333
|
</div>
|
334
334
|
</div>
|
@@ -341,30 +341,30 @@ use <tt class="docutils literal"><span class="pre">MORE</span></tt> flag.</p>
|
|
341
341
|
<div class="sphinxsidebarwrapper">
|
342
342
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
343
343
|
<ul>
|
344
|
-
<li><a class="reference internal" href="#">
|
345
|
-
<li><a class="reference internal" href="#protocol">
|
346
|
-
<li><a class="reference internal" href="#gqtp-header">
|
347
|
-
<li><a class="reference internal" href="#id1">
|
348
|
-
<li><a class="reference internal" href="#query-type">
|
349
|
-
<li><a class="reference internal" href="#flags">
|
350
|
-
<li><a class="reference internal" href="#status">
|
351
|
-
<li><a class="reference internal" href="#size">
|
344
|
+
<li><a class="reference internal" href="#">8.1. GQTP</a><ul>
|
345
|
+
<li><a class="reference internal" href="#protocol">8.1.1. Protocol</a><ul>
|
346
|
+
<li><a class="reference internal" href="#gqtp-header">8.1.1.1. GQTP header</a><ul>
|
347
|
+
<li><a class="reference internal" href="#id1">8.1.1.1.1. <tt class="docutils literal"><span class="pre">protocol</span></tt></a></li>
|
348
|
+
<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>
|
349
|
+
<li><a class="reference internal" href="#flags">8.1.1.1.3. <tt class="docutils literal"><span class="pre">flags</span></tt></a></li>
|
350
|
+
<li><a class="reference internal" href="#status">8.1.1.1.4. <tt class="docutils literal"><span class="pre">status</span></tt></a></li>
|
351
|
+
<li><a class="reference internal" href="#size">8.1.1.1.5. <tt class="docutils literal"><span class="pre">size</span></tt></a></li>
|
352
352
|
</ul>
|
353
353
|
</li>
|
354
354
|
</ul>
|
355
355
|
</li>
|
356
|
-
<li><a class="reference internal" href="#example">
|
357
|
-
<li><a class="reference internal" href="#see-also">
|
356
|
+
<li><a class="reference internal" href="#example">8.1.2. Example</a></li>
|
357
|
+
<li><a class="reference internal" href="#see-also">8.1.3. See also</a></li>
|
358
358
|
</ul>
|
359
359
|
</li>
|
360
360
|
</ul>
|
361
361
|
|
362
362
|
<h4>Previous topic</h4>
|
363
363
|
<p class="topless"><a href="../spec.html"
|
364
|
-
title="previous chapter">
|
364
|
+
title="previous chapter">8. Specification</a></p>
|
365
365
|
<h4>Next topic</h4>
|
366
366
|
<p class="topless"><a href="search.html"
|
367
|
-
title="next chapter">
|
367
|
+
title="next chapter">8.2. 検索</a></p>
|
368
368
|
<h3>This Page</h3>
|
369
369
|
<ul class="this-page-menu">
|
370
370
|
<li><a href="../_sources/spec/gqtp.txt"
|
@@ -394,13 +394,13 @@ use <tt class="docutils literal"><span class="pre">MORE</span></tt> flag.</p>
|
|
394
394
|
<a href="../genindex.html" title="General Index"
|
395
395
|
>index</a></li>
|
396
396
|
<li class="right" >
|
397
|
-
<a href="search.html" title="
|
397
|
+
<a href="search.html" title="8.2. 検索"
|
398
398
|
>next</a> |</li>
|
399
399
|
<li class="right" >
|
400
|
-
<a href="../spec.html" title="
|
400
|
+
<a href="../spec.html" title="8. Specification"
|
401
401
|
>previous</a> |</li>
|
402
|
-
<li><a href="../index.html">Groonga v4.0.
|
403
|
-
<li><a href="../spec.html" >
|
402
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
403
|
+
<li><a href="../spec.html" >8. Specification</a> »</li>
|
404
404
|
</ul>
|
405
405
|
</div>
|
406
406
|
<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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../index.html" />
|
29
|
+
<link rel="up" title="8. Specification" href="../spec.html" />
|
30
|
+
<link rel="next" title="9. Limitations" href="../limitations.html" />
|
31
|
+
<link rel="prev" title="8.1. GQTP" href="gqtp.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,13 +55,13 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="../limitations.html" title="
|
58
|
+
<a href="../limitations.html" title="9. Limitations"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="gqtp.html" title="
|
61
|
+
<a href="gqtp.html" title="8.1. GQTP"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../spec.html" accesskey="U">
|
63
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../spec.html" accesskey="U">8. Specification</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
67
67
|
|
@@ -71,10 +71,10 @@
|
|
71
71
|
<div class="body">
|
72
72
|
|
73
73
|
<div class="section" id="id1">
|
74
|
-
<h1>
|
74
|
+
<h1>8.2. 検索<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
75
75
|
<p><a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> コマンドがqueryパラメータを使ってどのように検索するのかを説明します。</p>
|
76
76
|
<div class="section" id="id2">
|
77
|
-
<h2>
|
77
|
+
<h2>8.2.1. 検索の挙動<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>検索の挙動には以下の3種類あり、検索結果によって動的に使い分けています。</p>
|
79
79
|
<ol class="arabic simple">
|
80
80
|
<li>完全一致検索</li>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</ol>
|
84
84
|
<p>どのように検索の挙動を使い分けているかを説明する前に、まず、それぞれの検索の挙動を説明します。</p>
|
85
85
|
<div class="section" id="id3">
|
86
|
-
<h3>
|
86
|
+
<h3>8.2.1.1. 完全一致検索<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
87
87
|
<p>検索対象文書は複数の語彙にトークナイズ(分割)され、それぞれを単位とした語彙表に索引を管理します。
|
88
88
|
検索キーワードも同一の方法でトークナイズされます。</p>
|
89
89
|
<p>このとき、検索キーワードをトークナイズした結果得られる語彙の配列と同一の配列を含む文書を検索する処理を完全一致検索と呼んでいます。</p>
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<p>という三つの語彙として処理されます。この語彙の並びは「楽し / しい / いb / bi / il / ll / li / ia / ar / rd / d」という語彙の並びに含まれるので、完全一致でヒットします。</p>
|
118
118
|
</div>
|
119
119
|
<div class="section" id="id4">
|
120
|
-
<h3>
|
120
|
+
<h3>8.2.1.2. 非わかち書き検索<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
|
121
121
|
<p>非わかち書き検索はパトリシア木で語彙表を構築している場合のみ利用可能です。</p>
|
122
122
|
<p>非わかち書き検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。</p>
|
123
123
|
<p>N-gram系のトークナイザーを利用している場合はキーワードで前方一致検索をします。</p>
|
@@ -126,7 +126,7 @@
|
|
126
126
|
<p>例えば、「スープカレー」というキーワードで検索した場合、「スープカレーバー」(1単語扱い)にヒットしますが、「スープカレー」("スープ"と"カレー"の2単語扱い)や「スープカレーライス」("スープ"と"カレーライス"の2単語扱い)にはヒットしません。</p>
|
127
127
|
</div>
|
128
128
|
<div class="section" id="id5">
|
129
|
-
<h3>
|
129
|
+
<h3>8.2.1.3. 部分一致検索<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
|
130
130
|
<p>部分一致検索はパトリシア木で語彙表を構築していて、かつ、KEY_WITH_SISオプションを指定している場合のみ利用可能です。KEY_WITH_SISオプションが指定されていない場合は非わかち書き検索と同等です。</p>
|
131
131
|
<p>部分一致検索の挙動はTokenBigramなどN-gram系のトークナイザーを利用している場合とTokenMecabトークナイザーを利用している場合で挙動が変わります。</p>
|
132
132
|
<p>Bigramの場合は前方一致検索と中間一致検索と後方一致検索を行います。</p>
|
@@ -136,7 +136,7 @@
|
|
136
136
|
</div>
|
137
137
|
</div>
|
138
138
|
<div class="section" id="id6">
|
139
|
-
<h2>
|
139
|
+
<h2>8.2.2. 検索の使い分け<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
140
140
|
<p>groongaは基本的に完全一致検索のみを行います。完全一致検索でのヒット件数が所定の閾値以下の場合に限り、非わかち書き検索を行い、それでもヒット件数が閾値以下の場合は部分一致検索を行います。(閾値のデフォルト値は0です。)</p>
|
141
141
|
<p>ただし、すでに検索結果セットが存在する場合はたとえヒット件数が閾値以下でも完全一致検索のみを行います。</p>
|
142
142
|
<p>例えば、以下のようなクエリの場合は、それぞれの検索でヒット件数が閾値以下の場合は完全一致検索、非わかち書き検索、部分一致検索を順に行います。:</p>
|
@@ -159,24 +159,24 @@
|
|
159
159
|
<div class="sphinxsidebarwrapper">
|
160
160
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
161
161
|
<ul>
|
162
|
-
<li><a class="reference internal" href="#">
|
163
|
-
<li><a class="reference internal" href="#id2">
|
164
|
-
<li><a class="reference internal" href="#id3">
|
165
|
-
<li><a class="reference internal" href="#id4">
|
166
|
-
<li><a class="reference internal" href="#id5">
|
162
|
+
<li><a class="reference internal" href="#">8.2. 検索</a><ul>
|
163
|
+
<li><a class="reference internal" href="#id2">8.2.1. 検索の挙動</a><ul>
|
164
|
+
<li><a class="reference internal" href="#id3">8.2.1.1. 完全一致検索</a></li>
|
165
|
+
<li><a class="reference internal" href="#id4">8.2.1.2. 非わかち書き検索</a></li>
|
166
|
+
<li><a class="reference internal" href="#id5">8.2.1.3. 部分一致検索</a></li>
|
167
167
|
</ul>
|
168
168
|
</li>
|
169
|
-
<li><a class="reference internal" href="#id6">
|
169
|
+
<li><a class="reference internal" href="#id6">8.2.2. 検索の使い分け</a></li>
|
170
170
|
</ul>
|
171
171
|
</li>
|
172
172
|
</ul>
|
173
173
|
|
174
174
|
<h4>Previous topic</h4>
|
175
175
|
<p class="topless"><a href="gqtp.html"
|
176
|
-
title="previous chapter">
|
176
|
+
title="previous chapter">8.1. GQTP</a></p>
|
177
177
|
<h4>Next topic</h4>
|
178
178
|
<p class="topless"><a href="../limitations.html"
|
179
|
-
title="next chapter">
|
179
|
+
title="next chapter">9. Limitations</a></p>
|
180
180
|
<h3>This Page</h3>
|
181
181
|
<ul class="this-page-menu">
|
182
182
|
<li><a href="../_sources/spec/search.txt"
|
@@ -206,13 +206,13 @@
|
|
206
206
|
<a href="../genindex.html" title="General Index"
|
207
207
|
>index</a></li>
|
208
208
|
<li class="right" >
|
209
|
-
<a href="../limitations.html" title="
|
209
|
+
<a href="../limitations.html" title="9. Limitations"
|
210
210
|
>next</a> |</li>
|
211
211
|
<li class="right" >
|
212
|
-
<a href="gqtp.html" title="
|
212
|
+
<a href="gqtp.html" title="8.1. GQTP"
|
213
213
|
>previous</a> |</li>
|
214
|
-
<li><a href="../index.html">Groonga v4.0.
|
215
|
-
<li><a href="../spec.html" >
|
214
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
215
|
+
<li><a href="../spec.html" >8. Specification</a> »</li>
|
216
216
|
</ul>
|
217
217
|
</div>
|
218
218
|
<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 documentation</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
|
@@ -25,9 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="next" title="
|
30
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="index.html" />
|
29
|
+
<link rel="next" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる" href="troubleshooting/different_results_with_the_same_keyword.html" />
|
30
|
+
<link rel="prev" title="9. Limitations" href="limitations.html" />
|
31
31
|
</head>
|
32
32
|
<body>
|
33
33
|
<div class="header">
|
@@ -54,12 +54,12 @@
|
|
54
54
|
<a href="genindex.html" title="General Index"
|
55
55
|
accesskey="I">index</a></li>
|
56
56
|
<li class="right" >
|
57
|
-
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="
|
57
|
+
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる"
|
58
58
|
accesskey="N">next</a> |</li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="limitations.html" title="
|
60
|
+
<a href="limitations.html" title="9. Limitations"
|
61
61
|
accesskey="P">previous</a> |</li>
|
62
|
-
<li><a href="index.html">Groonga v4.0.
|
62
|
+
<li><a href="index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
63
63
|
</ul>
|
64
64
|
</div>
|
65
65
|
|
@@ -69,19 +69,19 @@
|
|
69
69
|
<div class="body">
|
70
70
|
|
71
71
|
<div class="section" id="id1">
|
72
|
-
<h1>
|
72
|
+
<h1>10. トラブルシューティング<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
73
73
|
<div class="toctree-wrapper compound">
|
74
74
|
<ul>
|
75
|
-
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html">
|
76
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id2">
|
77
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id3">
|
78
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id4">
|
79
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id5">
|
75
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a><ul>
|
76
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id2">10.1.1. 例</a></li>
|
77
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id3">10.1.2. 原因</a></li>
|
78
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id4">10.1.3. 対策方法1: トークナイザーを変更する</a></li>
|
79
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/different_results_with_the_same_keyword.html#id5">10.1.4. 対策方法2: 閾値をあげる</a></li>
|
80
80
|
</ul>
|
81
81
|
</li>
|
82
|
-
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html">
|
83
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#example">
|
84
|
-
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#solution">
|
82
|
+
<li class="toctree-l1"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html">10.2. How to avoid mmap Cannot allocate memory error</a><ul>
|
83
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#example">10.2.1. Example</a></li>
|
84
|
+
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/mmap_cannot_allocate_memory.html#solution">10.2.2. Solution</a></li>
|
85
85
|
</ul>
|
86
86
|
</li>
|
87
87
|
</ul>
|
@@ -96,10 +96,10 @@
|
|
96
96
|
<div class="sphinxsidebarwrapper">
|
97
97
|
<h4>Previous topic</h4>
|
98
98
|
<p class="topless"><a href="limitations.html"
|
99
|
-
title="previous chapter">
|
99
|
+
title="previous chapter">9. Limitations</a></p>
|
100
100
|
<h4>Next topic</h4>
|
101
101
|
<p class="topless"><a href="troubleshooting/different_results_with_the_same_keyword.html"
|
102
|
-
title="next chapter">
|
102
|
+
title="next chapter">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a></p>
|
103
103
|
<h3>This Page</h3>
|
104
104
|
<ul class="this-page-menu">
|
105
105
|
<li><a href="_sources/troubleshooting.txt"
|
@@ -129,12 +129,12 @@
|
|
129
129
|
<a href="genindex.html" title="General Index"
|
130
130
|
>index</a></li>
|
131
131
|
<li class="right" >
|
132
|
-
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="
|
132
|
+
<a href="troubleshooting/different_results_with_the_same_keyword.html" title="10.1. 同じ検索キーワードなのに全文検索結果が異なる"
|
133
133
|
>next</a> |</li>
|
134
134
|
<li class="right" >
|
135
|
-
<a href="limitations.html" title="
|
135
|
+
<a href="limitations.html" title="9. Limitations"
|
136
136
|
>previous</a> |</li>
|
137
|
-
<li><a href="index.html">Groonga v4.0.
|
137
|
+
<li><a href="index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
138
138
|
</ul>
|
139
139
|
</div>
|
140
140
|
<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 documentation</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
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../index.html" />
|
29
|
+
<link rel="up" title="10. トラブルシューティング" href="../troubleshooting.html" />
|
30
|
+
<link rel="next" title="10.2. How to avoid mmap Cannot allocate memory error" href="mmap_cannot_allocate_memory.html" />
|
31
|
+
<link rel="prev" title="10. トラブルシューティング" href="../troubleshooting.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,13 +55,13 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="mmap_cannot_allocate_memory.html" title="
|
58
|
+
<a href="mmap_cannot_allocate_memory.html" title="10.2. How to avoid mmap Cannot allocate memory error"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="../troubleshooting.html" title="
|
61
|
+
<a href="../troubleshooting.html" title="10. トラブルシューティング"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../troubleshooting.html" accesskey="U">
|
63
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../troubleshooting.html" accesskey="U">10. トラブルシューティング</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
67
67
|
|
@@ -71,10 +71,10 @@
|
|
71
71
|
<div class="body">
|
72
72
|
|
73
73
|
<div class="section" id="id1">
|
74
|
-
<h1>
|
74
|
+
<h1>10.1. 同じ検索キーワードなのに全文検索結果が異なる<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
75
75
|
<p>同じ検索キーワードでも一緒に指定するクエリによっては全文検索の結果が異なることがあります。ここでは、その原因と対策方法を説明します。</p>
|
76
76
|
<div class="section" id="id2">
|
77
|
-
<h2>
|
77
|
+
<h2>10.1.1. 例<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>まず、実際に検索結果が異なる例を説明します。</p>
|
79
79
|
<p>DDLは以下の通りです。BlogsテーブルのbodyカラムをTokenMecabトークナイザーを使ってトークナイズしてからインデックスを作成しています。:</p>
|
80
80
|
<div class="highlight-none"><div class="highlight"><pre>table_create Blogs TABLE_NO_KEY
|
@@ -110,7 +110,7 @@ column_create Terms blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
110
110
|
<p>どうしてこのような挙動になるかを説明します。</p>
|
111
111
|
</div>
|
112
112
|
<div class="section" id="id3">
|
113
|
-
<h2>
|
113
|
+
<h2>10.1.2. 原因<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
114
114
|
<p>このような挙動になるのは全文検索時に複数の検索の挙動を使い分けているからです。ここでは簡単に説明するので、詳細は <a class="reference internal" href="../spec/search.html"><em>検索</em></a> を参照してください。</p>
|
115
115
|
<p>検索の挙動には以下の3種類があります。</p>
|
116
116
|
<ol class="arabic simple">
|
@@ -134,7 +134,7 @@ column_create Terms blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
134
134
|
<p>そのため、条件の順序を変えると検索結果が変わるという状況が発生します。以下で、この情報を回避する方法を2種類紹介しますが、それぞれトレードオフとなる条件があるので採用するかどうかを十分検討してください。</p>
|
135
135
|
</div>
|
136
136
|
<div class="section" id="id4">
|
137
|
-
<h2>
|
137
|
+
<h2>10.1.3. 対策方法1: トークナイザーを変更する<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
138
138
|
<p>TokenMecabトークナイザーは事前に準備した辞書を用いてトークナイズするため、再現率よりも適合率を重視したトークナイザーと言えます。一方、TokenBigramなど、N-gram系のトークナイザーは適合率を重視したトークナイザーと言えます。例えば、TokenMecabの場合「東京都」で「京都」に完全一致することはありませんが、TokenBigramでは完全一致します。一方、TokenMecabでは「東京都民」に完全一致しませんが、TokenBigramでは完全一致します。</p>
|
139
139
|
<p>このようにN-gram系のトークナイザーを指定することにより再現率をあげることができますが、適合率が下がり検索ノイズが含まれる可能性が高くなります。この度合いを調整するためには <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> のmatch_columnsで使用する索引毎に重み付けを指定します。</p>
|
140
140
|
<p>ここでも、前述の例を使って具体例を示します。まず、TokenBigramを用いた索引を追加します。:</p>
|
@@ -175,7 +175,7 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
175
175
|
</ul>
|
176
176
|
</div>
|
177
177
|
<div class="section" id="id5">
|
178
|
-
<h2>
|
178
|
+
<h2>10.1.4. 対策方法2: 閾値をあげる<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
|
179
179
|
<p>非わかち書き検索・部分一致検索を利用するかどうかの閾値は--with-match-escalation-threshold configureオプションで変更することができます。以下のように指定すると、100件以下のヒット数であれば、たとえ完全一致検索でヒットしても、非わかち書き検索・部分一致検索を行います。:</p>
|
180
180
|
<div class="highlight-none"><div class="highlight"><pre>% ./configure --with-match-escalation-threashold=100
|
181
181
|
</pre></div>
|
@@ -192,21 +192,21 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
192
192
|
<div class="sphinxsidebarwrapper">
|
193
193
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
194
194
|
<ul>
|
195
|
-
<li><a class="reference internal" href="#">
|
196
|
-
<li><a class="reference internal" href="#id2">
|
197
|
-
<li><a class="reference internal" href="#id3">
|
198
|
-
<li><a class="reference internal" href="#id4">
|
199
|
-
<li><a class="reference internal" href="#id5">
|
195
|
+
<li><a class="reference internal" href="#">10.1. 同じ検索キーワードなのに全文検索結果が異なる</a><ul>
|
196
|
+
<li><a class="reference internal" href="#id2">10.1.1. 例</a></li>
|
197
|
+
<li><a class="reference internal" href="#id3">10.1.2. 原因</a></li>
|
198
|
+
<li><a class="reference internal" href="#id4">10.1.3. 対策方法1: トークナイザーを変更する</a></li>
|
199
|
+
<li><a class="reference internal" href="#id5">10.1.4. 対策方法2: 閾値をあげる</a></li>
|
200
200
|
</ul>
|
201
201
|
</li>
|
202
202
|
</ul>
|
203
203
|
|
204
204
|
<h4>Previous topic</h4>
|
205
205
|
<p class="topless"><a href="../troubleshooting.html"
|
206
|
-
title="previous chapter">
|
206
|
+
title="previous chapter">10. トラブルシューティング</a></p>
|
207
207
|
<h4>Next topic</h4>
|
208
208
|
<p class="topless"><a href="mmap_cannot_allocate_memory.html"
|
209
|
-
title="next chapter">
|
209
|
+
title="next chapter">10.2. How to avoid mmap Cannot allocate memory error</a></p>
|
210
210
|
<h3>This Page</h3>
|
211
211
|
<ul class="this-page-menu">
|
212
212
|
<li><a href="../_sources/troubleshooting/different_results_with_the_same_keyword.txt"
|
@@ -236,13 +236,13 @@ column_create Bigram blog_body COLUMN_INDEX|WITH_POSITION Blogs body
|
|
236
236
|
<a href="../genindex.html" title="General Index"
|
237
237
|
>index</a></li>
|
238
238
|
<li class="right" >
|
239
|
-
<a href="mmap_cannot_allocate_memory.html" title="
|
239
|
+
<a href="mmap_cannot_allocate_memory.html" title="10.2. How to avoid mmap Cannot allocate memory error"
|
240
240
|
>next</a> |</li>
|
241
241
|
<li class="right" >
|
242
|
-
<a href="../troubleshooting.html" title="
|
242
|
+
<a href="../troubleshooting.html" title="10. トラブルシューティング"
|
243
243
|
>previous</a> |</li>
|
244
|
-
<li><a href="../index.html">Groonga v4.0.
|
245
|
-
<li><a href="../troubleshooting.html" >
|
244
|
+
<li><a href="../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
245
|
+
<li><a href="../troubleshooting.html" >10. トラブルシューティング</a> »</li>
|
246
246
|
</ul>
|
247
247
|
</div>
|
248
248
|
<div class="footer">
|